pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gdk-pixbuf2 gdk-pixbuf: Avoid referencing doc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/088ca8b24dcd
branches:  trunk
changeset: 380976:088ca8b24dcd
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jun 22 08:50:44 2022 +0000

description:
gdk-pixbuf: Avoid referencing docbook files by network URL, which
is causing failures on my local setup.

diffstat:

 graphics/gdk-pixbuf2/Makefile                       |   7 ++++++-
 graphics/gdk-pixbuf2/distinfo                       |   3 ++-
 graphics/gdk-pixbuf2/patches/patch-docs_meson.build |  15 +++++++++++++++
 3 files changed, 23 insertions(+), 2 deletions(-)

diffs (54 lines):

diff -r 7c6fa7658186 -r 088ca8b24dcd graphics/gdk-pixbuf2/Makefile
--- a/graphics/gdk-pixbuf2/Makefile     Wed Jun 22 06:16:16 2022 +0000
+++ b/graphics/gdk-pixbuf2/Makefile     Wed Jun 22 08:50:44 2022 +0000
@@ -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 @@
 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 -r 7c6fa7658186 -r 088ca8b24dcd graphics/gdk-pixbuf2/distinfo
--- a/graphics/gdk-pixbuf2/distinfo     Wed Jun 22 06:16:16 2022 +0000
+++ b/graphics/gdk-pixbuf2/distinfo     Wed Jun 22 08:50:44 2022 +0000
@@ -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 -r 7c6fa7658186 -r 088ca8b24dcd graphics/gdk-pixbuf2/patches/patch-docs_meson.build
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gdk-pixbuf2/patches/patch-docs_meson.build       Wed Jun 22 08:50:44 2022 +0000
@@ -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,



Home | Main Index | Thread Index | Old Index