[arch-commits] Commit in arandr/trunk (3 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Tue Mar 5 09:30:37 UTC 2013
Date: Tuesday, March 5, 2013 @ 10:30:37
Author: spupykin
Revision: 85701
clean up
Modified:
arandr/trunk/PKGBUILD
Deleted:
arandr/trunk/xrandr-format.patch
arandr/trunk/xrandr-version.patch
----------------------+
PKGBUILD | 10 ++--------
xrandr-format.patch | 12 ------------
xrandr-version.patch | 12 ------------
3 files changed, 2 insertions(+), 32 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-05 09:22:57 UTC (rev 85700)
+++ PKGBUILD 2013-03-05 09:30:37 UTC (rev 85701)
@@ -12,16 +12,10 @@
depends=('pygtk' 'xorg-xrandr')
makedepends=('docutils' 'setuptools')
install=$pkgname.install
-source=(http://christian.amsuess.com/tools/$pkgname/files/$pkgname-$pkgver.tar.gz
- xrandr-format.patch
- xrandr-version.patch)
-md5sums=('b99c596827558f50b25a3972455237e4'
- '67d22f82851253e594b83b63c83faef5'
- 'cc009b37fb28797d5841f89f6b4bc83b')
+source=(http://christian.amsuess.com/tools/$pkgname/files/$pkgname-$pkgver.tar.gz)
+md5sums=('b99c596827558f50b25a3972455237e4')
package() {
cd $srcdir/$pkgname-$pkgver
-# patch -p1 <$srcdir/xrandr-format.patch
-# patch -p1 <$srcdir/xrandr-version.patch
python2 setup.py install --prefix=/usr --root=$pkgdir
}
Deleted: xrandr-format.patch
===================================================================
--- xrandr-format.patch 2013-03-05 09:22:57 UTC (rev 85700)
+++ xrandr-format.patch 2013-03-05 09:30:37 UTC (rev 85701)
@@ -1,12 +0,0 @@
-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)
Deleted: xrandr-version.patch
===================================================================
--- xrandr-version.patch 2013-03-05 09:22:57 UTC (rev 85700)
+++ xrandr-version.patch 2013-03-05 09:30:37 UTC (rev 85701)
@@ -1,12 +0,0 @@
-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-25 14:44:07.330765106 +0400
-@@ -38,7 +38,7 @@
- self.environ['DISPLAY'] = display
-
- version_output = self._output("--version")
-- if not ("1.2" in version_output or "1.3" in version_output) and not force_version:
-+ if not ("1.2" in version_output or "1.3" in version_output or "1.4" in version_output) and not force_version:
- raise Exception("XRandR 1.2/1.3 required.")
-
- def _get_outputs(self):
More information about the arch-commits
mailing list