r17426 - in /desktop/unstable/epiphany-browser/debian: changelog patches/08_python_path.patch patches/series

joss at users.alioth.debian.org joss at users.alioth.debian.org
Mon Nov 10 14:30:05 UTC 2008


Author: joss
Date: Mon Nov 10 14:30:04 2008
New Revision: 17426

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=17426
Log:
08_python_path.patch: new patch by James Vega. Disable relative 
imports in the python code. Closes: #504363.

Added:
    desktop/unstable/epiphany-browser/debian/patches/08_python_path.patch
Modified:
    desktop/unstable/epiphany-browser/debian/changelog
    desktop/unstable/epiphany-browser/debian/patches/series

Modified: desktop/unstable/epiphany-browser/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/epiphany-browser/debian/changelog?rev=17426&op=diff
==============================================================================
--- desktop/unstable/epiphany-browser/debian/changelog (original)
+++ desktop/unstable/epiphany-browser/debian/changelog Mon Nov 10 14:30:04 2008
@@ -1,4 +1,4 @@
-epiphany-browser (2.22.3-7) UNRELEASED; urgency=low
+epiphany-browser (2.22.3-7) unstable; urgency=low
 
   [ Josselin Mouette ]
   * certManager.js: fix JS variable declaration.
@@ -6,7 +6,11 @@
   [ Emilio Pozuelo Monfort ]
   * debian/control.in: move Homepage field to the source stanza.
 
- -- Josselin Mouette <joss at debian.org>  Tue, 28 Oct 2008 12:56:50 +0100
+  [ Josselin Mouette ]
+  * 08_python_path.patch: new patch by James Vega. Disable relative 
+    imports in the python code. Closes: #504363.
+
+ -- Josselin Mouette <joss at debian.org>  Mon, 10 Nov 2008 15:29:28 +0100
 
 epiphany-browser (2.22.3-6) unstable; urgency=low
 

Added: desktop/unstable/epiphany-browser/debian/patches/08_python_path.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/epiphany-browser/debian/patches/08_python_path.patch?rev=17426&op=file
==============================================================================
--- desktop/unstable/epiphany-browser/debian/patches/08_python_path.patch (added)
+++ desktop/unstable/epiphany-browser/debian/patches/08_python_path.patch Mon Nov 10 14:30:04 2008
@@ -1,0 +1,13 @@
+Index: epiphany-2.22.3/src/ephy-python.c
+===================================================================
+--- epiphany-2.22.3.orig/src/ephy-python.c	2008-11-10 15:23:49.875333317 +0100
++++ epiphany-2.22.3/src/ephy-python.c	2008-11-10 15:23:57.279326702 +0100
+@@ -51,6 +51,8 @@ ephy_python_init (void)
+ 
+ 	argv[0] = g_get_prgname ();
+ 	PySys_SetArgv (1, argv);
++	/* Sanitize sys.path */
++	PyRun_SimpleString("import sys; sys.path = filter(None, sys.path)");
+ 
+ 	init_pygobject ();
+ 	init_pygtk ();

Modified: desktop/unstable/epiphany-browser/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/epiphany-browser/debian/patches/series?rev=17426&op=diff
==============================================================================
--- desktop/unstable/epiphany-browser/debian/patches/series (original)
+++ desktop/unstable/epiphany-browser/debian/patches/series Mon Nov 10 14:30:04 2008
@@ -7,6 +7,7 @@
 06_ssl_weak_ciphers.patch
 07_bookmarks.patch
 #08_load_on_new_tab.patch
+08_python_path.patch
 09_download_dialog.patch
 10_url_double-click.patch
 11_useragent-weasel.patch




More information about the pkg-gnome-commits mailing list