--- pygobject-2.14.1.orig/debian/docs +++ pygobject-2.14.1/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +AUTHORS --- pygobject-2.14.1.orig/debian/control.in +++ pygobject-2.14.1/debian/control.in @@ -0,0 +1,72 @@ +Source: pygobject +Section: python +Priority: optional +Maintainer: Ubuntu Desktop Team +XSBC-Original-Maintainer: Josselin Mouette +Uploaders: @GNOME_TEAM@ +Build-Depends: debhelper (>= 5), + python-support (>= 0.4), + gnome-pkg-tools (>= 0.10), + cdbs, + python-all-dev (>= 2.3.5), + libglib2.0-dev (>= 2.8.0), + libffi-dev, + xsltproc, + docbook-xsl, + autotools-dev, + python-all-dbg +Build-Conflicts: python2.3-dev (<< 2.3.5) +XS-Python-Version: >= 2.3 +Standards-Version: 3.7.2 + +Package: python-gobject +Architecture: any +Depends: ${python:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Suggests: python-gobject-dbg +Conflicts: python-gtk2 (<< 2.10) +Description: Python bindings for the GObject library + GObject is an abstraction layer that allows to program with an object + paradigm that is compatible with many languages. It is a part of Glib, + the core library used to build GTK+ and GNOME. + . + This package contains the python bindings for GObject. It is mostly + used by other bindings to map their GObjects to python objects. + +Package: python-gobject-dev +Architecture: all +Depends: ${python:Depends}, + ${misc:Depends}, + python-gobject (>= ${source:Version}), + python-dev, + libglib2.0-dev (>= 2.8.0), + libffi-dev +Conflicts: python-gtk2-dev (<< 2.10), python-gobject-doc +Replaces: python-gobject-doc +Provides: python-gobject-doc +Recommends: docbook-xsl +Description: Development headers for the GObject python bindings + GObject is an abstraction layer that allows to program with an object + paradigm that is compatible with many languages. It is a part of Glib, + the core library used to build GTK+ and GNOME. + . + This package contains the development headers needed to build + other python bindings relying on pygobject. + +Package: python-gobject-dbg +Priority: extra +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, python-dbg, python-gobject (= ${Source-Version}) +Conflicts: python-gtk2 (<< 2.10) +Description: Python bindings for the GObject library (debug extension) + GObject is an abstraction layer that allows to program with an object + paradigm that is compatible with many languages. It is a part of + Glib, + the core library used to build GTK+ and GNOME. + . + This package contains the python bindings for GObject. It is + mostly + used by other bindings to map their GObjects to python objects. --- pygobject-2.14.1.orig/debian/control +++ pygobject-2.14.1/debian/control @@ -0,0 +1,72 @@ +Source: pygobject +Section: python +Priority: optional +Maintainer: Ubuntu Desktop Team +XSBC-Original-Maintainer: Josselin Mouette +Uploaders: Debian GNOME Maintainers , Josselin Mouette , Loic Minier , Sebastien Bacher +Build-Depends: debhelper (>= 5), + python-support (>= 0.4), + gnome-pkg-tools (>= 0.10), + cdbs, + python-all-dev (>= 2.3.5), + libglib2.0-dev (>= 2.8.0), + libffi-dev, + xsltproc, + docbook-xsl, + autotools-dev, + python-all-dbg +Build-Conflicts: python2.3-dev (<< 2.3.5) +XS-Python-Version: >= 2.3 +Standards-Version: 3.7.2 + +Package: python-gobject +Architecture: any +Depends: ${python:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Suggests: python-gobject-dbg +Conflicts: python-gtk2 (<< 2.10) +Description: Python bindings for the GObject library + GObject is an abstraction layer that allows to program with an object + paradigm that is compatible with many languages. It is a part of Glib, + the core library used to build GTK+ and GNOME. + . + This package contains the python bindings for GObject. It is mostly + used by other bindings to map their GObjects to python objects. + +Package: python-gobject-dev +Architecture: all +Depends: ${python:Depends}, + ${misc:Depends}, + python-gobject (>= ${source:Version}), + python-dev, + libglib2.0-dev (>= 2.8.0), + libffi-dev +Conflicts: python-gtk2-dev (<< 2.10), python-gobject-doc +Replaces: python-gobject-doc +Provides: python-gobject-doc +Recommends: docbook-xsl +Description: Development headers for the GObject python bindings + GObject is an abstraction layer that allows to program with an object + paradigm that is compatible with many languages. It is a part of Glib, + the core library used to build GTK+ and GNOME. + . + This package contains the development headers needed to build + other python bindings relying on pygobject. + +Package: python-gobject-dbg +Priority: extra +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, python-dbg, python-gobject (= ${Source-Version}) +Conflicts: python-gtk2 (<< 2.10) +Description: Python bindings for the GObject library (debug extension) + GObject is an abstraction layer that allows to program with an object + paradigm that is compatible with many languages. It is a part of + Glib, + the core library used to build GTK+ and GNOME. + . + This package contains the python bindings for GObject. It is + mostly + used by other bindings to map their GObjects to python objects. --- pygobject-2.14.1.orig/debian/changelog +++ pygobject-2.14.1/debian/changelog @@ -0,0 +1,105 @@ +pygobject (2.14.1-0ubuntu1) hardy; urgency=low + + * New upstream version: + - Avoid wakeups when using Python trunk + - Add an uninstalled.pc + * debian/control.in: + - updated maintainer information + + -- Sebastien Bacher Mon, 07 Jan 2008 10:59:53 +0100 + +pygobject (2.14.0-4) unstable; urgency=low + + * debian/rules: + - don't stop the build when make check has an error to avoid having + to add a depends on pygtk + + -- Sebastien Bacher Sat, 01 Dec 2007 23:20:19 +0100 + +pygobject (2.14.0-3) unstable; urgency=low + + * debian/control.in: + - Build-Depends on python-all-dbg + - Conflicts,Provides,Replaces python-gobject-doc + - list python-gobject-dbg package + * debian/rules: + - build dbg variant + - run make check + + -- Sebastien Bacher Fri, 30 Nov 2007 12:46:58 +0100 + +pygobject (2.14.0-2) unstable; urgency=low + + * python-gobject-dev depends on libglib2.0-dev and libffi-dev. + + -- Josselin Mouette Sun, 23 Sep 2007 22:43:19 +0200 + +pygobject (2.14.0-1) unstable; urgency=low + + * New upstream release. + * Use source:Version. + * Build-depend on libffi-dev. + + -- Josselin Mouette Sat, 22 Sep 2007 10:11:58 +0200 + +pygobject (2.12.3-2) unstable; urgency=low + + * 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. + * Honor CFLAGS we set in rules, doh! + * Set some sane default CFLAGS and honor noopt in DEB_BUILD_OPTIONS. + * Upload to unstable; drop check-dist include. + * Add watch file. + * Fix URL in copyright. + * Wrap build-deps and deps. + * Set XS-Python-Version to >= 2.3 and build-conflict on python2.3-dev << + 2.3.5; add XB-Python-Version; bump python-all-dev build-dep to >= 2.3.5. + * Add a ${misc:Depends}. + * Don't pass --host to configure when DEB_BUILD_GNU_TYPE equals + DEB_HOST_GNU_TYPE. + * build target is PHONY. + * Cleanups. + + -- Loic Minier Sat, 14 Apr 2007 13:29:37 +0200 + +pygobject (2.12.3-1) experimental; urgency=low + + * New upstream release. + * 01_doc_licensing.patch: removed, integrated upstream. + + -- Josselin Mouette Thu, 4 Jan 2007 20:41:25 +0100 + +pygobject (2.12.1-4) experimental; urgency=low + + * python-gobject-dev recommends docbook-xsl. + * python-gobject-dev depends on python-dev. + + -- Josselin Mouette Tue, 2 Jan 2007 22:27:27 +0100 + +pygobject (2.12.1-3) experimental; urgency=low + + [ Josselin Mouette ] + * Build-depend on docbook-xsl (closes: #397811). + + [ Loic Minier ] + * Upload. + + -- Loic Minier Sun, 3 Dec 2006 13:50:38 +0100 + +pygobject (2.12.1-2) experimental; urgency=low + + * 01_doc_licensing.patch: stolen from upstream CVS. Upstream agreed to + relicense the documentation to LGPL. + * copyright: document that. + + -- Josselin Mouette Thu, 12 Oct 2006 20:35:45 +0200 + +pygobject (2.12.1-1) experimental; urgency=low + + * Initial release. + * This package was split out from pygtk. + + -- Josselin Mouette Tue, 26 Sep 2006 21:30:26 +0200 --- pygobject-2.14.1.orig/debian/rules +++ pygobject-2.14.1/debian/rules @@ -0,0 +1,129 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/simple-patchsys.mk +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) + +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 \ + --enable-thread \ + --build=$(DEB_BUILD_GNU_TYPE) + +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + configure_flags += --host=$(DEB_HOST_GNU_TYPE) +endif + +PYVERS := $(shell pyversions -vs) + +build-%/configure-stamp: + dh_testdir + mkdir -p build-$* + cd build-$* && \ + PYTHON=/usr/bin/python$* CFLAGS="$(CFLAGS)" \ + $(CURDIR)/configure $(configure_flags) + touch $@ + +dbg-build-%/configure-stamp: + dh_testdir + mkdir -p dbg-build-$* + cd dbg-build-$* && \ + PYTHON=/usr/bin/python$*-dbg CFLAGS="$(CFLAGS) -O0" \ + $(CURDIR)/configure $(configure_flags) + touch $@ + +build-%/build-stamp: build-%/configure-stamp + dh_testdir + $(MAKE) -C build-$* + -$(MAKE) -C build-$* check + touch $@ + +dbg-build-%/build-stamp: dbg-build-%/configure-stamp + dh_testdir + $(MAKE) -C dbg-build-$* + touch $@ + +build: apply-patches $(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-gobject-dev + +dbg-install-%: dbg-build-%/build-stamp + dh_testdir + dh_testroot + $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-gobject-dbg + find debian/python-gobject-dbg ! -type d ! -name '*.so' | xargs rm -f + find debian/python-gobject-dbg -depth -empty -exec rmdir {} \; + +install: build install-clean $(PYVERS:%=install-%) $(PYVERS:%=dbg-install-%) + dh_testdir + dh_testroot + find debian/python-gobject-dev -name \*.la -exec rm -f \{\} \; + mkdir -p debian/python-gobject/usr/lib + mv debian/python-gobject-dev/usr/lib/python* debian/python-gobject/usr/lib/ + for i in $$(find debian/python-gobject-dbg -name '*.so'); do \ + b=$$(basename $$i .so); \ + mv $$i $$(dirname $$i)/$${b}_d.so; \ + done + +clean:: reverse-patches + dh_testdir + dh_testroot + rm -Rf build-* dbg-build-* + -test -f config.sub && \ + test -r /usr/share/misc/config.sub && \ + cp -f /usr/share/misc/config.sub config.sub + -test -f config.guess && \ + test -r /usr/share/misc/config.guess && \ + cp -f /usr/share/misc/config.guess config.guess + dh_clean *.pyc */*.pyc + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs -i + dh_installexamples -i + dh_installchangelogs ChangeLog -i + dh_link -i + dh_compress -i -X.py + dh_fixperms -i + # More permission fixing + chmod 755 `grep -rl "^#\!.*python" debian/python-gobject-dev/usr` + dh_pysupport -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_installchangelogs ChangeLog -a + dh_strip -ppython-gobject --dbg-package=python-gobject-dbg + rm -rf debian/python-gobject-dbg/usr/share/doc/python-gobject-dbg + ln -sf python-gobject debian/python-gobject-dbg/usr/share/doc/python-gobject-dbg + dh_link -a + dh_compress -a -X.py + dh_fixperms -a + dh_pysupport -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary build install --- pygobject-2.14.1.orig/debian/python-gobject.examples +++ pygobject-2.14.1/debian/python-gobject.examples @@ -0,0 +1 @@ +examples/*.py --- pygobject-2.14.1.orig/debian/watch +++ pygobject-2.14.1/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://ftp.gnome.org/pub/GNOME/sources/pygobject/([\d\.]+)[02468]/pygobject-([\d\.]+)\.tar\.gz --- pygobject-2.14.1.orig/debian/python-gobject-dev.links +++ pygobject-2.14.1/debian/python-gobject-dev.links @@ -0,0 +1 @@ +/usr/share/gtk-doc/html/pygobject /usr/share/doc/python-gobject-dev/html --- pygobject-2.14.1.orig/debian/compat +++ pygobject-2.14.1/debian/compat @@ -0,0 +1 @@ +5 --- pygobject-2.14.1.orig/debian/copyright +++ pygobject-2.14.1/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Josselin Mouette on +Tue, 26 Sep 2006 21:31:55 +0200. + +It was downloaded from + +Upstream authors: James Henstridge + Johan Dahlin + +License: + + 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.1 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'. + + +Note: the documentation used to be licensed under the Creative Commons +Attribution-ShareAlike License version 1.0, and was re-licensed to LGPL +on oct 12, 2006.