diff options
-rw-r--r-- | meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch | 58 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch | 37 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/graphviz/graphviz_12.1.2.bb (renamed from meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb) | 3 |
3 files changed, 24 insertions, 74 deletions
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch b/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch deleted file mode 100644 index 0d3f412706..0000000000 --- a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | From 671e0d091b40ef7deb4a9d43e0dbed2a44edbec8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Matthew Fernandez <matthew.fernandez@gmail.com> | ||
3 | Date: Sat, 9 Sep 2023 01:03:04 -0700 | ||
4 | Subject: [PATCH] Autotools: fix: do not put '$prefix' based paths in | ||
5 | compilation flags | ||
6 | |||
7 | This was causing problems with cross-compilation with a dedicated sysroot, | ||
8 | because compilation would incorrectly use headers and libraries from the | ||
9 | `--prefix` path. The `--prefix` path is meant to indicate a target path to | ||
10 | install to, not a path from which to source dependent libraries. | ||
11 | |||
12 | Gitlab: fixes #2442 | ||
13 | Reported-by: Daniel Klauer | ||
14 | Suggested-by: Daniel Klauer | ||
15 | |||
16 | Upstream-Status: Backport [https://gitlab.com/graphviz/graphviz/-/commit/012d250a903e13114bce3ba40995fb957fed7848] | ||
17 | Signed-off-by: Daniel Klauer <daniel.klauer@gin.de> | ||
18 | --- | ||
19 | CHANGELOG.md | 3 +++ | ||
20 | configure.ac | 8 -------- | ||
21 | 2 files changed, 3 insertions(+), 8 deletions(-) | ||
22 | |||
23 | diff --git a/CHANGELOG.md b/CHANGELOG.md | ||
24 | index b9b7e8e08..3a15fd256 100644 | ||
25 | --- a/CHANGELOG.md | ||
26 | +++ b/CHANGELOG.md | ||
27 | @@ -39,6 +39,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | ||
28 | longer fails due to missing PHP files. #2388 | ||
29 | - Syntax for a loop in `gvmap.sh` has been corrected. This was a regression in | ||
30 | Graphviz 2.50.0. #2404 | ||
31 | +- The Autotools build system no longer uses headers and libraries from the | ||
32 | + `--prefix` path given on the command line. This previously caused | ||
33 | + cross-compilation to incorrectly pick up host headers and libraries. #2442 | ||
34 | |||
35 | ## [8.0.5] – 2023-04-30 | ||
36 | |||
37 | diff --git a/configure.ac b/configure.ac | ||
38 | index 573a3ee5d..7d53346de 100644 | ||
39 | --- a/configure.ac | ||
40 | +++ b/configure.ac | ||
41 | @@ -190,14 +190,6 @@ if test "x${prefix}" = "xNONE"; then | ||
42 | AC_SUBST([prefix]) | ||
43 | fi | ||
44 | |||
45 | -# automatically check for other dependencies in $prefix first | ||
46 | -if test "x${prefix}" != "x/usr"; then | ||
47 | - CPPFLAGS="$CPPFLAGS -I${prefix}/include" | ||
48 | - LDFLAGS="$LDFLAGS -L${prefix}/lib" | ||
49 | - PKG_CONFIG_PATH="$prefix/lib/pkgconfig$PATHSEPARATOR$PKG_CONFIG_PATH" | ||
50 | - export PKG_CONFIG_PATH | ||
51 | -fi | ||
52 | - | ||
53 | dnl ----------------------------------- | ||
54 | # Static/Shared binaries | ||
55 | |||
56 | -- | ||
57 | 2.34.1 | ||
58 | |||
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch b/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch index 99b53e2e12..dda1d4350f 100644 --- a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch +++ b/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch | |||
@@ -1,28 +1,21 @@ | |||
1 | From 564901ab78da2b2b1bed92351dc3c102dc0a8154 Mon Sep 17 00:00:00 2001 | 1 | From 62193e52edfc71283b7bbcd6f590d63251290b3e Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 6 Aug 2019 17:51:39 -0700 | 3 | Date: Tue, 6 Aug 2019 17:51:39 -0700 |
4 | Subject: [PATCH] Set use_tcl to be empty string if tcl is disabled | 4 | Subject: [PATCH] Set use_tcl to be empty string if tcl is disabled |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [Cross-compile specific] | 6 | Upstream-Status: Inappropriate [Cross-compile specific] |
7 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
8 | --- | 9 | --- |
10 | Makefile.am | 2 +- | ||
9 | configure.ac | 2 +- | 11 | configure.ac | 2 +- |
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 12 | 2 files changed, 2 insertions(+), 2 deletions(-) |
11 | 13 | ||
12 | --- a/configure.ac | 14 | diff --git a/Makefile.am b/Makefile.am |
13 | +++ b/configure.ac | 15 | index fe373be..5db5cdc 100644 |
14 | @@ -1225,7 +1225,7 @@ AC_ARG_ENABLE(tcl, | ||
15 | [], [enable_tcl=yes]) | ||
16 | |||
17 | if test "x$enable_tcl" != "xyes"; then | ||
18 | - use_tcl="No (disabled)" | ||
19 | + use_tcl="" | ||
20 | fi | ||
21 | |||
22 | if test "x$use_tcl" = "x"; then | ||
23 | --- a/Makefile.am | 16 | --- a/Makefile.am |
24 | +++ b/Makefile.am | 17 | +++ b/Makefile.am |
25 | @@ -11,7 +11,7 @@ pkginclude_HEADERS = $(top_builddir)/gra | 18 | @@ -11,7 +11,7 @@ pkginclude_HEADERS = $(top_builddir)/graphviz_version.h |
26 | dist_man_MANS = graphviz.7 | 19 | dist_man_MANS = graphviz.7 |
27 | 20 | ||
28 | # $(subdirs) contains the list from: AC_CONFIG_SUBDIRS | 21 | # $(subdirs) contains the list from: AC_CONFIG_SUBDIRS |
@@ -31,3 +24,19 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
31 | 24 | ||
32 | .PHONY: doxygen | 25 | .PHONY: doxygen |
33 | doxygen: | 26 | doxygen: |
27 | diff --git a/configure.ac b/configure.ac | ||
28 | index 993a3dd..5e4a1ad 100644 | ||
29 | --- a/configure.ac | ||
30 | +++ b/configure.ac | ||
31 | @@ -1086,7 +1086,7 @@ AC_ARG_ENABLE(tcl, | ||
32 | [], [enable_tcl=yes]) | ||
33 | |||
34 | if test "$enable_tcl" != "yes"; then | ||
35 | - use_tcl="No (disabled)" | ||
36 | + use_tcl="" | ||
37 | fi | ||
38 | |||
39 | if test "$use_tcl" = ""; then | ||
40 | -- | ||
41 | 2.25.1 | ||
42 | |||
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb b/meta-oe/recipes-graphics/graphviz/graphviz_12.1.2.bb index 7548e976f1..1843091aaf 100644 --- a/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb +++ b/meta-oe/recipes-graphics/graphviz/graphviz_12.1.2.bb | |||
@@ -19,7 +19,6 @@ DEPENDS:append:class-nativesdk = " ${BPN}-native" | |||
19 | inherit autotools-brokensep pkgconfig gettext qemu | 19 | inherit autotools-brokensep pkgconfig gettext qemu |
20 | 20 | ||
21 | SRC_URI = "https://gitlab.com/api/v4/projects/4207231/packages/generic/${BPN}-releases/${PV}/${BP}.tar.xz \ | 21 | SRC_URI = "https://gitlab.com/api/v4/projects/4207231/packages/generic/${BPN}-releases/${PV}/${BP}.tar.xz \ |
22 | file://0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch \ | ||
23 | " | 22 | " |
24 | # Use native mkdefs | 23 | # Use native mkdefs |
25 | SRC_URI:append:class-target = "\ | 24 | SRC_URI:append:class-target = "\ |
@@ -28,7 +27,7 @@ SRC_URI:append:class-target = "\ | |||
28 | SRC_URI:append:class-nativesdk = "\ | 27 | SRC_URI:append:class-nativesdk = "\ |
29 | file://graphviz-setup.sh \ | 28 | file://graphviz-setup.sh \ |
30 | " | 29 | " |
31 | SRC_URI[sha256sum] = "d593695fdaa8a19297523b679ad13d3ef2027b0b7f14cc2bc23e77969ed81565" | 30 | SRC_URI[sha256sum] = "cf9e6de9d5949dffbc4dd46f833085ff8e7e55482ffb84641819bbf0d18c5f02" |
32 | 31 | ||
33 | UPSTREAM_CHECK_URI = "https://graphviz.org/download/" | 32 | UPSTREAM_CHECK_URI = "https://graphviz.org/download/" |
34 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" | 33 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" |