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

Antonio Rojas arojas at archlinux.org
Mon Apr 6 18:43:17 UTC 2015


    Date: Monday, April 6, 2015 @ 20:43:16
  Author: arojas
Revision: 235541

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

Added:
  kate/repos/extra-i686/PKGBUILD
    (from rev 235540, kate/trunk/PKGBUILD)
  kate/repos/extra-i686/fix-dolphin-hang.patch
    (from rev 235540, kate/trunk/fix-dolphin-hang.patch)
  kate/repos/extra-i686/kate.install
    (from rev 235540, kate/trunk/kate.install)
  kate/repos/extra-i686/kwrite.install
    (from rev 235540, kate/trunk/kwrite.install)
  kate/repos/extra-i686/pkgbuild-syntax-highlight.patch
    (from rev 235540, kate/trunk/pkgbuild-syntax-highlight.patch)
  kate/repos/extra-x86_64/PKGBUILD
    (from rev 235540, kate/trunk/PKGBUILD)
  kate/repos/extra-x86_64/fix-dolphin-hang.patch
    (from rev 235540, kate/trunk/fix-dolphin-hang.patch)
  kate/repos/extra-x86_64/kate.install
    (from rev 235540, kate/trunk/kate.install)
  kate/repos/extra-x86_64/kwrite.install
    (from rev 235540, kate/trunk/kwrite.install)
  kate/repos/extra-x86_64/pkgbuild-syntax-highlight.patch
    (from rev 235540, kate/trunk/pkgbuild-syntax-highlight.patch)
Deleted:
  kate/repos/extra-i686/PKGBUILD
  kate/repos/extra-i686/fix-dolphin-hang.patch
  kate/repos/extra-i686/kate.install
  kate/repos/extra-i686/kwrite.install
  kate/repos/extra-i686/pkgbuild-syntax-highlight.patch
  kate/repos/extra-x86_64/PKGBUILD
  kate/repos/extra-x86_64/fix-dolphin-hang.patch
  kate/repos/extra-x86_64/kate.install
  kate/repos/extra-x86_64/kwrite.install
  kate/repos/extra-x86_64/pkgbuild-syntax-highlight.patch

----------------------------------------------+
 /PKGBUILD                                    |  154 +++++++++++++++++++++++++
 /fix-dolphin-hang.patch                      |  152 ++++++++++++++++++++++++
 /kate.install                                |   26 ++++
 /kwrite.install                              |   24 +++
 /pkgbuild-syntax-highlight.patch             |   22 +++
 extra-i686/PKGBUILD                          |   74 ------------
 extra-i686/fix-dolphin-hang.patch            |   76 ------------
 extra-i686/kate.install                      |   13 --
 extra-i686/kwrite.install                    |   12 -
 extra-i686/pkgbuild-syntax-highlight.patch   |   11 -
 extra-x86_64/PKGBUILD                        |   74 ------------
 extra-x86_64/fix-dolphin-hang.patch          |   76 ------------
 extra-x86_64/kate.install                    |   13 --
 extra-x86_64/kwrite.install                  |   12 -
 extra-x86_64/pkgbuild-syntax-highlight.patch |   11 -
 15 files changed, 378 insertions(+), 372 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2015-04-06 18:42:13 UTC (rev 235540)
