[arch-commits] Commit in mirage/trunk (PKGBUILD fix_saving.patch)

Ionut Biru ibiru at archlinux.org
Sun Jul 4 16:18:07 UTC 2010


    Date: Sunday, July 4, 2010 @ 12:18:06
  Author: ibiru
Revision: 84812

upgpkg: mirage 0.9.4-2
backport fix from svn to fix saving files

Added:
  mirage/trunk/fix_saving.patch
Modified:
  mirage/trunk/PKGBUILD

------------------+
 PKGBUILD         |    9 ++++++---
 fix_saving.patch |   13 +++++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-04 16:09:20 UTC (rev 84811)
+++ PKGBUILD	2010-07-04 16:18:06 UTC (rev 84812)
@@ -4,17 +4,20 @@
 # Contributor: Scott Horowitz <stonecrest at gmail.com>
 pkgname=mirage
 pkgver=0.9.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A simple GTK+ Image Viewer"
 url="http://mirageiv.berlios.de"
 license=("GPL")
 depends=('pygtk>=2.17.0' 'desktop-file-utils')
 arch=('i686' 'x86_64')
-source=(http://download.berlios.de/mirageiv/${pkgname}-${pkgver}.tar.gz)
+source=(http://download.berlios.de/mirageiv/${pkgname}-${pkgver}.tar.gz
+        fix_saving.patch)
 install=$pkgname.install
-md5sums=('70e9ffeeff980952694e2d3419c080fb')
+md5sums=('70e9ffeeff980952694e2d3419c080fb'
+         'a4ecb07ca331ac91a1d1c3a992d2ac9d')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p0 -i $srcdir/fix_saving.patch
   python setup.py install --root="${pkgdir}"
 }

Added: fix_saving.patch
===================================================================
--- fix_saving.patch	                        (rev 0)
+++ fix_saving.patch	2010-07-04 16:18:06 UTC (rev 84812)
@@ -0,0 +1,13 @@
+Index: mirage.py
+===================================================================
+--- mirage.py	(revision 272)
++++ mirage.py	(revision 273)
+@@ -1666,7 +1666,7 @@
+ 			if filetype == None:
+ 				filetype = gtk.gdk.pixbuf_get_file_info(self.currimg_name)[0]['name']
+ 			if self.filetype_is_writable(filetype):
+-				self.currimg_pixbuf_original.save(dest_name, filetype, {'quality': self.save_quality})
++				self.currimg_pixbuf_original.save(dest_name, filetype, {'quality': str(self.quality_save)})
+ 				self.currimg_name = dest_name
+ 				self.image_list[self.curr_img_in_list] = dest_name
+ 				self.update_title()




More information about the arch-commits mailing list