Skip to contentSkip to conversation

librsvg: --disable-gnome-vfs doesn't exist anymore, remove

PATCH In review Ross Burton 3 participants 6 messages Sep 13, 2012 – Sep 14, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 librsvg: --disable-gnome-vfs doesn't exist anymore, remove

---
 meta/recipes-gnome/librsvg/librsvg_2.32.1.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +2 -2
index 6eba686..364f6f2 100644
@@ -11,11 +11,11 @@ DEPENDS = "gtk+ libcroco cairo libxml2 popt"
 DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native"
 BBCLASSEXTEND = "native"
 
-PR = "r7"
+PR = "r8"
 
 inherit autotools pkgconfig gnome gtk-doc
 
-EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disable-gnome-vfs"
+EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco"
 
 SRC_URI += "file://doc_Makefile.patch"
 
Signature · 1 line
1.7.10
#1 lore raw

PATCH 2/3 librsvg: remove spurious popt dependency

---
 meta/recipes-gnome/librsvg/librsvg_2.32.1.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +2 -2
index 364f6f2..6bb5fe2 100644
@@ -7,11 +7,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://rsvg.h;beginline=3;endline=24;md5=20b4113c4909bbf0d67e006778302bc6"
 
 SECTION = "x11/utils"
-DEPENDS = "gtk+ libcroco cairo libxml2 popt"
+DEPENDS = "gtk+ libcroco cairo libxml2"
 DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native"
 BBCLASSEXTEND = "native"
 
-PR = "r8"
+PR = "r9"
 
 inherit autotools pkgconfig gnome gtk-doc
 
Signature · 1 line
1.7.10
#2 lore raw

PATCH 3/3 librsvg: make the libcroco dependency a PACKAGECONFIG option

In reply to Ross Burton

Default to enabling it as we were build-depending on it already. If a user needs the disk space and the limitations imposed by not using libcroco are acceptable they can override this.

---
 meta/recipes-gnome/librsvg/librsvg_2.32.1.bb |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +6 -3
index 6bb5fe2..012b3ba 100644
@@ -7,15 +7,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://rsvg.h;beginline=3;endline=24;md5=20b4113c4909bbf0d67e006778302bc6"
 
 SECTION = "x11/utils"
-DEPENDS = "gtk+ libcroco cairo libxml2"
+DEPENDS = "gtk+ cairo libxml2"
 DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native"
 BBCLASSEXTEND = "native"
 
-PR = "r9"
+PR = "r10"
 
 inherit autotools pkgconfig gnome gtk-doc
 
-EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco"
+EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz"
+
+PACKAGECONFIG ??= "croco"
+PACKAGECONFIG[croco] = "--with-croco,--without-croco,libcroco"
 
 SRC_URI += "file://doc_Makefile.patch"
 
Signature · 1 line
1.7.10
#3 lore raw

Re: [PATCH 3/3] librsvg: make the libcroco dependency a PACKAGECONFIG option

Quoted 23 lines · Ross Burton

Default to enabling it as we were build-depending on it already. If a user needs the disk space and the limitations imposed by not using libcroco are acceptable they can override this.

---
  meta/recipes-gnome/librsvg/librsvg_2.32.1.bb |    9 ++++++---
  1 file changed, 6 insertions(+), 3 deletions(-)
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +1 -2
index 6bb5fe2..012b3ba 100644
@@ -7,15 +7,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                      file://rsvg.h;beginline=3;endline=24;md5=20b4113c4909bbf0d67e006778302bc6"
 
  SECTION = "x11/utils"
-DEPENDS = "gtk+ libcroco cairo libxml2"
+DEPENDS = "gtk+ cairo libxml2"
  DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native"
  BBCLASSEXTEND = "native"
 
-PR = "r9"

meta/recipes-gnome/librsvg/librsvg_2.32.1.bb LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ · line 22

Quoted 10 lines
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +5 -1
+PR = "r10"
 
  inherit autotools pkgconfig gnome gtk-doc
 
-EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco"
+EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz"
+
+PACKAGECONFIG ??= "croco"
+PACKAGECONFIG[croco] = "--with-croco,--without-croco,libcroco"
 

This change seems to introduce a new native dependency on libcroco-native.

ERROR: Nothing PROVIDES 'libcroco-native' (but virtual:native:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/build/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb DEPENDS on or otherwise requires it)

This was during a bitbake -c fetch universe

Sau!

Quoted 3 lines
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +0 -0
  SRC_URI += "file://doc_Makefile.patch"
 
#4 lore raw

Re: [PATCH 3/3] librsvg: make the libcroco dependency a PACKAGECONFIG option

Quoted 26 lines · Saul Wold
Quoted 25 lines · Ross Burton

Default to enabling it as we were build-depending on it already. If a user needs the disk space and the limitations imposed by not using libcroco are acceptable they can override this.

---
  meta/recipes-gnome/librsvg/librsvg_2.32.1.bb |    9 ++++++---
  1 file changed, 6 insertions(+), 3 deletions(-)
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +2 -2
index 6bb5fe2..012b3ba 100644
@@ -7,15 +7,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                      file://rsvg.h;beginline=3;endline=24;md5=20b4113c4909bbf0d67e006778302bc6"
 
  SECTION = "x11/utils"
-DEPENDS = "gtk+ libcroco cairo libxml2"
+DEPENDS = "gtk+ cairo libxml2"
  DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native"
  BBCLASSEXTEND = "native"
 
-PR = "r9"
+PR = "r10"
 
Quoted 6 lines

meta/recipes-gnome/librsvg/librsvg_2.32.1.bb LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ · line 20

Quoted 6 lines
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +3 -1
  inherit autotools pkgconfig gnome gtk-doc
 
-EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco"
+EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz"
+
+PACKAGECONFIG ??= "croco"

Needs a

+PACKAGECONFIG_class-native ??= ""

Quoted 9 lines

meta/recipes-gnome/librsvg/librsvg_2.32.1.bb LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ · line 22

Quoted 2 lines
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +1 -0
+PACKAGECONFIG[croco] = "--with-croco,--without-croco,libcroco"
 

This change seems to introduce a new native dependency on libcroco-native.

ERROR: Nothing PROVIDES 'libcroco-native' (but virtual:native:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/build/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb DEPENDS on or otherwise requires it)

This was during a bitbake -c fetch universe

Cheers,

Richard

#5 lore raw
In reply to Ross Burton
Quoted 14 lines · Ross Burton
---
  meta/recipes-gnome/librsvg/librsvg_2.32.1.bb |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +0 -0
index 6eba686..364f6f2 100644
@@ -11,11 +11,11 @@ DEPENDS = "gtk+ libcroco cairo libxml2 popt"
  DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native"
  BBCLASSEXTEND = "native"
 

meta/recipes-gnome/librsvg/librsvg_2.32.1.bb DEPENDS = "gtk+ libcroco cairo libxml2 popt" · line 21

Quoted 10 lines
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +2 -2
-PR = "r7"
+PR = "r8"
 
  inherit autotools pkgconfig gnome gtk-doc
 
-EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disable-gnome-vfs"
+EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco"
 
  SRC_URI += "file://doc_Makefile.patch"
 

Merged 2 of the 3 into OE-Core

Thanks
Sau!