+++ extra-i686/PKGBUILD	2015-04-06 18:43:16 UTC (rev 235541)
@@ -1,74 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgbase=kate
-pkgname=('kwrite'
-         'kate')
-pkgver=14.12.3
-pkgrel=1
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels')
-makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework')
-optdepends=('kio-extras: extra protocols support (sftp, fish and more)')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
-        fix-dolphin-hang.patch)
-sha1sums=('57a34ad4dfb8e1a8c8f76244cf571cb1ce8f5c28'
-          '4b15188df9d6cce000022f6f7969bf00ebe702af')
-
-prepare() {
-  mkdir build
-
-  # FS#43513 / https://bugs.kde.org/show_bug.cgi?id=339094
-  cd ${pkgbase}-${pkgver}
-  patch -p1 -i ../fix-dolphin-hang.patch
-}
-
-build() {
-  cd build
-  cmake ../${pkgbase}-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DSYSCONF_INSTALL_DIR=/etc \
-    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-    -DBUILD_TESTING=OFF
-  make
-}
-
-package_kwrite() {
-  pkgdesc="Text Editor"
-  groups=('kde' 'kdebase')
-  url="http://www.kde.org/applications/utilities/kwrite/"
-  install='kwrite.install'
-  replaces=('kdebase-kwrite')
-  conflicts=('kdebase-kwrite')
-  provides=('kdebase-kwrite')
-
-  cd build/kwrite
-  make DESTDIR="${pkgdir}" install
-
-  cd ../../build/doc/kwrite
-  make DESTDIR="${pkgdir}" install
-}
-
-package_kate() {
-  pkgdesc="Advanced Text Editor"
-  groups=('kde' 'kdesdk')
-  url="http://www.kde.org/applications/utilities/kate/"
-  install='kate.install'
-  replaces=('kdesdk-kate')
-  conflicts=('kdesdk-kate')
-  provides=('kdesdk-kate')
-  optdepends=('konsole: open a terminal in Kate')
-
-  cd build/kate
-  make DESTDIR="${pkgdir}" install
-
-  cd ../../build/doc/kate
-  make DESTDIR="${pkgdir}" install
-
-  cd ../../../build/addons
-  make DESTDIR="${pkgdir}" install
-}

