Changeset 2131


Ignore:
Timestamp:
09/24/07 14:55:20 (6 years ago)
Author:
alanbach-guest
Message:

pygtk updates, 2.12.0, Sync'd with Debian

Location:
pkg/main/pygtk/trunk/debian
Files:
2 added
9 edited

Legend:

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

    r1973 r2131  
    1 pygtk (2.10.6-parsix1) barry; urgency=low 
    2  
    3   * New upstream release 
    4  
    5  -- Alan Baghumian <alan@technotux.org>  Wed, 11 Jul 2007 09:31:30 +0330 
    6  
    7 pygtk (2.10.5-parsix1) barry; urgency=low 
    8  
    9   * New upstream release 
    10  
    11  -- Alan Baghumian <alan@technotux.org>  Fri, 06 Jul 2007 12:13:19 +0330 
    12  
    13 pygtk (2.10.4-parsix3) barry; urgency=low 
    14  
    15   * Biarch build 
    16  
    17  -- Alan Baghumian <alan@technotux.org>  Sun, 01 Jul 2007 13:32:53 +0330 
    18  
    19 pygtk (2.10.4-parsix2) barry; urgency=low 
    20  
    21   * Upload to barry 
    22  
    23  -- Alan Baghumian <alan@technotux.org>  Mon, 16 Apr 2007 12:17:16 +0330 
    24  
    25 pygtk (2.10.4-parsix1) unstable; urgency=low 
    26  
    27   * New upstream release. 
    28  
    29  -- Alan Baghumian <alan@technotux.org>  Thu,  15 Mar 2007 22:53:21 +0330 
     1pygtk (2.12.0-parsix1) unstable; urgency=low 
     2 
     3  * Sync'd with Debian 
     4 
     5 -- Alan Baghumian <alan@technotux.org>  Mon, 24 Sep 2007 12:54:38 +0000 
     6 
     7pygtk (2.12.0-1) unstable; urgency=low 
     8 
     9  * New upstream release. 
     10  * Use Python-Depends to generate python dependencies; build-depend on 
     11    python-support 0.7.3. 
     12  * Build-depend on GTK+ 2.12 to get the 2.12 specific features. 
     13  * Bump pango and atk build-dependencies. 
     14 
     15 -- Josselin Mouette <joss@debian.org>  Sat, 22 Sep 2007 13:08:29 +0200 
     16 
     17pygtk (2.10.6-1) unstable; urgency=low 
     18 
     19  * New upstream release; bug fix. 
     20    - Drop patch 60_missing-codegen-fixes, merged upstream. 
     21 
     22 -- Loic Minier <lool@dooz.org>  Tue, 10 Jul 2007 14:31:31 +0200 
     23 
     24pygtk (2.10.5-2) unstable; urgency=high 
     25 
     26  * New patch, 60_missing-codegen-fixes, fixes TypeError crashes in misc apps 
     27    such as gnome-sudoku and deskbar-applet which were due to an incomplete 
     28    backport of a codegen change; GNOME #455468. 
     29 
     30 -- Loic Minier <lool@dooz.org>  Tue, 10 Jul 2007 13:25:26 +0200 
     31 
     32pygtk (2.10.5-1) unstable; urgency=low 
     33 
     34  * New upstream stable release; bug fixes. 
     35  * Misc cleanups. 
     36 
     37 -- Loic Minier <lool@dooz.org>  Thu, 05 Jul 2007 13:43:29 +0200 
     38 
     39pygtk (2.10.4-3) unstable; urgency=low 
     40 
     41  * Split the documentation in the python-gtk2-doc package as it is 
     42    really large. Incidentally closes: #428579. 
     43  * python:Version -> python:Versions. 
     44  * Use source:Version and binary:Version. 
     45  * Fix X[SB]-Python-Version mess. 
     46 
     47 -- Josselin Mouette <joss@debian.org>  Tue, 12 Jun 2007 21:21:57 +0200 
     48 
     49pygtk (2.10.4-2) unstable; urgency=low 
     50 
     51  * Honor CFLAGS we set in rules, doh! 
     52  * Set some sane default CFLAGS and honor noopt in DEB_BUILD_OPTIONS. 
     53  * Wrap build-deps and deps. 
     54  * Upload to unstable; drop check-dist include. 
     55  * Fix URL in copyright. 
     56  * Add XS and XB-Python-Version. 
     57  * Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE 
     58    differ. 
     59  * Cleanups. 
     60 
     61 -- Loic Minier <lool@dooz.org>  Mon, 16 Apr 2007 13:02:48 +0200 
    3062 
    3163pygtk (2.10.4-1) experimental; urgency=low 
  • pkg/main/pygtk/trunk/debian/control

    r1966 r2131  
    22Section: python 
    33Priority: optional 
    4 Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com> 
    5 XSBC-Original-Maintainer: Sebastien Bacher <seb128@debian.org> 
    6 Uploaders: Torsten Landschoff <torsten@debian.org>, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Loic Minier <lool@dooz.org> 
    7 Build-Depends: debhelper (>= 5.0.37.2), 
    8                python-support (>= 0.4), 
     4Maintainer: Sebastien Bacher <seb128@debian.org> 
     5Uploaders: Torsten Landschoff <torsten@debian.org>, 
     6           Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Josselin Mouette <joss@debian.org>, Loic Minier <lool@dooz.org> 
     7Build-Depends: debhelper (>= 5), 
     8               python-support (>= 0.7.3), 
    99               gnome-pkg-tools (>= 0.10), 
    10                dpatch, 
    1110               cdbs, 
    1211               python-all-dev (>= 2.3.5-11), 
    13                python-all-dbg, 
    14                libgtk2.0-dev (>= 2.11.6), 
     12               libgtk2.0-dev (>= 2.12.0), 
    1513               libglib2.0-dev (>= 2.8.0), 
    1614               libpango1.0-dev (>= 1.16.0), 
     
    2018               python-cairo-dev (>= 1.0.2), 
    2119               python-gobject-dev (>= 2.12.1), 
    22                python-gobject-dbg, 
    23                xvfb, 
    2420               xsltproc, 
    2521               docbook-xsl, 
     
    3228Depends: ${python:Depends}, 
    3329         ${shlibs:Depends}, 
    34          ${misc:Depends}, 
    35          python-numeric (>= 24.2-3), 
    36          python-cairo (>= 1.0.2-1.1), 
    37          python-gobject (>= 2.12.1) 
     30         ${misc:Depends} 
     31Python-Depends: python-numeric (>= 24.2-3), python-cairo (>= 1.0.2-1.1), python-gobject (>= 2.12.1) 
     32Recommends: python-gtk2-doc 
    3833Provides: ${python:Provides} 
    39 Suggests: python-gtk2-dbg 
    40 Replaces: python-gtk-1.2, python2.4-gtk2 
    41 XS-Python-Version: ${python:Version} 
     34XB-Python-Version: ${python:Versions} 
    4235Conflicts: python-gdk-imlib, 
    4336           python-glade, 
     
    5447 URL: http://www.daa.com.au/~james/software/pygtk/ 
    5548 
    56 Package: python-gtk2-dbg 
    57 Architecture: any 
    58 Priority: extra 
    59 Depends: python-gtk2 (= ${Source-Version}),  
    60          python-dbg,  
    61          python-numeric-dbg,  
    62          python-cairo-dbg,  
    63          python-gobject-dbg,  
    64          ${shlibs:Depends} 
    65 Description: Python bindings for the GTK+ widget set (debug extension) 
    66  This archive contains modules that allow you to use GTK+ in Python 
    67  programs. This package contains the bindings for the version 2.0 
    68  of that toolkit. 
    69  . 
    70  This package contains the extension built for the python debug interpreter. 
    71  
    7249Package: python-gtk2-dev 
    7350Architecture: all 
    7451Depends: ${python:Depends}, 
    75          python-gtk2 (>= ${Source-Version}), 
     52         python-gtk2 (>= ${source:Version}), 
    7653         libglib2.0-dev (>= 2.8), 
    77          libgtk2.0-dev (>= 2.11.6), 
     54         libgtk2.0-dev (>= 2.12.0), 
    7855         python-dev, 
    7956         python-gobject-dev (>= 2.12.1) 
     
    9673 URL: http://www.daa.com.au/~james/software/pygtk/ 
    9774 
    98 Package: python-gtk2-doc 
    99 Section: doc 
    100 Architecture: all 
    101 Depends: ${misc:Depends}, python-gobject-doc 
    102 Description: Python bindings for the GTK+ widget set - documentation 
    103  This archive contains modules that allow you to use GTK+ in Python 
    104  programs. 
    105  . 
    106  This package contains gtk-doc-based documentation, fit for viewing on 
    107  DevHelp and other gtk-doc clients. 
    108  . 
    109  URL: http://www.daa.com.au/~james/software/pygtk/ 
    110  
    11175Package: python-glade2 
    11276Architecture: any 
     
    11478         ${shlibs:Depends}, 
    11579         ${misc:Depends}, 
    116          python-gtk2 (= ${Source-Version}) 
     80         python-gtk2 (= ${binary:Version}) 
     81Recommends: python-gtk2-doc 
    11782Conflicts: python-gdk-imlib, 
    11883           python-glade, 
     
    12287           python2.4-glade2 
    12388Provides: ${python:Provides} 
    124 Suggests: python-glade2-dbg 
    12589Description: GTK+ bindings: Glade support 
    12690 Contains bindings for the glade library from use within Python. Glade 
     
    13195 URL: http://www.daa.com.au/~james/software/pygtk/ 
    13296 
    133 Package: python-glade2-dbg 
    134 Architecture: any 
    135 Priority: extra 
    136 Depends: python-glade2 (= ${Source-Version}), 
    137          python-dbg, 
    138          python-gtk2-dbg, 
    139          ${shlibs:Depends} 
    140 Description: GTK+ bindings: Glade support (debug extension) 
    141  Contains bindings for the glade library from use within Python. Glade 
    142  makes it very easy to create a user interface. In the target  
    143  application you just need to load the interface description from  
    144  the .glade file instead of constructing the GUI at runtime. 
     97Package: python-gtk2-doc 
     98Architecture: all 
     99Section: doc 
     100Depends: ${misc:Depends} 
     101Conflicts: python-gtk2 (<< 2.10.4-3) 
     102Recommends: python-gtk2 
     103Suggests: devhelp, python-glade2 
     104Description: Python bindings for the GTK+ widget set - documentation 
     105 This package contains the documentation and API reference for the  
     106 python bindings of the Pango, ATK, GDK, GTK+ and Glade libraries. 
     107 It is well structured and easy to use. 
    145108 . 
    146  This package contains the extension built for the python debug interpreter. 
    147  
     109 The documentation can be browsed with the devhelp documentation  
     110 browser, or with a regular web browser. 
     111 . 
     112 This package also provides several examples showing how to use these  
     113 bindings to build simple GUI applications. 
  • pkg/main/pygtk/trunk/debian/control.in

    r1966 r2131  
    22Section: python 
    33Priority: optional 
    4 Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com> 
    5 XSBC-Original-Maintainer: Sebastien Bacher <seb128@debian.org> 
    6 Uploaders: Torsten Landschoff <torsten@debian.org>, @GNOME_TEAM@ 
    7 Build-Depends: debhelper (>= 5.0.37.2), 
    8                python-support (>= 0.4), 
     4Maintainer: Sebastien Bacher <seb128@debian.org> 
     5Uploaders: Torsten Landschoff <torsten@debian.org>, 
     6          @GNOME_TEAM@ 
     7Build-Depends: debhelper (>= 5), 
     8               python-support (>= 0.7.3), 
    99               gnome-pkg-tools (>= 0.10), 
    10                dpatch, 
    1110               cdbs, 
    1211               python-all-dev (>= 2.3.5-11), 
    13                python-all-dbg, 
    14                libgtk2.0-dev (>= 2.11.6), 
     12               libgtk2.0-dev (>= 2.12.0), 
    1513               libglib2.0-dev (>= 2.8.0), 
    1614               libpango1.0-dev (>= 1.16.0), 
     
    2018               python-cairo-dev (>= 1.0.2), 
    2119               python-gobject-dev (>= 2.12.1), 
    22                python-gobject-dbg, 
    23                xvfb, 
    2420               xsltproc, 
    2521               docbook-xsl, 
     
    3228Depends: ${python:Depends}, 
    3329         ${shlibs:Depends}, 
    34          ${misc:Depends}, 
    35          python-numeric (>= 24.2-3), 
    36          python-cairo (>= 1.0.2-1.1), 
    37          python-gobject (>= 2.12.1) 
     30         ${misc:Depends} 
     31Python-Depends: python-numeric (>= 24.2-3), python-cairo (>= 1.0.2-1.1), python-gobject (>= 2.12.1) 
     32Recommends: python-gtk2-doc 
    3833Provides: ${python:Provides} 
    39 Suggests: python-gtk2-dbg 
    40 Replaces: python-gtk-1.2, python2.4-gtk2 
    41 XS-Python-Version: ${python:Version} 
     34XB-Python-Version: ${python:Versions} 
    4235Conflicts: python-gdk-imlib, 
    4336           python-glade, 
     
    5447 URL: http://www.daa.com.au/~james/software/pygtk/ 
    5548 
    56 Package: python-gtk2-dbg 
    57 Architecture: any 
    58 Priority: extra 
    59 Depends: python-gtk2 (= ${Source-Version}),  
    60          python-dbg,  
    61          python-numeric-dbg,  
    62          python-cairo-dbg,  
    63          python-gobject-dbg,  
    64          ${shlibs:Depends} 
    65 Description: Python bindings for the GTK+ widget set (debug extension) 
    66  This archive contains modules that allow you to use GTK+ in Python 
    67  programs. This package contains the bindings for the version 2.0 
    68  of that toolkit. 
    69  . 
    70  This package contains the extension built for the python debug interpreter. 
    71  
    7249Package: python-gtk2-dev 
    7350Architecture: all 
    7451Depends: ${python:Depends}, 
    75          python-gtk2 (>= ${Source-Version}), 
     52         python-gtk2 (>= ${source:Version}), 
    7653         libglib2.0-dev (>= 2.8), 
    77          libgtk2.0-dev (>= 2.11.6), 
     54         libgtk2.0-dev (>= 2.12.0), 
    7855         python-dev, 
    7956         python-gobject-dev (>= 2.12.1) 
     
    9673 URL: http://www.daa.com.au/~james/software/pygtk/ 
    9774 
    98 Package: python-gtk2-doc 
    99 Section: doc 
    100 Architecture: all 
    101 Depends: ${misc:Depends}, python-gobject-doc 
    102 Description: Python bindings for the GTK+ widget set - documentation 
    103  This archive contains modules that allow you to use GTK+ in Python 
    104  programs. 
    105  . 
    106  This package contains gtk-doc-based documentation, fit for viewing on 
    107  DevHelp and other gtk-doc clients. 
    108  . 
    109  URL: http://www.daa.com.au/~james/software/pygtk/ 
    110  
    11175Package: python-glade2 
    11276Architecture: any 
     
    11478         ${shlibs:Depends}, 
    11579         ${misc:Depends}, 
    116          python-gtk2 (= ${Source-Version}) 
     80         python-gtk2 (= ${binary:Version}) 
     81Recommends: python-gtk2-doc 
    11782Conflicts: python-gdk-imlib, 
    11883           python-glade, 
     
    12287           python2.4-glade2 
    12388Provides: ${python:Provides} 
    124 Suggests: python-glade2-dbg 
    12589Description: GTK+ bindings: Glade support 
    12690 Contains bindings for the glade library from use within Python. Glade 
     
    13195 URL: http://www.daa.com.au/~james/software/pygtk/ 
    13296 
    133 Package: python-glade2-dbg 
    134 Architecture: any 
    135 Priority: extra 
    136 Depends: python-glade2 (= ${Source-Version}), 
    137          python-dbg, 
    138          python-gtk2-dbg, 
    139          ${shlibs:Depends} 
    140 Description: GTK+ bindings: Glade support (debug extension) 
    141  Contains bindings for the glade library from use within Python. Glade 
    142  makes it very easy to create a user interface. In the target  
    143  application you just need to load the interface description from  
    144  the .glade file instead of constructing the GUI at runtime. 
     97Package: python-gtk2-doc 
     98Architecture: all 
     99Section: doc 
     100Depends: ${misc:Depends} 
     101Conflicts: python-gtk2 (<< 2.10.4-3) 
     102Recommends: python-gtk2 
     103Suggests: devhelp, python-glade2 
     104Description: Python bindings for the GTK+ widget set - documentation 
     105 This package contains the documentation and API reference for the  
     106 python bindings of the Pango, ATK, GDK, GTK+ and Glade libraries. 
     107 It is well structured and easy to use. 
    145108 . 
    146  This package contains the extension built for the python debug interpreter. 
    147  
     109 The documentation can be browsed with the devhelp documentation  
     110 browser, or with a regular web browser. 
     111 . 
     112 This package also provides several examples showing how to use these  
     113 bindings to build simple GUI applications. 
  • pkg/main/pygtk/trunk/debian/copyright

    r1944 r2131  
    2525    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA 
    2626 
     27 
     28Note: the documentation used to be licensed under the Creative Commons  
     29Attribution-ShareAlike License version 1.0, and was re-licensed to LGPL  
     30on oct 12, 2006. 
  • pkg/main/pygtk/trunk/debian/python-gtk2-dev.install

    r1944 r2131  
    22debian/tmp/usr/bin/pygtk-codegen-2.0 
    33debian/tmp/usr/lib/pkgconfig 
    4 debian/tmp/usr/share/pygtk/2.0 
     4debian/tmp/usr/share/pygtk 
  • pkg/main/pygtk/trunk/debian/python-gtk2-doc.install

    r1944 r2131  
    1 debian/tmp/usr/share/gtk-doc/html 
     1debian/tmp/usr/share/gtk-doc 
  • pkg/main/pygtk/trunk/debian/python-gtk2.install

    r1944 r2131  
    1 debian/tmp/usr/bin/pygtk-demo 
    2 debian/tmp/usr/lib/pygtk/2.0 
    3 debian/tmp/usr/lib/python*/site-packages/gtk-2.0/*.{so,py} 
    4 debian/tmp/usr/lib/python*/site-packages/gtk-2.0/gtk/{_gtk.so,*.py} 
     1debian/tmp/usr/lib/python*/site-packages/gtk-2.0/*.so 
     2debian/tmp/usr/lib/python*/site-packages/gtk-2.0/gtk/_gtk.so 
     3debian/tmp/usr/lib/python*/site-packages/gtk-2.0/gtk/*.py 
  • pkg/main/pygtk/trunk/debian/rules

    r1944 r2131  
    11#!/usr/bin/make -f 
    2  
    3 export DH_VERBOSE=1 
    4  
    5 # Include dpatch stuff. 
    6 include /usr/share/dpatch/dpatch.make 
    72 
    83include /usr/share/cdbs/1/rules/simple-patchsys.mk 
     
    105-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk 
    116 
    12 CFLAGS += -Wall -g  
     7CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2) 
    138 
    149DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) 
     
    2116endif 
    2217 
    23 PYVERS=$(shell pyversions -vr 2>/dev/null) 
    24  
    25 .PRECIOUS: build-%/configure-stamp dbg-build-%/configure-stamp 
     18PYVERS := $(shell pyversions --requested --version debian/control) 
     19PYDEFAULTVER := $(shell pyversions --default --version) 
    2620 
    2721build-%/configure-stamp: 
     
    2923        mkdir -p build-$* 
    3024        cd build-$* && \ 
    31                 PYTHON=/usr/bin/python$* CFLAGS="$(CFLAGS) -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)" \ 
     25                PYTHON=/usr/bin/python$* CFLAGS="$(CFLAGS)" \ 
    3226                        $(CURDIR)/configure $(configure_flags) 
    3327        touch $@ 
     
    3630        dh_testdir 
    3731        $(MAKE) -C build-$* 
    38         xvfb-run $(MAKE) -C build-$* check 
    3932        touch $@ 
    4033 
    41 dbg-build-%/configure-stamp: 
    42         dh_testdir 
    43         mkdir -p dbg-build-$* 
    44         cd dbg-build-$* && CFLAGS="$(CFLAGS) -O0" PYTHON=/usr/bin/python$*-dbg \ 
    45                 ../configure --host=$(DEB_HOST_GNU_TYPE)        \ 
    46                         --build=$(DEB_BUILD_GNU_TYPE)           \ 
    47                         --prefix=/usr --enable-thread 
    48         touch $@ 
    49  
    50 dbg-build-%/build-stamp: dbg-build-%/configure-stamp 
    51         dh_testdir 
    52         $(MAKE) -C dbg-build-$* 
    53         touch $@ 
    54  
    55 build: patch $(PYVERS:%=build-%/build-stamp) $(PYVERS:%=dbg-build-%/build-stamp) 
     34build: apply-patches $(PYVERS:%=build-%/build-stamp) 
    5635 
    5736install-clean: 
     
    6443        dh_testroot 
    6544        $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp 
     45        # move installed files to a per python runtime location to allow 
     46        # comparison of the resulting files across runtimes or shipping 
     47        # multiple versions 
     48        # pkg-config file (this is shipped twice because of varying pyexecdir) 
     49        mkdir debian/tmp/usr/lib/pkgconfig/python$* 
     50        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$* 
     55        # defs files, should be the same whatever the build-time python runtime 
     56        mkdir debian/tmp/usr/share/pygtk/2.0/defs/python$* 
     57        mv debian/tmp/usr/share/pygtk/2.0/defs/*.defs debian/tmp/usr/share/pygtk/2.0/defs/python$* 
     58        # headers, should be the same whatever the build-time python runtime 
     59        mkdir debian/tmp/usr/include/python$* 
     60        mv debian/tmp/usr/include/pygtk-2.0 debian/tmp/usr/include/python$* 
    6661 
    67 dbg-install-%: dbg-build-%/build-stamp 
    68         dh_testdir 
    69         dh_testroot 
    70         $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-gtk2-dbg 
    71         find debian/python-gtk2-dbg ! -type d ! -name '*.so' | xargs rm -f 
    72         find debian/python-gtk2-dbg -depth -empty -exec rmdir {} \; 
    73         mkdir -p debian/python-glade2-dbg/usr/lib/python$*/site-packages/gtk-2.0/gtk 
    74         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/ 
     62install: build install-clean $(PYVERS:%=install-%) 
     63        # check that all builds with various Python runtimes produced the same 
     64        # *.defs files and codegen (or fail) 
     65        for v in $(PYVERS); do \ 
     66            echo "Comparing defs files for the default Python version ($(PYDEFAULTVER)) with defs files for Python $$v"; \ 
     67            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            echo "Comparing headers for the default Python version ($(PYDEFAULTVER)) with headers for Python $$v"; \ 
     71            diff --brief --recursive debian/tmp/usr/include/python$(PYDEFAULTVER) debian/tmp/usr/include/python$$v; \ 
     72        done 
     73        # since all Python runtimes produced the same files, only keep one set 
     74        echo "Cleaning up" 
     75        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 
     77        mv debian/tmp/usr/include/python$(PYDEFAULTVER)/* debian/tmp/usr/include 
     78        for v in $(PYVERS); do \ 
     79            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            rm --force --recursive debian/tmp/usr/share/include/python$$v; \ 
     82        done 
     83        # finally, install files from DESTDIR in the per-package dirs 
     84        dh_install 
     85        # install rtupdate script to handle Python default runtime change 
     86        install -d debian/python-gtk2-dev/usr/share/python/runtime.d 
     87        install debian/python-gtk2-dev.rtupdate debian/python-gtk2-dev/usr/share/python/runtime.d 
    7588 
    76 install: build install-clean $(PYVERS:%=install-%) $(PYVERS:%=dbg-install-%) 
    77         dh_installdirs 
    78         dh_install 
    79         find debian -name "*.py[co]" -exec rm -f {} \; 
    80  
    81         for i in $$(find debian/python-*-dbg -name '*.so'); do \ 
    82           b=$$(basename $$i .so); \ 
    83           mv $$i $$(dirname $$i)/$${b}_d.so; \ 
    84         done 
    85  
    86 clean:: unpatch 
     89clean:: reverse-patches 
    8790        dh_testdir 
    8891        dh_testroot 
    8992        rm -Rf debian/tmp-* 
    90         rm -Rf build-* dbg-build-* 
     93        rm -Rf build-* 
    9194        -test -f config.sub && \ 
    9295          test -r /usr/share/misc/config.sub && \ 
     
    9598          test -r /usr/share/misc/config.guess && \ 
    9699          cp -f /usr/share/misc/config.guess config.guess 
    97         find -name '*.py[co]' | xargs -r rm -f 
    98         dh_clean 
     100        dh_clean codegen/*.pyc 
    99101 
    100102# Build architecture-independent files here. 
    101 binary-indep: build install  
    102         dh_testdir -i 
    103         dh_testroot -i 
     103binary-indep: build install 
     104        dh_testdir 
     105        dh_testroot 
    104106        dh_installdocs -i 
    105107        dh_installexamples -i 
     
    109111        dh_fixperms -i 
    110112        # More permission fixing 
    111         #chmod 755 `grep -rl "^#\!.*python" debian/python-gtk2-dev/usr` 
     113        chmod 755 `grep -rl "^#\!.*python" debian/python-gtk2-dev/usr` 
    112114        dh_pysupport -i /usr/share/pygtk/2.0/codegen/ 
    113115        dh_installdeb -i 
     
    120122        dh_testdir 
    121123        dh_testroot 
    122         dh_installdocs -a 
    123         dh_installexamples -a 
    124         dh_installchangelogs ChangeLog -a 
    125         dh_strip -ppython-gtk2 --dbg-package=python-gtk2-dbg 
    126         rm -rf debian/python-gtk2-dbg/usr/share/doc/python-gtk2-dbg 
    127         ln -s python-gtk2 debian/python-gtk2-dbg/usr/share/doc/python-gtk2-dbg 
    128         dh_strip -ppython-glade2 --dbg-package=python-glade2-dbg 
    129         rm -rf debian/python-glade2-dbg/usr/share/doc/python-glade2-dbg 
    130         ln -s python-glade2 debian/python-glade2-dbg/usr/share/doc/python-glade2-dbg 
    131         dh_link -a 
    132         dh_compress -a -X.py -X.glade 
    133         dh_fixperms -a 
    134         dh_pysupport -a 
    135         dh_installdeb -a 
    136         dh_shlibdeps -a 
    137         dh_gencontrol -a 
    138         dh_md5sums -a 
    139         dh_builddeb -a 
     124        dh_installdocs -s 
     125        dh_installexamples -s 
     126        find debian/python-gtk2/usr/share/doc -name '*.py[co]' -delete 
     127        dh_installchangelogs ChangeLog -s 
     128        dh_strip -s 
     129        dh_link -s 
     130        dh_compress -s -X.py -X.glade 
     131        dh_fixperms -s 
     132        dh_pysupport -s 
     133        dh_installdeb -s 
     134        dh_shlibdeps -s 
     135        dh_gencontrol -s 
     136        dh_md5sums -s 
     137        dh_builddeb -s 
    140138 
    141139binary: binary-arch binary-indep 
  • pkg/main/pygtk/trunk/debian/watch

    r1974 r2131  
    11version=2 
    2 ftp://ftp.gnome.org/pub/GNOME/sources/pygtk/([\d\.]+)[02468]/pygtk-(.*)\.tar\.gz 
     2http://ftp.gnome.org/pub/GNOME/sources/pygtk/([\d\.]+)[02468]/pygtk-([\d\.]+)\.tar\.gz 
Note: See TracChangeset for help on using the changeset viewer.