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

Felix Yan fyan at archlinux.org
Wed Nov 19 16:54:55 UTC 2014


    Date: Wednesday, November 19, 2014 @ 17:54:55
  Author: fyan
Revision: 226423

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

Added:
  kdesdk-kate/repos/testing-i686/
  kdesdk-kate/repos/testing-i686/PKGBUILD
    (from rev 226422, kdesdk-kate/trunk/PKGBUILD)
  kdesdk-kate/repos/testing-i686/kdebase-katepart.install
    (from rev 226422, kdesdk-kate/trunk/kdebase-katepart.install)
  kdesdk-kate/repos/testing-i686/kdebase-kwrite.install
    (from rev 226422, kdesdk-kate/trunk/kdebase-kwrite.install)
  kdesdk-kate/repos/testing-i686/kdesdk-kate.install
    (from rev 226422, kdesdk-kate/trunk/kdesdk-kate.install)
  kdesdk-kate/repos/testing-i686/pkgbuild-syntax-highlight.patch
    (from rev 226422, kdesdk-kate/trunk/pkgbuild-syntax-highlight.patch)
  kdesdk-kate/repos/testing-x86_64/
  kdesdk-kate/repos/testing-x86_64/PKGBUILD
    (from rev 226422, kdesdk-kate/trunk/PKGBUILD)
  kdesdk-kate/repos/testing-x86_64/kdebase-katepart.install
    (from rev 226422, kdesdk-kate/trunk/kdebase-katepart.install)
  kdesdk-kate/repos/testing-x86_64/kdebase-kwrite.install
    (from rev 226422, kdesdk-kate/trunk/kdebase-kwrite.install)
  kdesdk-kate/repos/testing-x86_64/kdesdk-kate.install
    (from rev 226422, kdesdk-kate/trunk/kdesdk-kate.install)
  kdesdk-kate/repos/testing-x86_64/pkgbuild-syntax-highlight.patch
    (from rev 226422, kdesdk-kate/trunk/pkgbuild-syntax-highlight.patch)

------------------------------------------------+
 testing-i686/PKGBUILD                          |   75 +++++++++++++++++++++++
 testing-i686/kdebase-katepart.install          |   11 +++
 testing-i686/kdebase-kwrite.install            |   12 +++
 testing-i686/kdesdk-kate.install               |   13 +++
 testing-i686/pkgbuild-syntax-highlight.patch   |   11 +++
 testing-x86_64/PKGBUILD                        |   75 +++++++++++++++++++++++
 testing-x86_64/kdebase-katepart.install        |   11 +++
 testing-x86_64/kdebase-kwrite.install          |   12 +++
 testing-x86_64/kdesdk-kate.install             |   13 +++
 testing-x86_64/pkgbuild-syntax-highlight.patch |   11 +++
 10 files changed, 244 insertions(+)

