diff -u revelation-0.4.11/debian/changelog revelation-0.4.11/debian/changelog --- revelation-0.4.11/debian/changelog +++ revelation-0.4.11/debian/changelog @@ -1,3 +1,11 @@ +revelation (0.4.11-4ubuntu4) lucid; urgency=low + + * add 94_url_decoding.dpatch to fix LP: #96968 + - Patches io.py to unquote file url during the + normalisation process + + -- Bart Veldstra Sun, 03 Jan 2010 19:53:26 +1100 + revelation (0.4.11-4ubuntu3) karmic; urgency=low * add 93_python26_transition.dpatch to fix FTBFS (LP: #387231) diff -u revelation-0.4.11/debian/patches/00list revelation-0.4.11/debian/patches/00list --- revelation-0.4.11/debian/patches/00list +++ revelation-0.4.11/debian/patches/00list @@ -12,0 +13 @@ +94_url_decoding.dpatch only in patch2: unchanged: --- revelation-0.4.11.orig/debian/patches/94_url_decoding.dpatch +++ revelation-0.4.11/debian/patches/94_url_decoding.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 94_url_decoding.dpatch by Bart Veldstra +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Patches io.py to unquote file url during the normalisation process. + +@DPATCH@ +diff -urNad revelation-new~/src/lib/io.py revelation-new/src/lib/io.py +--- revelation-new~/src/lib/io.py 2010-01-03 19:29:44.000000000 +1100 ++++ revelation-new/src/lib/io.py 2010-01-03 19:51:45.000000000 +1100 +@@ -25,7 +25,7 @@ + + import datahandler + +-import gnomevfs, gobject, os.path, re ++import gnomevfs, gobject, os.path, re, urllib + + + +@@ -204,6 +204,7 @@ + return "" + + file = re.sub("^file:/{,2}", "", file) ++ file = urllib.unquote(file) + file = os.path.expanduser(file) + + if not re.match("^[a-zA-Z]+://", file) and file[0] != "/":