* [PATCH] gssdp: build examples which require GTK+ only if we have X11
@ 2012-09-06 16:09 Ross Burton
2012-09-10 15:51 ` Saul Wold
0 siblings, 1 reply; 3+ messages in thread
From: Ross Burton @ 2012-09-06 16:09 UTC (permalink / raw)
To: openembedded-core
They just need GTK+ not libglade, so fix the depends.
The recipe also had multple checksums, so remove the old ones.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb b/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb
index f3494e7..b87c755 100644
--- a/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb
+++ b/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb
@@ -2,12 +2,14 @@ SUMMARY = "Resource discovery and announcement over SSDP"
DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP (Simpe Service Discovery Protocol)."
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
-DEPENDS = "glib-2.0 libsoup-2.4 libglade gobject-introspection-stub"
+DEPENDS = "glib-2.0 libsoup-2.4 gobject-introspection-stub"
+
+PR = "r2"
SRC_URI = "http://gupnp.org/sites/all/files/sources/${BPN}-${PV}.tar.gz"
-SRC_URI[md5sum] = "725c32e8f92a072cc34f0e091937df2a"
-SRC_URI[sha256sum] = "8eaab799f699836770ec2fcc08abfef2f824a82ae959c6af7b39ffb6968b9fd7"
+SRC_URI[md5sum] = "aec6a56ac1d4f8a4837da83f2d152556"
+SRC_URI[sha256sum] = "94de92bb4f7906ed2f047b0146a3b21d53d09908fe1f0149484f61c6afc598ea"
inherit autotools pkgconfig
@@ -17,9 +19,5 @@ FILES_gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade"
EXTRA_OECONF = "--disable-introspection"
-PR = "r1"
-
-SRC_URI[md5sum] = "aec6a56ac1d4f8a4837da83f2d152556"
-SRC_URI[sha256sum] = "94de92bb4f7906ed2f047b0146a3b21d53d09908fe1f0149484f61c6afc598ea"
-
-
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)}"
+PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk,gtk+"
--
1.7.10
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] gssdp: build examples which require GTK+ only if we have X11
2012-09-06 16:09 [PATCH] gssdp: build examples which require GTK+ only if we have X11 Ross Burton
@ 2012-09-10 15:51 ` Saul Wold
0 siblings, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-09-10 15:51 UTC (permalink / raw)
To: Ross Burton; +Cc: openembedded-core
On 09/06/2012 09:09 AM, Ross Burton wrote:
> They just need GTK+ not libglade, so fix the depends.
>
> The recipe also had multple checksums, so remove the old ones.
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
> meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb | 16 +++++++---------
> 1 file changed, 7 insertions(+), 9 deletions(-)
>
> diff --git a/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb b/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb
> index f3494e7..b87c755 100644
> --- a/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb
> +++ b/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb
> @@ -2,12 +2,14 @@ SUMMARY = "Resource discovery and announcement over SSDP"
> DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP (Simpe Service Discovery Protocol)."
> LICENSE = "LGPLv2"
> LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
> -DEPENDS = "glib-2.0 libsoup-2.4 libglade gobject-introspection-stub"
> +DEPENDS = "glib-2.0 libsoup-2.4 gobject-introspection-stub"
> +
> +PR = "r2"
>
> SRC_URI = "http://gupnp.org/sites/all/files/sources/${BPN}-${PV}.tar.gz"
>
> -SRC_URI[md5sum] = "725c32e8f92a072cc34f0e091937df2a"
> -SRC_URI[sha256sum] = "8eaab799f699836770ec2fcc08abfef2f824a82ae959c6af7b39ffb6968b9fd7"
> +SRC_URI[md5sum] = "aec6a56ac1d4f8a4837da83f2d152556"
> +SRC_URI[sha256sum] = "94de92bb4f7906ed2f047b0146a3b21d53d09908fe1f0149484f61c6afc598ea"
>
> inherit autotools pkgconfig
>
> @@ -17,9 +19,5 @@ FILES_gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade"
>
> EXTRA_OECONF = "--disable-introspection"
>
> -PR = "r1"
> -
> -SRC_URI[md5sum] = "aec6a56ac1d4f8a4837da83f2d152556"
> -SRC_URI[sha256sum] = "94de92bb4f7906ed2f047b0146a3b21d53d09908fe1f0149484f61c6afc598ea"
> -
> -
> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)}"
> +PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk,gtk+"
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] gssdp: build examples which require GTK+ only if we have X11
@ 2012-09-06 15:51 Ross Burton
0 siblings, 0 replies; 3+ messages in thread
From: Ross Burton @ 2012-09-06 15:51 UTC (permalink / raw)
To: openembedded-core
Also they just need GTK+ not libglade, so fix the depends.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb b/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb
index f3494e7..ad41ac1 100644
--- a/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb
+++ b/meta/recipes-connectivity/gupnp/gssdp_0.10.0.bb
@@ -2,7 +2,9 @@ SUMMARY = "Resource discovery and announcement over SSDP"
DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP (Simpe Service Discovery Protocol)."
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
-DEPENDS = "glib-2.0 libsoup-2.4 libglade gobject-introspection-stub"
+DEPENDS = "glib-2.0 libsoup-2.4 gobject-introspection-stub"
+
+PR = "r2"
SRC_URI = "http://gupnp.org/sites/all/files/sources/${BPN}-${PV}.tar.gz"
@@ -17,9 +19,5 @@ FILES_gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade"
EXTRA_OECONF = "--disable-introspection"
-PR = "r1"
-
-SRC_URI[md5sum] = "aec6a56ac1d4f8a4837da83f2d152556"
-SRC_URI[sha256sum] = "94de92bb4f7906ed2f047b0146a3b21d53d09908fe1f0149484f61c6afc598ea"
-
-
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)}"
+PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk,gtk+"
--
1.7.10
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-09-10 16:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06 16:09 [PATCH] gssdp: build examples which require GTK+ only if we have X11 Ross Burton
2012-09-10 15:51 ` Saul Wold
-- strict thread matches above, loose matches on Subject: below --
2012-09-06 15:51 Ross Burton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox