package/cairo: bump to 1.18.2
PATCH 1/1 package/cairo: bump to 1.18.2
From: Thomas Devoogdt <[email protected]>
News:
- https://www.cairographics.org/news/cairo-1.18.2/
Upstream patches have been dropped in this commit.
--- ...p-IPC_RMID_DEFERRED_RELEASE-check-wh.patch | 41 ------------------- ...3-meson-only-require-cpp-for-windows.patch | 38 ----------------- package/cairo/cairo.hash | 4 +- package/cairo/cairo.mk | 2 +- 4 files changed, 3 insertions(+), 82 deletions(-) delete mode 100644 package/cairo/0002-meson-always-skip-IPC_RMID_DEFERRED_RELEASE-check-wh.patch delete mode 100644 package/cairo/0003-meson-only-require-cpp-for-windows.patch
package/cairo/0002-meson-always-skip-IPC_RMID_DEFERRED_RELEASE-check-wh.patch deleted +0 -41
@@ -1,41 +0,0 @@ -From 8d5037ed642b02cdb018e49866aa286f30a7b59a Mon Sep 17 00:00:00 2001 -From: Thomas Devoogdt <[email protected]> -Date: Mon, 5 Feb 2024 17:47:07 +0100 -Subject: [PATCH] meson: always skip IPC_RMID_DEFERRED_RELEASE check when - cross-compiling - -../../br-test-pkg/bootlin-armv5-uclibc/build/cairo-1.17.4/meson.build:279:13: -ERROR: Can not run test applications in this cross environment. - -Commit 1bec56ea8a931e1ae1c74cc740134497ec365267 added support to define -ipc_rmid_deferred_release in a cross-compile config, but still kept -the default to auto, which anyhow results in an error when cross-compiling. - -There is only one usage of the ipc_rmid_deferred_release compile declarative -which was originally added in this commit: 5041b462d084de8552336275914d30c23bf5dd35. - -If ipc_rmid_deferred_release is set to FALSE, an additional XSync is performed. -This doesn't sound very harmful, so that is why this commit defaults to FALSE -and thus avoids any cross-compile errors. - -Upstream: https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/534 -Signed-off-by: Thomas Devoogdt <[email protected]> ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 9efe91978..6a670bf94 100644 ---- a/meson.build -+++ b/meson.build -@@ -369,7 +369,7 @@ if x11_dep.found() and xext_dep.found() - - # Can skip the run check by providing the result in a cross file or - # native file as bool property value. -- prop = meson.get_external_property('ipc_rmid_deferred_release', 'auto') -+ prop = meson.get_external_property('ipc_rmid_deferred_release', meson.is_cross_build() ? 'false' : 'auto') - # We don't know the type of prop (bool, string) but need to differentiate - # between a set value (bool) or the fallback value (string), so convert to - # a string and check the string value. --- -2.34.1
package/cairo/0003-meson-only-require-cpp-for-windows.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From e93ef3feb69994e3aa4e0ab66ccd66139b097e49 Mon Sep 17 00:00:00 2001 -From: Thomas Devoogdt <[email protected]> -Date: Thu, 18 Jul 2024 12:16:51 +0200 -Subject: [PATCH] meson: only require cpp for windows - -Allow to compile cairo without c++ toolchain. - -Fixes: - - http://autobuild.buildroot.net/results/98b62ab7ed3092f9f9085f723baf7d6267451e5c/ - -Upstream: https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/573 -Signed-off-by: Thomas Devoogdt <[email protected]> ---- - meson.build | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 9100152ee..297482b03 100644 ---- a/meson.build -+++ b/meson.build -@@ -1,4 +1,4 @@ --project('cairo', 'c', 'cpp', -+project('cairo', 'c', - meson_version: '>= 0.59.0', - version: run_command(find_program('version.py'), check: true).stdout().strip(), - default_options: ['warning_level=2'], -@@ -489,6 +489,8 @@ if host_machine.system() == 'darwin' and not get_option('quartz').disabled() - endif - - if host_machine.system() == 'windows' -+ add_languages('cpp') -+ - add_project_arguments('-DWIN32_LEAN_AND_MEAN', '-DNOMINMAX', language: ['c', 'cpp']) - - win32_extra_deps = [ --- -2.45.2 -
package/cairo/cairo.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://www.cairographics.org/releases/cairo-1.18.0.tar.xz.sha256sum -sha256 243a0736b978a33dee29f9cca7521733b78a65b5418206fef7bd1c3d4cf10b64 cairo-1.18.0.tar.xz +# From https://www.cairographics.org/releases/cairo-1.18.2.tar.xz.sha256sum +sha256 a62b9bb42425e844cc3d6ddde043ff39dbabedd1542eba57a2eb79f85889d45a cairo-1.18.2.tar.xz # Hash for license files: sha256 67228a9f7c5f9b67c58f556f1be178f62da4d9e2e6285318d8c74d567255abdf COPYING
package/cairo/cairo.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -CAIRO_VERSION = 1.18.0 +CAIRO_VERSION = 1.18.2 CAIRO_SOURCE = cairo-$(CAIRO_VERSION).tar.xz CAIRO_LICENSE = LGPL-2.1 or MPL-1.1 (library) CAIRO_LICENSE_FILES = COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 8 lines · On Fri, 20 Sep 2024 08:18:33 +0200 Thomas Devoogdt <[email protected]> wrote:
From: Thomas Devoogdt <[email protected]>
News:
- https://www.cairographics.org/news/cairo-1.18.2/Upstream patches have been dropped in this commit.
Signed-off-by Thomas Devoogdt <[email protected]>
Quoted 133 lines
--- ...p-IPC_RMID_DEFERRED_RELEASE-check-wh.patch | 41 ------------------- ...3-meson-only-require-cpp-for-windows.patch | 38 ----------------- package/cairo/cairo.hash | 4 +- package/cairo/cairo.mk | 2 +- 4 files changed, 3 insertions(+), 82 deletions(-) delete mode 100644 package/cairo/0002-meson-always-skip-IPC_RMID_DEFERRED_RELEASE-check-wh.patch delete mode 100644 package/cairo/0003-meson-only-require-cpp-for-windows.patchpackage/cairo/0002-meson-always-skip-IPC_RMID_DEFERRED_RELEASE-check-wh.patch deleted +0
-41@@ -1,41 +0,0 @@ -From 8d5037ed642b02cdb018e49866aa286f30a7b59a Mon Sep 17 00:00:00 2001 -From: Thomas Devoogdt <[email protected]> -Date: Mon, 5 Feb 2024 17:47:07 +0100 -Subject: [PATCH] meson: always skip IPC_RMID_DEFERRED_RELEASE check when - cross-compiling - -../../br-test-pkg/bootlin-armv5-uclibc/build/cairo-1.17.4/meson.build:279:13: -ERROR: Can not run test applications in this cross environment. - -Commit 1bec56ea8a931e1ae1c74cc740134497ec365267 added support to define -ipc_rmid_deferred_release in a cross-compile config, but still kept -the default to auto, which anyhow results in an error when cross-compiling. - -There is only one usage of the ipc_rmid_deferred_release compile declarative -which was originally added in this commit: 5041b462d084de8552336275914d30c23bf5dd35. - -If ipc_rmid_deferred_release is set to FALSE, an additional XSync is performed. -This doesn't sound very harmful, so that is why this commit defaults to FALSE -and thus avoids any cross-compile errors. - -Upstream: https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/534 -Signed-off-by: Thomas Devoogdt <[email protected]> ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 9efe91978..6a670bf94 100644 ---- a/meson.build -+++ b/meson.build -@@ -369,7 +369,7 @@ if x11_dep.found() and xext_dep.found() - - # Can skip the run check by providing the result in a cross file or - # native file as bool property value. -- prop = meson.get_external_property('ipc_rmid_deferred_release', 'auto') -+ prop = meson.get_external_property('ipc_rmid_deferred_release', meson.is_cross_build() ? 'false' : 'auto') - # We don't know the type of prop (bool, string) but need to differentiate - # between a set value (bool) or the fallback value (string), so convert to - # a string and check the string value. --- -2.34.1package/cairo/0003-meson-only-require-cpp-for-windows.patch deleted +0
-38@@ -1,38 +0,0 @@ -From e93ef3feb69994e3aa4e0ab66ccd66139b097e49 Mon Sep 17 00:00:00 2001 -From: Thomas Devoogdt <[email protected]> -Date: Thu, 18 Jul 2024 12:16:51 +0200 -Subject: [PATCH] meson: only require cpp for windows - -Allow to compile cairo without c++ toolchain. - -Fixes: - - http://autobuild.buildroot.net/results/98b62ab7ed3092f9f9085f723baf7d6267451e5c/ - -Upstream: https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/573 -Signed-off-by: Thomas Devoogdt <[email protected]> ---- - meson.build | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 9100152ee..297482b03 100644 ---- a/meson.build -+++ b/meson.build -@@ -1,4 +1,4 @@ --project('cairo', 'c', 'cpp', -+project('cairo', 'c', - meson_version: '>= 0.59.0', - version: run_command(find_program('version.py'), check: true).stdout().strip(), - default_options: ['warning_level=2'], -@@ -489,6 +489,8 @@ if host_machine.system() == 'darwin' and not get_option('quartz').disabled() - endif - - if host_machine.system() == 'windows' -+ add_languages('cpp') -+ - add_project_arguments('-DWIN32_LEAN_AND_MEAN', '-DNOMINMAX', language: ['c', 'cpp']) - - win32_extra_deps = [ --- -2.45.2 -package/cairo/cairo.hash +2
-2@@ -1,5 +1,5 @@ -# From https://www.cairographics.org/releases/cairo-1.18.0.tar.xz.sha256sum -sha256 243a0736b978a33dee29f9cca7521733b78a65b5418206fef7bd1c3d4cf10b64 cairo-1.18.0.tar.xz +# From https://www.cairographics.org/releases/cairo-1.18.2.tar.xz.sha256sum +sha256 a62b9bb42425e844cc3d6ddde043ff39dbabedd1542eba57a2eb79f85889d45a cairo-1.18.2.tar.xz # Hash for license files: sha256 67228a9f7c5f9b67c58f556f1be178f62da4d9e2e6285318d8c74d567255abdf COPYINGpackage/cairo/cairo.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -CAIRO_VERSION = 1.18.0 +CAIRO_VERSION = 1.18.2 CAIRO_SOURCE = cairo-$(CAIRO_VERSION).tar.xz CAIRO_LICENSE = LGPL-2.1 or MPL-1.1 (library) CAIRO_LICENSE_FILES = COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Cheers,
—Adrián
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 8 lines · On Fri, 20 Sep 2024 08:18:33 +0200 Thomas Devoogdt <[email protected]> wrote:
From: Thomas Devoogdt <[email protected]>
News:
- https://www.cairographics.org/news/cairo-1.18.2/Upstream patches have been dropped in this commit.
Signed-off-by Thomas Devoogdt <[email protected]>
Quoted 8 lines
--- ...p-IPC_RMID_DEFERRED_RELEASE-check-wh.patch | 41 ------------------- ...3-meson-only-require-cpp-for-windows.patch | 38 ----------------- package/cairo/cairo.hash | 4 +- package/cairo/cairo.mk | 2 +- 4 files changed, 3 insertions(+), 82 deletions(-) delete mode 100644 package/cairo/0002-meson-always-skip-IPC_RMID_DEFERRED_RELEASE-check-wh.patch delete mode 100644 package/cairo/0003-meson-only-require-cpp-for-windows.patch
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Devoogdt <[email protected]> writes:
From: Thomas Devoogdt <[email protected]> News:
- https://www.cairographics.org/news/cairo-1.18.2/Upstream patches have been dropped in this commit.
Signed-off-by Thomas Devoogdt <[email protected]>
Committed to 2024.08.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot