diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-24 03:30:57 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-24 03:30:57 +0000 |
commit | 431023a318e680258f02c1fb5fdca176c68e5cb7 (patch) | |
tree | cedbdd37d2a93310636cf71c781041a2b5ee68a3 /community/dispcalgui | |
parent | 0459e6459ee534bf22ab8a5381cd485e6035e9e2 (diff) |
Thu Apr 24 03:25:33 UTC 2014
Diffstat (limited to 'community/dispcalgui')
-rw-r--r-- | community/dispcalgui/PKGBUILD | 12 | ||||
-rw-r--r-- | community/dispcalgui/dispcalGUI-1.5.3.1-wxgtk3.patch | 16 |
2 files changed, 5 insertions, 23 deletions
diff --git a/community/dispcalgui/PKGBUILD b/community/dispcalgui/PKGBUILD index 575707a27..fbcda9c93 100644 --- a/community/dispcalgui/PKGBUILD +++ b/community/dispcalgui/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 105728 2014-02-14 14:41:06Z tredaelli $ +# $Id: PKGBUILD 110033 2014-04-23 13:36:22Z 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.7.5.7 +pkgver=2.0.0.0 pkgrel=1 pkgdesc="A GUI frontend for several utilities from the open source color management system Argyll CMS" arch=('i686' 'x86_64') @@ -14,14 +14,12 @@ 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" - dispcalGUI-1.5.3.1-wxgtk3.patch) -md5sums=('7a66051d244f1b734448a865b50fae01' - 'b8001e5cbbb849f9ba95e0ef9fb1d073') +source=("http://downloads.sourceforge.net/project/dispcalgui/release/${pkgver}/dispcalGUI-${pkgver}.tar.gz") +md5sums=('5740301fb4f7e72a57b4eab6a4ee405a') prepare() { cd "${srcdir}"/dispcalGUI-${pkgver} - patch -p1 -i "$srcdir"/dispcalGUI-1.5.3.1-wxgtk3.patch +# 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 deleted file mode 100644 index e5c556031..000000000 --- a/community/dispcalgui/dispcalGUI-1.5.3.1-wxgtk3.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- 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 |