* [PATCH v2] intltool: include intltool.m4 and add missing rdepends
@ 2012-09-19 9:59 Constantin Musca
2012-09-19 13:23 ` Khem Raj
0 siblings, 1 reply; 8+ messages in thread
From: Constantin Musca @ 2012-09-19 9:59 UTC (permalink / raw)
To: openembedded-core; +Cc: Constantin Musca
- include /usr/share/aclocal/intltool.m4 into the intltool
package (the files from intltool-dev must be included into the
main package, as intltool is a development tool)
- add missing rdepends: gettext-dev, libxml-parser-perl
[YOCTO #2597]
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
meta/recipes-devtools/intltool/intltool.inc | 9 ++++++++-
meta/recipes-devtools/intltool/intltool_0.50.0.bb | 2 +-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
index 1c41f0f..59974d8 100644
--- a/meta/recipes-devtools/intltool/intltool.inc
+++ b/meta/recipes-devtools/intltool/intltool.inc
@@ -7,11 +7,18 @@ SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
S = "${WORKDIR}/intltool-${PV}"
DEPENDS = "libxml-parser-perl-native"
+RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
DEPENDS_virtclass-native = "libxml-parser-perl-native"
-#RDEPENDS_${PN} = "libxml-parser-perl"
+# gettext is assumed to exist on the host
+RDEPENDS_${PN}_virtclass-native = "libxml-parser-perl-native"
RRECOMMENDS_${PN} = "perl-modules"
RRECOMMENDS_${PN}_virtclass-native = ""
+FILES_${PN}-dev = ""
+FILES_${PN} += "${datadir}/aclocal"
+
+INSANE_SKIP_${PN} += "dev-deps"
+
inherit autotools pkgconfig perlnative
export PERL = "${bindir}/env perl"
diff --git a/meta/recipes-devtools/intltool/intltool_0.50.0.bb b/meta/recipes-devtools/intltool/intltool_0.50.0.bb
index d1ee31d..fa9850f 100644
--- a/meta/recipes-devtools/intltool/intltool_0.50.0.bb
+++ b/meta/recipes-devtools/intltool/intltool_0.50.0.bb
@@ -1,7 +1,7 @@
require intltool.inc
LICENSE="GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-PR = "r0"
+PR = "r1"
SRC_URI += "file://intltool-nowarn-0.50.0.patch \
${NATIVEPATCHES} \
--
1.7.9.5
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH v2] intltool: include intltool.m4 and add missing rdepends
2012-09-19 9:59 [PATCH v2] intltool: include intltool.m4 and add missing rdepends Constantin Musca
@ 2012-09-19 13:23 ` Khem Raj
2012-09-19 13:04 ` Constantin Musca
2012-09-20 13:34 ` Richard Purdie
0 siblings, 2 replies; 8+ messages in thread
From: Khem Raj @ 2012-09-19 13:23 UTC (permalink / raw)
To: Constantin Musca; +Cc: openembedded-core
On Wed, Sep 19, 2012 at 2:59 AM, Constantin Musca
<constantinx.musca@intel.com> wrote:
> - include /usr/share/aclocal/intltool.m4 into the intltool
> package (the files from intltool-dev must be included into the
> main package, as intltool is a development tool)
> - add missing rdepends: gettext-dev, libxml-parser-perl
>
> [YOCTO #2597]
>
> Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
> ---
> meta/recipes-devtools/intltool/intltool.inc | 9 ++++++++-
> meta/recipes-devtools/intltool/intltool_0.50.0.bb | 2 +-
> 2 files changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
> index 1c41f0f..59974d8 100644
> --- a/meta/recipes-devtools/intltool/intltool.inc
> +++ b/meta/recipes-devtools/intltool/intltool.inc
> @@ -7,11 +7,18 @@ SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
> S = "${WORKDIR}/intltool-${PV}"
>
> DEPENDS = "libxml-parser-perl-native"
> +RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
creating a runtime dependency on a dev package seems troublesome to me.
Can you explain why is this being done ?
> DEPENDS_virtclass-native = "libxml-parser-perl-native"
> -#RDEPENDS_${PN} = "libxml-parser-perl"
> +# gettext is assumed to exist on the host
> +RDEPENDS_${PN}_virtclass-native = "libxml-parser-perl-native"
> RRECOMMENDS_${PN} = "perl-modules"
> RRECOMMENDS_${PN}_virtclass-native = ""
>
> +FILES_${PN}-dev = ""
> +FILES_${PN} += "${datadir}/aclocal"
> +
> +INSANE_SKIP_${PN} += "dev-deps"
> +
> inherit autotools pkgconfig perlnative
>
> export PERL = "${bindir}/env perl"
> diff --git a/meta/recipes-devtools/intltool/intltool_0.50.0.bb b/meta/recipes-devtools/intltool/intltool_0.50.0.bb
> index d1ee31d..fa9850f 100644
> --- a/meta/recipes-devtools/intltool/intltool_0.50.0.bb
> +++ b/meta/recipes-devtools/intltool/intltool_0.50.0.bb
> @@ -1,7 +1,7 @@
> require intltool.inc
> LICENSE="GPLv2"
> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> -PR = "r0"
> +PR = "r1"
>
> SRC_URI += "file://intltool-nowarn-0.50.0.patch \
> ${NATIVEPATCHES} \
> --
> 1.7.9.5
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH v2] intltool: include intltool.m4 and add missing rdepends
2012-09-19 13:23 ` Khem Raj
@ 2012-09-19 13:04 ` Constantin Musca
2012-09-19 15:09 ` Saul Wold
2012-09-19 15:10 ` Burton, Ross
2012-09-20 13:34 ` Richard Purdie
1 sibling, 2 replies; 8+ messages in thread
From: Constantin Musca @ 2012-09-19 13:04 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-core
On 09/19/2012 04:23 PM, Khem Raj wrote:
>> >--- a/meta/recipes-devtools/intltool/intltool.inc
>> >+++ b/meta/recipes-devtools/intltool/intltool.inc
>> >@@ -7,11 +7,18 @@ SRC_URI ="http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
>> > S = "${WORKDIR}/intltool-${PV}"
>> >
>> > DEPENDS = "libxml-parser-perl-native"
>> >+RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
> creating a runtime dependency on a dev package seems troublesome to me.
> Can you explain why is this being done ?
>
>> > DEPENDS_virtclass-native = "libxml-parser-perl-native"
>> >-#RDEPENDS_${PN} = "libxml-parser-perl"
>> >+# gettext is assumed to exist on the host
>> >+RDEPENDS_${PN}_virtclass-native = "libxml-parser-perl-native"
>> > RRECOMMENDS_${PN} = "perl-modules"
Ross suggested to use these RDEPENDS after having issues with some
packages on a image due to intltool.
Constantin
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH v2] intltool: include intltool.m4 and add missing rdepends
2012-09-19 13:04 ` Constantin Musca
@ 2012-09-19 15:09 ` Saul Wold
2012-09-19 15:15 ` Burton, Ross
2012-09-19 15:10 ` Burton, Ross
1 sibling, 1 reply; 8+ messages in thread
From: Saul Wold @ 2012-09-19 15:09 UTC (permalink / raw)
To: Constantin Musca; +Cc: openembedded-core
On 09/19/2012 06:04 AM, Constantin Musca wrote:
> On 09/19/2012 04:23 PM, Khem Raj wrote:
>>> >--- a/meta/recipes-devtools/intltool/intltool.inc
>>> >+++ b/meta/recipes-devtools/intltool/intltool.inc
>>> >@@ -7,11 +7,18 @@ SRC_URI
>>> ="http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
>>> > S = "${WORKDIR}/intltool-${PV}"
>>> >
>>> > DEPENDS = "libxml-parser-perl-native"
>>> >+RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
>> creating a runtime dependency on a dev package seems troublesome to me.
>> Can you explain why is this being done ?
>>
The question here is why do we need the gettext-dev package for
intltool? What does intltool need from the -dev package?
Sau!
>>> > DEPENDS_virtclass-native = "libxml-parser-perl-native"
>>> >-#RDEPENDS_${PN} = "libxml-parser-perl"
>>> >+# gettext is assumed to exist on the host
>>> >+RDEPENDS_${PN}_virtclass-native = "libxml-parser-perl-native"
>>> > RRECOMMENDS_${PN} = "perl-modules"
> Ross suggested to use these RDEPENDS after having issues with some
> packages on a image due to intltool.
>
> Constantin
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH v2] intltool: include intltool.m4 and add missing rdepends
2012-09-19 15:09 ` Saul Wold
@ 2012-09-19 15:15 ` Burton, Ross
2012-09-19 14:33 ` Constantin Musca
0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2012-09-19 15:15 UTC (permalink / raw)
To: Saul Wold; +Cc: Constantin Musca, openembedded-core
On 19 September 2012 16:09, Saul Wold <sgw@linux.intel.com> wrote:
> The question here is why do we need the gettext-dev package for intltool?
> What does intltool need from the -dev package?
intltool needs the gettext binaries and IIRC a header - but I'm
sufficiently unsure about the details that someone should verify what
the dependencies were for documenting in the commit.
Ross
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] intltool: include intltool.m4 and add missing rdepends
2012-09-19 15:15 ` Burton, Ross
@ 2012-09-19 14:33 ` Constantin Musca
0 siblings, 0 replies; 8+ messages in thread
From: Constantin Musca @ 2012-09-19 14:33 UTC (permalink / raw)
To: Burton, Ross; +Cc: openembedded-core
On 09/19/2012 06:15 PM, Burton, Ross wrote:
> On 19 September 2012 16:09, Saul Wold <sgw@linux.intel.com> wrote:
>> The question here is why do we need the gettext-dev package for intltool?
>> What does intltool need from the -dev package?
> intltool needs the gettext binaries and IIRC a header - but I'm
> sufficiently unsure about the details that someone should verify what
> the dependencies were for documenting in the commit.
>
> Ross
I'm going to investigate this and come back to you.
Constantin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] intltool: include intltool.m4 and add missing rdepends
2012-09-19 13:04 ` Constantin Musca
2012-09-19 15:09 ` Saul Wold
@ 2012-09-19 15:10 ` Burton, Ross
1 sibling, 0 replies; 8+ messages in thread
From: Burton, Ross @ 2012-09-19 15:10 UTC (permalink / raw)
To: Constantin Musca; +Cc: openembedded-core
On 19 September 2012 14:04, Constantin Musca
<constantinx.musca@intel.com> wrote:
> Ross suggested to use these RDEPENDS after having issues with some packages
> on a image due to intltool.
I knew I should have put the exact errors in the bug...
I'm not in the position to replicate this right now (at a conference)
but if someone boots a yocto sdk image and tries to compile something
that uses intltool, you'll discover the problems. If no-one can do
this before Friday I can do that myself then.
Ross
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] intltool: include intltool.m4 and add missing rdepends
2012-09-19 13:23 ` Khem Raj
2012-09-19 13:04 ` Constantin Musca
@ 2012-09-20 13:34 ` Richard Purdie
1 sibling, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2012-09-20 13:34 UTC (permalink / raw)
To: Khem Raj; +Cc: Constantin Musca, openembedded-core
On Wed, 2012-09-19 at 06:23 -0700, Khem Raj wrote:
> On Wed, Sep 19, 2012 at 2:59 AM, Constantin Musca
> <constantinx.musca@intel.com> wrote:
> > - include /usr/share/aclocal/intltool.m4 into the intltool
> > package (the files from intltool-dev must be included into the
> > main package, as intltool is a development tool)
> > - add missing rdepends: gettext-dev, libxml-parser-perl
> >
> > [YOCTO #2597]
> >
> > Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
> > ---
> > meta/recipes-devtools/intltool/intltool.inc | 9 ++++++++-
> > meta/recipes-devtools/intltool/intltool_0.50.0.bb | 2 +-
> > 2 files changed, 9 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
> > index 1c41f0f..59974d8 100644
> > --- a/meta/recipes-devtools/intltool/intltool.inc
> > +++ b/meta/recipes-devtools/intltool/intltool.inc
> > @@ -7,11 +7,18 @@ SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
> > S = "${WORKDIR}/intltool-${PV}"
> >
> > DEPENDS = "libxml-parser-perl-native"
> > +RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
>
> creating a runtime dependency on a dev package seems troublesome to me.
> Can you explain why is this being done ?
Constantin has posted an update about this. The issue is the intltool.m4
macros references macros that come from gettext-dev.
I think that whilst this unusual, developer tools can need other
development tools. We need to remember that intltool is only ever used
for development.
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-09-20 13:46 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-19 9:59 [PATCH v2] intltool: include intltool.m4 and add missing rdepends Constantin Musca
2012-09-19 13:23 ` Khem Raj
2012-09-19 13:04 ` Constantin Musca
2012-09-19 15:09 ` Saul Wold
2012-09-19 15:15 ` Burton, Ross
2012-09-19 14:33 ` Constantin Musca
2012-09-19 15:10 ` Burton, Ross
2012-09-20 13:34 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox