[arch-commits] Commit in sk1/repos (8 files)

Sergej Pupykin spupykin at archlinux.org
Tue Feb 24 10:21:24 UTC 2015


    Date: Tuesday, February 24, 2015 @ 11:21:24
  Author: spupykin
Revision: 128174

archrelease: copy trunk to community-i686, community-x86_64

Added:
  sk1/repos/community-i686/PKGBUILD
    (from rev 128173, sk1/trunk/PKGBUILD)
  sk1/repos/community-i686/python2-fix.patch
    (from rev 128173, sk1/trunk/python2-fix.patch)
  sk1/repos/community-x86_64/PKGBUILD
    (from rev 128173, sk1/trunk/PKGBUILD)
  sk1/repos/community-x86_64/python2-fix.patch
    (from rev 128173, sk1/trunk/python2-fix.patch)
Deleted:
  sk1/repos/community-i686/PKGBUILD
  sk1/repos/community-i686/python2-fix.patch
  sk1/repos/community-x86_64/PKGBUILD
  sk1/repos/community-x86_64/python2-fix.patch

------------------------------------+
 /PKGBUILD                          |   66 ++++++++++++++++++++
 /python2-fix.patch                 |  114 +++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD            |   32 ---------
 community-i686/python2-fix.patch   |   57 -----------------
 community-x86_64/PKGBUILD          |   32 ---------
 community-x86_64/python2-fix.patch |   57 -----------------
 6 files changed, 180 insertions(+), 178 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-02-24 10:21:12 UTC (rev 128173)
+++ community-i686/PKGBUILD	2015-02-24 10:21:24 UTC (rev 128174)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: ConnorBehan <connor.behan at gmail.com>
-
-pkgname=sk1
-pkgver=0.9.3
-pkgrel=1
-pkgdesc="Fork of skencil with improved CMYK support"
-arch=(i686 x86_64)
-url="http://sk1project.org/modules.php?name=Products&product=sk1"
-depends=('tcl' 'tk' 'zenity'
-	 'python2-cairo' 'python2-lcms' 'python2-pillow')
-license=('GPL' 'LGPL')
-source=(http://downloads.sourceforge.net/project/sk1/sk1/sK1_v.$pkgver/sk1-$pkgver.tar.gz
-	python2-fix.patch)
-md5sums=('04cfbc5ffd4e25ae47a95b2e37cd8465'
-         'e560945a89c5445ce2f04960884a5f6b')
-
-prepare() {
-  cd $srcdir/sk1-${pkgver}
-  patch -p1 <$srcdir/python2-fix.patch
-}
-
-build() {
-  cd $srcdir/sk1-${pkgver}
-  python2 setup.py build
-}
-
-package() {
-  cd $srcdir/sk1-${pkgver}
-  python2 setup.py install --root=$pkgdir
-}

