rev 8967 - in trunk/packages/kdegraphics/debian: . patches

Fathi Boudra fabo at alioth.debian.org
Tue Jan 15 15:48:52 UTC 2008


Author: fabo
Date: 2008-01-15 15:48:52 +0000 (Tue, 15 Jan 2008)
New Revision: 8967

Added:
   trunk/packages/kdegraphics/debian/patches/02_kpdf_branch_r761840.diff
Modified:
   trunk/packages/kdegraphics/debian/changelog
Log:
* Add 02_kpdf_branch_r761840 patch (Closes: #353958):
  - Use the local file path, so remote URLs are not downloaded again.


Modified: trunk/packages/kdegraphics/debian/changelog
===================================================================
--- trunk/packages/kdegraphics/debian/changelog	2008-01-15 14:35:33 UTC (rev 8966)
+++ trunk/packages/kdegraphics/debian/changelog	2008-01-15 15:48:52 UTC (rev 8967)
@@ -10,6 +10,8 @@
 
   * Make kghostview depends on ghostscript-x instead of gs transitional
     package. (Closes: #452996)
+  * Add 02_kpdf_branch_r761840 patch (Closes: #353958):
+    - Use the local file path, so remote URLs are not downloaded again.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sun, 30 Dec 2007 22:16:18 +0100
 

Added: trunk/packages/kdegraphics/debian/patches/02_kpdf_branch_r761840.diff
===================================================================
--- trunk/packages/kdegraphics/debian/patches/02_kpdf_branch_r761840.diff	                        (rev 0)
+++ trunk/packages/kdegraphics/debian/patches/02_kpdf_branch_r761840.diff	2008-01-15 15:48:52 UTC (rev 8967)
@@ -0,0 +1,12 @@
+diff -Nur kdegraphics-3.5.8/kpdf/part.cpp kdegraphics-3.5.8.new/kpdf/part.cpp
+--- kdegraphics-3.5.8/kpdf/part.cpp	2007-10-08 11:48:38.000000000 +0200
++++ kdegraphics-3.5.8.new/kpdf/part.cpp	2008-01-15 16:45:16.000000000 +0100
+@@ -815,7 +815,7 @@
+                 return;
+         }
+ 
+-        if ( !KIO::NetAccess::file_copy( url(), saveURL, -1, true ) )
++        if ( !KIO::NetAccess::file_copy( m_file, saveURL, -1, true ) )
+             KMessageBox::information( 0, i18n("File could not be saved in '%1'. Try to save it to another location.").arg( saveURL.prettyURL() ) );
+     }
+ }




More information about the pkg-kde-commits mailing list