Copied: kate/repos/extra-i686/PKGBUILD (from rev 235540, kate/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2015-04-06 18:43:16 UTC (rev 235541)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kate
+pkgname=('kwrite'
+         'kate')
+pkgver=14.12.3
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework')
+optdepends=('kio-extras: extra protocols support (sftp, fish and more)')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
+        fix-dolphin-hang.patch)
+sha1sums=('57a34ad4dfb8e1a8c8f76244cf571cb1ce8f5c28'
+          '4b15188df9d6cce000022f6f7969bf00ebe702af')
+
+prepare() {
+  mkdir build
+
+  # FS#43513 / https://bugs.kde.org/show_bug.cgi?id=339094
+  cd ${pkgbase}-${pkgver}
+  patch -p1 -i ../fix-dolphin-hang.patch
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DSYSCONF_INSTALL_DIR=/etc \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package_kwrite() {
+  pkgdesc="Text Editor"
+  groups=('kde' 'kdebase')
+  url="http://www.kde.org/applications/utilities/kwrite/"
+  install='kwrite.install'
+  replaces=('kdebase-kwrite')
+  conflicts=('kdebase-kwrite')
+  provides=('kdebase-kwrite')
+
+  cd build/kwrite
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../build/doc/kwrite
+  make DESTDIR="${pkgdir}" install
+}
+
+package_kate() {
+  pkgdesc="Advanced Text Editor"
+  groups=('kde' 'kdesdk')
+  url="http://www.kde.org/applications/utilities/kate/"
+  install='kate.install'
+  replaces=('kdesdk-kate')
+  conflicts=('kdesdk-kate')
+  provides=('kdesdk-kate')
+  optdepends=('konsole: open a terminal in Kate')
+
+  cd build/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd "$srcdir"/build/addons
+  make DESTDIR="${pkgdir}" install
+
+  cd "$srcdir"/build/doc/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd "$srcdir"/build/doc/katepart
+  make DESTDIR="${pkgdir}" install
+}

Deleted: extra-i686/fix-dolphin-hang.patch
===================================================================
--- extra-i686/fix-dolphin-hang.patch	2015-04-06 18:42:13 UTC (rev 235540)
+++ extra-i686/fix-dolphin-hang.patch	2015-04-06 18:43:16 UTC (rev 235541)
@@ -1,76 +0,0 @@
-diff -rup kate-14.12.1/CMakeLists.txt kate/CMakeLists.txt
---- kate-14.12.1/CMakeLists.txt	2014-12-09 19:35:28.000000000 +0800
-+++ kate/CMakeLists.txt	2015-01-25 17:16:16.570425122 +0800
-@@ -47,6 +47,12 @@ find_package(KF5 REQUIRED COMPONENTS
-   XmlGui
- )
- 
-+find_package(X11)
-+set(HAVE_X11 ${X11_FOUND})
-+if (HAVE_X11)
-+    find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED X11Extras)
-+endif()
-+
- # use sane compile flags
- add_definitions(
-   -DQT_USE_QSTRINGBUILDER
-diff -rup kate-14.12.1/config.h.cmake kate/config.h.cmake
---- kate-14.12.1/config.h.cmake	2014-12-09 19:35:28.000000000 +0800
-+++ kate/config.h.cmake	2015-01-25 17:08:36.686329148 +0800
-@@ -8,4 +8,6 @@
- #cmakedefine HAVE_CTERMID 1
- #cmakedefine KActivities_FOUND 1
- 
-+#cmakedefine01 HAVE_X11
-+
- #endif
-diff -rup kate-14.12.1/kate/src/kateapp.cpp kate/kate/src/kateapp.cpp
---- kate-14.12.1/kate/src/kateapp.cpp	2014-12-09 19:35:28.000000000 +0800
-+++ kate/kate/src/kateapp.cpp	2015-01-25 17:23:45.624284162 +0800
-@@ -151,9 +151,9 @@ bool KateApp::startupKate()
-     } else if (!m_args.isSet(QStringLiteral("stdin")) && (m_args.positionalArguments().count() == 0)) { // only start session if no files specified
-         // let the user choose session if possible
-         if (!sessionManager()->chooseSession()) {
--#ifdef Q_WS_X11
-+#ifdef HAVE_X11
-             // we will exit kate now, notify the rest of the world we are done
--            KStartupInfo::appStarted(startupId());
-+            KStartupInfo::appStarted(KStartupInfo::startupId());
- #endif
-             return false;
-         }
-@@ -167,8 +167,8 @@ bool KateApp::startupKate()
-     }
- 
-     // notify about start
--#ifdef Q_WS_X11
--    KStartupInfo::setNewStartupId(activeKateMainWindow(), startupId());
-+#ifdef HAVE_X11
-+    KStartupInfo::setNewStartupId(activeKateMainWindow(), KStartupInfo::startupId());
- #endif
- 
-     QTextCodec *codec = m_args.isSet(QStringLiteral("encoding")) ? QTextCodec::codecForName(m_args.value(QStringLiteral("encoding")).toUtf8()) : 0;
-diff -rup kate-14.12.1/kate/src/main.cpp kate/kate/src/main.cpp
---- kate-14.12.1/kate/src/main.cpp	2014-12-09 19:35:28.000000000 +0800
-+++ kate/kate/src/main.cpp	2015-01-25 20:34:33.613003810 +0800
-@@ -25,6 +25,7 @@
- 
- #include <KAboutData>
- #include <KLocalizedString>
-+#include <KStartupInfo>
- #include <kdbusservice.h>
- 
- #include <QByteArray>
-@@ -385,7 +386,11 @@ extern "C" Q_DECL_EXPORT int kdemain(int
-                 QDBusConnection::sessionBus().connect(serviceName, QStringLiteral("/MainApplication"), QStringLiteral("org.kde.Kate.Application"), QStringLiteral("documentClosed"), waiter, SLOT(documentClosed(QString)));
-             }
- 
--    #ifdef Q_WS_X11
-+            // KToolInvocation (and KRun) will wait until we register on dbus
-+            KDBusService dbusService(KDBusService::Multiple);
-+            dbusService.unregister();
-+
-+    #ifdef HAVE_X11
-             // make the world happy, we are started, kind of...
-             KStartupInfo::appStarted();
-     #endif

