Skip to contentSkip to conversation

gupnp: remove dependency on gnome-icon-theme

PATCH In review Nicolas Dechesne 3 participants 5 messages Apr 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gupnp: remove dependency on gnome-icon-theme

As discussed in [1], let's remove the dependency on gnome-icon-theme, since it's not required, and it brings additional unwanted dependency, such as the whole gtk+...

[1] http://article.gmane.org/gmane.comp.handhelds.openembedded/57483

It is build-tested with
- core-image-minimal
- IMAGE_INSTALL += 'gupnp'
- directfb in DISTRO_FEATURES

The build was failing before (GTK failed to build with directfb, which is expected).

---
 meta-multimedia/recipes-connectivity/gupnp/gupnp.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-multimedia/recipes-connectivity/gupnp/gupnp.inc +1 -1
index 81db3ea..f793236 100644
@@ -2,7 +2,7 @@ SUMMARY = "UPnP framework"
 DESCRIPTION = "GUPnP is an elegant, object-oriented open source framework for creating UPnP  devices and control points, written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible. It provides the same set of features as libupnp, but shields the developer from most of UPnP's internals."
 LICENSE = "LGPLv2+"
 
-DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2 gnome-icon-theme gobject-introspection-stub"
+DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2 gobject-introspection-stub"
 
 require no-vala.inc
 
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 11 lines · Nicolas Dechesne

As discussed in [1], let's remove the dependency on gnome-icon-theme, since it's not required, and it brings additional unwanted dependency, such as the whole gtk+...

[1] http://article.gmane.org/gmane.comp.handhelds.openembedded/57483

It is build-tested with
- core-image-minimal
- IMAGE_INSTALL += 'gupnp'
- directfb in DISTRO_FEATURES

Quoted 4 lines

The build was failing before (GTK failed to build with directfb, which is expected).

You'll want to bump PR (ideally adding some form of pr in the .inc at the same time).

Ross

#2 lore raw
Quoted 2 lines · Ross

You'll want to bump PR (ideally adding some form of pr in the .inc at the same time).

ouch.. indeed.

do you mean something along these lines:

(quoted diff) +0 -0

b/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc index f793236..f7c382a 100644

meta-multimedia/recipes-connectivity/gupnp/gupnp.inc +0 -0
@@ -2,6 +2,8 @@ SUMMARY = "UPnP framework"
 DESCRIPTION = "GUPnP is an elegant, object-oriented open source

framework for creating UPnP devices and control points, written in C using G
LICENSE = "LGPLv2+"

+INC_PR = "r0"
+
DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2 gobject-introspection-stub"

require no-vala.inc

(quoted diff) +0 -0

b/meta-multimedia/recipes-connectivity/gupnp/gupnp_0.18.4.bb index 4fb1d05..5e6ea35 100644

meta-multimedia/recipes-connectivity/gupnp/gupnp_0.18.4.bb +2 -0
@@ -1,5 +1,7 @@
 require gupnp.inc
 
+PR = "${INC_PR}.0"
+
 SRC_URI = "http://download.gnome.org/sources/${BPN}/0.18/${BPN}-${PV}.tar.xz"
 SRC_URI[md5sum] = "0e15fa26be7b1a0255e6dec07c285527"
 SRC_URI[sha256sum] =

"6b437d5711b212292c6080626b97480268310da636a6cf937ad6119291af78a1"

then, what I could do is a patch serie where patch 1/2 introduces the INC_PR with "r0", and patch 2/2 fixes gupnp and increments INC_PR to 'r1'.

also, is that worthwhile to add the INC_PR in all other recipes in the gupnp folder ? or just in gupnp recipe for now?

#3 lore raw

Hi Nicolas,

Quoted 3 lines · Nicolas Dechesne

then, what I could do is a patch serie where patch 1/2 introduces the INC_PR with "r0", and patch 2/2 fixes gupnp and increments INC_PR to 'r1'.

Exactly that.

Quoted 2 lines

also, is that worthwhile to add the INC_PR in all other recipes in the gupnp folder ? or just in gupnp recipe for now?

Do them all, might as well.

Ross

#4 lore raw
Quoted 7 lines · Ross

Hi Nicolas,

Quoted 3 lines · Nicolas Dechesne

then, what I could do is a patch serie where patch 1/2 introduces the INC_PR with "r0", and patch 2/2 fixes gupnp and increments INC_PR to 'r1'.

Quoted 6 lines

Exactly that.

Quoted 2 lines

also, is that worthwhile to add the INC_PR in all other recipes in the gupnp folder ? or just in gupnp recipe for now?

Do them all, might as well.

Is it important now, when PR bumps are not strictly required?

There were more dangerous changes without PR bumps included in last months.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]