[arch-commits] Commit in ktexteditor/repos (6 files)

Jan de Groot jgc at archlinux.org
Thu Mar 31 12:10:24 UTC 2016


    Date: Thursday, March 31, 2016 @ 14:10:24
  Author: jgc
Revision: 263506

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  ktexteditor/repos/gnome-unstable-i686/
  ktexteditor/repos/gnome-unstable-i686/PKGBUILD
    (from rev 263505, ktexteditor/trunk/PKGBUILD)
  ktexteditor/repos/gnome-unstable-i686/pkgbuild-syntax-highlight.patch
    (from rev 263505, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
  ktexteditor/repos/gnome-unstable-x86_64/
  ktexteditor/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 263505, ktexteditor/trunk/PKGBUILD)
  ktexteditor/repos/gnome-unstable-x86_64/pkgbuild-syntax-highlight.patch
    (from rev 263505, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)

-------------------------------------------------------+
 gnome-unstable-i686/PKGBUILD                          |   45 ++++++++++++++++
 gnome-unstable-i686/pkgbuild-syntax-highlight.patch   |   11 +++
 gnome-unstable-x86_64/PKGBUILD                        |   45 ++++++++++++++++
 gnome-unstable-x86_64/pkgbuild-syntax-highlight.patch |   11 +++
 4 files changed, 112 insertions(+)

Copied: ktexteditor/repos/gnome-unstable-i686/PKGBUILD (from rev 263505, ktexteditor/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2016-03-31 12:10:24 UTC (rev 263506)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ktexteditor
+pkgver=5.20.0
+pkgrel=3
+pkgdesc='Advanced embeddable text editor'
+arch=('i686' 'x86_64')
+url='https://community.kde.org/Frameworks'
+license=('LGPL')
+depends=('kparts' 'libgit2')
+makedepends=('extra-cmake-modules' 'python')
+groups=('kf5')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+        'pkgbuild-syntax-highlight.patch'
+	ktexteditor-selection.patch::"https://quickgit.kde.org/?p=ktexteditor.git&a=commitdiff&h=f7f330b2&o=plain")
+md5sums=('4e4cdc9d49dd3a3a865d91ffaec392ba'
+         '3a03efe92f1403991c51f2859ee092f6'
+         '4ddfd71ab48c7e1a7f25333c8bdd0f39')
+
+prepare() {
+  mkdir -p build
+
+  cd ${pkgname}-${pkgver}
+  patch -p0 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+# Fix text selection
+  patch -p1 -i ../ktexteditor-selection.patch
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: ktexteditor/repos/gnome-unstable-i686/pkgbuild-syntax-highlight.patch (from rev 263505, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- gnome-unstable-i686/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ gnome-unstable-i686/pkgbuild-syntax-highlight.patch	2016-03-31 12:10:24 UTC (rev 263506)
@@ -0,0 +1,11 @@
+--- src/syntax/data/bash.xml~	2013-06-13 09:46:51.569245577 +0000
++++ src/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.18" kateversion="5.0" 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.18" kateversion="5.0" 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: ktexteditor/repos/gnome-unstable-x86_64/PKGBUILD (from rev 263505, ktexteditor/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2016-03-31 12:10:24 UTC (rev 263506)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ktexteditor
+pkgver=5.20.0
+pkgrel=3
+pkgdesc='Advanced embeddable text editor'
+arch=('i686' 'x86_64')
+url='https://community.kde.org/Frameworks'
+license=('LGPL')
+depends=('kparts' 'libgit2')
+makedepends=('extra-cmake-modules' 'python')
+groups=('kf5')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+        'pkgbuild-syntax-highlight.patch'
+	ktexteditor-selection.patch::"https://quickgit.kde.org/?p=ktexteditor.git&a=commitdiff&h=f7f330b2&o=plain")
+md5sums=('4e4cdc9d49dd3a3a865d91ffaec392ba'
+         '3a03efe92f1403991c51f2859ee092f6'
+         '4ddfd71ab48c7e1a7f25333c8bdd0f39')
+
+prepare() {
+  mkdir -p build
+
+  cd ${pkgname}-${pkgver}
+  patch -p0 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+# Fix text selection
+  patch -p1 -i ../ktexteditor-selection.patch
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: ktexteditor/repos/gnome-unstable-x86_64/pkgbuild-syntax-highlight.patch (from rev 263505, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- gnome-unstable-x86_64/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ gnome-unstable-x86_64/pkgbuild-syntax-highlight.patch	2016-03-31 12:10:24 UTC (rev 263506)
@@ -0,0 +1,11 @@
+--- src/syntax/data/bash.xml~	2013-06-13 09:46:51.569245577 +0000
++++ src/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.18" kateversion="5.0" 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.18" kateversion="5.0" 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