Date: Tuesday, February 12, 2013 @ 10:28:14 Author: spupykin Revision: 84153
Added: arandr/trunk/xrandr-format.patch Modified: arandr/trunk/PKGBUILD gmic/trunk/PKGBUILD ----------------------------------+ arandr/trunk/PKGBUILD | 9 ++++++--- arandr/trunk/xrandr-format.patch | 12 ++++++++++++ gmic/trunk/PKGBUILD | 4 ++-- 3 files changed, 20 insertions(+), 5 deletions(-) Modified: arandr/trunk/PKGBUILD =================================================================== --- arandr/trunk/PKGBUILD 2013-02-12 09:10:47 UTC (rev 84152) +++ arandr/trunk/PKGBUILD 2013-02-12 09:28:14 UTC (rev 84153) @@ -4,7 +4,7 @@ pkgname=arandr pkgver=0.1.6 -pkgrel=1 +pkgrel=2 pkgdesc="Provide a simple visual front end for XRandR 1.2." arch=('any') url="http://christian.amsuess.com/tools/arandr/" @@ -12,10 +12,13 @@ depends=('pygtk' 'xorg-xrandr') makedepends=('docutils' 'setuptools') install=$pkgname.install -source=(http://christian.amsuess.com/tools/$pkgname/files/$pkgname-$pkgver.tar.gz) -md5sums=('38a31e71934c6d11cdf2425c7405f07e') +source=(http://christian.amsuess.com/tools/$pkgname/files/$pkgname-$pkgver.tar.gz + xrandr-format.patch) +md5sums=('38a31e71934c6d11cdf2425c7405f07e' + '67d22f82851253e594b83b63c83faef5') package() { cd $srcdir/$pkgname-$pkgver + patch -p1 <$srcdir/xrandr-format.patch python2 setup.py install --prefix=/usr --root=$pkgdir } Added: arandr/trunk/xrandr-format.patch =================================================================== --- arandr/trunk/xrandr-format.patch (rev 0) +++ arandr/trunk/xrandr-format.patch 2013-02-12 09:28:14 UTC (rev 84153) @@ -0,0 +1,12 @@ +diff -wbBur arandr-0.1.6/screenlayout/xrandr.py arandr-0.1.6.my/screenlayout/xrandr.py +--- arandr-0.1.6/screenlayout/xrandr.py 2012-06-02 17:55:36.000000000 +0400 ++++ arandr-0.1.6.my/screenlayout/xrandr.py 2013-02-12 13:06:49.612013203 +0400 +@@ -147,7 +147,7 @@ + o.rotations.add(r) + + for d in details: +- o.modes.append(Size(int(a) for a in d.strip().split(" ")[0].split("x"))) ++ o.modes.append(Size(int(a.replace("i", "")) for a in d.strip().split(" ")[0].split("_")[0].split("x"))) + + self.state.outputs[o.name] = o + self.configuration.outputs[o.name] = self.configuration.OutputConfiguration(active, geometry, rotation) Modified: gmic/trunk/PKGBUILD =================================================================== --- gmic/trunk/PKGBUILD 2013-02-12 09:10:47 UTC (rev 84152) +++ gmic/trunk/PKGBUILD 2013-02-12 09:28:14 UTC (rev 84153) @@ -6,7 +6,7 @@ pkgbase=gmic pkgname=("gmic" "gimp-plugin-gmic" "zart") -pkgver=1.5.3.0 +pkgver=1.5.4.0 pkgrel=1 arch=("i686" "x86_64") url="http://gmic.sourceforge.net" @@ -15,7 +15,7 @@ #options=('!emptydirs') source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_${pkgver}.tar.gz" "opencv-buildfix.patch") -md5sums=('2b3c385d727556d201767d338d97946f' +md5sums=('a686719a663b856d4a8b1611d2c90df5' '120319b0d6c81c5af186abe2281b79ca') build() {