Copied: kate/repos/extra-i686/fix-dolphin-hang.patch (from rev 235540, kate/trunk/fix-dolphin-hang.patch)
===================================================================
--- extra-i686/fix-dolphin-hang.patch	                        (rev 0)
+++ extra-i686/fix-dolphin-hang.patch	2015-04-06 18:43:16 UTC (rev 235541)
@@ -0,0 +1,76 @@
+diff -rup kate-14.12.1/CMakeLists.txt kate/CMakeLists.txt
+--- kate-14.12.1/CMakeLists.txt	2014-12-09 19:35:28.000000000 +0800
++++ kate/CMakeLists.txt	2015-01-25 17:16:16.570425122 +0800
+@@ -47,6 +47,12 @@ find_package(KF5 REQUIRED COMPONENTS
+   XmlGui
+ )
+ 
++find_package(X11)
++set(HAVE_X11 ${X11_FOUND})
++if (HAVE_X11)
++    find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED X11Extras)
++endif()
++
+ # use sane compile flags
+ add_definitions(
+   -DQT_USE_QSTRINGBUILDER
+diff -rup kate-14.12.1/config.h.cmake kate/config.h.cmake
+--- kate-14.12.1/config.h.cmake	2014-12-09 19:35:28.000000000 +0800
++++ kate/config.h.cmake	2015-01-25 17:08:36.686329148 +0800
+@@ -8,4 +8,6 @@
+ #cmakedefine HAVE_CTERMID 1
+ #cmakedefine KActivities_FOUND 1
+ 
++#cmakedefine01 HAVE_X11
++
+ #endif
+diff -rup kate-14.12.1/kate/src/kateapp.cpp kate/kate/src/kateapp.cpp
+--- kate-14.12.1/kate/src/kateapp.cpp	2014-12-09 19:35:28.000000000 +0800
++++ kate/kate/src/kateapp.cpp	2015-01-25 17:23:45.624284162 +0800
+@@ -151,9 +151,9 @@ bool KateApp::startupKate()
+     } else if (!m_args.isSet(QStringLiteral("stdin")) && (m_args.positionalArguments().count() == 0)) { // only start session if no files specified
+         // let the user choose session if possible
+         if (!sessionManager()->chooseSession()) {
+-#ifdef Q_WS_X11
++#ifdef HAVE_X11
+             // we will exit kate now, notify the rest of the world we are done
+-            KStartupInfo::appStarted(startupId());
++            KStartupInfo::appStarted(KStartupInfo::startupId());
+ #endif
+             return false;
+         }
+@@ -167,8 +167,8 @@ bool KateApp::startupKate()
+     }
+ 
+     // notify about start
+-#ifdef Q_WS_X11
+-    KStartupInfo::setNewStartupId(activeKateMainWindow(), startupId());
++#ifdef HAVE_X11
++    KStartupInfo::setNewStartupId(activeKateMainWindow(), KStartupInfo::startupId());
+ #endif
+ 
+     QTextCodec *codec = m_args.isSet(QStringLiteral("encoding")) ? QTextCodec::codecForName(m_args.value(QStringLiteral("encoding")).toUtf8()) : 0;
+diff -rup kate-14.12.1/kate/src/main.cpp kate/kate/src/main.cpp
+--- kate-14.12.1/kate/src/main.cpp	2014-12-09 19:35:28.000000000 +0800
++++ kate/kate/src/main.cpp	2015-01-25 20:34:33.613003810 +0800
+@@ -25,6 +25,7 @@
+ 
+ #include <KAboutData>
+ #include <KLocalizedString>
++#include <KStartupInfo>
+ #include <kdbusservice.h>
+ 
+ #include <QByteArray>
+@@ -385,7 +386,11 @@ extern "C" Q_DECL_EXPORT int kdemain(int
+                 QDBusConnection::sessionBus().connect(serviceName, QStringLiteral("/MainApplication"), QStringLiteral("org.kde.Kate.Application"), QStringLiteral("documentClosed"), waiter, SLOT(documentClosed(QString)));
+             }
+ 
+-    #ifdef Q_WS_X11
++            // KToolInvocation (and KRun) will wait until we register on dbus
++            KDBusService dbusService(KDBusService::Multiple);
++            dbusService.unregister();
++
++    #ifdef HAVE_X11
+             // make the world happy, we are started, kind of...
+             KStartupInfo::appStarted();
+     #endif

