[arch-commits] Commit in sk1/repos (6 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Feb 20 16:33:00 UTC 2015
Date: Friday, February 20, 2015 @ 17:33:00
Author: spupykin
Revision: 128036
archrelease: copy trunk to community-i686, community-x86_64
Added:
sk1/repos/community-i686/PKGBUILD
(from rev 128035, sk1/trunk/PKGBUILD)
sk1/repos/community-i686/python2-fix.patch
(from rev 128035, sk1/trunk/python2-fix.patch)
sk1/repos/community-x86_64/PKGBUILD
(from rev 128035, sk1/trunk/PKGBUILD)
sk1/repos/community-x86_64/python2-fix.patch
(from rev 128035, sk1/trunk/python2-fix.patch)
Deleted:
sk1/repos/community-i686/PKGBUILD
sk1/repos/community-x86_64/PKGBUILD
------------------------------------+
/PKGBUILD | 64 +++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 25 -------------
community-i686/python2-fix.patch | 57 +++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 25 -------------
community-x86_64/python2-fix.patch | 57 +++++++++++++++++++++++++++++++
5 files changed, 178 insertions(+), 50 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-02-20 16:32:47 UTC (rev 128035)
+++ community-i686/PKGBUILD 2015-02-20 16:33:00 UTC (rev 128036)
@@ -1,25 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: ConnorBehan <connor.behan at gmail.com>
-
-pkgname=sk1
-pkgver=0.9.2
-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' 'sk1libs' 'sk1sdk'
- 'python2-cairo' 'python2-lcms' 'python2-pillow')
-license=('GPL' 'LGPL')
-source=(http://downloads.sourceforge.net/project/sk1/sk1/sK1_v.$pkgver/sk1-$pkgver.tar.gz)
-md5sums=('60d505332b99c569204249e0b3b434c4')
-
-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 128035, sk1/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-02-20 16:33:00 UTC (rev 128036)
@@ -0,0 +1,32 @@
+# $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/python2-fix.patch (from rev 128035, sk1/trunk/python2-fix.patch)
===================================================================
--- community-i686/python2-fix.patch (rev 0)
+++ community-i686/python2-fix.patch 2015-02-20 16:33:00 UTC (rev 128036)
@@ -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-20 16:32:47 UTC (rev 128035)
+++ community-x86_64/PKGBUILD 2015-02-20 16:33:00 UTC (rev 128036)
@@ -1,25 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: ConnorBehan <connor.behan at gmail.com>
-
-pkgname=sk1
-pkgver=0.9.2
-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' 'sk1libs' 'sk1sdk'
- 'python2-cairo' 'python2-lcms' 'python2-pillow')
-license=('GPL' 'LGPL')
-source=(http://downloads.sourceforge.net/project/sk1/sk1/sK1_v.$pkgver/sk1-$pkgver.tar.gz)
-md5sums=('60d505332b99c569204249e0b3b434c4')
-
-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 128035, sk1/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-02-20 16:33:00 UTC (rev 128036)
@@ -0,0 +1,32 @@
+# $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/python2-fix.patch (from rev 128035, sk1/trunk/python2-fix.patch)
===================================================================
--- community-x86_64/python2-fix.patch (rev 0)
+++ community-x86_64/python2-fix.patch 2015-02-20 16:33:00 UTC (rev 128036)
@@ -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