--- tinyxml-2.5.3.orig/debian/libtinyxml-dev.dirs +++ tinyxml-2.5.3/debian/libtinyxml-dev.dirs @@ -0,0 +1,3 @@ +usr/include +usr/lib +usr/lib/pkgconfig --- tinyxml-2.5.3.orig/debian/libtinyxml2.5.3.dirs +++ tinyxml-2.5.3/debian/libtinyxml2.5.3.dirs @@ -0,0 +1 @@ +usr/lib --- tinyxml-2.5.3.orig/debian/control +++ tinyxml-2.5.3/debian/control @@ -0,0 +1,61 @@ +Source: tinyxml +Section: libs +Priority: optional +Maintainer: Felix Geyer +Build-Depends: debhelper (>= 7.2.7~), quilt (>= 0.46-7~) +Standards-Version: 3.8.4 +Homepage: http://www.grinninglizard.com/tinyxml/ +Vcs-Git: git://git.debian.org/collab-maint/tinyxml.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/tinyxml.git + +Package: libtinyxml2.5.3 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: C++ XML parsing library + This package contains the shared version of the TinyXml library. + . + TinyXml is a simple and small C++ XML parser that can be easily integrating + into other programs. It reads XML and creates C++ objects representing + the XML document. The objects can be manipulated, changed, and + saved again as XML. + +Package: libtinyxml2.5.3-dbg +Section: debug +Priority: extra +Architecture: any +Depends: ${misc:Depends}, libtinyxml2.5.3 (= ${binary:Version}) +Description: TinyXml library - debug files + This package contains debug symbols of the TinyXml library. + . + TinyXml is a simple and small C++ XML parser that can be easily integrating + into other programs. It reads XML and creates C++ objects representing + the XML document. The objects can be manipulated, changed, and + saved again as XML. + +Package: libtinyxml-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, libtinyxml2.5.3 (= ${binary:Version}) +Suggests: libtinyxml-doc +Description: TinyXml library - header and static library + This package contains the header file and a static version of the + TinyXml library. + . + TinyXml is a simple and small C++ XML parser that can be easily integrating + into other programs. It reads XML and creates C++ objects representing + the XML document. The objects can be manipulated, changed, and + saved again as XML. + +Package: libtinyxml-doc +Section: doc +Priority: extra +Architecture: all +Depends: ${misc:Depends} +Recommends: libtinyxml-dev +Description: TinyXml library - documentation files + This package contains the documentation to program with the TinyXml library. + . + TinyXml is a simple and small C++ XML parser that can be easily integrating + into other programs. It reads XML and creates C++ objects representing + the XML document. The objects can be manipulated, changed, and + saved again as XML. --- tinyxml-2.5.3.orig/debian/libtinyxml2.5.3.install +++ tinyxml-2.5.3/debian/libtinyxml2.5.3.install @@ -0,0 +1 @@ +libtinyxml.so.* usr/lib --- tinyxml-2.5.3.orig/debian/libtinyxml-doc.docs +++ tinyxml-2.5.3/debian/libtinyxml-doc.docs @@ -0,0 +1 @@ +docs --- tinyxml-2.5.3.orig/debian/copyright +++ tinyxml-2.5.3/debian/copyright @@ -0,0 +1,39 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: TinyXml +Maintainer: Lee Thomason +Source: http://sourceforge.net/projects/tinyxml/ + +Files: * +Copyright: 2000-2007, Lee Thomason + 2002-2004, Yves Berquin +License: ZLIB + +Files: tinystr.* +Copyright: 2000-2007, Lee Thomason + 2002-2004, Yves Berquin + 2005, Tyge Lovset +License: ZLIB + +Files: debian/* +Copyright: 2009-2010, Felix Geyer +License: ZLIB + +License: ZLIB + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any + damages arising from the use of this software. + . + Permission is granted to anyone to use this software for any + purpose, including commercial applications, and to alter it and + redistribute it freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product documentation + would be appreciated but is not required. + . + 2. Altered source versions must be plainly marked as such, and + must not be misrepresented as being the original software. + . + 3. This notice may not be removed or altered from any source + distribution. --- tinyxml-2.5.3.orig/debian/tinyxml.pc +++ tinyxml-2.5.3/debian/tinyxml.pc @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: TinyXml +Description: simple, small, C++ XML parser +Version: 2.5.3 +Libs: -L${libdir} -ltinyxml +Cflags: -I${includedir} --- tinyxml-2.5.3.orig/debian/watch +++ tinyxml-2.5.3/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 3; this line is compulsory! +version=3 +http://sf.net/tinyxml/ tinyxml_(\d+)_(\d+)_(\d+).tar.gz --- tinyxml-2.5.3.orig/debian/libtinyxml-dev.install +++ tinyxml-2.5.3/debian/libtinyxml-dev.install @@ -0,0 +1,3 @@ +tinyxml.h usr/include +libtinyxml.a usr/lib +debian/tinyxml.pc usr/lib/pkgconfig --- tinyxml-2.5.3.orig/debian/compat +++ tinyxml-2.5.3/debian/compat @@ -0,0 +1 @@ +7 --- tinyxml-2.5.3.orig/debian/rules +++ tinyxml-2.5.3/debian/rules @@ -0,0 +1,45 @@ +#!/usr/bin/make -f + +CXXFLAGS += -DTIXML_USE_STL + +DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') +DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-) +DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//') + +OBJ_FILES := tinyxml.o tinyxmlparser.o tinyxmlerror.o + +%: + dh --with quilt $@ + +override_dh_auto_build: + dh_auto_build -- CXXFLAGS="$(CXXFLAGS)" + ar rc libtinyxml.a $(OBJ_FILES) + rm *.o xmltest + + dh_auto_build -- CXXFLAGS="$(CXXFLAGS) -fPIC" + g++ -shared -Wl,-soname,libtinyxml.so.$(DEB_UPSTREAM_VERSION) \ + -o libtinyxml.so.$(DEB_UPSTREAM_VERSION) $(LDFLAGS) \ + $(OBJ_FILES) + +override_dh_auto_test: + mkdir xmltestdir + cp -a utf8test*.xml xmltestdir + cd xmltestdir && ../xmltest + rm -rf xmltestdir + +override_dh_auto_clean: + dh_auto_clean + rm -f libtinyxml.so* libtinyxml.a + rm -rf xmltestdir + +override_dh_strip: + dh_strip --dbg-package=libtinyxml$(DEB_UPSTREAM_VERSION)-dbg + +override_dh_link: + dh_link -plibtinyxml-dev usr/lib/libtinyxml.so.$(DEB_UPSTREAM_VERSION) \ + usr/lib/libtinyxml.so + dh_link --remaining-packages + +override_dh_makeshlibs: + dh_makeshlibs -plibtinyxml2.5.3 -V 'libtinyxml2.5.3 (>= 2.5.3-3)' + dh_makeshlibs --remaining-packages --- tinyxml-2.5.3.orig/debian/changelog +++ tinyxml-2.5.3/debian/changelog @@ -0,0 +1,30 @@ +tinyxml (2.5.3-3nf1~ppa1~lucid1) lucid; urgency=low + + * Backport to Lucid. + * Workaround for dependency to filezilla. + + -- Nicola Ferralis Tue, 01 Jun 2010 13:23:31 -0700 + +tinyxml (2.5.3-3) unstable; urgency=low + + * Revert most changes from 2.5.3-2 (Closes: #574852). + Only provide tinyxml with STL support. + * Set the source package format explicitly to "1.0". + * Override libtinyxml2.5.3 shlibs to require at least 2.5.3-3. + + -- Felix Geyer Fri, 16 Apr 2010 00:54:55 +0200 + +tinyxml (2.5.3-2) unstable; urgency=low + + * Build a second variant of the library without STL support called + libtinyxml-nostl.so + * Rename library with STL support from libtinyxml.so to libtinyxml-stl.so + * Add pkg-config files. + + -- Felix Geyer Thu, 18 Mar 2010 19:59:41 +0100 + +tinyxml (2.5.3-1) unstable; urgency=low + + * Initial release. (Closes: #531968) + + -- Felix Geyer Sun, 28 Feb 2010 20:13:57 +0100 --- tinyxml-2.5.3.orig/debian/README.source +++ tinyxml-2.5.3/debian/README.source @@ -0,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. --- tinyxml-2.5.3.orig/debian/patches/series +++ tinyxml-2.5.3/debian/patches/series @@ -0,0 +1 @@ +enforce-use-stl.patch --- tinyxml-2.5.3.orig/debian/patches/enforce-use-stl.patch +++ tinyxml-2.5.3/debian/patches/enforce-use-stl.patch @@ -0,0 +1,18 @@ +Description: TinyXml is built with TIXML_USE_STL, so we have to + enforce it when the library is used. +Author: Felix Geyer + +diff -Nur tinyxml-2.5.3/tinyxml.h tinyxml-2.5.3.patch/tinyxml.h +--- tinyxml-2.5.3/tinyxml.h 2007-05-07 00:41:23.000000000 +0200 ++++ tinyxml-2.5.3.patch/tinyxml.h 2009-07-08 22:32:03.000000000 +0200 +@@ -26,6 +26,10 @@ + #ifndef TINYXML_INCLUDED + #define TINYXML_INCLUDED + ++#ifndef TIXML_USE_STL ++ #define TIXML_USE_STL ++#endif ++ + #ifdef _MSC_VER + #pragma warning( push ) + #pragma warning( disable : 4530 ) --- tinyxml-2.5.3.orig/debian/source/format +++ tinyxml-2.5.3/debian/source/format @@ -0,0 +1 @@ +1.0