--- pygobject-2.21.1.orig/debian/copyright +++ pygobject-2.21.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. --- pygobject-2.21.1.orig/debian/watch +++ pygobject-2.21.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.21.1.orig/debian/control +++ pygobject-2.21.1/debian/control @@ -0,0 +1,76 @@ +# 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: pygobject +Section: python +Priority: optional +Maintainer: Ubuntu Desktop Team +XSBC-Original-Maintainer: Josselin Mouette +Uploaders: Debian GNOME Maintainers , Josselin Mouette , Sjoerd Simons +Build-Depends: debhelper (>= 5), + python-support (>= 0.4), + gnome-pkg-tools (>= 0.10), + cdbs, + quilt, + python-all-dev (>= 2.5), + libglib2.0-dev (>= 2.23.1), + libffi-dev (>= 3.0.5), + xsltproc, + docbook-xsl, + autotools-dev, + python-all-dbg +Build-Conflicts: python2.3-dev (<< 2.3.5) +XS-Python-Version: >= 2.5 +Standards-Version: 3.8.0 + +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 (>= 3.0.5) +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 (= ${binary: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.21.1.orig/debian/rules +++ pygobject-2.21.1/debian/rules @@ -0,0 +1,169 @@ +#!/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) + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +export echo=/bin/echo + +configure_flags += \ + --prefix=/usr \ + --enable-thread \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --disable-maintainer-mode + +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + configure_flags += --host=$(DEB_HOST_GNU_TYPE) +endif + +PYVERS := $(shell pyversions -vr) + +# 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 + [ ! -r config.sub ] || \ + (cp config.sub config.sub.orig && \ + cp /usr/share/misc/config.sub config.sub) + [ ! -r config.guess ] || \ + (cp config.guess config.guess.orig && \ + cp /usr/share/misc/config.guess config.guess) + touch $@ + +patch: patch-stamp + +unpatch: + rm -f patch-stamp + # restore files from backup (before unpatching) + [ ! -r config.sub.orig ] || \ + cp config.sub.orig config.sub + [ ! -r config.guess.orig ] || \ + cp config.guess.orig config.guess + # unapply patches, if any + $(QUILT) pop -a || test $$? = 2 + rm -rf .pc + +build-%/configure-stamp: patch-stamp + dh_testdir + mkdir -p build-$* + cd build-$* && \ + PYTHON=/usr/bin/python$* CFLAGS="$(CFLAGS)" \ + $(CURDIR)/configure $(configure_flags) + touch $@ + +dbg-build-%/configure-stamp: patch-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 + PYTHON=/usr/bin/python$* $(MAKE) -C build-$* pyexecdir=/var/lib/python-support/python$* + -PYTHON=/usr/bin/python$* $(MAKE) -C build-$* check + touch $@ + +dbg-build-%/build-stamp: dbg-build-%/configure-stamp + dh_testdir + PYTHON=/usr/bin/python$*-dbg $(MAKE) -C dbg-build-$* + touch $@ + +build: $(PYVERS:%=build-%/build-stamp) $(PYVERS:%=dbg-build-%/build-stamp) + +build-%/install-stamp: build-%/build-stamp + dh_testdir + dh_testroot + PYTHON=/usr/bin/python$* $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/python-gobject-dev pyexecdir=/var/lib/python-support/python$* + touch $@ + +dbg-build-%/install-stamp: dbg-build-%/build-stamp + dh_testdir + dh_testroot + PYTHON=/usr/bin/python$*-dbg $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-gobject-dbg + find debian/python-gobject-dbg ! -type d ! \( -name '*.so' -o -name '*.so.*' \) -delete + find debian/python-gobject-dbg -type d -empty -delete + touch $@ + +install-stamp: $(PYVERS:%=build-%/build-stamp) $(PYVERS:%=dbg-build-%/build-stamp) + dh_testdir + dh_testroot + # remove the install stamps to force a reinstall (since dh_clean is + # removing the package dirs) + dh_clean -k $(PYVERS:%=build-%/install-stamp) $(PYVERS:%=dbg-build-%/install-stamp) + $(MAKE) -f debian/rules $(PYVERS:%=build-%/install-stamp) $(PYVERS:%=dbg-build-%/install-stamp) + find debian/python-gobject-dev -name \*.la -delete + mkdir -p debian/python-gobject/var/lib debian/python-gobject/usr/lib + mv debian/python-gobject-dev/var/lib/python* debian/python-gobject/var/lib/ + mv debian/python-gobject-dev/usr/lib/libpyglib-*so.* \ + debian/python-gobject/usr/lib + rm -rf debian/python-gobject-dev/usr/lib/python* debian/python-gobject-dev/var + for i in $$(find debian/python-gobject-dbg -name '*.so' -path 'debian/python-gobject-dbg/usr/lib/python*/*-packages/*'); do \ + b=$$(basename $$i .so); \ + mv $$i $$(dirname $$i)/$${b}_d.so; \ + done + sed -i 's,bin/python[23]\.[0-9],bin/python,' \ + debian/python-gobject-dev/usr/bin/pygobject-codegen-2.0 + + touch $@ + +install: install-stamp + +clean:: + dh_testdir + dh_testroot + rm -f install-stamp + rm -rf build-* dbg-build-* + $(MAKE) -f debian/rules unpatch + dh_clean *.pyc */*.pyc + +binary-indep: 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 /usr/share/pygobject + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: install + dh_testdir + dh_testroot + dh_installdocs -s + dh_installexamples -s + dh_installchangelogs -s ChangeLog + 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 -s + dh_compress -s -X.py + dh_fixperms -s + dh_pysupport -s + dh_makeshlibs -ppython-gobject -V'python-gobject (>= 2.15.2)' + dh_makeshlibs -ppython-gobject-dbg -V'python-gobject-dbg (>= 2.15.2)' + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary: binary-arch binary-indep +.PHONY: patch unpatch build install clean binary-indep binary-arch binary --- pygobject-2.21.1.orig/debian/changelog +++ pygobject-2.21.1/debian/changelog @@ -0,0 +1,370 @@ +pygobject (2.21.1-0ubuntu2) lucid; urgency=low + + * debian/patches/03_maintainer_mode.patch: + - don't use this change to not trigger autotools run on build + + -- Sebastien Bacher Tue, 05 Jan 2010 19:29:19 +0100 + +pygobject (2.21.1-0ubuntu1) lucid; urgency=low + + * New upstream version + * debian/control.in: + - updated liblib requirement since the new version fixes a build issue + * debian/patches/61_wakeupfd-fctnl-and-read.patch: + - dropped since the issue is fixed in the new version + + -- Sebastien Bacher Mon, 04 Jan 2010 17:40:25 +0100 + +pygobject (2.18.0-0ubuntu1) karmic; urgency=low + + * New upstream version + * debian/patches/01_pkgconfig-private.patch: + - the change is in the new version + * debian/patches/62_install-pyglib-in-libdir-with-python-version.patch: + - the change is in the new version + * debian/patches/90_autofoo.patch: + - not required in the new version + + -- Sebastien Bacher Mon, 01 Jun 2009 17:28:32 +0200 + +pygobject (2.17.0-0ubuntu1) karmic; urgency=low + + * New upstream version: + - Write a good part of the docs for gio + - Wrap g_mount_guess_content_type g_mount_guess_content_type_finish + g_mount_guess_content_type_sync + - Swap first two arguments of gio.File.query_info_async + - Fix a crash in pyg_type_add_interfaces + - Remove an empty structure, use sizeof instead + - Wrap four g_get_user_*_dir + - Remove 'ltihooks.py' as using deprecated Python module + - Code maintenance: add .gitignore files + - CellRendererPixbuf stock-size property has wrong type + - Add a doap file after git migration + - missing dep on libffi in pygobject-2.0.pc + - g_volume_monitor_tp_new new function, return the singleton object. + - Remove a DeprecationWarning under python 2.6 + - several scripts from codegen directory are not distributed + - g_file_copy_async change argument order to keep it consistent with the + other methods + - memory leak in gio.File.copy_async + - g_file_monitor should accept None for cancellable and set the default + flag to G_FILE_MONITOR_NONE + - pyg_notify_free needs to ensure it has GIL before calling Py_XDECREF + - Wrap g_file_set_display_name_async + - Add a semi-private method to return the option context C object from + an option context wrapper + - Converting a negative long Python value to a GUINT64 GValue doesn't + error out as it should + - Wrap g_file_set_attributes_async and + g_file_set_attributes_finish + - g_file_query_filesystem_info_async fix a typo + - Wrap g_file_query_filesystem_info_async + - Add missing g_file_query_filesystem_info_async and + g_file_query_filesystem_info_finish + - Wrap g_file_eject_mountable + - g_file_copy callback cannot be optional + - Swap various kwargs names to reflect the code + - Update the address of the FSF + - Add g_volume_should_automount + - Wrap g_drive_enumerate_identifiers and g_volume_enumerate_identifiers + - Add a couple of convinence functions to convert from/to a python list + and an array of strings + - Allow setting pytype wrapper class + - Wrap g_file_enumerator_close_async + * debian/patches/01_pkgconfig-private.patch: + - new version update + * debian/patches/91_upstream_change_fix_rhythmbox_crash.patch: + - the change is in the new version + + -- Sebastien Bacher Mon, 11 May 2009 14:16:44 +0200 + +pygobject (2.16.1-1ubuntu2) jaunty; urgency=low + + * debian/patches/91_upstream_change_fix_rhythmbox_crash.patch: + - upstream bugzilla change to fix a crasher + + -- Sebastien Bacher Wed, 08 Apr 2009 00:58:31 +0200 + +pygobject (2.16.1-1ubuntu1) jaunty; urgency=low + + * Sync on Debian + * debian/control.in, debian/rules: + - don't use a specific python version + + -- Sebastien Bacher Tue, 07 Apr 2009 22:57:05 +0200 + +pygobject (2.16.1-1) unstable; urgency=low + + * New upstream release. + + 90_autofoo.patch: regenerated. + + -- Josselin Mouette Wed, 11 Mar 2009 22:51:50 +0100 + +pygobject (2.16.0-1) unstable; urgency=low + + [ Loic Minier ] + * Pass PYTHON to $(MAKE) runs for robustness in case of timestamp skews; + thanks Colin Watson; closes: #509192. + * Pass --disable-maintainer-mode to configure. + * Rework patch and config.sub/.guess handling: backup config.guess and .sub, + call quilt instead of relying on cdbs' quilt patchsys, restore + config.guess and .sub after unpatching. This avoids config.guess and .sub + in the diff, and allows control over fully working and fully patched + trees. + * Call dh_* -s instead of -a in binary-arch. + * Rework install rules and dependencies completely to avoid .PHONY implicit + targets. + + [ Josselin Mouette ] + * Install files to the python-support directory since objcopy is + completely stupid and doesn’t add the full pathname to the + .gnu_debuglink section. Closes: #518026. + * New upstream release. + * 63_macro-dir.patch: removed, merged upstream. + * 90_autofoo.patch: regenerated. + * Fix quilt invocation so that patches are applied. + * Pass echo=/bin/echo to the environment to work around the ☠☢☣⚡⚠✈║ + libtool bug that is not able to find a command as simple as echo, is + that really too much to ask? + * 04_testsuite_gtk.patch: new patch. Don’t run tests that require + pygtk being installed. + + -- Josselin Mouette Sun, 08 Mar 2009 12:44:24 +0100 + +pygobject (2.15.4-2) experimental; urgency=low + + * debian/patches/64_gil_lock.patch, added. + + Release the python GIL lock when getting properties and unreffing + objects. Prevents deadlocks when using farsight2. + + -- Sjoerd Simons Fri, 28 Nov 2008 16:07:42 +0100 + +pygobject (2.15.4-1) experimental; urgency=low + + [ Emilio Pozuelo Monfort ] + * Merged 2.15 updates from Ubuntu, thanks to Sebastien Bacher + and Loïc Minier: + - Build-Depend on libglib2.0-dev >= 2.14. + - debian/patches/60_use-python-config-for-includes.patch, + debian/patches/02_ffi-use-pkgconfig: + + Dropped, fixed upstream. + - debian/patches/debian/patches/61_wakeupfd-fix.patch: + + Renamed as 61_wakeupfd-fctnl-and-read.patch, updated. + - debian/patches/62_install-pyglib-in-libdir-with-python-version.patch: + + installs the new pyglib public library to the private directory + libdir/pygobject/python to have one lib per python + version + - debian/patches/63_macro-dir.patch: + + Add AC_CONFIG_MACRO_DIR for libtoolize. GNOME #551227. + - debian/patches/69_pyg-register-pointer-typo: + + fixes crash on x86-64 due to a typo. GNOME #550463. + - debian/patches/90_autofoo.patch: + + Updated. + - debian/rules: + + Call dh_makeshlibs to generate shlibs on python-gobject >= 2.15.2. + + Rework -dbg support for the new pyglib shared lib. + - Bump Standards-Version to 3.8.0. + - debian/rules: + + Use find -print0/xargs -0. + * New upstream release. Closes: #492647. + - Build-Depend on libglib2.0-dev >= 2.16.0 for GIO support. + - debian/patches/69_pyg-register-pointer-typo: + + Removed, fixed upstream. + * debian/patches/62_install-pyglib-in-libdir-with-python-version.patch: + - Changed so that libpyglib is in /usr/lib and shared objects linking + to it don't need an RPATH. The library is now in + $libdir/libpyglib-2.0-pythonX.Y.so + Thanks a lot to Loïc Minier for his help and guidance! + * debian/rules: + - Adjusted for the above patch. + - Copy config.* in build and restore it in clean, so that changes don't + end up in the diff.gz. + * debian/patches/90_autofoo.patch: + - Regenerated. + + [ Josselin Mouette ] + * Re-add references in 61_wakeupfd-fctnl-and-read.patch. + * 90_autofoo.patch: remove autom4te.cache. + * Depend on python 2.5, since the test suite does not run with python + 2.4. + * Use pyversions -vr to really disable the 2.4 build. + * Pass /usr/share/pygobject to dh_pysupport. + * Don’t move the -dbg symbolic link to the -dev package. + * Run dh_makeshlibs separately for python-gobject-dbg. + + -- Josselin Mouette Wed, 12 Nov 2008 15:49:34 +0100 + +pygobject (2.14.2-1) unstable; urgency=low + + * Switch to quilt; build-depend on quilt. + * New upstream release. + + Refresh patches. + * 03_maintainer_mode.patch: add AM_MAINTAINER_MODE. + * 61_wakeupfd-fix.patch: do not use the wakeupfd in non-threaded + applications, as it is not initialized. + + -- Josselin Mouette Sat, 07 Jun 2008 15:05:11 +0200 + +pygobject (2.14.1-8) unstable; urgency=low + + * Revert last upload, the pygobject patch was fine and the bug lies in + pygtk. Furthermore, wakeupfd gets used anyway since Python supports + it, so we *need* this patch. + + -- Josselin Mouette Wed, 04 Jun 2008 00:08:02 +0200 + +pygobject (2.14.1-7) unstable; urgency=low + + * Also add an explicit python2.5 (>= 2.5.2-5) dep; closes: #481936. + * Drop patch 61_wakeupfd-fix, it seems to expose some python2.5 64-bits + issue; revert build-deps and deps bumps from 2.12.1-3 and -4. + + -- Loic Minier Tue, 20 May 2008 11:26:02 +0200 + +pygobject (2.14.1-6) unstable; urgency=low + + * Update 61_wakeupfd-fix to use more ifdefs for python without the wakeupfd + support; see #481457. + * Build-dep and dep on python2.5-dev >= 2.5.2-5 for wakeupfd support. + + -- Loic Minier Fri, 16 May 2008 14:14:06 +0200 + +pygobject (2.14.1-5) unstable; urgency=low + + * New patch, 61_wakeupfd-fix, from the fix to the initial SETWAKEUPFD + support in GNOME #481569. + + -- Loic Minier Thu, 15 May 2008 14:56:58 +0200 + +pygobject (2.14.1-4) unstable; urgency=low + + * Depend and build-depend on libffi-dev >= 3.0.5 so that the older + package without a .pc file is not used. + + -- Josselin Mouette Thu, 17 Apr 2008 20:24:59 +0200 + +pygobject (2.14.1-3) unstable; urgency=low + + * 01_pkgconfig-private.patch: new patch, move libffi to + Requires.private to prevent pygobject rdeps from depending on it. + * 02_ffi-use-pkgconfig.patch: new patch, use pkg-config to check for + libffi. + * 60_use-python-config-for-includes.patch: strip the autogenerated + part. + * 90_autofoo.patch: re-run aclocal/automake/autoconf on top of it. + * Capitalize Python in the descriptions. + * Use binary:Version. + + -- Josselin Mouette Tue, 25 Mar 2008 01:11:56 +0100 + +pygobject (2.14.1-2) unstable; urgency=low + + * New patch, 60_use-python-config-for-includes, use python-config to set + PYTHON_INCLUDES; fixes support for -dbg package; GNOME #448173; + closes: #468130. NB: the patch also ships m4/ from upstream SVN as this + wasn't disted properly and also updated autoconf. + + -- Loic Minier Wed, 27 Feb 2008 16:09:00 +0100 + +pygobject (2.14.1-1) unstable; urgency=low + + * New upstream release; new features / bug fixes. + + -- Loic Minier Mon, 07 Jan 2008 10:59:32 +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.21.1.orig/debian/python-gobject.examples +++ pygobject-2.21.1/debian/python-gobject.examples @@ -0,0 +1 @@ +examples/*.py --- pygobject-2.21.1.orig/debian/python-gobject-dev.links +++ pygobject-2.21.1/debian/python-gobject-dev.links @@ -0,0 +1 @@ +/usr/share/gtk-doc/html/pygobject /usr/share/doc/python-gobject-dev/html --- pygobject-2.21.1.orig/debian/docs +++ pygobject-2.21.1/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +AUTHORS --- pygobject-2.21.1.orig/debian/control.in +++ pygobject-2.21.1/debian/control.in @@ -0,0 +1,71 @@ +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, + quilt, + python-all-dev (>= 2.5), + libglib2.0-dev (>= 2.23.1), + libffi-dev (>= 3.0.5), + xsltproc, + docbook-xsl, + autotools-dev, + python-all-dbg +Build-Conflicts: python2.3-dev (<< 2.3.5) +XS-Python-Version: >= 2.5 +Standards-Version: 3.8.0 + +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 (>= 3.0.5) +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 (= ${binary: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.21.1.orig/debian/compat +++ pygobject-2.21.1/debian/compat @@ -0,0 +1 @@ +5 --- pygobject-2.21.1.orig/debian/patches/03_maintainer_mode.patch +++ pygobject-2.21.1/debian/patches/03_maintainer_mode.patch @@ -0,0 +1,10 @@ +--- pygobject-2.15.1.orig/configure.ac 2008-08-11 17:28:58.000000000 +0200 ++++ pygobject-2.15.1/configure.ac 2008-08-11 17:28:59.000000000 +0200 +@@ -27,6 +27,7 @@ + AM_CONFIG_HEADER(config.h) + + AM_INIT_AUTOMAKE ++AM_MAINTAINER_MODE + + dnl put the ACLOCAL flags in the makefile + ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" --- pygobject-2.21.1.orig/debian/patches/series +++ pygobject-2.21.1/debian/patches/series @@ -0,0 +1,3 @@ +#03_maintainer_mode.patch +04_testsuite_gtk.patch +64_gil_locking.patch --- pygobject-2.21.1.orig/debian/patches/04_testsuite_gtk.patch +++ pygobject-2.21.1/debian/patches/04_testsuite_gtk.patch @@ -0,0 +1,13 @@ +Index: pygobject-2.16.0/tests/runtests.py +=================================================================== +--- pygobject-2.16.0.orig/tests/runtests.py 2009-03-08 14:11:20.765178704 +0100 ++++ pygobject-2.16.0/tests/runtests.py 2009-03-08 14:11:29.154585458 +0100 +@@ -22,7 +22,7 @@ common.importModules(buildDir=buildDir, + srcDir=srcDir) + + SKIP_FILES = ['common', 'runtests', +- 'test_enum', 'test_conversion'] ++ 'test_enum', 'test_conversion', 'test_subtype'] + + dir = os.path.split(os.path.abspath(__file__))[0] + os.chdir(dir) --- pygobject-2.21.1.orig/debian/patches/64_gil_locking.patch +++ pygobject-2.21.1/debian/patches/64_gil_locking.patch @@ -0,0 +1,45 @@ +--- a/gobject/pygobject.c (revision 975) ++++ b/gobject/pygobject.c (working copy) +@@ -291,7 +291,9 @@ + } + + g_value_init(&value, G_PARAM_SPEC_VALUE_TYPE(pspec)); ++ pyg_begin_allow_threads; + g_object_get_property(self->pygobject->obj, attr_name, &value); ++ pyg_end_allow_threads; + ret = pyg_param_gvalue_as_pyobject(&value, TRUE, pspec); + g_value_unset(&value); + +@@ -1066,8 +1068,11 @@ + if (self->inst_dict) { + g_object_remove_toggle_ref(self->obj, pyg_toggle_notify, self); + self->private_flags.flags &= ~PYGOBJECT_USING_TOGGLE_REF; +- } else ++ } else { ++ pyg_begin_allow_threads; + g_object_unref(self->obj); ++ pyg_end_allow_threads; ++ } + self->obj = NULL; + } + Py_CLEAR(self->inst_dict); +@@ -1197,7 +1202,9 @@ + return NULL; + } + g_value_init(&value, G_PARAM_SPEC_VALUE_TYPE(pspec)); ++ pyg_begin_allow_threads; + g_object_get_property(self->obj, param_name, &value); ++ pyg_end_allow_threads; + ret = pyg_param_gvalue_as_pyobject(&value, TRUE, pspec); + g_value_unset(&value); + return ret; +@@ -1247,7 +1254,9 @@ + } + g_value_init(&value, G_PARAM_SPEC_VALUE_TYPE(pspec)); + ++ pyg_begin_allow_threads; + g_object_get_property(self->obj, property_name, &value); ++ pyg_end_allow_threads; + + item = pyg_value_as_pyobject(&value, TRUE); + PyTuple_SetItem(tuple, i, item);