tags 571490 +patch
Thanks

On Thu, Feb 25, 2010 at 07:36:13PM +0100, Jakub Wilk wrote:
> When rebuilt in an environment with Python 2.6 as the default
> version, your package failed to build from source. Here are the
> relevant parts of the build log:
> 
> | checking for python... /usr/bin/python
> | checking for python version... 2.6
> | checking for python platform... linux2
> | checking for python script directory... 
> ${prefix}/lib/python2.6/dist-packages
> | checking for python extension module directory... 
> ${exec_prefix}/lib/python2.6/dist-packages
> [...]
> | dh_install -ppython-gtk-vnc
> | dh_install: python-gtk-vnc missing files 
> (debian/tmp/usr/lib/python*/site-packages/gtkvnc.so), aborting
Attached patch fixes this. Will upload once python 2.6 is the default.
Cheers,
 -- Guido
>From 677880b779cc56687061ce97cbd76011564458c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <[email protected]>
Date: Sat, 27 Feb 2010 17:20:30 +0100
Subject: [PATCH] Switch to Python 2.6

---
 debian/control                |    4 ++--
 debian/python-gtk-vnc.install |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index e006aed..9b26c80 100644
--- a/debian/control
+++ b/debian/control
@@ -1,11 +1,11 @@
 Source: gtk-vnc
 Section: gnome
 Priority: optional
-XS-Python-Version: >= 2.4
+XS-Python-Version: >= 2.6
 Maintainer: Guido Günther <[email protected]>
 Standards-Version: 3.8.3
 Build-Depends: cdbs, debhelper (>= 7), python-central, libgtk2.0-dev,
- python-all-dev, libgnutls-dev (>= 1.4.0), python-gtk2-dev (>= 2.0),
+ python2.6-dev, libgnutls-dev (>= 1.4.0), python-gtk2-dev (>= 2.0),
  libcairo2-dev, xulrunner-dev, autotools-dev, quilt,
  automake, autoconf, libffi-dev, libtool, libsasl2-dev, intltool
 Build-Conflicts: libffi4-dev
diff --git a/debian/python-gtk-vnc.install b/debian/python-gtk-vnc.install
index 58668fb..7ad3594 100644
--- a/debian/python-gtk-vnc.install
+++ b/debian/python-gtk-vnc.install
@@ -1 +1 @@
-debian/tmp/usr/lib/python*/site-packages/gtkvnc.so
+debian/tmp/usr/lib/python*/dist-packages/gtkvnc.so
-- 
1.7.0

Reply via email to