summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/graphviz
Commit message (Collapse)AuthorAgeFilesLines
* Revert "recipes: adapt to qemu.bbclass refactoring"Chen Qi2025-05-291-3/+3
| | | | | | | | | | | | | | This reverts commit 24ff52ba3b73757cc0255a5b19822e2e4d3d4e0a. The original patch was my bad. The patches for oe-core were re-worked, but I forgot the recall this patch. In fact, inheriting qemu is needed because it sets a clear barriar for people to use qemu user mode. And the QEMU_OPTIONS settings are also in qemu.bbclass. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: adapt to qemu.bbclass refactoringChen Qi2025-05-031-3/+3
| | | | | | | | | | | Avoid inheriting qemu.bbclass and use oe.qemu.xxx instead. Also, the 'qemu-native' dep is replaced by 'qemuwrapper-cross' for PACKAGE_WRITE_DEPS. qemuwrapper-cross is the one that is actually used by postints and it has 'qemu-native' in DEPENDS. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: upgrade 12.2.0 -> 12.2.1Wang Mingyu2024-12-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - Support for building the SWIG-generated R language bindings has been integrated into the CMake build system. This is controllable by the '-DENABLE_R={AUTO|ON|OFF}' option. - A sandboxing wrapper, 'dot_sandbox', is now included with Graphviz. Users should prefer their platform's native security solutions, but if nothing better is available this wrapper offers safe processing of untrusted inputs in some scenarios. - JPEG images without an 'APP0' leading segment are supported for use in 'src' fields and friends. Previously Graphviz was overly strict with the types of JPEGs it would recognize. - The GVPR library program 'depath' no longer acts on previously deleted nodes, causing unpredictable results. - Void-typed function parameters ('int foo(void bar)') and variables 'void baz;' in GVPR are gracefully rejected. - Input that induce a set node height but no set node width no longer crash with the failure "Assertion failed: '(r->boundary[i] <= r->boundary[NUMDIMS + i])', function RTreeInsert". It is typically not obvious to users when their input falls into this situation, hence why the assertion message is quoted here. - Strings containing double quote characters preceded by escape sequences (e.g. '\n"') are once again correctly escaped in dot or canonical output. - 'dot_builtins' no longer lists duplicate format options in its error messages. - A precision error that resulted in truncated edge lines has been corrected. This was a regression in Graphviz 12.0.0. - The xlib plugin ('-Tx11') resets its initialization state during finalization. Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: upgrade 12.1.2 -> 12.2.0Wang Mingyu2024-11-191-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: Disable perl supportKhem Raj2024-10-271-0/+1
| | | | | | | | It ends up peeking into build host's perl installation under /usr/include for perl.h which infact is incorrect. Its better to either fix it to know cross-compiling or disable it, for now chose the latter. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: remove obsolete and problematic patchChen Qi2024-10-252-46/+0
| | | | | | | | | | | | | | | | | | | | | | | | Remove 0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch. This patch is obsolete and not needed because the current graphviz configure.ac has correct logic of checking use_tcl. This use_tcl variable needs to be set when '--disable-tcl' is set, otherwise, things will behave as if no option is supplied and the configure process will check tcl automatically. This patch is problematic because its logic against the current version is wrong. The recipe has already explicitly set '--disable-tcl', so the configure process should not do automatic checking for tcl at do_configure. This patch fixes do_configure error when host has tcl8.6-dev installed. The error is like below: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. [configure-unsafe] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: upgrade 8.1.0 -> 12.1.2Yi Zhao2024-10-143-74/+24
| | | | | | | | | | | | ChangeLog: https://gitlab.com/graphviz/graphviz/-/blob/12.1.2/CHANGELOG.md * Drop backport patch 0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch * Refresh patch Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: include UPSTREAM_CHECK_* to fix UNKNOWN_BROKEN statusAlexandre Truong2024-07-241-0/+3
| | | | | | | | | | | Adding UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX fix UNKNOWN_BROKEN status from running devtool check-upgrade-status. The next version of the package can be found from upstream sources. Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
* recipes: Start WORKDIR -> UNPACKDIR transitionKhem Raj2024-05-231-1/+1
| | | | | | | Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Use PYTHON_SITEPACKAGES_DIR instead of hard-coded site-packages directory pathalperak2024-04-151-1/+1
| | | | | | | | | | | | The following paths have been replaced with PYTHON_SITEPACKAGES_DIR: - "${libdir}/${PYTHON_DIR}/site-packages" - "${libdir}/python${PYTHON_BASEVERSION}/site-packages" - "${libdir}/python*/site-packages" - "${libdir}/python3.*/site-packages" Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: Fix build to not use $prefix as search dirDaniel Klauer2023-10-042-0/+59
| | | | | | | | | | | | | | | | | | | | | | The graphviz configure script used $prefix/include and $prefix/lib search directories, thus bypassing the recipe sysroot, which could lead to build contamination or failures. The added patch (backported from graphviz 9.0.0) fixes this. Due to the $prefix != /usr check in the configure script, this issue only showed up for recipe build variants which use a different prefix value, such as nativesdk-graphviz (prefix = SDKPATHNATIVE/...) or graphviz-native (prefix = STAGING_DIR_NATIVE/...). Using STAGING_DIR_NATIVE is probably not a problem, since it is recipe-specific anyways, but using SDKPATHNATIVE may be a problem, if it happens to exist and contains headers/libraries. Even though this may be unlikely with the default SDKPATH = "/usr/local/oe-sdk-hardcoded-buildpath" value used in bitbake.conf, the problem can still be triggered, especially if the paths like prefix or SDKPATH are customized in a build. Link: https://gitlab.com/graphviz/graphviz/-/issues/2442 Signed-off-by: Daniel Klauer <daniel.klauer@gin.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cve_check: convert CVE_CHECK_IGNORE to CVE_STATUSAndrej Valek2023-07-271-4/+0
| | | | | | | | | - Try to add convert and apply statuses for old CVEs - Drop some obsolete ignores, while they are not relevant for current version Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: Upgrade to 8.1.0 releaseKhem Raj2023-07-132-8/+7
| | | | | | | Do not build pdf documentation, we do not have host tools needed for this to build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: remove unused patch filesMartin Jansa2023-05-242-59/+0
| | | | | | | | * they were removed from SRC_URI in: https://git.openembedded.org/meta-openembedded/commit/?id=edc38751dc1a0141c8f5f93f6650ca2d11b792bc Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: no longer needs intltool-nativeRoss Burton2023-05-201-1/+0
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: Do not build tcl support for nativeChangqing Li2022-12-061-0/+3
| | | | | | | | | | | | | | | | | | | | | with enable-tcl=yes, task do_configure looks for tclConfig.sh on buildhost, and source it. But there is no dpkg-architecture in current PATH, and the tclConfig.sh enter into an dead loop since dpkg-architecture not found and finanlly Segmentation faulted. Therefore it is better to disable tcl do_configure failure: using /usr/lib/tclConfig.sh /usr/lib/tclConfig.sh: line 2: dpkg-architecture: command not found /usr/lib//tcl8.6/tclConfig.sh: line 2: dpkg-architecture: command not found ... /usr/lib//tcl8.6/tclConfig.sh: line 2: dpkg-architecture: command not found /usr/lib//tcl8.6/tclConfig.sh: line 2: dpkg-architecture: command not found NOTE: The following config.log files may provide further information. Segmentation fault (core dumped) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: ignore patched CVEsDavide Gardenal2022-07-181-0/+4
| | | | | | | | | Some old CVEs don't have a vulnerable version range in the NVD database, this causes come mismatch with cve-check. Ignore many CVEs that are picked up by the class but are patched in our products. Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: rrecommends on liberation-fontsKai Kang2022-05-281-0/+2
| | | | | | | | There will be tofos in output pictures without any font, so make graphviz rrecommends on liberation-fonts. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: don't clear PACKAGECONFIG for nativesdkChristian Eggers2022-03-291-1/+0
| | | | | | | librsvg is available again on nativesdk Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: add pkg_postinst scriptKai Kang2022-03-291-1/+18
| | | | | | | | | | | | It needs to run `dot -c` first before call 'dot' command, otherwise it fails with: | Format: "png" not recognized. No formats found. | Perhaps "dot -c" needs to be run (with installer's privileges) to register the plugins? Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: 2.44.1 -> 2.50.0Kai Kang2022-03-171-11/+6
| | | | | | | | | | | | | | 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>
* graphviz: added PACKAGECONFIG for librsvgChristian Eggers2022-02-221-1/+4
| | | | | | | | | | | | 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 Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: native: create /usr/lib/graphviz/config6 in populate_sysrootChristian Eggers2022-02-141-0/+11
| | | | | | | | | | | | | | | | The `dot` tool requires to be run once after installation in order to create its configuration file. The do_prepare_recipe_sysroot task uses do_populate_sysroot in order to prepare the recipe-sysroot-native. Package postinstall scripts are not executed for -native packages, but files under ${BINDIR}/postinst-* are. This is quite the same as graphviz-setup.sh does for nativesdk. The general idea has been taken from OECORE/meta/classes/pixbufcache.bbclass. Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-22/+22
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* graphviz: drop unused SRCREV and outdated commentMartin Jansa2021-02-071-7/+0
| | | | | | | | | | | | | | | | | | * the SRCREV isn't used as we don't use git fetcher here and comment doesn't make sense anymore as we're fetching versioned tarball now after: commit 985be3901e79c9e45cd5d23774e3cfdaab476b44 Author: Khem Raj <raj.khem@gmail.com> Date: Mon Nov 2 18:33:34 2020 -0800 graphviz: Upgrade to 2.44.1 release - Refresh patches to apply on new sources - Switch away from gitlab archives - Bypass pdf documentation generation Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: Upgrade to 2.44.1 releaseKhem Raj2020-11-034-17/+7
| | | | | | | | - Refresh patches to apply on new sources - Switch away from gitlab archives - Bypass pdf documentation generation Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: Extend for nativesdkChristian Eggers2020-06-102-1/+29
| | | | | | | | | | | | The "dot" tool is often used together with doxygen which is already available for nativesdk. Cross compiling graphviz for nativesdk looks quite similar as building for target. At installation time of the SDK, "dot -c" must be called in order to create <SDK sysroot>/usr/lib/graphviz/config6. Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: Depend on py3 at runtimeKhem Raj2020-02-181-2/+2
| | | | | | | These packages are empty but python scripts generally do not depend on python2 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: Do not build tcl support for targetKhem Raj2019-08-082-1/+51
| | | | | | | | | | | | tclpkg looks for tclsh on buildhost and if we try to use the native version then it groks the paths from the native sysroot and builds and installs the target tcl packages into the same path, in the end it ends up being wrongly packaged. Therefore its best to disable tcl Secondly, package python and perl pieces into independent packages so the runtime dependencies are also set accordingly. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: Fix build error that surfaced with latest pangoKhem Raj2019-08-082-0/+39
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz: Fix cross-build failures with clangKhem Raj2019-02-051-4/+14
| | | | | | | | | | | | | | | | | | It is detecting cross compile badness for -lexpat since the check finds it on build host, so aide the build ssytem to find it in staging sysroot Disable internal ltdl, use libtool provided one Define defines to indicate that platform has ssize_t and long_double Disable java,r,c-sharp, as it is unused Arrange source URIs before checksums gtk-doc is not needed, morever it ends up in unknown configure options Signed-off-by: Khem Raj <raj.khem@gmail.com>
* graphviz(-native): initial add 2.40.1Andreas Müller2019-01-222-0/+80
Graphviz is helpful for creating docs with doxygen (at least) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>