[arch-commits] Commit in kdesdk-lokalize/repos (12 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Tue Sep 10 13:41:02 UTC 2013
Date: Tuesday, September 10, 2013 @ 15:41:02
Author: andrea
Revision: 194176
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
kdesdk-lokalize/repos/extra-i686/PKGBUILD
(from rev 194175, kdesdk-lokalize/trunk/PKGBUILD)
kdesdk-lokalize/repos/extra-i686/fix-python2-path.patch
(from rev 194175, kdesdk-lokalize/trunk/fix-python2-path.patch)
kdesdk-lokalize/repos/extra-i686/kdesdk-lokalize.install
(from rev 194175, kdesdk-lokalize/trunk/kdesdk-lokalize.install)
kdesdk-lokalize/repos/extra-x86_64/PKGBUILD
(from rev 194175, kdesdk-lokalize/trunk/PKGBUILD)
kdesdk-lokalize/repos/extra-x86_64/fix-python2-path.patch
(from rev 194175, kdesdk-lokalize/trunk/fix-python2-path.patch)
kdesdk-lokalize/repos/extra-x86_64/kdesdk-lokalize.install
(from rev 194175, kdesdk-lokalize/trunk/kdesdk-lokalize.install)
Deleted:
kdesdk-lokalize/repos/extra-i686/PKGBUILD
kdesdk-lokalize/repos/extra-i686/fix-python2-path.patch
kdesdk-lokalize/repos/extra-i686/kdesdk-lokalize.install
kdesdk-lokalize/repos/extra-x86_64/PKGBUILD
kdesdk-lokalize/repos/extra-x86_64/fix-python2-path.patch
kdesdk-lokalize/repos/extra-x86_64/kdesdk-lokalize.install
--------------------------------------+
/PKGBUILD | 86 +++++++++++++++++++++++++++++++++
/fix-python2-path.patch | 44 ++++++++++++++++
/kdesdk-lokalize.install | 24 +++++++++
extra-i686/PKGBUILD | 43 ----------------
extra-i686/fix-python2-path.patch | 22 --------
extra-i686/kdesdk-lokalize.install | 12 ----
extra-x86_64/PKGBUILD | 43 ----------------
extra-x86_64/fix-python2-path.patch | 22 --------
extra-x86_64/kdesdk-lokalize.install | 12 ----
9 files changed, 154 insertions(+), 154 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2013-09-10 13:40:53 UTC (rev 194175)
+++ extra-i686/PKGBUILD 2013-09-10 13:41:02 UTC (rev 194176)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kdesdk-lokalize
-pkgver=4.11.0
-pkgrel=1
-pkgdesc='Computer-Aided Translation System'
-url='http://kde.org/applications/development/lokalize/'
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde' 'kdesdk')
-depends=('kdebase-runtime' 'kdebindings-python2' 'kdesdk-strigi-analyzers')
-makedepends=('cmake' 'automoc4')
-optdepends=('translate-toolkit: enable extra python script')
-install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/lokalize-${pkgver}.tar.xz"
- 'fix-python2-path.patch')
-sha1sums=('b0e606806db9188c95e49d139ba58d417232d3a3'
- '07db42bbcae402c292eebf002e549b04162621c5')
-
-prepare() {
- cd lokalize-${pkgver}
- patch -p2 -i "${srcdir}"/fix-python2-path.patch
-}
-
-build() {
- mkdir build
- cd build
- cmake ../lokalize-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DKDE4_BUILD_TESTS=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd build
- make DESTDIR=$pkgdir install
-
- # Fix python 2 path
- sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
- "${pkgdir}"/usr/share/apps/lokalize/scripts/odf/xliffmerge.py
-}
Copied: kdesdk-lokalize/repos/extra-i686/PKGBUILD (from rev 194175, kdesdk-lokalize/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2013-09-10 13:41:02 UTC (rev 194176)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-lokalize
+pkgver=4.11.1
+pkgrel=1
+pkgdesc='Computer-Aided Translation System'
+url='http://kde.org/applications/development/lokalize/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('kdebase-runtime' 'kdebindings-python2' 'kdesdk-strigi-analyzers')
+makedepends=('cmake' 'automoc4')
+optdepends=('translate-toolkit: enable extra python script')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/lokalize-${pkgver}.tar.xz"
+ 'fix-python2-path.patch')
+sha1sums=('0af9576c292bade1202d051afb52c01dd5e0ddb9'
+ '07db42bbcae402c292eebf002e549b04162621c5')
+
+prepare() {
+ cd lokalize-${pkgver}
+ patch -p2 -i "${srcdir}"/fix-python2-path.patch
+}
+
+build() {
+ mkdir build
+ cd build
+ cmake ../lokalize-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR=$pkgdir install
+
+ # Fix python 2 path
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/share/apps/lokalize/scripts/odf/xliffmerge.py
+}
Deleted: extra-i686/fix-python2-path.patch
===================================================================
--- extra-i686/fix-python2-path.patch 2013-09-10 13:40:53 UTC (rev 194175)
+++ extra-i686/fix-python2-path.patch 2013-09-10 13:41:02 UTC (rev 194176)
@@ -1,22 +0,0 @@
---- kdesdk-4.5.80/lokalize/scripts/msgmerge.py~ 2010-11-24 11:22:42.120000002 +0100
-+++ kdesdk-4.5.80/lokalize/scripts/msgmerge.py 2010-11-24 11:22:42.146666670 +0100
-@@ -114,7 +114,7 @@
- print >>sys.stderr, "Execution failed:", e
-
- cmd='%s/odf/xliffmerge.py -i %s -t %s -o %s' % (ourPath,xliffpathname,xlifftemplatepathname,xliffpathname)
-- if os.name!='nt': cmd='python '+cmd
-+ if os.name!='nt': cmd='python2 '+cmd
- else: cmd=cmd.replace('/','\\')
- os.system(cmd)
-
---- kdesdk-4.5.80/lokalize/scripts/xliff2odf.py~ 2010-11-24 11:24:10.853333336 +0100
-+++ kdesdk-4.5.80/lokalize/scripts/xliff2odf.py 2010-11-24 11:24:10.883333336 +0100
-@@ -42,7 +42,7 @@
- xliff2odf.convertxliff(xliffinput, translatedodfpathname, odf)
-
- ourpath=([p for p in sys.path if os.path.exists(p+'/xliff2odf.py')]+[''])[0]
-- os.system('python "'+ourpath+'/xliff2odf-standalone.py" "%s" "%s" &'%(translatedodfpathname, Editor.currentEntryId()))
-+ os.system('python2 "'+ourpath+'/xliff2odf-standalone.py" "%s" "%s" &'%(translatedodfpathname, Editor.currentEntryId()))
-
- try: convert()
- except: print 'error occured'
Copied: kdesdk-lokalize/repos/extra-i686/fix-python2-path.patch (from rev 194175, kdesdk-lokalize/trunk/fix-python2-path.patch)
===================================================================
--- extra-i686/fix-python2-path.patch (rev 0)
+++ extra-i686/fix-python2-path.patch 2013-09-10 13:41:02 UTC (rev 194176)
@@ -0,0 +1,22 @@
+--- kdesdk-4.5.80/lokalize/scripts/msgmerge.py~ 2010-11-24 11:22:42.120000002 +0100
++++ kdesdk-4.5.80/lokalize/scripts/msgmerge.py 2010-11-24 11:22:42.146666670 +0100
+@@ -114,7 +114,7 @@
+ print >>sys.stderr, "Execution failed:", e
+
+ cmd='%s/odf/xliffmerge.py -i %s -t %s -o %s' % (ourPath,xliffpathname,xlifftemplatepathname,xliffpathname)
+- if os.name!='nt': cmd='python '+cmd
++ if os.name!='nt': cmd='python2 '+cmd
+ else: cmd=cmd.replace('/','\\')
+ os.system(cmd)
+
+--- kdesdk-4.5.80/lokalize/scripts/xliff2odf.py~ 2010-11-24 11:24:10.853333336 +0100
++++ kdesdk-4.5.80/lokalize/scripts/xliff2odf.py 2010-11-24 11:24:10.883333336 +0100
+@@ -42,7 +42,7 @@
+ xliff2odf.convertxliff(xliffinput, translatedodfpathname, odf)
+
+ ourpath=([p for p in sys.path if os.path.exists(p+'/xliff2odf.py')]+[''])[0]
+- os.system('python "'+ourpath+'/xliff2odf-standalone.py" "%s" "%s" &'%(translatedodfpathname, Editor.currentEntryId()))
++ os.system('python2 "'+ourpath+'/xliff2odf-standalone.py" "%s" "%s" &'%(translatedodfpathname, Editor.currentEntryId()))
+
+ try: convert()
+ except: print 'error occured'
Deleted: extra-i686/kdesdk-lokalize.install
===================================================================
--- extra-i686/kdesdk-lokalize.install 2013-09-10 13:40:53 UTC (rev 194175)
+++ extra-i686/kdesdk-lokalize.install 2013-09-10 13:41:02 UTC (rev 194176)
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: kdesdk-lokalize/repos/extra-i686/kdesdk-lokalize.install (from rev 194175, kdesdk-lokalize/trunk/kdesdk-lokalize.install)
===================================================================
--- extra-i686/kdesdk-lokalize.install (rev 0)
+++ extra-i686/kdesdk-lokalize.install 2013-09-10 13:41:02 UTC (rev 194176)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2013-09-10 13:40:53 UTC (rev 194175)
+++ extra-x86_64/PKGBUILD 2013-09-10 13:41:02 UTC (rev 194176)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kdesdk-lokalize
-pkgver=4.11.0
-pkgrel=1
-pkgdesc='Computer-Aided Translation System'
-url='http://kde.org/applications/development/lokalize/'
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde' 'kdesdk')
-depends=('kdebase-runtime' 'kdebindings-python2' 'kdesdk-strigi-analyzers')
-makedepends=('cmake' 'automoc4')
-optdepends=('translate-toolkit: enable extra python script')
-install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/lokalize-${pkgver}.tar.xz"
- 'fix-python2-path.patch')
-sha1sums=('b0e606806db9188c95e49d139ba58d417232d3a3'
- '07db42bbcae402c292eebf002e549b04162621c5')
-
-prepare() {
- cd lokalize-${pkgver}
- patch -p2 -i "${srcdir}"/fix-python2-path.patch
-}
-
-build() {
- mkdir build
- cd build
- cmake ../lokalize-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DKDE4_BUILD_TESTS=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd build
- make DESTDIR=$pkgdir install
-
- # Fix python 2 path
- sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
- "${pkgdir}"/usr/share/apps/lokalize/scripts/odf/xliffmerge.py
-}
Copied: kdesdk-lokalize/repos/extra-x86_64/PKGBUILD (from rev 194175, kdesdk-lokalize/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2013-09-10 13:41:02 UTC (rev 194176)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-lokalize
+pkgver=4.11.1
+pkgrel=1
+pkgdesc='Computer-Aided Translation System'
+url='http://kde.org/applications/development/lokalize/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('kdebase-runtime' 'kdebindings-python2' 'kdesdk-strigi-analyzers')
+makedepends=('cmake' 'automoc4')
+optdepends=('translate-toolkit: enable extra python script')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/lokalize-${pkgver}.tar.xz"
+ 'fix-python2-path.patch')
+sha1sums=('0af9576c292bade1202d051afb52c01dd5e0ddb9'
+ '07db42bbcae402c292eebf002e549b04162621c5')
+
+prepare() {
+ cd lokalize-${pkgver}
+ patch -p2 -i "${srcdir}"/fix-python2-path.patch
+}
+
+build() {
+ mkdir build
+ cd build
+ cmake ../lokalize-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR=$pkgdir install
+
+ # Fix python 2 path
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/share/apps/lokalize/scripts/odf/xliffmerge.py
+}
Deleted: extra-x86_64/fix-python2-path.patch
===================================================================
--- extra-x86_64/fix-python2-path.patch 2013-09-10 13:40:53 UTC (rev 194175)
+++ extra-x86_64/fix-python2-path.patch 2013-09-10 13:41:02 UTC (rev 194176)
@@ -1,22 +0,0 @@
---- kdesdk-4.5.80/lokalize/scripts/msgmerge.py~ 2010-11-24 11:22:42.120000002 +0100
-+++ kdesdk-4.5.80/lokalize/scripts/msgmerge.py 2010-11-24 11:22:42.146666670 +0100
-@@ -114,7 +114,7 @@
- print >>sys.stderr, "Execution failed:", e
-
- cmd='%s/odf/xliffmerge.py -i %s -t %s -o %s' % (ourPath,xliffpathname,xlifftemplatepathname,xliffpathname)
-- if os.name!='nt': cmd='python '+cmd
-+ if os.name!='nt': cmd='python2 '+cmd
- else: cmd=cmd.replace('/','\\')
- os.system(cmd)
-
---- kdesdk-4.5.80/lokalize/scripts/xliff2odf.py~ 2010-11-24 11:24:10.853333336 +0100
-+++ kdesdk-4.5.80/lokalize/scripts/xliff2odf.py 2010-11-24 11:24:10.883333336 +0100
-@@ -42,7 +42,7 @@
- xliff2odf.convertxliff(xliffinput, translatedodfpathname, odf)
-
- ourpath=([p for p in sys.path if os.path.exists(p+'/xliff2odf.py')]+[''])[0]
-- os.system('python "'+ourpath+'/xliff2odf-standalone.py" "%s" "%s" &'%(translatedodfpathname, Editor.currentEntryId()))
-+ os.system('python2 "'+ourpath+'/xliff2odf-standalone.py" "%s" "%s" &'%(translatedodfpathname, Editor.currentEntryId()))
-
- try: convert()
- except: print 'error occured'
Copied: kdesdk-lokalize/repos/extra-x86_64/fix-python2-path.patch (from rev 194175, kdesdk-lokalize/trunk/fix-python2-path.patch)
===================================================================
--- extra-x86_64/fix-python2-path.patch (rev 0)
+++ extra-x86_64/fix-python2-path.patch 2013-09-10 13:41:02 UTC (rev 194176)
@@ -0,0 +1,22 @@
+--- kdesdk-4.5.80/lokalize/scripts/msgmerge.py~ 2010-11-24 11:22:42.120000002 +0100
++++ kdesdk-4.5.80/lokalize/scripts/msgmerge.py 2010-11-24 11:22:42.146666670 +0100
+@@ -114,7 +114,7 @@
+ print >>sys.stderr, "Execution failed:", e
+
+ cmd='%s/odf/xliffmerge.py -i %s -t %s -o %s' % (ourPath,xliffpathname,xlifftemplatepathname,xliffpathname)
+- if os.name!='nt': cmd='python '+cmd
++ if os.name!='nt': cmd='python2 '+cmd
+ else: cmd=cmd.replace('/','\\')
+ os.system(cmd)
+
+--- kdesdk-4.5.80/lokalize/scripts/xliff2odf.py~ 2010-11-24 11:24:10.853333336 +0100
++++ kdesdk-4.5.80/lokalize/scripts/xliff2odf.py 2010-11-24 11:24:10.883333336 +0100
+@@ -42,7 +42,7 @@
+ xliff2odf.convertxliff(xliffinput, translatedodfpathname, odf)
+
+ ourpath=([p for p in sys.path if os.path.exists(p+'/xliff2odf.py')]+[''])[0]
+- os.system('python "'+ourpath+'/xliff2odf-standalone.py" "%s" "%s" &'%(translatedodfpathname, Editor.currentEntryId()))
++ os.system('python2 "'+ourpath+'/xliff2odf-standalone.py" "%s" "%s" &'%(translatedodfpathname, Editor.currentEntryId()))
+
+ try: convert()
+ except: print 'error occured'
Deleted: extra-x86_64/kdesdk-lokalize.install
===================================================================
--- extra-x86_64/kdesdk-lokalize.install 2013-09-10 13:40:53 UTC (rev 194175)
+++ extra-x86_64/kdesdk-lokalize.install 2013-09-10 13:41:02 UTC (rev 194176)
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: kdesdk-lokalize/repos/extra-x86_64/kdesdk-lokalize.install (from rev 194175, kdesdk-lokalize/trunk/kdesdk-lokalize.install)
===================================================================
--- extra-x86_64/kdesdk-lokalize.install (rev 0)
+++ extra-x86_64/kdesdk-lokalize.install 2013-09-10 13:41:02 UTC (rev 194176)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list