--- pygtk-2.13.0.orig/config.guess +++ pygtk-2.13.0/config.guess @@ -1,10 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# Free Software Foundation, Inc. -timestamp='2007-07-22' +timestamp='2008-01-23' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -56,8 +56,8 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -532,7 +532,7 @@ echo rs6000-ibm-aix3.2 fi exit ;; - *:AIX:*:[45]) + *:AIX:*:[456]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 @@ -799,6 +799,9 @@ EM64T | authenticamd) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks @@ -833,7 +836,14 @@ echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu @@ -954,8 +964,8 @@ x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; - xtensa:Linux:*:*) - echo xtensa-unknown-linux-gnu + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so @@ -1474,9 +1484,9 @@ the operating system you are using. It is advised that you download the most up to date version of the config scripts from - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run ($0) is already up to date, please send the following data and any information you think might be --- pygtk-2.13.0.orig/config.sub +++ pygtk-2.13.0/config.sub @@ -1,10 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# Free Software Foundation, Inc. -timestamp='2007-06-28' +timestamp='2008-01-16' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -72,8 +72,8 @@ version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -369,10 +369,14 @@ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ - | xstormy16-* | xtensa-* \ + | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-*) ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -443,6 +447,14 @@ basic_machine=ns32k-sequent os=-dynix ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; c90) basic_machine=c90-cray os=-unicos @@ -668,6 +680,14 @@ basic_machine=m68k-isi os=-sysv ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; m88k-omron*) basic_machine=m88k-omron ;; @@ -813,6 +833,14 @@ basic_machine=i860-intel os=-osf ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; pbd) basic_machine=sparc-tti ;; @@ -1021,6 +1049,10 @@ basic_machine=tic6x-unknown os=-coff ;; + tile*) + basic_machine=tile-unknown + os=-linux-gnu + ;; tx39) basic_machine=mipstx39-unknown ;; --- pygtk-2.13.0.orig/debian/python-gtk2.install +++ pygtk-2.13.0/debian/python-gtk2.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/python*/site-packages/gtk-2.0/*.so +debian/tmp/usr/lib/python*/site-packages/gtk-2.0/gtk/_gtk.so +debian/tmp/usr/lib/python*/site-packages/gtk-2.0/gtk/*.py --- pygtk-2.13.0.orig/debian/control.in +++ pygtk-2.13.0/debian/control.in @@ -0,0 +1,157 @@ +Source: pygtk +Section: python +Priority: optional +Maintainer: Ubuntu Desktop Team +XSBC-Original-Maintainer: Sebastien Bacher +Uploaders: Torsten Landschoff , + @GNOME_TEAM@ +Build-Depends: debhelper (>= 5), + python-support (>= 0.7.6), + gnome-pkg-tools (>= 0.10), + cdbs, + xvfb, + xauth, + xfonts-base, + libgl1-mesa-dri, + python2.5-dev (>= 2.5.2-5), + python-all-dev (>= 2.3.5-11), + python-all-dbg, + libgtk2.0-dev (>= 2.13.6), + libglib2.0-dev (>= 2.8.0), + libpango1.0-dev (>= 1.16.0), + libatk1.0-dev (>= 1.12.0), + libglade2-dev (>= 2.5.0), + python-numeric (>= 24.2-3), + python-cairo-dev (>= 1.0.2), + python-gobject-dev (>= 2.15.3), + xsltproc, + docbook-xsl, + autotools-dev, + gnome-icon-theme +XS-Python-Version: >= 2.3 +Standards-Version: 3.7.3 + +Package: python-gtk2 +Architecture: any +Depends: ${python:Depends}, + python2.5 (>= 2.5.2-5), + ${shlibs:Depends}, + ${misc:Depends} +Python-Depends: python-numeric (>= 24.2-3), + python-cairo (>= 1.0.2-1.1), + python-gobject (>= 2.15.3) +Suggests: python-gtk2-doc, python-gtk2-dbg +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Conflicts: python-gdk-imlib, + python-glade, + python-gnome, + python-gtk, + python2.3-gtk2, + python2.4-gtk2, + python-gtk-1.2 (<< 0.6.12-7) +Description: Python bindings for the GTK+ widget set + This archive contains modules that allow you to use GTK+ in Python + programs. This package contains the bindings for the version 2.0 + of that toolkit. + . + URL: http://www.daa.com.au/~james/software/pygtk/ + +Package: python-gtk2-dbg +Architecture: any +Priority: extra +Depends: python-gtk2 (= ${binary:Version}), + python-dbg, + python-numeric-dbg, + python-cairo-dbg, + python-gobject-dbg, + ${shlibs:Depends} +Description: Python bindings for the GTK+ widget set (debug extension) + This archive contains modules that allow you to use GTK+ in Python + programs. This package contains the bindings for the version 2.0 + of that toolkit. + . + This package contains the extension built for the python debug interpreter. + +Package: python-gtk2-dev +Architecture: all +Depends: ${python:Depends}, + python-gtk2 (>= ${source:Version}), + libglib2.0-dev (>= 2.8), + libgtk2.0-dev (>= 2.13.6), + python2.5-dev (>= 2.5.2-5), + python-dev, + python-gobject-dev (>= 2.15.3) +Recommends: python-gtk2-doc +Replaces: python2.2-gtk2 (<< 1.99.17-4), + python2.3-gtk2 (<< 1.99.17-4), + python2.2-glade2 (<< 1.99.17-4), + python2.3-glade2 (<< 1.99.17-4) +Conflicts: python2.2-gtk2 (<< 1.99.17-4), + python2.3-gtk2 (<< 1.99.17-4), + python2.2-glade2 (<< 1.99.17-4), + python2.3-glade2 (<< 1.99.17-4), + python-gdk-imlib, + python-glade, + python-gnome, + python-gtk +Description: GTK+ bindings: devel files + This archive contains files that allow you to build wrappers for addon + that interoperate python-gtk2 (pygtk). + . + URL: http://www.daa.com.au/~james/software/pygtk/ + +Package: python-glade2 +Architecture: any +Depends: ${python:Depends}, + ${shlibs:Depends}, + ${misc:Depends}, + python-gtk2 (= ${binary:Version}) +Suggests: python-gtk2-doc +Conflicts: python-gdk-imlib, + python-glade, + python-gnome, + python-gtk, + python2.3-glade2, + python2.4-glade2 +Provides: ${python:Provides} +Description: GTK+ bindings: Glade support + Contains bindings for the glade library from use within Python. Glade + makes it very easy to create a user interface. In the target + application you just need to load the interface description from + the .glade file instead of constructing the GUI at runtime. + . + URL: http://www.daa.com.au/~james/software/pygtk/ + +Package: python-glade2-dbg +Architecture: any +Priority: extra +Depends: python-glade2 (= ${binary:Version}), + python-dbg, + python-gtk2-dbg, + ${shlibs:Depends} +Description: GTK+ bindings: Glade support (debug extension) + Contains bindings for the glade library from use within Python. Glade + makes it very easy to create a user interface. In the target + application you just need to load the interface description from + the .glade file instead of constructing the GUI at runtime. + . + This package contains the extension built for the python debug interpreter. + +Package: python-gtk2-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Conflicts: python-gtk2 (<< 2.10.4-3) +Recommends: python-gtk2 +Suggests: devhelp, python-glade2 +Description: Python bindings for the GTK+ widget set - documentation + This package contains the documentation and API reference for the + Python bindings of the Pango, ATK, GDK, GTK+ and Glade libraries. + It is well structured and easy to use. + . + The documentation can be browsed with the devhelp documentation + browser, or with a regular web browser. + . + This package also provides several examples showing how to use these + bindings to build simple GUI applications. --- pygtk-2.13.0.orig/debian/python-gtk2.postinst +++ pygtk-2.13.0/debian/python-gtk2.postinst @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +# Cleanup for bytecompiled files in the former package version +rm -f /usr/lib/python2.[34]/site-packages/pygtk.py[co] + +#DEBHELPER# --- pygtk-2.13.0.orig/debian/docs +++ pygtk-2.13.0/debian/docs @@ -0,0 +1,5 @@ +NEWS +README +TODO +MAPPING +THREADS --- pygtk-2.13.0.orig/debian/control +++ pygtk-2.13.0/debian/control @@ -0,0 +1,157 @@ +Source: pygtk +Section: python +Priority: optional +Maintainer: Ubuntu Desktop Team +XSBC-Original-Maintainer: Sebastien Bacher +Uploaders: Torsten Landschoff , + Debian GNOME Maintainers , Josselin Mouette , Loic Minier +Build-Depends: debhelper (>= 5), + python-support (>= 0.7.6), + gnome-pkg-tools (>= 0.10), + cdbs, + xvfb, + xauth, + xfonts-base, + libgl1-mesa-dri, + python2.5-dev (>= 2.5.2-5), + python-all-dev (>= 2.3.5-11), + python-all-dbg, + libgtk2.0-dev (>= 2.13.6), + libglib2.0-dev (>= 2.8.0), + libpango1.0-dev (>= 1.16.0), + libatk1.0-dev (>= 1.12.0), + libglade2-dev (>= 2.5.0), + python-numeric (>= 24.2-3), + python-cairo-dev (>= 1.0.2), + python-gobject-dev (>= 2.15.3), + xsltproc, + docbook-xsl, + autotools-dev, + gnome-icon-theme +XS-Python-Version: >= 2.3 +Standards-Version: 3.7.3 + +Package: python-gtk2 +Architecture: any +Depends: ${python:Depends}, + python2.5 (>= 2.5.2-5), + ${shlibs:Depends}, + ${misc:Depends} +Python-Depends: python-numeric (>= 24.2-3), + python-cairo (>= 1.0.2-1.1), + python-gobject (>= 2.15.3) +Suggests: python-gtk2-doc, python-gtk2-dbg +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Conflicts: python-gdk-imlib, + python-glade, + python-gnome, + python-gtk, + python2.3-gtk2, + python2.4-gtk2, + python-gtk-1.2 (<< 0.6.12-7) +Description: Python bindings for the GTK+ widget set + This archive contains modules that allow you to use GTK+ in Python + programs. This package contains the bindings for the version 2.0 + of that toolkit. + . + URL: http://www.daa.com.au/~james/software/pygtk/ + +Package: python-gtk2-dbg +Architecture: any +Priority: extra +Depends: python-gtk2 (= ${binary:Version}), + python-dbg, + python-numeric-dbg, + python-cairo-dbg, + python-gobject-dbg, + ${shlibs:Depends} +Description: Python bindings for the GTK+ widget set (debug extension) + This archive contains modules that allow you to use GTK+ in Python + programs. This package contains the bindings for the version 2.0 + of that toolkit. + . + This package contains the extension built for the python debug interpreter. + +Package: python-gtk2-dev +Architecture: all +Depends: ${python:Depends}, + python-gtk2 (>= ${source:Version}), + libglib2.0-dev (>= 2.8), + libgtk2.0-dev (>= 2.13.6), + python2.5-dev (>= 2.5.2-5), + python-dev, + python-gobject-dev (>= 2.15.3) +Recommends: python-gtk2-doc +Replaces: python2.2-gtk2 (<< 1.99.17-4), + python2.3-gtk2 (<< 1.99.17-4), + python2.2-glade2 (<< 1.99.17-4), + python2.3-glade2 (<< 1.99.17-4) +Conflicts: python2.2-gtk2 (<< 1.99.17-4), + python2.3-gtk2 (<< 1.99.17-4), + python2.2-glade2 (<< 1.99.17-4), + python2.3-glade2 (<< 1.99.17-4), + python-gdk-imlib, + python-glade, + python-gnome, + python-gtk +Description: GTK+ bindings: devel files + This archive contains files that allow you to build wrappers for addon + that interoperate python-gtk2 (pygtk). + . + URL: http://www.daa.com.au/~james/software/pygtk/ + +Package: python-glade2 +Architecture: any +Depends: ${python:Depends}, + ${shlibs:Depends}, + ${misc:Depends}, + python-gtk2 (= ${binary:Version}) +Suggests: python-gtk2-doc +Conflicts: python-gdk-imlib, + python-glade, + python-gnome, + python-gtk, + python2.3-glade2, + python2.4-glade2 +Provides: ${python:Provides} +Description: GTK+ bindings: Glade support + Contains bindings for the glade library from use within Python. Glade + makes it very easy to create a user interface. In the target + application you just need to load the interface description from + the .glade file instead of constructing the GUI at runtime. + . + URL: http://www.daa.com.au/~james/software/pygtk/ + +Package: python-glade2-dbg +Architecture: any +Priority: extra +Depends: python-glade2 (= ${binary:Version}), + python-dbg, + python-gtk2-dbg, + ${shlibs:Depends} +Description: GTK+ bindings: Glade support (debug extension) + Contains bindings for the glade library from use within Python. Glade + makes it very easy to create a user interface. In the target + application you just need to load the interface description from + the .glade file instead of constructing the GUI at runtime. + . + This package contains the extension built for the python debug interpreter. + +Package: python-gtk2-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Conflicts: python-gtk2 (<< 2.10.4-3) +Recommends: python-gtk2 +Suggests: devhelp, python-glade2 +Description: Python bindings for the GTK+ widget set - documentation + This package contains the documentation and API reference for the + Python bindings of the Pango, ATK, GDK, GTK+ and Glade libraries. + It is well structured and easy to use. + . + The documentation can be browsed with the devhelp documentation + browser, or with a regular web browser. + . + This package also provides several examples showing how to use these + bindings to build simple GUI applications. --- pygtk-2.13.0.orig/debian/python-gtk2-dev.rtupdate +++ pygtk-2.13.0/debian/python-gtk2-dev.rtupdate @@ -0,0 +1,46 @@ +#!/bin/sh + +# this script updates symlinks to pkg-config files after a Python default +# runtime change + +if [ "$#" != 3 ]; then + echo "Usage: $0 {pre-rtupdate|post-rtupdate|rtupdate} " >&2 + exit 1 +fi + +action="$1" +oldruntime="$2" +newruntime="$3" + +this="python-gtk2-dev" + +pc_files() { + runtime="$1" + + dpkg -L "$this" | sed -n -e "s#^/usr/lib/pkgconfig/$runtime/##p" +} + +case "$action" in + pre-rtupdate) + ;; + post-rtupdate) + ;; + rtupdate) + echo "Updating *.pc symlinks for $this..." + + cd /usr/lib/pkgconfig + + for f in $(pc_files $oldruntime); do + rm -f "$f" + done + + for f in $(pc_files $newruntime); do + ln -s "$newruntime/$f" + done + ;; + *) + echo "$0 called with unknown argument \`$action'" >&2 + exit 0 + ;; +esac + --- pygtk-2.13.0.orig/debian/python-gtk2-doc.links +++ pygtk-2.13.0/debian/python-gtk2-doc.links @@ -0,0 +1 @@ +/usr/share/gtk-doc/html/pygtk /usr/share/doc/python-gtk2-doc/html --- pygtk-2.13.0.orig/debian/python-gtk2-doc.install +++ pygtk-2.13.0/debian/python-gtk2-doc.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/gtk-doc +debian/tmp/usr/bin/pygtk-demo +debian/tmp/usr/lib/pygtk/2.0 --- pygtk-2.13.0.orig/debian/python-gtk2-doc.examples +++ pygtk-2.13.0/debian/python-gtk2-doc.examples @@ -0,0 +1,6 @@ +examples/atk +examples/glade +examples/gtk +examples/ide +examples/pango +examples/simple --- pygtk-2.13.0.orig/debian/python-gtk2-doc.postinst +++ pygtk-2.13.0/debian/python-gtk2-doc.postinst @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +olddir=/usr/share/doc/python-gtk2-doc/html +newdir=../../gtk-doc/html/pygtk + +if [ -d $olddir ] && ! [ -L $olddir ]; then + rmdir --ignore-fail-on-non-empty $olddir && ln -s $newdir $olddir +fi + +#DEBHELPER# --- pygtk-2.13.0.orig/debian/python-glade2.install +++ pygtk-2.13.0/debian/python-glade2.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/python*/site-packages/gtk-2.0/gtk/glade.so --- pygtk-2.13.0.orig/debian/README.Debian +++ pygtk-2.13.0/debian/README.Debian @@ -0,0 +1,11 @@ +pygtk for Debian +---------------- + +To use the new gtk, you'll need to use the following code: + +import pygtk +pygtk.require('2.0') +import gtk + + + -- Gustavo Noronha Silva , Wed Sep 21 10:59:53 2005 --- pygtk-2.13.0.orig/debian/python-gtk2-dev.postinst +++ pygtk-2.13.0/debian/python-gtk2-dev.postinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +PYTHON_DEFAULT=$(pyversions --default) + +this="python-gtk2-dev" + +pc_files() { + runtime="$1" + + dpkg -L "$this" | sed -n -e "s#^/usr/lib/pkgconfig/$runtime/##p" +} + +if [ "$1" = "configure" ]; then + cd /usr/lib/pkgconfig + + for f in $(pc_files $PYTHON_DEFAULT); do + ln -f -s "$PYTHON_DEFAULT/$f" + done +fi + +#DEBHELPER# + --- pygtk-2.13.0.orig/debian/compat +++ pygtk-2.13.0/debian/compat @@ -0,0 +1 @@ +5 --- pygtk-2.13.0.orig/debian/copyright +++ pygtk-2.13.0/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Torsten Landschoff on +Tue, 6 Aug 2002 21:50:17 +0200. + +It was downloaded from: + + +Upstream Author: James Henstridge + +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, + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +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. --- pygtk-2.13.0.orig/debian/python-gtk2-dev.prerm +++ pygtk-2.13.0/debian/python-gtk2-dev.prerm @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +PYTHON_DEFAULT=$(pyversions --default) + +this="python-gtk2-dev" + +pc_files() { + runtime="$1" + + dpkg -L "$this" | sed -n -e "s#^/usr/lib/pkgconfig/$runtime/##p" +} + +if [ "$1" = "remove" ]; then + cd /usr/lib/pkgconfig + + for f in $(pc_files $PYTHON_DEFAULT); do + rm -f "$f" + done +fi + +#DEBHELPER# + --- pygtk-2.13.0.orig/debian/rules +++ pygtk-2.13.0/debian/rules @@ -0,0 +1,166 @@ +#!/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 --requested --version debian/control) +PYDEFAULTVER := $(shell pyversions --default --version) + +.PRECIOUS: build-%/configure-stamp dbg-build-%/configure-stamp + +build-%/configure-stamp: + dh_testdir + mkdir -p build-$* + cd build-$* && \ + PYTHON=/usr/bin/python$* CFLAGS="$(CFLAGS)" \ + $(CURDIR)/configure $(configure_flags) + touch $@ + +build-%/build-stamp: build-%/configure-stamp + dh_testdir + $(MAKE) -C build-$* + xvfb-run $(MAKE) -C build-$* check + 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 $@ + +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/tmp + # move installed files to a per python runtime location to allow + # comparison of the resulting files across runtimes or shipping + # multiple versions + # pkg-config file (this is shipped twice because of varying pyexecdir) + mkdir debian/tmp/usr/lib/pkgconfig/python$* + mv debian/tmp/usr/lib/pkgconfig/*.pc debian/tmp/usr/lib/pkgconfig/python$* + # defs files, should be the same whatever the build-time python runtime + mkdir debian/tmp/usr/share/pygtk/2.0/defs/python$* + mv debian/tmp/usr/share/pygtk/2.0/defs/*.defs debian/tmp/usr/share/pygtk/2.0/defs/python$* + # headers, should be the same whatever the build-time python runtime + mkdir debian/tmp/usr/include/python$* + mv debian/tmp/usr/include/pygtk-2.0 debian/tmp/usr/include/python$* + +dbg-install-%: dbg-build-%/build-stamp + dh_testdir + dh_testroot + $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-gtk2-dbg + find debian/python-gtk2-dbg ! -type d ! -name '*.so' | xargs rm -f + find debian/python-gtk2-dbg -depth -empty -exec rmdir {} \; + mkdir -p debian/python-glade2-dbg/usr/lib/python$*/site-packages/gtk-2.0/gtk + mv debian/python-gtk2-dbg/usr/lib/python$*/site-packages/gtk-2.0/gtk/glade.so debian/python-glade2-dbg/usr/lib/python$*/site-packages/gtk-2.0/gtk/ + +install: build install-clean $(PYVERS:%=install-%) $(PYVERS:%=dbg-install-%) + # check that all builds with various Python runtimes produced the same + # *.defs files (or fail) + for v in $(PYVERS); do \ + echo "Comparing defs files for the default Python version ($(PYDEFAULTVER)) with defs files for Python $$v"; \ + diff --brief --recursive debian/tmp/usr/share/pygtk/2.0/defs/python$(PYDEFAULTVER) debian/tmp/usr/share/pygtk/2.0/defs/python$$v; \ + echo "Comparing headers for the default Python version ($(PYDEFAULTVER)) with headers for Python $$v"; \ + diff --brief --recursive debian/tmp/usr/include/python$(PYDEFAULTVER) debian/tmp/usr/include/python$$v; \ + done + # since all Python runtimes produced the same files, only keep one set + echo "Cleaning up" + mv debian/tmp/usr/share/pygtk/2.0/defs/python$(PYDEFAULTVER)/*.defs debian/tmp/usr/share/pygtk/2.0/defs + mv debian/tmp/usr/include/python$(PYDEFAULTVER)/* debian/tmp/usr/include + for v in $(PYVERS); do \ + rm --force --recursive debian/tmp/usr/share/pygtk/2.0/defs/python$$v; \ + rm --force --recursive debian/tmp/usr/share/include/python$$v; \ + done + # finally, install files from DESTDIR in the per-package dirs + dh_install + # install rtupdate script to handle Python default runtime change + install -d debian/python-gtk2-dev/usr/share/python/runtime.d + install debian/python-gtk2-dev.rtupdate debian/python-gtk2-dev/usr/share/python/runtime.d + + for i in $$(find debian/python-*-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 debian/tmp-* + 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 + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs -i + dh_installexamples -i + find debian/python-gtk2-doc/usr/share/doc -name '*.py[co]' -delete + dh_installchangelogs ChangeLog -i + dh_link -i + dh_compress -i -X.py -X.glade + dh_fixperms -i + # More permission fixing + grep -rlZ "^#\!.*python" debian/python-gtk2-dev/usr | xargs -0r chmod 755 + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs -s + dh_installexamples -s + dh_installchangelogs ChangeLog -s + dh_strip -ppython-gtk2 --dbg-package=python-gtk2-dbg + rm -rf debian/python-gtk2-dbg/usr/share/doc/python-gtk2-dbg + ln -s python-gtk2 debian/python-gtk2-dbg/usr/share/doc/python-gtk2-dbg + dh_strip -ppython-glade2 --dbg-package=python-glade2-dbg + rm -rf debian/python-glade2-dbg/usr/share/doc/python-glade2-dbg + ln -s python-glade2 debian/python-glade2-dbg/usr/share/doc/python-glade2-dbg + dh_link -s + dh_compress -s -X.py -X.glade + 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 binary-indep binary-arch binary install --- pygtk-2.13.0.orig/debian/watch +++ pygtk-2.13.0/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://ftp.gnome.org/pub/GNOME/sources/pygtk/([\d\.]+)[02468]/pygtk-([\d\.]+)\.tar\.gz --- pygtk-2.13.0.orig/debian/changelog +++ pygtk-2.13.0/debian/changelog @@ -0,0 +1,718 @@ +pygtk (2.13.0-0ubuntu4) intrepid; urgency=low + + * Remove reference to python 2.4 in pygtk-demo (LP: #221007). + + -- Pietro Battiston Tue, 23 Sep 2008 14:46:12 +0200 + +pygtk (2.13.0-0ubuntu3) intrepid; urgency=low + + * debian/python-gtk2-dev.install: + - install pygtk-codegen-2.0 there (lp: #267167) + + -- Sebastien Bacher Mon, 08 Sep 2008 10:31:44 +0200 + +pygtk (2.13.0-0ubuntu2) intrepid; urgency=low + + * Add gnome-icon-theme to the bdeps as some buildds might have optical + drives which require a special icon in the file chooser. + + -- Loic Minier Wed, 03 Sep 2008 09:49:28 +0200 + +pygtk (2.13.0-0ubuntu1) intrepid; urgency=low + + * New upstream release + - Bump libgtk2.0-dev bdep to >= 2.13.6 and python-gobject-dev bdep to >= + 2.15.3; also bump libgtk2.0-dev and python-gobject* deps. + - Drop patch 10_use-default-python as pygtk's codegen copy was dropped; it + now relies on pygobject's. + - Drop patch 50_wakeupfd-curruption, merged upstream. + - Refresh patch 60_pygtk-wakeupfd-fix to apply cleanly. + - Drop all codegen related code from rules (checks mostly) and drop + reference in python-gtk2-dev.install. + * Build-dep on xauth and xfonts-base as xvfb-run needs these and also bdep + on libgl1-mesa-dri for now until Xvfb can start without AIGLX support or + this dep is added to the package. + * Use ${binary:Version} in control instead of ${Source-Version}. + * Change permission fixup constructs (chmod 755) to use xargs and not run if + nothing has to be fixed. + + -- Loic Minier Tue, 02 Sep 2008 12:04:12 +0200 + +pygtk (2.12.1-6ubuntu1) intrepid; urgency=low + + * Sync on Debian + * debian/control.in: + - Build-Depends on xvfb and python-all-dbg + - list debug variants + - python-gtk Suggests python-gtk2-dbg + - updated maintainer information + * debian/python-gtk2-doc.examples, debian/python-gtk2-doc.install: + - install pygtk-demo there + * debian/rules: + - build debug variant + - run testsuite during the build + + -- Sebastien Bacher Mon, 23 Jun 2008 15:42:00 +0200 + +pygtk (2.12.1-6) unstable; urgency=low + + * 60_pygtk-wakeupfd-fix.patch: do not use the wakeup fd in + non-threaded applications, which is uninitialised and becomes + stdin. Closes: #484654, #481480. + + -- Josselin Mouette Sat, 07 Jun 2008 14:15:51 +0200 + +pygtk (2.12.1-5) unstable; urgency=low + + * Revert 2.12.1-4 upload, re-add the fix, as anyway wakeupfd is used + since python now supports it. + * 50_wakeupfd-curruption.patch: fix memory corruption that occurs + when using the wakeupfd API, and makes pygtk mostly unusable on + some arches. + + -- Josselin Mouette Tue, 03 Jun 2008 23:08:31 +0200 + +pygtk (2.12.1-4) unstable; urgency=low + + * Also add an explicit python2.5 (>= 2.5.2-5) dep; closes: #481977. + * Drop patch 60_pygtk-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, 27 May 2008 16:21:53 +0200 + +pygtk (2.12.1-3) unstable; urgency=low + + * Bump Standards-Version to 3.7.3. + * s/python/Python in description + * Update 60_pygtk-wakeupfd-fix to use more ifdefs for python without the + wakeupfd support; closes: #481457. + * Build-dep and dep on python2.5-dev >= 2.5.2-5 for wakeupfd support. + + -- Loic Minier Thu, 15 May 2008 21:59:27 +0200 + +pygtk (2.12.1-2) unstable; urgency=low + + * New patch, 60_pygtk-wakeupfd-fix, similar to the fix to the initial + SETWAKEUPFD support in GNOME #481569. + + -- Loic Minier Thu, 15 May 2008 15:28:29 +0200 + +pygtk (2.12.1-1) unstable; urgency=low + + * New upstream release. + + Bump pygobject dependencies to 2.14.0. + + Drop 01_glade_example_README.patch, merged upstream. + + Same for 30_ship_gtk-extrafuncs.defs.patch. + * Wrap Python-Depends; build-depend on python-support 0.7.6. + + -- Josselin Mouette Sat, 12 Jan 2008 04:03:14 +0100 + +pygtk (2.12.0-2) unstable; urgency=low + + [ Josselin Mouette ] + * python-gtk2-doc.postinst: do the symbolic link dance, as the + symbolic link used to be a directory containing the documentation in + the split-out package. Closes: #445600. + + [ Loic Minier ] + * Downgrade Recommends on python-gtk2-doc to Suggests in python-gtk2 and + python-glade2 and let python-gtk2-dev Recommend python-gtk2-doc. + + [ Josselin Mouette ] + * Remove .py[co] files in python-gtk2-doc. Closes: #452844. + + [ Loic Minier ] + * New patch, 30_ship_gtk-extrafuncs.defs, from Ubuntu; fixes missing + gtk-extrafuncs.defs; closes: #454247. + + -- Loic Minier Tue, 04 Dec 2007 11:25:42 +0100 + +pygtk (2.12.0-1) unstable; urgency=low + + * New upstream release. + * Use Python-Depends to generate python dependencies; build-depend on + python-support 0.7.3. + * Build-depend on GTK+ 2.12 to get the 2.12 specific features. + * Bump pango and atk build-dependencies. + + -- Josselin Mouette Sat, 22 Sep 2007 13:08:29 +0200 + +pygtk (2.10.6-1) unstable; urgency=low + + * New upstream release; bug fix. + - Drop patch 60_missing-codegen-fixes, merged upstream. + + -- Loic Minier Tue, 10 Jul 2007 14:31:31 +0200 + +pygtk (2.10.5-2) unstable; urgency=high + + * New patch, 60_missing-codegen-fixes, fixes TypeError crashes in misc apps + such as gnome-sudoku and deskbar-applet which were due to an incomplete + backport of a codegen change; GNOME #455468. + + -- Loic Minier Tue, 10 Jul 2007 13:25:26 +0200 + +pygtk (2.10.5-1) unstable; urgency=low + + * New upstream stable release; bug fixes. + * Misc cleanups. + + -- Loic Minier Thu, 05 Jul 2007 13:43:29 +0200 + +pygtk (2.10.4-3) unstable; urgency=low + + * Split the documentation in the python-gtk2-doc package as it is + really large. Incidentally closes: #428579. + * python:Version -> python:Versions. + * Use source:Version and binary:Version. + * Fix X[SB]-Python-Version mess. + + -- Josselin Mouette Tue, 12 Jun 2007 21:21:57 +0200 + +pygtk (2.10.4-2) unstable; urgency=low + + * Honor CFLAGS we set in rules, doh! + * Set some sane default CFLAGS and honor noopt in DEB_BUILD_OPTIONS. + * Wrap build-deps and deps. + * Upload to unstable; drop check-dist include. + * Fix URL in copyright. + * Add XS and XB-Python-Version. + * Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE + differ. + * Cleanups. + + -- Loic Minier Mon, 16 Apr 2007 13:02:48 +0200 + +pygtk (2.10.4-1) experimental; urgency=low + + * Cleanup rules. + * Build-depend on autotools-dev. + * New upstream stable release. + - Drop patch 02_doc_licensing, mostly merged upstream. + + -- Loic Minier Sun, 11 Mar 2007 17:22:53 +0100 + +pygtk (2.10.3-2) experimental; 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. + * Bump up libgtk2.0-dev dep to >= 2.10.0. + + -- Loic Minier Fri, 26 Jan 2007 18:29:33 +0100 + +pygtk (2.10.3-1) experimental; urgency=low + + * New upstream release. + + -- Josselin Mouette Thu, 4 Jan 2007 20:53:33 +0100 + +pygtk (2.10.1-3) experimental; urgency=low + + * python-gtk2-dev depends on python-dev (closes: #401896). + * rules: remove .py[co] files created in the examples directory. + * Build-depend on docbook-xsl (closes: #397811). + * python-gtk2-dev depends on python-gobject-dev (closes: #405348). + + -- Josselin Mouette Tue, 2 Jan 2007 22:26:06 +0100 + +pygtk (2.10.1-2) experimental; urgency=low + + * Switch to cdbs for patch handling. + * 02_doc_licensing.patch: stolen from upstream CVS. Upstream agreed to + relicense the documentation to LGPL. + * copyright: document that. + * rules: binary-indep depends on build and install. + + -- Josselin Mouette Thu, 12 Oct 2006 22:19:30 +0200 + +pygtk (2.10.1-1) experimental; urgency=low + + * New upstream release. + * Update watch file. + * Depend on python-gobject. + * Remove uses of dh_python and pycompat. + * Add appropriate build-dependencies. + * python-gtk2.examples: install all examples. + * python-gtk2.{install,links}: install documentation. + + -- Josselin Mouette Wed, 27 Sep 2006 23:36:13 +0200 + +pygtk (2.8.6-6) unstable; urgency=low + + * Drop alternatives usage (closes: #384189, #385027). + + python-gtk2.install: install pygtk.py in the standard directory. + + python-gtk2.prerm: removed. + + python-gtk2.postinst: remove the alternatives call. + * Add a conflict against python-gtk-1.2 (<< 0.6.12-7). + * Remove abusive Replaces: python-gtk-1.2. + + -- Josselin Mouette Fri, 22 Sep 2006 21:18:07 +0200 + +pygtk (2.8.6-5) unstable; urgency=low + + * Add debian/control to the pyversions -r call since it's mandatory, even if + the man page claims it's optional. + * Update rtupdate script to handle calls with three arguments. + + -- Loic Minier Sat, 5 Aug 2006 22:54:26 +0200 + +pygtk (2.8.6-4) unstable; urgency=low + + * Attempt at supporting pkg-config files for multiple Python runtimes: + - Move *.pc files for each runtime in /usr/lib/pkg-config/pythonXXX. + - Symlink the *.pc files for the default runtime in /usr/lib/pkg-config + during python-gtk2-dev's postinst and remove the symlinks in prerm. + - Delete and re-create the symlinks on default runtime change via a + *.rtupdate script shipped by python-gtk2-dev. + * Misc cleanups in rules. + * Drop useless dh_installdirs call. + * Check that all builds with various Python runtimes produced the same + *.defs files, codegen, and headers, and ship files produced by the default + Python version. + + -- Loic Minier Fri, 21 Jul 2006 22:26:15 +0200 + +pygtk (2.8.6-3) unstable; urgency=low + + * New dpatch, 10_use-default-python, to use $PYTHON when non-empty or the + /usr/bin/python interpreter otherise in pygtk-codegen-2.0 instead of using + the build-time Python interpreter. (Closes: #376013, #376027) + + -- Loic Minier Fri, 30 Jun 2006 18:28:01 +0200 + +pygtk (2.8.6-2) unstable; urgency=low + + * python-gtk2.prerm: run update-python-modules before the alternative + removal. + + -- Josselin Mouette Sun, 25 Jun 2006 15:57:05 +0200 + +pygtk (2.8.6-1) unstable; urgency=low + + [ Marco Cabizza ] + * New upstream version + * Added the watch file + * debian/control, debian/control.in: + - Standards-Version is 3.7.2 + * debian/compat: + - Debhelper compatibility is 5 + + [ Josselin Mouette ] + * Revert changes from the NMU (closes: #374804, #374811). + * Require debhelper 5.0.37.2 and python-support 0.3.4. + * Make package binNMU-able by having python-gtk2-dev depend on + python-gtk2 >= ${Source-Version}. + * pycompat: python standards = 2. + * pyversions: we need python >= 2.3. + * Make the package comply with the new policy: + + Remove python2.3-* and python2.4-* packages. + + Correct package descriptions accordingly. + * Replace the multiple alternatives in the postinst by a single + alternative pointing to /usr/share/python-support/python-gtk. + * python-glade2.examples: move examples one directory up. + * rules: rework and simplify. + * Remove move_files and use *.install files instead. + + Don't install the .la files, which are useless anyway. + * rules: don't use config.status as the configure target because of + the stupid way make treats intermediary files. + * Require some minimum versions for python-cairo and python-numeric. + * python-gtk2.postinst: cleanup pygtk.py[co] from the former package, + as they were not handled. + + -- Josselin Mouette Sat, 24 Jun 2006 12:26:15 +0200 + +pygtk (2.8.2-3) unstable; urgency=low + + * Upload to unstable. + + -- Jordi Mallach Mon, 9 Jan 2006 18:29:31 +0100 + +pygtk (2.8.2-2) experimental; urgency=low + + * debian/control.in: + - python-gtk2-dev Depends on libglib2.0-dev libgtk2.0-dev. + - updated the requirements on glib/gtk. + * debian/rules: + - install the example files to the versionned packages. + + -- Sebastien Bacher Thu, 20 Oct 2005 11:06:23 +0200 + +pygtk (2.8.2-1) experimental; urgency=low + + * New upstream release. + + -- Loic Minier Tue, 18 Oct 2005 17:25:11 +0200 + +pygtk (2.8.1-1) experimental; urgency=low + + * New upstream release. + * Copy python2.3-glade2.examples to python2.4-glade2.examples. + (Closes: #331403) [debian/python2.4-glade2.examples] + * Fix python 2.3 / 2.4 substitution, patch by Roland Stigge. + (Closes: #331402) [debian/rules] + + -- Loic Minier Sun, 9 Oct 2005 13:54:06 +0200 + +pygtk (2.8.0-1) experimental; urgency=low + + * New upstream version (Closes: #325986) + * debian/control.in: + - Build-Dep on gtk+ >= 2.8.0, libxrender-dev (added) + - Build-Dep on python-cairo-dev + - python2.?-gtk2 Depend on the corresponding python2.?-cairo packages + + -- Gustavo Noronha Silva Tue, 27 Sep 2005 14:38:26 -0300 + +pygtk (2.6.3-1) unstable; urgency=low + + * New upstream version + * debian/patches/01_glade_example_README.dpatch (added), debian/rules: + - fix name of the script to be called on the README and do not compress + the sample glade files (Closes: #270478) + * debian/copyright: + - fix FSF's address + * debian/control.in: + - upgraded Standards-Version to 3.6.2 with no changes + + -- Gustavo Noronha Silva Wed, 21 Sep 2005 14:35:43 -0300 + +pygtk (2.6.2-3) UNRELEASED; urgency=low + + * debian/control.in, debian/rules, python2.4-gtk2.{postinst,prerm}: + - support 2.4 versions of the packages (Closes: #292796, #329029) + - some help from Bastian Kleineidam 's patch and + advice from Ross Burton and Sebastien Bacher were used + * debian/rules: + - readded the code to update config.{sub,guess} + * debian/control.in, debian/changelog, debian/README.Debian: + - change source package name + + -- Gustavo Noronha Silva Wed, 21 Sep 2005 11:00:19 -0300 + +python-gtk2 (2.6.2-2) UNRELEASED; urgency=low + + * Move source to pkg-gnome, and add GNOME Team to uploaders + * Remove useless Mesa build-dep + * Add missing libglib2.0-dev build-dep + * Remove useless (I hope) patch to config.sub/config.guess + + -- Ross Burton Fri, 9 Sep 2005 17:31:51 +0100 + +python-gtk2 (2.6.2-1) unstable; urgency=low + + * New upstream version. + + -- Sebastien Bacher Mon, 9 May 2005 23:53:44 +0200 + +python-gtk2 (2.6.1-2) unstable; urgency=low + + * CVS patch to fix the crash when argv is not set (Closes: #299328). + + -- Sebastien Bacher Thu, 17 Mar 2005 17:08:41 +0100 + +python-gtk2 (2.6.1-1) unstable; urgency=low + + * New upstream release. + * CVS patch to fix the crash when argv is not set (Closes: #299328). + + -- Sebastien Bacher Thu, 17 Mar 2005 15:17:17 +0100 + +python-gtk2 (2.6.0-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - updated the Build-Depends. + * debian/python2.3-gtk2.examples: + - now pygtk-demo is in the standard installation. + * debian/rules: + - install pygtk-demo in /usr/bin. + + -- Sebastien Bacher Wed, 9 Mar 2005 19:11:55 +0100 + +python-gtk2 (2.4.1-2) unstable; urgency=low + + * debian/control: + - python-gtk2 depends on the current version of python2.3-gtk2 + (Closes: #281488). + * debian/install-examples: + - not needed since the examples are uncompressed now. + * debian/rules: + - dont' compress examples (Closes: #279604). + - removed extra .pyc files (Closes: #276353). + + -- Sebastien Bacher Mon, 22 Nov 2004 11:48:19 +0100 + +python-gtk2 (2.4.1-1) unstable; urgency=low + + * New upstream release. + + -- Sebastien Bacher Sun, 7 Nov 2004 18:08:22 +0100 + +python-gtk2 (2.4.0-2) unstable; urgency=low + + * apply the CVS fix to not use "typename" which is a C++ keyword + (Closes: #276518). + + -- Sebastien Bacher Thu, 14 Oct 2004 19:20:01 +0200 + +python-gtk2 (2.4.0-1) unstable; urgency=low + + * New upstream release. + + -- Sebastien Bacher Mon, 4 Oct 2004 00:08:21 +0200 + +python-gtk2 (2.3.97-1) experimental; urgency=low + + * New upstream release. + + -- Sebastien Bacher Tue, 28 Sep 2004 17:34:16 +0200 + +python-gtk2 (2.3.96-1) experimental; urgency=low + + * New upstream version + - fixes the crash with gtk.icon_size_register (Closes: #261109). + * debian/control: + - Build-Depends on python2.3-numeric. + * debian/move_files: + - fixed the regexp to get python versions to use. + + -- Sebastien Bacher Fri, 6 Aug 2004 19:19:57 +0200 + +python-gtk2 (2.3.95-1) experimental; urgency=low + + * New upstream release + - require python 2.3 and gtk+ 2.4. + * debian/control: + - removed the python2.2-* packages. + - updated the Build-Depends. + * debian/python2.2*: + - removed. + * debian/rules: + - removed python2.2-* build. + + -- Sebastien Bacher Mon, 2 Aug 2004 14:25:53 +0200 + +python-gtk2 (2.3.94-1) experimental; urgency=low + + * New upstream release. + + -- Sebastien Bacher Thu, 22 Jul 2004 00:16:46 +0200 + +python-gtk2 (2.3.93-2) experimental; urgency=low + + * CVS patch to fix the libglade problem. + + -- Sebastien Bacher Tue, 20 Jul 2004 16:53:28 +0200 + +python-gtk2 (2.3.93-1) experimental; urgency=low + + * New upstream release: + - fix gtk.gdk.window_lookup assertion (Closes: #237125). + * debian/control: + - Build-Depends on python. + + -- Sebastien Bacher Mon, 19 Jul 2004 18:45:30 +0200 + +python-gtk2 (2.3.92-1) experimental; urgency=low + + * New upstream release. + + -- Sebastien Bacher Sat, 22 May 2004 13:12:10 +0200 + +python-gtk2 (2.3.91-1) experimental; urgency=low + + * New upstream release. + + -- Sebastien Bacher Fri, 16 Apr 2004 21:38:01 +0200 + +python-gtk2 (2.3.90-1) experimental; urgency=low + + * New upstream release. + + -- Sebastien Bacher Wed, 7 Apr 2004 23:39:54 +0200 + +python-gtk2 (2.2.0-1) unstable; urgency=low + + * New upstream release: + + removed gtkgl bindings. + * debian/control: + + remove gtkgl packages. + * debian/patches/01pixmap_foreign_new_leak.dpatch: + + removed since the changes are in new version. + + -- Sebastien Bacher Thu, 11 Mar 2004 23:10:34 +0100 + +python-gtk2 (2.0.0-4) unstable; urgency=low + + * debian/patches/01pixmap_foreign_new_leak.dpatch: + + patch to fix a mem leak with pixmaps. + + -- Sebastien Bacher Sun, 22 Feb 2004 22:39:34 +0100 + +python-gtk2 (2.0.0-3) unstable; urgency=low + + * Removed pygtk.py[co] (Closes: #222473, #222985). + + -- Sebastien Bacher Fri, 5 Dec 2003 17:27:46 +0100 + +python-gtk2 (2.0.0-2) unstable; urgency=low + + * Removed python2.2-gtkgl2 since python-opengl is only for python2.3. + * Removed pygtk 1.2 examples (Closes: #210987). + + -- Sebastien Bacher Wed, 17 Sep 2003 16:41:58 +0200 + +python-gtk2 (2.0.0-1) unstable; urgency=low + + * New upstream. + * Stable version is out, it's time to switch pygtk default version + from 1.2 to 2 (Closes: #163253). + * Fixed install-examples (Closes: #208234). + + -- Sebastien Bacher Mon, 1 Sep 2003 18:15:40 +0200 + +python-gtk2 (1.99.18-1) unstable; urgency=low + + * New upstream release. + * Updated to Standards-Version 3.6.1.0. + + -- Sebastien Bacher Sun, 24 Aug 2003 17:41:23 +0200 + +python-gtk2 (1.99.17-6) unstable; urgency=low + + * Added missing depends on python-numeric (Closes: #205362). + + -- Sebastien Bacher Thu, 14 Aug 2003 13:42:58 +0200 + +python-gtk2 (1.99.17-5) unstable; urgency=low + + * Added missing pygtk-codegen-2.0 to python-gtk2-dev. + + -- Sebastien Bacher Thu, 14 Aug 2003 01:45:33 +0200 + +python-gtk2 (1.99.17-4) unstable; urgency=low + + * Fixed overwrite problem (Closes: #205176). + * Added python-gtk2-dev package with devel files. + + -- Sebastien Bacher Wed, 13 Aug 2003 14:38:32 +0200 + +python-gtk2 (1.99.17-3) unstable; urgency=low + + * Fixed depends. + * debian/rules + + Changed header of py files with Matthias Klose's script. + + -- Sebastien Bacher Tue, 12 Aug 2003 22:09:50 +0200 + +python-gtk2 (1.99.17-2) unstable; urgency=low + + * Now python 2.3 is the default version. + * Use dh_python. + + -- Sebastien Bacher Mon, 11 Aug 2003 13:19:09 +0200 + +python-gtk2 (1.99.17-1) unstable; urgency=low + + * New upstream release. + * I've more interest on pygtk than Torsten for the moment, so we switch + maintainer and uploaders field. + + -- Sebastien Bacher Thu, 31 Jul 2003 18:38:46 +0200 + +python-gtk2 (1.99.16-3) unstable; urgency=low + + * Added Depends on python-opengl for python-gtkgl2 (Closes: #196064). + * Added a "install-examples" script in examples dir to install gunzip + demos (Closes: #193841) + * Updated to standards version 3.6.0. + * Added homepage and author to the description. + + -- Sebastien Bacher Fri, 13 Jun 2003 22:29:49 +0200 + +python-gtk2 (1.99.16-2) unstable; urgency=low + + * Fixed libglade example (Closes: #189321). + * Updated to standards version 3.5.9. + * Added Depends on ${misc:Depends}. + * Changed section to python. + + -- Sebastien Bacher Fri, 2 May 2003 12:22:29 +0200 + +python-gtk2 (1.99.16-1) unstable; urgency=low + + * New upstream release. + + -- Sebastien Bacher Mon, 24 Mar 2003 01:44:07 +0100 + +python-gtk2 (1.99.15-2) unstable; urgency=low + + * Remove *.pyc and *.pyo from the package. These files are compiled after + the installation (that change the size of the files and make the debsums + failed), so we don't need to have them in the package (Closes: #181211). + + -- Sebastien Bacher Sat, 22 Feb 2003 15:25:25 +0100 + +python-gtk2 (1.99.15-1) unstable; urgency=low + + * Co-maintainer upload. + * New upstream version. + * Depends on a versioned python2.2-gtk2 (Closes: #179376). + * Updated to standards-version 3.5.8. + + -- Sebastien Bacher Fri, 21 Feb 2003 17:50:28 +0100 + +python-gtk2 (1.99.14-1) unstable; urgency=low + + * Co-maintainer upload. + * New upstream version. (Closes: #174997). + * Package is compiled with thread support (Closes: #163037). + * Corrected depend on libgtk2.0-0 (Closes: #162382). + * Added a README.Debian file (Closes: #160342). + * Corrected descriptions in control file to fix some lintian error. + * Fixed examples (Closes: #171982, #167945, #163794). + + -- Sebastien Bacher Fri, 31 Jan 2003 18:12:00 +0100 + +python-gtk2 (1.99.13-4) unstable; urgency=low + + * Rebuild against latest python2.3 (closes: #173819). + + -- Torsten Landschoff Sat, 21 Dec 2002 02:28:41 +0100 + +python-gtk2 (1.99.13-3) unstable; urgency=low + + * debian/rules: Explicitely enable threading support since the default + seems to disable it. Noticed by Matthias Urlichs - I did not notice + I was missing something. + + -- Torsten Landschoff Wed, 2 Oct 2002 00:06:29 +0200 + +python-gtk2 (1.99.13-2) unstable; urgency=low + + * debian/move_files: Fix the check_completeness function (find's return + code is not really useful it seems). + * debian/control: + + Add Sebastien Bacher as co-maintainer. + + Make the package conflict with older python-gtk versions that + don't support the pygtk.py alternative. + * debian/python2.*-gtk2.{postinst,prerm}: Manage the pygtk.py alternatives. + + -- Torsten Landschoff Sat, 31 Aug 2002 19:04:24 +0200 + +python-gtk2 (1.99.13-1) unstable; urgency=low + + * New upstream release. + * Build modules for python 2.2 as well as for 2.3. + * Create dummy packages python-* to pull the right package for + the default python release. + + -- Torsten Landschoff Fri, 30 Aug 2002 18:47:09 +0200 + +python-gtk2 (1.99.12-1) unstable; urgency=low + + * Initial Release. + + -- Torsten Landschoff Tue, 6 Aug 2002 21:50:17 +0200 + --- pygtk-2.13.0.orig/debian/python-gtk2-dev.install +++ pygtk-2.13.0/debian/python-gtk2-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include +debian/tmp/usr/bin/pygtk-codegen-2.0 +debian/tmp/usr/lib/pkgconfig +debian/tmp/usr/share/pygtk --- pygtk-2.13.0.orig/debian/patches/11_use-default-python-in-pygtk-demo.patch +++ pygtk-2.13.0/debian/patches/11_use-default-python-in-pygtk-demo.patch @@ -0,0 +1,9 @@ +diff -Nur -x '*.orig' -x '*~' pygtk-2.12.1/examples/pygtk-demo/pygtk-demo.in pygtk-2.12.1.new/examples/pygtk-demo/pygtk-demo.in +--- pygtk-2.12.1/examples/pygtk-demo/pygtk-demo.in 2007-11-01 17:20:22.000000000 +0100 ++++ pygtk-2.12.1.new/examples/pygtk-demo/pygtk-demo.in 2008-09-01 03:05:01.000000000 +0200 +@@ -1,4 +1,4 @@ +-#! @PYTHON@ ++#! /usr/bin/python + + import sys + import os.path --- pygtk-2.13.0.orig/debian/patches/60_pygtk-wakeupfd-fix.patch +++ pygtk-2.13.0/debian/patches/60_pygtk-wakeupfd-fix.patch @@ -0,0 +1,53 @@ +--- pygtk-2.13.0/gtk/gtk.override 2008-07-26 00:04:23.000000000 +0200 ++++ pygtk-2.13.0.new/gtk/gtk.override 2008-09-02 12:12:11.000000000 +0200 +@@ -37,6 +37,8 @@ + + #include "pygtk-private.h" + ++#include ++ + #define PYGTK_CONTAINER_FOREACH 0 + #define PYGTK_CONTAINER_FORALL 1 + #define countof(array) (sizeof(array)/sizeof(array[0])) +@@ -1069,7 +1071,10 @@ + pygtk_main_watch_prepare(GSource *source, + int *timeout) + { ++#ifdef HAVE_PYSIGNAL_SETWAKEUPFD + PySignalWatchSource *real_source = (PySignalWatchSource *)source; ++ int flag; ++#endif + + /* Python only invokes signal handlers from the main thread, + * so if a thread other than the main thread receives the signal +@@ -1103,6 +1108,11 @@ + real_source->fd.events = G_IO_IN | G_IO_HUP | G_IO_ERR; + g_source_add_poll(source, &real_source->fd); + ++ /* Make the read end of the fd non blocking */ ++ flag = fcntl(real_source->fds[0], F_GETFL, 0); ++ flag |= O_NONBLOCK; ++ fcntl(real_source->fds[0], F_SETFL, flag); ++ + PySignal_SetWakeupFd(real_source->fds[1]); + + #else /* !HAVE_PYSIGNAL_SETWAKEUPFD */ +@@ -1122,8 +1132,18 @@ + { + PyGILState_STATE state; + ++#ifdef HAVE_PYSIGNAL_SETWAKEUPFD ++ PySignalWatchSource *real_source = (PySignalWatchSource *)source; ++ char buf[1]; ++#endif ++ + state = pyg_gil_state_ensure(); + ++#ifdef HAVE_PYSIGNAL_SETWAKEUPFD ++ if (real_source->fds[0]) ++ read(real_source->fds[0], &buf, 1); ++#endif ++ + if (PyErr_CheckSignals() == -1 && gtk_main_level() > 0) { + PyErr_SetNone(PyExc_KeyboardInterrupt); + gtk_main_quit();