Patchwork [1/1] intltool: add libxml-parser-perl-native dependency to -native version

login
register
mail settings
Submitter Darren Hart
Date Sept. 22, 2011, 9:14 p.m.
Message ID <e4dd377c38d0df65adb41959e5b720e5b539a47d.1316725800.git.dvhart@linux.intel.com>
Download mbox | patch
Permalink /patch/12023/
State New, archived
Headers show

Comments

Darren Hart - Sept. 22, 2011, 9:14 p.m.
Fixes [YOCTO #1514]

Without a native dependency on libxml-parser-perl-native,
shared-mime-info-native can fail its do_configure task.

checking for XML::Parser... configure: error: XML::Parser perl module is
required for intltool

Testing: Successfully built shared-mime-info and shared-mime-info-native for
qemuppc.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Joshua Lock <josh@linux.intel.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
CC: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/intltool/intltool.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Richard Purdie - Sept. 22, 2011, 9:23 p.m.
On Thu, 2011-09-22 at 14:14 -0700, Darren Hart wrote:
> Fixes [YOCTO #1514]
> 
> Without a native dependency on libxml-parser-perl-native,
> shared-mime-info-native can fail its do_configure task.
> 
> checking for XML::Parser... configure: error: XML::Parser perl module is
> required for intltool
> 
> Testing: Successfully built shared-mime-info and shared-mime-info-native for
> qemuppc.

Merged to master, thanks.

Richard
Joshua Lock - Sept. 22, 2011, 9:26 p.m.
On Thu, 2011-09-22 at 14:14 -0700, Darren Hart wrote:
> Fixes [YOCTO #1514]
> 
> Without a native dependency on libxml-parser-perl-native,
> shared-mime-info-native can fail its do_configure task.
> 
> checking for XML::Parser... configure: error: XML::Parser perl module is
> required for intltool
> 
> Testing: Successfully built shared-mime-info and shared-mime-info-native for
> qemuppc.
> 
> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>

> CC: Richard Purdie <richard.purdie@linuxfoundation.org>
> CC: Koen Kooi <koen@dominion.thruhere.net>
> CC: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/recipes-devtools/intltool/intltool.inc |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
> index 8d4bec5..23a1ee9 100644
> --- a/meta/recipes-devtools/intltool/intltool.inc
> +++ b/meta/recipes-devtools/intltool/intltool.inc
> @@ -7,6 +7,7 @@ SRC_URI = "${GNOME_MIRROR}/intltool/${URLV}/intltool-${PV}.tar.bz2"
>  S = "${WORKDIR}/intltool-${PV}"
>  
>  DEPENDS = "libxml-parser-perl-native"
> +DEPENDS_virtclass-native = "libxml-parser-perl-native"
>  #RDEPENDS_${PN} = "libxml-parser-perl"
>  RRECOMMENDS_${PN} = "perl-modules"
>  RRECOMMENDS_${PN}_virtclass-native = ""

Patch

diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
index 8d4bec5..23a1ee9 100644
--- a/meta/recipes-devtools/intltool/intltool.inc
+++ b/meta/recipes-devtools/intltool/intltool.inc
@@ -7,6 +7,7 @@  SRC_URI = "${GNOME_MIRROR}/intltool/${URLV}/intltool-${PV}.tar.bz2"
 S = "${WORKDIR}/intltool-${PV}"
 
 DEPENDS = "libxml-parser-perl-native"
+DEPENDS_virtclass-native = "libxml-parser-perl-native"
 #RDEPENDS_${PN} = "libxml-parser-perl"
 RRECOMMENDS_${PN} = "perl-modules"
 RRECOMMENDS_${PN}_virtclass-native = ""