Package: gnome-codec-install
Version: 0.4.7
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



*** /tmp/tmp4d1s6y
In Ubuntu, the attached patch was applied to achieve the following:

  * move from python-central to dh_python2:
    - drop debian/pycompat
    - move from XS-Python-Version to X-Python-Version
    - update build-depends
    - remove DEB_PYTHON_SYSTEM := pycentral
  * move from cdbs to dh7, cdbs & dh_python2 seem to not yet play well
    together


Thanks for considering the patch.

I'm happy to do this upload as a NMU or add myself to the Uploaders
(but I will not really have time to properly help maintaining the 
package long term).

Cheers, 
 Michael


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 
'natty-proposed'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/4 CPU cores)
Locale: LANG=en_DK.utf8, LC_CTYPE=en_DK.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru gnome-codec-install-0.4.7ubuntu3/debian/changelog gnome-codec-install-0.4.7ubuntu4/debian/changelog
diff -Nru gnome-codec-install-0.4.7ubuntu3/debian/control gnome-codec-install-0.4.7ubuntu4/debian/control
--- gnome-codec-install-0.4.7ubuntu3/debian/control	2011-01-07 15:29:57.000000000 +0100
+++ gnome-codec-install-0.4.7ubuntu4/debian/control	2011-06-10 10:55:01.000000000 +0200
@@ -4,16 +4,15 @@
 Maintainer: Ubuntu Core Developers <ubuntu-devel-disc...@lists.ubuntu.com>
 XSBC-Original-Maintainer: Sebastian Dröge <sl...@debian.org>
 Uploaders: Maintainers of GStreamer packages <pkg-gstreamer-maintain...@lists.alioth.debian.org>
-Build-Depends: cdbs,
-               debhelper (>= 7),
+Build-Depends: debhelper (>= 7),
                gettext,
                intltool,
                python,
-               python-central (>= 0.5),
+               python-dev  (>= 2.6.6-3~),
                python-distutils-extra (>= 1.91),
                python-setuptools
 Standards-Version: 3.8.4
-XS-Python-Version: >= 2.5
+X-Python-Version: >= 2.5
 Vcs-Bzr: http://code.launchpad.net/~ubuntu-desktop/gnome-codec-install/ubuntu
 
 Package: gnome-codec-install
@@ -28,7 +27,6 @@
          python-defer,
          python-aptdaemon-gtk | synaptic (>= 0.57.8)
 Replaces: gnome-app-install (<= 0.5.5.1-1)
-XB-Python-Version: ${python:Versions}
 Description: GStreamer codec installer
  This package contains a GTK+ based GStreamer codec installer, which is
  automatically called by applications if a GStreamer plugin with
diff -Nru gnome-codec-install-0.4.7ubuntu3/debian/gnome-codec-install.debhelper.log gnome-codec-install-0.4.7ubuntu4/debian/gnome-codec-install.debhelper.log
--- gnome-codec-install-0.4.7ubuntu3/debian/gnome-codec-install.debhelper.log	1970-01-01 01:00:00.000000000 +0100
+++ gnome-codec-install-0.4.7ubuntu4/debian/gnome-codec-install.debhelper.log	2011-06-10 10:55:05.000000000 +0200
@@ -0,0 +1 @@
+dh_auto_clean
diff -Nru gnome-codec-install-0.4.7ubuntu3/debian/pycompat gnome-codec-install-0.4.7ubuntu4/debian/pycompat
--- gnome-codec-install-0.4.7ubuntu3/debian/pycompat	2011-01-07 15:07:47.000000000 +0100
+++ gnome-codec-install-0.4.7ubuntu4/debian/pycompat	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-2
diff -Nru gnome-codec-install-0.4.7ubuntu3/debian/rules gnome-codec-install-0.4.7ubuntu4/debian/rules
--- gnome-codec-install-0.4.7ubuntu3/debian/rules	2011-01-07 15:07:47.000000000 +0100
+++ gnome-codec-install-0.4.7ubuntu4/debian/rules	2011-06-10 10:55:01.000000000 +0200
@@ -1,12 +1,7 @@
 #!/usr/bin/make -f
-DEB_AUTO_CLEANUP_RCS  := yes
-DEB_PYTHON_SYSTEM     := pycentral
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+%:
+	dh $@ --with python2
 
-clean::
-	rm -rf build
-
-binary-install/gnome-codec-install::
-	dh_icons -p$(cdbs_curpkg)
+override_dh_clean:
+	rm -rf build
\ No newline at end of file

Reply via email to