r74175 - in /trunk/libxml-parser-perl/debian: changelog control rules
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Mon May 9 22:10:49 UTC 2011
Author: periapt-guest
Date: Mon May 9 22:06:50 2011
New Revision: 74175
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=74175
Log:
Added rules to recompile encodings from libxml-encoding-perl in
preference to the encodings bundled with upstream and the
contributed encodings
Modified:
trunk/libxml-parser-perl/debian/changelog
trunk/libxml-parser-perl/debian/control
trunk/libxml-parser-perl/debian/rules
Modified: trunk/libxml-parser-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-perl/debian/changelog?rev=74175&op=diff
==============================================================================
--- trunk/libxml-parser-perl/debian/changelog (original)
+++ trunk/libxml-parser-perl/debian/changelog Mon May 9 22:06:50 2011
@@ -17,6 +17,9 @@
* Added patch to fix other pod errors (Closes: #588994)
* Added patch to fix spelling errors
* Added rules to fix local perl shebang and not to compress xmlfilter
+ * Added rules to recompile encodings from libxml-encoding-perl in
+ preference to the encodings bundled with upstream and the
+ contributed encodings
[ gregor herrmann ]
* debian/watch: use dist-based URL.
Modified: trunk/libxml-parser-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-perl/debian/control?rev=74175&op=diff
==============================================================================
--- trunk/libxml-parser-perl/debian/control (original)
+++ trunk/libxml-parser-perl/debian/control Mon May 9 22:06:50 2011
@@ -6,7 +6,7 @@
Daniel Leidert (dale) <daniel.leidert at wgdd.de>
Standards-Version: 3.9.2
Build-Depends: debhelper (>= 7.0.50~), perl, liburi-perl, libwww-perl,
- libexpat1-dev, sharutils
+ libexpat1-dev, sharutils, libxml-encoding-perl
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libxml-parser-perl/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-parser-perl/
Homepage: http://www.libexpat.org/
Modified: trunk/libxml-parser-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-perl/debian/rules?rev=74175&op=diff
==============================================================================
--- trunk/libxml-parser-perl/debian/rules (original)
+++ trunk/libxml-parser-perl/debian/rules Mon May 9 22:06:50 2011
@@ -3,6 +3,9 @@
PKG:=$(shell dh_listpackages)
TMP:=$(CURDIR)/debian/$(PKG)
EG:=$(TMP)/usr/share/doc/$(PKG)/examples
+XE_FILES:=$(wildcard /usr/share/libxml-encoding-perl/*.xml)
+UU_FILES:=$(wildcard debian/encodings/*.xml)
+ENC_DIR:=blib/lib/XML/Parser/Encodings
%:
dh $@
@@ -14,3 +17,10 @@
override_dh_compress:
dh_compress -Xxmlfilter
+override_dh_auto_build:
+ dh_auto_build
+ $(foreach f,$(UU_FILES),uudecode -o $(ENC_DIR)/$(basename $(notdir $(f))).enc $f;)
+ $(foreach f,$(XE_FILES),rm -f $(ENC_DIR)/$(basename $(notdir $(f))).enc;)
+ $(foreach f,$(XE_FILES),compile_encoding -o $(ENC_DIR)/$(basename $(notdir $(f))).enc $f;)
+
+
More information about the Pkg-perl-cvs-commits
mailing list