--- python-4suite-1.0.2.orig/debian/changelog +++ python-4suite-1.0.2/debian/changelog @@ -0,0 +1,332 @@ +python-4suite (1.0.2-7) unstable; urgency=low + + * Fixed python dependency by rebuild agains latest + python-supprt. Closes: #512319 + + -- Raphael Bossek Sat, 24 Jan 2009 21:35:57 +0100 + +python-4suite (1.0.2-6) unstable; urgency=low + + * Fixed typo in package description. Closes: #510753 + + -- Raphael Bossek Sat, 10 Jan 2009 17:58:29 +0100 + +python-4suite (1.0.2-5) unstable; urgency=low + + * Removed documentation for XML package. (closes: #468672) + + -- Raphael Bossek Sun, 08 Jun 2008 09:10:51 +0200 + +python-4suite (1.0.2-4) unstable; urgency=low + + * Applied Ubuntu changes. + * Update standards version to 3.8.0: + * README.source added + * Build system uses dpatch so it's easy to explain how the original source + code is modified. + + -- Raphael Bossek Sat, 07 Jun 2008 15:14:07 +0200 + +python-4suite (1.0.2-3.1ubuntu1) intrepid; urgency=low + + * Merge from Debian unstable, remaining Ubuntu changes: + + debian/control: + - Build-depends on python-all-dev (>= 2.4). + - Update Maintainer field as per spec (LP: #230350). + + debian/rules: + - Remove debhelper compatibility version, use debian/compat instead. + - Use CURDIR instead of CWD and PWD. + - Remove html documentation files from the python-4suite-xml package. + - Move the examples into the python-4suite-doc package. + - Install the .egg-info file without python version number. + + -- Luca Falavigna Sun, 01 Jun 2008 12:03:53 +0200 + +python-4suite (1.0.2-3.1) unstable; urgency=low + + * NMU + * Remove the dependency on python-xml. Gives developers the opportunity to + work with python-4suite-xml without having python-xml installed. + Closes: #468634. + + -- Matthias Klose Sat, 10 May 2008 16:00:26 +0200 + +python-4suite (1.0.2-3) unstable; urgency=low + + * Removed dependency on python-xml (closes: #468613, #468634) + + -- Raphael Bossek Fri, 29 Feb 2008 21:52:28 +0100 + +python-4suite (1.0.2-2) unstable; urgency=low + + * Fixed debian/watch file so uscan works again. (closes: #450018) + * Update to Debian Policy Standards-Version 3.7.3. + + -- Raphael Bossek Sat, 16 Feb 2008 18:19:03 +0100 + +python-4suite (1.0.2-1ubuntu1) hardy; urgency=low + + * Remove dependency on python-xml; python (>= 2.4) has the necessary + code. + * Remove html documentation files from the python-4suite-xml package. + * Move the examples into the python-4suite-doc package. + * Install the .egg-info file without python version number. + + -- Matthias Klose Wed, 27 Feb 2008 14:13:20 +0000 + +python-4suite (1.0.2-1ubuntu1) hardy; urgency=low + + * Remove dependency on python-xml; python (>= 2.4) has the necessary + code. + * Remove html documentation files from the python-4suite-xml package. + * Move the examples into the python-4suite-doc package. + * Install the .egg-info file without python version number. + + -- Matthias Klose Wed, 27 Feb 2008 14:13:20 +0000 + +python-4suite (1.0.2-1) unstable; urgency=low + + * Update to new upstream release 1.0.2. + * Fixed processing catalog files by applying patch from Andreas Hoenen + (closes: #401609). Added docbook-article.xml and docbook-book.xml examples + which work with 4xml. Other may not. + * Packages python-4suite-server and python-4suite-rdf where dropped so no + multiple files exists (closes: #416603). + * Added support for /etc/xml/catalog file (closes: #401612). + + -- Raphael Bossek Sat, 21 Jul 2007 20:58:38 +0200 + +python-4suite (1.0~rc4cvs20061016-1) unstable; urgency=low + + * Update to latest CVS shapshot 2006-10-16. + * Applied patch from Matthias Klose (and some further + suggestions). + + -- Raphael Bossek Mon, 16 Oct 2006 21:16:15 +0200 + +python-4suite (1.0~rc4cvs20061004-1) unstable; urgency=low + + * Update to latest CVS snapshot 2006-10-04. + * Build log is written on stdout/stderr (Closes: #376581,#376633). + + -- Raphael Bossek Wed, 4 Oct 2006 20:41:17 +0200 + +python-4suite (0.99cvs20060405-1.1) unstable; urgency=medium + + * Convert to updated Python policy. Closes: #373509. + + -- Matthias Klose Sat, 17 Jun 2006 17:50:34 +0000 + +python-4suite (0.99cvs20060405-1) unstable; urgency=medium + + * Update to latest CVS snapshot 2006-04-05. + * Fixed su usage (Closes: #358999). + + -- Raphael Bossek Wed, 5 Apr 2006 22:31:19 +0200 + +python-4suite (0.99cvs20060302-1) unstable; urgency=low + + * Update to latest CVS snapshot 2006-03-02. + * Removed support for Python 2.1, 2.2 (Closes: #351136) + + -- Raphael Bossek Fri, 3 Mar 2006 08:40:33 +0100 + +python-4suite (0.99cvs20060109-1) unstable; urgency=low + + * Update to latest CVS snapshot 2006-01-09 (1.0b3+). + * Update to 3.6.2.2 and compat version 4. + + -- Raphael Bossek Mon, 9 Jan 2006 20:51:37 +0100 + +python-4suite (0.99cvs20051115-2) experimental; urgency=low + + * Lintianl clean. + + -- Raphael Bossek Sat, 19 Nov 2005 12:46:01 +0100 + +python-4suite (0.99cvs20051115-1) experimental; urgency=low + + * Update to latest CVS snapshot 2005-11-15. + + -- Raphael Bossek Tue, 15 Nov 2005 22:21:00 +0100 + +python-4suite (0.99cvs20050424-1) unstable; urgency=low + + * Update to latest CVS snapshot 2005-04-24. + * Added uscan support. + * Man pages are now supported. + + -- Raphael Bossek Sun, 24 Apr 2005 10:56:20 +0200 + +python-4suite (0.99cvs20050418-2) unstable; urgency=high + + * Added Build-Depends for bzip2. (Closes: #305779) + + -- Raphael Bossek Fri, 22 Apr 2005 10:06:59 +0200 + +python-4suite (0.99cvs20050418-1) unstable; urgency=high + + * Update to CVS snapshot 2005-04-18. + * Missing HTML documentation added. (Closes: #301566) + * Standards Version 3.6.1.1 + + -- Raphael Bossek Mon, 18 Apr 2005 20:03:41 +0200 + +python-4suite (0.99cvs20041008-5) unstable; urgency=medium + + * Lintian clean version. + * Typo in debian/control for python2.4-4suite fixed. + + -- Raphael Bossek Sun, 20 Feb 2005 11:58:28 +0100 + +python-4suite (0.99cvs20041008-4) unstable; urgency=medium + + * Applied patch for amd64/gcc-4.0 from Andreas Jochens. (Closes: #287973) + * Fixed dangling symlinks in /etc/alternatives. (Closes: #289370) + * Added support for Python 2.4. + + -- Raphael Bossek Sun, 9 Jan 2005 14:34:54 +0100 + +python-4suite (0.99cvs20041008-3) unstable; urgency=medium + + * Fixed problem in usage of UNICODE with Debian version of libexpat + (Closes: #276077, #276600) + + -- Raphael Bossek Tue, 12 Oct 2004 20:12:39 +0200 + +python-4suite (0.99cvs20041008-2) unstable; urgency=low + + * Link against shared library libexpat. This should finally fix the problem + with mod_python now and in the future if a new version of libexpat is + released. (Closes: #275097) + + -- Raphael Bossek Sun, 10 Oct 2004 22:22:26 +0200 + +python-4suite (0.99cvs20041008-1) unstable; urgency=low + + * Update to CVS head; Lot of long outstanding bugs fixed by + upstream authors (Closes: #275097, #114696, #270189, #270190) + + -- Raphael Bossek Fri, 8 Oct 2004 22:09:26 +0200 + +python-4suite (0.99cvs20040727-2) unstable; urgency=low + + * Build binary-arch and binary-indep packages separetly (Closes: #265028) + + -- Raphael Bossek Sun, 15 Aug 2004 13:49:49 +0200 + +python-4suite (0.99cvs20040727-1) unstable; urgency=low + + * Update to 2004-07-27 versions of CVS (Closes: #261517). + + -- Raphael Bossek Wed, 28 Jul 2004 08:01:45 +0200 + +python-4suite (0.99cvs20040514-3) unstable; urgency=low + + * Fixed Uri.py (Closes: #257798) + * 0.99cvs20040514-1 never gone upstream so bugs not closed automatically; + doing it now (Closes: #160468, #204934, #163830) + + -- Raphael Bossek Wed, 7 Jul 2004 18:48:31 +0200 + +python-4suite (0.99cvs20040514-2) unstable; urgency=low + + * Recomends on graphviz changed to suggests. + + -- Raphael Bossek Fri, 2 Jul 2004 19:30:37 +0200 + +python-4suite (0.99cvs20040514-1) unstable; urgency=low + + * Take over maintainership from Alexandre.Fayolle@logilab.fr who received + the maintainership from Jerome Marant but never + uploaded a version. + * Update to new version from CVS because the snapshots are too old. + * Support for Python 2.2, 2.3 added. (Closes: #160468) + * Support for Python 2.1 dropped because of to many problems/bugs with + Python 2.1 modules. + * Unsupported locales do not make troubles anymore either python-xml is + installed. (Closes: #204934) + * No warnings anymore on big-endian machines. (Closes: #163830) + + -- Raphael Bossek Thu, 13 May 2004 13:29:53 +0200 + +python-4suite (0.11.1-5) unstable; urgency=low + + * debian/control: + - added python-dev to python-4suite dependencies. + - made python-4suite depend on python2.1-4suite of version Source-Version. + - added python2.1-dev to python2.1-4suite dependencies. Closes: Bug#126245. + + -- Jerome Marant Sun, 30 Dec 2001 17:45:57 +0100 + +python-4suite (0.11.1-4) unstable; urgency=low + + * Added python-xml in the python-4suite (dummy package) dependencies. + + -- Jerome Marant Sat, 10 Nov 2001 10:33:55 +0100 + +python-4suite (0.11.1-3) unstable; urgency=low + + * Modified the package with respect to the Python Policy. + Closes: Bug#118258. + * debian/control: + + added python2.1-4suite, a Python 2.1.x specific version of the + package. + + python-4suite is now a dummy package that depends on python2.1-4suite. + + added python2.1-dev to build dependencies. + * debian/rules: + + removed support for Python 1.5.x and 2.0. + + made use of Debhelper v3. + + -- Jerome Marant Wed, 7 Nov 2001 20:47:27 +0100 + +python-4suite (0.11.1-2) unstable; urgency=low + + * debian/rules: modified calls to external lintian-fix scripts. Now, + they are run through /bin/sh since they cannot be directly executable + within the package diff file. Closes: Bug#113359. + + -- Jerome Marant Tue, 25 Sep 2001 01:08:12 +0200 + +python-4suite (0.11.1-1) unstable; urgency=low + + * New upstream version. + * Switched Standards-Version to 3.5.6. + * Added debian/{python-4suite, python2-4suite}.lintian-fix scripts in order + to fix lintian warnings out of debian/rules. + * debian/rules: + + added calls to external scripts for fixing lintian + warnings. + + changed the list of undocumented manpages since the binaries to + document have changed. + * debian/{, python2-4suite.}postinst: + + added the removal of obsolete alternatives. + + changed the list of alternatives to create. + * debian/{, python2-4suite.}prerm: changed the list of alternatives to remove. + * debian/{, python2-4suite.}README.Debian: added a section about upgrades + from previous versions. + + -- Jerome Marant Fri, 21 Sep 2001 19:36:07 +0200 + +python-4suite (0.11-2) unstable; urgency=low + + * setup.py: removed the checking of the existance of PyXML + at build time, since PyXML is not used for building the + package. Closes: Bug#100577. + + -- Jerome Marant Tue, 12 Jun 2001 13:40:06 +0200 + +python-4suite (0.11-1) unstable; urgency=low + + * New upstream release. + * Added a versioned dependency on python-xml and python2-xml + respectively for python-4suite and python2-4suite. Closes: Bug#95331. + + -- Jerome Marant Mon, 11 Jun 2001 14:29:06 +0200 + +python-4suite (0.10.2-1) unstable; urgency=low + + * Initial Release. Closes: Bug#90587. + + -- Jerome Marant Tue, 13 Mar 2001 16:57:22 +0100 + --- python-4suite-1.0.2.orig/debian/watch +++ python-4suite-1.0.2/debian/watch @@ -0,0 +1,3 @@ +version=3 + +ftp://ftp.4suite.org/pub/4Suite/4Suite-XML-(\d+\.\d+\.\d+)\.tar\.bz2 debian uupdate --- python-4suite-1.0.2.orig/debian/control +++ python-4suite-1.0.2/debian/control @@ -0,0 +1,47 @@ +Source: python-4suite +Section: python +Priority: optional +Maintainer: Raphael Bossek +XS-Python-Version: all +Build-Depends: debhelper (>= 5.0.37.2), python-central (>= 0.5), bzip2, python-all-dev (>= 2.4), dpatch, docbook-to-man +Standards-Version: 3.8.0 + +Package: python-4suite-xml +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends} +Conflicts: python2.3-4suite, python2.4-4suite, python-4suite-common, python-4suite-server, python-4suite-rdf +Replaces: python2.3-4suite, python2.4-4suite, python-4suite-common, python-4suite-server, python-4suite-rdf +Recommends: python-4suite-doc +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Homepage: http://www.4suite.org +Description: An open-source platform for XML and RDF processing + 4Suite is a Python-based toolkit for XML and RDF application development. + At the core of 4Suite is a library of integrated tools (including convenient + command-line tools for XML processing, implementing open technologies such + as DOM, RDF, XSLT, XInclude, XPointer, XLink XPath, XUpdate, RELAX NG, and + XML/SGML Catalogs. + . + Layered upon this is an XML and RDF data repository and server. The server + supports multiple methods of data access, query, indexing, transformation, + rich linking, and rules processing. It provides the data infrastructure of + a full database management system, including transactions and concurrency + support, access control and a variety of management tools. For purposes of + integration with other tools, it supports remote, cross-platform and + cross-language access through HTTP (including native SOAP and WebDAV), RPC, + FTP and CORBA. It offers APIs in Python, HTTP, SOAP and XSLT. + . + This package contains the XML part without RDF. + +Package: python-4suite-doc +Section: doc +XB-Python-Version: ${python:Versions} +Architecture: all +Homepage: http://www.4suite.org +Description: Documentation for 4Suite + This packages contains files used by the python-4suite packages. You will + find here the + * Documentation in DocBook/XML, HTML and TEXT (sorry, no man pages until now) + * Examples + * Test applications + --- python-4suite-1.0.2.orig/debian/rules +++ python-4suite-1.0.2/debian/rules @@ -0,0 +1,193 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +SRCPKGNAME=$(shell dpkg-parsechangelog | grep '^Source:' | sed -e 's/^Source: //g') +SRCPKGVERS=$(shell dpkg-parsechangelog | grep '^Version:' | sed -e 's/^Version: //g;s/-.*//g') +ORIGTAR=../$(SRCPKGNAME)_$(SRCPKGVERS).orig.tar.gz +DOCDIR=/usr/share/doc/python-4suite-doc +XMLPKG=python-4suite-xml +XMLPKGDIR=debian/$(XMLPKG) +DOCPKG=python-4suite-doc +DOCPKGDIR=debian/$(DOCPKG) +ARCHIVE=$(shell ls -1 4Suite-*.tar.bz2) +SRCDIR=$(shell ls -1 4Suite-*.tar.bz2 | sed -e 's,\.tar\.bz2,,g') +PYTHON_VERSIONS:=$(shell pyversions -vr debian/control) +DEFAULT_PYTHON_VERSION:=$(shell pyversions -vd) +INSTALL=/usr/bin/install + +export XML_CATALOGS=$(CURDIR)/$(SRCDIR)/build/share/default.cat +export XML_DEBUG_CATALOG=1 +export PYTHONPATH="" + +#DPATCH_WORKDIR=$(SRCDIR) +include /usr/share/dpatch/dpatch.make + +$(ORIGTAR): $(ARCHIVE) + tar -C .. -czf "$@" $(shell basename $(CURDIR))/$(ARCHIVE) + +$(SRCDIR): $(ORIGTAR) + tar -xjf $(ARCHIVE) + test -d $(SRCDIR) + for dir in `find "$@" -name "CVS"`; do rm -rf "$$dir" >/dev/null 2>&1; done + : # Make sure only the Debian version of expat is used + grep -q DynLinkExpatLib debian/patches/00list && rm -rf "$(SRCDIR)/Ft/Xml/src/expat" || true + : # Replace all '#!' calls to python with python$(PVER) + cd $(SRCDIR) && \ + for i in `find -type f`; do \ + if head -1 "$$i" | grep -q '^#[[:space:]]*!.*python'; then \ + sed 's@^#[[:space:]]*!.*python.*@#!/usr/bin/env python@' "$$i" > "$$i.temp"; \ + chown --reference="$$i" "$$i.temp"; \ + chmod --reference="$$i" "$$i.temp"; \ + chmod a+x "$$i.temp"; \ + mv -f "$$i.temp" "$$i"; \ + fi \ + done + : # Unset executable bits + find $(SRCDIR) -name "*.xslt" -exec chmod a-x {} \; + +debian/control: + : # nothing to do + +build: $(SRCDIR) debian/control patch build-stamp +build-stamp: + dh_testdir + + : # Fix file attributes + test -f $(SRCDIR)/Ft/Server/Server/4SuiteRepository.owl && chmod a-x $(SRCDIR)/Ft/Server/Server/4SuiteRepository.owl || true + + # Build the package for Python + for pver in $(PYTHON_VERSIONS); do \ + $(MAKE) -f debian/rules PVER=$$pver build-python || exit 1; \ + done + + # Build the documentation + for manpage in 4xml 4xpath 4xslt 4xupdate 4rdf 4versa 4ss 4ssd 4ss_manager; do \ + /usr/bin/docbook-to-man debian/$${manpage}.sgml >$${manpage}.1; \ + done + + touch build-stamp + +build-python: build-python$(PVER)-stamp +build-python$(PVER)-stamp: + cd $(SRCDIR) && python$(PVER) setup.py config --system 2>&1 | tee -a ../build-python$(PVER)-log + cd $(SRCDIR) && python$(PVER) setup.py -v build $(if $(findstring $(strip $(PVER)),$(DEFAULT_PYTHON_VERSION)),--with-docs,) 2>&1 | tee -a ../build-python$(PVER)-log + grep -q "^Traceback \|^error:\|gcc.*failed with exit status" "build-python$(PVER)-log" && exit 1 || exit 0 + touch $@ + +clean: clean-patched unpatch debian/control $(ORIGTAR) +clean-patched: + dh_testdir + rm -f *-stamp config.cache build-*-log install-*-log + + # Clean the Python build + rm -rf $(SRCDIR) debian/patched 4*.1 + + dh_clean + +clean-python: + rm -f debian/python$(PVER)-4suite.* + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + for pver in $(PYTHON_VERSIONS); do \ + $(MAKE) -f debian/rules PVER=$$pver install-python || exit 1; \ + done + + for dir in $(XMLPKGDIR); do \ + find "$$dir" -name '*.py[co]' -exec rm -f "{}" \; ; \ + done + + : # Move the documentation and examples of 4Suite. + mkdir -p "$(DOCPKGDIR)/usr/share/doc/$(DOCPKG)" + mv "$(XMLPKGDIR)/usr/lib/4Suite/tests" "$(DOCPKGDIR)/usr/share/doc/$(DOCPKG)/examples" + cp $(SRCDIR)/Ft/Data/examples/docbook-*.xml "$(DOCPKGDIR)/usr/share/doc/$(DOCPKG)/examples" + + : # Install HTML documentation. + cd $(SRCDIR) && python$(DEFAULT_PYTHON_VERSION) setup.py -v install_html --install-dir=$(CURDIR)/$(DOCPKGDIR)/usr/share/doc/$(DOCPKG) 2>&1 | tee -a ../install-python$(DEFAULT_PYTHON_VERSION)-log + grep -q "^Traceback \|^error:\|gcc.*failed with exit status" "install-python$(DEFAULT_PYTHON_VERSION)-log" && exit 1 || exit 0 + + : # Drop documentation for XML package + rm -rf $(CURDIR)/debian/$(XMLPKG)/usr/share/doc/4Suite + +install-python: install-python$(PVER)-stamp +install-python$(PVER)-stamp: build-python$(PVER)-stamp + : ## Install the package for Python (it takes long) ####################### + cd $(SRCDIR) && python$(PVER) setup.py -v bdist_dumb 2>&1 | tee -a ../install-python$(PVER)-log + grep -q "^Traceback \|^error:" "install-python$(PVER)-log" && exit 1 || exit 0 + + tar -C "$(XMLPKGDIR)" -xzf "$(SRCDIR)/dist/4Suite-XML-"*.tar.gz + for name in 4Suite-XML; do \ + rm "$(SRCDIR)/dist/$$name-"*.tar.gz; \ + done + + ls -l $(XMLPKGDIR)/usr/lib/python$(PVER)/site-packages + d=$(XMLPKGDIR)/usr/lib/python$(PVER)/site-packages; \ + if [ -f $$d/4Suite_XML-$(SRCPKGVERS)-py$(PVER).egg-info ]; then \ + mv -f $$d/4Suite_XML-$(SRCPKGVERS)-py$(PVER).egg-info \ + $$d/4Suite_XML-$(SRCPKGVERS).egg-info; \ + fi + + touch "$@" + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i +# dh_installdebconf -i + dh_installdocs -i + test -f debian/python-4suite-doc/usr/share/doc/python-4suite-doc/index.html +# dh_installexamples -i +# dh_installmenu -i +# dh_installemacsen -i +# dh_installpam -i + dh_installinit -i --init-script=4ssd +# dh_installcron -i +# dh_installmanpages -i +# dh_installinfo -i + dh_installchangelogs -i + dh_link -i + dh_pycentral -i + dh_compress -i -ppython-4suite-doc -X.xml -X.doc -X.py + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a +# dh_installdebconf -a + dh_installdocs -a +# dh_installexamples -a +# dh_installmenu -a +# dh_installemacsen -a +# dh_installpam -a + dh_installinit -a --init-script=4ssd +# dh_installcron + dh_installman -ppython-4suite-xml 4xml.1 4xpath.1 4xslt.1 4xupdate.1 +# dh_installinfo + dh_installchangelogs -a + dh_link -a + dh_strip -a + dh_pycentral -a + dh_compress -a + dh_fixperms -a +# dh_suidregister + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- python-4suite-1.0.2.orig/debian/compat +++ python-4suite-1.0.2/debian/compat @@ -0,0 +1 @@ +5 --- python-4suite-1.0.2.orig/debian/copyright +++ python-4suite-1.0.2/debian/copyright @@ -0,0 +1,81 @@ +This package was debianized by Jerome Marant on +Tue, 13 Mar 2001 16:57:22 +0100. It was taken over by Alexandre Fayolle +. It was taken over by Raphael Bossek + on Thu, 13 May 2004 13:29:53 +0200. + +It was downloaded from + ftp://ftp.4suite.org/pub/cvs-snapshots/4Suite-2006-10-04.tar.bz2 + +Author(s): + Glenn Gasmen + Jeremy Kloth + Chime Ogbuji + Uche Ogbuji + Mike Olson + +Copyright: + +License and copyright info for 4Suite software +============================================== + +4Suite software copyright +------------------------- + +The copyright on 4Suite as a whole is owned by Fourthought, Inc. +(USA). Copyright on the components of 4Suite is indicated in the +source code; most files have their own notice of copyright and +ownership, and a CVS datestamp to clarify the actual date of +authorship or last revision/publication. For purposes of usage and +redistribution, the following Apache-based license applies. + +The 4Suite License, Version 1.1 +------------------------------- + +Copyright (c) 2000 Fourthought, Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. The end-user documentation included with the redistribution, + if any, must include the following acknowledgment: + "This product includes software developed by + Fourthought, Inc. (http://www.fourthought.com)." + Alternately, this acknowledgment may appear in the software + itself, if and wherever such third-party acknowledgments + normally appear. + + 4. The names "4Suite", "4Suite Server" and "Fourthought" must not + be used to endorse or promote products derived from this + software without prior written permission. For written + permission, please contact info@fourthought.com. + + 5. Products derived from this software may not be called "4Suite", + nor may "4Suite" appear in their name, without prior written + permission of Fourthought, Inc. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL FOURTHOGHT, INC. OR ITS CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +=================================================================== + +This license is based on the Apache Software License, Version 1.1, +Copyright (c) 2000 The Apache Software Foundation. +All rights reserved. --- python-4suite-1.0.2.orig/debian/README.source +++ python-4suite-1.0.2/debian/README.source @@ -0,0 +1,9 @@ +How to maintain maintainer's changes +------------------------------------ + + This packages uses dpatch, the patch maintenance system for Debian. Detailed informations about usage can be found in the manual page of dpatch. + + To underline the 100% usage of dpatch the upstream source tarball is kept unchanged. At production time the tarball is extracted in a subdirectory and patched. + + -- Raphael Bossek Sat, 07 Jun 2008 15:14:07 +0200 + --- python-4suite-1.0.2.orig/debian/python-4suite-xml.docs +++ python-4suite-1.0.2/debian/python-4suite-xml.docs @@ -0,0 +1 @@ +debian/RELEASENOTES.txt --- python-4suite-1.0.2.orig/debian/pycompat +++ python-4suite-1.0.2/debian/pycompat @@ -0,0 +1 @@ +2 --- python-4suite-1.0.2.orig/debian/RELEASENOTES.txt +++ python-4suite-1.0.2/debian/RELEASENOTES.txt @@ -0,0 +1,78 @@ +http://lists.fourthought.com/pipermail/4suite/2006-December/008189.html + +4Suite XML 1.0.2 is now available from Sourceforge and ftp.4suite.org. +Thanks to all the testers, there are a number of important fixes and +improvements since 1.0.1, and we recommend upgrade from all previous +versions. Changes include: + +* Fixed TypeError when multiple interpreters are used (should help with +mod-python) +* Memory leak fix in Saxlette: freeing any parsing contexts left on the +parser when it is freed. +* Fix bug where extension functions are not properly passed on in context +* Fix build error when Python is configured with `--enable-shared` +* Fix bug with xi:include element's orphaning element state thus causing +an error with xsl:strip-elements. +* Fix error in nodeset comparisons with booleans + +4Suite consists of three separate packages: + +4Suite XML - XML, XPath, XSLT, related technologies and support libraries +4Suite RDF - RDF processing libraries and stand-alone DBMS +4Suite Repository - XML and RDF repository + +This is a release of only the first component. + +4Suite XML is a comprehensive library for XML processing. It is +implemented in Python and C and supports XML (SAX-like and DOM-like), +XPath, XSLT, RELAX NG, XUpdate, XInclude, XPointer, and more. + +Many users will be able to use easy_install. See the bottom of this +announcement for more information. + +General information: + +http://4suite.org/ +https://sourceforge.net/projects/foursuite/ + +Source code, Python eggs, Windows installers, and documentation: + +ftp://ftp.4suite.org/pub/4Suite/ (primary) +http://sourceforge.net/project/showfiles.php?group_id=39954 (secondary) +http://cheeseshop.python.org/pypi/4Suite-XML/ (alternative) + +You only need to download one distribution (source, egg, or .exe). + +Installation requirements and other details: + +http://4suite.org/docs/README + +Installation: + +You can install without any separate download using: + +easy_install 4Suite-XML + +For more information see: + +http://peak.telecommunity.com/DevCenter/EasyInstall + +Otherwise use one of the packages listed above, or one provided by your +software distributor. + +Documentation: + +Documentation is distributed separately from the source and eggs. +Windows installers come with documentation; no separate download needed. + +The 4Suite XML core manual is included in the documentation. It can be +browsed online at + +http://4suite.org/docs/CoreManual.xml + + +-- +Uche Ogbuji Work: The Kadomo Group, Inc. +http://uche.ogbuji.net http://kadomo.com +http://copia.ogbuji.net Lead dev at http://4Suite.org +Articles: http://uche.ogbuji.net/tech/publications/ --- python-4suite-1.0.2.orig/debian/4xml.sgml +++ python-4suite-1.0.2/debian/4xml.sgml @@ -0,0 +1,148 @@ + + + + + <bossekr@debian.org>"> +]> + + + 4XML + 1 + + + &applname; + command-line tool for working with XML documents + + + SYNOPSIS + + &applname; + -h--help + -V--version + -v--validate + -e--encoding=ENC + ---input-encoding=ENC + -o--outfile=FILE + -p--pretty + -n--noseriallize + --html + --noxinclude + --rng=FILE + source-uri + + + + OPTIONS + The program follows the usual GNU command line syntax, with long + options starting with two dashes (`-'). + + + -h, --help + + Show detailed help message. + + + + -V, --version + + Display version information and exit. + + + + -v, --validate + + DTD validate the input file as it is being parsed. + + + + -e, --encoding=ENC + + The encoding to use for output. + + + + --input-encoding=ENC + + The encoding to assume for input. + + + + -o, --outfile=FILE + + Direct output to FILE (file will be overwritten if it exists). + + + + -p, --pretty + + Pretty-print the result. + + + + -n, --noserialize + + Don't serialize; just parse. + + + + --html + + Use HTML mode when pretty-printing (emit XHTML as HTML). + + + + --noxinclude + + Do not expand XIncludes. + + + + --rng=FILE + + Apply RELAX NG from the given file (technically RNG with XVIF features). + + + + source-uri + + The URI of the XML document to parse, or "-" to indicate standard input. Required unless running "4xml -V". + + + + + + AUTHOR + &username; &useremail; + + + VERSION + &revision; + + + COPYRIGHT + Copyright © &year; &username; + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + + + --- python-4suite-1.0.2.orig/debian/4xpath.sgml +++ python-4suite-1.0.2/debian/4xpath.sgml @@ -0,0 +1,120 @@ + + + + + <bossekr@debian.org>"> +]> + + + 4XPATH + 1 + + + &applname; + command-line tool for performing XPath queries on XML documents + + + SYNOPSIS + + &applname; + -h--help + -V--version + -D--define=NAME=VALUE + -N--namespace=PREFIX=NAMESPACE + -e--stacktrace-on-error + --string + source-uri + expression + + + + OPTIONS + The program follows the usual GNU command line syntax, with long + options starting with two dashes (`-'). + + + -h, --help + + Show detailed help message. + + + + -V, --version + + Display version information and exit. + + + + -D, --define=NAME=VALUE + + Bind a top-level parameter. + + + + -N, --namespace=PREFIX=NAMESPACE + + Define a namespace/prefix binding. + + + + -e, --stacktrace-on-error + + Display a stack trace when an error occurs. + + + + --string + + Print the string-value of the results. + + + + source-uri + + The URI of the XML document to parse, or "-" to indicate standard input. The document's root node will be used as the context node. + + + + expression + + The XPath expression to evaluate. + + + + + + AUTHOR + &username; &useremail; + + + VERSION + &revision; + + + COPYRIGHT + Copyright © &year; &username; + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + + + --- python-4suite-1.0.2.orig/debian/python-4suite-doc.doc-base +++ python-4suite-1.0.2/debian/python-4suite-doc.doc-base @@ -0,0 +1,12 @@ +Document: python-4suite-doc +Title: 4Suite Reference Manual +Author: Mike Olson +Abstract: This manual describes 4Suite which is + a collection tools for XML processing and object + database management. +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-4suite-doc/index.html +Files: /usr/share/doc/python-4suite-doc/*.html + --- python-4suite-1.0.2.orig/debian/4xslt.sgml +++ python-4suite-1.0.2/debian/4xslt.sgml @@ -0,0 +1,231 @@ + + + + + <bossekr@debian.org>"> +]> + + + 4XSLT + 1 + + + &applname; + command-line tool for performing XSLT transformations on XML documents + + + SYNOPSIS + + &applname; + -h--help + -V--version + -v--validate + -i--ignore + --media=MEDIA + -D--define=NAME=VALUE + -P--prefix=PREFIX=NSURI + -I--alt-sty-uri=URI + -o--outfile=FILE + -e--stacktract-on-error + --noxinclude + --trace + --trace-file=FILE + --reflex + --compile + --instant + --chain + --time + --msg-prefix=STRING + --msg-suffix=STRING + --no-messages + source-uri + stylesheet-uri + + + + OPTIONS + The program follows the usual GNU command line syntax, with long + options starting with two dashes (`-'). + + + -h, --help + + Show detailed help message. + + + + -V, --version + + Display version information and exit. + + + + -v, --validate + + DTD validate the input file as it is being parsed. + + + + -i, --ignore + + Ignore <?xml-stylesheet ...?> instructions. + + + + --media=MEDIA + + Set media to honor in xml-stylesheet PIs. + + + + -D, --define=NAME=VALUE + + Bind a top-level parameter. + + + + -P, --prefix=PREFIX=NSURI + + Assign a namespace to a prefix used in a top-level parameter. + + + + -I, --alt-sty-path=PATH + + Same as --alt-sty-uri but uses OS path. + + + + --alt-sty-uri=PATH + + Define an add'l base URI for imports & includes. + + + + -o, --outfile=FILE + + Direct transformation output to FILE (file will be overwritten if it exists). + + + + -e, --stacktrace-on-error + + Display a stack trace when an error occurs. + + + + --noxinclude + + Do not expand XIncludes in source document and stylesheet. + + + + --trace + + Send execution trace output to stderr or file set by --trace-file. + + + + --trace-file=FILE + + Trace file for execution trace output when using --trace. + + + + --reflex + + Reflexive transform (the stylesheet is also the source document). + + + + --compile + + Compile an instant stylesheet. The result is written to stdout, unless -o is used. + + + + --instant + + The stylesheet is "instant" (compiled). Only one stylesheet can be specified with this option. + + + + --chain + + Chain the stylesheets (result of transforming with the first is the source document for transforming with the second, and so on). Without this option, each extra stylesheet is imported by the preceding one. + + + + --time + + Display the elapsed transformation time on stderr. + + + + --msg-prefix=STRING + + Prepend string to xsl:message output. + + + + --msg-suffix=STRING + + Append string to xsl:message output. + + + + --no-messages + + Suppress xsl:message output and warnings. + + + + source-uri + + The URI of the XML document to transform, or "-" to indicate standard input. If using --reflex, it is also the stylesheet. If using --compile, it is the stylesheet to compile. + + + + stylesheet-uri + + The URI(s) of the stylesheet(s) to apply. + + + + + + AUTHOR + &username; &useremail; + + + VERSION + &revision; + + + COPYRIGHT + Copyright © &year; &username; + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + + + --- python-4suite-1.0.2.orig/debian/4xupdate.sgml +++ python-4suite-1.0.2/debian/4xupdate.sgml @@ -0,0 +1,99 @@ + + + + + <bossekr@debian.org>"> +]> + + + 4XUPDATE + 1 + + + &applname; + command-line tool for performing XUpdates on XML documents + + + SYNOPSIS + + &applname; + -h--help + -V--version + -o--outfile=FILE + source-uri + xupdate-uri + + + + OPTIONS + The program follows the usual GNU command line syntax, with long + options starting with two dashes (`-'). + + + -h, --help + + Show detailed help message. + + + + -V, --version + + Display version information and exit. + + + + -o, --outfile=FILE + + Write the result to the given output file. + + + + source-uri + + The URI of the XML document to which to apply the XUpdate, or "-" to indicate standard input. + + + + xupdate-uri + + The URI of the XML document containing XUpdate instructions, or "-" to indicate standard input. + + + + + + AUTHOR + &username; &useremail; + + + VERSION + &revision; + + + COPYRIGHT + Copyright © &year; &username; + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + + + --- python-4suite-1.0.2.orig/debian/patches/00list +++ python-4suite-1.0.2/debian/patches/00list @@ -0,0 +1,9 @@ +#05-Tune4ssConf +#06-DocDirectoriesForDebian +#11-UsingOfEnvironmentVariables +#18-DashboardConfig +#19-DebianQuickStart +#21-stdint-include +40-xmlcatalog +41-xmlcatalog +42-newdocbookexamples --- python-4suite-1.0.2.orig/debian/patches/42-newdocbookexamples.dpatch +++ python-4suite-1.0.2/debian/patches/42-newdocbookexamples.dpatch @@ -0,0 +1,168 @@ +#! /bin/sh -e +## 42-newdocbookexamples.dpatch by Andreas Hoenen +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Added working examples with 4xml. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p0 ${patch_opts} < $0;; + -unpatch) patch -R -p0 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- 4Suite-XML-1.0.2/Ft/Data/examples/docbook-article.xml.orig 2007-07-21 23:26:44.000000000 +0200 ++++ 4Suite-XML-1.0.2/Ft/Data/examples/docbook-article.xml 2007-07-21 23:27:41.000000000 +0200 +@@ -1,36 +1,32 @@ +- +- ++ ++ +
+- +- An example article +- +- +- Your first name +- Your surname +- +-
foo@example.com
+-
+-
+- +- +- 2000 +- Copyright string here +- +- +- +- If your article has an abstract then it should go here. +- +-
+- +- +- My first section +- +- This is the first section in my article. +- +- +- My first sub-section +- +- This is the first sub-section in my article. +- +- ++ ++ NormanWalsh ++ ndw ++ 339-343 ++ 15 ++ 3 ++ The TeX User's Group ++ 1994 ++ A World Wide Web Interface to CTAN ++ CTAN-Web ++ ++ ++ 1.0 ++ 28 Mar 1994 ++ Submitted. ++ ++ ++ 0.5 ++ 15 Feb 1994 ++ First draft for review. ++ ++ ++ ++ ++The body of the article … ++ +
++ +--- 4Suite-XML-1.0.2/Ft/Data/examples/docbook-book.xml.orig 2007-07-21 23:28:15.000000000 +0200 ++++ 4Suite-XML-1.0.2/Ft/Data/examples/docbook-book.xml 2007-07-21 23:28:51.000000000 +0200 +@@ -1,42 +1,31 @@ +- +- ++ ++ + +- +- An Example Book +- +- +- Your first name +- Your surname +- +-
foo@example.com
+-
+-
+- +- +- 2000 +- Copyright string here +- +- +- +- If your book has an abstract then it should go here. +- +-
+- +- +- Preface +- +- Your book may have a preface, in which case it should be placed here. +- +- +- +- My first chapter +- +- This is the first chapter in my book. +- +- +- My first section +- +- This is the first section in my book. +- +- ++An Example Book ++Example ++ ++ No notice is required. ++ NormanWalsh ++ ++ ++ ++This book is dedicated to you. ++ ++ ++Foreword ++ ++Some content is always required. ++ ++ ++Required Chapter ++ ++At least one chapter, reference, part, or article is required in a book. ++ ++ ++Optional Appendix ++ ++Appendixes are optional. ++ ++ +
--- python-4suite-1.0.2.orig/debian/patches/18-DashboardConfig.dpatch +++ python-4suite-1.0.2/debian/patches/18-DashboardConfig.dpatch @@ -0,0 +1,38 @@ +#! /bin/sh -e +## 18-DashboardConfig.dpatch by Raphael Bossek +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Configuration needed to get Dashboard working out-of-the-box +## DP: with Debian GNU/Linux. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- python-4suite-0.99cvs20050418/4Suite/Ft/Server/Server/Dashboard/DashboardConfig.xml.orig 2005-04-19 09:09:26.335266028 +0200 ++++ python-4suite-0.99cvs20050418/4Suite/Ft/Server/Server/Dashboard/DashboardConfig.xml 2005-04-19 09:10:32.937293558 +0200 +@@ -1,8 +1,5 @@ + +- +- ++ /usr/bin + Advanced + Yes + Yes --- python-4suite-1.0.2.orig/debian/patches/41-xmlcatalog.dpatch +++ python-4suite-1.0.2/debian/patches/41-xmlcatalog.dpatch @@ -0,0 +1,38 @@ +#! /bin/sh -e +## 41-xmlcatalog.dpatch by Andreas Hoenen +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add /etc/xml/catalog file by default for Debian GNU/Linux. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p0 ${patch_opts} < $0;; + -unpatch) patch -R -p0 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- 4Suite-XML-1.0.2/Ft/Xml/Catalog.py.orig 2007-07-21 22:43:28.000000000 +0200 ++++ 4Suite-XML-1.0.2/Ft/Xml/Catalog.py 2007-07-21 22:58:59.000000000 +0200 +@@ -546,6 +546,10 @@ + else: + uris.append(path) + ++ # bossekr@debian.org: Add support for /etc/xml/catalog file. ++ if os.path.exists("/etc/xml/catalog"): ++ uris.append(Uri.OsPathToUri("/etc/xml/catalog")) ++ + # add the default 4Suite catalog + pathname = os.path.join(GetConfigVar('DATADIR'), basename) + if GetConfigVar('RESOURCEBUNDLE'): --- python-4suite-1.0.2.orig/debian/patches/05-Tune4ssConf.dpatch +++ python-4suite-1.0.2/debian/patches/05-Tune4ssConf.dpatch @@ -0,0 +1,75 @@ +#! /bin/sh -e +## 05-Tune4ssConf.dpatch by Raphael Bossek +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- python-4suite-0.99cvs20050329/4Suite/sysconf/4ss.conf.sample 2005-03-29 20:34:41.524366052 +0200 ++++ python-4suite-0.99cvs20050329/4Suite/sysconf/4ss.conf.sample.orig 2005-03-29 20:37:14.796761505 +0200 +@@ -7,38 +7,33 @@ + + ftss + +- +- + + + xmlserver + +- --> + +- ++ +- + ++ --> + + +- /tmp/4ss.pid +- /tmp/4ss.log ++ /var/run/4Suite/4ss.pid ++ /var/log/4Suite/4ss.log + + + +- debug ++ notice + + + --- python-4suite-1.0.2.orig/debian/patches/40-xmlcatalog.dpatch +++ python-4suite-1.0.2/debian/patches/40-xmlcatalog.dpatch @@ -0,0 +1,54 @@ +#! /bin/sh -e +## 40-xmlcatalogs.dpatch by Andreas Hoenen +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix processing of /etc/xml/catalog file. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p0 ${patch_opts} < $0;; + -unpatch) patch -R -p0 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- 4Suite-XML-1.0.2/Ft/Xml/Catalog.py.orig 2007-07-21 22:43:28.000000000 +0200 ++++ 4Suite-XML-1.0.2/Ft/Xml/Catalog.py 2007-07-21 22:44:33.000000000 +0200 +@@ -460,7 +460,7 @@ + self.systemRewrites.append(rewriteRule) + elif name == 'delegateSystem': + # delegate systemId to specific catalog +- if self.__ensure_attrs(name, attrs, 'systemIdStartString', 'catalog '): ++ if self.__ensure_attrs(name, attrs, 'systemIdStartString', 'catalog'): + startString = attrs[(None, 'systemIdStartString')] + catalog = Uri.Absolutize(attrs[(None, 'catalog')], base) + delegate = Catalog(catalog, self.quiet) +@@ -469,7 +469,7 @@ + + elif name == 'delegatePublic': + # delegate publicId to specific catalog +- if self.__ensure_attrs(name, attrs, 'publicIdStartString', 'catalog '): ++ if self.__ensure_attrs(name, attrs, 'publicIdStartString', 'catalog'): + # save the state of prefer_public also + startString = attrs[(None, 'publicIdStartString')] + catalog = Uri.Absolutize(attrs[(None, 'catalog')], base) +@@ -479,7 +479,7 @@ + self.publicDelegates.append(delegateRule) + elif name == 'delegateURI': + # delegate URI to specific catalog +- if self.__ensure_attrs(name, attrs, 'uriStartString', 'catalog '): ++ if self.__ensure_attrs(name, attrs, 'uriStartString', 'catalog'): + startString = attrs[(None, 'uriStartString')] + catalog = Uri.Absolutize(attrs[(None, 'catalog')], base) + delegate = Catalog(catalog, self.quiet) --- python-4suite-1.0.2.orig/debian/patches/19-DebianQuickStart.dpatch +++ python-4suite-1.0.2/debian/patches/19-DebianQuickStart.dpatch @@ -0,0 +1,71 @@ +#! /bin/sh -e +## 19-DebianQuickStart.dpatch by Raphael Bossek +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Extended the QuickStart guide with Debian GNU/Linux related +## DP: informations. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- python-4suite-0.99cvs20050418/4Suite/docs/xml/HowTos/QuickStart.doc.orig 2005-04-19 10:41:40.040898568 +0200 ++++ python-4suite-0.99cvs20050418/4Suite/docs/xml/HowTos/QuickStart.doc 2005-04-19 10:48:01.496679351 +0200 +@@ -30,6 +30,13 @@ + Fourthought, Inc. + + ++ ++ Raphael ++ Bossek ++ ++ Debian GNU/Linux ++ ++ + + + This document can be freely translated and distributed. It is released under the LDP License. +@@ -74,6 +81,12 @@ + MJB + Configuration info moved from HOWTOs to here; intro added + ++ ++ 0.4.1 ++ 2005-04-19 ++ bossekr ++ Added Debian GNU/Linux related informations ++ + + + 4Suite +@@ -102,6 +115,15 @@ + It is assumed that the user has already installed 4Suite according to the UNIX or Windows installation guide (a "HOWTO"). + +
++ Debian GNU/Linux ++ Please read this Debian GNU/Linux reletaed paragraphs carefully. They affect the whole document. ++ Tune your preferred configuration for the 4Suite RDF Controller (Server) using the /etc/defaults/4ssd file. ++ Do not call 4ssd application direct. Use 4ss_manager to do the job. ++ The preferred way to run 4ss_manager is as user/gruop `ftss' which is automatically created on installation of python-4suite-server package. To do so start as root `# su ftss -c "4ss_manager init"' or any of the other commands which modify the repository in /var/lib/4Suite directory. ++ The /etc/init.d/4ssd will also start 4ssd as user/group `ftss'. This can be changed by DAEMON_USER in /etc/defaults/4ssd. ++ The PID and the LOG are stored within /var/run/4Suite/4ss.pid and /var/log/4Suite/4ss.log files until the defaults are changed in /etc/4Suite/4ss.conf. Do not forget to change the /etc/default/4ssd file too. ++
++
+ Repository and RDF Model Setup + The repository and the RDF model are distinct, yet integrated, components of 4Suite. For a description of them and information about why you might want to use them, see other 4Suite documentation. + Setup requires creating a configuration file, setting 1 or 2 environment variables, and running a command-line utility to initialize the repository and model. --- python-4suite-1.0.2.orig/debian/patches/11-UsingOfEnvironmentVariables.dpatch +++ python-4suite-1.0.2/debian/patches/11-UsingOfEnvironmentVariables.dpatch @@ -0,0 +1,42 @@ +#! /bin/sh -e +## 11-UsingOfEnvironmentVariables.dpatch by Raphael bossek +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p0 ${patch_opts} < $0;; + -unpatch) patch -R -p0 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- 4Suite/Ft/Server/Server/Commands/CommandUtil.py.orig 2005-05-20 22:21:44.000000000 +0200 ++++ 4Suite/Ft/Server/Server/Commands/CommandUtil.py 2005-09-27 08:02:45.900827248 +0200 +@@ -63,12 +63,12 @@ + if 'username' in options: + userName = options['username'] + else: +- userName = None ++ userName = os.environ.get('FTSS_USERNAME', None) + + if 'password' in options: + passwdHash = sha.new(options['password']).hexdigest() + else: +- passwdHash = None ++ passwdHash = os.environ.get('FTSS_PASSWORD', None) + + if userName is None and passwdHash is None: + # Try and use a stored login --- python-4suite-1.0.2.orig/debian/patches/12-FHSCompliance.dpatch +++ python-4suite-1.0.2/debian/patches/12-FHSCompliance.dpatch @@ -0,0 +1,36 @@ +#! /bin/sh -e +## 12-FHSCompliance.dpatch by Raphael Bossek +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- python-4suite-0.99cvs20050329/4Suite/Ft/Server/Server/Launcher.py.orig 2005-03-29 20:45:47.425462364 +0200 ++++ python-4suite-0.99cvs20050329/4Suite/Ft/Server/Server/Launcher.py 2005-03-29 20:46:47.412182627 +0200 +@@ -35,7 +35,7 @@ + location of other executable applications on your platform. + """ + from Ft import GetConfigVar +- executable = os.path.join(GetConfigVar('BINDIR'), name) ++ executable = os.path.join(GetConfigVar('DATADIR'), name) + if sys.platform == 'win32': + # Determine if we are running a debug Python + if sys.executable.endswith('_d.exe'): --- python-4suite-1.0.2.orig/debian/patches/16-DynLinkExpatLib.dpatch +++ python-4suite-1.0.2/debian/patches/16-DynLinkExpatLib.dpatch @@ -0,0 +1,69 @@ +#! /bin/sh -e +## 16-DynLinkExpatLib.dpatch by Raphael Bossek +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: By default 4Suite link Ft.Xml.cDomlettec staticly against a +## DP: version of Expact distributed with the sources. +## DP: This leads to version inconsistency with distribution like +## DP: Debian where a different version of Expat is installed. The +## DP: first real life problem was reported with mod_python extension +## DP: for Apache. +## DP: . +## DP: To avoid this problems in the future and to profit from fixes +## DP: in the Debian libexpat1 package the Ft.Xml.cDomlettec will be +## DP: linked dynamic against the libexpat1 shared object on Debian. +## DP: . +## DP: An another problem is are the different compile options used +## DP: by 4Suite and the Debian build. XML_UNICODE is not defined for +## DP: Debian build. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p0 ${patch_opts} < $0;; + -unpatch) patch -R -p0 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Naur 4Suite.orig/packages/Xml.pkg 4Suite/packages/Xml.pkg +--- 4Suite.orig/packages/Xml.pkg 2005-09-24 03:22:23.000000000 +0200 ++++ 4Suite/packages/Xml.pkg 2005-10-03 23:01:34.000000000 +0200 +@@ -39,7 +39,6 @@ + 'include docs/xml/HowTos/*', + 'include Ft/Lib/DistExt/stubmain.c', + 'include Ft/Lib/src/win32con.c', +- 'include Ft/Xml/src/expat/COPYING', + 'include Ft/Xml/src/gencharset.py', + ] + +@@ -114,15 +113,11 @@ + Extension('Ft.Xml.cDomlettec', + define_macros=[('HAVE_EXPAT_CONFIG_H', None), + ('Domlette_BUILDING_MODULE', None), ++ ('XML_UNICODE_WCHAR_T', None), + ], +- include_dirs=['Ft/Xml/src', +- 'Ft/Xml/src/expat/lib', +- ], +- sources=['Ft/Xml/src/expat/lib/xmlparse.c', +- 'Ft/Xml/src/expat/lib/xmlrole.c', +- 'Ft/Xml/src/expat/lib/xmltok.c', +- +- 'Ft/Xml/src/domlette/domlette.c', ++ include_dirs=['Ft/Xml/src'], ++ libraries=['expatwwc'], ++ sources=['Ft/Xml/src/domlette/domlette.c', + 'Ft/Xml/src/domlette/exceptions.c', + 'Ft/Xml/src/domlette/reader.c', + 'Ft/Xml/src/domlette/nss.c', --- python-4suite-1.0.2.orig/debian/patches/06-DocDirectoriesForDebian.dpatch +++ python-4suite-1.0.2/debian/patches/06-DocDirectoriesForDebian.dpatch @@ -0,0 +1,46 @@ +#! /bin/sh -e +## 06-DocDirectoriesForDebian.dpatch by Raphael Bossek +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change documentation to match installation on Debian GNU/Linux. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p0 ${patch_opts} < $0;; + -unpatch) patch -R -p0 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad 4Suite.orig/docs/xml/HowTos/QuickStart.doc 4Suite/docs/xml/HowTos/QuickStart.doc +--- 4Suite.orig/docs/xml/HowTos/QuickStart.doc Tue Feb 17 04:04:46 2004 ++++ 4Suite/docs/xml/HowTos/QuickStart.doc Mon May 31 17:58:57 2004 +@@ -117,7 +117,7 @@ +
+ Create the Configuration File + The repository and model are never accessed directly; all communication with them is done via a network server called the Controller, or "4ssd". This daemon listens on a certain port (8803, by default) and uses a custom RPC protocol ("FtRpc") for request/response communication. +- The controller needs a configuration file to tell it what driver to use for accessing the database (FlatFile or Postgres), where the database is, where to put the log file, etc. Sample config files for Windows and Unix are provided in the appendices of this document, and they are also provided in the 4Suite distribution; on Unix look for {PYTHON_HOME}/.../4ss.conf, and on Windows look for C:\Python23\Share\Settings\4Suite\4ss.conf. ++ The controller needs a configuration file to tell it what driver to use for accessing the database (FlatFile or Postgres), where the database is, where to put the log file, etc. Sample config files for Windows and Unix are provided in the appendices of this document, and they are also provided in the 4Suite distribution; on Unix look for /etc/4Suite/4ss.conf, and on Windows look for C:\Python23\Share\Settings\4Suite\4ss.conf. + + + Use one of the sample configuration files in the appendices below, making adjustments to the LogFile and PidFile elements as necessary (set these to wherever you want the files to be created). Save the config on your system anywhere, under any name. We typically call it "4ss.conf", but the name really doesn't matter. +@@ -126,7 +126,7 @@ + Now set the environment variable FTSERVER_CONFIG_FILE to be the full path to the file. For example, if you put the file at /usr/local/etc/4ss.conf, then that's what you'd set FTSERVER_CONFIG_FILE to. If you put it at C:\temp\4ss.conf, then use that. This environment variable must be set. + + +- If you are using FlatFile (you probably are, since these directions don't tell you otherwise), then you may want to set the environment variable FT_DATABASE_DIR. This variable tells 4Suite where to look for the FlatFile databases, so set it to the directory where you want the files to be stored. If FT_DATABASE_DIR isn't set, then the default will be {python}/Ft/Share/Data/FlatFile. ++ If you are using FlatFile (you probably are, since these directions don't tell you otherwise), then you may want to set the environment variable FT_DATABASE_DIR. This variable tells 4Suite where to look for the FlatFile databases, so set it to the directory where you want the files to be stored. If FT_DATABASE_DIR isn't set, then the default will be /var/lib/4Suite/FlatFile. + + +
--- python-4suite-1.0.2.orig/debian/patches/20-FixFtLibRandom.dpatch +++ python-4suite-1.0.2/debian/patches/20-FixFtLibRandom.dpatch @@ -0,0 +1,36 @@ +#! /bin/sh -e +## 20-FixFtLibRandom.dpatch by Raphael Bossek +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix type in code. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- python-4suite-0.99cvs20060109/4Suite.orig/Ft/Lib/Random.py 2006-01-08 02:23:09.000000000 +0100 ++++ python-4suite-0.99cvs20060109/4Suite/Ft/Lib/Random.py 2006-01-09 21:07:01.000000000 +0100 +@@ -62,7 +62,7 @@ + bytes = "" + while len(bytes) < n: + bytes += os.read(_urandomfd, n - len(bytes)) +- close(_urandomfd) ++ os.close(_urandomfd) + return bytes + random._urandom = urandom + else: --- python-4suite-1.0.2.orig/debian/patches/21-stdint-include.dpatch +++ python-4suite-1.0.2/debian/patches/21-stdint-include.dpatch @@ -0,0 +1,36 @@ +#! /bin/sh -e +## 21-stdint-include.dpatch by Matthias Klose +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix type in code. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- ./4Suite/Ft/Xml/src/expat/lib/expat.h.orig 2006-10-13 10:25:16.578388000 +0000 ++++ ./4Suite/Ft/Xml/src/expat/lib/expat.h 2006-10-13 10:24:03.898388000 +0000 +@@ -14,6 +14,8 @@ + #define XML_SetExternalEntityRefHandlerArg XML_SetExternalEntRefHandlerArg + #endif + ++#include ++ + #include "expat_external.h" + + #include