diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-16 03:37:59 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-16 03:37:59 +0000 |
commit | b296a78e1469d58c52acc47586bd5bb84f25fc0f (patch) | |
tree | a7bd50ca00f66f43ab58a4e79740737a82cf6991 /community/dispcalgui | |
parent | 154321f7346db5c32dbdf9c730735969eabbd88f (diff) |
Thu Jan 16 03:32:12 UTC 2014
Diffstat (limited to 'community/dispcalgui')
-rw-r--r-- | community/dispcalgui/PKGBUILD | 11 | ||||
-rw-r--r-- | community/dispcalgui/dispcalGUI-1.5.3.1-wxgtk3.patch | 16 |
2 files changed, 23 insertions, 4 deletions
diff --git a/community/dispcalgui/PKGBUILD b/community/dispcalgui/PKGBUILD index 9d745438d..f218a3dbc 100644 --- a/community/dispcalgui/PKGBUILD +++ b/community/dispcalgui/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 99412 2013-10-28 11:55:41Z tredaelli $ +# $Id: PKGBUILD 104105 2014-01-15 18:42:36Z tredaelli $ # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> # Contributor: Cedric Girard <girard.cedric@gmail.com> # Contributor: foxbunny <bg.branko@gmail.com> 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 @@ makedepends=('libx11' 'libxrandr' 'libxinerama' 'libxxf86vm' 'python2-setuptools 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' {} + } diff --git a/community/dispcalgui/dispcalGUI-1.5.3.1-wxgtk3.patch b/community/dispcalgui/dispcalGUI-1.5.3.1-wxgtk3.patch new file mode 100644 index 000000000..e5c556031 --- /dev/null +++ b/community/dispcalgui/dispcalGUI-1.5.3.1-wxgtk3.patch @@ -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 |