pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/ikiwiki



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon May 27 03:53:31 UTC 2019

Modified Files:
        pkgsrc/www/ikiwiki: Makefile distinfo
Added Files:
        pkgsrc/www/ikiwiki/patches: patch-IkiWiki_Plugin_highlight.pm

Log Message:
As of 3.51, searchFile() is no longer provided in highlight's Perl
bindings (at least on NetBSD and OS X, as built from pkgsrc). This
leaves us falling through to getConfDir(), which has been gone
rather longer.

>From highlight git, it appears searchFile() and getFiletypesConfPath()
both originated in the 3.14 release. The latter is still available in
3.51, and returns the same result searchFile() used to. Switch to it.

(From upstream git 4d06df9583e6c4145f8c6fc2fd51d7894c0b85ce.)

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.163 -r1.164 pkgsrc/www/ikiwiki/Makefile
cvs rdiff -u -r1.132 -r1.133 pkgsrc/www/ikiwiki/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/ikiwiki/patches/patch-IkiWiki_Plugin_highlight.pm

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/ikiwiki/Makefile
diff -u pkgsrc/www/ikiwiki/Makefile:1.163 pkgsrc/www/ikiwiki/Makefile:1.164
--- pkgsrc/www/ikiwiki/Makefile:1.163   Thu Apr 25 07:33:27 2019
+++ pkgsrc/www/ikiwiki/Makefile Mon May 27 03:53:31 2019
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.163 2019/04/25 07:33:27 maya Exp $
+# $NetBSD: Makefile,v 1.164 2019/05/27 03:53:31 schmonz Exp $
 #
 
 DISTNAME=              ikiwiki_3.20190228.orig
 PKGNAME=               ${DISTNAME:S/_/-/:S/.orig//}
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            www textproc
 MASTER_SITES=          ${MASTER_SITE_DEBIAN:=pool/main/i/ikiwiki/}
 EXTRACT_SUFX=          .tar.xz

Index: pkgsrc/www/ikiwiki/distinfo
diff -u pkgsrc/www/ikiwiki/distinfo:1.132 pkgsrc/www/ikiwiki/distinfo:1.133
--- pkgsrc/www/ikiwiki/distinfo:1.132   Thu Feb 28 22:00:48 2019
+++ pkgsrc/www/ikiwiki/distinfo Mon May 27 03:53:31 2019
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.132 2019/02/28 22:00:48 schmonz Exp $
+$NetBSD: distinfo,v 1.133 2019/05/27 03:53:31 schmonz Exp $
 
 SHA1 (ikiwiki_3.20190228.orig.tar.xz) = 46f5b0a1498c1e098fe248eae1f2e3f56b25dc2f
 RMD160 (ikiwiki_3.20190228.orig.tar.xz) = f47968a69528aea864ad412c8508a8c5063edb9d
 SHA512 (ikiwiki_3.20190228.orig.tar.xz) = 125147d83dae6166b45541ed9176398ba4bd22ef3389d3efb3f442e558e326e0b004583d29aa32ed4bfca489c9d55b4232f074aab5fa649e51d9edd103685172
 Size (ikiwiki_3.20190228.orig.tar.xz) = 2672244 bytes
+SHA1 (patch-IkiWiki_Plugin_highlight.pm) = 14a2d8e1d3eb671863cdef4a936ebbb7b09ce3b9
 SHA1 (patch-ikiwiki-mass-rebuild) = b8d5785d77736508de9cfc0f059cc36e0e607bce

Added files:

Index: pkgsrc/www/ikiwiki/patches/patch-IkiWiki_Plugin_highlight.pm
diff -u /dev/null pkgsrc/www/ikiwiki/patches/patch-IkiWiki_Plugin_highlight.pm:1.1
--- /dev/null   Mon May 27 03:53:31 2019
+++ pkgsrc/www/ikiwiki/patches/patch-IkiWiki_Plugin_highlight.pm        Mon May 27 03:53:31 2019
@@ -0,0 +1,21 @@
+$NetBSD: patch-IkiWiki_Plugin_highlight.pm,v 1.1 2019/05/27 03:53:31 schmonz Exp $
+
+Catch up to highlight 3.51 API change.
+From upstream git 4d06df9583e6c4145f8c6fc2fd51d7894c0b85ce
+
+--- IkiWiki/Plugin/highlight.pm.orig   2019-02-26 23:01:54.000000000 +0000
++++ IkiWiki/Plugin/highlight.pm
+@@ -62,10 +62,10 @@ sub checkconfig () {
+       if (! exists $config{filetypes_conf}) {
+         if (! $data_dir ) {
+               $config{filetypes_conf}= "/etc/highlight/filetypes.conf";
+-            } elsif ( $data_dir -> can('searchFile') ) {
+-              # 3.18 +
++            } elsif ( $data_dir -> can('getFiletypesConfPath') ) {
++              # 3.14 +
+               $config{filetypes_conf}=
+-                $data_dir -> searchFile("filetypes.conf");
++                $data_dir -> getFiletypesConfPath("filetypes");
+             } else {
+               # 3.9 +
+               $config{filetypes_conf}=



Home | Main Index | Thread Index | Old Index