[libtext-wikicreole-perl] 09/24: Dropping Patches and quilt, applied upstream.

gregor herrmann gregoa at debian.org
Thu Sep 7 18:17:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libtext-wikicreole-perl.

commit cefea318556b0b553f6fe979824206bb0f38aa89
Author: Bernd Zeimetz <bernd at bzed.de>
Date:   Mon Oct 6 00:58:33 2008 +0200

    Dropping Patches and quilt, applied upstream.
    
    * debian/control, debian/patches, debian/rules:
      - Dropping all patches, applied by upstream. Also removing quilt
        build-dependency and patch parts from debian/rules.
---
 debian/changelog                     |  5 ++-
 debian/control                       |  2 +-
 debian/patches/creole-barelink.patch | 81 ------------------------------------
 debian/patches/series                |  1 -
 debian/rules                         |  7 +---
 5 files changed, 7 insertions(+), 89 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a3fb510..edb5ce6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,11 @@
 libtext-wikicreole-perl (0.07-1) unstable; urgency=low
 
   * New Upstream Version
+  * debian/control, debian/patches, debian/rules:
+    - Dropping all patches, applied by upstream. Also removing quilt
+      build-dependency and patch parts from debian/rules.
 
- -- Bernd Zeimetz <bzed at debian.org>  Sun, 05 Oct 2008 22:58:17 +0200
+ -- Bernd Zeimetz <bzed at debian.org>  Sun, 05 Oct 2008 23:45:37 +0200
 
 libtext-wikicreole-perl (0.05-2) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 0d73fd4..cf6af8a 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libtext-wikicreole-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), quilt
+Build-Depends: debhelper (>= 5)
 Build-Depends-Indep: perl (>= 5.6.10-12)
 Maintainer: Bernd Zeimetz <bzed at debian.org>
 Standards-Version: 3.8.0
diff --git a/debian/patches/creole-barelink.patch b/debian/patches/creole-barelink.patch
deleted file mode 100644
index d068dd1..0000000
--- a/debian/patches/creole-barelink.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-Allow custom 'bare' link handling.
-
---- a/lib/Text/WikiCreole.pm
-+++ b/lib/Text/WikiCreole.pm
-@@ -1,7 +1,8 @@
- package Text::WikiCreole;
- require Exporter;
- @ISA = (Exporter);
-- at EXPORT = qw(creole_parse creole_plugin creole_link creole_tag creole_img creole_customlinks creole_customimgs);
-+ at EXPORT = qw(creole_parse creole_plugin creole_tag creole_img creole_customimgs
-+             creole_link creole_barelink creole_customlinks creole_custombarelinks);
- use vars qw($VERSION);
- use strict;
- use warnings;
-@@ -44,6 +45,8 @@ my $bol = '(?:^|\n)'; # beginning of lin
- my $plugin_function;
- # user-supplied link URL parser function
- my $link_function;
-+# user-supplied bare link parser function
-+my $barelink_function;
- # user-supplied image URL parser function
- my $img_function;
- 
-@@ -321,9 +324,12 @@ my %chunks = (
-     curpat => '(?=(?:https?|ftp):\/\/)',
-     stops => '(?=[[:punct:]]?(?:\s|$))',
-     hint => ['h', 'f'],
--    filter => sub { 
-+    filter => sub {
-       $_[0] =~ s/^\s*//o;
-       $_[0] =~ s/\s*$//o;
-+      if($barelink_function) {
-+        $_[0] = &$barelink_function($_[0]);
-+      }
-       return "href=\"$_[0]\">$_[0]"; },
-     open => "<a ", close=> "</a>",
-   },
-@@ -643,6 +649,22 @@ sub creole_customlinks {
-   }
- }
- 
-+sub creole_barelink {
-+  return unless defined $_[0];
-+  $barelink_function = $_[0];
-+}
-+
-+sub creole_custombarelinks {
-+  $chunks{ilink}{open} = "";
-+  $chunks{ilink}{close} = "";
-+  $chunks{ilink}{filter} = sub {
-+    if($barelink_function) {
-+      $_[0] = &$barelink_function($_[0]);
-+    }
-+    return $_[0];
-+  }
-+}
-+
- sub creole_customimgs {
-   $chunks{img}{open} = "";
-   $chunks{img}{close} = "";
-@@ -756,6 +778,20 @@ reads Creole 1.0 markup and returns XHTM
-   
-     This has no effect on "bare" link markup, such as http://cpan.org.
- 
-+=head2 creole_barelink
-+
-+    Same purpose as creole_link, but for "bare" link markup.
-+
-+    sub mybarelink {
-+      return "$_[0].html";
-+      return $_[0];
-+    }
-+    creole_barelink \&mybarelink;
-+
-+=head2 creole_custombarelinks
-+
-+    Same purpose as creole_customlinks, but for "bare" link markup.
-+
- =head2 creole_img
- 
-     Same purpose as creole_link, but for image URLs.
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index f207b92..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-creole-barelink.patch #allow custom 'bare' link handling
diff --git a/debian/rules b/debian/rules
index 8e10174..5ffc328 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,10 +16,8 @@ PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 
-include /usr/share/quilt/quilt.make
-
 build: build-stamp
-build-stamp: patch
+build-stamp: 
 	dh_testdir
 	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
@@ -27,8 +25,7 @@ build-stamp: patch
 	$(MAKE) test
 	touch $@
 
-clean: clean-patched unpatch
-clean-patched:
+clean: 
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtext-wikicreole-perl.git



More information about the Pkg-perl-cvs-commits mailing list