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

Andrea Scarpino andrea at archlinux.org
Sun Mar 4 09:19:16 EST 2012


    Date: Sunday, March 4, 2012 @ 09:19:16
  Author: andrea
Revision: 152035

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

Added:
  kdesdk-kate/repos/staging-i686/
  kdesdk-kate/repos/staging-i686/PKGBUILD
    (from rev 152034, kdesdk-kate/trunk/PKGBUILD)
  kdesdk-kate/repos/staging-i686/kdebase-kwrite.install
    (from rev 152034, kdesdk-kate/trunk/kdebase-kwrite.install)
  kdesdk-kate/repos/staging-i686/kdesdk-kate.install
    (from rev 152034, kdesdk-kate/trunk/kdesdk-kate.install)
  kdesdk-kate/repos/staging-i686/pkgbuild-syntax-highlight.patch
    (from rev 152034, kdesdk-kate/trunk/pkgbuild-syntax-highlight.patch)
  kdesdk-kate/repos/staging-x86_64/
  kdesdk-kate/repos/staging-x86_64/PKGBUILD
    (from rev 152034, kdesdk-kate/trunk/PKGBUILD)
  kdesdk-kate/repos/staging-x86_64/kdebase-kwrite.install
    (from rev 152034, kdesdk-kate/trunk/kdebase-kwrite.install)
  kdesdk-kate/repos/staging-x86_64/kdesdk-kate.install
    (from rev 152034, kdesdk-kate/trunk/kdesdk-kate.install)
  kdesdk-kate/repos/staging-x86_64/pkgbuild-syntax-highlight.patch
    (from rev 152034, kdesdk-kate/trunk/pkgbuild-syntax-highlight.patch)
Modified:
  kdesdk-kate/repos/extra-i686/PKGBUILD
  kdesdk-kate/repos/extra-x86_64/PKGBUILD

------------------------------------------------+
 extra-i686/PKGBUILD                            |    2 
 extra-x86_64/PKGBUILD                          |    2 
 staging-i686/PKGBUILD                          |   61 +++++++++++++++++++++++
 staging-i686/kdebase-kwrite.install            |   12 ++++
 staging-i686/kdesdk-kate.install               |   13 ++++
 staging-i686/pkgbuild-syntax-highlight.patch   |   11 ++++
 staging-x86_64/PKGBUILD                        |   61 +++++++++++++++++++++++
 staging-x86_64/kdebase-kwrite.install          |   12 ++++
 staging-x86_64/kdesdk-kate.install             |   13 ++++
 staging-x86_64/pkgbuild-syntax-highlight.patch |   11 ++++
 10 files changed, 196 insertions(+), 2 deletions(-)

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-03-04 14:18:36 UTC (rev 152034)
+++ extra-i686/PKGBUILD	2012-03-04 14:19:16 UTC (rev 152035)
@@ -9,7 +9,7 @@
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 makedepends=('kdelibs ''cmake' 'automoc4')
-source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.bz2"
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kate-${pkgver}.tar.xz"
         'pkgbuild-syntax-highlight.patch')
 sha1sums=('01cfffa6e905103c1b23d4006ba5a26844cc97aa'
           '0a928253bd2077f0264d96a6c8823c69c47b6a8d')

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-03-04 14:18:36 UTC (rev 152034)
+++ extra-x86_64/PKGBUILD	2012-03-04 14:19:16 UTC (rev 152035)
@@ -9,7 +9,7 @@
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 makedepends=('kdelibs ''cmake' 'automoc4')
-source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.bz2"
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kate-${pkgver}.tar.xz"
         'pkgbuild-syntax-highlight.patch')
 sha1sums=('01cfffa6e905103c1b23d4006ba5a26844cc97aa'
           '0a928253bd2077f0264d96a6c8823c69c47b6a8d')

