Skip to contentSkip to conversation

graphviz: added PACKAGECONFIG for librsvg

PATCH In review Christian Eggers 2 participants 2 messages Feb 21, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 graphviz: added PACKAGECONFIG for librsvg

nativesdk-librsvg is not available anymore ([2], transition to Rust). According to [2], graphviz can be used fine (even with svg images) without librsvg.

[1] oe-core: 67dd505c42 ("librsvg: do not enable nativesdk")
[2] https://www.linuxfromscratch.org/blfs/view/cvs/general/graphviz.html

---
 meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb +4 -1
index 203e0206fbfe..ff9939ebd02a 100644
@@ -9,7 +9,6 @@ DEPENDS = " \
     groff-native \
     libtool \
     gdk-pixbuf \
-    librsvg \
     cairo \
     pango \
     expat \
@@ -34,6 +33,10 @@ SRC_URI:append:class-nativesdk = "\
 "
 SRC_URI[sha256sum] = "8e1b34763254935243ccdb83c6ce108f531876d7a5dfd443f255e6418b8ea313"
 
+PACKAGECONFIG ??= "librsvg"
+PACKAGECONFIG:class-nativesdk ??= ""
+PACKAGECONFIG[librsvg] = "--with-librsvg,--without-librsvg,librsvg"
+
 EXTRA_OECONF:append = " PS2PDF=/bin/echo"
 
 EXTRA_OECONF:class-target = "\
Signature · 1 line
2.34.1
#1 lore raw

this patch is corrupt somehow can not be applied from mbox.

Quoted 48 lines · Christian Eggers

nativesdk-librsvg is not available anymore ([2], transition to Rust). According to [2], graphviz can be used fine (even with svg images) without librsvg.

[1] oe-core: 67dd505c42 ("librsvg: do not enable nativesdk")
[2] https://www.linuxfromscratch.org/blfs/view/cvs/general/graphviz.html

---
 meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb +4 -2
index 203e0206fbfe..ff9939ebd02a 100644
@@ -9,7 +9,6 @@ DEPENDS = " \
     groff-native \
     libtool \
     gdk-pixbuf \
-    librsvg \
     cairo \
     pango \
     expat \
@@ -34,6 +33,10 @@ SRC_URI:append:class-nativesdk = "\
 "
 SRC_URI[sha256sum] = "8e1b34763254935243ccdb83c6ce108f531876d7a5dfd443f255e6418b8ea313"
 
+PACKAGECONFIG ??= "librsvg"
+PACKAGECONFIG:class-nativesdk ??= ""
+PACKAGECONFIG[librsvg] = "--with-librsvg,--without-librsvg,librsvg"
+
 EXTRA_OECONF:append = " PS2PDF=/bin/echo"
 
 EXTRA_OECONF:class-target = "\
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95420): https://lists.openembedded.org/g/openembedded-devel/message/95420
Mute This Topic: https://lists.openembedded.org/mt/89298975/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-