r26158 - in /trunk/libxml-parser-lite-tree-perl/debian: README.source changelog control patches/ patches/XML-Parser-Lite.patch patches/series rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Oct 18 17:00:18 UTC 2008
Author: gregoa
Date: Sat Oct 18 17:00:13 2008
New Revision: 26158
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=26158
Log:
Add patch XML-Parser-Lite.patch to use the original XML::Parser::Lite
instead of the embedded copy; add quilt framework and
debian/README.source. Remove the embedded copy from the binary package in
debian/rules.
Added:
trunk/libxml-parser-lite-tree-perl/debian/README.source
trunk/libxml-parser-lite-tree-perl/debian/patches/
trunk/libxml-parser-lite-tree-perl/debian/patches/XML-Parser-Lite.patch
trunk/libxml-parser-lite-tree-perl/debian/patches/series
Modified:
trunk/libxml-parser-lite-tree-perl/debian/changelog
trunk/libxml-parser-lite-tree-perl/debian/control
trunk/libxml-parser-lite-tree-perl/debian/rules
Added: trunk/libxml-parser-lite-tree-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-lite-tree-perl/debian/README.source?rev=26158&op=file
==============================================================================
--- trunk/libxml-parser-lite-tree-perl/debian/README.source (added)
+++ trunk/libxml-parser-lite-tree-perl/debian/README.source Sat Oct 18 17:00:13 2008
@@ -1,0 +1,5 @@
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.
Modified: trunk/libxml-parser-lite-tree-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-lite-tree-perl/debian/changelog?rev=26158&op=diff
==============================================================================
--- trunk/libxml-parser-lite-tree-perl/debian/changelog (original)
+++ trunk/libxml-parser-lite-tree-perl/debian/changelog Sat Oct 18 17:00:13 2008
@@ -18,6 +18,10 @@
* debian/copyright: switch to new format; add information about the newly
added lib/XML/Parser/LiteCopy.pm.
* Set Standards-Version to 3.8.0 (no changes).
+ * Add patch XML-Parser-Lite.patch to use the original XML::Parser::Lite
+ instead of the embedded copy; add quilt framework and
+ debian/README.source. Remove the embedded copy from the binary package in
+ debian/rules.
-- MartÃn Ferrari <tincho at debian.org> Fri, 13 Jun 2008 00:04:45 +0000
Modified: trunk/libxml-parser-lite-tree-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-lite-tree-perl/debian/control?rev=26158&op=diff
==============================================================================
--- trunk/libxml-parser-lite-tree-perl/debian/control (original)
+++ trunk/libxml-parser-lite-tree-perl/debian/control Sat Oct 18 17:00:13 2008
@@ -6,7 +6,7 @@
MartÃn Ferrari <tincho at debian.org>,
gregor herrmann <gregoa at debian.org>
Build-Depends-Indep: perl, libsoap-lite-perl (>= 0.70.04-4)
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7), quilt (>= 0.40)
Standards-Version: 3.8.0
Homepage: http://search.cpan.org/dist/XML-Parser-Lite-Tree/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-parser-lite-tree-perl/
Added: trunk/libxml-parser-lite-tree-perl/debian/patches/XML-Parser-Lite.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-lite-tree-perl/debian/patches/XML-Parser-Lite.patch?rev=26158&op=file
==============================================================================
--- trunk/libxml-parser-lite-tree-perl/debian/patches/XML-Parser-Lite.patch (added)
+++ trunk/libxml-parser-lite-tree-perl/debian/patches/XML-Parser-Lite.patch Sat Oct 18 17:00:13 2008
@@ -1,0 +1,23 @@
+Author: gregor herrmann <gregoa at debian.org>
+Description: we use the real XML::Parser::Lite instead of the embedded copy
+
+--- a/lib/XML/Parser/Lite/Tree.pm
++++ b/lib/XML/Parser/Lite/Tree.pm
+@@ -3,7 +3,7 @@
+ use 5.006;
+ use strict;
+ use warnings;
+-use XML::Parser::LiteCopy;
++use XML::Parser::Lite;
+
+ our $VERSION = '0.08';
+
+@@ -21,7 +21,7 @@
+ my %opts = (ref $_[0]) ? ((ref $_[0] eq 'HASH') ? %{$_[0]} : () ) : @_;
+ $self->{opts} = \%opts;
+
+- $self->{__parser} = new XML::Parser::LiteCopy
++ $self->{__parser} = new XML::Parser::Lite
+ Handlers => {
+ Start => sub { $self->_start_tag(@_); },
+ Char => sub { $self->_do_char(@_); },
Added: trunk/libxml-parser-lite-tree-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-lite-tree-perl/debian/patches/series?rev=26158&op=file
==============================================================================
--- trunk/libxml-parser-lite-tree-perl/debian/patches/series (added)
+++ trunk/libxml-parser-lite-tree-perl/debian/patches/series Sat Oct 18 17:00:13 2008
@@ -1,0 +1,1 @@
+XML-Parser-Lite.patch
Modified: trunk/libxml-parser-lite-tree-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-lite-tree-perl/debian/rules?rev=26158&op=diff
==============================================================================
--- trunk/libxml-parser-lite-tree-perl/debian/rules (original)
+++ trunk/libxml-parser-lite-tree-perl/debian/rules Sat Oct 18 17:00:13 2008
@@ -1,16 +1,22 @@
#!/usr/bin/make -f
+include /usr/share/quilt/quilt.make
+
build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
dh build
touch $@
-clean:
+clean: unpatch
dh $@
install: install-stamp
install-stamp: build-stamp
- dh install
+ dh install --until dh_auto_install
+ # we use the original XML::Parser::Lite, cf. debian/patches
+ $(RM) -v $(CURDIR)/debian/libxml-parser-lite-tree-perl/usr/share/perl5/XML/Parser/LiteCopy.pm \
+ $(CURDIR)/debian/libxml-parser-lite-tree-perl/usr/share/man/man3/XML::Parser::LiteCopy.3pm
+ dh install --remaining
touch $@
binary-arch:
More information about the Pkg-perl-cvs-commits
mailing list