Copied: sk1/repos/community-i686/PKGBUILD (from rev 128173, sk1/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-02-24 10:21:24 UTC (rev 128174)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: ConnorBehan <connor.behan at gmail.com>
+
+pkgname=sk1
+pkgver=0.9.3
+pkgrel=2
+pkgdesc="Fork of skencil with improved CMYK support"
+arch=(i686 x86_64)
+url="http://sk1project.org/modules.php?name=Products&product=sk1"
+depends=('tcl' 'tk' 'zenity'
+	 'python2-cairo' 'python2-lcms' 'python2-pillow')
+provides=('sk1sdk' 'sk1libs')
+license=('GPL' 'LGPL')
+source=(http://downloads.sourceforge.net/project/sk1/sk1/sK1_v.$pkgver/sk1-$pkgver.tar.gz
+	python2-fix.patch)
+md5sums=('04cfbc5ffd4e25ae47a95b2e37cd8465'
+         'e560945a89c5445ce2f04960884a5f6b')
+
+prepare() {
+  cd $srcdir/sk1-${pkgver}
+  patch -p1 <$srcdir/python2-fix.patch
+}
+
+build() {
+  cd $srcdir/sk1-${pkgver}
+  python2 setup.py build
+}
+
+package() {
+  cd $srcdir/sk1-${pkgver}
+  python2 setup.py install --root=$pkgdir
+}

Deleted: community-i686/python2-fix.patch
===================================================================
--- community-i686/python2-fix.patch	2015-02-24 10:21:12 UTC (rev 128173)
+++ community-i686/python2-fix.patch	2015-02-24 10:21:24 UTC (rev 128174)
@@ -1,57 +0,0 @@
-diff -wbBur sk1-0.9.3/src/sk1/managers/dialogmanager.py sk1-0.9.3.my/src/sk1/managers/dialogmanager.py
---- sk1-0.9.3/src/sk1/managers/dialogmanager.py	2014-10-28 20:54:25.000000000 +0300
-+++ sk1-0.9.3.my/src/sk1/managers/dialogmanager.py	2015-02-20 19:13:54.588252445 +0300
-@@ -199,7 +199,7 @@
- 	tmpfile = NamedTemporaryFile()
- 	execline = ''
- 	if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
--	execline += 'python %s/gtk/open_file_dialog.py ' % (PATH,)
-+	execline += 'python2 %s/gtk/open_file_dialog.py ' % (PATH,)
- 	execline += ' caption="' + name + '" start_dir="' + initialdir + '"'
- 	execline += ' filetypes="' + filetypes + '" window-icon="' + icon + '"'
- 	os.system(execline + '>' + tmpfile.name)
-@@ -229,7 +229,7 @@
- 	execline = ''
- 	if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
- 	path = os.path.join(initialdir, initialfile)
--	execline += 'python %s/gtk/save_file_dialog.py ' % (PATH,)
-+	execline += 'python2 %s/gtk/save_file_dialog.py ' % (PATH,)
- 	execline += ' caption="' + name + '" path="' + path + '" '
- 	execline += ' filetypes="' + filetypes + '" window-icon="' + icon + '"'
- 	os.system(execline + '>' + tmpfile.name)
-diff -wbBur sk1-0.9.3/src/sk1/managers/docmanager.py sk1-0.9.3.my/src/sk1/managers/docmanager.py
---- sk1-0.9.3/src/sk1/managers/docmanager.py	2014-11-02 20:51:38.000000000 +0300
-+++ sk1-0.9.3.my/src/sk1/managers/docmanager.py	2015-02-20 19:13:59.778162450 +0300
-@@ -223,7 +223,7 @@
- 
- 		execline = ''
- 		if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
--		execline += 'python %s/gtk/print_dialog.py ' % (PATH,)
-+		execline += 'python2 %s/gtk/print_dialog.py ' % (PATH,)
- 		execline += ' filepath="' + pdffile.name + '"'
- 		execline += ' window-icon="' + icon + '"'
- 
-diff -wbBur sk1-0.9.3/src/sk1sdk/tkstyle/colors.py sk1-0.9.3.my/src/sk1sdk/tkstyle/colors.py
---- sk1-0.9.3/src/sk1sdk/tkstyle/colors.py	2014-09-03 20:42:00.000000000 +0400
-+++ sk1-0.9.3.my/src/sk1sdk/tkstyle/colors.py	2015-02-20 19:14:21.267789842 +0300
-@@ -146,7 +146,7 @@
- 			" style.bg[gtk.STATE_SELECTED].to_string(),"+ \
- 			" style.bg[gtk.STATE_INSENSITIVE].to_string();"
- 	
--		os.system('python -c "%s" >%s 2>/dev/null'%(command, tmpfile.name))	
-+		os.system('python2 -c "%s" >%s 2>/dev/null'%(command, tmpfile.name))	
- 
- 		for type in ["base","text","fg","bg"]:
- 			line=tmpfile.readline().strip().split()
-diff -wbBur sk1-0.9.3/src/sk1sdk/tkstyle/fonts.py sk1-0.9.3.my/src/sk1sdk/tkstyle/fonts.py
---- sk1-0.9.3/src/sk1sdk/tkstyle/fonts.py	2014-09-10 13:06:18.000000000 +0400
-+++ sk1-0.9.3.my/src/sk1sdk/tkstyle/fonts.py	2015-02-20 19:14:26.454366585 +0300
-@@ -50,7 +50,7 @@
- 
- 	tmpfile = NamedTemporaryFile()
- 	command = "import gtk;w = gtk.Window();w.realize();style=w.get_style(); print style.font_desc.to_string();"
--	os.system('python -c "%s" >%s 2>/dev/null' % (command, tmpfile.name))
-+	os.system('python2 -c "%s" >%s 2>/dev/null' % (command, tmpfile.name))
- 
- 	font = tmpfile.readline().strip()
- 

Copied: sk1/repos/community-i686/python2-fix.patch (from rev 128173, sk1/trunk/python2-fix.patch)
===================================================================
--- community-i686/python2-fix.patch	                        (rev 0)
+++ community-i686/python2-fix.patch	2015-02-24 10:21:24 UTC (rev 128174)
@@ -0,0 +1,57 @@
+diff -wbBur sk1-0.9.3/src/sk1/managers/dialogmanager.py sk1-0.9.3.my/src/sk1/managers/dialogmanager.py
+--- sk1-0.9.3/src/sk1/managers/dialogmanager.py	2014-10-28 20:54:25.000000000 +0300
++++ sk1-0.9.3.my/src/sk1/managers/dialogmanager.py	2015-02-20 19:13:54.588252445 +0300
+@@ -199,7 +199,7 @@
+ 	tmpfile = NamedTemporaryFile()
+ 	execline = ''
+ 	if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
+-	execline += 'python %s/gtk/open_file_dialog.py ' % (PATH,)
++	execline += 'python2 %s/gtk/open_file_dialog.py ' % (PATH,)
+ 	execline += ' caption="' + name + '" start_dir="' + initialdir + '"'
+ 	execline += ' filetypes="' + filetypes + '" window-icon="' + icon + '"'
+ 	os.system(execline + '>' + tmpfile.name)
+@@ -229,7 +229,7 @@
+ 	execline = ''
+ 	if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
+ 	path = os.path.join(initialdir, initialfile)
+-	execline += 'python %s/gtk/save_file_dialog.py ' % (PATH,)
++	execline += 'python2 %s/gtk/save_file_dialog.py ' % (PATH,)
+ 	execline += ' caption="' + name + '" path="' + path + '" '
+ 	execline += ' filetypes="' + filetypes + '" window-icon="' + icon + '"'
+ 	os.system(execline + '>' + tmpfile.name)
+diff -wbBur sk1-0.9.3/src/sk1/managers/docmanager.py sk1-0.9.3.my/src/sk1/managers/docmanager.py
+--- sk1-0.9.3/src/sk1/managers/docmanager.py	2014-11-02 20:51:38.000000000 +0300
++++ sk1-0.9.3.my/src/sk1/managers/docmanager.py	2015-02-20 19:13:59.778162450 +0300
+@@ -223,7 +223,7 @@
+ 
+ 		execline = ''
+ 		if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
+-		execline += 'python %s/gtk/print_dialog.py ' % (PATH,)
++		execline += 'python2 %s/gtk/print_dialog.py ' % (PATH,)
+ 		execline += ' filepath="' + pdffile.name + '"'
+ 		execline += ' window-icon="' + icon + '"'
+ 
+diff -wbBur sk1-0.9.3/src/sk1sdk/tkstyle/colors.py sk1-0.9.3.my/src/sk1sdk/tkstyle/colors.py
+--- sk1-0.9.3/src/sk1sdk/tkstyle/colors.py	2014-09-03 20:42:00.000000000 +0400
++++ sk1-0.9.3.my/src/sk1sdk/tkstyle/colors.py	2015-02-20 19:14:21.267789842 +0300
+@@ -146,7 +146,7 @@
+ 			" style.bg[gtk.STATE_SELECTED].to_string(),"+ \
+ 			" style.bg[gtk.STATE_INSENSITIVE].to_string();"
+ 	
+-		os.system('python -c "%s" >%s 2>/dev/null'%(command, tmpfile.name))	
++		os.system('python2 -c "%s" >%s 2>/dev/null'%(command, tmpfile.name))	
+ 
+ 		for type in ["base","text","fg","bg"]:
+ 			line=tmpfile.readline().strip().split()
+diff -wbBur sk1-0.9.3/src/sk1sdk/tkstyle/fonts.py sk1-0.9.3.my/src/sk1sdk/tkstyle/fonts.py
+--- sk1-0.9.3/src/sk1sdk/tkstyle/fonts.py	2014-09-10 13:06:18.000000000 +0400
++++ sk1-0.9.3.my/src/sk1sdk/tkstyle/fonts.py	2015-02-20 19:14:26.454366585 +0300
+@@ -50,7 +50,7 @@
+ 
+ 	tmpfile = NamedTemporaryFile()
+ 	command = "import gtk;w = gtk.Window();w.realize();style=w.get_style(); print style.font_desc.to_string();"
+-	os.system('python -c "%s" >%s 2>/dev/null' % (command, tmpfile.name))
++	os.system('python2 -c "%s" >%s 2>/dev/null' % (command, tmpfile.name))
+ 
+ 	font = tmpfile.readline().strip()
+ 

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-02-24 10:21:12 UTC (rev 128173)
+++ community-x86_64/PKGBUILD	2015-02-24 10:21:24 UTC (rev 128174)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: ConnorBehan <connor.behan at gmail.com>
-
-pkgname=sk1
-pkgver=0.9.3
-pkgrel=1
-pkgdesc="Fork of skencil with improved CMYK support"
-arch=(i686 x86_64)
-url="http://sk1project.org/modules.php?name=Products&product=sk1"
-depends=('tcl' 'tk' 'zenity'
-	 'python2-cairo' 'python2-lcms' 'python2-pillow')
-license=('GPL' 'LGPL')
-source=(http://downloads.sourceforge.net/project/sk1/sk1/sK1_v.$pkgver/sk1-$pkgver.tar.gz
-	python2-fix.patch)
-md5sums=('04cfbc5ffd4e25ae47a95b2e37cd8465'
-         'e560945a89c5445ce2f04960884a5f6b')
-
-prepare() {
-  cd $srcdir/sk1-${pkgver}
-  patch -p1 <$srcdir/python2-fix.patch
-}
-
-build() {
-  cd $srcdir/sk1-${pkgver}
-  python2 setup.py build
-}
-
-package() {
-  cd $srcdir/sk1-${pkgver}
-  python2 setup.py install --root=$pkgdir
-}

Copied: sk1/repos/community-x86_64/PKGBUILD (from rev 128173, sk1/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-02-24 10:21:24 UTC (rev 128174)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: ConnorBehan <connor.behan at gmail.com>
+
+pkgname=sk1
+pkgver=0.9.3
+pkgrel=2
+pkgdesc="Fork of skencil with improved CMYK support"
+arch=(i686 x86_64)
+url="http://sk1project.org/modules.php?name=Products&product=sk1"
+depends=('tcl' 'tk' 'zenity'
+	 'python2-cairo' 'python2-lcms' 'python2-pillow')
+provides=('sk1sdk' 'sk1libs')
+license=('GPL' 'LGPL')
+source=(http://downloads.sourceforge.net/project/sk1/sk1/sK1_v.$pkgver/sk1-$pkgver.tar.gz
+	python2-fix.patch)
+md5sums=('04cfbc5ffd4e25ae47a95b2e37cd8465'
+         'e560945a89c5445ce2f04960884a5f6b')
+
+prepare() {
+  cd $srcdir/sk1-${pkgver}
+  patch -p1 <$srcdir/python2-fix.patch
+}
+
+build() {
+  cd $srcdir/sk1-${pkgver}
+  python2 setup.py build
+}
+
+package() {
+  cd $srcdir/sk1-${pkgver}
+  python2 setup.py install --root=$pkgdir
+}

Deleted: community-x86_64/python2-fix.patch
===================================================================
--- community-x86_64/python2-fix.patch	2015-02-24 10:21:12 UTC (rev 128173)
+++ community-x86_64/python2-fix.patch	2015-02-24 10:21:24 UTC (rev 128174)
@@ -1,57 +0,0 @@
-diff -wbBur sk1-0.9.3/src/sk1/managers/dialogmanager.py sk1-0.9.3.my/src/sk1/managers/dialogmanager.py
---- sk1-0.9.3/src/sk1/managers/dialogmanager.py	2014-10-28 20:54:25.000000000 +0300
-+++ sk1-0.9.3.my/src/sk1/managers/dialogmanager.py	2015-02-20 19:13:54.588252445 +0300
-@@ -199,7 +199,7 @@
- 	tmpfile = NamedTemporaryFile()
- 	execline = ''
- 	if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
--	execline += 'python %s/gtk/open_file_dialog.py ' % (PATH,)
-+	execline += 'python2 %s/gtk/open_file_dialog.py ' % (PATH,)
- 	execline += ' caption="' + name + '" start_dir="' + initialdir + '"'
- 	execline += ' filetypes="' + filetypes + '" window-icon="' + icon + '"'
- 	os.system(execline + '>' + tmpfile.name)
-@@ -229,7 +229,7 @@
- 	execline = ''
- 	if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
- 	path = os.path.join(initialdir, initialfile)
--	execline += 'python %s/gtk/save_file_dialog.py ' % (PATH,)
-+	execline += 'python2 %s/gtk/save_file_dialog.py ' % (PATH,)
- 	execline += ' caption="' + name + '" path="' + path + '" '
- 	execline += ' filetypes="' + filetypes + '" window-icon="' + icon + '"'
- 	os.system(execline + '>' + tmpfile.name)
-diff -wbBur sk1-0.9.3/src/sk1/managers/docmanager.py sk1-0.9.3.my/src/sk1/managers/docmanager.py
---- sk1-0.9.3/src/sk1/managers/docmanager.py	2014-11-02 20:51:38.000000000 +0300
-+++ sk1-0.9.3.my/src/sk1/managers/docmanager.py	2015-02-20 19:13:59.778162450 +0300
-@@ -223,7 +223,7 @@
- 
- 		execline = ''
- 		if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
--		execline += 'python %s/gtk/print_dialog.py ' % (PATH,)
-+		execline += 'python2 %s/gtk/print_dialog.py ' % (PATH,)
- 		execline += ' filepath="' + pdffile.name + '"'
- 		execline += ' window-icon="' + icon + '"'
- 
-diff -wbBur sk1-0.9.3/src/sk1sdk/tkstyle/colors.py sk1-0.9.3.my/src/sk1sdk/tkstyle/colors.py
---- sk1-0.9.3/src/sk1sdk/tkstyle/colors.py	2014-09-03 20:42:00.000000000 +0400
-+++ sk1-0.9.3.my/src/sk1sdk/tkstyle/colors.py	2015-02-20 19:14:21.267789842 +0300
-@@ -146,7 +146,7 @@
- 			" style.bg[gtk.STATE_SELECTED].to_string(),"+ \
- 			" style.bg[gtk.STATE_INSENSITIVE].to_string();"
- 	
--		os.system('python -c "%s" >%s 2>/dev/null'%(command, tmpfile.name))	
-+		os.system('python2 -c "%s" >%s 2>/dev/null'%(command, tmpfile.name))	
- 
- 		for type in ["base","text","fg","bg"]:
- 			line=tmpfile.readline().strip().split()
-diff -wbBur sk1-0.9.3/src/sk1sdk/tkstyle/fonts.py sk1-0.9.3.my/src/sk1sdk/tkstyle/fonts.py
---- sk1-0.9.3/src/sk1sdk/tkstyle/fonts.py	2014-09-10 13:06:18.000000000 +0400
-+++ sk1-0.9.3.my/src/sk1sdk/tkstyle/fonts.py	2015-02-20 19:14:26.454366585 +0300
-@@ -50,7 +50,7 @@
- 
- 	tmpfile = NamedTemporaryFile()
- 	command = "import gtk;w = gtk.Window();w.realize();style=w.get_style(); print style.font_desc.to_string();"
--	os.system('python -c "%s" >%s 2>/dev/null' % (command, tmpfile.name))
-+	os.system('python2 -c "%s" >%s 2>/dev/null' % (command, tmpfile.name))
- 
- 	font = tmpfile.readline().strip()
- 

Copied: sk1/repos/community-x86_64/python2-fix.patch (from rev 128173, sk1/trunk/python2-fix.patch)
===================================================================
--- community-x86_64/python2-fix.patch	                        (rev 0)
+++ community-x86_64/python2-fix.patch	2015-02-24 10:21:24 UTC (rev 128174)
@@ -0,0 +1,57 @@
+diff -wbBur sk1-0.9.3/src/sk1/managers/dialogmanager.py sk1-0.9.3.my/src/sk1/managers/dialogmanager.py
+--- sk1-0.9.3/src/sk1/managers/dialogmanager.py	2014-10-28 20:54:25.000000000 +0300
++++ sk1-0.9.3.my/src/sk1/managers/dialogmanager.py	2015-02-20 19:13:54.588252445 +0300
+@@ -199,7 +199,7 @@
+ 	tmpfile = NamedTemporaryFile()
+ 	execline = ''
+ 	if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
+-	execline += 'python %s/gtk/open_file_dialog.py ' % (PATH,)
++	execline += 'python2 %s/gtk/open_file_dialog.py ' % (PATH,)
+ 	execline += ' caption="' + name + '" start_dir="' + initialdir + '"'
+ 	execline += ' filetypes="' + filetypes + '" window-icon="' + icon + '"'
+ 	os.system(execline + '>' + tmpfile.name)
+@@ -229,7 +229,7 @@
+ 	execline = ''
+ 	if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
+ 	path = os.path.join(initialdir, initialfile)
+-	execline += 'python %s/gtk/save_file_dialog.py ' % (PATH,)
++	execline += 'python2 %s/gtk/save_file_dialog.py ' % (PATH,)
+ 	execline += ' caption="' + name + '" path="' + path + '" '
+ 	execline += ' filetypes="' + filetypes + '" window-icon="' + icon + '"'
+ 	os.system(execline + '>' + tmpfile.name)
+diff -wbBur sk1-0.9.3/src/sk1/managers/docmanager.py sk1-0.9.3.my/src/sk1/managers/docmanager.py
+--- sk1-0.9.3/src/sk1/managers/docmanager.py	2014-11-02 20:51:38.000000000 +0300
++++ sk1-0.9.3.my/src/sk1/managers/docmanager.py	2015-02-20 19:13:59.778162450 +0300
+@@ -223,7 +223,7 @@
+ 
+ 		execline = ''
+ 		if sk1.LANG: execline += 'export LANG=' + sk1.LANG + ';'
+-		execline += 'python %s/gtk/print_dialog.py ' % (PATH,)
++		execline += 'python2 %s/gtk/print_dialog.py ' % (PATH,)
+ 		execline += ' filepath="' + pdffile.name + '"'
+ 		execline += ' window-icon="' + icon + '"'
+ 
+diff -wbBur sk1-0.9.3/src/sk1sdk/tkstyle/colors.py sk1-0.9.3.my/src/sk1sdk/tkstyle/colors.py
+--- sk1-0.9.3/src/sk1sdk/tkstyle/colors.py	2014-09-03 20:42:00.000000000 +0400
++++ sk1-0.9.3.my/src/sk1sdk/tkstyle/colors.py	2015-02-20 19:14:21.267789842 +0300
+@@ -146,7 +146,7 @@
+ 			" style.bg[gtk.STATE_SELECTED].to_string(),"+ \
+ 			" style.bg[gtk.STATE_INSENSITIVE].to_string();"
+ 	
+-		os.system('python -c "%s" >%s 2>/dev/null'%(command, tmpfile.name))	
++		os.system('python2 -c "%s" >%s 2>/dev/null'%(command, tmpfile.name))	
+ 
+ 		for type in ["base","text","fg","bg"]:
+ 			line=tmpfile.readline().strip().split()
+diff -wbBur sk1-0.9.3/src/sk1sdk/tkstyle/fonts.py sk1-0.9.3.my/src/sk1sdk/tkstyle/fonts.py
+--- sk1-0.9.3/src/sk1sdk/tkstyle/fonts.py	2014-09-10 13:06:18.000000000 +0400
++++ sk1-0.9.3.my/src/sk1sdk/tkstyle/fonts.py	2015-02-20 19:14:26.454366585 +0300
+@@ -50,7 +50,7 @@
+ 
+ 	tmpfile = NamedTemporaryFile()
+ 	command = "import gtk;w = gtk.Window();w.realize();style=w.get_style(); print style.font_desc.to_string();"
+-	os.system('python -c "%s" >%s 2>/dev/null' % (command, tmpfile.name))
++	os.system('python2 -c "%s" >%s 2>/dev/null' % (command, tmpfile.name))
+ 
+ 	font = tmpfile.readline().strip()
+ 



More information about the arch-commits mailing list