r25000 - in /packages/unstable/system-config-printer/debian/patches: 0001-Adjust-python-paths.patch 13_python_paths.patch series
agx at users.alioth.debian.org
agx at users.alioth.debian.org
Tue Aug 24 13:27:44 UTC 2010
Author: agx
Date: Tue Aug 24 13:27:38 2010
New Revision: 25000
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=25000
Log:
New patch 0001-Adjust-python-paths.patch
Adjust python paths
Added:
packages/unstable/system-config-printer/debian/patches/0001-Adjust-python-paths.patch
Removed:
packages/unstable/system-config-printer/debian/patches/13_python_paths.patch
Modified:
packages/unstable/system-config-printer/debian/patches/series
Added: packages/unstable/system-config-printer/debian/patches/0001-Adjust-python-paths.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/system-config-printer/debian/patches/0001-Adjust-python-paths.patch?rev=25000&op=file
==============================================================================
--- packages/unstable/system-config-printer/debian/patches/0001-Adjust-python-paths.patch (added)
+++ packages/unstable/system-config-printer/debian/patches/0001-Adjust-python-paths.patch [utf-8] Tue Aug 24 13:27:38 2010
@@ -1,0 +1,35 @@
+From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Mon, 26 Jul 2010 16:20:26 +0200
+Subject: [PATCH] Adjust python paths
+
+---
+ applet.py | 1 +
+ system-config-printer.py | 2 ++
+ 2 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/applet.py b/applet.py
+index 09732d7..491ddb1 100644
+--- a/applet.py
++++ b/applet.py
+@@ -20,6 +20,7 @@
+ import cups
+ cups.require ("1.9.42")
+ import sys
++sys.path.append("/usr/share/system-config-printer")
+ from debug import *
+
+ import dbus
+diff --git a/system-config-printer.py b/system-config-printer.py
+index 96f1dad..6d6b08c 100755
+--- a/system-config-printer.py
++++ b/system-config-printer.py
+@@ -21,6 +21,8 @@
+ ## along with this program; if not, write to the Free Software
+ ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
++import sys
++sys.path.append("/usr/share/system-config-printer")
+ # config is generated from config.py.in by configure
+ import config
+
+--
Modified: packages/unstable/system-config-printer/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/system-config-printer/debian/patches/series?rev=25000&op=diff
==============================================================================
--- packages/unstable/system-config-printer/debian/patches/series [utf-8] (original)
+++ packages/unstable/system-config-printer/debian/patches/series [utf-8] Tue Aug 24 13:27:38 2010
@@ -1,12 +1,8 @@
-01_no_rhpl.patch
02_translations.patch
-03_elementtree.patch
04_jobsheets_traceback.patch
08_stock_icons.patch
10_show_manage_jobs.patch
-11_use_gksu.patch
12_remove_redhat.patch
-13_python_paths.patch
15_close_shortcut.patch
16_dont_monitor_session.patch
17_new_printer_notification.patch
@@ -16,3 +12,4 @@
31_browse_hang.patch
32_pycups_traceback.patch
33_dont_strip_Printer.patch
+0001-Adjust-python-paths.patch
More information about the pkg-gnome-commits
mailing list