Ignore:
Timestamp:
11/24/08 20:32:57 (6 years ago)
Author:
alanbach-guest
Message:
  • New upstream experimental release
Location:
pkg/boss/main/pygtk/trunk/debian
Files:
5 added
2 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • pkg/boss/main/pygtk/trunk/debian/changelog

    r4542 r4546  
    1 pygtk (2.12.1-parsix8) unstable; urgency=low 
    2  
    3   * Rebuild against new pygobject 
    4  
    5  -- Alan Baghumian <alan@technotux.org>  Sun, 23 Nov 2008 16:17:59 -0800 
    6  
    7 pygtk (2.12.1-parsix7) unstable; urgency=low 
    8  
    9   * Sync'd with Debian 2.12.1-6 
    10  
    11  -- Alan Baghumian <alan@technotux.org>  Sun, 08 Jun 2008 12:24:24 +0200 
     1pygtk (2.13.0-parsix1) unstable; urgency=low 
     2 
     3  * New upstream experimental release 
     4 
     5 -- Alan Baghumian <alan@technotux.org>  Mon, 24 Nov 2008 11:25:30 -0800 
     6 
     7pygtk (2.13.0-1) experimental; urgency=low 
     8 
     9  [ Emilio Pozuelo Monfort ] 
     10  * Merge -dbg packages and running the test suite from Ubuntu, 
     11    thanks to Sebastien Bacher: 
     12    - debian/control.in: 
     13      + Build-depend on python-all-dbg 
     14      + Add python-gtk2-dbg and python-glade2-dbg packages. Closes: #470805. 
     15      + python-gtk2 suggests python-gtk2-dbg 
     16      + Build-depend on xvfb, needed to run make check during the build. 
     17    - debian/rules: 
     18      + Add -dbg magic. 
     19      + Run the test suite. 
     20    - debian/python-gtk2-dev.install: 
     21      + Install pygtk-codegen-2.0, which will try to launch 
     22        pygobject-codegen-2.0. This is for backwards compatibility. 
     23    - debian/python-gtk2-doc.install: 
     24      + Install pygtk-demo. 
     25 
     26  * Merge new upstream release and fixes from Ubuntu, thanks to Loïc Minier: 
     27    - debian/control.in: 
     28      + Require libgtk2.0-dev >= 2.13.6 and python-gobject-dev >= 2.15.3. 
     29      + Build-depend on xauth, xfonts-base, needed by xvfb, and on 
     30        libgl1-mesa-dri too, until Xvfb can start without AIGLX support or it 
     31        depends on this package. 
     32      + Build-depend on gnome-icon-theme, since some buildds might have 
     33        optical drives which require a special icon in the file chooser 
     34        (needed for the test suite). 
     35    - debian/patches/10_use-default-python.patch: 
     36      + Removed, codegen copy has been dropped from pygtk. 
     37    - debian/patches/50_wakeupfd-curruption.patch: 
     38      + Removed, fixed upstream. 
     39    - debian/python-gtk2-dev.install, 
     40      debian/rules: 
     41      + Drop all codegen related code. 
     42    - debian/rules: 
     43      + Change permission fixup constructs (chmod 755) to use xargs and not 
     44        run if nothing has to be fixed. 
     45 
     46  * debian/control.in: 
     47    - Bump Standards-Version to 3.8.0. 
     48    - Move Homepage to its own field. 
     49    - python-glade2 suggests python-glade2-dbg. 
     50    - Add Vcs-Browser and Vcs-Svn fields. 
     51    - python-gtk2-doc depends on python:Depends and python-gtk2, 
     52      needed for pygtk-demo. 
     53    - python-gtk2-doc recommends python-gobject and python-cairo, needed 
     54      by some examples. 
     55    - python-gtk2-doc recommends python-glade2 for the examples, instead 
     56      of suggest it. 
     57    - Add XB-Python-Version to python-gtk2-doc per Python policy. 
     58  * debian/python-gtk2-doc.install: 
     59    - Install examples needed by pygtk-demo in /usr/lib/pygtk/2.0 
     60      (their original place) so that pygtk-demo doesn't rely on 
     61      /usr/share/doc being available. 
     62  * debian/python-gtk2-doc.links, 
     63    debian/python-gtk2-doc.preinst: 
     64    - Link /usr/share/doc/python-gtk2-doc/examples/demos to /usr/lib/pygtk/2.0 
     65      so that examples are still available in /usr/share/doc. 
     66    - Make sure /usr/share/doc/python-gtk2-doc/examples/demos doesn't exist 
     67      before upgrading to 2.13.0-1, so that the link is successfully created. 
     68  * debian/rules: 
     69    - Call dh_pysupport for python-gtk2-doc, so example scripts are 
     70      byte-compiled. 
     71    - Make $(PYVERS) have the default Python version at the end, so that 
     72      the last pygtk build is with the default Python version and 
     73      pygtk-demo has the default Python in the hashbang. Also this avoids 
     74      python-gtk2-doc depending on a non-default Python version. 
     75      Closes: #500118. 
     76  * debian/copyright: 
     77    - Add Copyright holders. 
     78 
     79  [ Loic Minier ] 
     80  * Pass -s -noreset to xvfb-run as otherwise Xvfb will reset when the first 
     81    client (test) disconnects and xvfb-run will fail killing Xvfb. 
     82 
     83  [ Josselin Mouette ] 
     84  * Require python 2.5 since pygobject requires it already. 
     85  * Do not split debug packages for glade. 
     86  * Do not suggest the -dbg packages. 
     87  * 01_pygtk-demo.patch: new patch. 
     88    + Use /usr/bin/python instead of python2.X. 
     89    + Put data in /usr/share. 
     90  * Install the demos in /usr/share/pygtk accordingly. 
     91  * Rename the demos symlink in examples/ into demo, to avoid doing the  
     92    symbolic link dance. 
     93  * Switch to quilt for patch handling, build-depend on quilt. 
     94  * 02_numpy.patch: new patch, mostly taken from Gentoo. Port to numpy. 
     95    Closes: #478452. 
     96  * 70_autoconf.patch: run autoconf on top of it. 
     97  * Switch all dependencies to python-numpy. 
     98  * Build-depend on python-numpy-dbg for the debugging build. 
     99  * Copy config.{sub,guess} at config time and clean them later to avoid  
     100    having them in the diff. 
     101  * Build-depend on autotools-dev. 
     102 
     103 -- Josselin Mouette <joss@debian.org>  Wed, 12 Nov 2008 17:36:25 +0100 
    12104 
    13105pygtk (2.12.1-6) unstable; urgency=low 
  • pkg/boss/main/pygtk/trunk/debian/control

    r3817 r4546  
    99               gnome-pkg-tools (>= 0.10), 
    1010               cdbs, 
     11               autotools-dev, 
     12               quilt, 
     13               xvfb, xauth, xfonts-base, libgl1-mesa-dri, 
    1114               python2.5-dev (>= 2.5.2-5), 
    12                python-all-dev (>= 2.3.5-11), 
    13                libgtk2.0-dev (>= 2.12.0), 
     15               python-all-dev (>= 2.5), 
     16               python-all-dbg, 
     17               libgtk2.0-dev (>= 2.13.6), 
    1418               libglib2.0-dev (>= 2.8.0), 
    1519               libpango1.0-dev (>= 1.16.0), 
    1620               libatk1.0-dev (>= 1.12.0), 
    1721               libglade2-dev (>= 2.5.0), 
    18                python-numeric (>= 24.2-3), 
     22               python-numpy-dbg (>= 1:1.0.4-1~), 
    1923               python-cairo-dev (>= 1.0.2), 
    20                python-gobject-dev (>= 2.14.0), 
     24               python-gobject-dev (>= 2.15.3), 
    2125               xsltproc, 
    2226               docbook-xsl, 
    23                autotools-dev 
    24 XS-Python-Version: >= 2.3 
    25 Standards-Version: 3.7.3 
     27               autotools-dev, 
     28               gnome-icon-theme 
     29XS-Python-Version: >= 2.5 
     30Standards-Version: 3.8.0 
     31Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/desktop/experimental/pygtk/ 
     32Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/experimental/pygtk/ 
     33Homepage: http://www.pygtk.org/ 
    2634 
    2735Package: python-gtk2 
     
    3139         ${shlibs:Depends}, 
    3240         ${misc:Depends} 
    33 Python-Depends: python-numeric (>= 24.2-3), 
     41Python-Depends: python-numpy, 
    3442                python-cairo (>= 1.0.2-1.1), 
    35                 python-gobject (>= 2.14.0) 
     43                python-gobject (>= 2.15.3) 
    3644Suggests: python-gtk2-doc 
    3745Provides: ${python:Provides} 
     
    4856 programs. This package contains the bindings for the version 2.0 
    4957 of that toolkit. 
     58 
     59Package: python-gtk2-dbg 
     60Architecture: any 
     61Priority: extra 
     62Depends: python-gtk2 (= ${binary:Version}), 
     63         python-glade2 (= ${binary:Version}), 
     64         python-dbg, 
     65         python-numpy-dbg, 
     66         python-cairo-dbg, 
     67         python-gobject-dbg, 
     68         ${shlibs:Depends} 
     69Description: Python bindings for the GTK+ widget set (debug extension) 
     70 This archive contains modules that allow you to use GTK+ in Python 
     71 programs. This package contains the bindings for the version 2.0 
     72 of that toolkit. 
    5073 . 
    51  URL: http://www.daa.com.au/~james/software/pygtk/ 
     74 This package contains the extension built for the Python debug interpreter. 
    5275 
    5376Package: python-gtk2-dev 
     
    5679         python-gtk2 (>= ${source:Version}), 
    5780         libglib2.0-dev (>= 2.8), 
    58          libgtk2.0-dev (>= 2.12.0), 
     81         libgtk2.0-dev (>= 2.13.6), 
    5982         python2.5-dev (>= 2.5.2-5), 
    6083         python-dev, 
    61          python-gobject-dev (>= 2.14.0) 
     84         python-gobject-dev (>= 2.15.3) 
    6285Recommends: python-gtk2-doc 
    6386Replaces: python2.2-gtk2 (<< 1.99.17-4), 
     
    7497           python-gtk 
    7598Description: GTK+ bindings: devel files 
    76  This archive contains files that allow you to build wrappers for addon 
    77  that interoperate python-gtk2 (pygtk). 
    78  . 
    79  URL: http://www.daa.com.au/~james/software/pygtk/ 
     99 This archive contains files that allow you to build wrappers for addons 
     100 that interoperate with python-gtk2 (pygtk). 
    80101 
    81102Package: python-glade2 
     
    98119 application you just need to load the interface description from 
    99120 the .glade file instead of constructing the GUI at runtime. 
    100  . 
    101  URL: http://www.daa.com.au/~james/software/pygtk/ 
    102121 
    103122Package: python-gtk2-doc 
    104123Architecture: all 
    105124Section: doc 
    106 Depends: ${misc:Depends} 
     125XB-Python-Version: ${python:Versions} 
     126Depends: ${misc:Depends}, 
     127         ${python:Depends}, 
     128         python-gtk2, 
    107129Conflicts: python-gtk2 (<< 2.10.4-3) 
    108 Recommends: python-gtk2 
    109 Suggests: devhelp, python-glade2 
     130Recommends: python-gobject, 
     131            python-cairo, 
     132            python-glade2 
     133Suggests: devhelp 
    110134Description: Python bindings for the GTK+ widget set - documentation 
    111135 This package contains the documentation and API reference for the 
  • pkg/boss/main/pygtk/trunk/debian/control.in

    r3817 r4546  
    99               gnome-pkg-tools (>= 0.10), 
    1010               cdbs, 
     11               autotools-dev, 
     12               quilt, 
     13               xvfb, xauth, xfonts-base, libgl1-mesa-dri, 
    1114               python2.5-dev (>= 2.5.2-5), 
    12                python-all-dev (>= 2.3.5-11), 
    13                libgtk2.0-dev (>= 2.12.0), 
     15               python-all-dev (>= 2.5), 
     16               python-all-dbg, 
     17               libgtk2.0-dev (>= 2.13.6), 
    1418               libglib2.0-dev (>= 2.8.0), 
    1519               libpango1.0-dev (>= 1.16.0), 
    1620               libatk1.0-dev (>= 1.12.0), 
    1721               libglade2-dev (>= 2.5.0), 
    18                python-numeric (>= 24.2-3), 
     22               python-numpy-dbg (>= 1:1.0.4-1~), 
    1923               python-cairo-dev (>= 1.0.2), 
    20                python-gobject-dev (>= 2.14.0), 
     24               python-gobject-dev (>= 2.15.3), 
    2125               xsltproc, 
    2226               docbook-xsl, 
    23                autotools-dev 
    24 XS-Python-Version: >= 2.3 
    25 Standards-Version: 3.7.3 
     27               autotools-dev, 
     28               gnome-icon-theme 
     29XS-Python-Version: >= 2.5 
     30Standards-Version: 3.8.0 
     31Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/desktop/experimental/pygtk/ 
     32Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/experimental/pygtk/ 
     33Homepage: http://www.pygtk.org/ 
    2634 
    2735Package: python-gtk2 
     
    3139         ${shlibs:Depends}, 
    3240         ${misc:Depends} 
    33 Python-Depends: python-numeric (>= 24.2-3), 
     41Python-Depends: python-numpy, 
    3442                python-cairo (>= 1.0.2-1.1), 
    35                 python-gobject (>= 2.14.0) 
     43                python-gobject (>= 2.15.3) 
    3644Suggests: python-gtk2-doc 
    3745Provides: ${python:Provides} 
     
    4856 programs. This package contains the bindings for the version 2.0 
    4957 of that toolkit. 
     58 
     59Package: python-gtk2-dbg 
     60Architecture: any 
     61Priority: extra 
     62Depends: python-gtk2 (= ${binary:Version}), 
     63         python-glade2 (= ${binary:Version}), 
     64         python-dbg, 
     65         python-numpy-dbg, 
     66         python-cairo-dbg, 
     67         python-gobject-dbg, 
     68         ${shlibs:Depends} 
     69Description: Python bindings for the GTK+ widget set (debug extension) 
     70 This archive contains modules that allow you to use GTK+ in Python 
     71 programs. This package contains the bindings for the version 2.0 
     72 of that toolkit. 
    5073 . 
    51  URL: http://www.daa.com.au/~james/software/pygtk/ 
     74 This package contains the extension built for the Python debug interpreter. 
    5275 
    5376Package: python-gtk2-dev 
     
    5679         python-gtk2 (>= ${source:Version}), 
    5780         libglib2.0-dev (>= 2.8), 
    58          libgtk2.0-dev (>= 2.12.0), 
     81         libgtk2.0-dev (>= 2.13.6), 
    5982         python2.5-dev (>= 2.5.2-5), 
    6083         python-dev, 
    61          python-gobject-dev (>= 2.14.0) 
     84         python-gobject-dev (>= 2.15.3) 
    6285Recommends: python-gtk2-doc 
    6386Replaces: python2.2-gtk2 (<< 1.99.17-4), 
     
    7497           python-gtk 
    7598Description: GTK+ bindings: devel files 
    76  This archive contains files that allow you to build wrappers for addon 
    77  that interoperate python-gtk2 (pygtk). 
    78  . 
    79  URL: http://www.daa.com.au/~james/software/pygtk/ 
     99 This archive contains files that allow you to build wrappers for addons 
     100 that interoperate with python-gtk2 (pygtk). 
    80101 
    81102Package: python-glade2 
     
    98119 application you just need to load the interface description from 
    99120 the .glade file instead of constructing the GUI at runtime. 
    100  . 
    101  URL: http://www.daa.com.au/~james/software/pygtk/ 
    102121 
    103122Package: python-gtk2-doc 
    104123Architecture: all 
    105124Section: doc 
    106 Depends: ${misc:Depends} 
     125XB-Python-Version: ${python:Versions} 
     126Depends: ${misc:Depends}, 
     127         ${python:Depends}, 
     128         python-gtk2, 
    107129Conflicts: python-gtk2 (<< 2.10.4-3) 
    108 Recommends: python-gtk2 
    109 Suggests: devhelp, python-glade2 
     130Recommends: python-gobject, 
     131            python-cairo, 
     132            python-glade2 
     133Suggests: devhelp 
    110134Description: Python bindings for the GTK+ widget set - documentation 
    111135 This package contains the documentation and API reference for the 
  • pkg/boss/main/pygtk/trunk/debian/copyright

    r2131 r4546  
    66 
    77Upstream Author: James Henstridge <james@daa.com.au> 
     8 
     9Copyright (C) 1998-2006  James Henstridge 
     10Copyright (C) 2004-2006  Johan Dahlin 
     11Copyright (C) 2005-2006  John Finlay 
     12Copyright (C) 2005       Gustavo Carneiro 
     13Copyright (C) 2007       Gian Mario Tagliaretti 
    814 
    915Copyright: 
  • pkg/boss/main/pygtk/trunk/debian/patches/60_pygtk-wakeupfd-fix.patch

    r3860 r4546  
    1 --- gtk/gtk.override.orig       2008-06-07 14:13:22.259007849 +0200 
    2 +++ gtk/gtk.override    2008-06-07 15:07:41.158504434 +0200 
    3 @@ -37,6 +37,8 @@ 
     1Index: pygtk-2.13.0/gtk/gtk.override 
     2=================================================================== 
     3--- pygtk-2.13.0.orig/gtk/gtk.override  2008-11-12 17:59:15.427489178 +0100 
     4+++ pygtk-2.13.0/gtk/gtk.override       2008-11-12 17:59:19.103489690 +0100 
     5@@ -37,6 +37,8 @@ extern PyTypeObject PyGdkCairoContext_Ty 
    46  
    57 #include "pygtk-private.h" 
     
    1012 #define PYGTK_CONTAINER_FORALL 1 
    1113 #define countof(array) (sizeof(array)/sizeof(array[0])) 
    12 @@ -1068,7 +1070,10 @@ 
     14@@ -1069,7 +1071,10 @@ static gboolean 
    1315 pygtk_main_watch_prepare(GSource *source, 
    1416                         int     *timeout) 
     
    2123     /* Python only invokes signal handlers from the main thread, 
    2224      * so if a thread other than the main thread receives the signal 
    23 @@ -1102,6 +1107,11 @@ 
     25@@ -1103,6 +1108,11 @@ pygtk_main_watch_prepare(GSource *source 
    2426     real_source->fd.events = G_IO_IN | G_IO_HUP | G_IO_ERR; 
    2527     g_source_add_poll(source, &real_source->fd); 
     
    3335  
    3436 #else /* !HAVE_PYSIGNAL_SETWAKEUPFD */ 
    35 @@ -1121,8 +1131,18 @@ 
     37@@ -1122,8 +1132,18 @@ pygtk_main_watch_check(GSource *source) 
    3638 { 
    3739     PyGILState_STATE state; 
  • pkg/boss/main/pygtk/trunk/debian/python-gtk2-doc.examples

    r2131 r4546  
    1 debian/tmp/usr/lib/pygtk/2.0/demos 
    2 debian/tmp/usr/lib/pygtk/2.0/*.py 
    31examples/atk 
    42examples/glade 
  • pkg/boss/main/pygtk/trunk/debian/python-gtk2-doc.install

    r2131 r4546  
    11debian/tmp/usr/share/gtk-doc 
     2debian/tmp/usr/bin/pygtk-demo 
     3debian/tmp/usr/lib/pygtk/2.0 usr/share/pygtk 
  • pkg/boss/main/pygtk/trunk/debian/python-gtk2-doc.links

    r2131 r4546  
    11/usr/share/gtk-doc/html/pygtk /usr/share/doc/python-gtk2-doc/html 
     2/usr/share/pygtk/2.0/demos /usr/share/doc/python-gtk2-doc/examples/demo 
  • pkg/boss/main/pygtk/trunk/debian/rules

    r3708 r4546  
    11#!/usr/bin/make -f 
    22 
    3 include /usr/share/cdbs/1/rules/simple-patchsys.mk 
     3include /usr/share/cdbs/1/rules/patchsys-quilt.mk 
    44include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk 
    55-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk 
     
    1616endif 
    1717 
     18PYDEFAULTVER := $(shell pyversions --default --version) 
    1819PYVERS := $(shell pyversions --requested --version debian/control) 
    19 PYDEFAULTVER := $(shell pyversions --default --version) 
     20PYVERS := $(filter-out $(PYDEFAULTVER), $(PYVERS)) $(PYDEFAULTVER) 
    2021 
    21 build-%/configure-stamp: apply-patches 
     22.PRECIOUS: build-%/configure-stamp dbg-build-%/configure-stamp 
     23 
     24guessub-stamp: 
     25        cp config.sub config.sub.back 
     26        cp config.guess config.guess.back 
     27        cp -f /usr/share/misc/config.sub config.sub 
     28        cp -f /usr/share/misc/config.guess config.guess 
     29        touch $@ 
     30 
     31build-%/configure-stamp: apply-patches guessub-stamp 
    2232        dh_testdir 
    2333        mkdir -p build-$* 
     
    3040        dh_testdir 
    3141        $(MAKE) -C build-$* 
     42        xvfb-run -s -noreset $(MAKE) -C build-$* check 
    3243        touch $@ 
    3344 
    34 build: $(PYVERS:%=build-%/build-stamp) 
     45dbg-build-%/configure-stamp: 
     46        dh_testdir 
     47        mkdir -p dbg-build-$* 
     48        cd dbg-build-$* && \ 
     49                PYTHON=/usr/bin/python$*-dbg CFLAGS="$(CFLAGS) -O0" \ 
     50                        $(CURDIR)/configure $(configure_flags) 
     51        touch $@ 
     52 
     53dbg-build-%/build-stamp: dbg-build-%/configure-stamp 
     54        dh_testdir 
     55        $(MAKE) -C dbg-build-$* 
     56        touch $@ 
     57 
     58build: $(PYVERS:%=build-%/build-stamp) $(PYVERS:%=dbg-build-%/build-stamp) 
    3559 
    3660install-clean: 
     
    4973        mkdir debian/tmp/usr/lib/pkgconfig/python$* 
    5074        mv debian/tmp/usr/lib/pkgconfig/*.pc debian/tmp/usr/lib/pkgconfig/python$* 
    51         # codegen helper, should be the same code whatever the build-time 
    52         # python runtime 
    53         mkdir debian/tmp/usr/share/pygtk/2.0/codegen/python$* 
    54         mv debian/tmp/usr/share/pygtk/2.0/codegen/*.py debian/tmp/usr/share/pygtk/2.0/codegen/python$* 
    5575        # defs files, should be the same whatever the build-time python runtime 
    5676        mkdir debian/tmp/usr/share/pygtk/2.0/defs/python$* 
     
    6080        mv debian/tmp/usr/include/pygtk-2.0 debian/tmp/usr/include/python$* 
    6181 
    62 install: build install-clean $(PYVERS:%=install-%) 
     82dbg-install-%: dbg-build-%/build-stamp 
     83        dh_testdir 
     84        dh_testroot 
     85        $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-gtk2-dbg 
     86        find debian/python-gtk2-dbg ! -type d ! -name '*.so' | xargs rm -f 
     87        find debian/python-gtk2-dbg -depth -empty -exec rmdir {} \; 
     88 
     89install: build install-clean $(PYVERS:%=install-%) $(PYVERS:%=dbg-install-%) 
    6390        # check that all builds with various Python runtimes produced the same 
    64         # *.defs files and codegen (or fail) 
     91        # *.defs files (or fail) 
    6592        for v in $(PYVERS); do \ 
    6693            echo "Comparing defs files for the default Python version ($(PYDEFAULTVER)) with defs files for Python $$v"; \ 
    6794            diff --brief --recursive debian/tmp/usr/share/pygtk/2.0/defs/python$(PYDEFAULTVER) debian/tmp/usr/share/pygtk/2.0/defs/python$$v; \ 
    68             echo "Comparing codegen for the default Python version ($(PYDEFAULTVER)) with codegen for Python $$v"; \ 
    69             diff --brief --recursive debian/tmp/usr/share/pygtk/2.0/codegen/python$(PYDEFAULTVER) debian/tmp/usr/share/pygtk/2.0/codegen/python$$v; \ 
    7095            echo "Comparing headers for the default Python version ($(PYDEFAULTVER)) with headers for Python $$v"; \ 
    7196            diff --brief --recursive debian/tmp/usr/include/python$(PYDEFAULTVER) debian/tmp/usr/include/python$$v; \ 
     
    7499        echo "Cleaning up" 
    75100        mv debian/tmp/usr/share/pygtk/2.0/defs/python$(PYDEFAULTVER)/*.defs debian/tmp/usr/share/pygtk/2.0/defs 
    76         mv debian/tmp/usr/share/pygtk/2.0/codegen/python$(PYDEFAULTVER)/*.py debian/tmp/usr/share/pygtk/2.0/codegen 
    77101        mv debian/tmp/usr/include/python$(PYDEFAULTVER)/* debian/tmp/usr/include 
    78102        for v in $(PYVERS); do \ 
    79103            rm --force --recursive debian/tmp/usr/share/pygtk/2.0/defs/python$$v; \ 
    80             rm --force --recursive debian/tmp/usr/share/pygtk/2.0/codegen/python$$v; \ 
    81104            rm --force --recursive debian/tmp/usr/share/include/python$$v; \ 
    82105        done 
     
    87110        install debian/python-gtk2-dev.rtupdate debian/python-gtk2-dev/usr/share/python/runtime.d 
    88111 
     112        for i in $$(find debian/python-*-dbg -name '*.so'); do \ 
     113          b=$$(basename $$i .so); \ 
     114          mv $$i $$(dirname $$i)/$${b}_d.so; \ 
     115        done 
     116 
    89117clean:: reverse-patches 
    90118        dh_testdir 
    91119        dh_testroot 
    92120        rm -Rf debian/tmp-* 
    93         rm -Rf build-* 
    94         -test -f config.sub && \ 
    95           test -r /usr/share/misc/config.sub && \ 
    96           cp -f /usr/share/misc/config.sub config.sub 
    97         -test -f config.guess && \ 
    98           test -r /usr/share/misc/config.guess && \ 
    99           cp -f /usr/share/misc/config.guess config.guess 
    100         dh_clean codegen/*.pyc 
     121        rm -Rf build-* dbg-build-* 
     122        -mv config.sub.back config.sub 
     123        -mv config.guess.back config.guess 
     124        rm -f guessub-stamp 
     125        dh_clean 
    101126 
    102127# Build architecture-independent files here. 
     
    112137        dh_fixperms -i 
    113138        # More permission fixing 
    114         chmod 755 `grep -rl "^#\!.*python" debian/python-gtk2-dev/usr` 
    115         dh_pysupport -i /usr/share/pygtk/2.0/codegen/ 
     139        grep -rlZ "^#\!.*python" debian/python-gtk2-dev/usr | xargs -0r chmod 755 
     140        dh_pysupport -ppython-gtk2-doc /usr/share/pygtk 
    116141        dh_installdeb -i 
    117142        dh_gencontrol -i 
     
    126151        dh_installexamples -s 
    127152        dh_installchangelogs ChangeLog -s 
    128         dh_strip -s 
     153        dh_strip -s --dbg-package=python-gtk2-dbg 
     154        rm -rf debian/python-gtk2-dbg/usr/share/doc/python-gtk2-dbg 
     155        ln -s python-gtk2 debian/python-gtk2-dbg/usr/share/doc/python-gtk2-dbg 
    129156        dh_link -s 
    130157        dh_compress -s -X.py -X.glade 
Note: See TracChangeset for help on using the changeset viewer.