debian/0000755000000000000000000000000012164531536007174 5ustar debian/source/0000755000000000000000000000000012127004016010457 5ustar debian/source/format0000644000000000000000000000001412127004016011665 0ustar 3.0 (quilt) debian/libgdome2-dev.doc-base0000644000000000000000000000060312127003505013177 0ustar Document: libgdome2-dev Title: gdome2 Reference Manual Author: Paolo Casarini Abstract: This manual describes the gdome2 API. Section: Programming/C Format: DebianDoc-SGML Index: /usr/share/doc/libgdome2-dev/html/index.sgml Files: /usr/share/doc/libgdome2-dev/html/*.html Format: HTML Index: /usr/share/doc/libgdome2-dev/html/book1.html Files: /usr/share/doc/libgdome2-dev/html/*.html debian/libgdome2-0.lintian-overrides0000644000000000000000000000016512127003505014544 0ustar # Debian is not to blame for upstream's naming decisions... libgdome2-0: package-name-doesnt-match-sonames libgdome0 debian/copyright0000644000000000000000000000256212127003505011121 0ustar This package was debianized by Enrico Zini on Thu, 11 Oct 2001 16:35:58 +0200. It was downloaded from: http://gdome2.cs.unibo.it/ Upstream Authors: Raph Levien Ian Main Daniel Veillard Mathieu Lacage Anders Carlson Paolo Casarini Upstream Maintainer: Paolo Casarini License: Copyright (C) 2001-2003 Paolo Casarini et al. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License v2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/changelog0000644000000000000000000001154712164531535011055 0ustar gdome2 (0.8.1+debian-6) unstable; urgency=low * QA upload. * Patch to fix ftbfs. (Closes: #713596). + Thanks to Igor Pashev for the patch. -- Barry deFreese Tue, 02 Jul 2013 07:01:53 -0400 gdome2 (0.8.1+debian-5) unstable; urgency=low * QA upload. * Maintainer field set to QA Group. * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt". Thanks to Jari Aalto for the patch. (closes: #664310) * Add ${misc:Depends} to dependencies. * Add build-arch and build-indep targets. * Set debhelper compatibility level to 9. * Bump Standards-Version to 3.9.4. -- Emanuele Rocca Wed, 03 Apr 2013 12:41:14 +0200 gdome2 (0.8.1+debian-4.1) unstable; urgency=low * Non-maintainer upload. * Remove references to other libraries from dependency_libs field (closes: #620595) -- Luk Claes Tue, 31 May 2011 07:54:25 +0200 gdome2 (0.8.1+debian-4) unstable; urgency=low * Bump Standards-Version to 3.8.3. * Add license version number to LGPL reference. * Bump debhelper level to 7. * Use dh_prep. * Document dpatch usage in README.source. * Drop README.Debian, add Homepage field to control file. * Fix FTBFS on kfreebsd* (closes: #540809): * Make libtoolization part of the build process. * Fix configure.in to not test for glib1 as AM_PATH_GLIB is unavailable if we don't depend on the old libraries. (New dpatch 03no_glib_1). * Add Build-Depends on libtool. * Adjust rules file. * Add missing Build-Depends on gtk-doc-tools. * index.sgml is no longer compressed, adjust doc-base file. * Adjust watch file to cope with the '+debian' suffix. -- Jan Christoph Nordholz Mon, 17 Aug 2009 00:32:01 +0200 gdome2 (0.8.1+debian-3) unstable; urgency=low * Update doc-base section. * Bump Standards version to 3.7.3. * Bump debhelper level to 6. * Fix minor manpage error. * Add lintian override for package name/soname mismatch. -- Jan Christoph Nordholz Wed, 30 Apr 2008 23:56:14 +0200 gdome2 (0.8.1+debian-2) unstable; urgency=low * Actually fetch config.sub and config.guess before running configure (build-dep on autotools-dev was already in place). Unbreaks MIPS build. -- Jan Christoph Nordholz Wed, 11 Jul 2007 01:31:59 +0200 gdome2 (0.8.1+debian-1) unstable; urgency=low * New maintainer, closes: #431715. * Convert the package to be non-native. Closes: #339346. * Rephrase package description. Closes: #283003. * Bump Standards version to 3.7.2 and debhelper level to 5. * Update watch file. * Fix gdome-config to include the -L and -I flags for libglib2.0. Closes: #234359. -- Jan Christoph Nordholz Fri, 06 Jul 2007 23:15:51 +0200 gdome2 (0.8.1-1) unstable; urgency=low * New upstream version (now builds with libglib2.0) -- Enrico Zini Thu, 9 Oct 2003 12:41:49 +0200 gdome2 (0.8.0-1) unstable; urgency=low * New upstream version -- Enrico Zini Thu, 25 Sep 2003 22:53:16 +0200 gdome2 (0.7.4-2) unstable; urgency=low * Updated build scripts. Closes: #184260 -- Enrico Zini Tue, 11 Mar 2003 10:04:36 +0100 gdome2 (0.7.4-1) unstable; urgency=low * New upstream source. Closes: #116427 -- Enrico Zini Mon, 10 Mar 2003 15:26:11 +0100 gdome2 (0.7.2-3) unstable; urgency=low * Updated autotools scripts. Closes: #161378 -- Enrico Zini Sun, 22 Sep 2002 23:27:25 +0200 gdome2 (0.7.2-2) unstable; urgency=low * Moved README and MAINTAINERS in libgdome2-0 instead of libgdome2-dev. Closes: #154379 * Included upstream source and patches to upstream source. Closes: #154377 -- Enrico Zini Sat, 7 Sep 2002 16:10:35 +0200 gdome2 (0.7.2-1) unstable; urgency=low * New upstream release. Closes: #150094 * Added MAINTAINERS file to the docs * Updated watch file -- Enrico Zini Wed, 19 Jun 2002 17:38:25 +0200 gdome2 (0.7.0-2) unstable; urgency=low * Updated build-deps. Closes: #128381 -- Enrico Zini Sun, 20 Jan 2002 19:08:30 +0100 gdome2 (0.7.0-1) unstable; urgency=low * New upstream release. Closes: #117173 * Updated references to upstream site * Changed libgdome2-0 Section: to `libs' * Cosmetic update in package description * Uses upstream provided manpage for gdome-config -- Enrico Zini Tue, 25 Dec 2001 15:03:00 +0100 gdome2 (0.6.9-1.1) unstable; urgency=low * Re-run libtoolize for new arch support. Closes: #116427 -- LaMont Jones Fri, 16 Nov 2001 20:43:46 -0700 gdome2 (0.6.9-1) unstable; urgency=low * Initial Release. * Added manpage for gdome-config. -- Enrico Zini Sat, 13 Oct 2001 00:25:21 +0200 debian/compat0000644000000000000000000000000212127004016010355 0ustar 9 debian/watch0000644000000000000000000000014412127003505010211 0ustar version=3 opts="dversionmangle=s/\+debian//" http://gdome2.cs.unibo.it/tarball/gdome2-(.*)\.tar\.gz debian/libgdome2-dev.dirs0000644000000000000000000000005212127003505012461 0ustar usr/bin usr/lib usr/include usr/share/doc debian/rules0000755000000000000000000000413512127035667010262 0ustar #!/usr/bin/make -f # GNU copyright 1997 to 1999 by Joey Hess. CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif configure: configure-stamp configure-stamp: dh_testdir cp /usr/share/misc/config.sub /usr/share/misc/config.guess . libtoolize -c -f autoreconf -f -i ./configure --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --with-html-dir=\$${prefix}/share/doc/libgdome2-dev touch configure-stamp build-arch: build build-indep: build build: build-stamp build-stamp: configure dh_testdir dh_prep $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp [ ! -f Makefile ] || $(MAKE) distclean rm -f gdomeConf.sh config.sub config.guess \ Makefile config.log config.status configure config.h.in \ INSTALL missing install-sh depcomp ltmain.sh aclocal.m4 mkinstalldirs find . -name Makefile.in -print0 | xargs -0r -- rm dh_clean install: build dh_testdir dh_testroot dh_installdirs -A $(MAKE) install prefix=$(CURDIR)/debian/libgdome2-dev/usr for file in debian/libgdome2-dev/usr/lib/*.la; do \ sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \ done mv debian/libgdome2-dev/usr/lib/*.so.* debian/libgdome2-0/usr/lib ln -sf libgdome.so.0 debian/libgdome2-dev/usr/lib/libgdome.so rm -rf debian/libgdome2-dev/usr/share/doc/libgdome2-dev/html mv debian/libgdome2-dev/usr/share/doc/libgdome2-dev/gdome2-* \ debian/libgdome2-dev/usr/share/doc/libgdome2-dev/html ln -sf book1.html debian/libgdome2-dev/usr/share/doc/libgdome2-dev/html/index.html binary: binary-indep binary-arch binary-indep: install binary-arch: install dh_testdir dh_testroot dh_installdocs -A README MAINTAINERS dh_installexamples test/example?.c test/example?.xml dh_installchangelogs ChangeLog dh_link dh_lintian dh_strip dh_compress dh_fixperms dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb .PHONY: build clean binary-indep binary-arch binary install configure debian/control0000644000000000000000000000343012127036563010576 0ustar Source: gdome2 Section: libdevel Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 9), libxml2-dev, libglib2.0-dev, pkg-config, autotools-dev, libtool, gtk-doc-tools Homepage: http://gdome2.cs.unibo.it/ Standards-Version: 3.9.4 Package: libgdome2-dev Architecture: any Depends: ${misc:Depends}, libgdome2-0 (= ${binary:Version}), libc6-dev, libxml2-dev, libglib2.0-dev Description: Development files for libgdome2 gdome2 is a fast, light and complete DOM level2 implementation based on libxml2. Although it has been written for the GNOME project, it can be used stand-alone. . DOM (Document Object Model) is a standard interface for manipulating XML documents. A DOM implementation (also called a host implementation) is what makes a parsed XML or HTML document available for processing using a DOM interface. . libgdome2 currently supports the "Core", "XML", "Events" and "MutationEvents" modules from the DOM2 Recommendation. . This package contains the header files and static libraries for developing with libgdome2-0. Package: libgdome2-0 Section: libs Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: DOM level2 library for accessing XML files gdome2 is a fast, light and complete DOM level2 implementation based on libxml2. Although it has been written for the GNOME project, it can be used stand-alone. . DOM (Document Object Model) is a standard interface for manipulating XML documents. A DOM implementation (also called a host implementation) is what makes a parsed XML or HTML document available for processing using a DOM interface. . libgdome2 currently supports the "Core", "XML", "Events" and "MutationEvents" modules from the DOM2 Recommendation. . This package contains the shared library. debian/patches/0000755000000000000000000000000012164531400010611 5ustar debian/patches/series0000644000000000000000000000011612164531102012023 0ustar 01glibconfig.patch 02fix_manpage.patch 03no_glib_1.patch 04bufptr_ftbfs.patch debian/patches/02fix_manpage.patch0000644000000000000000000000071112127004016014246 0ustar From: Subject: Fix roff errors in the gdome-config(1) manpage. --- gdome2-0.8.1+debian.orig/gdome-config.1.in 2008-04-30 21:58:27.000000000 +0200 +++ gdome2-0.8.1+debian/dome-config.1.in 2008-04-30 21:58:43.000000000 +0200 @@ -9,7 +9,6 @@ linker flags that should be used to compile and link programs that use \fIgdome2\fP. .SH OPTIONS -.l \fIgdome-config\fP accepts the following options: .TP 8 .B \-\-version debian/patches/03no_glib_1.patch0000644000000000000000000000202312127004016013620 0ustar From: Subject: Comment out the paragraph for glib-1 It is no longer needed and AM_PATH_GLIB is not available unless we also depend on the old glib. --- gdome2-0.8.1+debian.orig/configure.in +++ gdome2-0.8.1+debian/configure.in @@ -63,18 +63,18 @@ GLIB_1=yes ) -if test "x$GLIB_1" = "xyes" -then - PKG_CHECK_MODULES(GLIB, glib) - GLIB_REQUIRED="glib" - GLIB_MIN_VERSION=1.2.10 - AM_PATH_GLIB($GLIB_MIN_VERSION,,AC_MSG_ERROR(Could not find GLIB (see config.log for details).)) -else +#if test "x$GLIB_1" = "xyes" +#then +# PKG_CHECK_MODULES(GLIB, glib) +# GLIB_REQUIRED="glib" +# GLIB_MIN_VERSION=1.2.10 +# AM_PATH_GLIB($GLIB_MIN_VERSION,,AC_MSG_ERROR(Could not find GLIB (see config.log for details).)) +#else PKG_CHECK_MODULES(GLIB, glib-2.0) GLIB_REQUIRED="glib-2.0" GLIB_MIN_VERSION=2.2.0 AM_PATH_GLIB_2_0($GLIB_MIN_VERSION,,AC_MSG_ERROR(Could not find GLIB (see config.log for details).)) -fi +#fi AC_SUBST(GLIB_MIN_VERSION) AC_SUBST(GLIB_LIBS) AC_SUBST(GLIB_REQUIRED) debian/patches/01glibconfig.patch0000644000000000000000000000155512127004016014101 0ustar From: Subject: Remove the calls to glib-config glib-config is a tool from libglib1.2 and therefore the wrong one to ask) and replace them with the ./configure macros that have already been collected. --- gdome2-0.8.1/gdome-config.in.orig 2007-07-07 00:15:30.000000000 +0200 +++ gdome2-0.8.1/gdome-config.in 2007-07-07 00:14:15.000000000 +0200 @@ -83,8 +83,8 @@ shift done -the_libs="$the_libs -L${exec_prefix}/lib -lgdome `@GLIB_CONFIG@ --libs` `@XML_CONFIG@ --libs`" -the_flags="$the_flags -I${prefix}/include -I${prefix}/include/libgdome `@GLIB_CONFIG@ --cflags` `@XML_CONFIG@ --cflags`" +the_libs="$the_libs -L${exec_prefix}/lib -lgdome @GLIB_LIBS@ `@XML_CONFIG@ --libs`" +the_flags="$the_flags -I${prefix}/include -I${prefix}/include/libgdome @GLIB_CFLAGS@ `@XML_CONFIG@ --cflags`" if $cflags; then all_flags="$the_flags" debian/patches/04bufptr_ftbfs.patch0000644000000000000000000000146612164531400014473 0ustar Description: xmlBuffer causing incomplete ptr type. Author: Igor Pashev Bug-Debian: http://bugs.debian.org/713596 Index: gdome2-0.8.1+debian/libgdome/gdomecore/gdome-xml-documentt.c =================================================================== --- gdome2-0.8.1+debian.orig/libgdome/gdomecore/gdome-xml-documentt.c 2003-07-13 06:47:54.000000000 -0400 +++ gdome2-0.8.1+debian/libgdome/gdomecore/gdome-xml-documentt.c 2013-07-02 06:59:24.000000000 -0400 @@ -342,7 +342,7 @@ } xmlNodeDumpOutput (out_buff, NULL, (xmlNode *)is, 0, 0, NULL); xmlOutputBufferFlush(out_buff); - ret = g_strndup (out_buff->buffer->content, out_buff->buffer->use); + ret = g_strndup (xmlBufContent(out_buff), xmlBufUse(out_buff)); (void)xmlOutputBufferClose(out_buff); return gdome_xml_str_mkref_own (ret); debian/libgdome2-0.dirs0000644000000000000000000000001012127003505012034 0ustar usr/lib