summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2022-03-17 10:47:54 +0800
committerKhem Raj <raj.khem@gmail.com>2022-03-17 08:18:31 -0700
commitedc38751dc1a0141c8f5f93f6650ca2d11b792bc (patch)
tree2db7fdf2601acef8b650c13a1320d2a7ef967317 /meta-oe/recipes-graphics
parentae90b1f2172d9a3c4cc270295eb1122cc9431642 (diff)
downloadmeta-openembedded-edc38751dc1a0141c8f5f93f6650ca2d11b792bc.tar.gz
graphviz: 2.44.1 -> 2.50.0
Update graphviz from 2.44.1 to 2.50.0. * update SRC_URI * remove patches can not be applied * mkdefs is not provided any longer, so remove installation for graphviz-native * rrecommends on liberation-fonts that there will be tofos in outputed pictures without any font Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb (renamed from meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb)17
1 files changed, 6 insertions, 11 deletions
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb b/meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb
index ff9939ebd..0eca7fdba 100644
--- a/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb
+++ b/meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb
@@ -19,19 +19,17 @@ DEPENDS:append:class-nativesdk = " ${BPN}-native"
19 19
20inherit autotools-brokensep pkgconfig gettext 20inherit autotools-brokensep pkgconfig gettext
21 21
22SRC_URI = "https://www2.graphviz.org/Packages/stable/portable_source/${BP}.tar.gz \ 22SRC_URI = "https://gitlab.com/api/v4/projects/4207231/packages/generic/${BPN}-releases/${PV}/${BP}.tar.xz \
23 file://0001-plugin-pango-Include-freetype-headers-explicitly.patch \ 23 "
24"
25# Use native mkdefs 24# Use native mkdefs
26SRC_URI:append:class-target = "\ 25SRC_URI:append:class-target = "\
27 file://0001-Use-native-mkdefs.patch \
28 file://0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch \ 26 file://0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch \
29" 27"
30SRC_URI:append:class-nativesdk = "\ 28SRC_URI:append:class-nativesdk = "\
31 file://0001-Use-native-mkdefs.patch \
32 file://graphviz-setup.sh \ 29 file://graphviz-setup.sh \
33" 30"
34SRC_URI[sha256sum] = "8e1b34763254935243ccdb83c6ce108f531876d7a5dfd443f255e6418b8ea313" 31
32SRC_URI[sha256sum] = "6b16bf990df114195be669773a1dae975dbbffada45e1de2849ddeb5851bb9a8"
35 33
36PACKAGECONFIG ??= "librsvg" 34PACKAGECONFIG ??= "librsvg"
37PACKAGECONFIG:class-nativesdk ??= "" 35PACKAGECONFIG:class-nativesdk ??= ""
@@ -65,11 +63,6 @@ do_configure:prepend() {
65 ./autogen.sh NOCONFIG || true 63 ./autogen.sh NOCONFIG || true
66} 64}
67 65
68do_install:append:class-native() {
69 # install mkdefs for target build
70 install -m755 ${B}/lib/gvpr/mkdefs ${D}${bindir}
71}
72
73do_install:append:class-nativesdk() { 66do_install:append:class-nativesdk() {
74 # graphviz-setup.sh must be executed at SDK installation 67 # graphviz-setup.sh must be executed at SDK installation
75 install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d 68 install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d
@@ -98,6 +91,8 @@ RDEPENDS:${PN}-perl += "perl"
98RDEPENDS:${PN}-python += "python3" 91RDEPENDS:${PN}-python += "python3"
99RDEPENDS:${PN}-demo += "python3 perl" 92RDEPENDS:${PN}-demo += "python3 perl"
100 93
94RRECOMMENDS:${PN} = "liberation-fonts"
95
101INSANE_SKIP:${PN}-perl = "dev-so" 96INSANE_SKIP:${PN}-perl = "dev-so"
102INSANE_SKIP:${PN}-python = "dev-so" 97INSANE_SKIP:${PN}-python = "dev-so"
103 98