Deleted: extra-i686/kate.install
===================================================================
--- extra-i686/kate.install	2015-04-06 18:42:13 UTC (rev 235540)
+++ extra-i686/kate.install	2015-04-06 18:43:16 UTC (rev 235541)
@@ -1,13 +0,0 @@
-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: kate/repos/extra-i686/kate.install (from rev 235540, kate/trunk/kate.install)
===================================================================
--- extra-i686/kate.install	                        (rev 0)
+++ extra-i686/kate.install	2015-04-06 18:43:16 UTC (rev 235541)
@@ -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
+}

Deleted: extra-i686/kwrite.install
===================================================================
--- extra-i686/kwrite.install	2015-04-06 18:42:13 UTC (rev 235540)
+++ extra-i686/kwrite.install	2015-04-06 18:43:16 UTC (rev 235541)
@@ -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: kate/repos/extra-i686/kwrite.install (from rev 235540, kate/trunk/kwrite.install)
===================================================================
--- extra-i686/kwrite.install	                        (rev 0)
+++ extra-i686/kwrite.install	2015-04-06 18:43:16 UTC (rev 235541)
@@ -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: extra-i686/pkgbuild-syntax-highlight.patch
===================================================================
--- extra-i686/pkgbuild-syntax-highlight.patch	2015-04-06 18:42:13 UTC (rev 235540)
+++ extra-i686/pkgbuild-syntax-highlight.patch	2015-04-06 18:43:16 UTC (rev 235541)
@@ -1,11 +0,0 @@
---- 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: kate/repos/extra-i686/pkgbuild-syntax-highlight.patch (from rev 235540, kate/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- extra-i686/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ extra-i686/pkgbuild-syntax-highlight.patch	2015-04-06 18:43:16 UTC (rev 235541)
@@ -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)

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2015-04-06 18:42:13 UTC (rev 235540)
+++ extra-x86_64/PKGBUILD	2015-04-06 18:43:16 UTC (rev 235541)
@@ -1,74 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgbase=kate
-pkgname=('kwrite'
-         'kate')
-pkgver=14.12.3
-pkgrel=1
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels')
-makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework')
-optdepends=('kio-extras: extra protocols support (sftp, fish and more)')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
-        fix-dolphin-hang.patch)
-sha1sums=('57a34ad4dfb8e1a8c8f76244cf571cb1ce8f5c28'
-          '4b15188df9d6cce000022f6f7969bf00ebe702af')
-
-prepare() {
-  mkdir build
-
-  # FS#43513 / https://bugs.kde.org/show_bug.cgi?id=339094
-  cd ${pkgbase}-${pkgver}
-  patch -p1 -i ../fix-dolphin-hang.patch
-}
-
-build() {
-  cd build
-  cmake ../${pkgbase}-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DSYSCONF_INSTALL_DIR=/etc \
-    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-    -DBUILD_TESTING=OFF
-  make
-}
-
-package_kwrite() {
-  pkgdesc="Text Editor"
-  groups=('kde' 'kdebase')
-  url="http://www.kde.org/applications/utilities/kwrite/"
-  install='kwrite.install'
-  replaces=('kdebase-kwrite')
-  conflicts=('kdebase-kwrite')
-  provides=('kdebase-kwrite')
-
-  cd build/kwrite
-  make DESTDIR="${pkgdir}" install
-
-  cd ../../build/doc/kwrite
-  make DESTDIR="${pkgdir}" install
-}
-
-package_kate() {
-  pkgdesc="Advanced Text Editor"
-  groups=('kde' 'kdesdk')
-  url="http://www.kde.org/applications/utilities/kate/"
-  install='kate.install'
-  replaces=('kdesdk-kate')
-  conflicts=('kdesdk-kate')
-  provides=('kdesdk-kate')
-  optdepends=('konsole: open a terminal in Kate')
-
-  cd build/kate
-  make DESTDIR="${pkgdir}" install
-
-  cd ../../build/doc/kate
-  make DESTDIR="${pkgdir}" install
-
-  cd ../../../build/addons
-  make DESTDIR="${pkgdir}" install
-}

