rev 9079 - in trunk/packages/kdeutils/debian: . patches

Ana Beatriz Guerrero López ana at alioth.debian.org
Mon Jan 21 13:38:15 UTC 2008


Author: ana
Date: 2008-01-21 13:38:15 +0000 (Mon, 21 Jan 2008)
New Revision: 9079

Added:
   trunk/packages/kdeutils/debian/patches/18_remove_temporal_file_kgpg.diff
Modified:
   trunk/packages/kdeutils/debian/changelog
Log:
  * Add patch 18_remove_temporal_file_kgpg.diff to remove temporal tarball
    files.



Modified: trunk/packages/kdeutils/debian/changelog
===================================================================
--- trunk/packages/kdeutils/debian/changelog	2008-01-21 13:24:32 UTC (rev 9078)
+++ trunk/packages/kdeutils/debian/changelog	2008-01-21 13:38:15 UTC (rev 9079)
@@ -1,4 +1,4 @@
-kdeutils (4:3.5.8-2) UNRELEASED; urgency=low
+kdeutils (4:3.5.8-2) unstable; urgency=low
 
   * Update to debhelper 6.
   * Update to Standards-Version 3.7.3:
@@ -7,6 +7,8 @@
   * debian/copyright file: GFDL text removed and replaced by a
     link to common-licenses.
   * Update section in menu files.
+  * Add patch 18_remove_temporal_file_kgpg.diff to remove temporal tarball
+    files.
 
  -- Ana Beatriz Guerrero Lopez <ana at debian.org>  Mon, 21 Jan 2008 00:30:48 +0100
 

Added: trunk/packages/kdeutils/debian/patches/18_remove_temporal_file_kgpg.diff
===================================================================
--- trunk/packages/kdeutils/debian/patches/18_remove_temporal_file_kgpg.diff	                        (rev 0)
+++ trunk/packages/kdeutils/debian/patches/18_remove_temporal_file_kgpg.diff	2008-01-21 13:38:15 UTC (rev 9079)
@@ -0,0 +1,21 @@
+Index: kdeutils-3.5.8/kgpg/kgpg.cpp
+===================================================================
+--- kdeutils-3.5.8.orig/kgpg/kgpg.cpp	2008-01-21 01:51:41.000000000 +0100
++++ kdeutils-3.5.8/kgpg/kgpg.cpp	2008-01-21 02:31:51.000000000 +0100
+@@ -221,12 +221,14 @@
+ 	else
+ 	arch=new KTar(kgpgfoldertmp->name(), "application/x-bzip2");
+ 
+-		if (!arch->open( IO_WriteOnly )) {
++	if (!arch->open( IO_WriteOnly )) {
+                 KMessageBox::sorry(0,i18n("Unable to create temporary file"));
++		delete arch;
+                 return;
+-        	}
++    	}
+         arch->addLocalDirectory (droppedUrls.first().path(),droppedUrls.first().fileName());
+         arch->close();
++	delete arch;
+ 
+         KgpgInterface *folderprocess=new KgpgInterface();
+         folderprocess->KgpgEncryptFile(selec,KURL(kgpgfoldertmp->name()),encryptedFile,encryptOptions,symetric);




More information about the pkg-kde-commits mailing list