summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-06-22 08:50:44 +0000
committernia <nia@pkgsrc.org>2022-06-22 08:50:44 +0000
commit9cabbe5c455c65fdddd1c8c8a4042b765d3877af (patch)
tree62f67ff875e80c65732e7880dcb9f67edf0c5703 /graphics
parent48e05c886aa7952ea03c4fc8c145298a8c8f8708 (diff)
downloadpkgsrc-9cabbe5c455c65fdddd1c8c8a4042b765d3877af.tar.gz
gdk-pixbuf: Avoid referencing docbook files by network URL, which
is causing failures on my local setup.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gdk-pixbuf2/Makefile7
-rw-r--r--graphics/gdk-pixbuf2/distinfo3
-rw-r--r--graphics/gdk-pixbuf2/patches/patch-docs_meson.build15
3 files changed, 23 insertions, 2 deletions
diff --git a/graphics/gdk-pixbuf2/Makefile b/graphics/gdk-pixbuf2/Makefile
index ce166605b8a..fd4bd2d3806 100644
--- a/graphics/gdk-pixbuf2/Makefile
+++ b/graphics/gdk-pixbuf2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2022/06/11 12:46:06 nia Exp $
+# $NetBSD: Makefile,v 1.54 2022/06/22 08:50:44 nia Exp $
DISTNAME= gdk-pixbuf-2.42.8
PKGNAME= ${DISTNAME:S/pixbuf/pixbuf2/}
@@ -38,6 +38,11 @@ MESON_ARGS+= -D installed_tests=false
PKGCONFIG_OVERRIDE_STAGE= pre-install
PKGCONFIG_OVERRIDE= output/meson-private/gdk-pixbuf-2.0.pc
+SUBST_CLASSES+= docbook
+SUBST_STAGE.docbook= pre-configure
+SUBST_FILES.docbook+= docs/meson.build
+SUBST_VARS.docbook+= PREFIX
+
PYTHON_VERSIONS_INCOMPATIBLE= 27
PYTHON_FOR_BUILD_ONLY= tool
diff --git a/graphics/gdk-pixbuf2/distinfo b/graphics/gdk-pixbuf2/distinfo
index db8cccdc6d8..2f52f90781b 100644
--- a/graphics/gdk-pixbuf2/distinfo
+++ b/graphics/gdk-pixbuf2/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.51 2022/06/11 12:46:06 nia Exp $
+$NetBSD: distinfo,v 1.52 2022/06/22 08:50:44 nia Exp $
BLAKE2s (gdk-pixbuf-2.42.8.tar.xz) = eac540223073cbf38906052e2325483934cd1c39994cce6e761c3205b8e0324d
SHA512 (gdk-pixbuf-2.42.8.tar.xz) = 994a1374becec6235d347f4980afcc8b85f43ac373e4d7e00b7445880d0a51932e63b54429b28ab5af09e7c4437f9d6008e1c25b2d44a2c9ef7cc9821b478387
Size (gdk-pixbuf-2.42.8.tar.xz) = 8503020 bytes
+SHA1 (patch-docs_meson.build) = fcbb0ce0a0c2cd843b33876ab1dfc1c5dd0466ac
SHA1 (patch-gdk-pixbuf_gdk-pixbuf-scaled-anim.c) = a9d2436711b1a1c3bb58beef0df5e485ad6cbe7d
SHA1 (patch-gdk-pixbuf_meson.build) = d54c4f1c5c045c3988fc2bbac19d2aac3e32de89
SHA1 (patch-tests_meson.build) = 6da53b4e168a20dcc546840e4fbd8fc7ac8f03aa
diff --git a/graphics/gdk-pixbuf2/patches/patch-docs_meson.build b/graphics/gdk-pixbuf2/patches/patch-docs_meson.build
new file mode 100644
index 00000000000..c98979fe2d0
--- /dev/null
+++ b/graphics/gdk-pixbuf2/patches/patch-docs_meson.build
@@ -0,0 +1,15 @@
+$NetBSD: patch-docs_meson.build,v 1.1 2022/06/22 08:50:45 nia Exp $
+
+Avoid network requests, which may potentially fail.
+
+--- docs/meson.build.orig 2022-03-18 12:24:35.000000000 +0000
++++ docs/meson.build
+@@ -89,7 +89,7 @@ if get_option('man') and xsltproc.found(
+ xsltproc,
+ xlstproc_flags,
+ '-o', '@OUTPUT@',
+- 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
++ '@PREFIX@/share/xsl/docbook/manpages/docbook.xsl',
+ '@INPUT@',
+ ],
+ install: true,