Copied: kdesdk-kate/repos/staging-i686/PKGBUILD (from rev 152034, kdesdk-kate/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-03-04 14:19:16 UTC (rev 152035)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kdesdk-kate
+pkgname=('kdebase-kwrite'
+         'kdesdk-kate')
+pkgver=4.8.1
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+makedepends=('kdelibs ''cmake' 'automoc4')
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kate-${pkgver}.tar.xz"
+        'pkgbuild-syntax-highlight.patch')
+sha1sums=('d5bd513cd2bfefc2d345547115d0cb0a9d3e6143'
+          '0a928253bd2077f0264d96a6c8823c69c47b6a8d')
+
+build() {
+  cd "${srcdir}"/kate-${pkgver}
+  patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kate-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_KTEXTEDITOR=OFF
+  make
+}
+
+package_kdebase-kwrite() {
+  pkgdesc="Text Editor"
+  depends=('kdebase-runtime')
+  groups=('kde' 'kdebase')
+  url="http://www.kde.org/applications/utilities/kwrite/"
+  install='kdebase-kwrite.install'
+
+  cd "${srcdir}"/build/kwrite
+  make DESTDIR="${pkgdir}" install
+
+  cd "${srcdir}"/build/part
+  make DESTDIR="${pkgdir}" install
+
+  cd "${srcdir}"/build/doc/kwrite
+  make DESTDIR="${pkgdir}" install
+}
+
+package_kdesdk-kate() {
+  pkgdesc="Advanced Text Editor"
+  depends=('kdebase-kwrite')
+  groups=('kde' 'kdesdk')
+  url="http://www.kde.org/applications/utilities/kate/"
+  install='kdesdk-kate.install'
+  optdepends=('kdebase-konsole: open a terminal in Kate')
+
+  cd "${srcdir}"/build/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd "${srcdir}"/build/doc/kate
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdesdk-kate/repos/staging-i686/kdebase-kwrite.install (from rev 152034, kdesdk-kate/trunk/kdebase-kwrite.install)
===================================================================
--- staging-i686/kdebase-kwrite.install	                        (rev 0)
+++ staging-i686/kdebase-kwrite.install	2012-03-04 14:19:16 UTC (rev 152035)
@@ -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/staging-i686/kdesdk-kate.install (from rev 152034, kdesdk-kate/trunk/kdesdk-kate.install)
===================================================================
--- staging-i686/kdesdk-kate.install	                        (rev 0)
+++ staging-i686/kdesdk-kate.install	2012-03-04 14:19:16 UTC (rev 152035)
@@ -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/staging-i686/pkgbuild-syntax-highlight.patch (from rev 152034, kdesdk-kate/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- staging-i686/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ staging-i686/pkgbuild-syntax-highlight.patch	2012-03-04 14:19:16 UTC (rev 152035)
@@ -0,0 +1,11 @@
+--- kate-4.7.80/part/syntax/data/bash.xml~	2011-11-20 06:14:30.581097154 +0000
++++ kate-4.7.80/part/syntax/data/bash.xml	2011-11-20 06:14:45.494553146 +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.14" 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.14" 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/staging-x86_64/PKGBUILD (from rev 152034, kdesdk-kate/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-03-04 14:19:16 UTC (rev 152035)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kdesdk-kate
+pkgname=('kdebase-kwrite'
+         'kdesdk-kate')
+pkgver=4.8.1
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+makedepends=('kdelibs ''cmake' 'automoc4')
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kate-${pkgver}.tar.xz"
+        'pkgbuild-syntax-highlight.patch')
+sha1sums=('d5bd513cd2bfefc2d345547115d0cb0a9d3e6143'
+          '0a928253bd2077f0264d96a6c8823c69c47b6a8d')
+
+build() {
+  cd "${srcdir}"/kate-${pkgver}
+  patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kate-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_KTEXTEDITOR=OFF
+  make
+}
+
+package_kdebase-kwrite() {
+  pkgdesc="Text Editor"
+  depends=('kdebase-runtime')
+  groups=('kde' 'kdebase')
+  url="http://www.kde.org/applications/utilities/kwrite/"
+  install='kdebase-kwrite.install'
+
+  cd "${srcdir}"/build/kwrite
+  make DESTDIR="${pkgdir}" install
+
+  cd "${srcdir}"/build/part
+  make DESTDIR="${pkgdir}" install
+
+  cd "${srcdir}"/build/doc/kwrite
+  make DESTDIR="${pkgdir}" install
+}
+
+package_kdesdk-kate() {
+  pkgdesc="Advanced Text Editor"
+  depends=('kdebase-kwrite')
+  groups=('kde' 'kdesdk')
+  url="http://www.kde.org/applications/utilities/kate/"
+  install='kdesdk-kate.install'
+  optdepends=('kdebase-konsole: open a terminal in Kate')
+
+  cd "${srcdir}"/build/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd "${srcdir}"/build/doc/kate
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdesdk-kate/repos/staging-x86_64/kdebase-kwrite.install (from rev 152034, kdesdk-kate/trunk/kdebase-kwrite.install)
===================================================================
--- staging-x86_64/kdebase-kwrite.install	                        (rev 0)
+++ staging-x86_64/kdebase-kwrite.install	2012-03-04 14:19:16 UTC (rev 152035)
@@ -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/staging-x86_64/kdesdk-kate.install (from rev 152034, kdesdk-kate/trunk/kdesdk-kate.install)
===================================================================
--- staging-x86_64/kdesdk-kate.install	                        (rev 0)
+++ staging-x86_64/kdesdk-kate.install	2012-03-04 14:19:16 UTC (rev 152035)
@@ -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/staging-x86_64/pkgbuild-syntax-highlight.patch (from rev 152034, kdesdk-kate/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- staging-x86_64/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ staging-x86_64/pkgbuild-syntax-highlight.patch	2012-03-04 14:19:16 UTC (rev 152035)
@@ -0,0 +1,11 @@
+--- kate-4.7.80/part/syntax/data/bash.xml~	2011-11-20 06:14:30.581097154 +0000
++++ kate-4.7.80/part/syntax/data/bash.xml	2011-11-20 06:14:45.494553146 +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.14" 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.14" 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