Copied: kate/repos/extra-x86_64/PKGBUILD (from rev 235540, kate/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-04-06 18:43:16 UTC (rev 235541)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kate
+pkgname=('kwrite'
+         'kate')
+pkgver=14.12.3
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework')
+optdepends=('kio-extras: extra protocols support (sftp, fish and more)')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
+        fix-dolphin-hang.patch)
+sha1sums=('57a34ad4dfb8e1a8c8f76244cf571cb1ce8f5c28'
+          '4b15188df9d6cce000022f6f7969bf00ebe702af')
+
+prepare() {
+  mkdir build
+
+  # FS#43513 / https://bugs.kde.org/show_bug.cgi?id=339094
+  cd ${pkgbase}-${pkgver}
+  patch -p1 -i ../fix-dolphin-hang.patch
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DSYSCONF_INSTALL_DIR=/etc \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package_kwrite() {
+  pkgdesc="Text Editor"
+  groups=('kde' 'kdebase')
+  url="http://www.kde.org/applications/utilities/kwrite/"
+  install='kwrite.install'
+  replaces=('kdebase-kwrite')
+  conflicts=('kdebase-kwrite')
+  provides=('kdebase-kwrite')
+
+  cd build/kwrite
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../build/doc/kwrite
+  make DESTDIR="${pkgdir}" install
+}
+
+package_kate() {
+  pkgdesc="Advanced Text Editor"
+  groups=('kde' 'kdesdk')
+  url="http://www.kde.org/applications/utilities/kate/"
+  install='kate.install'
+  replaces=('kdesdk-kate')
+  conflicts=('kdesdk-kate')
+  provides=('kdesdk-kate')
+  optdepends=('konsole: open a terminal in Kate')
+
+  cd build/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd "$srcdir"/build/addons
+  make DESTDIR="${pkgdir}" install
+
+  cd "$srcdir"/build/doc/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd "$srcdir"/build/doc/katepart
+  make DESTDIR="${pkgdir}" install
+}

Deleted: extra-x86_64/fix-dolphin-hang.patch
===================================================================
--- extra-x86_64/fix-dolphin-hang.patch	2015-04-06 18:42:13 UTC (rev 235540)
+++ extra-x86_64/fix-dolphin-hang.patch	2015-04-06 18:43:16 UTC (rev 235541)
@@ -1,76 +0,0 @@
-diff -rup kate-14.12.1/CMakeLists.txt kate/CMakeLists.txt
---- kate-14.12.1/CMakeLists.txt	2014-12-09 19:35:28.000000000 +0800
-+++ kate/CMakeLists.txt	2015-01-25 17:16:16.570425122 +0800
-@@ -47,6 +47,12 @@ find_package(KF5 REQUIRED COMPONENTS
-   XmlGui
- )
- 
-+find_package(X11)
-+set(HAVE_X11 ${X11_FOUND})
-+if (HAVE_X11)
-+    find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED X11Extras)
-+endif()
-+
- # use sane compile flags
- add_definitions(
-   -DQT_USE_QSTRINGBUILDER
-diff -rup kate-14.12.1/config.h.cmake kate/config.h.cmake
---- kate-14.12.1/config.h.cmake	2014-12-09 19:35:28.000000000 +0800
-+++ kate/config.h.cmake	2015-01-25 17:08:36.686329148 +0800
-@@ -8,4 +8,6 @@
- #cmakedefine HAVE_CTERMID 1
- #cmakedefine KActivities_FOUND 1
- 
-+#cmakedefine01 HAVE_X11
-+
- #endif
-diff -rup kate-14.12.1/kate/src/kateapp.cpp kate/kate/src/kateapp.cpp
---- kate-14.12.1/kate/src/kateapp.cpp	2014-12-09 19:35:28.000000000 +0800
-+++ kate/kate/src/kateapp.cpp	2015-01-25 17:23:45.624284162 +0800
-@@ -151,9 +151,9 @@ bool KateApp::startupKate()
-     } else if (!m_args.isSet(QStringLiteral("stdin")) && (m_args.positionalArguments().count() == 0)) { // only start session if no files specified
-         // let the user choose session if possible
-         if (!sessionManager()->chooseSession()) {
--#ifdef Q_WS_X11
-+#ifdef HAVE_X11
-             // we will exit kate now, notify the rest of the world we are done
--            KStartupInfo::appStarted(startupId());
-+            KStartupInfo::appStarted(KStartupInfo::startupId());
- #endif
-             return false;
-         }
-@@ -167,8 +167,8 @@ bool KateApp::startupKate()
-     }
- 
-     // notify about start
--#ifdef Q_WS_X11
--    KStartupInfo::setNewStartupId(activeKateMainWindow(), startupId());
-+#ifdef HAVE_X11
-+    KStartupInfo::setNewStartupId(activeKateMainWindow(), KStartupInfo::startupId());
- #endif
- 
-     QTextCodec *codec = m_args.isSet(QStringLiteral("encoding")) ? QTextCodec::codecForName(m_args.value(QStringLiteral("encoding")).toUtf8()) : 0;
-diff -rup kate-14.12.1/kate/src/main.cpp kate/kate/src/main.cpp
---- kate-14.12.1/kate/src/main.cpp	2014-12-09 19:35:28.000000000 +0800
-+++ kate/kate/src/main.cpp	2015-01-25 20:34:33.613003810 +0800
-@@ -25,6 +25,7 @@
- 
- #include <KAboutData>
- #include <KLocalizedString>
-+#include <KStartupInfo>
- #include <kdbusservice.h>
- 
- #include <QByteArray>
-@@ -385,7 +386,11 @@ extern "C" Q_DECL_EXPORT int kdemain(int
-                 QDBusConnection::sessionBus().connect(serviceName, QStringLiteral("/MainApplication"), QStringLiteral("org.kde.Kate.Application"), QStringLiteral("documentClosed"), waiter, SLOT(documentClosed(QString)));
-             }
- 
--    #ifdef Q_WS_X11
-+            // KToolInvocation (and KRun) will wait until we register on dbus
-+            KDBusService dbusService(KDBusService::Multiple);
-+            dbusService.unregister();
-+
-+    #ifdef HAVE_X11
-             // make the world happy, we are started, kind of...
-             KStartupInfo::appStarted();
-     #endif

