Date: Wednesday, January 15, 2014 @ 19:42:24 Author: tredaelli Revision: 104104
upgpkg: dispcalgui 1.5.3.1-2 Fix FS#38523 Added: dispcalgui/trunk/dispcalGUI-1.5.3.1-wxgtk3.patch Modified: dispcalgui/trunk/PKGBUILD ---------------------------------+ PKGBUILD | 9 ++++++--- dispcalGUI-1.5.3.1-wxgtk3.patch | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-01-15 17:01:05 UTC (rev 104103) +++ PKGBUILD 2014-01-15 18:42:24 UTC (rev 104104) @@ -5,7 +5,7 @@ pkgname=dispcalgui pkgver=1.5.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="A GUI frontend for several utilities from the open source color management system Argyll CMS" arch=('i686' 'x86_64') url="http://hoech.net/dispcalGUI/" @@ -14,11 +14,14 @@ depends=('argyllcms' 'wxpython' 'hicolor-icon-theme' 'desktop-file-utils' 'python2-numpy') optdepends=('gksu: For running as root') install=${pkgname}.install -source=("http://downloads.sourceforge.net/project/dispcalgui/release/${pkgver}/dispcalGUI-${pkgver}.tar.gz") -md5sums=('1b7542ecee8f39a49b90197613a46a73') +source=("http://downloads.sourceforge.net/project/dispcalgui/release/${pkgver}/dispcalGUI-${pkgver}.tar.gz" + dispcalGUI-1.5.3.1-wxgtk3.patch) +md5sums=('1b7542ecee8f39a49b90197613a46a73' + 'b8001e5cbbb849f9ba95e0ef9fb1d073') prepare() { cd "${srcdir}"/dispcalGUI-${pkgver} + patch -p1 -i "$srcdir"/dispcalGUI-1.5.3.1-wxgtk3.patch find . -name "*.py" -exec sed -i 's!/usr/bin/env python!/usr/bin/env python2!g' {} + } Added: dispcalGUI-1.5.3.1-wxgtk3.patch =================================================================== --- dispcalGUI-1.5.3.1-wxgtk3.patch (rev 0) +++ dispcalGUI-1.5.3.1-wxgtk3.patch 2014-01-15 18:42:24 UTC (rev 104104) @@ -0,0 +1,16 @@ +--- a/dispcalGUI/dispcalGUI.py ++++ b/dispcalGUI/dispcalGUI.py +@@ -1544,9 +1544,10 @@ + for lstr, lcode in llist: + menuitem = languages.Append(-1, "&" + lstr, kind=wx.ITEM_RADIO) + if (lcode.upper().replace("EN", "US") in flagart.catalog): +- menuitem.SetBitmap( +- flagart.catalog[lcode.upper().replace("EN", +- "US")].getBitmap()) ++ bitmap = flagart.catalog[lcode.upper().replace("EN", ++ "US")].getBitmap() ++ if menuitem.GetKind() == wx.ITEM_NORMAL: ++ menuitem.SetBitmap(bitmap) + if lang.getcode() == lcode: + menuitem.Check() + font = menuitem.Font