mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/cairo: bump to 1.18.2
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 29888ab35e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
e64dc2d46a
commit
039978541e
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user