Copied: kdesdk-kate/repos/testing-i686/PKGBUILD (from rev 226422, kdesdk-kate/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-11-19 16:54:55 UTC (rev 226423)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kdesdk-kate
+pkgname=('kdebase-katepart'
+         'kdebase-kwrite'
+         'kdesdk-kate')
+pkgver=4.14.3
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+makedepends=('kdelibs ''cmake' 'automoc4' 'kdebindings-python')
+source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.xz"
+        'pkgbuild-syntax-highlight.patch')
+sha1sums=('da37195e86b5449fcdfe69a3f7df6373a5da900c'
+          '80c324c9db81c07a02374e7a092d75e0bdd6b4ea')
+
+prepare() {
+  mkdir build
+
+  cd kate-${pkgver}
+  patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+}
+
+build() {
+  cd build
+  cmake ../kate-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package_kdebase-katepart() {
+  pkgdesc="A fast and feature-rich text editor component"
+  depends=('kdelibs')
+  url="http://kate-editor.org/about-katepart/"
+  install='kdebase-katepart.install'
+
+  cd build/part
+  make DESTDIR="${pkgdir}" install
+}
+
+package_kdebase-kwrite() {
+  pkgdesc="Text Editor"
+  depends=('kdebase-runtime' 'kdebase-katepart')
+  groups=('kde' 'kdebase')
+  url="http://www.kde.org/applications/utilities/kwrite/"
+  install='kdebase-kwrite.install'
+
+  cd build/kwrite
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../build/doc/kwrite
+  make DESTDIR="${pkgdir}" install
+}
+
+package_kdesdk-kate() {
+  pkgdesc="Advanced Text Editor"
+  depends=('kdebase-runtime' 'kdebase-katepart' 'qjson')
+  groups=('kde' 'kdesdk')
+  url="http://www.kde.org/applications/utilities/kate/"
+  install='kdesdk-kate.install'
+  optdepends=('kdebase-konsole: open a terminal in Kate'
+              'kdebindings-python: python bindings')
+
+  cd build/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../build/doc/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../../build/addons
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdesdk-kate/repos/testing-i686/kdebase-katepart.install (from rev 226422, kdesdk-kate/trunk/kdebase-katepart.install)
===================================================================
--- testing-i686/kdebase-katepart.install	                        (rev 0)
+++ testing-i686/kdebase-katepart.install	2014-11-19 16:54:55 UTC (rev 226423)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdesdk-kate/repos/testing-i686/kdebase-kwrite.install (from rev 226422, kdesdk-kate/trunk/kdebase-kwrite.install)
===================================================================
--- testing-i686/kdebase-kwrite.install	                        (rev 0)
+++ testing-i686/kdebase-kwrite.install	2014-11-19 16:54:55 UTC (rev 226423)
@@ -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-kate/repos/testing-i686/kdesdk-kate.install (from rev 226422, kdesdk-kate/trunk/kdesdk-kate.install)
===================================================================
--- testing-i686/kdesdk-kate.install	                        (rev 0)
+++ testing-i686/kdesdk-kate.install	2014-11-19 16:54:55 UTC (rev 226423)
@@ -0,0 +1,13 @@
+post_install() {
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+    update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Copied: kdesdk-kate/repos/testing-i686/pkgbuild-syntax-highlight.patch (from rev 226422, kdesdk-kate/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-i686/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ testing-i686/pkgbuild-syntax-highlight.patch	2014-11-19 16:54:55 UTC (rev 226423)
@@ -0,0 +1,11 @@
+--- kate-4.10.80/part/syntax/data/bash.xml~	2013-06-13 09:46:51.569245577 +0000
++++ kate-4.10.80/part/syntax/data/bash.xml	2013-06-13 09:47:31.745637790 +0000
+@@ -8,7 +8,7 @@
+         <!ENTITY noword   "(?![\w$+-])">                <!-- no word, $, + or - following -->
+         <!ENTITY pathpart "([\w_ at .%*?+-]|\\ )">     <!-- valid character in a file name -->
+ ]>
+-<language name="Bash" version="2.17" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert at kde.nl)" license="LGPL">
++<language name="Bash" version="2.17" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert at kde.nl)" license="LGPL">
+ 
+ <!-- (c) 2004 by Wilbert Berendsen (wilbert at kde.nl)
+     Changes by Matthew Woehlke (mw_triad at users.sourceforge.net)

Copied: kdesdk-kate/repos/testing-x86_64/PKGBUILD (from rev 226422, kdesdk-kate/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-11-19 16:54:55 UTC (rev 226423)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kdesdk-kate
+pkgname=('kdebase-katepart'
+         'kdebase-kwrite'
+         'kdesdk-kate')
+pkgver=4.14.3
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+makedepends=('kdelibs ''cmake' 'automoc4' 'kdebindings-python')
+source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.xz"
+        'pkgbuild-syntax-highlight.patch')
+sha1sums=('da37195e86b5449fcdfe69a3f7df6373a5da900c'
+          '80c324c9db81c07a02374e7a092d75e0bdd6b4ea')
+
+prepare() {
+  mkdir build
+
+  cd kate-${pkgver}
+  patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+}
+
+build() {
+  cd build
+  cmake ../kate-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package_kdebase-katepart() {
+  pkgdesc="A fast and feature-rich text editor component"
+  depends=('kdelibs')
+  url="http://kate-editor.org/about-katepart/"
+  install='kdebase-katepart.install'
+
+  cd build/part
+  make DESTDIR="${pkgdir}" install
+}
+
+package_kdebase-kwrite() {
+  pkgdesc="Text Editor"
+  depends=('kdebase-runtime' 'kdebase-katepart')
+  groups=('kde' 'kdebase')
+  url="http://www.kde.org/applications/utilities/kwrite/"
+  install='kdebase-kwrite.install'
+
+  cd build/kwrite
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../build/doc/kwrite
+  make DESTDIR="${pkgdir}" install
+}
+
+package_kdesdk-kate() {
+  pkgdesc="Advanced Text Editor"
+  depends=('kdebase-runtime' 'kdebase-katepart' 'qjson')
+  groups=('kde' 'kdesdk')
+  url="http://www.kde.org/applications/utilities/kate/"
+  install='kdesdk-kate.install'
+  optdepends=('kdebase-konsole: open a terminal in Kate'
+              'kdebindings-python: python bindings')
+
+  cd build/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../build/doc/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../../build/addons
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdesdk-kate/repos/testing-x86_64/kdebase-katepart.install (from rev 226422, kdesdk-kate/trunk/kdebase-katepart.install)
===================================================================
--- testing-x86_64/kdebase-katepart.install	                        (rev 0)
+++ testing-x86_64/kdebase-katepart.install	2014-11-19 16:54:55 UTC (rev 226423)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdesdk-kate/repos/testing-x86_64/kdebase-kwrite.install (from rev 226422, kdesdk-kate/trunk/kdebase-kwrite.install)
===================================================================
--- testing-x86_64/kdebase-kwrite.install	                        (rev 0)
+++ testing-x86_64/kdebase-kwrite.install	2014-11-19 16:54:55 UTC (rev 226423)
@@ -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-kate/repos/testing-x86_64/kdesdk-kate.install (from rev 226422, kdesdk-kate/trunk/kdesdk-kate.install)
===================================================================
--- testing-x86_64/kdesdk-kate.install	                        (rev 0)
+++ testing-x86_64/kdesdk-kate.install	2014-11-19 16:54:55 UTC (rev 226423)
@@ -0,0 +1,13 @@
+post_install() {
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+    update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Copied: kdesdk-kate/repos/testing-x86_64/pkgbuild-syntax-highlight.patch (from rev 226422, kdesdk-kate/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-x86_64/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ testing-x86_64/pkgbuild-syntax-highlight.patch	2014-11-19 16:54:55 UTC (rev 226423)
@@ -0,0 +1,11 @@
+--- kate-4.10.80/part/syntax/data/bash.xml~	2013-06-13 09:46:51.569245577 +0000
++++ kate-4.10.80/part/syntax/data/bash.xml	2013-06-13 09:47:31.745637790 +0000
+@@ -8,7 +8,7 @@
+         <!ENTITY noword   "(?![\w$+-])">                <!-- no word, $, + or - following -->
+         <!ENTITY pathpart "([\w_ at .%*?+-]|\\ )">     <!-- valid character in a file name -->
+ ]>
+-<language name="Bash" version="2.17" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert at kde.nl)" license="LGPL">
++<language name="Bash" version="2.17" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert at kde.nl)" license="LGPL">
+ 
+ <!-- (c) 2004 by Wilbert Berendsen (wilbert at kde.nl)
+     Changes by Matthew Woehlke (mw_triad at users.sourceforge.net)


More information about the arch-commits mailing list