Skip to contentSkip to conversation

Some work on libgee recipes

PATCH New Simon Busch 1 participant 3 messages Oct 14, 2010

lore
Share & tools
lore
#0 lore raw

Heyho,

the last commits did some work the libgee recipes which will be fixed with the following two patches. The first one adds a INC_PR var to indicate changes in the common libgee.inc recipe. The second one removes the dependency on gobject-introspection as it is not needed for libgee to compile successfully.

Please review these two patches so I can commit them to our repository.

regards,
morphis

#1 lore raw

PATCH 1/2 libgee: define common INC_PR and use it in all specific version recipes

Until now there is now way to indicate that the libgee.inc common part of libgee has changed - the PR is only defined in the specific version recipes. This adds the INC_PR var to to the common libgee.inc and use it in the specific version recipes. INC_PR is initial set to the highest value of both version 0.5.2 and 0.6.0.

---
 recipes/libgee/libgee.inc      |    1 +
 recipes/libgee/libgee_0.5.2.bb |    2 ++
 recipes/libgee/libgee_0.6.0.bb |    2 +-
 3 files changed, 4 insertions(+), 1 deletions(-)
recipes/libgee/libgee.inc +1 -0
index 918f45b..5148386 100644
@@ -5,6 +5,7 @@ SECTION = "libs"
 DEPENDS = "glib-2.0 gobject-introspection"
 BBCLASSEXTEND = "native"
 LICENSE = "LGPL"
+INC_PR = "r4"
 PE = "1"
 
 inherit autotools vala
recipes/libgee/libgee_0.5.2.bb +2 -0
index 5c94620..223537d 100644
@@ -1,4 +1,6 @@
 require libgee.inc
+
+PR = "${INC_PR}.0"
 PE = "1"
 
 SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/0.5/${BPN}-${PV}.tar.bz2"
recipes/libgee/libgee_0.6.0.bb +1 -1
index 41bfce1..9460e97 100644
@@ -1,6 +1,6 @@
 require libgee.inc
 PE = "1"
-PR = "r3"
+PR = "${INC_PR}.0"
 
 SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/0.6/${BPN}-${PV}.tar.bz2"
 S = "${WORKDIR}/${BPN}-${PV}"
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/2 libgee: remove unnecessary dependency on gobject-introspection

In reply to Simon Busch
---
 recipes/libgee/libgee.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/libgee/libgee.inc +2 -2
index 5148386..ed86554 100644
@@ -2,10 +2,10 @@ DESCRIPTION = "libgee is a collection library providing GObject-based interfaces
 and classes for commonly used data structures."
 HOMEPAGE = "http://live.gnome.org/Libgee"
 SECTION = "libs"
-DEPENDS = "glib-2.0 gobject-introspection"
+DEPENDS = "glib-2.0"
 BBCLASSEXTEND = "native"
 LICENSE = "LGPL"
-INC_PR = "r4"
+INC_PR = "r5"
 PE = "1"
 
 inherit autotools vala
Signature · 1 line
1.7.1