[arch-commits] Commit in sonata/trunk (PKGBUILD sonata-cyr-input-fix.diff)

Angel Velásquez angvp at archlinux.org
Thu Mar 3 04:36:07 UTC 2011


    Date: Wednesday, March 2, 2011 @ 23:36:06
  Author: angvp
Revision: 112009

upgpkg: sonata 1.6.2.1-4
Fixing FS#23023

Modified:
  sonata/trunk/PKGBUILD
  sonata/trunk/sonata-cyr-input-fix.diff

---------------------------+
 PKGBUILD                  |    4 ++--
 sonata-cyr-input-fix.diff |   14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-03-02 23:56:34 UTC (rev 112008)
+++ PKGBUILD	2011-03-03 04:36:06 UTC (rev 112009)
@@ -4,7 +4,7 @@
 
 pkgname=sonata
 pkgver=1.6.2.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Elegant GTK+ music client for MPD"
 arch=('i686' 'x86_64')
 url="http://sonata.berlios.de/"
@@ -17,7 +17,7 @@
 source=(http://download.berlios.de/${pkgname}/${pkgname}-$pkgver.tar.gz
         sonata-cyr-input-fix.diff)
 md5sums=('0b912325e7175abad3bf6c0edc071e05'
-         'f98eba5dd7535307a89e141dc468c478')
+         '7f6a96d41f41879f1c6aa6c40859d797')
 
 build() {
   cd "$srcdir/${pkgname}-$pkgver"

Modified: sonata-cyr-input-fix.diff
===================================================================
--- sonata-cyr-input-fix.diff	2011-03-02 23:56:34 UTC (rev 112008)
+++ sonata-cyr-input-fix.diff	2011-03-03 04:36:06 UTC (rev 112009)
@@ -1,5 +1,5 @@
 diff --git a/sonata/misc.py b/sonata/misc.py
-index c5e2dcf..f3e7b82 100644
+index c5e2dcf..42aaabd 100644
 --- a/sonata/misc.py
 +++ b/sonata/misc.py
 @@ -222,7 +222,12 @@ def setlocale():
@@ -7,12 +7,12 @@
  		# XXX this makes python-mpd correctly return lowercase
  		# keys for, e.g., playlistinfo() with a turkish locale:
 -		locale.setlocale(locale.LC_CTYPE, "C")
-+        # (and breaks playlist search with russian),
-+        # so, added check for turkish here.
-+        turkish = ('tr_TR',)
-+        locale, encoding = locale.getlocale()
-+        if locale in turkish:
-+            locale.setlocale(locale.LC_CTYPE, "C")
++		# (and breaks playlist search with russian),
++		# so, added check for turkish here.
++		turkish = ('tr_TR',)
++		loc, encoding = locale.getlocale()
++		if loc in turkish:
++			locale.setlocale(locale.LC_CTYPE, "C")
  	except:
  		print "Failed to set locale"
  		sys.exit(1)




More information about the arch-commits mailing list