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 Oct 22 04:33:25 UTC 2018

Modified Files:
        pkgsrc/www/ikiwiki: Makefile distinfo
Added Files:
        pkgsrc/www/ikiwiki/patches: patch-IkiWiki_Plugin_graphviz.pm
            patch-doc_ikiwiki_directive_graph.mdwn

Log Message:
Add upstream patch to give graph an optional "file" param, like table's.
Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 pkgsrc/www/ikiwiki/Makefile
cvs rdiff -u -r1.129 -r1.130 pkgsrc/www/ikiwiki/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/ikiwiki/patches/patch-IkiWiki_Plugin_graphviz.pm \
    pkgsrc/www/ikiwiki/patches/patch-doc_ikiwiki_directive_graph.mdwn

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.158 pkgsrc/www/ikiwiki/Makefile:1.159
--- pkgsrc/www/ikiwiki/Makefile:1.158   Wed Aug 29 08:03:37 2018
+++ pkgsrc/www/ikiwiki/Makefile Mon Oct 22 04:33:25 2018
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.158 2018/08/29 08:03:37 schmonz Exp $
+# $NetBSD: Makefile,v 1.159 2018/10/22 04:33:25 schmonz Exp $
 #
 
 DISTNAME=              ikiwiki_3.20180311.orig
 PKGNAME=               ${DISTNAME:S/_/-/:S/.orig//}
-PKGREVISION=           3
+PKGREVISION=           4
 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.129 pkgsrc/www/ikiwiki/distinfo:1.130
--- pkgsrc/www/ikiwiki/distinfo:1.129   Wed Aug 29 08:03:37 2018
+++ pkgsrc/www/ikiwiki/distinfo Mon Oct 22 04:33:25 2018
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.129 2018/08/29 08:03:37 schmonz Exp $
+$NetBSD: distinfo,v 1.130 2018/10/22 04:33:25 schmonz Exp $
 
 SHA1 (ikiwiki_3.20180311.orig.tar.xz) = 9c567bb9f46e8a86a41ddc2358d0426248934e33
 RMD160 (ikiwiki_3.20180311.orig.tar.xz) = 22a2f1963e73fae82a7a6a29c84488c898c7c4fa
 SHA512 (ikiwiki_3.20180311.orig.tar.xz) = 12042d90217995eb43d47df1e81cbced825fc2b2262893680447448abac88ef5279bcddd6c438613b41c4f35308a4f1e8d23157e018bb99d883bc0941af1d469
 Size (ikiwiki_3.20180311.orig.tar.xz) = 2639052 bytes
+SHA1 (patch-IkiWiki_Plugin_graphviz.pm) = 7fb033dfa46a3cdffd591fcf6af338399107572b
 SHA1 (patch-IkiWiki_Wrapper.pm) = 68a9c4c64b5e95bbb6dec721ea95dc27cecb1bc9
+SHA1 (patch-doc_ikiwiki_directive_graph.mdwn) = 78e3a7e2151ab122fe770b3a0d75759a00e978a2
 SHA1 (patch-ikiwiki-mass-rebuild) = b8d5785d77736508de9cfc0f059cc36e0e607bce

Added files:

Index: pkgsrc/www/ikiwiki/patches/patch-IkiWiki_Plugin_graphviz.pm
diff -u /dev/null pkgsrc/www/ikiwiki/patches/patch-IkiWiki_Plugin_graphviz.pm:1.1
--- /dev/null   Mon Oct 22 04:33:25 2018
+++ pkgsrc/www/ikiwiki/patches/patch-IkiWiki_Plugin_graphviz.pm Mon Oct 22 04:33:25 2018
@@ -0,0 +1,21 @@
+$NetBSD: patch-IkiWiki_Plugin_graphviz.pm,v 1.1 2018/10/22 04:33:25 schmonz Exp $
+
+Add upstream patch to give graph an optional "file" param, like table's.
+
+--- IkiWiki/Plugin/graphviz.pm.orig    2018-03-11 15:54:34.000000000 +0000
++++ IkiWiki/Plugin/graphviz.pm
+@@ -95,6 +95,14 @@ sub render_graph (\%) {
+ sub graph (@) {
+       my %params=@_;
+ 
++      if (exists $params{file}) {
++              if (! exists $pagesources{$params{file}}) {
++                      error gettext("cannot find file");
++              }
++              $params{src} = readfile(srcfile($params{file}));
++              add_depends($params{page}, $params{file});
++      }
++
+       # Support wikilinks in the graph source.
+       my $src=$params{src};
+       $src="" unless defined $src;
Index: pkgsrc/www/ikiwiki/patches/patch-doc_ikiwiki_directive_graph.mdwn
diff -u /dev/null pkgsrc/www/ikiwiki/patches/patch-doc_ikiwiki_directive_graph.mdwn:1.1
--- /dev/null   Mon Oct 22 04:33:25 2018
+++ pkgsrc/www/ikiwiki/patches/patch-doc_ikiwiki_directive_graph.mdwn   Mon Oct 22 04:33:25 2018
@@ -0,0 +1,14 @@
+$NetBSD: patch-doc_ikiwiki_directive_graph.mdwn,v 1.1 2018/10/22 04:33:25 schmonz Exp $
+
+Add upstream patch to give graph an optional "file" param, like table's.
+
+--- doc/ikiwiki/directive/graph.mdwn.orig      2018-03-11 15:54:34.000000000 +0000
++++ doc/ikiwiki/directive/graph.mdwn
+@@ -21,6 +21,7 @@ ikiwiki, [[WikiLinks|ikiwiki/wikilink]] 
+ The `graph` directive supports the following parameters:
+ 
+ - `src` - The graphviz source to render.
++* `file` - A file in the wiki containing the graphviz source.
+ - `type` - The type of graph to render: `graph` or `digraph`.  Defaults to
+   `digraph`.
+ - `prog` - The graphviz program to render with: `dot`, `neato`, `fdp`, `twopi`,



Home | Main Index | Thread Index | Old Index