tags 616829 + patch
thanks

On Mon, 2011-03-07 at 00:47 +0000, Matthias Klose wrote:
> The package build-depends on python-central, which should be
> removed in time for the wheezy release.  dh_python2 should be used instead.
> dh_python2 installs into the same locations as pycentral, but
> avoids the creation and removal of symlinks at package installation
> and removal time, making the upgrade process more robust and faster.

Hi,

Attached is the patch that is used in Ubuntu. The patch also switches
from cdbs to dh sequencer.

Btw, Ubuntu also has a few other patches that may be useful.

Thanks,

-- 
-- arthur - adej...@debian.org - http://people.debian.org/~adejong --
diff -Nauwir gnome-codec-install-0.4.7+nmu1.orig/debian/control gnome-codec-install-0.4.7+nmu1/debian/control
--- gnome-codec-install-0.4.7+nmu1.orig/debian/control	2010-06-02 10:01:38.000000000 +0200
+++ gnome-codec-install-0.4.7+nmu1/debian/control	2012-03-03 19:13:01.616967526 +0100
@@ -3,16 +3,15 @@
 Priority: optional
 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
 
 Package: gnome-codec-install
 Architecture: all
@@ -23,9 +22,9 @@
          python-apt (>= 0.7.93.2),
          python-gst0.10,
          python-gtk2 (>= 2.10.1),
+         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 -Nauwir gnome-codec-install-0.4.7+nmu1.orig/debian/pycompat gnome-codec-install-0.4.7+nmu1/debian/pycompat
--- gnome-codec-install-0.4.7+nmu1.orig/debian/pycompat	2008-08-18 14:23:32.000000000 +0200
+++ gnome-codec-install-0.4.7+nmu1/debian/pycompat	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-2
diff -Nauwir gnome-codec-install-0.4.7+nmu1.orig/debian/rules gnome-codec-install-0.4.7+nmu1/debian/rules
--- gnome-codec-install-0.4.7+nmu1.orig/debian/rules	2010-02-27 19:54:26.000000000 +0100
+++ gnome-codec-install-0.4.7+nmu1/debian/rules	2012-03-03 19:09:54.285281582 +0100
@@ -1,12 +1,4 @@
 #!/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
-
-clean::
-	rm -rf build
-
-binary-install/gnome-codec-install::
-	dh_icons -p$(cdbs_curpkg)
+%:
+	dh $@ --with python2

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to