tags 132989 + patch
tags 213623 + patch
tags 380426 + patch
thanks

Hi,

Attached is the diff for my libxml-parser-perl 2.34-4.3 NMU. This NMU
has been uploaded to the 10 day delayed Incoming queue.

Since you did modify libxml-encoding-perl as I suggested, I made the
package build-depend on it, and use compile_encoding. 

A further enhancement might be to use compile_encoding to build the
encodings that are already available pre-built in libxml-parser-perl. I
didn't do so, to keep my NMU impact small.

-- 
see shy jo
diff -u libxml-parser-perl-2.34/debian/changelog libxml-parser-perl-2.34/debian/changelog
--- libxml-parser-perl-2.34/debian/changelog
+++ libxml-parser-perl-2.34/debian/changelog
@@ -1,3 +1,16 @@
+libxml-parser-perl (2.34-4.3) unstable; urgency=low
+
+  * NMU.
+  * Build-Depend on libxml-encoding-perl to use it as a source of encoding
+    files. (For now, only use it for the encodings below, that are not
+    included in this package's source, but it could be used as the source of
+    all the encoding files in this package.)
+  * Include encoding files for iso-8859-1, iso-8859-6, iso-8859-10,
+    iso-8859-11, iso-8859-13, iso-8859-14, iso-8859-15, iso-8859-16,
+    and windows-1251. Closes: #132989, #380426, #213623
+
+ -- Joey Hess <[EMAIL PROTECTED]>  Sat, 21 Jul 2007 20:39:46 -0400
+
 libxml-parser-perl (2.34-4.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u libxml-parser-perl-2.34/debian/control libxml-parser-perl-2.34/debian/control
--- libxml-parser-perl-2.34/debian/control
+++ libxml-parser-perl-2.34/debian/control
@@ -4,7 +4,7 @@
 Maintainer: Debian XML/SGML Group <[EMAIL PROTECTED]>
 Uploaders: Ardo van Rangelrooij <[EMAIL PROTECTED]>
 Standards-Version: 3.6.1
-Build-Depends: debhelper (>= 4.1), perl (>= 5.8.0-3), liburi-perl, libwww-perl, libexpat1-dev
+Build-Depends: debhelper (>= 4.1), perl (>= 5.8.0-3), liburi-perl, libwww-perl, libexpat1-dev, libxml-encoding-perl (>= 1.01-9)
 
 Package: libxml-parser-perl
 Section: perl
diff -u libxml-parser-perl-2.34/debian/rules libxml-parser-perl-2.34/debian/rules
--- libxml-parser-perl-2.34/debian/rules
+++ libxml-parser-perl-2.34/debian/rules
@@ -3,6 +3,8 @@
 ## debian/rules : package script for libxml-parser-perl
 ## ----------------------------------------------------------------------
 
+ADDED_ENCODINGS=iso-8859-1 iso-8859-6 iso-8859-10 iso-8859-11 iso-8859-13 iso-8859-14 iso-8859-15 iso-8859-16 windows-1251
+
 ## ----------------------------------------------------------------------
 ## uncomment this to turn on verbose mode
 #export DH_VERBOSE=1
@@ -25,11 +27,14 @@
 		dh_testdir
 		dh_testroot
 		[ ! -f Makefile ] || $(MAKE) realclean
-		dh_clean README.Encodings build-stamp install-stamp
+		dh_clean README.Encodings build-stamp install-stamp \
+			$(foreach encoding,$(ADDED_ENCODINGS),Parser/Encodings/$(encoding).enc)
 
 build:		build-stamp
 build-stamp:
 		dh_testdir
+		cd Parser/Encodings && \
+			$(foreach encoding,$(ADDED_ENCODINGS),compile_encoding /usr/share/libxml-encoding-perl/$(encoding).xml -o Parser/Encodings/$(encoding).enc;)
 		perl Makefile.PL INSTALLDIRS=vendor
 		$(MAKE) OPTIMIZE="$(CFLAGS)"
 		$(MAKE) test

Attachment: signature.asc
Description: Digital signature

Reply via email to