Copied: kate/repos/extra-x86_64/fix-dolphin-hang.patch (from rev 235540, kate/trunk/fix-dolphin-hang.patch)
===================================================================
--- extra-x86_64/fix-dolphin-hang.patch	                        (rev 0)
+++ extra-x86_64/fix-dolphin-hang.patch	2015-04-06 18:43:16 UTC (rev 235541)
@@ -0,0 +1,76 @@
+diff -rup kate-14.12.1/CMakeLists.txt kate/CMakeLists.txt
+--- kate-14.12.1/CMakeLists.txt	2014-12-09 19:35:28.000000000 +0800
++++ kate/CMakeLists.txt	2015-01-25 17:16:16.570425122 +0800
+@@ -47,6 +47,12 @@ find_package(KF5 REQUIRED COMPONENTS
+   XmlGui
+ )
+ 
++find_package(X11)
++set(HAVE_X11 ${X11_FOUND})
++if (HAVE_X11)
++    find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED X11Extras)
++endif()
++
+ # use sane compile flags
+ add_definitions(
+   -DQT_USE_QSTRINGBUILDER
+diff -rup kate-14.12.1/config.h.cmake kate/config.h.cmake
+--- kate-14.12.1/config.h.cmake	2014-12-09 19:35:28.000000000 +0800
++++ kate/config.h.cmake	2015-01-25 17:08:36.686329148 +0800
+@@ -8,4 +8,6 @@
+ #cmakedefine HAVE_CTERMID 1
+ #cmakedefine KActivities_FOUND 1
+ 
++#cmakedefine01 HAVE_X11
++
+ #endif
+diff -rup kate-14.12.1/kate/src/kateapp.cpp kate/kate/src/kateapp.cpp
+--- kate-14.12.1/kate/src/kateapp.cpp	2014-12-09 19:35:28.000000000 +0800
++++ kate/kate/src/kateapp.cpp	2015-01-25 17:23:45.624284162 +0800
+@@ -151,9 +151,9 @@ bool KateApp::startupKate()
+     } else if (!m_args.isSet(QStringLiteral("stdin")) && (m_args.positionalArguments().count() == 0)) { // only start session if no files specified
+         // let the user choose session if possible
+         if (!sessionManager()->chooseSession()) {
+-#ifdef Q_WS_X11
++#ifdef HAVE_X11
+             // we will exit kate now, notify the rest of the world we are done
+-            KStartupInfo::appStarted(startupId());
++            KStartupInfo::appStarted(KStartupInfo::startupId());
+ #endif
+             return false;
+         }
+@@ -167,8 +167,8 @@ bool KateApp::startupKate()
+     }
+ 
+     // notify about start
+-#ifdef Q_WS_X11
+-    KStartupInfo::setNewStartupId(activeKateMainWindow(), startupId());
++#ifdef HAVE_X11
++    KStartupInfo::setNewStartupId(activeKateMainWindow(), KStartupInfo::startupId());
+ #endif
+ 
+     QTextCodec *codec = m_args.isSet(QStringLiteral("encoding")) ? QTextCodec::codecForName(m_args.value(QStringLiteral("encoding")).toUtf8()) : 0;
+diff -rup kate-14.12.1/kate/src/main.cpp kate/kate/src/main.cpp
+--- kate-14.12.1/kate/src/main.cpp	2014-12-09 19:35:28.000000000 +0800
++++ kate/kate/src/main.cpp	2015-01-25 20:34:33.613003810 +0800
+@@ -25,6 +25,7 @@
+ 
+ #include <KAboutData>
+ #include <KLocalizedString>
++#include <KStartupInfo>
+ #include <kdbusservice.h>
+ 
+ #include <QByteArray>
+@@ -385,7 +386,11 @@ extern "C" Q_DECL_EXPORT int kdemain(int
+                 QDBusConnection::sessionBus().connect(serviceName, QStringLiteral("/MainApplication"), QStringLiteral("org.kde.Kate.Application"), QStringLiteral("documentClosed"), waiter, SLOT(documentClosed(QString)));
+             }
+ 
+-    #ifdef Q_WS_X11
++            // KToolInvocation (and KRun) will wait until we register on dbus
++            KDBusService dbusService(KDBusService::Multiple);
++            dbusService.unregister();
++
++    #ifdef HAVE_X11
+             // make the world happy, we are started, kind of...
+             KStartupInfo::appStarted();
+     #endif

