* [Buildroot] [PATCH v1] package/cairo: bump to 1.18.2
@ 2024-09-20 6:18 Thomas Devoogdt
2024-09-20 8:48 ` Adrian Perez de Castro
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Thomas Devoogdt @ 2024-09-20 6:18 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine, Thomas Devoogdt
From: Thomas Devoogdt <thomas.devoogdt@barco.com>
News:
- https://www.cairographics.org/news/cairo-1.18.2/
Upstream patches have been dropped in this commit.
Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
---
...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
diff --git a/package/cairo/0002-meson-always-skip-IPC_RMID_DEFERRED_RELEASE-check-wh.patch b/package/cairo/0002-meson-always-skip-IPC_RMID_DEFERRED_RELEASE-check-wh.patch
deleted file mode 100644
index 5a5c438a97..0000000000
--- a/package/cairo/0002-meson-always-skip-IPC_RMID_DEFERRED_RELEASE-check-wh.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 8d5037ed642b02cdb018e49866aa286f30a7b59a Mon Sep 17 00:00:00 2001
-From: Thomas Devoogdt <thomas@devoogdt.com>
-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 <thomas@devoogdt.com>
----
- 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
diff --git a/package/cairo/0003-meson-only-require-cpp-for-windows.patch b/package/cairo/0003-meson-only-require-cpp-for-windows.patch
deleted file mode 100644
index 3ce396f66f..0000000000
--- a/package/cairo/0003-meson-only-require-cpp-for-windows.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From e93ef3feb69994e3aa4e0ab66ccd66139b097e49 Mon Sep 17 00:00:00 2001
-From: Thomas Devoogdt <thomas.devoogdt@barco.com>
-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 <thomas.devoogdt@barco.com>
----
- 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
-
diff --git a/package/cairo/cairo.hash b/package/cairo/cairo.hash
index df9c693bad..b2d384d01a 100644
--- a/package/cairo/cairo.hash
+++ b/package/cairo/cairo.hash
@@ -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
diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
index ba25620f8d..c741c97853 100644
--- a/package/cairo/cairo.mk
+++ b/package/cairo/cairo.mk
@@ -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
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH v1] package/cairo: bump to 1.18.2
2024-09-20 6:18 [Buildroot] [PATCH v1] package/cairo: bump to 1.18.2 Thomas Devoogdt
@ 2024-09-20 8:48 ` Adrian Perez de Castro
2024-10-02 21:43 ` Thomas Petazzoni via buildroot
2024-10-19 20:02 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Adrian Perez de Castro @ 2024-09-20 8:48 UTC (permalink / raw)
To: Thomas Devoogdt; +Cc: Thomas Devoogdt, Fabrice Fontaine, buildroot
[-- Attachment #1.1: Type: text/plain, Size: 6144 bytes --]
On Fri, 20 Sep 2024 08:18:33 +0200 Thomas Devoogdt <thomas@devoogdt.com> wrote:
> From: Thomas Devoogdt <thomas.devoogdt@barco.com>
>
> News:
> - https://www.cairographics.org/news/cairo-1.18.2/
>
> Upstream patches have been dropped in this commit.
>
> Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
> ---
> ...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
>
> diff --git a/package/cairo/0002-meson-always-skip-IPC_RMID_DEFERRED_RELEASE-check-wh.patch b/package/cairo/0002-meson-always-skip-IPC_RMID_DEFERRED_RELEASE-check-wh.patch
> deleted file mode 100644
> index 5a5c438a97..0000000000
> --- a/package/cairo/0002-meson-always-skip-IPC_RMID_DEFERRED_RELEASE-check-wh.patch
> +++ /dev/null
> @@ -1,41 +0,0 @@
> -From 8d5037ed642b02cdb018e49866aa286f30a7b59a Mon Sep 17 00:00:00 2001
> -From: Thomas Devoogdt <thomas@devoogdt.com>
> -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 <thomas@devoogdt.com>
> ----
> - 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
> diff --git a/package/cairo/0003-meson-only-require-cpp-for-windows.patch b/package/cairo/0003-meson-only-require-cpp-for-windows.patch
> deleted file mode 100644
> index 3ce396f66f..0000000000
> --- a/package/cairo/0003-meson-only-require-cpp-for-windows.patch
> +++ /dev/null
> @@ -1,38 +0,0 @@
> -From e93ef3feb69994e3aa4e0ab66ccd66139b097e49 Mon Sep 17 00:00:00 2001
> -From: Thomas Devoogdt <thomas.devoogdt@barco.com>
> -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 <thomas.devoogdt@barco.com>
> ----
> - 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
> -
> diff --git a/package/cairo/cairo.hash b/package/cairo/cairo.hash
> index df9c693bad..b2d384d01a 100644
> --- a/package/cairo/cairo.hash
> +++ b/package/cairo/cairo.hash
> @@ -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
> diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
> index ba25620f8d..c741c97853 100644
> --- a/package/cairo/cairo.mk
> +++ b/package/cairo/cairo.mk
> @@ -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
> --
> 2.43.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
>
Cheers,
—Adrián
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH v1] package/cairo: bump to 1.18.2
2024-09-20 6:18 [Buildroot] [PATCH v1] package/cairo: bump to 1.18.2 Thomas Devoogdt
2024-09-20 8:48 ` Adrian Perez de Castro
@ 2024-10-02 21:43 ` Thomas Petazzoni via buildroot
2024-10-19 20:02 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-10-02 21:43 UTC (permalink / raw)
To: Thomas Devoogdt; +Cc: Thomas Devoogdt, Fabrice Fontaine, buildroot
On Fri, 20 Sep 2024 08:18:33 +0200
Thomas Devoogdt <thomas@devoogdt.com> wrote:
> From: Thomas Devoogdt <thomas.devoogdt@barco.com>
>
> News:
> - https://www.cairographics.org/news/cairo-1.18.2/
>
> Upstream patches have been dropped in this commit.
>
> Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
> ---
> ...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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH v1] package/cairo: bump to 1.18.2
2024-09-20 6:18 [Buildroot] [PATCH v1] package/cairo: bump to 1.18.2 Thomas Devoogdt
2024-09-20 8:48 ` Adrian Perez de Castro
2024-10-02 21:43 ` Thomas Petazzoni via buildroot
@ 2024-10-19 20:02 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2024-10-19 20:02 UTC (permalink / raw)
To: Thomas Devoogdt; +Cc: buildroot, Fabrice Fontaine, Thomas Devoogdt
>>>>> "Thomas" == Thomas Devoogdt <thomas@devoogdt.com> writes:
> From: Thomas Devoogdt <thomas.devoogdt@barco.com>
> News:
> - https://www.cairographics.org/news/cairo-1.18.2/
> Upstream patches have been dropped in this commit.
> Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
Committed to 2024.08.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-10-19 20:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-20 6:18 [Buildroot] [PATCH v1] package/cairo: bump to 1.18.2 Thomas Devoogdt
2024-09-20 8:48 ` Adrian Perez de Castro
2024-10-02 21:43 ` Thomas Petazzoni via buildroot
2024-10-19 20:02 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox