[packages/dokuwiki-plugin-titlesanchorlink] Up to 2022-01-06
arekm
arekm at pld-linux.org
Wed Oct 21 15:03:09 CEST 2026
commit 543ac1553127c61f4ff11d6b154b3fe909a2bade
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Oct 21 12:15:05 2026 +0200
Up to 2022-01-06
date.patch | 11 +++++++++++
dokuwiki-plugin-titlesanchorlink.spec | 10 +++++-----
heading-link.patch | 13 -------------
3 files changed, 16 insertions(+), 18 deletions(-)
---
diff --git a/dokuwiki-plugin-titlesanchorlink.spec b/dokuwiki-plugin-titlesanchorlink.spec
index 646a38a..a55853e 100644
--- a/dokuwiki-plugin-titlesanchorlink.spec
+++ b/dokuwiki-plugin-titlesanchorlink.spec
@@ -1,16 +1,16 @@
-%define subver 2013-03-01
+%define subver 2022-01-06
%define ver %(echo %{subver} | tr -d -)
%define plugin titlesanchorlink
%define php_min_version 5.0.0
Summary: DokuWiki TitlesAnchorLink Plugin
Name: dokuwiki-plugin-%{plugin}
Version: %{ver}
-Release: 3
+Release: 1
License: GPL v2
Group: Applications/WWW
-Source0: https://github.com/Dric/dokuwiki-titlesanchorlink/archive/3ca9927/%{plugin}-%{subver}.tar.gz
-# Source0-md5: 2ac066f5186ca085fc3e9e3193211398
-Patch0: heading-link.patch
+Source0: https://github.com/Dric/dokuwiki-titlesanchorlink/archive/ce78f76dc57a5e4cc029f3dacf06ee07218716ee/%{plugin}-%{subver}.tar.gz
+# Source0-md5: 81171ebc0e8baf484b60593af0dc53ae
+Patch0: date.patch
URL: https://www.dokuwiki.org/plugin:titlesanchorlink
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.553
diff --git a/date.patch b/date.patch
new file mode 100644
index 0000000..0019f91
--- /dev/null
+++ b/date.patch
@@ -0,0 +1,11 @@
+--- titlesanchorlink/plugin.info.txt~ 2022-01-06 11:08:02.000000000 +0000
++++ titlesanchorlink/plugin.info.txt 2022-01-06 11:08:02.000000000 +0000
+@@ -1,7 +1,7 @@
+ base titlesanchorlink
+ author Dric
+ email cedric at driczone.net
+-date 2021-21-23
++date 2022-01-06
+ name Titles Anchor Link plugin
+ desc Displays Anchors links when hovering Dokuwiki Sections titles, in a similar way to Github.
+ url https://www.dokuwiki.org/plugin:titlesanchorlink
diff --git a/heading-link.patch b/heading-link.patch
deleted file mode 100644
index 7e4d8e9..0000000
--- a/heading-link.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- titlesanchorlink/script.js~ 2013-03-05 12:27:46.000000000 +0200
-+++ titlesanchorlink/script.js 2015-09-28 16:36:26.690647453 +0300
-@@ -1,6 +1,10 @@
- jQuery(function () {
- jQuery(':header').each(function(){
- var id = jQuery(this).attr('id');
-+ if (!id) {
-+ // https://github.com/Dric/dokuwiki-titlesanchorlink/issues/1
-+ return;
-+ }
- var name = jQuery(this).text();
- jQuery(this).append('<a title="Link to '+name+'" id="anchor__'+id+'" class="__anchor" href="#'+id+'"><img src="'+DOKU_BASE+'lib/plugins/titlesanchorlink/images/anchor.png" class="__anchor_icon" /></a>');
- });
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dokuwiki-plugin-titlesanchorlink.git/commitdiff/543ac1553127c61f4ff11d6b154b3fe909a2bade
More information about the pld-cvs-commit
mailing list