Changeset 4546 for pkg/boss/main/pygtk/trunk
- Timestamp:
- 11/24/08 20:32:57 (4 years ago)
- Location:
- pkg/boss/main/pygtk/trunk/debian
- Files:
-
- 5 added
- 2 deleted
- 9 edited
-
changelog (modified) (1 diff)
-
control (modified) (6 diffs)
-
control.in (modified) (6 diffs)
-
copyright (modified) (1 diff)
-
patches/01_pygtk-demo.patch (added)
-
patches/02_numpy.patch (added)
-
patches/10_use-default-python.patch (deleted)
-
patches/50_wakeupfd-curruption.patch (deleted)
-
patches/60_pygtk-wakeupfd-fix.patch (modified) (4 diffs)
-
patches/70_autoconf.patch (added)
-
patches/series (added)
-
python-gtk2-doc.examples (modified) (1 diff)
-
python-gtk2-doc.install (modified) (1 diff)
-
python-gtk2-doc.links (modified) (1 diff)
-
python-gtk2-doc.preinst (added)
-
rules (modified) (9 diffs)
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 1 pygtk (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 7 pygtk (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 12 104 13 105 pygtk (2.12.1-6) unstable; urgency=low -
pkg/boss/main/pygtk/trunk/debian/control
r3817 r4546 9 9 gnome-pkg-tools (>= 0.10), 10 10 cdbs, 11 autotools-dev, 12 quilt, 13 xvfb, xauth, xfonts-base, libgl1-mesa-dri, 11 14 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), 14 18 libglib2.0-dev (>= 2.8.0), 15 19 libpango1.0-dev (>= 1.16.0), 16 20 libatk1.0-dev (>= 1.12.0), 17 21 libglade2-dev (>= 2.5.0), 18 python-num eric (>= 24.2-3),22 python-numpy-dbg (>= 1:1.0.4-1~), 19 23 python-cairo-dev (>= 1.0.2), 20 python-gobject-dev (>= 2.1 4.0),24 python-gobject-dev (>= 2.15.3), 21 25 xsltproc, 22 26 docbook-xsl, 23 autotools-dev 24 XS-Python-Version: >= 2.3 25 Standards-Version: 3.7.3 27 autotools-dev, 28 gnome-icon-theme 29 XS-Python-Version: >= 2.5 30 Standards-Version: 3.8.0 31 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/desktop/experimental/pygtk/ 32 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/experimental/pygtk/ 33 Homepage: http://www.pygtk.org/ 26 34 27 35 Package: python-gtk2 … … 31 39 ${shlibs:Depends}, 32 40 ${misc:Depends} 33 Python-Depends: python-num eric (>= 24.2-3),41 Python-Depends: python-numpy, 34 42 python-cairo (>= 1.0.2-1.1), 35 python-gobject (>= 2.1 4.0)43 python-gobject (>= 2.15.3) 36 44 Suggests: python-gtk2-doc 37 45 Provides: ${python:Provides} … … 48 56 programs. This package contains the bindings for the version 2.0 49 57 of that toolkit. 58 59 Package: python-gtk2-dbg 60 Architecture: any 61 Priority: extra 62 Depends: 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} 69 Description: 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. 50 73 . 51 URL: http://www.daa.com.au/~james/software/pygtk/74 This package contains the extension built for the Python debug interpreter. 52 75 53 76 Package: python-gtk2-dev … … 56 79 python-gtk2 (>= ${source:Version}), 57 80 libglib2.0-dev (>= 2.8), 58 libgtk2.0-dev (>= 2.1 2.0),81 libgtk2.0-dev (>= 2.13.6), 59 82 python2.5-dev (>= 2.5.2-5), 60 83 python-dev, 61 python-gobject-dev (>= 2.1 4.0)84 python-gobject-dev (>= 2.15.3) 62 85 Recommends: python-gtk2-doc 63 86 Replaces: python2.2-gtk2 (<< 1.99.17-4), … … 74 97 python-gtk 75 98 Description: 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). 80 101 81 102 Package: python-glade2 … … 98 119 application you just need to load the interface description from 99 120 the .glade file instead of constructing the GUI at runtime. 100 .101 URL: http://www.daa.com.au/~james/software/pygtk/102 121 103 122 Package: python-gtk2-doc 104 123 Architecture: all 105 124 Section: doc 106 Depends: ${misc:Depends} 125 XB-Python-Version: ${python:Versions} 126 Depends: ${misc:Depends}, 127 ${python:Depends}, 128 python-gtk2, 107 129 Conflicts: python-gtk2 (<< 2.10.4-3) 108 Recommends: python-gtk2 109 Suggests: devhelp, python-glade2 130 Recommends: python-gobject, 131 python-cairo, 132 python-glade2 133 Suggests: devhelp 110 134 Description: Python bindings for the GTK+ widget set - documentation 111 135 This package contains the documentation and API reference for the -
pkg/boss/main/pygtk/trunk/debian/control.in
r3817 r4546 9 9 gnome-pkg-tools (>= 0.10), 10 10 cdbs, 11 autotools-dev, 12 quilt, 13 xvfb, xauth, xfonts-base, libgl1-mesa-dri, 11 14 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), 14 18 libglib2.0-dev (>= 2.8.0), 15 19 libpango1.0-dev (>= 1.16.0), 16 20 libatk1.0-dev (>= 1.12.0), 17 21 libglade2-dev (>= 2.5.0), 18 python-num eric (>= 24.2-3),22 python-numpy-dbg (>= 1:1.0.4-1~), 19 23 python-cairo-dev (>= 1.0.2), 20 python-gobject-dev (>= 2.1 4.0),24 python-gobject-dev (>= 2.15.3), 21 25 xsltproc, 22 26 docbook-xsl, 23 autotools-dev 24 XS-Python-Version: >= 2.3 25 Standards-Version: 3.7.3 27 autotools-dev, 28 gnome-icon-theme 29 XS-Python-Version: >= 2.5 30 Standards-Version: 3.8.0 31 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/desktop/experimental/pygtk/ 32 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/experimental/pygtk/ 33 Homepage: http://www.pygtk.org/ 26 34 27 35 Package: python-gtk2 … … 31 39 ${shlibs:Depends}, 32 40 ${misc:Depends} 33 Python-Depends: python-num eric (>= 24.2-3),41 Python-Depends: python-numpy, 34 42 python-cairo (>= 1.0.2-1.1), 35 python-gobject (>= 2.1 4.0)43 python-gobject (>= 2.15.3) 36 44 Suggests: python-gtk2-doc 37 45 Provides: ${python:Provides} … … 48 56 programs. This package contains the bindings for the version 2.0 49 57 of that toolkit. 58 59 Package: python-gtk2-dbg 60 Architecture: any 61 Priority: extra 62 Depends: 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} 69 Description: 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. 50 73 . 51 URL: http://www.daa.com.au/~james/software/pygtk/74 This package contains the extension built for the Python debug interpreter. 52 75 53 76 Package: python-gtk2-dev … … 56 79 python-gtk2 (>= ${source:Version}), 57 80 libglib2.0-dev (>= 2.8), 58 libgtk2.0-dev (>= 2.1 2.0),81 libgtk2.0-dev (>= 2.13.6), 59 82 python2.5-dev (>= 2.5.2-5), 60 83 python-dev, 61 python-gobject-dev (>= 2.1 4.0)84 python-gobject-dev (>= 2.15.3) 62 85 Recommends: python-gtk2-doc 63 86 Replaces: python2.2-gtk2 (<< 1.99.17-4), … … 74 97 python-gtk 75 98 Description: 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). 80 101 81 102 Package: python-glade2 … … 98 119 application you just need to load the interface description from 99 120 the .glade file instead of constructing the GUI at runtime. 100 .101 URL: http://www.daa.com.au/~james/software/pygtk/102 121 103 122 Package: python-gtk2-doc 104 123 Architecture: all 105 124 Section: doc 106 Depends: ${misc:Depends} 125 XB-Python-Version: ${python:Versions} 126 Depends: ${misc:Depends}, 127 ${python:Depends}, 128 python-gtk2, 107 129 Conflicts: python-gtk2 (<< 2.10.4-3) 108 Recommends: python-gtk2 109 Suggests: devhelp, python-glade2 130 Recommends: python-gobject, 131 python-cairo, 132 python-glade2 133 Suggests: devhelp 110 134 Description: Python bindings for the GTK+ widget set - documentation 111 135 This package contains the documentation and API reference for the -
pkg/boss/main/pygtk/trunk/debian/copyright
r2131 r4546 6 6 7 7 Upstream Author: James Henstridge <james@daa.com.au> 8 9 Copyright (C) 1998-2006 James Henstridge 10 Copyright (C) 2004-2006 Johan Dahlin 11 Copyright (C) 2005-2006 John Finlay 12 Copyright (C) 2005 Gustavo Carneiro 13 Copyright (C) 2007 Gian Mario Tagliaretti 8 14 9 15 Copyright: -
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 @@ 1 Index: 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 4 6 5 7 #include "pygtk-private.h" … … 10 12 #define PYGTK_CONTAINER_FORALL 1 11 13 #define countof(array) (sizeof(array)/sizeof(array[0])) 12 @@ -106 8,7 +1070,10 @@14 @@ -1069,7 +1071,10 @@ static gboolean 13 15 pygtk_main_watch_prepare(GSource *source, 14 16 int *timeout) … … 21 23 /* Python only invokes signal handlers from the main thread, 22 24 * so if a thread other than the main thread receives the signal 23 @@ -110 2,6 +1107,11 @@25 @@ -1103,6 +1108,11 @@ pygtk_main_watch_prepare(GSource *source 24 26 real_source->fd.events = G_IO_IN | G_IO_HUP | G_IO_ERR; 25 27 g_source_add_poll(source, &real_source->fd); … … 33 35 34 36 #else /* !HAVE_PYSIGNAL_SETWAKEUPFD */ 35 @@ -112 1,8 +1131,18 @@37 @@ -1122,8 +1132,18 @@ pygtk_main_watch_check(GSource *source) 36 38 { 37 39 PyGILState_STATE state; -
pkg/boss/main/pygtk/trunk/debian/python-gtk2-doc.examples
r2131 r4546 1 debian/tmp/usr/lib/pygtk/2.0/demos2 debian/tmp/usr/lib/pygtk/2.0/*.py3 1 examples/atk 4 2 examples/glade -
pkg/boss/main/pygtk/trunk/debian/python-gtk2-doc.install
r2131 r4546 1 1 debian/tmp/usr/share/gtk-doc 2 debian/tmp/usr/bin/pygtk-demo 3 debian/tmp/usr/lib/pygtk/2.0 usr/share/pygtk -
pkg/boss/main/pygtk/trunk/debian/python-gtk2-doc.links
r2131 r4546 1 1 /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 1 1 #!/usr/bin/make -f 2 2 3 include /usr/share/cdbs/1/rules/ simple-patchsys.mk3 include /usr/share/cdbs/1/rules/patchsys-quilt.mk 4 4 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk 5 5 -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk … … 16 16 endif 17 17 18 PYDEFAULTVER := $(shell pyversions --default --version) 18 19 PYVERS := $(shell pyversions --requested --version debian/control) 19 PY DEFAULTVER := $(shell pyversions --default --version)20 PYVERS := $(filter-out $(PYDEFAULTVER), $(PYVERS)) $(PYDEFAULTVER) 20 21 21 build-%/configure-stamp: apply-patches 22 .PRECIOUS: build-%/configure-stamp dbg-build-%/configure-stamp 23 24 guessub-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 31 build-%/configure-stamp: apply-patches guessub-stamp 22 32 dh_testdir 23 33 mkdir -p build-$* … … 30 40 dh_testdir 31 41 $(MAKE) -C build-$* 42 xvfb-run -s -noreset $(MAKE) -C build-$* check 32 43 touch $@ 33 44 34 build: $(PYVERS:%=build-%/build-stamp) 45 dbg-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 53 dbg-build-%/build-stamp: dbg-build-%/configure-stamp 54 dh_testdir 55 $(MAKE) -C dbg-build-$* 56 touch $@ 57 58 build: $(PYVERS:%=build-%/build-stamp) $(PYVERS:%=dbg-build-%/build-stamp) 35 59 36 60 install-clean: … … 49 73 mkdir debian/tmp/usr/lib/pkgconfig/python$* 50 74 mv debian/tmp/usr/lib/pkgconfig/*.pc debian/tmp/usr/lib/pkgconfig/python$* 51 # codegen helper, should be the same code whatever the build-time52 # python runtime53 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$*55 75 # defs files, should be the same whatever the build-time python runtime 56 76 mkdir debian/tmp/usr/share/pygtk/2.0/defs/python$* … … 60 80 mv debian/tmp/usr/include/pygtk-2.0 debian/tmp/usr/include/python$* 61 81 62 install: build install-clean $(PYVERS:%=install-%) 82 dbg-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 89 install: build install-clean $(PYVERS:%=install-%) $(PYVERS:%=dbg-install-%) 63 90 # check that all builds with various Python runtimes produced the same 64 # *.defs files and codegen(or fail)91 # *.defs files (or fail) 65 92 for v in $(PYVERS); do \ 66 93 echo "Comparing defs files for the default Python version ($(PYDEFAULTVER)) with defs files for Python $$v"; \ 67 94 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; \70 95 echo "Comparing headers for the default Python version ($(PYDEFAULTVER)) with headers for Python $$v"; \ 71 96 diff --brief --recursive debian/tmp/usr/include/python$(PYDEFAULTVER) debian/tmp/usr/include/python$$v; \ … … 74 99 echo "Cleaning up" 75 100 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/codegen77 101 mv debian/tmp/usr/include/python$(PYDEFAULTVER)/* debian/tmp/usr/include 78 102 for v in $(PYVERS); do \ 79 103 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; \81 104 rm --force --recursive debian/tmp/usr/share/include/python$$v; \ 82 105 done … … 87 110 install debian/python-gtk2-dev.rtupdate debian/python-gtk2-dev/usr/share/python/runtime.d 88 111 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 89 117 clean:: reverse-patches 90 118 dh_testdir 91 119 dh_testroot 92 120 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 101 126 102 127 # Build architecture-independent files here. … … 112 137 dh_fixperms -i 113 138 # 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 116 141 dh_installdeb -i 117 142 dh_gencontrol -i … … 126 151 dh_installexamples -s 127 152 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 129 156 dh_link -s 130 157 dh_compress -s -X.py -X.glade
Note: See TracChangeset
for help on using the changeset viewer.


