[xml/sgml-commit] r358 - packages/xerces/libxml-xerces-perl/trunk/debian
Jay Berkenbilt
qjb@costa.debian.org
Fri, 18 Mar 2005 14:36:38 +0100
Author: qjb
Date: 2005-03-18 14:36:37 +0100 (Fri, 18 Mar 2005)
New Revision: 358
Added:
packages/xerces/libxml-xerces-perl/trunk/debian/examples
Modified:
packages/xerces/libxml-xerces-perl/trunk/debian/README.Debian
packages/xerces/libxml-xerces-perl/trunk/debian/changelog
packages/xerces/libxml-xerces-perl/trunk/debian/control
packages/xerces/libxml-xerces-perl/trunk/debian/copyright
packages/xerces/libxml-xerces-perl/trunk/debian/rules
Log:
major package cleanup
Modified: packages/xerces/libxml-xerces-perl/trunk/debian/README.Debian
===================================================================
--- packages/xerces/libxml-xerces-perl/trunk/debian/README.Debian 2005-03-18 12:27:34 UTC (rev 357)
+++ packages/xerces/libxml-xerces-perl/trunk/debian/README.Debian 2005-03-18 13:36:37 UTC (rev 358)
@@ -1,8 +1,10 @@
-Notes
------
-There is no real documentation for this package. Therefore you might want to
-refer to the documentation provided in libxerces23-dev. As stated in the
-package description, this package provided access to the whole C++ API.
+Please note that this package requires a very old version of
+Xerces-C++ runtime libraries, which have known bugs.
-Guillaume Morin <gemorin@debian.org>
+There is no real documentation for this package. Therefore you might
+want to refer to the documentation provided in libxerces23-dev. As
+stated in the package description, this package provided access to the
+whole C++ API.
+
+ -- Jay Berkenbilt <qjb@debian.org>, Fri Mar 18 08:23:44 2005
Modified: packages/xerces/libxml-xerces-perl/trunk/debian/changelog
===================================================================
--- packages/xerces/libxml-xerces-perl/trunk/debian/changelog 2005-03-18 12:27:34 UTC (rev 357)
+++ packages/xerces/libxml-xerces-perl/trunk/debian/changelog 2005-03-18 13:36:37 UTC (rev 358)
@@ -1,8 +1,11 @@
libxml-xerces-perl (2.3.0-4-2) unstable; urgency=low
- * NOT RELEASED YET
+ * Repackage using cdbs
+ * Fix incorrect build dependencies
+ * Document the fact that this package uses an old version of Xerces-C++.
+ * Make example perl scripts executable. (Closes: #281872)
- --
+ -- Jay Berkenbilt <qjb@debian.org> Fri, 18 Mar 2005 08:30:43 -0500
libxml-xerces-perl (2.3.0-4-1) unstable; urgency=low
Modified: packages/xerces/libxml-xerces-perl/trunk/debian/control
===================================================================
--- packages/xerces/libxml-xerces-perl/trunk/debian/control 2005-03-18 12:27:34 UTC (rev 357)
+++ packages/xerces/libxml-xerces-perl/trunk/debian/control 2005-03-18 13:36:37 UTC (rev 358)
@@ -3,7 +3,7 @@
Priority: extra
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
Uploaders: Jay Berkenbilt <qjb@debian.org>, Ivo Timmermans <ivo@debian.org>
-Build-Depends: debhelper (>> 3.0.18), libxerces23-dev (>= 2.3.0-1.1), perl-base
+Build-Depends: cdbs (>= 0.4.21), libxerces23-dev (>= 2.3.0-1.1)
Standards-Version: 3.6.1
Package: libxml-xerces-perl
@@ -11,14 +11,15 @@
Depends: ${shlibs:Depends},${perl:Depends}
Suggests: libxerces23-doc
Description: Perl API to Xerces XML parser
- Xerces.pm is the Perl API to the Apache project's Xerces XML parser. It is
- implemented using the Xerces C++ API, and it provides access to most of the C++
- API from Perl.
+ Xerces.pm is the Perl API to the Apache project's Xerces XML
+ parser. It is implemented using the Xerces C++ API, and it provides
+ access to most of the C++ API from Perl. Unfortunately, it uses an
+ old version of the Xerces-C++ runtime libraries.
.
- Because it is based on Xerces-C, Xerces.pm provides a validating XML parser
- that makes it easy to give your application the ability to read and write XML
- data. A shared library is provided for parsing, generating, manipulating, and
- validating XML documents. Xerces.pm is faithful to the XML 1.0 recommendation
- and associated standards (DOM 1.0, DOM 2.0. SAX 1.0, SAX 2.0, Namespaces, and
- Schema), The parser provides high performance, modularity, and scalability.
-
+ Because it is based on Xerces-C++, Xerces.pm provides a validating
+ XML parser that makes it easy to give your application the ability to
+ read and write XML data. A shared library is provided for parsing,
+ generating, manipulating, and validating XML documents. Xerces.pm is
+ faithful to the XML 1.0 recommendation and associated standards (DOM
+ 1.0, DOM 2.0. SAX 1.0, SAX 2.0, Namespaces, and Schema), The parser
+ provides high performance, modularity, and scalability.
Modified: packages/xerces/libxml-xerces-perl/trunk/debian/copyright
===================================================================
--- packages/xerces/libxml-xerces-perl/trunk/debian/copyright 2005-03-18 12:27:34 UTC (rev 357)
+++ packages/xerces/libxml-xerces-perl/trunk/debian/copyright 2005-03-18 13:36:37 UTC (rev 358)
@@ -1,5 +1,6 @@
This package was debianized by Guillaume Morin <gemorin@debian.org> on
-Wed, 31 Oct 2001 00:04:30 +0100.
+Wed, 31 Oct 2001 00:04:30 +0100 and later repackaged by Jay
+Berkenbilt.
It was downloaded from http://xml.apache.org/dist/xerces-p/stable/
Added: packages/xerces/libxml-xerces-perl/trunk/debian/examples
===================================================================
--- packages/xerces/libxml-xerces-perl/trunk/debian/examples 2005-03-18 12:27:34 UTC (rev 357)
+++ packages/xerces/libxml-xerces-perl/trunk/debian/examples 2005-03-18 13:36:37 UTC (rev 358)
@@ -0,0 +1 @@
+samples/*
Modified: packages/xerces/libxml-xerces-perl/trunk/debian/rules
===================================================================
--- packages/xerces/libxml-xerces-perl/trunk/debian/rules 2005-03-18 12:27:34 UTC (rev 357)
+++ packages/xerces/libxml-xerces-perl/trunk/debian/rules 2005-03-18 13:36:37 UTC (rev 358)
@@ -1,89 +1,32 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# -*- makefile -*-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+# Include cdbs rules files.
+include /usr/share/cdbs/1/class/perlmodule.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
-# This is the debhelper compatability version to use.
-export DH_COMPAT=3
+# Skip the test suite. It seems to have problems that don't indicate
+# problems with the actual package.
+override DEB_MAKE_CHECK_TARGET =
+DEB_COMPRESS_EXCLUDE = examples
+
+# libxml-xerces-perl generates many warnings and is quite out of date
+# upstream. Suppress -Wall for this package, but don't blindly copy
+# this code to other rules files.
+CFLAGS := $(filter-out -Wall,$(CFLAGS))
+CXXFLAGS := $(filter-out -Wall,$(CXXFLAGS))
+
export XERCES_INCLUDE=/usr/include
export XERCES_LIB=/usr/lib
export XERCES_CONFIG=/usr/lib/libxerces23/config.status
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
- perl Makefile.PL INSTALLDIRS=vendor
+# As 0.4.21, cdbs creates but doesn't debian/compat. It creates it
+# conditionally, so this doesn't have a trivial fix.
+clean::
+ $(RM) debian/compat
- touch configure-stamp
+cleanbuilddir::
+ $(RM) $(l_SRCTAR)
-build: configure-stamp build-stamp
-build-stamp:
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE) OPTIMIZE="-O2 -g"
- #$(MAKE) test
-
- #/usr/bin/docbook-to-man debian/libxml-xerces-perl.sgml > libxml-xerces-perl.1
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- # Add here commands to clean up after the build process.
- -$(MAKE) clean
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/libxml-xerces-perl.
- $(MAKE) install PREFIX=$(CURDIR)/debian/libxml-xerces-perl/usr
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
-# dh_installdebconf
- dh_installdocs
- dh_installexamples samples/*
-# dh_installmenu
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
-# dh_installcron
- dh_installman
-# dh_installinfo
-# dh_undocumented
- dh_installchangelogs Changes
- dh_link
- dh_strip
- dh_compress -X.pl
- dh_fixperms
-# dh_makeshlibs
- dh_installdeb
- dh_perl
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+pre-build::
+ chmod +x samples/*.pl