summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/gnuplot/gnuplot_6.0.3.bb
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-10-06 21:29:22 +0200
committerKhem Raj <raj.khem@gmail.com>2025-10-06 14:14:36 -0700
commita2aadcda20beab7641194e57d77bbbae3fce75d1 (patch)
tree0eff0a6501e827c796f811049a4fbd21515db163 /meta-oe/recipes-extended/gnuplot/gnuplot_6.0.3.bb
parent01116c0c47dc7a92e62cdbeadd7b72448fa4baa2 (diff)
downloadmeta-openembedded-a2aadcda20beab7641194e57d77bbbae3fce75d1.tar.gz
gnuplot: upgrade 5.4.3 -> 6.0.3
This upgrade includes fixes for the following vulnerabilities: CVE-2025-31176 CVE-2025-31178 CVE-2025-31179 CVE-2025-31180 CVE-2025-31181 This release supports qt4, qt5 and qt6 (the last one is new in this release). There are 2 qt PACKAGECONFIGs now: qt5 and qt6 - they are mutually exclusive. Since it is being touched, also fix lua PACKAGECONFIG, which requires lua-native at build time. Changelog: http://gnuplot.info/ReleaseNotes_6_0_3.html Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/gnuplot/gnuplot_6.0.3.bb')
-rw-r--r--meta-oe/recipes-extended/gnuplot/gnuplot_6.0.3.bb74
1 files changed, 74 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot_6.0.3.bb b/meta-oe/recipes-extended/gnuplot/gnuplot_6.0.3.bb
new file mode 100644
index 0000000000..35c83fd23e
--- /dev/null
+++ b/meta-oe/recipes-extended/gnuplot/gnuplot_6.0.3.bb
@@ -0,0 +1,74 @@
1SUMMARY = "Gnuplot is a portable command-line driven graphing utility"
2DESCRIPTION = "Gnuplot is a portable command-line driven interactive datafile \
3(text or binary) and function plotting utility."
4HOMEPAGE = "http://www.gnuplot.info/"
5SECTION = "console/scientific"
6LICENSE = "gnuplot"
7LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f"
8DEPENDS = "${BPN}-native gd readline"
9
10inherit autotools pkgconfig
11# depends on virtual/libx11
12
13SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.gz;name=archive \
14 http://www.mneuroth.de/privat/zaurus/qtplot-0.2.tar.gz;name=qtplot \
15 file://gnuplot.desktop \
16 file://gnuplot.png \
17 "
18SRC_URI:append:class-target = " \
19 file://0002-do-not-build-demos.patch \
20 file://0003-Use-native-tools-to-build-docs.patch \
21 file://0004-Add-configure-option-to-find-qt5-and-qt6-native-tools.patch \
22"
23
24SRC_URI[archive.sha256sum] = "ec52e3af8c4083d4538152b3f13db47f6d29929a3f6ecec5365c834e77f251ab"
25SRC_URI[qtplot.sha256sum] = "6df317183ff62cc82f3dcf88207a267cd6478cb5147f55d7530c94f1ad5f4132"
26
27# for building docs (they deserve it) we need *doc2* tools native
28BBCLASSEXTEND = "native"
29DEPENDS:class-native = "readline-native"
30PACKAGECONFIG:class-native = ""
31
32SRC_URI:append:class-native = " file://0001-reduce-build-to-conversion-tools-for-native-build.patch"
33
34do_install:class-native() {
35 install -d ${D}${bindir}
36 install ${B}/docs/*doc* ${D}${bindir}
37 rm ${D}${bindir}/*.o
38}
39
40PACKAGECONFIG ??= "cairo ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
41PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango"
42PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua lua-native"
43# qt5 requires meta-qt5 layer, qt6 requires meta-qt6 layer
44PACKAGECONFIG[qt5] = "--with-qt=qt5 --with-qt5nativesysroot=${STAGING_DIR_NATIVE},,qtbase-native qtbase qtsvg qttools-native,,,qt6"
45PACKAGECONFIG[qt6] = "--with-qt --with-qt6nativesysroot=${STAGING_DIR_NATIVE},,qtbase-native qtbase qtsvg qttools-native qt5compat,,,qt5"
46PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11"
47
48EXTRA_OECONF = " \
49 --with-readline=${STAGING_LIBDIR}/.. \
50 --disable-wxwidgets \
51 --without-libcerf \
52 ${@bb.utils.contains_any('PACKAGECONFIG', 'qt5 qt6', '', '--without-qt', d)} \
53"
54
55do_compile:prepend() {
56 install -m 0644 ${UNPACKDIR}/qtplot-0.2/qtopia.trm ${S}/term/
57}
58
59do_install:append:class-target() {
60 install -d ${D}${datadir}/applications/
61 install -m 0644 ${UNPACKDIR}/gnuplot.desktop ${D}${datadir}/applications/
62 install -d ${D}${datadir}/pixmaps/
63 install -m 0644 ${UNPACKDIR}/gnuplot.png ${D}${datadir}/pixmaps/
64}
65
66PACKAGES =+ "${PN}-x11"
67
68RPROVIDES:${PN}-dbg += "${PN}-x11-dbg"
69
70DESCRIPTION:${PN}-x11 = "X11 display terminal for Gnuplot."
71SECTION:${PN}-x11 = "x11/scientific"
72FILES:${PN}-x11 = "${libexecdir} ${datadir}/applications ${datadir}/pixmaps ${libdir}/X11 "
73
74FILES:${PN} += "${datadir}/texmf"