[arch-commits] Commit in lokalize/repos (12 files)
Antonio Rojas
arojas at archlinux.org
Fri Mar 27 09:10:18 UTC 2015
Date: Friday, March 27, 2015 @ 10:10:17
Author: arojas
Revision: 235153
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
lokalize/repos/kde-unstable-i686/PKGBUILD
(from rev 235152, lokalize/kde-unstable/PKGBUILD)
lokalize/repos/kde-unstable-i686/fix-python2-path.patch
(from rev 235152, lokalize/kde-unstable/fix-python2-path.patch)
lokalize/repos/kde-unstable-i686/lokalize.install
(from rev 235152, lokalize/kde-unstable/lokalize.install)
lokalize/repos/kde-unstable-x86_64/PKGBUILD
(from rev 235152, lokalize/kde-unstable/PKGBUILD)
lokalize/repos/kde-unstable-x86_64/fix-python2-path.patch
(from rev 235152, lokalize/kde-unstable/fix-python2-path.patch)
lokalize/repos/kde-unstable-x86_64/lokalize.install
(from rev 235152, lokalize/kde-unstable/lokalize.install)
Deleted:
lokalize/repos/kde-unstable-i686/PKGBUILD
lokalize/repos/kde-unstable-i686/fix-python2-path.patch
lokalize/repos/kde-unstable-i686/lokalize.install
lokalize/repos/kde-unstable-x86_64/PKGBUILD
lokalize/repos/kde-unstable-x86_64/fix-python2-path.patch
lokalize/repos/kde-unstable-x86_64/lokalize.install
--------------------------------------------+
/PKGBUILD | 84 +++++++++++++++++++++++++++
/fix-python2-path.patch | 44 ++++++++++++++
/lokalize.install | 24 +++++++
kde-unstable-i686/PKGBUILD | 42 -------------
kde-unstable-i686/fix-python2-path.patch | 22 -------
kde-unstable-i686/lokalize.install | 12 ---
kde-unstable-x86_64/PKGBUILD | 42 -------------
kde-unstable-x86_64/fix-python2-path.patch | 22 -------
kde-unstable-x86_64/lokalize.install | 12 ---
9 files changed, 152 insertions(+), 152 deletions(-)
Deleted: kde-unstable-i686/PKGBUILD
===================================================================
--- kde-unstable-i686/PKGBUILD 2015-03-27 09:09:55 UTC (rev 235152)
+++ kde-unstable-i686/PKGBUILD 2015-03-27 09:10:17 UTC (rev 235153)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=lokalize
-pkgver=15.03.95
-pkgrel=1
-pkgdesc='Computer-Aided Translation System'
-url='http://kde.org/applications/development/lokalize/'
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde-applications' 'kdesdk')
-depends=('kross')
-makedepends=('extra-cmake-modules' 'python' 'kdoctools')
-install=${pkgname}.install
-conflicts=('kdesdk-lokalize')
-replaces=('kdesdk-lokalize')
-source=("http://download.kde.org/unstable/applications/${pkgver}/src/lokalize-${pkgver}.tar.xz")
-sha1sums=('fcc60fbe3186e54e8ee27272bac2a58e994cc8b5')
-
-prepare() {
- mkdir build
-}
-
-build() {
- cd build
- cmake ../lokalize-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_TESTING=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
- 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/lokalize/scripts/odf/xliffmerge.py
-}
Copied: lokalize/repos/kde-unstable-i686/PKGBUILD (from rev 235152, lokalize/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2015-03-27 09:10:17 UTC (rev 235153)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=lokalize
+pkgver=15.03.97
+pkgrel=1
+pkgdesc='Computer-Aided Translation System'
+url='http://kde.org/applications/development/lokalize/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdesdk')
+depends=('kross')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdesdk-lokalize')
+replaces=('kdesdk-lokalize')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/lokalize-${pkgver}.tar.xz")
+sha1sums=('0d3e281a97ba757d134bbba83e62d1534d1d6a7b')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../lokalize-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ 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/lokalize/scripts/odf/xliffmerge.py
+}
Deleted: kde-unstable-i686/fix-python2-path.patch
===================================================================
--- kde-unstable-i686/fix-python2-path.patch 2015-03-27 09:09:55 UTC (rev 235152)
+++ kde-unstable-i686/fix-python2-path.patch 2015-03-27 09:10:17 UTC (rev 235153)
@@ -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: lokalize/repos/kde-unstable-i686/fix-python2-path.patch (from rev 235152, lokalize/kde-unstable/fix-python2-path.patch)
===================================================================
--- kde-unstable-i686/fix-python2-path.patch (rev 0)
+++ kde-unstable-i686/fix-python2-path.patch 2015-03-27 09:10:17 UTC (rev 235153)
@@ -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: kde-unstable-i686/lokalize.install
===================================================================
--- kde-unstable-i686/lokalize.install 2015-03-27 09:09:55 UTC (rev 235152)
+++ kde-unstable-i686/lokalize.install 2015-03-27 09:10:17 UTC (rev 235153)
@@ -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: lokalize/repos/kde-unstable-i686/lokalize.install (from rev 235152, lokalize/kde-unstable/lokalize.install)
===================================================================
--- kde-unstable-i686/lokalize.install (rev 0)
+++ kde-unstable-i686/lokalize.install 2015-03-27 09:10:17 UTC (rev 235153)
@@ -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: kde-unstable-x86_64/PKGBUILD
===================================================================
--- kde-unstable-x86_64/PKGBUILD 2015-03-27 09:09:55 UTC (rev 235152)
+++ kde-unstable-x86_64/PKGBUILD 2015-03-27 09:10:17 UTC (rev 235153)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=lokalize
-pkgver=15.03.95
-pkgrel=1
-pkgdesc='Computer-Aided Translation System'
-url='http://kde.org/applications/development/lokalize/'
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde-applications' 'kdesdk')
-depends=('kross')
-makedepends=('extra-cmake-modules' 'python' 'kdoctools')
-install=${pkgname}.install
-conflicts=('kdesdk-lokalize')
-replaces=('kdesdk-lokalize')
-source=("http://download.kde.org/unstable/applications/${pkgver}/src/lokalize-${pkgver}.tar.xz")
-sha1sums=('fcc60fbe3186e54e8ee27272bac2a58e994cc8b5')
-
-prepare() {
- mkdir build
-}
-
-build() {
- cd build
- cmake ../lokalize-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_TESTING=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
- 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/lokalize/scripts/odf/xliffmerge.py
-}
Copied: lokalize/repos/kde-unstable-x86_64/PKGBUILD (from rev 235152, lokalize/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2015-03-27 09:10:17 UTC (rev 235153)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=lokalize
+pkgver=15.03.97
+pkgrel=1
+pkgdesc='Computer-Aided Translation System'
+url='http://kde.org/applications/development/lokalize/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdesdk')
+depends=('kross')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdesdk-lokalize')
+replaces=('kdesdk-lokalize')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/lokalize-${pkgver}.tar.xz")
+sha1sums=('0d3e281a97ba757d134bbba83e62d1534d1d6a7b')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../lokalize-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ 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/lokalize/scripts/odf/xliffmerge.py
+}
Deleted: kde-unstable-x86_64/fix-python2-path.patch
===================================================================
--- kde-unstable-x86_64/fix-python2-path.patch 2015-03-27 09:09:55 UTC (rev 235152)
+++ kde-unstable-x86_64/fix-python2-path.patch 2015-03-27 09:10:17 UTC (rev 235153)
@@ -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: lokalize/repos/kde-unstable-x86_64/fix-python2-path.patch (from rev 235152, lokalize/kde-unstable/fix-python2-path.patch)
===================================================================
--- kde-unstable-x86_64/fix-python2-path.patch (rev 0)
+++ kde-unstable-x86_64/fix-python2-path.patch 2015-03-27 09:10:17 UTC (rev 235153)
@@ -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: kde-unstable-x86_64/lokalize.install
===================================================================
--- kde-unstable-x86_64/lokalize.install 2015-03-27 09:09:55 UTC (rev 235152)
+++ kde-unstable-x86_64/lokalize.install 2015-03-27 09:10:17 UTC (rev 235153)
@@ -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: lokalize/repos/kde-unstable-x86_64/lokalize.install (from rev 235152, lokalize/kde-unstable/lokalize.install)
===================================================================
--- kde-unstable-x86_64/lokalize.install (rev 0)
+++ kde-unstable-x86_64/lokalize.install 2015-03-27 09:10:17 UTC (rev 235153)
@@ -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