summaryrefslogtreecommitdiffstats
path: root/x11-libs
diff options
context:
space:
mode:
authorPavel Vinogradov2023-02-05 12:45:17 -0500
committerPavel Vinogradov2023-02-05 12:49:33 -0500
commit8fc0e1d97c8e17614484f9e781792037e43c3935 (patch)
treefd8aa3ebb584d1c29cc007a21b5932ed03696394 /x11-libs
parentfa18a4a5ed01852813c622ce200b505c385e2b4b (diff)
x11-libs/cairo: version 1.17.8
Diffstat (limited to 'x11-libs')
-rwxr-xr-xx11-libs/cairo/DEPENDS7
-rwxr-xr-xx11-libs/cairo/DETAILS8
-rw-r--r--x11-libs/cairo/HISTORY6
-rw-r--r--x11-libs/cairo/patches-stable/0001-Fix-build-with-newer-binutils.patch34
4 files changed, 10 insertions, 45 deletions
diff --git a/x11-libs/cairo/DEPENDS b/x11-libs/cairo/DEPENDS
index a891b9310c..9d66f736b1 100755
--- a/x11-libs/cairo/DEPENDS
+++ b/x11-libs/cairo/DEPENDS
@@ -71,13 +71,6 @@ optional_depends libpng \
optional_depends lzo "" "" "for LZO compression support" &&
-if [[ "${CAIRO_BRANCH}" != "scm" ]]; then
- optional_depends OPENGL \
- "gl-backend=auto" \
- "gl-backend=disabled" \
- "for OpenGL accelerated graphics"
-fi &&
-
optional_depends gtk-doc \
"gtk_doc=true" \
"gtk_doc=false" \
diff --git a/x11-libs/cairo/DETAILS b/x11-libs/cairo/DETAILS
index 8271d26ce1..1a266c1cbd 100755
--- a/x11-libs/cairo/DETAILS
+++ b/x11-libs/cairo/DETAILS
@@ -9,10 +9,10 @@ if [[ "${CAIRO_BRANCH}" == "scm" ]]; then
FORCE_DOWNLOAD=1
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git"
else
- VERSION=1.17.6
- SOURCE_HASH=sha512:1537b34ca49b853f4f60a7ceac0c1b878e7e2874f1ca3a37ab6ccbb704a37872314447016ad07b82312b302bb6df86b71265232a802ccdb9fb8cd18f211ff185
- SOURCE=$SPELL-$VERSION.tar.bz2
- SOURCE_URL[0]=https://gitlab.freedesktop.org/cairo/cairo/-/archive/${VERSION}/${SOURCE}
+ VERSION=1.17.8
+ SOURCE_HASH="sha256:5b10c8892d1b58d70d3f0ba5b47863a061262fa56b9dc7944161f8c8b783bc64:UPSTREAM_HASH"
+ SOURCE=$SPELL-$VERSION.tar.xz
+ SOURCE_URL[0]="https://cairographics.org/snapshots/${SOURCE}"
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
fi
WEB_SITE=http://cairographics.org/
diff --git a/x11-libs/cairo/HISTORY b/x11-libs/cairo/HISTORY
index 4f5afbdb8b..f027777209 100644
--- a/x11-libs/cairo/HISTORY
+++ b/x11-libs/cairo/HISTORY
@@ -1,3 +1,9 @@
+2023-02-05 Pavel Vinogradov <public@sourcemage.org>
+ * DETAILS: version 1.17.8, updated SOURCE_URL[0], bz2 -> xz, switched to
+ UPSTREAM_HASH
+ * DEPENDS: dropped OPENGL completely
+ * patches-stable/0001-Fix-build-with-newer-binutils.patch: removed, needed no more
+
2023-02-01 Pavel Vinogradov <public@sourcemage.org>
* DEPENDS: OPENGL isn't for scm branch anymore
diff --git a/x11-libs/cairo/patches-stable/0001-Fix-build-with-newer-binutils.patch b/x11-libs/cairo/patches-stable/0001-Fix-build-with-newer-binutils.patch
deleted file mode 100644
index 27d0e0d20d..0000000000
--- a/x11-libs/cairo/patches-stable/0001-Fix-build-with-newer-binutils.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 24996e6ee241ebcd303dd34a2b06b37a6dd0c217 Mon Sep 17 00:00:00 2001
-From: Simon McVittie <smcv@debian.org>
-Date: Wed, 13 Jul 2022 21:26:57 +0100
-Subject: [PATCH] Fix build with newer binutils-dev installed
-
-It seems the PTR typedef (or macro?) has been removed from newer versions
-of libbfd.
-
-Resolves: https://gitlab.freedesktop.org/cairo/cairo/-/issues/581
-Signed-off-by: Simon McVittie <smcv@debian.org>
----
- util/cairo-trace/lookup-symbol.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/util/cairo-trace/lookup-symbol.c b/util/cairo-trace/lookup-symbol.c
-index 3934066b9..ca15688c4 100644
---- a/util/cairo-trace/lookup-symbol.c
-+++ b/util/cairo-trace/lookup-symbol.c
-@@ -106,10 +106,10 @@ _symtab_init (struct symtab *symtab, const char *filename)
- if (! bfd_check_format_matches (symtab->bfd, bfd_object, &matching))
- goto BAIL;
-
-- symcount = bfd_read_minisymbols (symtab->bfd, false, (PTR) &symtab->syms, &size);
-+ symcount = bfd_read_minisymbols (symtab->bfd, false, (void **) &symtab->syms, &size);
- if (symcount == 0) {
- symcount = bfd_read_minisymbols (symtab->bfd, true /* dynamic */ ,
-- (PTR) &symtab->syms, &size);
-+ (void **) &symtab->syms, &size);
- }
- if (symcount < 0)
- goto BAIL;
---
-GitLab
-