--- sip4-qt3-4.9.3.orig/debian/control +++ sip4-qt3-4.9.3/debian/control @@ -0,0 +1,71 @@ +Source: sip4-qt3 +Section: devel +Priority: optional +Maintainer: Kubuntu Developers +XSBC-Original-Maintainer: Debian Python Modules Team +Uploaders: Torsten Marek , Bernd Zeimetz , Michael Casadevall +Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1), dpatch +Standards-Version: 3.8.3 +Homepage: http://www.riverbankcomputing.co.uk/software/sip/ +Vcs-Svn: svn://svn.debian.org/python-modules/packages/sip4-qt3/trunk +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/sip4-qt3/trunk/ +XS-Python-Version: all + +Package: sip4 +Architecture: any +Depends: ${shlibs:Depends}, libjs-jquery +Recommends: python-sip4-dev +Description: Python/C++ bindings generator + SIP is a tool for generating bindings for C++ classes with some ideas + borrowed from SWIG, but capable of tighter bindings, because it's + specific to C++ and Python. + . + WARNING: This is only the sip4 tool. If you are going to compile something + produced by it, you will also need python-sip4-dev. + . + SIP was originally designed to generate Python bindings for KDE and so + has explicit support for the signal slot mechanism used by the Qt/KDE + class libraries. + . + Features: + - connecting Qt signals to Python functions and class methods + - connecting Python signals to Qt slots + - overloading virtual member functions with Python class methods + - protected member functions + - abstract classes + - enumerated types + - global class instances + - static member functions. + +Package: python-sip4 +Architecture: any +Section: python +Provides: ${python:Provides} +Depends: ${python:Depends}, ${shlibs:Depends} +Description: Python/C++ bindings generator runtime library + SIP is a tool for generating bindings for C++ classes with some ideas + borrowed from SWIG, but capable of tighter bindings because of its + specificity towards C++ and Python. + +Package: python-sip4-dbg +Priority: extra +Architecture: any +Section: debug +Provides: ${python:Provides} +Depends: python-sip4 (= ${binary:Version}), python-dbg, ${shlibs:Depends} +Description: Python/C++ bindings generator runtime library (debug extension) + SIP is a tool for generating bindings for C++ classes with some ideas + borrowed from SWIG, but capable of tighter bindings because of its + specificity towards C++ and Python. + . + This package contains the extension built for the Python debug interpreter. + +Package: python-sip4-dev +Architecture: all +Section: python +Depends: ${python:Depends}, python-dev +Recommends: python-sip4 (>= ${source:Version}) +Description: Python/C++ bindings generator development files + SIP is a tool for generating bindings for C++ classes with some ideas + borrowed from SWIG, but capable of tighter bindings because of its + specificity towards C++ and Python. --- sip4-qt3-4.9.3.orig/debian/docs +++ sip4-qt3-4.9.3/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- sip4-qt3-4.9.3.orig/debian/watch +++ sip4-qt3-4.9.3/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://www.riverbankcomputing.co.uk/software/sip/download \ + /static/Downloads/sip4/sip-([\d\.]*)\.tar\.gz debian uupdate --- sip4-qt3-4.9.3.orig/debian/sip4.install +++ sip4-qt3-4.9.3/debian/sip4.install @@ -0,0 +1 @@ +usr/bin/* --- sip4-qt3-4.9.3.orig/debian/rules +++ sip4-qt3-4.9.3/debian/rules @@ -0,0 +1,159 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DH_OPTIONS + +include /usr/share/dpatch/dpatch.make + +INSTDIR=$(CURDIR)/debian + +CFLAGS= + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 -g +else + CFLAGS += -O2 -g +endif + +PYTHONS := $(shell pyversions -vr debian/control) + +-include /usr/share/python/python.mk +ifeq (,$(py_sitename)) +py_sitename = site-packages +py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages +py_sitename_sh = $(py_sitename) +py_libdir_sh = $(py_libdir) +endif + + +.PRECIOUS: build-%/configure-stamp dbg-build-%/configure-stamp + +configure: $(PYTHONS:%=build-%/configure-stamp) $(PYTHONS:%=dbg-build-%/configure-stamp) + +build-%/configure-stamp: patch-stamp + dh_testdir + mkdir -p build-$* + cd build-$* \ + && python$* ../configure.py \ + -d /usr/lib/python$*/$(call py_sitename,$*) \ + -u STRIP="" CFLAGS="${CFLAGS}" CFLAGS_RELEASE="" CXXFLAGS="${CFLAGS}" CXXFLAGS_RELEASE="" + touch $@ + +dbg-build-%/configure-stamp: patch-stamp + dh_testdir + mkdir -p dbg-build-$* + cd dbg-build-$* \ + && python$*-dbg ../configure.py \ + -d /usr/lib/python$*/$(call py_sitename,$*) \ + -e /usr/include/python$*_d \ + -u CFLAGS="-O0 -g" CFLAGS_RELEASE="" CXXFLAGS="-O0 -g" CXXFLAGS_RELEASE="" STRIP="" + touch $@ + + +build: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp) + +build-%/build-stamp: build-%/configure-stamp + dh_testdir + $(MAKE) -C build-$* + touch $@ + +dbg-build-%/build-stamp: dbg-build-%/configure-stamp + dh_testdir + $(MAKE) -C dbg-build-$* + touch $@ + + +clean: unpatch + dh_testdir + dh_testroot + rm -rf *-stamp siputils.pyc $(PYTHONS:%=build-%) $(PYTHONS:%=dbg-build-%) + dh_clean + +install-indep-pre: configure + dh_testdir + dh_testroot + dh_clean -i + dh_installdirs -i + +install-indep-%: install-indep-pre + mkdir -p debian/python-sip4-dev/usr/include/python$* + install -m 644 -o root -g root siplib/sip.h debian/python-sip4-dev/usr/include/python$*/ + mkdir -p debian/python-sip4-dev/usr/include/python$*_d + ln -s ../python$*/sip.h \ + debian/python-sip4-dev/usr/include/python$*_d/sip.h + mkdir -p debian/python-sip4-dev/usr/lib/python$*/$(call py_sitename,$*) + install -m 644 -o root -g root sipdistutils.py debian/python-sip4-dev/usr/lib/python$*/$(call py_sitename,$*) + +install-indep: $(PYTHONS:%=install-indep-%) + dh_install -i + +install-arch: build + dh_testdir + dh_testroot + dh_prep -a + dh_installdirs -a + # This is needed to enforce that the install-arch-% rules are + # not run in parallel. Both rules install into the same directory, + # and therefore might try to access the same files at the same time. + # Therefore, instead of depending on the install-arch-% rules, + # we invoke them explicitly. + for p in $(PYTHONS) ; do \ + $(MAKE) -f debian/rules install-arch-$$p;\ + done + + for i in $$(find debian/python-sip4-dbg -name '*.so'); do \ + b=$$(basename $$i .so); \ + mv $$i $$(dirname $$i)/$${b}_d.so; \ + done + find debian/python-sip4-dbg ! -type d ! -name '*_d.*' | xargs rm -f + find debian/python-sip4-dbg -depth -empty -exec rmdir {} \; + + dh_install -a --sourcedir=$(CURDIR)/debian/tmp + +install-arch-%: + $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp + $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-sip4-dbg + mkdir -p debian/python-sip4/usr/lib/python$*/$(call py_sitename,$*)/ + install -m 644 -o root -g root debian/sipconfig.py debian/python-sip4/usr/lib/python$*/$(call py_sitename,$*)/ + install -m 644 -o root -g root build-$*/sipconfig.py debian/python-sip4/usr/lib/python$*/$(call py_sitename,$*)/sipconfig_nd.py + install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip4-dbg/usr/lib/python$*/$(call py_sitename,$*)/sipconfig_d.py + +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installman + dh_installchangelogs ChangeLog + dh_installdocs -A + dh_installexamples + dh_link +# don't call strip twice, it's in binary-common +ifneq (,$(findstring -a, $(DH_OPTIONS))) + DH_OPTIONS= dh_strip -psip4 + DH_OPTIONS= dh_strip -ppython-sip4 -Nsip4 --dbg-package=python-sip4-dbg + rm -rf debian/python-sip4-dbg/usr/share/doc/python-sip4-dbg + mkdir -p debian/python-sip4-dbg/usr/share/doc + ln -s python-sip4 debian/python-sip4-dbg/usr/share/doc/python-sip4-dbg +endif + dh_compress + dh_fixperms + dh_pysupport + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary configure --- sip4-qt3-4.9.3.orig/debian/python-sip4.install +++ sip4-qt3-4.9.3/debian/python-sip4.install @@ -0,0 +1 @@ +usr/lib/python*/*-packages/sip.so --- sip4-qt3-4.9.3.orig/debian/changelog +++ sip4-qt3-4.9.3/debian/changelog @@ -0,0 +1,494 @@ +sip4-qt3 (4.9.3-0ubuntu1) lucid; urgency=low + + * New upstream release + + -- Alessandro Ghersi Thu, 03 Dec 2009 22:34:44 +0100 + +sip4-qt3 (4.9.1-snapshot-20091015-0ubuntu1) karmic; urgency=low + + * New upstream snapshot, closes LP: #451915 "printer-applet.py + crashed with SIGSEGV in PyDict_GetItem()" + + -- Jonathan Riddell Sat, 17 Oct 2009 01:17:35 +0100 + +sip4-qt3 (4.9-1) unstable; urgency=high + + * New upstream release that corrects a licensing issue + (Closes: #543730) (LP: #444742) + * Justificatoin of urgency=high due to licensing in testing + * debian/patches/01_configure.dpatch: + - Refreshed for new source version + * debian/patches/02_siputils.dpatch: + - Refreshed for new source version + * Updated copyright file to reflect new licensing terms + + -- Michael Casadevall Tue, 06 Oct 2009 13:26:13 -0400 + +sip4-qt3 (4.8.2-1) unstable; urgency=low + + [ Torsten Marek ] + * New upstream release + * debian/rules + - Fix rule dependencies to allow parallel builds + + [ Michael Casadevall ] + * debian/control: + - Bumped standard version to 3.8.3 + - Update Maintainer field to Python Modules Packaging Team (Closes: #540937) + - Add myself to uploaders + - Added XS-Python-Version field + - Bumped debhelper build-dep to 7 + * debian/README.source + - New file to explain patch system + + -- Torsten Marek Fri, 28 Aug 2009 20:22:06 +0200 + +sip4-qt3 (4.8.1-1) unstable; urgency=low + + * New upstream release + + -- Torsten Marek Thu, 18 Jun 2009 20:33:33 +0200 + +sip4-qt3 (4.8-1) unstable; urgency=low + + [ Torsten Marek ] + * New upstream release + * Removed debian/pycompat, not needed anymore + * debian/control + - Add dependency to libjs-jquery since sip4's docs are + now done using sphinx + * debian/rules + - Install configuration modules in python-sip4{,-dbg} instead of + python-sip4-dev (Closes: #530846) + + [ Bernd Zeimetz ] + * Fixing override disparity: Set 'debug' as sectiong for the -dbg package. + * Bumping Standards-Version to 3.8.1, no changes needed. + * Migrating to python-support. + * Merging changes from Ubuntu to build for Python 2.6. We + don't use python-central stuff, though. + + + -- Torsten Marek Tue, 09 Jun 2009 22:18:29 +0200 + +sip4-qt3 (4.7.9-2) unstable; urgency=low + + * Upload to unstable as the package is needed for KDE4. + * Adding myself to Uploaders. + + -- Bernd Zeimetz Sun, 05 Apr 2009 20:52:40 +0200 + +sip4-qt3 (4.7.9-1) experimental; urgency=low + + [ Torsten Marek ] + * New upstream release + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + -- Torsten Marek Sat, 22 Nov 2008 18:38:16 +0100 + +sip4-qt3 (4.7.7-1) experimental; urgency=low + + * New upstream release + + -- Torsten Marek Tue, 12 Aug 2008 08:10:22 +0200 + +sip4-qt3 (4.7.6-1) unstable; urgency=low + + [ Torsten Marek ] + * New upstream release + + [ Sandro Tosi ] + * debian/control + - updated Homepage field; Closes: #484595 + - bump Standards-Version to 3.8.0 (no changes needed) + * debian/watch + - updated + + -- Torsten Marek Wed, 11 Jun 2008 23:19:27 +0200 + +sip4-qt3 (4.7.4-1) unstable; urgency=low + + * New upstream release 4.7.4 + + -- Torsten Marek Thu, 14 Feb 2008 23:16:48 +0100 + +sip4-qt3 (4.7.3-2) UNRELEASED; urgency=low + + * debian/control + - uniforming both Vcs-Vsn and Vcs-Browser fields + + -- Sandro Tosi Thu, 03 Jan 2008 11:40:01 +0100 + +sip4-qt3 (4.7.3-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) + + [ Torsten Marek ] + * New upstream release. + * Bumped standards version to 3.7.3, no changes necessary. + + -- Torsten Marek Sun, 16 Dec 2007 14:54:53 +0100 + +sip4-qt3 (4.7.1-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * XS-Vcs-Svn, XS-Vcs-Browser and Homepage fields added + + [ Torsten Marek ] + * New upstream release. + * Expose private members of sipconfig_*.py as well. (Closes: #444259) + + -- Torsten Marek Sun, 30 Sep 2007 14:03:51 +0200 + +sip4-qt3 (4.7-5) unstable; urgency=low + + * Upload to unstable. + + -- Torsten Marek Sun, 16 Sep 2007 00:16:59 +0200 + +sip4-qt3 (4.7-4) experimental; urgency=low + + * Added DPMT to Uploaders field. + * Merge back changes from Ubuntu, including: + * Better debian/rules file + * Support for debug packages + + -- Torsten Marek Sat, 08 Sep 2007 22:25:09 +0200 + +sip4-qt3 (4.7-3) unstable; urgency=low + + * Handle DEB_BUILD_OPTIONS settings correctly + + -- Torsten Marek Fri, 31 Aug 2007 22:21:15 +0200 + +sip4-qt3 (4.7-2) unstable; urgency=low + + * Add proper dependencies to python-sip4-dev (Closes: #435788) + + -- Torsten Marek Sun, 12 Aug 2007 11:05:21 +0200 + +sip4-qt3 (4.7-1) unstable; urgency=low + + * New upstream release + * sipconfig.py and sipdistutils.py have been moved to python-sip4-dev + * python-sip4-dev does not depend on python-sip4 any more, only + recommends it + * Updated the sip.1 manpage. + + -- Torsten Marek Tue, 31 Jul 2007 19:30:26 +0200 + +sip4-qt3 (4.6-1) unstable; urgency=low + + * New upstream release + + -- Torsten Marek Mon, 07 May 2007 21:03:27 +0200 + +sip4-qt3 (4.5.2-1) experimental; urgency=low + + * New upstream release + * Removed patches needed to build against Qt 4.2 + + -- Torsten Marek Wed, 6 Dec 2006 19:40:13 +0100 + +sip4-qt3 (4.4.5-4) unstable; urgency=medium + + * The "backport-shmackport" release + * Support Qt 4.2's mkspecs files + * Remove the QtAssistantClient hack since QtAssistantClient is + now a shared object + * Urgency=medium since fixed PyQt4 depends on changes in + this packge + + -- Torsten Marek Mon, 16 Oct 2006 23:23:59 +0200 + +sip4-qt3 (4.4.5-3) unstable; urgency=low + + * Hack the hack for the library dependencies, + add an exception for QtAssitantClient + * Added debian/pycompat + + -- Torsten Marek Sun, 3 Sep 2006 15:35:38 +0200 + +sip4-qt3 (4.4.5-2) unstable; urgency=low + + * Fix typo in debian/rules: pyversions argument should be -vr, not -vs + * Add replaces and conflicts to python-sip4-dev (Closes: #375117) + + -- Torsten Marek Mon, 26 Jun 2006 19:16:02 +0200 + +sip4-qt3 (4.4.5-1) unstable; urgency=low + + * Acknowledge NMU + * New upstream release + * Fix dependency of dev packages (Closes: #374661) + + -- Torsten Marek Wed, 21 Jun 2006 19:18:18 +0200 + +sip4-qt3 (4.4.3-1.1) unstable; urgency=low + + * Convert to the updated Python policy. Closes: #373383. + + -- Matthias Klose Mon, 19 Jun 2006 21:34:32 +0000 + +sip4-qt3 (4.4.3-1) unstable; urgency=low + + * New upstream release + * Install sipconfig.py again + * Install sipdistutils.py + * Changed my email address to shlomme@debian.org + * Added watch file + * Drop the -qt3 suffix from the Python module packages, as sip4 + supports Qt3 and Qt4 now + * Clean up debian/rules (use binary-common) + * Build-depend on python-all-dev + + -- Torsten Marek Thu, 27 Apr 2006 13:22:21 +0200 + +sip4-qt3 (4.3.1-1) unstable; urgency=low + + * New upstream release + * Include upstream changelog + + -- Torsten Marek Sun, 11 Sep 2005 17:03:43 +0200 + +sip4-qt3 (4.3-1) unstable; urgency=low + + * New upstream release + * Updated standards version to 3.6.2 + * Removed Conflicts: with packages that do not exist in Debian any more + * g++ ABI transition (closes: Bug#325982) + * Removed README.Debian. It was for sip3 and has no meaning with + sip4. + + -- Torsten Marek Thu, 1 Sep 2005 01:01:28 +0200 + +sip4-qt3 (4.2.1-1) unstable; urgency=low + + * New upstream release + * Added packages for Python 2.4 + * Standards version updated to 3.6.1.0 + * Build-depends adapted (python2.3-dev and python2.4-dev), + autoconf, bison and flex removed + * The sip4 build system has been tweaked in several ways + to allow parrallel builds for different versions of Python + + -- Torsten Marek Sun, 6 Mar 2005 23:30:53 +0100 + +sip4-qt3 (4.1.1-1) unstable; urgency=low + + * New upstream release. + + -- Ricardo Javier Cardenes Medina Tue, 30 Nov 2004 11:54:41 +0000 + +sip4-qt3 (4.1-1) unstable; urgency=low + + * New upstream release. + * Added the programming reference to sip4 package. + + -- Ricardo Javier Cardenes Medina Thu, 23 Sep 2004 00:15:43 +0100 + +sip4-qt3 (4.0.1-2) unstable; urgency=low + + * Added package python-sip4-dev + (closes: Bug#272856) + + -- Ricardo Javier Cardenes Medina Wed, 22 Sep 2004 16:25:53 +0100 + +sip4-qt3 (4.0.1-1) unstable; urgency=low + + * New upstream release + + -- Ricardo Javier Cardenes Medina Mon, 9 Aug 2004 18:27:57 +0100 + +sip4-qt3 (4.0-2) unstable; urgency=low + + * Changed Build-Depends on python2.3-dev to python-dev + (closes: Bug#257912) + + -- Ricardo Javier Cardenes Medina Tue, 6 Jul 2004 18:28:25 +0100 + +sip4-qt3 (4.0-1) unstable; urgency=low + + * New upstream release + * Changed the + * Fixed the debian/copyright file, stating the correct license. + The new license is a derivative of PSF's Python License, only + changing references to the licenser, so it's still free and + GPL-compatible. It doesn't closes bug 255066 because it refers + to the old source package. + + -- Ricardo Javier Cardenes Medina Thu, 10 Jun 2004 00:54:30 +0100 + +sip-qt3 (3.10.1-2) unstable; urgency=low + + * Removed reference to python-qt2 binaries from python2.3-sip-dev + Depends line (closes: Bug#245650) + + -- Ricardo Javier Cardenes Medina Sat, 24 Apr 2004 17:01:10 +0100 + +sip-qt3 (3.10.1-1) unstable; urgency=low + + * New upstream release + * Corrected some dh_make boilerplate on copyright file. + * Corrected upstream's changelog file name (closes: Bug#217159) + * sip4 will support Qt >= 3.0 and Python >= 2.3, so I'm releasing + only Python 2.3 packages from right now. + + -- Ricardo Javier Cardenes Medina Sat, 3 Jan 2004 17:14:02 +0000 + +sip-qt3 (3.8-2) unstable; urgency=low + + * Compiled against Qt 3.2, which substracts a symbol from the API. + + -- Ricardo Javier Cardenes Medina Sat, 3 Jan 2004 17:13:46 +0000 + +sip-qt3 (3.8-1) unstable; urgency=low + + * New upstream release + * Support for Python 2.3 + * Changed default version to Python 2.3 + + -- Ricardo Javier Cardenes Medina Mon, 18 Aug 2003 23:30:13 +0100 + +sip-qt3 (3.7-1) unstable; urgency=low + + * New upstream release + + -- Ricardo Javier Cardenes Medina Sun, 6 Jul 2003 18:44:41 +0100 + +sip-qt3 (3.6-1) unstable; urgency=low + + * New upstream version + * Stripped 'c102' from names. The soname has changed. + + -- Ricardo Javier Cardenes Medina Mon, 28 Apr 2003 01:09:38 +0100 + +sip-qt3 (3.5-3) unstable; urgency=low + + * Compiled with G++ 3.2. Changed the name of the packages providing + shared runtimes according to G++ 3.2 transition plan. + + -- Ricardo Javier Cardenes Medina Mon, 3 Feb 2003 22:05:17 +0000 + +sip-qt3 (3.5-2) unstable; urgency=low + + * Compiled against Qt 3.1.1-CVS + + -- Ricardo Javier Cardenes Medina Mon, 30 Dec 2002 16:32:57 +0000 + +sip-qt3 (3.5-1) unstable; urgency=low + + * New upstream version + * Now sip-qt3 produces some packages (sip, pythonX.Y-sip-dev) that were + previously at sip-qt2. + * Upgraded debhelper dependency to >= 4.0 + * Changed debian/rules acordingly + + -- Ricardo Javier Cardenes Medina Thu, 12 Dec 2002 00:33:08 +0000 + +sip-qt3 (3.4+20021126-2) unstable; urgency=low + + * Compiled with -fno-exceptions + + -- Ricardo Javier Cardenes Medina Wed, 27 Nov 2002 02:14:50 +0000 + +sip-qt3 (3.4+20021114-2) unstable; urgency=low + + * Added -dev packages + * Fixed some bugs on debian/rules + + -- Ricardo Javier Cardenes Medina Sun, 24 Nov 2002 20:13:16 +0000 + +sip-qt3 (3.4+20021114-1) unstable; urgency=low + + * Update to development version + * Now generating python-sip, which depends on the default python + version libsip package + + -- Ricardo Javier Cardenes Medina Sun, 24 Nov 2002 04:35:47 +0000 + +sip-qt3 (3.4-1) unstable; urgency=low + + * New upstream version + * License change + + -- Ricardo Javier Cardenes Medina Tue, 10 Sep 2002 23:24:09 +0100 + +sip-qt3 (3.3.2-1) unstable; urgency=low + + * New upstream version + + -- Ricardo Javier Cardenes Medina Sat, 10 Aug 2002 15:51:42 +0100 + +sip-qt3 (3.3+rc2-1) unstable; urgency=low + + * Update to upstream version + * Changed configuration system + + -- Ricardo Javier Cardenes Medina Sat, 29 Jun 2002 17:53:31 +0100 + +sip-qt3 (3.2.4-1) unstable; urgency=low + + * Update to upstream version + * First version of this source package + + -- Ricardo Javier Cardenes Medina Mon, 6 May 2002 14:20:03 +0100 + +sip (2.5-3) unstable; urgency=low + + * ACK previous NMU. (closes: Bug#127131) + + -- Ricardo Javier Cardenes Medina Tue, 23 Apr 2002 19:59:44 +0100 + +sip (2.5-2.2) unstable; urgency=low + + * Non-maintainer upload: Since I made the dependencies of python versioned, + I also have to make the build-dependencies versioned. + + -- Gregor Hoffleit Mon, 31 Dec 2001 11:33:27 +0100 + +sip (2.5-2.1) unstable; urgency=medium + + * Non-maintainer upload: rebuilt for Python 2.2 (closes: #120709). + sip's configure calls up 'python' and sets the include path for the + Python header files according to its sys.version. Therefore, a + Build-Depends on "python-dev" suffices to build a current package + python-pyqt at any time. What was missing was the installation time + Depends on "python (>= 2.1), python (<< 2.2)". + * sip and python-pyqt hold back the removal of python-base, therefore + an medium urgency. + + -- Gregor Hoffleit Mon, 31 Dec 2001 00:45:30 +0100 + +sip (2.5-2) unstable; urgency=low + + * Previous revision seemed Debian native, as it were not uploaded with + the companion .diff.gz file. + + -- Ricardo Javier Cardenes Medina Mon, 13 Aug 2001 03:37:52 +0100 + +sip (2.5-1) unstable; urgency=low + + * Upstream upgrade + + -- Ricardo Javier Cardenes Medina Mon, 13 Aug 2001 03:28:52 +0100 + +sip (2.4-1) unstable; urgency=low + + * Upstream upgrade + + -- Ricardo Javier Cardenes Medina Thu, 14 Jun 2001 12:56:44 +0100 + +sip (2.2-1) unstable; urgency=low + + * Initial Release. + + -- Ricardo Javier Cardenes Medina Tue, 28 Nov 2000 23:30:23 +0000 + +Local variables: +mode: debian-changelog +End: --- sip4-qt3-4.9.3.orig/debian/sip4.manpages +++ sip4-qt3-4.9.3/debian/sip4.manpages @@ -0,0 +1 @@ +debian/manpages/sip.1 --- sip4-qt3-4.9.3.orig/debian/README.source +++ sip4-qt3-4.9.3/debian/README.source @@ -0,0 +1,38 @@ +This package uses dpatch 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. + +To get the fully patched source after unpacking the source package, cd +to the root level of the source package and run: + + debian/rules patch + +Removing a patch is as simple as removing its entry from the +debian/patches/00list file, and please also remove the patch file +itself. + +Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" +where you should replace XX with a new number and patchname with a +descriptive shortname of the patch. You can then simply edit all the +files your patch wants to edit, and then simply "exit 0" from the shell +to actually create the patch file. + +To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" +and replace XX_patchname with the actual filename from debian/patches +you want to use. + +To clean up afterwards again, "debian/rules unpatch" will do the +work for you - or you can of course choose to call +"fakeroot debian/rules clean" all together. + + +--- + +this documentation is part of dpatch package, and may be used by +packages using dpatch to comply with policy on README.source. This +documentation is meant to be useful to users who are not proficient in +dpatch in doing work with dpatch-based packages. Please send any +improvements to the BTS of dpatch package. + +original text by Gerfried Fuchs, edited by Junichi Uekawa +10 Aug 2008. --- sip4-qt3-4.9.3.orig/debian/sipconfig.py +++ sip4-qt3-4.9.3/debian/sipconfig.py @@ -0,0 +1,13 @@ +# import the sipconfig.py for the normal or the debug build + +import sys + +if getattr(sys, "pydebug", False): + try: + from sipconfig_d import * + from sipconfig_d import _pkg_config, _default_macros + except ImportError, msg: + raise ImportError, 'No module named sipconfig; package python-sip4-dbg not installed' +else: + from sipconfig_nd import * + from sipconfig_nd import _pkg_config, _default_macros --- sip4-qt3-4.9.3.orig/debian/compat +++ sip4-qt3-4.9.3/debian/compat @@ -0,0 +1 @@ +5 --- sip4-qt3-4.9.3.orig/debian/pyversions +++ sip4-qt3-4.9.3/debian/pyversions @@ -0,0 +1 @@ +2.3- --- sip4-qt3-4.9.3.orig/debian/sip4.docs +++ sip4-qt3-4.9.3/debian/sip4.docs @@ -0,0 +1,2 @@ +doc/html +NEWS --- sip4-qt3-4.9.3.orig/debian/copyright +++ sip4-qt3-4.9.3/debian/copyright @@ -0,0 +1,80 @@ +This package was debianized by Ricardo Javier Cardenes Medina on +Tue, 10 Sep 2002 23:12:17 +0100 + +It was downloaded from http://www.riverbankcomputing.co.uk + +Upstream Author: Phil Thompson (phil@riverbankcomputing.co.uk) + +SIP4 is offered under GPLv2, GPLv3, and the SIP 4 license. The text +of the SIP license follows: + +RIVERBANK COMPUTING LIMITED LICENSE AGREEMENT FOR SIP 4.9 + +1. This LICENSE AGREEMENT is between Riverbank Computing Limited +("Riverbank"), and the Individual or Organization ("Licensee") accessing +and otherwise using SIP 4.9 software in source or binary form and its +associated documentation. SIP 4.9 comprises a software tool for +generating Python bindings for software C and C++ libraries, and a Python +extension module used at runtime by those generated bindings. + +2. Subject to the terms and conditions of this License Agreement, Riverbank +hereby grants Licensee a nonexclusive, royalty-free, world-wide license +to reproduce, analyze, test, perform and/or display publicly, prepare +derivative works, distribute, and otherwise use SIP 4.9 alone or in +any derivative version, provided, however, that Riverbank's License +Agreement and Riverbank's notice of copyright, e.g., "Copyright (c) 2009 +Riverbank Computing Limited; All Rights Reserved" are retained in +SIP 4.9 alone or in any derivative version prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates SIP 4.9 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to SIP 4.9. + +4. Licensee may not use SIP 4.9 to generate Python bindings for any +C or C++ library for which bindings are already provided by Riverbank. + +5. Riverbank is making SIP 4.9 available to Licensee on an "AS IS" +basis. RIVERBANK MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, RIVERBANK MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF SIP 4.9 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +6. RIVERBANK SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF +SIP 4.9 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING SIP 4.9, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +7. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +8. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between Riverbank +and Licensee. This License Agreement does not grant permission to use +Riverbank trademarks or trade name in a trademark sense to endorse or +promote products or services of Licensee, or any third party. + +9. By copying, installing or otherwise using SIP 4.9, Licensee +agrees to be bound by the terms and conditions of this License Agreement. + +**** + +SIP is also licensed under the GPLv2 and GPLv3: + +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 version 2 or 3 of the License. + +This program 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 General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . */ + +On Debian systems, the complete text of the GNU General Public License 2 +can be found in `/usr/share/common-licenses/GPL-2'. The complete text of the +GNU General Public License 3 can be found in `/usr/share/common-licenses/GPL-3'. --- sip4-qt3-4.9.3.orig/debian/sip4.links +++ sip4-qt3-4.9.3/debian/sip4.links @@ -0,0 +1 @@ +usr/share/javascript/jquery/jquery.js usr/share/doc/sip4/html/_static/jquery.js --- sip4-qt3-4.9.3.orig/debian/patches/01_configure.dpatch +++ sip4-qt3-4.9.3/debian/patches/01_configure.dpatch @@ -0,0 +1,92 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_configure.dpatch by Torsten Marek +## +## DP: Make it possible to do out-of-source/objectdir builds +## DP: for sip + +@DPATCH@ +diff -urNad sip4-qt3-4.9~/configure.py sip4-qt3-4.9/configure.py +--- sip4-qt3-4.9~/configure.py 2009-09-26 11:14:30.000000000 -0400 ++++ sip4-qt3-4.9/configure.py 2009-10-06 13:42:29.599820891 -0400 +@@ -24,6 +24,15 @@ + + import siputils + ++topsrcdir = os.path.dirname(os.path.abspath(__file__)) ++has_objdir = topsrcdir != os.path.abspath(os.path.curdir) ++if not has_objdir: ++ topsrcdir = None ++ ++def srcPath(filename): ++ if topsrcdir is not None: ++ return os.path.join(topsrcdir, filename) ++ return filename + + # Initialise the globals. + sip_version = 0x040900 +@@ -248,8 +257,11 @@ + macros is the dictionary of platform specific build macros. + """ + # Bootstrap. ++ # make sure to load the currect sipconfig ++ # from our directory ++ sys.path.insert(0, os.path.curdir) + import sipconfig +- ++ + cfg = sipconfig.Configuration() + + cfg.set_build_macros(macros) +@@ -259,7 +271,8 @@ + sipconfig.ParentMakefile( + configuration=cfg, + subdirs=["sipgen", "siplib"], +- installs=(["sipconfig.py", "sipdistutils.py"], cfg.sip_mod_dir) ++ installs=(["sipconfig.py", srcPath("sipdistutils.py")], cfg.sip_mod_dir), ++ has_objdir=has_objdir + ).generate() + + sipconfig.inform("Creating sip code generator Makefile...") +@@ -271,6 +284,7 @@ + install_dir=os.path.dirname(cfg.sip_bin), + console=1, + warnings=0, ++ topsrcdir=topsrcdir, + universal=opts.universal, + arch=opts.arch + ).generate() +@@ -287,6 +301,7 @@ + warnings=0, + static=opts.static, + debug=opts.debug, ++ topsrcdir=topsrcdir, + universal=opts.universal, + arch=opts.arch + ) +@@ -384,7 +399,7 @@ + set_platform_directories() + + # Build up the list of valid specs. +- for s in os.listdir("specs"): ++ for s in os.listdir(srcPath("specs")): + platform_specs.append(s) + + # Parse the command line. +@@ -433,7 +448,7 @@ + opts.universal = '' + + # Get the platform specific macros for building. +- macros = siputils.parse_build_macros(os.path.join("specs", opts.platform), ++ macros = siputils.parse_build_macros(srcPath(os.path.join("specs", opts.platform)), + build_macro_names, args) + + if macros is None: +@@ -444,7 +459,7 @@ + inform_user() + + # Install the configuration module. +- create_config("sipconfig.py", "siputils.py", macros) ++ create_config("sipconfig.py", srcPath("siputils.py"), macros) + + # Create the Makefiles. + create_makefiles(macros) --- sip4-qt3-4.9.3.orig/debian/patches/00list +++ sip4-qt3-4.9.3/debian/patches/00list @@ -0,0 +1,2 @@ +01_configure +02_siputils --- sip4-qt3-4.9.3.orig/debian/patches/02_siputils.dpatch +++ sip4-qt3-4.9.3/debian/patches/02_siputils.dpatch @@ -0,0 +1,193 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_siputils.dpatch by Torsten Marek +## +## DP: Patch for siputils.py adding objectdir support + +@DPATCH@ +diff -urNad sip4-qt3-4.9~/siputils.py sip4-qt3-4.9/siputils.py +--- sip4-qt3-4.9~/siputils.py 2009-09-26 11:14:30.000000000 -0400 ++++ sip4-qt3-4.9/siputils.py 2009-10-06 14:12:44.668507206 -0400 +@@ -203,7 +203,7 @@ + def __init__(self, configuration, console=0, qt=0, opengl=0, python=0, + threaded=0, warnings=1, debug=0, dir=None, + makefile="Makefile", installs=None, universal=None, +- arch=None): ++ topsrcdir=None, arch=None): + """Initialise an instance of the target. All the macros are left + unchanged allowing scripts to manipulate them at will. + +@@ -253,7 +253,14 @@ + self._python = python + self._warnings = warnings + self._debug = debug +- self._dir = dir ++ if topsrcdir is not None: ++ self._dir = os.path.join(topsrcdir, dir) ++ self._objdir = dir ++ self._has_objdir = True ++ else: ++ self._dir = dir ++ self._has_objdir = False ++ + self._makefile = makefile + self._installs = installs + +@@ -323,6 +330,13 @@ + self.chkdir = self.optional_string("CHK_DIR_EXISTS", def_chk_dir_exists) + + ++ def srcPath(self, path): ++ if self._has_objdir: ++ return os.path.join(self._dir, path) ++ else: ++ return path ++ ++ + def finalise(self): + """Finalise the macros by doing any consolidation that isn't specific + to a Makefile. +@@ -801,6 +815,10 @@ + + rpaths is the cannonical list of rpaths. + """ ++ # Do not use any rpaths on Debian ++ # Changed by Torsten Marek ++ return [] ++ + flags = [] + prefix = self.optional_string("RPATH") + +@@ -832,6 +850,15 @@ + clib is the library name in cannonical form. + framework is set of the library is implemented as a MacOS framework. + """ ++ ################################################################## ++ # Generally, the linker is intelligent enough not to need this # ++ # additional information! # ++ # And Qt4's pkg-config and prl files are broken # ++ # Changed for Debian packaging, Torsten Marek # ++ ################################################################## ++ ++ return [] ++ + prl_libs = [] + + if self.generator in ("MSVC", "MSVC.NET", "BMAKE"): +@@ -969,7 +996,10 @@ + self.ready() + + if self._dir: +- mfname = os.path.join(self._dir, self._makefile) ++ if self._has_objdir: ++ mfname = os.path.join(self._objdir, self._makefile) ++ else: ++ mfname = os.path.join(self._dir, self._makefile) + else: + mfname = self._makefile + +@@ -987,6 +1017,8 @@ + self._installs = [self._installs] + + for src, dst in self._installs: ++ if self._dir is not None and self._has_objdir: ++ src = [os.path.join(self._dir, sf) for sf in src] + self.install_file(mfile, src, dst) + + self.generate_target_clean(mfile) +@@ -1049,6 +1081,9 @@ + else: + mfile.write(".SUFFIXES: .c .cpp .cc .cxx .C\n\n") + ++ if self._has_objdir: ++ mfile.write("VPATH = %s\n\n" % (self._dir)) ++ + if self.generator in ("MSVC", "MSVC.NET"): + mfile.write(""" + {.}.cpp{}.obj:: +@@ -1175,14 +1210,14 @@ + """The class that represents a parent Makefile. + """ + def __init__(self, configuration, subdirs, dir=None, makefile="Makefile", +- installs=None): ++ installs=None, has_objdir=False): + """Initialise an instance of a parent Makefile. + + subdirs is the sequence of subdirectories. + """ + Makefile.__init__(self, configuration, dir=dir, makefile=makefile, installs=installs) +- + self._subdirs = subdirs ++ self._has_objdir = has_objdir + + def generate_macros_and_rules(self, mfile): + """Generate the macros and rules. +@@ -1227,6 +1262,12 @@ + mfile.write("\n" + target + ":\n") + + for d in self._subdirs: ++ if self._has_objdir: ++ try: ++ os.mkdir(d) ++ except OSError, e: ++ if e.errno != 17: ++ raise e + if self.generator == "MINGW": + mfile.write("\t@$(MAKE) -C %s%s\n" % (d, tname)) + elif self.generator == "UNIX": +@@ -1303,7 +1344,7 @@ + def __init__(self, configuration, build_file, install_dir=None, static=0, + console=0, qt=0, opengl=0, threaded=0, warnings=1, debug=0, + dir=None, makefile="Makefile", installs=None, strip=1, +- export_all=0, universal=None, arch=None): ++ export_all=0, topsrcdir=None, universal=None, arch=None): + """Initialise an instance of a module Makefile. + + build_file is the file containing the target specific information. If +@@ -1317,11 +1358,10 @@ + increases the size of the module and slows down module load times but + may avoid problems with modules that use exceptions. The default is 0. + """ +- Makefile.__init__(self, configuration, console, qt, opengl, 1, threaded, warnings, debug, dir, makefile, installs, universal, arch) ++ Makefile.__init__(self, configuration, console, qt, opengl, 1, threaded, warnings, debug, dir, makefile, installs, universal, topsrcdir, arch) + + self._build = self.parse_build_file(build_file) + self._install_dir = install_dir +- self._dir = dir + self.static = static + + self._manifest = ("embed_manifest_dll" in self.optional_list("CONFIG")) +@@ -1522,7 +1562,7 @@ + cpp = "moc_" + root + ".cpp" + + mfile.write("\n%s: %s\n" % (cpp, mf)) +- mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf)) ++ mfile.write("\t$(MOC) -o %s %s\n" % (cpp, self.srcPath(mf))) + + mfile.write("\n$(TARGET): $(OFILES)\n") + +@@ -1634,14 +1674,14 @@ + def __init__(self, configuration, build_file=None, install_dir=None, + console=0, qt=0, opengl=0, python=0, threaded=0, warnings=1, + debug=0, dir=None, makefile="Makefile", installs=None, +- universal=None, arch=None): ++ topsrcdir=None, universal=None, arch=None): + """Initialise an instance of a program Makefile. + + build_file is the file containing the target specific information. If + it is a dictionary instead then its contents are validated. + install_dir is the directory the target will be installed in. + """ +- Makefile.__init__(self, configuration, console, qt, opengl, python, threaded, warnings, debug, dir, makefile, installs, universal, arch) ++ Makefile.__init__(self, configuration, console, qt, opengl, python, threaded, warnings, debug, dir, makefile, installs, universal, topsrcdir, arch) + + self._install_dir = install_dir + +@@ -1792,7 +1832,7 @@ + cpp = "moc_" + root + ".cpp" + + mfile.write("\n%s: %s\n" % (cpp, mf)) +- mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf)) ++ mfile.write("\t$(MOC) -o %s %s\n" % (cpp, self.srcPath(mf))) + + mfile.write("\n$(TARGET): $(OFILES)\n") + --- sip4-qt3-4.9.3.orig/debian/manpages/sip.1 +++ sip4-qt3-4.9.3/debian/manpages/sip.1 @@ -0,0 +1,90 @@ +.\" +.\" Created by Ricardo Cárdenes Medina +.\" for the Debian 'sip' package +.\" +.TH SIP 1 "2007/07/31" +.SH NAME +sip \- generates C++/Python bindings +.SH SYNOPSIS +.B sip +[\fI-h\fR] [\fI-V\fR] [\fI-a file\fR] +[\fI-b file\fR] [\fI-c dir\fR] +[\fI-d file\fR] [\fI-e\fR] [\fI-g\fR] +[\fI-I dir\fR] [\fI-j #\fR] [\fI-m file\fR] +[\fI-p module\fR] [\fI-r\fR] [\fI-s suffix\fR] +[\fI-t tag\fR] [\fI-w\fR] [\fI-x feature\fR] +[\fI-z file\fR] [\fIfile\fR] +.SH DESCRIPTION +.B sip +takes a set of specification files, and generates C++ code, +documentation and Makefiles. + +The format of the needed specification file is similar to a C++ header. +sip includes run-time support for the generated code. +.SH OPTIONS +.TP +.B \-h +Show summary of options. +.TP +.B \-V +Display the sip version number +.TP +.B \-a file +The name of the Scintilla API file. If not indicated, it will not +be generated. +.TP +.B \-b file +The name of the build file. If not indicated, it will not be generated. +.TP +.B \-c dir +The name of the directory where generated source file will be put. +If not indicated, no code will be generated. +.TP +.B -d file +The name of the documentation file. If not indicated, no documentation will be generated. +.TP +.B -e +Enable support for exceptions. Disabled by default. +.TP +.B -g +Always release and reaquire the GIL. +.TP +.B -I dir +Directory where sip can search for included files. +.TP +.B -j number +Splits the generated code in \fInumber\fR files (1 by default). This +flag was added for parallel compilation on SMP machines. +.TP +.B -m file +The name of the XML export file. If not indicated, the file will not be generated. +.TP +.B -p module +Give the name of the consolidated module this module should be a part of. +.TP +.B -r +Enable tracing on generated code. +.TP +.B -s suffix +The suffix used for generated C++ files (".cpp" if none specified) +.TP +.B -t tag +The primary version to tag generate code for. You only can specify those +defined with a %Timeline directive. If you don't specify one, sip +will generate the latest available. +.TP +.B -w +Enable warning messages +.TP +.B -x feature +Disable a feature +.TP +.B -z file +The name of a file containing additional command line flags +.TP +.B file +The name of the file containing the specification. If you skip it, +sip will expect to be fed by stdin. +.SH AUTHOR +This manual page was written by Ricardo Javier Cardenes Medina and Torsten Marek , +for the Debian GNU/Linux system (but may be used by others).