[arch-commits] Commit in kate/trunk (PKGBUILD)

2019-08-20 Thread Felix Yan via arch-commits
Date: Tuesday, August 20, 2019 @ 10:48:35
  Author: felixonmars
Revision: 360487

upgpkg: kate 19.08.0-2

rebuild for upstream respin

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-20 09:19:40 UTC (rev 360486)
+++ PKGBUILD2019-08-20 10:48:35 UTC (rev 360487)
@@ -5,12 +5,12 @@
 pkgbase=kate
 pkgname=(kwrite kate)
 pkgver=19.08.0
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 license=(GPL LGPL FDL)
 makedepends=(extra-cmake-modules kdoctools plasma-framework knewstuff 
kitemmodels ktexteditor threadweaver kactivities)
 
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgbase-$pkgver.tar.xz"{,.sig})
-sha256sums=('79fbda36a0c80e2838d3d882e9546732403320bbd343cec4a984cdb0e8131582'
+sha256sums=('6acc3172429191ab47722d788f324292ea5ee2f1e419d48c72200579b9b30878'
 'SKIP')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid 

   F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck 



[arch-commits] Commit in kate/trunk (PKGBUILD)

2018-06-14 Thread Antonio Rojas via arch-commits
Date: Thursday, June 14, 2018 @ 07:01:07
  Author: arojas
Revision: 326961

Fix QuickOpen with Qt 5.11 (FS#59006)

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-14 06:05:40 UTC (rev 326960)
+++ PKGBUILD2018-06-14 07:01:07 UTC (rev 326961)
@@ -6,18 +6,23 @@
 pkgbase=kate
 pkgname=(kwrite kate)
 pkgver=18.04.2
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 license=(GPL LGPL FDL)
 makedepends=(extra-cmake-modules kdoctools plasma-framework knewstuff 
ktexteditor threadweaver kitemmodels kactivities)
-source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgbase-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgbase-$pkgver.tar.xz"{,.sig}
+
kdebug-395039.patch::"https://cgit.kde.org/kate.git/patch/?id=291b6899;)
 sha256sums=('1678accdb134b02312c03556b07be6184e69db98d7669a4ccef5d4bf3f27c880'
-'SKIP')
+'SKIP'
+'98701a7ed8cb92c131d959df953e5e5f7fd4e647eedafa55e6506a0b4bfa1613')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid 

   F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck 

 
 prepare() {
   mkdir -p build
+
+  cd $pkgbase-$pkgver
+  patch -p1 -i ../kdebug-395039.patch # Fix QuickOpen with Qt 5.11 
https://bugs.kde.org/show_bug.cgi?id=395039
 }
 
 build() {


[arch-commits] Commit in kate/trunk (PKGBUILD)

2017-07-13 Thread Antonio Rojas
Date: Thursday, July 13, 2017 @ 20:01:57
  Author: arojas
Revision: 300501

libgit 0.26 rebuild

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-07-13 20:01:53 UTC (rev 300500)
+++ PKGBUILD2017-07-13 20:01:57 UTC (rev 300501)
@@ -6,7 +6,7 @@
 pkgbase=kate
 pkgname=(kwrite kate)
 pkgver=17.04.3
-pkgrel=1
+pkgrel=2
 arch=(i686 x86_64)
 license=(GPL LGPL FDL)
 makedepends=(extra-cmake-modules kdoctools python plasma-framework knewstuff 
ktexteditor threadweaver kitemmodels kactivities)


[arch-commits] Commit in kate/trunk (PKGBUILD)

2017-07-09 Thread Antonio Rojas
Date: Sunday, July 9, 2017 @ 09:34:58
  Author: arojas
Revision: 299925

libgit2 0.26 rebuild

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |   34 --
 1 file changed, 12 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-07-09 09:22:04 UTC (rev 299924)
+++ PKGBUILD2017-07-09 09:34:58 UTC (rev 299925)
@@ -4,19 +4,16 @@
 # Contributor: Andrea Scarpino 
 
 pkgbase=kate
-pkgname=('kwrite'
- 'kate')
+pkgname=(kwrite kate)
 pkgver=17.04.2
-pkgrel=1
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 
'knewstuff' 'ktexteditor'
- 'threadweaver' 'kitemmodels' 'kactivities')
+pkgrel=2
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+makedepends=(extra-cmake-modules kdoctools python plasma-framework knewstuff 
ktexteditor threadweaver kitemmodels kactivities)
 
source=("https://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"{,.sig})
 sha256sums=('1045c5bee48ade8c229096eeaa8696eba4dac118bccc2a535f9ac553602fcaaf'
 'SKIP')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid 

-options=(!emptydirs)
 
 prepare() {
   mkdir -p build
@@ -24,11 +21,10 @@
 
 build() {
   cd build
-  cmake ../${pkgbase}-${pkgver} \
+  cmake ../$pkgbase-$pkgver \
 -DCMAKE_BUILD_TYPE=Release \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DKDE_INSTALL_LIBDIR=lib \
--DSYSCONF_INSTALL_DIR=/etc \
 -DBUILD_TESTING=OFF
   make
 }
@@ -35,15 +31,12 @@
 
 package_kwrite() {
   pkgdesc="Text Editor"
-  groups=('kde-applications' 'kdebase')
+  groups=(kde-applications kdebase)
   url="https://www.kde.org/applications/utilities/kwrite/;
-  depends=('ktexteditor' 'kactivities' 'hicolor-icon-theme')
-  replaces=('kdebase-kwrite')
-  conflicts=('kdebase-kwrite')
-  provides=('kdebase-kwrite')
+  depends=(ktexteditor kactivities hicolor-icon-theme)
 
   cd build
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 
   find "$pkgdir" -type f -name '*kate*' -exec rm {} \;
   rm -r "$pkgdir"/usr/lib/qt/plugins/ktexteditor \
@@ -55,16 +48,13 @@
 
 package_kate() {
   pkgdesc="Advanced Text Editor"
-  groups=('kde-applications' 'kdebase')
+  groups=(kde-applications kdebase)
   url="https://www.kde.org/applications/utilities/kate/;
-  depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kitemmodels' 
'kactivities' 'hicolor-icon-theme')
-  replaces=('kdesdk-kate')
-  conflicts=('kdesdk-kate')
-  provides=('kdesdk-kate')
+  depends=(knewstuff ktexteditor threadweaver kitemmodels kactivities 
hicolor-icon-theme)
   optdepends=('konsole: open a terminal in Kate')
 
   cd build
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 
   find "$pkgdir" -type f -name '*kwrite*' -exec rm {} \;
   rm -r "$pkgdir"/usr/share/doc/HTML/*/kwrite


[arch-commits] Commit in kate/trunk (PKGBUILD)

2017-04-23 Thread Antonio Rojas
Date: Sunday, April 23, 2017 @ 09:53:59
  Author: arojas
Revision: 294253

libgit 0.25 rebuild

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-23 09:53:36 UTC (rev 294252)
+++ PKGBUILD2017-04-23 09:53:59 UTC (rev 294253)
@@ -7,7 +7,7 @@
 pkgname=('kwrite'
  'kate')
 pkgver=17.04.0
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 
'knewstuff' 'ktexteditor'


[arch-commits] Commit in kate/trunk (PKGBUILD)

2017-04-23 Thread Antonio Rojas
Date: Sunday, April 23, 2017 @ 09:21:44
  Author: arojas
Revision: 294008

Rebuild against [extra]

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-23 09:21:30 UTC (rev 294007)
+++ PKGBUILD2017-04-23 09:21:44 UTC (rev 294008)
@@ -7,7 +7,7 @@
 pkgname=('kwrite'
  'kate')
 pkgver=17.04.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 
'knewstuff' 'ktexteditor'


[arch-commits] Commit in kate/trunk (PKGBUILD)

2017-04-05 Thread Antonio Rojas
Date: Wednesday, April 5, 2017 @ 15:03:38
  Author: arojas
Revision: 292163

Reenable git plugin

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-05 15:02:32 UTC (rev 292162)
+++ PKGBUILD2017-04-05 15:03:38 UTC (rev 292163)
@@ -7,7 +7,7 @@
 pkgname=('kwrite'
  'kate')
 pkgver=16.12.3
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 
'knewstuff' 'ktexteditor'


[arch-commits] Commit in kate/trunk (PKGBUILD)

2017-03-30 Thread Antonio Rojas
Date: Thursday, March 30, 2017 @ 11:11:16
  Author: arojas
Revision: 291848

Disable libgit support until Qt is ported to openssl 1.1

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-30 10:26:08 UTC (rev 291847)
+++ PKGBUILD2017-03-30 11:11:16 UTC (rev 291848)
@@ -7,7 +7,7 @@
 pkgname=('kwrite'
  'kate')
 pkgver=16.12.3
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 
'knewstuff' 'ktexteditor'


[arch-commits] Commit in kate/trunk (PKGBUILD)

2017-03-09 Thread Antonio Rojas
Date: Thursday, March 9, 2017 @ 18:13:47
  Author: arojas
Revision: 290447

libgit2 0.25 rebuild

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-09 17:51:03 UTC (rev 290446)
+++ PKGBUILD2017-03-09 18:13:47 UTC (rev 290447)
@@ -7,7 +7,7 @@
 pkgname=('kwrite'
  'kate')
 pkgver=16.12.3
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 
'knewstuff' 'ktexteditor'


[arch-commits] Commit in kate/trunk (PKGBUILD)

2017-03-04 Thread Jan de Groot
Date: Saturday, March 4, 2017 @ 21:53:59
  Author: jgc
Revision: 289994

upgpkg: kate 16.12.2-2

libgit2 rebuild

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-04 21:53:53 UTC (rev 289993)
+++ PKGBUILD2017-03-04 21:53:59 UTC (rev 289994)
@@ -7,14 +7,14 @@
 pkgname=('kwrite'
  'kate')
 pkgver=16.12.2
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 
'knewstuff' 'ktexteditor'
  'threadweaver' 'kitemmodels' 'kactivities')
 
source=("https://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"{,.sig})
-sha1sums=('0ddd843b0f5b7a036c1ec06e84be604361b1c122'
-  'SKIP')
+sha256sums=('57745e90d625b52178b7cb3362393602b6c075f587e07b1e1fd731d15afc78c2'
+'SKIP')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid 

 
 prepare() {


[arch-commits] Commit in kate/trunk (PKGBUILD kdebug-363297.patch)

2016-05-29 Thread Antonio Rojas
Date: Sunday, May 29, 2016 @ 18:24:26
  Author: arojas
Revision: 268734

Fix opening urls with file:// protocol (FS#49391)

Added:
  kate/trunk/kdebug-363297.patch
Modified:
  kate/trunk/PKGBUILD

-+
 PKGBUILD|   11 +++--
 kdebug-363297.patch |  103 ++
 2 files changed, 111 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-29 14:27:16 UTC (rev 268733)
+++ PKGBUILD2016-05-29 16:24:26 UTC (rev 268734)
@@ -7,16 +7,21 @@
 pkgname=('kwrite'
  'kate')
 pkgver=16.04.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 
'knewstuff' 'ktexteditor'
  'threadweaver' 'kitemmodels' 'kactivities')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz;)
-sha1sums=('ba9a31b7293f9b31f55090287804a8d0e9196a36')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz;
 kdebug-363297.patch)
+sha1sums=('ba9a31b7293f9b31f55090287804a8d0e9196a36'
+  '1efebf617f8407a5b2d58338ea8860fbe86cdf90')
 
 prepare() {
   mkdir -p build
+
+# Fix opening file:// url's http://bugs.kde.org/show_bug.cgi?id=363297
+  cd $pkgbase-$pkgver
+  patch -p1 -i ../kdebug-363297.patch
 }
 
 build() {

Added: kdebug-363297.patch
===
--- kdebug-363297.patch (rev 0)
+++ kdebug-363297.patch 2016-05-29 16:24:26 UTC (rev 268734)
@@ -0,0 +1,103 @@
+--- a/urlinfo.h.orig   2016-04-30 21:08:20.0 +
 b/urlinfo.h2016-05-29 16:12:59.684139033 +
+@@ -25,38 +25,79 @@
+ #include 
+ #include 
+ 
+-// Represents a file to be opened, consisting of its URL and the cursor to 
jump to.
+-struct UrlInfo
++/**
++ * Represents a file to be opened, consisting of its URL and the cursor to 
jump to.
++ */
++class UrlInfo
+ {
+-// Parses a file path argument and determines its line number and column 
and full path
++public:
++/**
++ * Parses a file path argument and determines its line number and column 
and full path
++ * @param path path passed on e.g. command line to parse into an URL
++ */
+ UrlInfo(QString path)
+ : cursor(KTextEditor::Cursor::invalid())
+ {
+-// convert to an url
+-const QRegularExpression 
withProtocol(QStringLiteral("^[a-zA-Z]+://")); // TODO: remove after Qt 
supports this on its own
+-if (withProtocol.match(path).hasMatch()) {
+-url = QUrl::fromUserInput(path);
+-} else {
++/**
++ * construct url:
++ *   - make relative paths absolute using the current working 
directory
++ *   - prefer local file, if in doubt!
++ */
++url = QUrl::fromUserInput(path, QDir::currentPath(), 
QUrl::AssumeLocalFile);
++
++/**
++ * in some cases, this will fail, e.g. if you have line/column specs 
like test.c:10:1
++ * => fallback: assume a local file and just convert it to an url
++ */
++if (!url.isValid()) {
++/**
++ * create absolute file path, we will e.g. pass this over dbus to 
other processes
++ */
+ url = QUrl::fromLocalFile(QDir::current().absoluteFilePath(path));
+ }
+ 
+-if (url.isLocalFile() && !QFile::exists(path)) {
+-// Allow opening specific lines in documents, like mydoc.cpp:10
+-// also supports columns, i.e. mydoc.cpp:10:42
+-static const QRegularExpression 
pattern(QStringLiteral(":(\\d+)(?::(\\d+))?$"));
+-const auto match = pattern.match(path);
+-if (match.isValid()) {
+-path.chop(match.capturedLength());
+-int line = match.captured(1).toInt() - 1;
+-// don't use an invalid column when the line is valid
+-int column = qMax(0, match.captured(2).toInt() - 1);
+-url = 
QUrl::fromLocalFile(QDir::current().absoluteFilePath(path));
+-cursor = {line, column};
+-}
++/**
++ * Allow opening specific lines in documents, like mydoc.cpp:10
++ * also supports columns, i.e. mydoc.cpp:10:42
++ * ignores trailing colons, as compile errors often use that format
++ */
++if (url.isLocalFile() && !QFile::exists(url.toLocalFile())) {
++/**
++ * update path from url, might have been file://...
++ */
++path = url.toLocalFile();
++
++/**
++ * try to match the line/colum spec, else we are done here
++ */
++const auto match = 
QRegularExpression(QStringLiteral(":(\\d+)(?::(\\d+))?:?$")).match(path);
++if (!match.isValid())
++

[arch-commits] Commit in kate/trunk (PKGBUILD kate.install kwrite.install)

2016-04-27 Thread Felix Yan
Date: Wednesday, April 27, 2016 @ 19:29:38
  Author: fyan
Revision: 266289

upgpkg: kate 16.04.0-2

Hooks rebuild (part 1)

Modified:
  kate/trunk/PKGBUILD
Deleted:
  kate/trunk/kate.install
  kate/trunk/kwrite.install

+
 PKGBUILD   |4 +---
 kate.install   |   13 -
 kwrite.install |   12 
 3 files changed, 1 insertion(+), 28 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-27 17:22:35 UTC (rev 266288)
+++ PKGBUILD2016-04-27 17:29:38 UTC (rev 266289)
@@ -7,7 +7,7 @@
 pkgname=('kwrite'
  'kate')
 pkgver=16.04.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 
'knewstuff' 'ktexteditor'
@@ -36,7 +36,6 @@
   groups=('kde-applications' 'kdebase')
   url="http://www.kde.org/applications/utilities/kwrite/;
   depends=('ktexteditor' 'kded' 'kactivities' 'hicolor-icon-theme')
-  install='kwrite.install'
   replaces=('kdebase-kwrite')
   conflicts=('kdebase-kwrite')
   provides=('kdebase-kwrite')
@@ -53,7 +52,6 @@
   groups=('kde-applications' 'kdebase')
   url="http://www.kde.org/applications/utilities/kate/;
   depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels' 
'kactivities' 'hicolor-icon-theme')
-  install='kate.install'
   replaces=('kdesdk-kate')
   conflicts=('kdesdk-kate')
   provides=('kdesdk-kate')

Deleted: kate.install
===
--- kate.install2016-04-27 17:22:35 UTC (rev 266288)
+++ kate.install2016-04-27 17:29:38 UTC (rev 266289)
@@ -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
-}

Deleted: kwrite.install
===
--- kwrite.install  2016-04-27 17:22:35 UTC (rev 266288)
+++ kwrite.install  2016-04-27 17:29:38 UTC (rev 266289)
@@ -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
-}


[arch-commits] Commit in kate/trunk (PKGBUILD)

2016-03-31 Thread Jan de Groot
Date: Thursday, March 31, 2016 @ 14:17:58
  Author: jgc
Revision: 263507

upgpkg: kate 15.12.3-2

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-03-31 12:10:24 UTC (rev 263506)
+++ PKGBUILD2016-03-31 12:17:58 UTC (rev 263507)
@@ -7,7 +7,7 @@
 pkgname=('kwrite'
  'kate')
 pkgver=15.12.3
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 
'knewstuff' 'ktexteditor'


[arch-commits] Commit in kate/trunk (PKGBUILD)

2015-12-13 Thread Antonio Rojas
Date: Sunday, December 13, 2015 @ 10:18:02
  Author: arojas
Revision: 256017

Fix lingering process with KF 5.17 (FS#47352)

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-12 23:31:19 UTC (rev 256016)
+++ PKGBUILD2015-12-13 09:18:02 UTC (rev 256017)
@@ -6,16 +6,21 @@
 pkgname=('kwrite'
  'kate')
 pkgver=15.08.3
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels' 
'kactivities-frameworks')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz;)
-sha1sums=('df6d4fbfb5af79aa67051b1967fb00aecefcd920')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz;
 lingering-process.patch)
+sha1sums=('df6d4fbfb5af79aa67051b1967fb00aecefcd920'
+  'c3c017c429f3db6c458cd905d51356dc63d4a00c')
 
 prepare() {
   mkdir -p build
+
+# Fix lingering process after closing window
+  cd $pkgbase-$pkgver
+  patch -p1 -i ../lingering-process.patch
 }
 
 build() {


[arch-commits] Commit in kate/trunk (PKGBUILD)

2015-12-08 Thread Allan McRae
Date: Tuesday, December 8, 2015 @ 13:59:44
  Author: allan
Revision: 253817

C++11 ABI rebuild

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-08 12:59:42 UTC (rev 253816)
+++ PKGBUILD2015-12-08 12:59:44 UTC (rev 253817)
@@ -6,7 +6,7 @@
 pkgname=('kwrite'
  'kate')
 pkgver=15.08.3
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels' 
'kactivities-frameworks')


[arch-commits] Commit in kate/trunk (PKGBUILD)

2015-08-29 Thread Antonio Rojas
Date: Saturday, August 29, 2015 @ 10:24:49
  Author: arojas
Revision: 244999

libgit2 0.23 rebuild

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-29 08:17:07 UTC (rev 244998)
+++ PKGBUILD2015-08-29 08:24:49 UTC (rev 244999)
@@ -6,7 +6,7 @@
 pkgname=('kwrite'
  'kate')
 pkgver=15.08.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels' 
'kactivities-frameworks')


[arch-commits] Commit in kate/trunk (PKGBUILD)

2015-04-06 Thread Antonio Rojas
Date: Monday, April 6, 2015 @ 20:42:13
  Author: arojas
Revision: 235540

Add missing docs (FS#44476)

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-04-06 09:14:19 UTC (rev 235539)
+++ PKGBUILD2015-04-06 18:42:13 UTC (rev 235540)
@@ -6,7 +6,7 @@
 pkgname=('kwrite'
  'kate')
 pkgver=14.12.3
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels')
@@ -66,9 +66,12 @@
   cd build/kate
   make DESTDIR=${pkgdir} install
 
-  cd ../../build/doc/kate
+  cd $srcdir/build/addons
   make DESTDIR=${pkgdir} install
 
-  cd ../../../build/addons
+  cd $srcdir/build/doc/kate
   make DESTDIR=${pkgdir} install
+
+  cd $srcdir/build/doc/katepart
+  make DESTDIR=${pkgdir} install
 }


[arch-commits] Commit in kate/trunk (PKGBUILD)

2015-03-04 Thread Felix Yan
Date: Wednesday, March 4, 2015 @ 09:59:03
  Author: fyan
Revision: 232538

upgpkg: kate 14.12.3-1

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-04 08:40:10 UTC (rev 232537)
+++ PKGBUILD2015-03-04 08:59:03 UTC (rev 232538)
@@ -5,8 +5,8 @@
 pkgbase=kate
 pkgname=('kwrite'
  'kate')
-pkgver=14.12.2
-pkgrel=2
+pkgver=14.12.3
+pkgrel=1
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels')
@@ -14,7 +14,7 @@
 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=('bc3a5b1213fbe96756261daadf9ff8f94e74fd9c'
+sha1sums=('57a34ad4dfb8e1a8c8f76244cf571cb1ce8f5c28'
   '4b15188df9d6cce22f6f7969bf00ebe702af')
 
 prepare() {


[arch-commits] Commit in kate/trunk (PKGBUILD fix-dolphin-hang.patch)

2015-02-04 Thread Felix Yan
Date: Wednesday, February 4, 2015 @ 11:22:52
  Author: fyan
Revision: 230743

upgpkg: kate 14.12.2-2

add a patch to fix FS#43513

Added:
  kate/trunk/fix-dolphin-hang.patch
Modified:
  kate/trunk/PKGBUILD

+
 PKGBUILD   |   12 +--
 fix-dolphin-hang.patch |   76 +++
 2 files changed, 85 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-02-04 10:11:17 UTC (rev 230742)
+++ PKGBUILD2015-02-04 10:22:52 UTC (rev 230743)
@@ -6,17 +6,23 @@
 pkgname=('kwrite'
  'kate')
 pkgver=14.12.2
-pkgrel=1
+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;)
-sha1sums=('bc3a5b1213fbe96756261daadf9ff8f94e74fd9c')
+source=(http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz;
+fix-dolphin-hang.patch)
+sha1sums=('bc3a5b1213fbe96756261daadf9ff8f94e74fd9c'
+  '4b15188df9d6cce22f6f7969bf00ebe702af')
 
 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() {

Added: fix-dolphin-hang.patch
===
--- fix-dolphin-hang.patch  (rev 0)
+++ fix-dolphin-hang.patch  2015-02-04 10:22:52 UTC (rev 230743)
@@ -0,0 +1,76 @@
+diff -rup kate-14.12.1/CMakeLists.txt kate/CMakeLists.txt
+--- kate-14.12.1/CMakeLists.txt2014-12-09 19:35:28.0 +0800
 kate/CMakeLists.txt2015-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.cmake2014-12-09 19:35:28.0 +0800
 kate/config.h.cmake2015-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.0 +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.0 +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


[arch-commits] Commit in kate/trunk (PKGBUILD)

2015-02-03 Thread Felix Yan
Date: Wednesday, February 4, 2015 @ 05:08:37
  Author: fyan
Revision: 230430

upgpkg: kate 14.12.2-1

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-02-04 04:06:49 UTC (rev 230429)
+++ PKGBUILD2015-02-04 04:08:37 UTC (rev 230430)
@@ -5,8 +5,8 @@
 pkgbase=kate
 pkgname=('kwrite'
  'kate')
-pkgver=14.12.1
-pkgrel=4
+pkgver=14.12.2
+pkgrel=1
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels')
@@ -13,7 +13,7 @@
 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;)
-sha1sums=('e7097f07f9876c44e482a88d7fdae0db92aa2359')
+sha1sums=('bc3a5b1213fbe96756261daadf9ff8f94e74fd9c')
 
 prepare() {
   mkdir build


[arch-commits] Commit in kate/trunk (PKGBUILD)

2015-01-27 Thread Andrea Scarpino
Date: Tuesday, January 27, 2015 @ 19:03:36
  Author: andrea
Revision: 230134

upgpkg: kate 14.12.1-4

plasma-framework is needed only for the applet

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-01-27 18:01:08 UTC (rev 230133)
+++ PKGBUILD2015-01-27 18:03:36 UTC (rev 230134)
@@ -6,13 +6,13 @@
 pkgname=('kwrite'
  'kate')
 pkgver=14.12.1
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
-depends=('knewstuff' 'ktexteditor' 'plasma-framework' 'threadweaver' 'kded' 
'kitemmodels')
-makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+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/kate-${pkgver}.tar.xz;)
+source=(http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz;)
 sha1sums=('e7097f07f9876c44e482a88d7fdae0db92aa2359')
 
 prepare() {
@@ -21,13 +21,13 @@
 
 build() {
   cd build
-  cmake ../kate-${pkgver} \
+  cmake ../${pkgbase}-${pkgver} \
 -DCMAKE_BUILD_TYPE=Release \
--DBUILD_TESTING=OFF \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DCMAKE_INSTALL_LIBDIR=lib \
 -DSYSCONF_INSTALL_DIR=/etc \
--DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+-DBUILD_TESTING=OFF
   make
 }
 


[arch-commits] Commit in kate/trunk (PKGBUILD kdesdk-kate.install)

2015-01-25 Thread Andrea Scarpino
Date: Sunday, January 25, 2015 @ 13:23:57
  Author: andrea
Revision: 229985

upgpkg: kate 14.12.1-3

Add kio-extras as optional dep

Modified:
  kate/trunk/PKGBUILD
Deleted:
  kate/trunk/kdesdk-kate.install

-+
 PKGBUILD|5 ++---
 kdesdk-kate.install |   13 -
 2 files changed, 2 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-01-25 12:22:18 UTC (rev 229984)
+++ PKGBUILD2015-01-25 12:23:57 UTC (rev 229985)
@@ -6,18 +6,17 @@
 pkgname=('kwrite'
  'kate')
 pkgver=14.12.1
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 depends=('knewstuff' 'ktexteditor' 'plasma-framework' 'threadweaver' 'kded' 
'kitemmodels')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+optdepends=('kio-extras: extra protocols support (sftp, fish and more)')
 
source=(http://download.kde.org/stable/applications/${pkgver}/src/kate-${pkgver}.tar.xz;)
 sha1sums=('e7097f07f9876c44e482a88d7fdae0db92aa2359')
 
 prepare() {
   mkdir build
-
-  cd kate-${pkgver}
 }
 
 build() {

Deleted: kdesdk-kate.install
===
--- kdesdk-kate.install 2015-01-25 12:22:18 UTC (rev 229984)
+++ kdesdk-kate.install 2015-01-25 12:23:57 UTC (rev 229985)
@@ -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
-}


[arch-commits] Commit in kate/trunk (PKGBUILD)

2015-01-17 Thread Felix Yan
Date: Saturday, January 17, 2015 @ 10:00:13
  Author: fyan
Revision: 229481

upgpkg: kate 14.12.1-2

depend on kded (FS#43485)

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-01-17 08:24:50 UTC (rev 229480)
+++ PKGBUILD2015-01-17 09:00:13 UTC (rev 229481)
@@ -6,10 +6,10 @@
 pkgname=('kwrite'
  'kate')
 pkgver=14.12.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
-depends=('knewstuff' 'ktexteditor' 'plasma-framework' 'threadweaver' 'kinit' 
'kitemmodels')
+depends=('knewstuff' 'ktexteditor' 'plasma-framework' 'threadweaver' 'kded' 
'kitemmodels')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python')
 
source=(http://download.kde.org/stable/applications/${pkgver}/src/kate-${pkgver}.tar.xz;)
 sha1sums=('e7097f07f9876c44e482a88d7fdae0db92aa2359')