[arch-commits] Commit in sk1/repos/community-x86_64 (3 files)
Sergej Pupykin
spupykin at archlinux.org
Mon Oct 24 13:19:47 UTC 2016
Date: Monday, October 24, 2016 @ 13:19:47
Author: spupykin
Revision: 193212
archrelease: copy trunk to community-x86_64
Added:
sk1/repos/community-x86_64/PKGBUILD
(from rev 193211, sk1/trunk/PKGBUILD)
Deleted:
sk1/repos/community-x86_64/PKGBUILD
sk1/repos/community-x86_64/python2-fix.patch
-------------------+
PKGBUILD | 60 +++++++++++++++++++++++-----------------------------
python2-fix.patch | 57 -------------------------------------------------
2 files changed, 27 insertions(+), 90 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-24 13:18:35 UTC (rev 193211)
+++ PKGBUILD 2016-10-24 13:19:47 UTC (rev 193212)
@@ -1,33 +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=3
-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')
-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 193211, sk1/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-24 13:19:47 UTC (rev 193212)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: ConnorBehan <connor.behan at gmail.com>
+
+pkgname=sk1
+pkgver=2.0rc2
+pkgrel=1
+pkgdesc="Fork of skencil with improved CMYK support"
+arch=(i686 x86_64)
+url="http://sk1project.net/"
+depends=('tcl' 'tk' 'zenity'
+ 'python2-cairo' 'python2-lcms' 'python2-pillow'
+ 'imagemagick' 'pygtk')
+provides=('sk1sdk')
+license=('GPL' 'LGPL')
+source=("$pkgname-$pkgver.tar.gz::http://sk1project.net/dc3.php?version=$pkgver&target=sk1-$pkgver.tar.gz")
+md5sums=('f4933f65a0be9b153bcbcb3390a50cc9')
+
+build() {
+ cd $srcdir/sk1-${pkgver}
+ python2 setup-sk1.py build
+}
+
+package() {
+ cd $srcdir/sk1-${pkgver}
+ python2 setup-sk1.py install --root=$pkgdir
+}
Deleted: python2-fix.patch
===================================================================
--- python2-fix.patch 2016-10-24 13:18:35 UTC (rev 193211)
+++ python2-fix.patch 2016-10-24 13:19:47 UTC (rev 193212)
@@ -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()
-
More information about the arch-commits
mailing list