--- gnome-python-desktop-2.26.0.orig/debian/watch +++ gnome-python-desktop-2.26.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://ftp.gnome.org/pub/GNOME/sources/gnome-python-desktop/([\d\.]+)/ gnome-python-desktop-(.*)\.tar\.gz debian uupdate --- gnome-python-desktop-2.26.0.orig/debian/python-gnome2-desktop-doc.dirs +++ gnome-python-desktop-2.26.0/debian/python-gnome2-desktop-doc.dirs @@ -0,0 +1 @@ +/usr/share --- gnome-python-desktop-2.26.0.orig/debian/control.in +++ gnome-python-desktop-2.26.0/debian/control.in @@ -0,0 +1,111 @@ +Source: gnome-python-desktop +Section: python +Priority: optional +Maintainer: Ubuntu Desktop Team +XSBC-Original-Maintainer: Loic Minier +Uploaders: @GNOME_TEAM@ +Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/gnome-python-desktop/ubuntu +Build-Depends: debhelper (>= 5.0.37.2), + gnome-pkg-tools (>= 0.10), + python-support (>= 0.6), + autotools-dev, + dpkg-dev (>= 1.13.19), + python-all-dev (>= 2.5), + python-gtk2-dev (>= 2.10.3), + python-gnome2-dev (>= 2.10.0), + python-cairo-dev, + python-gnome2-dbg, + python-gtk2-dbg, + python-all-dbg, + libglib2.0-dev (>= 2.6.0), + libgtk2.0-dev (>= 2.4), + librsvg2-dev (>= 2.13.93), + libgtop2-dev (>= 2.13.0), + libwnck-dev (>= 2.19.3), + libpanel-applet2-dev (>= 2.13.4), + libtotem-plparser-dev (>= 1.4.0), + libgnomeprint2.2-dev (>= 2.2.0), + libgnomeprintui2.2-dev (>= 2.2), + libgtksourceview-dev (>= 1.1.90), + libnautilus-burn-dev (>= 2.15.3), + libgnome-media-dev (>= 2.10.0), + libgconf2-dev (>= 2.10.0), + libmetacity-dev (>= 1:2.21.5), + libgnome-keyring-dev (>= 0.5.0), + libgnome-desktop-dev (>= 2.10.0), + libecal1.2-dev (>= 1.4.0), + libebook1.2-dev (>= 1.4.0), + bug-buddy (>= 2.16) [!hurd-i386], + libgnome2-dev, + libgnomeui-dev, + libevdocument-dev, + libevview-dev +Standards-Version: 3.8.0 +XS-Python-Version: >= 2.5 + +Package: python-gnome2-desktop +Architecture: any +Depends: ${misc:Depends}, + ${python:Depends}, + python-pyorbit, + ${shlibs:Depends}, + librsvg2-common +Python-Depends: python-gtk2 +Provides: ${python:Provides} +Replaces: python2.2-gnome2 (<< 1.99.16-5), + python2.3-gnome2 (<< 2.9.1), + python2.3-gnome2-extras (<< 2.13.3), + python2.4-gnome2-extras (<< 2.13.3), + python2.4-gnome2-desktop, + python-gnome2-extras (<< 2.13.3) +Suggests: python-gnome2-desktop-doc +Conflicts: python2.2-gnome2 (<< 1.99.16-5), + python2.3-gnome2 (<< 2.9.1), + python2.3-gnome2-extras (<< 2.13.3), + python2.4-gnome2-extras (<< 2.13.3), + python2.4-gnome2-desktop, + python-gnome2-extras (<< 2.13.3) +XB-Python-Version: ${python:Versions} +Description: Python bindings for the GNOME desktop environment + This archive contains modules that allow you to write GNOME programs + in Python. + +Package: python-gnome2-desktop-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Conflicts: python-gnome2-desktop-doc (<< 2.13.3) +Description: Python bindings for the GNOME desktop environment - documentation + This archive contains modules that allow you to write GNOME programs + in Python. + . + This package contains gtk-doc-based documentation, fit for viewing on + DevHelp and other gtk-doc clients. + +Package: python-gnome2-desktop-dev +Architecture: all +Depends: ${misc:Depends}, + python-gnome2-desktop (>= ${source:Version}), + python-gnome2-dev, + python-gtk2-dev +Replaces: python2.2-gnome2 (<< 1.99.16-7), + python2.3-gnome2 (<< 1.99.16-7), + python-gnome2-dev (<< 2.9.0) +Conflicts: python2.2-gnome2 (<< 1.99.16-7), + python2.3-gnome2 (<< 1.99.16-7), + python-gnome2-dev (<< 2.9.0), + python-gnome2-extras-dev (<< 2.13.3) +Description: Python bindings for the GNOME desktop environment + This archive contains files that allow you to build wrappers for addons + that interoperate gnome-python. + +Package: python-gnome2-desktop-dbg +Priority: extra +Architecture: any +Depends: python-gnome2-desktop (= ${Source-Version}), python-dbg, python-gtk2-dbg, python-pyorbit-dbg, ${shlibs:Depends} +Description: Python bindings for the GNOME desktop environment (extension module) + This archive contains modules that allow you to write GNOME programs + in Python. + . + This package contains the extension built for the python debug interpreter. + --- gnome-python-desktop-2.26.0.orig/debian/control +++ gnome-python-desktop-2.26.0/debian/control @@ -0,0 +1,111 @@ +Source: gnome-python-desktop +Section: python +Priority: optional +Maintainer: Ubuntu Desktop Team +XSBC-Original-Maintainer: Loic Minier +Uploaders: Debian GNOME Maintainers , Josselin Mouette , Loic Minier +Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/gnome-python-desktop/ubuntu +Build-Depends: debhelper (>= 5.0.37.2), + gnome-pkg-tools (>= 0.10), + python-support (>= 0.6), + autotools-dev, + dpkg-dev (>= 1.13.19), + python-all-dev (>= 2.5), + python-gtk2-dev (>= 2.10.3), + python-gnome2-dev (>= 2.10.0), + python-cairo-dev, + python-gnome2-dbg, + python-gtk2-dbg, + python-all-dbg, + libglib2.0-dev (>= 2.6.0), + libgtk2.0-dev (>= 2.4), + librsvg2-dev (>= 2.13.93), + libgtop2-dev (>= 2.13.0), + libwnck-dev (>= 2.19.3), + libpanel-applet2-dev (>= 2.13.4), + libtotem-plparser-dev (>= 1.4.0), + libgnomeprint2.2-dev (>= 2.2.0), + libgnomeprintui2.2-dev (>= 2.2), + libgtksourceview-dev (>= 1.1.90), + libnautilus-burn-dev (>= 2.15.3), + libgnome-media-dev (>= 2.10.0), + libgconf2-dev (>= 2.10.0), + libmetacity-dev (>= 1:2.21.5), + libgnome-keyring-dev (>= 0.5.0), + libgnome-desktop-dev (>= 2.10.0), + libecal1.2-dev (>= 1.4.0), + libebook1.2-dev (>= 1.4.0), + bug-buddy (>= 2.16) [!hurd-i386], + libgnome2-dev, + libgnomeui-dev, + libevdocument-dev, + libevview-dev +Standards-Version: 3.8.0 +XS-Python-Version: >= 2.5 + +Package: python-gnome2-desktop +Architecture: any +Depends: ${misc:Depends}, + ${python:Depends}, + python-pyorbit, + ${shlibs:Depends}, + librsvg2-common +Python-Depends: python-gtk2 +Provides: ${python:Provides} +Replaces: python2.2-gnome2 (<< 1.99.16-5), + python2.3-gnome2 (<< 2.9.1), + python2.3-gnome2-extras (<< 2.13.3), + python2.4-gnome2-extras (<< 2.13.3), + python2.4-gnome2-desktop, + python-gnome2-extras (<< 2.13.3) +Suggests: python-gnome2-desktop-doc +Conflicts: python2.2-gnome2 (<< 1.99.16-5), + python2.3-gnome2 (<< 2.9.1), + python2.3-gnome2-extras (<< 2.13.3), + python2.4-gnome2-extras (<< 2.13.3), + python2.4-gnome2-desktop, + python-gnome2-extras (<< 2.13.3) +XB-Python-Version: ${python:Versions} +Description: Python bindings for the GNOME desktop environment + This archive contains modules that allow you to write GNOME programs + in Python. + +Package: python-gnome2-desktop-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Conflicts: python-gnome2-desktop-doc (<< 2.13.3) +Description: Python bindings for the GNOME desktop environment - documentation + This archive contains modules that allow you to write GNOME programs + in Python. + . + This package contains gtk-doc-based documentation, fit for viewing on + DevHelp and other gtk-doc clients. + +Package: python-gnome2-desktop-dev +Architecture: all +Depends: ${misc:Depends}, + python-gnome2-desktop (>= ${source:Version}), + python-gnome2-dev, + python-gtk2-dev +Replaces: python2.2-gnome2 (<< 1.99.16-7), + python2.3-gnome2 (<< 1.99.16-7), + python-gnome2-dev (<< 2.9.0) +Conflicts: python2.2-gnome2 (<< 1.99.16-7), + python2.3-gnome2 (<< 1.99.16-7), + python-gnome2-dev (<< 2.9.0), + python-gnome2-extras-dev (<< 2.13.3) +Description: Python bindings for the GNOME desktop environment + This archive contains files that allow you to build wrappers for addons + that interoperate gnome-python. + +Package: python-gnome2-desktop-dbg +Priority: extra +Architecture: any +Depends: python-gnome2-desktop (= ${Source-Version}), python-dbg, python-gtk2-dbg, python-pyorbit-dbg, ${shlibs:Depends} +Description: Python bindings for the GNOME desktop environment (extension module) + This archive contains modules that allow you to write GNOME programs + in Python. + . + This package contains the extension built for the python debug interpreter. + --- gnome-python-desktop-2.26.0.orig/debian/copyright +++ gnome-python-desktop-2.26.0/debian/copyright @@ -0,0 +1,74 @@ +This package was debianized by Daniel Holbach +on Mon, 23 Jan 2006 12:38:06 +0100 and modified for Debian by +Loic Minier on Sun, 4 Jun 2006 19:50:09 +0200 + +It was downloaded from: + + + + +Authors and Copyright Holders: + + Benoît Dejean + Gustavo Carneiro + James Henstridge + Johan Dahlin + John Palmieri + Matt Wilson + Iñigo Serna + Stéphan Kochen + Tiago Cogumbreiro + Raphael Slinckx + Chema Celorio + Chris Lahey + +Additionally, examples are Copyright (C) 2002 Ximian Inc. and authors. + + +License: + +All files below the following subdirectories are licensed under the LGPL: + + examples/gnomeprint/ + gnomeapplet/ + gnomeprint/ + totem/ + wnck/ + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + + +All the other files are licensed under the GPL: + + This package 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. + + This package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- gnome-python-desktop-2.26.0.orig/debian/changelog +++ gnome-python-desktop-2.26.0/debian/changelog @@ -0,0 +1,246 @@ +gnome-python-desktop (2.26.0-0ubuntu2) jaunty; urgency=low + + * No-change rebuild to fix lpia shared library dependencies. + + -- Colin Watson Thu, 19 Mar 2009 16:40:22 +0000 + +gnome-python-desktop (2.26.0-0ubuntu1) jaunty; urgency=low + + * New upstream version + + -- Sebastien Bacher Mon, 16 Mar 2009 12:46:07 +0100 + +gnome-python-desktop (2.25.91-0ubuntu1) jaunty; urgency=low + + * New upstream release (LP: #330181) + - Call ev_shutdown() on a python atexit handler + + + -- Didier Roche Mon, 16 Feb 2009 18:59:14 +0100 + +gnome-python-desktop (2.25.90-0ubuntu1) jaunty; urgency=low + + * New upstream version (LP: #327938) + - New Evince bindings + - Fix error building wnck bindings + - Upgrade to WAF 1.5.3 + - gnomeapplet: fix get_popup_component does not return correct object + (LP: #323169) + - gtop: missing include + - evolution: fix evolution still installed even if disabled + * debian/control.in: + - add libgnome2-dev, libgnomeui-dev, libevview-dev and livevdocument-dev + as b-d + - add Vcs-Bzr tag + * Re-generate debian/control + * Update debian/watch to take unstable GNOME version + + -- Didier Roche Wed, 11 Feb 2009 13:51:27 +0100 + +gnome-python-desktop (2.24.1-0ubuntu1) jaunty; urgency=low + + * New upstream version + + -- Sebastien Bacher Mon, 05 Jan 2009 15:00:15 +0100 + +gnome-python-desktop (2.24.0-1ubuntu3) jaunty; urgency=low + + * Rebuild due to the libgnome-desktop soname change + + -- Sebastien Bacher Wed, 17 Dec 2008 18:08:06 +0100 + +gnome-python-desktop (2.24.0-1ubuntu2) jaunty; urgency=low + + * No change upload, the previous version built using a buggy gtk on amd64 + (lp: #303040) + + -- Sebastien Bacher Tue, 16 Dec 2008 14:53:09 +0100 + +gnome-python-desktop (2.24.0-1ubuntu1) jaunty; urgency=low + + * Sync on debian + * debian/control.in: + - Build-Depends on python-gnome2-dbg, python-gtk2-dbg, python-all-dbg + - list debug package + * debian/rules: + - build debug variant + + -- Sebastien Bacher Thu, 27 Nov 2008 13:48:40 +0100 + +gnome-python-desktop (2.24.0-1) experimental; urgency=low + + * New upstream release. + + find_network_password_sync correctly return results. + Closes: #463644. + * Standards version is 3.8.0. + * Require python 2.5 to match the pygobject requirement. + + -- Josselin Mouette Thu, 13 Nov 2008 12:02:52 +0100 + +gnome-python-desktop (2.22.0-2) unstable; urgency=low + + * Wrap deps and build-deps. + * Cleanup rules. + * Depend on librsvg2-common for SVG support; strictly speaking, this could + be a recommends as the package provides other functionality, but I + wouldn't want other packages needing rsvg support to have to depend on + librsvg2-common explicitely; closes: #360101. + * Don't build-dep on bug-buddy for !hurd-i386; libgtop and hence bug-buddy + aren't ported to hurd yet; thanks Michael Banck; closes: #489736. + + -- Loic Minier Mon, 12 May 2008 11:47:15 +0200 + +gnome-python-desktop (2.22.0-1) unstable; urgency=low + + * New upstream release + - Handle 'GNOME_KEYRING_RESULT_NO_MATCH'. (Closes: #463494) + * debian/control: Merge with Ubuntu: + - Build-depend on libecal-dev and libebook-dev to build the new + Evolution bindings. + - Ported to new metacity-dev API; bump up libmetacity-dev build-dep to >= + 1:2.21.5 (Closes: #471625, #473142) + * debian/control: Standards-Version 3.7.3 + + -- Julian Andres Klode Sat, 29 Mar 2008 20:37:52 +0100 + +gnome-python-desktop (2.20.0-1) unstable; urgency=low + + * New upstream release + - updated version requirements for various libs, including wnck + (Closes: #444268) + + -- Gustavo Noronha Silva Thu, 27 Sep 2007 20:40:57 -0300 + +gnome-python-desktop (2.18.0-2) unstable; urgency=low + + [ Loic Minier ] + * Don't pass --host to configure when DEB_BUILD_GNU_TYPE equals + DEB_HOST_GNU_TYPE. + * Honor CFLAGS we set in rules, doh! + * Set some sane default CFLAGS and honor noopt in DEB_BUILD_OPTIONS. + + [ Sebastian Dröge ] + * Upload to unstable, drop check-dist include. + + -- Sebastian Dröge Wed, 25 Apr 2007 16:33:56 +0200 + +gnome-python-desktop (2.18.0-1) experimental; urgency=low + + [ Loic Minier ] + * Add a postinst snippet on suggest of Sebastian Dröge, similar to the one + in python-dbus, because we're switching from pycentral to pysupport and + this might leave file behind. + * 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. + + [ Marc 'HE' Brockschmidt ] + * New upstream release: + + debian/control.in: Update, reorder and clean build-deps + + debian/rules: Enable build of metacity bindings + + [ Loic Minier ] + * Drop postinst snippet which seems to be useless nowadays. + + [ Josselin Mouette ] + * Massive cleanup in the build rules. + * Switch to python-support. + * Move python-gtk2 depencency to the Python-Depends field. + * Build-depend on python-support 0.6. + * Remove dh_python and debian/pycompat. + + -- Josselin Mouette Wed, 28 Mar 2007 22:13:20 +0200 + +gnome-python-desktop (2.16.0-1) experimental; urgency=low + + * New upstream releases. + - Bump build-deps to: libwnck-dev >= 2.15.5, libnautilus-burn-dev >= + 2.15.3, libmetacity-dev >= 2.15.5. + - Add build-deps on: librsvg2-dev (>= 2.13.93), libgnome-keyring-dev (>= + 0.5.0), libgnome-desktop-dev (>= 2.10.0). + * Drop useless nostrip handling via INSTALL_PROGRAM. + * Cleanups; make lintian happy. + * Fix various aspects of the build. + * Build-depend on libgnome-media-dev instead of gnome-media. + + -- Loic Minier Wed, 27 Sep 2006 21:46:08 +0200 + +gnome-python-desktop (2.14.0-3) unstable; urgency=low + + * Add debian/control to the pyversions -r call since it's mandatory, even if + the man page claims it's optional. + + -- Loic Minier Sat, 5 Aug 2006 20:49:20 +0200 + +gnome-python-desktop (2.14.0-2) unstable; urgency=low + + * Drop the version from the conflict/replace with python2.4-gnome2-desktop. + * Replace python2.4-gnome2-extras (<< 2.13.3). + * Conflict/Replace with python2.3-gnome2-extras (<< 2.13.3) too as we now + provide 2.3 bindings. + * Conflict/Replace with python-gnome2-extras (<< 2.13.3) which existed + during one day in unstable thanks to an aggressive NMU. + * Make package binNMU-safe. + - Build-depend on dpkg-dev (>= 1.13.19). + - Let python-gnome2-desktop-dev depend on python-gnome2-desktop + (>= ${source:Version}). + + -- Loic Minier Tue, 4 Jul 2006 16:46:38 +0200 + +gnome-python-desktop (2.14.0-1) unstable; urgency=low + + * Set myself as Maintainer. + * Bump up Debhelper compatibility level to 5. + * Add ${misc:Depends}. + * Rephrase package descriptions and drop Author and Homepage from + descriptions. + * Bump up Standards-Version to 3.7.2. + * Update upstream URL. + * Update authors' list from AUTHORS. + * Ship full copyright information. + * Bump up libpanel-applet2-dev to >= 2.13.4. + * Add a libgnomeprint2.2-dev (>= 2.2.0) build-dep. + * Add watch file. + * Convert to new Python policy. + - Add ${python:Provides} to python-gnome2-desktop. + - Merge python-gnome2-desktop and python2.4-gnome2-desktop: merge the + dependencies, and add a Conflicts/Replaces for the merge itself. + - Update dependencies on other Python packages. + - Set python-gnome2-desktop to Arch: any. + - Bump up Debhelper build-dep to >= 5.0.37.2. + - Set Python compatibility level to 2. + - Add XB-Python-Version. + - Add a python-all-dev (>= 2.3.5-11) build-dep. + - Rewrite rules completely, in particular drop patch support and support + pyversions. + - Add a python-central (>= 0.4.17) build-dep. + - Add a XS-Python-Version (>= 2.3). + * Build-depend on autotools-dev and copy config.guess and .sub only when + present (i.e. from a source tree). + * Build-depend on Python for dh_python. + * Initial upload to Debian. (Closes: #370336) + + -- Loic Minier Mon, 3 Jul 2006 10:26:49 +0200 + +gnome-python-desktop (2.14.0-0ubuntu2) dapper; urgency=low + + * debian/control.in: + - removed superfluous Depends: from python-gnome2-desktop-dev. + + -- Daniel Holbach Thu, 6 Apr 2006 16:19:59 +0200 + +gnome-python-desktop (2.14.0-0ubuntu1) dapper; urgency=low + + * New upstream release: + - LIBGNOMEPRINTUI shouldn't build without gnome-python. + + -- Daniel Holbach Mon, 13 Mar 2006 00:22:12 +0100 + +gnome-python-desktop (2.13.3-0ubuntu1) dapper; urgency=low + + * Initial release. + * Packaging based on gnome-python-extras - thanks to everybody for shaping + the package it is today. + + -- Daniel Holbach Mon, 23 Jan 2006 12:01:08 +0100 --- gnome-python-desktop-2.26.0.orig/debian/rules +++ gnome-python-desktop-2.26.0/debian/rules @@ -0,0 +1,118 @@ +#!/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 + +CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2) + +configure_flags += --prefix=/usr --enable-metacity + +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + configure_flags += --build=$(DEB_BUILD_GNU_TYPE) +else + configure_flags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +endif + +PYVERS := $(shell pyversions -vr debian/control 2>/dev/null) + +.PRECIOUS: build-%/configure-stamp dbg-build-%/configure-stamp + +build-%/configure-stamp: configure + dh_testdir + mkdir -p build-$* + cd build-$* && \ + PYTHON=/usr/bin/python$* CFLAGS="$(CFLAGS)" \ + ../configure $(configure_flags) + touch $@ + +build-%/build-stamp: build-%/configure-stamp + dh_testdir + $(MAKE) -C build-$* + touch $@ + +dbg-build-%/configure-stamp: + dh_testdir + rm -rf dbg-build-$* + mkdir -p dbg-build-$* + cd dbg-build-$* && PYTHON=`which python$*-dbg` CFLAGS="$(CFLAGS) -g -O0" \ + ../configure $(configure_flags) + 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/python-gnome2-desktop + +dbg-install-%: dbg-build-%/build-stamp + dh_testdir + dh_testroot + $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-gnome2-desktop-dbg + find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f + find debian/python-*-dbg -depth -empty -exec rmdir {} \; + +install: build install-clean $(PYVERS:%=install-%) $(PYVERS:%=dbg-install-%) + dh_installdirs + mv debian/python-gnome2-desktop/usr/lib/pkgconfig debian/python-gnome2-desktop-dev/usr/lib/ + mv debian/python-gnome2-desktop/usr/share/pygtk debian/python-gnome2-desktop-dev/usr/share/ + mv debian/python-gnome2-desktop/usr/share/gtk-doc debian/python-gnome2-desktop-doc/usr/share/ + + 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 + dh_testroot + -test -r config.sub && test -r /usr/share/misc/config.sub && cp -f /usr/share/misc/config.sub + -test -r config.guess && test -r /usr/share/misc/config.guess && cp -f /usr/share/misc/config.guess + rm -Rf build-* dbg-build-* + rm -f */*.pyc *.pyc + dh_clean + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs -i + dh_installexamples -i + dh_installchangelogs -i ChangeLog + dh_compress -i -Xexamples + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs -s + dh_installexamples -s + dh_installchangelogs -s ChangeLog + dh_strip -ppython-gnome2-desktop --dbg-package=python-gnome2-desktop-dbg + rm -rf debian/python-gnome2-desktop-dbg/usr/share/doc/python-gnome2-desktop-dbg + ln -s python-gnome2-desktop debian/python-gnome2-desktop-dbg/usr/share/doc/python-gnome2-desktop-dbg + dh_compress -s + dh_fixperms -s + dh_pysupport -s + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary: binary-arch binary-indep +.PHONY: build clean install binary-indep binary-arch binary --- gnome-python-desktop-2.26.0.orig/debian/python-gnome2-desktop.examples +++ gnome-python-desktop-2.26.0/debian/python-gnome2-desktop.examples @@ -0,0 +1 @@ +examples/* --- gnome-python-desktop-2.26.0.orig/debian/compat +++ gnome-python-desktop-2.26.0/debian/compat @@ -0,0 +1 @@ +5 --- gnome-python-desktop-2.26.0.orig/debian/python-gnome2-desktop-dev.dirs +++ gnome-python-desktop-2.26.0/debian/python-gnome2-desktop-dev.dirs @@ -0,0 +1,2 @@ +/usr/share +/usr/lib