--- pyorbit-2.24.0.orig/debian/changelog +++ pyorbit-2.24.0/debian/changelog @@ -0,0 +1,369 @@ +pyorbit (2.24.0-7ubuntu1) vivid; urgency=medium + + * Merge from debian, remaining changes: + - add -dbg package. + - use dh_python2. + + -- Dimitri John Ledkov Sat, 06 Dec 2014 17:43:30 +0000 + +pyorbit (2.24.0-7) unstable; urgency=medium + + * Team upload. + + [ Breno Leitao ] + * run dh-autoreconf to update config.{sub, guess} and + {libtool, aclocal}.m4 (Closes: #558624, 750700). + + [ Luca Falavigna ] + * debian/control.in: + - Use X-Python-Version instead of deprecated XS-Python-Version. + - Remove obsolete XB-Python-Version fields. + - Bump Standards-Version to 3.9.5. + * debian/pycompat: + - Removed, no longer needed. + + -- Luca Falavigna Sat, 09 Aug 2014 10:16:42 +0200 + +pyorbit (2.24.0-6ubuntu4) trusty; urgency=medium + + * Use dh_autoreconf. + + -- Dimitri John Ledkov Mon, 23 Dec 2013 14:31:59 +0000 + +pyorbit (2.24.0-6ubuntu3) quantal; urgency=low + + * Rebuild for new armel compiler default of ARMv5t. + + -- Colin Watson Mon, 08 Oct 2012 16:58:54 +0100 + +pyorbit (2.24.0-6ubuntu2) precise; urgency=low + + * Build using dh_python2 + + -- Matthias Klose Sat, 17 Dec 2011 14:02:08 +0000 + +pyorbit (2.24.0-6ubuntu1) natty; urgency=low + + * Merge from debian unstable. Remaining changes: + - add -dbg package + + -- Michael Vogt Mon, 15 Nov 2010 10:25:18 +0100 + +pyorbit (2.24.0-6) unstable; urgency=low + + * debian/python-pyorbit.install, debian/python-pyorbit-omg.install: + - Use jolly characters to fix FTBFS with python2.6. + + -- Luca Falavigna Tue, 26 Jan 2010 15:41:00 +0100 + +pyorbit (2.24.0-5ubuntu4) natty; urgency=low + + * rebuild for python2.7 + + -- Michael Vogt Thu, 11 Nov 2010 10:42:39 +0100 + +pyorbit (2.24.0-5ubuntu3) lucid; urgency=low + + * Re-add build dependency on python-all-dbg. + + -- Matthias Klose Tue, 19 Jan 2010 15:12:23 +0100 + +pyorbit (2.24.0-5ubuntu2) lucid; urgency=low + + * Re-add the -dbg package. + + -- Matthias Klose Tue, 19 Jan 2010 14:46:00 +0100 + +pyorbit (2.24.0-5ubuntu1) lucid; urgency=low + + * Merge with Debian; remaining changes: + - Don't link with sysconfig.get_config_var('MODLIBS'), these are the + libraries required for other modules, not the orbit module. + - Handle files in dist-packages. + + -- Matthias Klose Tue, 19 Jan 2010 14:23:12 +0100 + +pyorbit (2.24.0-5) unstable; urgency=low + + * Remove Provides: in python-pyorbit-omg, they are not used anyway. + * This allows to drop the Python-Depends field as well, removing the + need for further rebuild-only uploads. + + -- Josselin Mouette Wed, 06 Jan 2010 17:58:27 +0100 + +pyorbit (2.24.0-4) unstable; urgency=low + + * Rebuilt against python-defaults without python2.4 support. + Closes: #562412. + + -- Josselin Mouette Mon, 04 Jan 2010 22:44:56 +0100 + +pyorbit (2.24.0-3) unstable; urgency=low + + * Conflict against python-omniorb-omg. Closes: #550629. + * Add quilt support. + * 01_maintainer_mode.patch: set AM_MAINTAINER_MODE. + * 90_relibtoolize.patch: relibtoolize to get rid of the rpath issue on + amd64. + + -- Josselin Mouette Sat, 21 Nov 2009 10:05:41 +0100 + +pyorbit (2.24.0-2) unstable; urgency=low + + * Rebuild with fixed python-support to get rid of an unsatisfiable + dependency on python2.6-pyorbit. + * debian/control.in: + - Build-depend on python-support >= 1.0.4. + - Bump Standards-Version to 3.8.3. + - Fix spelling error in package description: python -> Python. + + -- Luca Falavigna Fri, 09 Oct 2009 20:11:01 +0200 + +pyorbit (2.24.0-1) unstable; urgency=low + + * Bump dependency on liborbit2-dev to 2.12 as mandated. + * New upstream release. + + -- Josselin Mouette Thu, 24 Sep 2009 18:15:23 +0200 + +pyorbit (2.24.0-0ubuntu2) jaunty; urgency=low + + * Build for python2.6, handle files in dist-packages. + + -- Matthias Klose Sun, 22 Feb 2009 12:40:45 +0100 + +pyorbit (2.24.0-0ubuntu1) intrepid; urgency=low + + * New upstream version: + - Added weakref support to Python CORBA objects + - Allow accessing reference count data + - Misc. build fixes + * debian/patches/01-update-python-module.m4-to-use-PYTHON-config.patch, + debian/patches/99_aclocal+autoconf+automake.patch: + - the changes are in the new version + + -- Sebastien Bacher Tue, 23 Sep 2008 16:27:29 +0200 + +pyorbit (2.14.3-2ubuntu1) hardy; urgency=low + + * Sync with Debian + * debian/control.in: + - Build-Depends on python-all-dbg, cdbs + - list debug variant + - update maintainer information + * debian/rules: + - build debug variant + + -- Sebastien Bacher Tue, 20 Nov 2007 16:25:37 +0100 + +pyorbit (2.14.3-2) unstable; urgency=low + + * Use ${source:Version}. + * Use Python-Depends to generate correct dependencies for + python-pyorbit-omg; require python-support 0.7.3. + * Correctly run dh_pysupport in the binary-arch target. + + -- Josselin Mouette Sat, 22 Sep 2007 13:51:27 +0200 + +pyorbit (2.14.3-1) unstable; urgency=low + + * Use a safer order for configure_flags / DEB_BUILD_GNU_TYPE. + * Add a second XB-Python-Version. + * Drop dh_python calls. + * New upstream stable release. + + -- Loic Minier Sun, 27 May 2007 17:22:15 +0200 + +pyorbit (2.14.2-2) unstable; urgency=low + + * Honor CFLAGS we set in rules, doh! + * Upload to unstable; drop check-dist include. + * Bump up Debhelper compatibility level to 5. + * Wrap build-deps and deps. + * Fix URL in copyright. + * Add XB/XS-Python-Version. + * Don't pass --host to configure when DEB_BUILD_GNU_TYPE equals + DEB_HOST_GNU_TYPE; cleanups. + * Add more ${misc:Depends}. + + -- Loic Minier Sat, 14 Apr 2007 12:07:15 +0200 + +pyorbit (2.14.2-1) experimental; urgency=high + + * Add a get-orig-source target to retrieve the upstream tarball. + * Include the new check-dist Makefile to prevent accidental uploads to + unstable; bump build-dep on gnome-pkg-tools to >= 0.10. + * Cleanup rules. + * Build-depend on autotools-dev. + * New upstream stable release; fixes potential segfault. + + -- Loic Minier Sun, 11 Mar 2007 17:00:34 +0100 + +pyorbit (2.14.1-2) experimental; urgency=low + + * Merge changes from 2.0.1-5. + + -- Loic Minier Sat, 5 Aug 2006 22:38:11 +0200 + +pyorbit (2.14.1-1) experimental; urgency=low + + * Add watch file. + * New upstream releases. + - Add Gustavo J. A. M. Carneiro to copyright. + - Bump pyversions to 2.4- as the upstream configure now requires Python + 2.4. + - Bump up liborbit2-dev build-dep to >= 1:2.12. + * Target at experimental for now, as python-gnome2 needs python-pyorbit for + the Python 2.3 bindings, and we do not want to remove support for + python2.3 in gnome-python for now; we will drop 2.3 support after the + default Python runtime switches to 2.4. + + -- Loic Minier Mon, 17 Jul 2006 14:00:30 +0200 + +pyorbit (2.0.1-5) unstable; urgency=low + + * Add watch file. + * Copy Conflicts in Replaces, otherwise the python2.X- packages are not + replaced. + * Add debian/control to the pyversions -r call since it's mandatory, even if + the man page claims it's optional. + + -- Loic Minier Sun, 23 Jul 2006 16:54:15 +0200 + +pyorbit (2.0.1-4) unstable; urgency=low + + * Install examples one directory layer upper. + * Convert to the new python policy (closes: #373502). + + pycompat = 2 + + pyversions = 2.2- + + Rework debian/rules and use .install files. + + Call dh_pysupport in the binary-indep target. + + Change package descriptions accordingly. + + Add correct conflict fields. + * Don't install useless .la files anymore. + * Debhelper compatibility mode 5. + * Require python-all-dev 2.3.5-11, debhelper 5.0.37.2 and + python-support 0.3. + * Standards version is 3.7.2. + + -- Josselin Mouette Sat, 24 Jun 2006 13:41:00 +0200 + +pyorbit (2.0.1-3) unstable; urgency=low + + * GNOME Team Upload + * debian/control.in: + - added + - turned 2.2 packages in 2.4 + - added Uploaders field + - updated Standards-Version with no changes + - removed not needed substitution variables ${{misc,shlibs}:Depends} + - added a new python-pyorbit-dev package which Depends on liborbit2-dev + (Closes: #317060) + * debian/rules: + - do stuff for 2.4 packages instead of 2.2 ones + - install the header and pkg-config files to the -dev package + * python2.{2,3}-pyorbit.examples -> python-pyorbit.examples: + - examples go in the generic package + * debian/copyright: + - updated FSF's address + + -- Gustavo Noronha Silva Sat, 1 Oct 2005 09:54:21 -0300 + +pyorbit (2.0.1-2) unstable; urgency=low + + * changes from W. Borgert , thanks. + * Hopefully really closes: #220912. Two additional '-omg' packages are + introduced. + + -- Sebastien Bacher Wed, 22 Dec 2004 21:46:52 +0100 + +pyorbit (2.0.1-1) unstable; urgency=low + + * New upstream release. + + -- Sebastien Bacher Mon, 4 Oct 2004 00:28:52 +0200 + +pyorbit (2.0.0-4) unstable; urgency=low + + * debian/control: + - Build-Depends on python. + + -- Sebastien Bacher Sat, 10 Jul 2004 12:45:37 +0200 + +pyorbit (2.0.0-3) unstable; urgency=low + + * Use alternatives for CORBA.py and PortableServer.py (Closes: #220912). + * Remove Conflicts on python-omniorb2. + + -- Sebastien Bacher Fri, 26 Dec 2003 00:09:32 +0100 + +pyorbit (2.0.0-2) unstable; urgency=low + + * Rebuilt with ORBit2 2.8 (Closes: #223930). + * Updated Build-Depends. + + -- Sebastien Bacher Sat, 20 Dec 2003 22:13:17 +0100 + +pyorbit (2.0.0-1) unstable; urgency=low + + * New upstream release. + + -- Sebastien Bacher Mon, 1 Sep 2003 19:31:27 +0200 + +pyorbit (1.99.7-1) unstable; urgency=low + + * New upstream version. + * Updated Standards-Version to 3.6.1.0. + + -- Sebastien Bacher Sun, 24 Aug 2003 20:02:03 +0200 + +pyorbit (1.99.6-4) unstable; urgency=low + + * Fixed overwrite problem. + * Switched section to python. + + -- Sebastien Bacher Mon, 18 Aug 2003 02:17:56 +0200 + +pyorbit (1.99.6-3) unstable; urgency=low + + * Fixed depends. + * Use dh_python. + + -- Sebastien Bacher Tue, 12 Aug 2003 14:29:05 +0200 + +pyorbit (1.99.6-2) unstable; urgency=low + + * Rebuilded with python 2.3 as default version. + + -- Sebastien Bacher Sun, 10 Aug 2003 18:12:03 +0200 + +pyorbit (1.99.6-1) unstable; urgency=low + + * New upstream release. + - Should work better with python 2.3 (Closes: #188610). + * Conflict with python2.2-omniorb2 (Closes: #202205). + + -- Sebastien Bacher Thu, 31 Jul 2003 19:44:01 +0200 + +pyorbit (1.99.5-1) unstable; urgency=low + + * New upstream release. + * Updated to standards version 3.6.0. + * Updated description for python-pyorbit package. + + -- Sebastien Bacher Wed, 16 Jul 2003 14:55:49 +0200 + +pyorbit (1.99.4-1) unstable; urgency=low + + * New upstream release. + * Updated to standards version 3.5.9. + * Added Depends on ${misc:Depends}. + + -- Sebastien Bacher Mon, 24 Mar 2003 01:49:24 +0100 + +pyorbit (1.99.3-1) unstable; urgency=low + + * Initial Release (Closes: #182027). + + -- Sebastien Bacher Sat, 22 Feb 2003 15:48:47 +0100 + --- pyorbit-2.24.0.orig/debian/compat +++ pyorbit-2.24.0/debian/compat @@ -0,0 +1 @@ +5 --- pyorbit-2.24.0.orig/debian/control +++ pyorbit-2.24.0/debian/control @@ -0,0 +1,97 @@ +# This file is autogenerated. DO NOT EDIT! +# +# Modifications should be made to debian/control.in instead. +# This file is regenerated automatically in the clean target. +Source: pyorbit +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Sebastien Bacher +Uploaders: Debian GNOME Maintainers +Build-Depends: debhelper (>= 5.0.37.2), + gnome-pkg-tools (>= 0.10), + dh-autoreconf, + gnome-common, + python-all-dev (>= 2.6.6-3~), python-all-dbg, + liborbit2-dev (>= 1:2.12), + dh-autoreconf, + quilt +Standards-Version: 3.9.5 +X-Python-Version: >= 2.4 + +Package: python-pyorbit +Architecture: any +Depends: ${python:Depends}, + ${misc:Depends}, + ${shlibs:Depends} +Provides: ${python:Provides} +Conflicts: python2.3-pyorbit, + python2.4-pyorbit +Replaces: python2.3-pyorbit, + python2.4-pyorbit +Suggests: python-pyorbit-dbg +Description: A Python language binding for the ORBit2 CORBA implementation + It aims to take advantage of new features found in ORBit2 to make + language bindings more efficient. This includes: + - Use of ORBit2 type libraries to generate stubs + - use of the ORBit_small_invoke_stub() call for operation + invocation, which allows for short circuited invocation on local + objects. + . + Where it makes sense, this binding tries to stay compatible with the + Python language mapping, which can be found on the OMG web site: + http://www.omg.org/cgi-bin/doc?formal/02-09-07 + +Package: python-pyorbit-dev +Architecture: all +Depends: python-pyorbit (>= ${source:Version}), + ${misc:Depends}, + liborbit2-dev (>= 1:2.12) +Description: PyORBit: development files + It aims to take advantage of new features found in ORBit2 to make + language bindings more efficient. This includes: + - Use of ORBit2 type libraries to generate stubs + - use of the ORBit_small_invoke_stub() call for operation + invocation, which allows for short circuited invocation on local + objects. + . + Where it makes sense, this binding tries to stay compatible with the + Python language mapping, which can be found on the OMG web site: + http://www.omg.org/cgi-bin/doc?formal/02-09-07 + . + This package contains development files necessary to develop extensions + for the module using the C language. + +Package: python-pyorbit-dbg +Priority: extra +Architecture: any +Depends: python-pyorbit (= ${Source-Version}), python-dbg, ${shlibs:Depends} +Description: Python bindings for ORBit2 CORBA (debug extension) + It aims to take advantage of new features found in ORBit2 to make + language bindings more efficient. This includes: + - Use of ORBit2 type libraries to generate stubs + - use of the ORBit_small_invoke_stub() call for operation + invocation, which allows for short circuited invocation on local + objects. + . + This package contains the extension built for the python debug interpreter. + +Package: python-pyorbit-omg +Architecture: all +Depends: ${misc:Depends}, + ${python:Depends}, + python-pyorbit (>= ${source:Version}) +Conflicts: python2.3-omniorb2-omg, + python2.4-omniorb2-omg, + python-omniorb2-omg, + python2.3-pyorbit-omg, + python2.4-pyorbit-omg, + python-omniorb-omg +Replaces: python2.3-omniorb2-omg, + python2.4-omniorb2-omg, + python-omniorb2-omg, + python2.3-pyorbit-omg, + python2.4-pyorbit-omg +Description: PyORBit - Python CORBA OMG standard files + This package includes the Python files that are necessary to + fulfill the OMG standard 02-09-07. --- pyorbit-2.24.0.orig/debian/control.in +++ pyorbit-2.24.0/debian/control.in @@ -0,0 +1,93 @@ +Source: pyorbit +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Sebastien Bacher +Uploaders: @GNOME_TEAM@ +Build-Depends: debhelper (>= 5.0.37.2), + gnome-pkg-tools (>= 0.10), + dh-autoreconf, + gnome-common, + python-all-dev (>= 2.6.6-3~), python-all-dbg, + liborbit2-dev (>= 1:2.12), + dh-autoreconf, + quilt +Standards-Version: 3.9.5 +X-Python-Version: >= 2.4 + +Package: python-pyorbit +Architecture: any +Depends: ${python:Depends}, + ${misc:Depends}, + ${shlibs:Depends} +Provides: ${python:Provides} +Conflicts: python2.3-pyorbit, + python2.4-pyorbit +Replaces: python2.3-pyorbit, + python2.4-pyorbit +Suggests: python-pyorbit-dbg +Description: A Python language binding for the ORBit2 CORBA implementation + It aims to take advantage of new features found in ORBit2 to make + language bindings more efficient. This includes: + - Use of ORBit2 type libraries to generate stubs + - use of the ORBit_small_invoke_stub() call for operation + invocation, which allows for short circuited invocation on local + objects. + . + Where it makes sense, this binding tries to stay compatible with the + Python language mapping, which can be found on the OMG web site: + http://www.omg.org/cgi-bin/doc?formal/02-09-07 + +Package: python-pyorbit-dev +Architecture: all +Depends: python-pyorbit (>= ${source:Version}), + ${misc:Depends}, + liborbit2-dev (>= 1:2.12) +Description: PyORBit: development files + It aims to take advantage of new features found in ORBit2 to make + language bindings more efficient. This includes: + - Use of ORBit2 type libraries to generate stubs + - use of the ORBit_small_invoke_stub() call for operation + invocation, which allows for short circuited invocation on local + objects. + . + Where it makes sense, this binding tries to stay compatible with the + Python language mapping, which can be found on the OMG web site: + http://www.omg.org/cgi-bin/doc?formal/02-09-07 + . + This package contains development files necessary to develop extensions + for the module using the C language. + +Package: python-pyorbit-dbg +Priority: extra +Architecture: any +Depends: python-pyorbit (= ${Source-Version}), python-dbg, ${shlibs:Depends} +Description: Python bindings for ORBit2 CORBA (debug extension) + It aims to take advantage of new features found in ORBit2 to make + language bindings more efficient. This includes: + - Use of ORBit2 type libraries to generate stubs + - use of the ORBit_small_invoke_stub() call for operation + invocation, which allows for short circuited invocation on local + objects. + . + This package contains the extension built for the python debug interpreter. + +Package: python-pyorbit-omg +Architecture: all +Depends: ${misc:Depends}, + ${python:Depends}, + python-pyorbit (>= ${source:Version}) +Conflicts: python2.3-omniorb2-omg, + python2.4-omniorb2-omg, + python-omniorb2-omg, + python2.3-pyorbit-omg, + python2.4-pyorbit-omg, + python-omniorb-omg +Replaces: python2.3-omniorb2-omg, + python2.4-omniorb2-omg, + python-omniorb2-omg, + python2.3-pyorbit-omg, + python2.4-pyorbit-omg +Description: PyORBit - Python CORBA OMG standard files + This package includes the Python files that are necessary to + fulfill the OMG standard 02-09-07. --- pyorbit-2.24.0.orig/debian/copyright +++ pyorbit-2.24.0/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Sebastien Bacher on +Sat, 22 Feb 2003 15:48:47 +0100. + +It was downloaded from http://ftp.gnome.org/pub/gnome/sources/pyorbit/ + +Upstream Author: James Henstridge + Gustavo J. A. M. Carneiro + +Copyright: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + On Debian systems you should have a local copy of the GNU Library + General Public License in /usr/share/common-licenses/LGPL-2. If you + downloaded the source you will find it in the file COPYING; if not, + write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. --- pyorbit-2.24.0.orig/debian/docs +++ pyorbit-2.24.0/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- pyorbit-2.24.0.orig/debian/patches/01_maintainer_mode.patch +++ pyorbit-2.24.0/debian/patches/01_maintainer_mode.patch @@ -0,0 +1,12 @@ +Index: pyorbit-2.24.0/configure.in +=================================================================== +--- pyorbit-2.24.0.orig/configure.in 2009-11-21 10:16:20.094269272 +0100 ++++ pyorbit-2.24.0/configure.in 2009-11-21 10:16:26.470264111 +0100 +@@ -16,6 +16,7 @@ AC_CONFIG_SRCDIR([src/pyorbit.h]) + AC_CONFIG_HEADERS([config.h]) + + AM_INIT_AUTOMAKE ++AM_MAINTAINER_MODE + + # make sure $ACLOCAL_FLAGS are used during a rebuild. + AC_SUBST([ACLOCAL_AMFLAGS], ["-I $ac_macro_dir \${ACLOCAL_FLAGS}"]) --- pyorbit-2.24.0.orig/debian/patches/autoconf-fix.patch +++ pyorbit-2.24.0/debian/patches/autoconf-fix.patch @@ -0,0 +1,11 @@ +--- ./configure~ 2008-09-23 14:31:28.000000000 +0200 ++++ ./configure 2009-02-22 16:13:15.000000000 +0100 +@@ -20221,7 +20221,7 @@ + fi + + PYTHON_CC=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_config_var('CC')"` +-PYTHON_LIB_DEPS=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_config_var('SYSLIBS'), sysconfig.get_config_var('SHLIBS'), sysconfig.get_config_var('MODLIBS')"` ++PYTHON_LIB_DEPS=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_config_var('SYSLIBS'), sysconfig.get_config_var('SHLIBS')"` + PYTHON_LIBDIR=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_config_var('LIBDIR')"` + PYTHON_LIBPL=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_config_var('LIBPL')"` + --- pyorbit-2.24.0.orig/debian/patches/series +++ pyorbit-2.24.0/debian/patches/series @@ -0,0 +1 @@ +01_maintainer_mode.patch --- pyorbit-2.24.0.orig/debian/python-pyorbit-dev.install +++ pyorbit-2.24.0/debian/python-pyorbit-dev.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/pkgconfig +debian/tmp/usr/include --- pyorbit-2.24.0.orig/debian/python-pyorbit-omg.install +++ pyorbit-2.24.0/debian/python-pyorbit-omg.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/python*/*-packages/*.py --- pyorbit-2.24.0.orig/debian/python-pyorbit.examples +++ pyorbit-2.24.0/debian/python-pyorbit.examples @@ -0,0 +1 @@ +tests/* --- pyorbit-2.24.0.orig/debian/python-pyorbit.install +++ pyorbit-2.24.0/debian/python-pyorbit.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/python*/*-packages/*.so --- pyorbit-2.24.0.orig/debian/rules +++ pyorbit-2.24.0/debian/rules @@ -0,0 +1,138 @@ +#!/usr/bin/make -f + +include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk +-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +configure_flags += --prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) + +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + configure_flags += --host=$(DEB_HOST_GNU_TYPE) +endif + +CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2) + +PYVERS := $(shell pyversions -vr debian/control 2>/dev/null) + +# how to call quilt +PATCH_DIR := $(CURDIR)/debian/patches +QUILT := QUILT_PATCHES=$(PATCH_DIR) quilt --quiltrc /dev/null + +patch-stamp: + dh_testdir + # apply patches + $(QUILT) push -a || test $$? = 2 + # backup the original files to restore them in the clean target + dh_autoreconf + touch $@ + +patch: patch-stamp + +unpatch: + rm -f patch-stamp + # restore files from backup (before unpatching) + dh_autoreconf_clean + # unapply patches, if any + $(QUILT) pop -a || test $$? = 2 + rm -rf .pc + +build-%/configure-stamp: configure patch-stamp + dh_testdir + mkdir -p build-$* + cd build-$* && \ + PYTHON=`which python$*` CFLAGS="$(CFLAGS)" \ + $(CURDIR)/configure $(configure_flags) + touch $@ + +build-%/build-stamp: build-%/configure-stamp + dh_testdir + $(MAKE) -C build-$* + touch $@ + +dbg-build-%/configure-stamp: configure + dh_testdir + mkdir -p dbg-build-$* + cd dbg-build-$* && CFLAGS="$(CFLAGS) -O0" PYTHON=`which python$*-dbg` \ + ../configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr + touch $@ + +dbg-build-%/build-stamp: dbg-build-%/configure-stamp + dh_testdir + $(MAKE) -C dbg-build-$* + touch $@ + +build: $(PYVERS:%=build-%/build-stamp) $(PYVERS:%=dbg-build-%/build-stamp) + +install-clean: + dh_testdir + dh_testroot + dh_clean -k + +install-%: build-%/build-stamp + dh_testdir + dh_testroot + $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp + +dbg-install-%: dbg-build-%/build-stamp + dh_testdir + dh_testroot + $(MAKE) -C dbg-build-$* install \ + DESTDIR=$(CURDIR)/debian/python-pyorbit-dbg + find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f + find debian/python-*-dbg -depth -empty -exec rmdir {} \; + +install: install-clean $(PYVERS:%=install-%) $(PYVERS:%=dbg-install-%) + dh_install + for i in $$(find debian/python-*-dbg -name '*.so'); do \ + b=$$(basename $$i .so); \ + mv $$i $$(dirname $$i)/$${b}_d.so; \ + done + +clean:: + dh_testdir + rm -Rf build-* dbg-build-* + $(MAKE) -f debian/rules unpatch + dh_clean + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs -i + dh_installexamples -i + dh_installinfo -i + dh_installchangelogs ChangeLog -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_python2 -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs -a + dh_installexamples -a + dh_installinfo -a + dh_installchangelogs ChangeLog -a + dh_strip -ppython-pyorbit --dbg-package=python-pyorbit-dbg + rm -rf debian/python-pyorbit-dbg/usr/share/doc/python-pyorbit-dbg + ln -s python-pyorbit debian/python-pyorbit-dbg/usr/share/doc/python-pyorbit-dbg + dh_link -a + dh_compress -a + dh_fixperms -a + dh_python2 -a + 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 patch unpatch --- pyorbit-2.24.0.orig/debian/watch +++ pyorbit-2.24.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://ftp.gnome.org/pub/GNOME/sources/pyorbit/([\d\.]+)[02468]/ pyorbit-(.*)\.tar\.gz debian uupdate