Deleted: extra-x86_64/kate.install
===================================================================
--- extra-x86_64/kate.install	2015-04-06 18:42:13 UTC (rev 235540)
+++ extra-x86_64/kate.install	2015-04-06 18:43:16 UTC (rev 235541)
@@ -1,13 +0,0 @@
-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: kate/repos/extra-x86_64/kate.install (from rev 235540, kate/trunk/kate.install)
===================================================================
--- extra-x86_64/kate.install	                        (rev 0)
+++ extra-x86_64/kate.install	2015-04-06 18:43:16 UTC (rev 235541)
@@ -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
+}

Deleted: extra-x86_64/kwrite.install
===================================================================
--- extra-x86_64/kwrite.install	2015-04-06 18:42:13 UTC (rev 235540)
+++ extra-x86_64/kwrite.install	2015-04-06 18:43:16 UTC (rev 235541)
@@ -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: kate/repos/extra-x86_64/kwrite.install (from rev 235540, kate/trunk/kwrite.install)
===================================================================
--- extra-x86_64/kwrite.install	                        (rev 0)
+++ extra-x86_64/kwrite.install	2015-04-06 18:43:16 UTC (rev 235541)
@@ -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: extra-x86_64/pkgbuild-syntax-highlight.patch
===================================================================
--- extra-x86_64/pkgbuild-syntax-highlight.patch	2015-04-06 18:42:13 UTC (rev 235540)
+++ extra-x86_64/pkgbuild-syntax-highlight.patch	2015-04-06 18:43:16 UTC (rev 235541)
@@ -1,11 +0,0 @@
---- 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: kate/repos/extra-x86_64/pkgbuild-syntax-highlight.patch (from rev 235540, kate/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- extra-x86_64/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ extra-x86_64/pkgbuild-syntax-highlight.patch	2015-04-06 18:43:16 UTC (rev 235541)
@@ -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