* [PATCH 0/1] [1.2] Allow building libzypp without x11 in DISTRO_FEATURES
@ 2012-04-17 23:18 Paul Eggleton
2012-04-17 23:18 ` [PATCH 1/1] libproxy: remove dependency on gconf when x11 not " Paul Eggleton
2012-04-18 15:04 ` [PATCH 0/1] [1.2] Allow building libzypp without x11 " Saul Wold
0 siblings, 2 replies; 5+ messages in thread
From: Paul Eggleton @ 2012-04-17 23:18 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 70541d5e82ee05289eb0095bed4b121d12a00729:
self-hosted-image: remove BB_NO_NETWORK and update Poky SRCREV (2012-04-17 23:16:07 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/libproxy-nox
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/libproxy-nox
Paul Eggleton (1):
libproxy: remove dependency on gconf when x11 not in DISTRO_FEATURES
meta/recipes-support/libproxy/libproxy_0.4.7.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
1.7.5.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/1] libproxy: remove dependency on gconf when x11 not in DISTRO_FEATURES
2012-04-17 23:18 [PATCH 0/1] [1.2] Allow building libzypp without x11 in DISTRO_FEATURES Paul Eggleton
@ 2012-04-17 23:18 ` Paul Eggleton
2012-04-18 0:03 ` Andreas Oberritter
2012-04-18 15:04 ` [PATCH 0/1] [1.2] Allow building libzypp without x11 " Saul Wold
1 sibling, 1 reply; 5+ messages in thread
From: Paul Eggleton @ 2012-04-17 23:18 UTC (permalink / raw)
To: openembedded-core
This allows libzypp to successfully build when x11 is not in
DISTRO_FEATURES (avoiding the libzypp -> libproxy -> gconf -> gtk+
dependency chain which without X results in gtk+ failing at
do_configure).
Fixes [YOCTO #2320].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
meta/recipes-support/libproxy/libproxy_0.4.7.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-support/libproxy/libproxy_0.4.7.bb b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
index 11b2abf..6d99861 100644
--- a/meta/recipes-support/libproxy/libproxy_0.4.7.bb
+++ b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \
DEPENDS = "gconf"
-PR = "r2"
+PR = "r3"
SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \
file://g++-namepace.patch \
@@ -31,7 +31,7 @@ do_configure_prepend() {
}
python() {
- if (d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1:
+ if base_contains("INCOMPATIBLE_LICENSE", "GPLv3", "x", "", d) == "x" or base_contains("DISTRO_FEATURES", "x11", "x", "", d) == "":
d.setVar("EXTRA_OECMAKE", d.getVar("EXTRA_OECMAKE").replace("-DWITH_GNOME=yes", "-DWITH_GNOME=no"))
d.setVar("DEPENDS", " ".join(i for i in d.getVar("DEPENDS").split() if i != "gconf"))
}
--
1.7.5.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] libproxy: remove dependency on gconf when x11 not in DISTRO_FEATURES
2012-04-17 23:18 ` [PATCH 1/1] libproxy: remove dependency on gconf when x11 not " Paul Eggleton
@ 2012-04-18 0:03 ` Andreas Oberritter
2012-04-18 0:37 ` Paul Eggleton
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Oberritter @ 2012-04-18 0:03 UTC (permalink / raw)
To: openembedded-core
On 18.04.2012 01:18, Paul Eggleton wrote:
> This allows libzypp to successfully build when x11 is not in
> DISTRO_FEATURES (avoiding the libzypp -> libproxy -> gconf -> gtk+
> dependency chain which without X results in gtk+ failing at
> do_configure).
>
> Fixes [YOCTO #2320].
>
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
> meta/recipes-support/libproxy/libproxy_0.4.7.bb | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-support/libproxy/libproxy_0.4.7.bb b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
> index 11b2abf..6d99861 100644
> --- a/meta/recipes-support/libproxy/libproxy_0.4.7.bb
> +++ b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
> @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \
>
> DEPENDS = "gconf"
>
> -PR = "r2"
> +PR = "r3"
>
> SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \
> file://g++-namepace.patch \
> @@ -31,7 +31,7 @@ do_configure_prepend() {
> }
>
> python() {
> - if (d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1:
> + if base_contains("INCOMPATIBLE_LICENSE", "GPLv3", "x", "", d) == "x" or base_contains("DISTRO_FEATURES", "x11", "x", "", d) == "":
> d.setVar("EXTRA_OECMAKE", d.getVar("EXTRA_OECMAKE").replace("-DWITH_GNOME=yes", "-DWITH_GNOME=no"))
> d.setVar("DEPENDS", " ".join(i for i in d.getVar("DEPENDS").split() if i != "gconf"))
> }
A very similar patch I submitted was rejected, because this problem
should be solved using PACKAGECONFIG.
See
http://git.openembedded.org/openembedded-core-contrib/commit/?h=obi/current&id=224921423b6bcd7dc7e8570a4f3d8b3ba1291720
Has something changed since when I submitted the patch? Should I resend
my patches to remove gconf etc. dependencies when x11 is not defined?
See patches 7 through 11 at
http://git.openembedded.org/openembedded-core-contrib/log/?h=obi/current
Regards,
Andreas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] libproxy: remove dependency on gconf when x11 not in DISTRO_FEATURES
2012-04-18 0:03 ` Andreas Oberritter
@ 2012-04-18 0:37 ` Paul Eggleton
0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2012-04-18 0:37 UTC (permalink / raw)
To: Andreas Oberritter; +Cc: openembedded-core
On Wednesday 18 April 2012 02:03:13 Andreas Oberritter wrote:
> A very similar patch I submitted was rejected, because this problem
> should be solved using PACKAGECONFIG.
It should still be. I had not seen your patch, but this was fixed in this
manner because I discovered builds without x11 were broken and a fix was needed
urgently; I elected to fix it by by adjusting the conditional code that was
already there so that the change was kept simple. We do still want to fix this
using PACKAGECONFIG after the Yocto Project 1.2 release; however this will
involve the code that handles PACKAGECONFIG being extended to work together
with cmake.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/1] [1.2] Allow building libzypp without x11 in DISTRO_FEATURES
2012-04-17 23:18 [PATCH 0/1] [1.2] Allow building libzypp without x11 in DISTRO_FEATURES Paul Eggleton
2012-04-17 23:18 ` [PATCH 1/1] libproxy: remove dependency on gconf when x11 not " Paul Eggleton
@ 2012-04-18 15:04 ` Saul Wold
1 sibling, 0 replies; 5+ messages in thread
From: Saul Wold @ 2012-04-18 15:04 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Paul Eggleton
On 04/17/2012 04:18 PM, Paul Eggleton wrote:
> The following changes since commit 70541d5e82ee05289eb0095bed4b121d12a00729:
>
> self-hosted-image: remove BB_NO_NETWORK and update Poky SRCREV (2012-04-17 23:16:07 +0100)
>
> are available in the git repository at:
> git://git.openembedded.org/openembedded-core-contrib paule/libproxy-nox
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/libproxy-nox
>
> Paul Eggleton (1):
> libproxy: remove dependency on gconf when x11 not in DISTRO_FEATURES
>
> meta/recipes-support/libproxy/libproxy_0.4.7.bb | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-04-18 15:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-17 23:18 [PATCH 0/1] [1.2] Allow building libzypp without x11 in DISTRO_FEATURES Paul Eggleton
2012-04-17 23:18 ` [PATCH 1/1] libproxy: remove dependency on gconf when x11 not " Paul Eggleton
2012-04-18 0:03 ` Andreas Oberritter
2012-04-18 0:37 ` Paul Eggleton
2012-04-18 15:04 ` [PATCH 0/1] [1.2] Allow building libzypp without x11 " Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox