[arch-commits] Commit in kdesdk/repos (22 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Tue May 7 12:45:54 EDT 2013


    Date: Tuesday, May 7, 2013 @ 18:45:54
  Author: andrea
Revision: 184739

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

Added:
  kdesdk/repos/testing-i686/
  kdesdk/repos/testing-i686/PKGBUILD
    (from rev 184738, kdesdk/trunk/PKGBUILD)
  kdesdk/repos/testing-i686/fix-python2-path.patch
    (from rev 184738, kdesdk/trunk/fix-python2-path.patch)
  kdesdk/repos/testing-i686/kdesdk-cervisia.install
    (from rev 184738, kdesdk/trunk/kdesdk-cervisia.install)
  kdesdk/repos/testing-i686/kdesdk-dev-utils.install
    (from rev 184738, kdesdk/trunk/kdesdk-dev-utils.install)
  kdesdk/repos/testing-i686/kdesdk-kcachegrind.install
    (from rev 184738, kdesdk/trunk/kdesdk-kcachegrind.install)
  kdesdk/repos/testing-i686/kdesdk-kompare.install
    (from rev 184738, kdesdk/trunk/kdesdk-kompare.install)
  kdesdk/repos/testing-i686/kdesdk-lokalize.install
    (from rev 184738, kdesdk/trunk/kdesdk-lokalize.install)
  kdesdk/repos/testing-i686/kdesdk-okteta.install
    (from rev 184738, kdesdk/trunk/kdesdk-okteta.install)
  kdesdk/repos/testing-i686/kdesdk-umbrello.install
    (from rev 184738, kdesdk/trunk/kdesdk-umbrello.install)
  kdesdk/repos/testing-i686/kdesdk.install
    (from rev 184738, kdesdk/trunk/kdesdk.install)
  kdesdk/repos/testing-x86_64/
  kdesdk/repos/testing-x86_64/PKGBUILD
    (from rev 184738, kdesdk/trunk/PKGBUILD)
  kdesdk/repos/testing-x86_64/fix-python2-path.patch
    (from rev 184738, kdesdk/trunk/fix-python2-path.patch)
  kdesdk/repos/testing-x86_64/kdesdk-cervisia.install
    (from rev 184738, kdesdk/trunk/kdesdk-cervisia.install)
  kdesdk/repos/testing-x86_64/kdesdk-dev-utils.install
    (from rev 184738, kdesdk/trunk/kdesdk-dev-utils.install)
  kdesdk/repos/testing-x86_64/kdesdk-kcachegrind.install
    (from rev 184738, kdesdk/trunk/kdesdk-kcachegrind.install)
  kdesdk/repos/testing-x86_64/kdesdk-kompare.install
    (from rev 184738, kdesdk/trunk/kdesdk-kompare.install)
  kdesdk/repos/testing-x86_64/kdesdk-lokalize.install
    (from rev 184738, kdesdk/trunk/kdesdk-lokalize.install)
  kdesdk/repos/testing-x86_64/kdesdk-okteta.install
    (from rev 184738, kdesdk/trunk/kdesdk-okteta.install)
  kdesdk/repos/testing-x86_64/kdesdk-umbrello.install
    (from rev 184738, kdesdk/trunk/kdesdk-umbrello.install)
  kdesdk/repos/testing-x86_64/kdesdk.install
    (from rev 184738, kdesdk/trunk/kdesdk.install)

-------------------------------------------+
 testing-i686/PKGBUILD                     |  198 ++++++++++++++++++++++++++++
 testing-i686/fix-python2-path.patch       |   22 +++
 testing-i686/kdesdk-cervisia.install      |   12 +
 testing-i686/kdesdk-dev-utils.install     |   12 +
 testing-i686/kdesdk-kcachegrind.install   |   12 +
 testing-i686/kdesdk-kompare.install       |   12 +
 testing-i686/kdesdk-lokalize.install      |   12 +
 testing-i686/kdesdk-okteta.install        |   12 +
 testing-i686/kdesdk-umbrello.install      |   12 +
 testing-i686/kdesdk.install               |   11 +
 testing-x86_64/PKGBUILD                   |  198 ++++++++++++++++++++++++++++
 testing-x86_64/fix-python2-path.patch     |   22 +++
 testing-x86_64/kdesdk-cervisia.install    |   12 +
 testing-x86_64/kdesdk-dev-utils.install   |   12 +
 testing-x86_64/kdesdk-kcachegrind.install |   12 +
 testing-x86_64/kdesdk-kompare.install     |   12 +
 testing-x86_64/kdesdk-lokalize.install    |   12 +
 testing-x86_64/kdesdk-okteta.install      |   12 +
 testing-x86_64/kdesdk-umbrello.install    |   12 +
 testing-x86_64/kdesdk.install             |   11 +
 20 files changed, 630 insertions(+)

Copied: kdesdk/repos/testing-i686/PKGBUILD (from rev 184738, kdesdk/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-05-07 16:45:54 UTC (rev 184739)
@@ -0,0 +1,198 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=kdesdk
+pkgname=('kdesdk-cervisia'
+         'kdesdk-dolphin-plugins'
+         'kdesdk-dev-utils'
+         'kdesdk-dev-scripts'
+         'kdesdk-kapptemplate'
+         'kdesdk-kcachegrind'
+         'kdesdk-kioslaves'
+         'kdesdk-kompare'
+         'kdesdk-lokalize'
+         'kdesdk-okteta'
+         'kdesdk-poxml'
+         'kdesdk-strigi-analyzers'
+         'kdesdk-umbrello')
+pkgver=4.10.3
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+makedepends=('cmake' 'automoc4' 'boost' 'subversion' 'antlr2' 'kdepimlibs'
+             'kdebase-lib')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
+        'fix-python2-path.patch')
+sha1sums=('84d16fb8ecea59118c4bbe273d1b8149c6739c0a'
+          '07db42bbcae402c292eebf002e549b04162621c5')
+
+build() {
+	cd ${srcdir}/${pkgbase}-${pkgver}
+
+	# Fix hardcoded python2 cmd
+	patch -Np1 -i ${srcdir}/fix-python2-path.patch
+
+	cd ${srcdir}
+	mkdir build
+	cd build
+	cmake ../${pkgbase}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DKDE4_BUILD_TESTS=OFF \
+		-DCMAKE_INSTALL_PREFIX=/usr
+	make
+}
+
+package_kdesdk-cervisia() {
+	pkgdesc='CVS Frontend'
+	depends=('kdebase-runtime')
+	url="http://kde.org/applications/development/cervisia/"
+	install='kdesdk-cervisia.install'
+	cd $srcdir/build/cervisia
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-dev-utils() {
+    pkgdesc='Small utilities for developers using KDE/Qt libs/frameworks'
+    url="https://projects.kde.org/projects/kde/kdesdk/kde-dev-utils"
+    depends=('kdebase-runtime')
+    conflicts=('kdesdk-kmtrace' 'kdesdk-kpartloader' 'kdesdk-kprofilemethod'
+              'kdesdk-kstartperf' 'kdesdk-kuiviewer')
+    replaces=('kdesdk-kmtrace' 'kdesdk-kpartloader' 'kdesdk-kprofilemethod'
+              'kdesdk-kstartperf' 'kdesdk-kuiviewer')
+    install='kdesdk-dev-utils.install'
+    cd $srcdir/build/kde-dev-utils
+    make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-dolphin-plugins() {
+	pkgdesc='Extra Dolphin plugins'
+    url="https://projects.kde.org/projects/kde/kdesdk/dolphin-plugins"
+	depends=('kdebase-dolphin')
+    optdepends=('bzr: bazaar support'
+                'git: git support'
+                'mercurial: hg support'
+                'subversion: svn support')
+	install='kdesdk.install'
+    cd $srcdir/build/dolphin-plugins
+  	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-kapptemplate() {
+	pkgdesc='KDE Template Generator'
+	depends=('kdebase-runtime')
+	url="http://kde.org/applications/development/kapptemplate/"
+	install='kdesdk.install'
+	cd $srcdir/build/kapptemplate
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-kcachegrind() {
+	pkgdesc='Visualization of Performance Profiling Data'
+	depends=('kdebase-runtime' 'python2')
+	optdepends=('php: PHP support')
+	url="http://kde.org/applications/development/kcachegrind/"
+	install='kdesdk-kcachegrind.install'
+	cd $srcdir/build/kcachegrind
+	make DESTDIR=$pkgdir install
+
+    # Fix python 2 path
+    sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+      "${pkgdir}"/usr/bin/hotshot2calltree
+}
+
+package_kdesdk-kioslaves() {
+	pkgdesc='KIO-Slaves'
+    url="https://projects.kde.org/projects/kde/kdesdk/kdesdk-kioslaves"
+	depends=('kdebase-runtime' 'subversion')
+    install='kdesdk.install'
+    replaces=('kdesdk-kioslave')
+    conflicts=('kdesdk-kioslave')
+	cd $srcdir/build/kdesdk-kioslaves
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-kompare() {
+	pkgdesc='Diff/Patch Frontend'
+	depends=('kdebase-runtime')
+	url="http://kde.org/applications/development/kompare/"
+	install='kdesdk-kompare.install'
+	cd $srcdir/build/kompare
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-lokalize() {
+	pkgdesc='Computer-Aided Translation System'
+	depends=('kdebase-runtime' 'kdebindings-python2' 'kdesdk-strigi-analyzers')
+	url="http://kde.org/applications/development/lokalize/"
+	optdepends=('translate-toolkit: enable extra python script')
+	install='kdesdk-lokalize.install'
+	cd $srcdir/build/lokalize
+	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
+}
+
+package_kdesdk-okteta() {
+	pkgdesc='Hex Editor'
+	depends=('kdebase-runtime')
+	replaces=('kdeutils-okteta')
+	conflicts=('kdeutils-okteta')
+	url="http://kde.org/applications/utilities/okteta/"
+	install='kdesdk-okteta.install'
+	cd $srcdir/build/okteta
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-poxml() {
+	pkgdesc='Translates DocBook XML files using gettext po files'
+    url="https://projects.kde.org/projects/kde/kdesdk/poxml"
+	depends=('qt4')
+    optdepends=('antlr2: required for po2xml and swappo tool')
+	cd $srcdir/build/poxml
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-dev-scripts() {
+	pkgdesc='Scripts and setting files useful during development of KDE software'
+    url="https://projects.kde.org/projects/kde/kdesdk/kde-dev-scripts"
+	depends=('python2')
+    replaces=('kdesdk-scripts')
+    conflicts=('kdesdk-scripts')
+	cd $srcdir/build/kde-dev-scripts
+	make DESTDIR=$pkgdir install
+
+    # Fix python 2 path
+    sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+      "${pkgdir}"/usr/bin/{zonetab2pot,kde-systemsettings-tree}.py
+    sed -i 's|#! /usr/bin/env python|#!/usr/bin/env python2|' \
+      "${pkgdir}"/usr/bin/{kdelnk2desktop.py,kde_generate_export_header}
+}
+
+package_kdesdk-strigi-analyzers() {
+	pkgdesc='Analyzer plugins for strigi'
+    url="https://projects.kde.org/projects/kde/kdesdk/kdesdk-strigi-analyzers"
+	depends=('kdelibs')
+    conflicts=('kdesdk-strigi-analyzer')
+    replaces=('kdesdk-strigi-analyzer')
+	cd $srcdir/build/kdesdk-strigi-analyzers
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-umbrello() {
+	pkgdesc='UML Modeller'
+	depends=('kdebase-runtime')
+    optdepends=('ruby')
+	url="http://kde.org/applications/development/umbrello/"
+	install='kdesdk-umbrello.install'
+	cd $srcdir/build/umbrello
+	make DESTDIR=$pkgdir install
+    
+    # Fix python 2 path
+    sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+      "${pkgdir}"/usr/share/apps/umbrello/headings/heading.py
+}

Copied: kdesdk/repos/testing-i686/fix-python2-path.patch (from rev 184738, kdesdk/trunk/fix-python2-path.patch)
===================================================================
--- testing-i686/fix-python2-path.patch	                        (rev 0)
+++ testing-i686/fix-python2-path.patch	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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'

Copied: kdesdk/repos/testing-i686/kdesdk-cervisia.install (from rev 184738, kdesdk/trunk/kdesdk-cervisia.install)
===================================================================
--- testing-i686/kdesdk-cervisia.install	                        (rev 0)
+++ testing-i686/kdesdk-cervisia.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-i686/kdesdk-dev-utils.install (from rev 184738, kdesdk/trunk/kdesdk-dev-utils.install)
===================================================================
--- testing-i686/kdesdk-dev-utils.install	                        (rev 0)
+++ testing-i686/kdesdk-dev-utils.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-i686/kdesdk-kcachegrind.install (from rev 184738, kdesdk/trunk/kdesdk-kcachegrind.install)
===================================================================
--- testing-i686/kdesdk-kcachegrind.install	                        (rev 0)
+++ testing-i686/kdesdk-kcachegrind.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-i686/kdesdk-kompare.install (from rev 184738, kdesdk/trunk/kdesdk-kompare.install)
===================================================================
--- testing-i686/kdesdk-kompare.install	                        (rev 0)
+++ testing-i686/kdesdk-kompare.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-i686/kdesdk-lokalize.install (from rev 184738, kdesdk/trunk/kdesdk-lokalize.install)
===================================================================
--- testing-i686/kdesdk-lokalize.install	                        (rev 0)
+++ testing-i686/kdesdk-lokalize.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-i686/kdesdk-okteta.install (from rev 184738, kdesdk/trunk/kdesdk-okteta.install)
===================================================================
--- testing-i686/kdesdk-okteta.install	                        (rev 0)
+++ testing-i686/kdesdk-okteta.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdesdk/repos/testing-i686/kdesdk-umbrello.install (from rev 184738, kdesdk/trunk/kdesdk-umbrello.install)
===================================================================
--- testing-i686/kdesdk-umbrello.install	                        (rev 0)
+++ testing-i686/kdesdk-umbrello.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-i686/kdesdk.install (from rev 184738, kdesdk/trunk/kdesdk.install)
===================================================================
--- testing-i686/kdesdk.install	                        (rev 0)
+++ testing-i686/kdesdk.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdesdk/repos/testing-x86_64/PKGBUILD (from rev 184738, kdesdk/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-05-07 16:45:54 UTC (rev 184739)
@@ -0,0 +1,198 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=kdesdk
+pkgname=('kdesdk-cervisia'
+         'kdesdk-dolphin-plugins'
+         'kdesdk-dev-utils'
+         'kdesdk-dev-scripts'
+         'kdesdk-kapptemplate'
+         'kdesdk-kcachegrind'
+         'kdesdk-kioslaves'
+         'kdesdk-kompare'
+         'kdesdk-lokalize'
+         'kdesdk-okteta'
+         'kdesdk-poxml'
+         'kdesdk-strigi-analyzers'
+         'kdesdk-umbrello')
+pkgver=4.10.3
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+makedepends=('cmake' 'automoc4' 'boost' 'subversion' 'antlr2' 'kdepimlibs'
+             'kdebase-lib')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
+        'fix-python2-path.patch')
+sha1sums=('84d16fb8ecea59118c4bbe273d1b8149c6739c0a'
+          '07db42bbcae402c292eebf002e549b04162621c5')
+
+build() {
+	cd ${srcdir}/${pkgbase}-${pkgver}
+
+	# Fix hardcoded python2 cmd
+	patch -Np1 -i ${srcdir}/fix-python2-path.patch
+
+	cd ${srcdir}
+	mkdir build
+	cd build
+	cmake ../${pkgbase}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DKDE4_BUILD_TESTS=OFF \
+		-DCMAKE_INSTALL_PREFIX=/usr
+	make
+}
+
+package_kdesdk-cervisia() {
+	pkgdesc='CVS Frontend'
+	depends=('kdebase-runtime')
+	url="http://kde.org/applications/development/cervisia/"
+	install='kdesdk-cervisia.install'
+	cd $srcdir/build/cervisia
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-dev-utils() {
+    pkgdesc='Small utilities for developers using KDE/Qt libs/frameworks'
+    url="https://projects.kde.org/projects/kde/kdesdk/kde-dev-utils"
+    depends=('kdebase-runtime')
+    conflicts=('kdesdk-kmtrace' 'kdesdk-kpartloader' 'kdesdk-kprofilemethod'
+              'kdesdk-kstartperf' 'kdesdk-kuiviewer')
+    replaces=('kdesdk-kmtrace' 'kdesdk-kpartloader' 'kdesdk-kprofilemethod'
+              'kdesdk-kstartperf' 'kdesdk-kuiviewer')
+    install='kdesdk-dev-utils.install'
+    cd $srcdir/build/kde-dev-utils
+    make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-dolphin-plugins() {
+	pkgdesc='Extra Dolphin plugins'
+    url="https://projects.kde.org/projects/kde/kdesdk/dolphin-plugins"
+	depends=('kdebase-dolphin')
+    optdepends=('bzr: bazaar support'
+                'git: git support'
+                'mercurial: hg support'
+                'subversion: svn support')
+	install='kdesdk.install'
+    cd $srcdir/build/dolphin-plugins
+  	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-kapptemplate() {
+	pkgdesc='KDE Template Generator'
+	depends=('kdebase-runtime')
+	url="http://kde.org/applications/development/kapptemplate/"
+	install='kdesdk.install'
+	cd $srcdir/build/kapptemplate
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-kcachegrind() {
+	pkgdesc='Visualization of Performance Profiling Data'
+	depends=('kdebase-runtime' 'python2')
+	optdepends=('php: PHP support')
+	url="http://kde.org/applications/development/kcachegrind/"
+	install='kdesdk-kcachegrind.install'
+	cd $srcdir/build/kcachegrind
+	make DESTDIR=$pkgdir install
+
+    # Fix python 2 path
+    sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+      "${pkgdir}"/usr/bin/hotshot2calltree
+}
+
+package_kdesdk-kioslaves() {
+	pkgdesc='KIO-Slaves'
+    url="https://projects.kde.org/projects/kde/kdesdk/kdesdk-kioslaves"
+	depends=('kdebase-runtime' 'subversion')
+    install='kdesdk.install'
+    replaces=('kdesdk-kioslave')
+    conflicts=('kdesdk-kioslave')
+	cd $srcdir/build/kdesdk-kioslaves
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-kompare() {
+	pkgdesc='Diff/Patch Frontend'
+	depends=('kdebase-runtime')
+	url="http://kde.org/applications/development/kompare/"
+	install='kdesdk-kompare.install'
+	cd $srcdir/build/kompare
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-lokalize() {
+	pkgdesc='Computer-Aided Translation System'
+	depends=('kdebase-runtime' 'kdebindings-python2' 'kdesdk-strigi-analyzers')
+	url="http://kde.org/applications/development/lokalize/"
+	optdepends=('translate-toolkit: enable extra python script')
+	install='kdesdk-lokalize.install'
+	cd $srcdir/build/lokalize
+	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
+}
+
+package_kdesdk-okteta() {
+	pkgdesc='Hex Editor'
+	depends=('kdebase-runtime')
+	replaces=('kdeutils-okteta')
+	conflicts=('kdeutils-okteta')
+	url="http://kde.org/applications/utilities/okteta/"
+	install='kdesdk-okteta.install'
+	cd $srcdir/build/okteta
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-poxml() {
+	pkgdesc='Translates DocBook XML files using gettext po files'
+    url="https://projects.kde.org/projects/kde/kdesdk/poxml"
+	depends=('qt4')
+    optdepends=('antlr2: required for po2xml and swappo tool')
+	cd $srcdir/build/poxml
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-dev-scripts() {
+	pkgdesc='Scripts and setting files useful during development of KDE software'
+    url="https://projects.kde.org/projects/kde/kdesdk/kde-dev-scripts"
+	depends=('python2')
+    replaces=('kdesdk-scripts')
+    conflicts=('kdesdk-scripts')
+	cd $srcdir/build/kde-dev-scripts
+	make DESTDIR=$pkgdir install
+
+    # Fix python 2 path
+    sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+      "${pkgdir}"/usr/bin/{zonetab2pot,kde-systemsettings-tree}.py
+    sed -i 's|#! /usr/bin/env python|#!/usr/bin/env python2|' \
+      "${pkgdir}"/usr/bin/{kdelnk2desktop.py,kde_generate_export_header}
+}
+
+package_kdesdk-strigi-analyzers() {
+	pkgdesc='Analyzer plugins for strigi'
+    url="https://projects.kde.org/projects/kde/kdesdk/kdesdk-strigi-analyzers"
+	depends=('kdelibs')
+    conflicts=('kdesdk-strigi-analyzer')
+    replaces=('kdesdk-strigi-analyzer')
+	cd $srcdir/build/kdesdk-strigi-analyzers
+	make DESTDIR=$pkgdir install
+}
+
+package_kdesdk-umbrello() {
+	pkgdesc='UML Modeller'
+	depends=('kdebase-runtime')
+    optdepends=('ruby')
+	url="http://kde.org/applications/development/umbrello/"
+	install='kdesdk-umbrello.install'
+	cd $srcdir/build/umbrello
+	make DESTDIR=$pkgdir install
+    
+    # Fix python 2 path
+    sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+      "${pkgdir}"/usr/share/apps/umbrello/headings/heading.py
+}

Copied: kdesdk/repos/testing-x86_64/fix-python2-path.patch (from rev 184738, kdesdk/trunk/fix-python2-path.patch)
===================================================================
--- testing-x86_64/fix-python2-path.patch	                        (rev 0)
+++ testing-x86_64/fix-python2-path.patch	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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'

Copied: kdesdk/repos/testing-x86_64/kdesdk-cervisia.install (from rev 184738, kdesdk/trunk/kdesdk-cervisia.install)
===================================================================
--- testing-x86_64/kdesdk-cervisia.install	                        (rev 0)
+++ testing-x86_64/kdesdk-cervisia.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-x86_64/kdesdk-dev-utils.install (from rev 184738, kdesdk/trunk/kdesdk-dev-utils.install)
===================================================================
--- testing-x86_64/kdesdk-dev-utils.install	                        (rev 0)
+++ testing-x86_64/kdesdk-dev-utils.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-x86_64/kdesdk-kcachegrind.install (from rev 184738, kdesdk/trunk/kdesdk-kcachegrind.install)
===================================================================
--- testing-x86_64/kdesdk-kcachegrind.install	                        (rev 0)
+++ testing-x86_64/kdesdk-kcachegrind.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-x86_64/kdesdk-kompare.install (from rev 184738, kdesdk/trunk/kdesdk-kompare.install)
===================================================================
--- testing-x86_64/kdesdk-kompare.install	                        (rev 0)
+++ testing-x86_64/kdesdk-kompare.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-x86_64/kdesdk-lokalize.install (from rev 184738, kdesdk/trunk/kdesdk-lokalize.install)
===================================================================
--- testing-x86_64/kdesdk-lokalize.install	                        (rev 0)
+++ testing-x86_64/kdesdk-lokalize.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-x86_64/kdesdk-okteta.install (from rev 184738, kdesdk/trunk/kdesdk-okteta.install)
===================================================================
--- testing-x86_64/kdesdk-okteta.install	                        (rev 0)
+++ testing-x86_64/kdesdk-okteta.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdesdk/repos/testing-x86_64/kdesdk-umbrello.install (from rev 184738, kdesdk/trunk/kdesdk-umbrello.install)
===================================================================
--- testing-x86_64/kdesdk-umbrello.install	                        (rev 0)
+++ testing-x86_64/kdesdk-umbrello.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -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
+}

Copied: kdesdk/repos/testing-x86_64/kdesdk.install (from rev 184738, kdesdk/trunk/kdesdk.install)
===================================================================
--- testing-x86_64/kdesdk.install	                        (rev 0)
+++ testing-x86_64/kdesdk.install	2013-05-07 16:45:54 UTC (rev 184739)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list