author | Antonio Rojas
<arojas@archlinux.org> 2015-12-16 07:08:40 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2015-12-16 07:08:40 UTC |
parent | 32335c088112ce27272188f49e12997b33d1c612 |
PKGBUILD | +9 | -11 |
lingering-process.patch | +0 | -26 |
diff --git a/PKGBUILD b/PKGBUILD index 3f8ec16..ecc97a0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,25 +1,21 @@ # Maintainer: Felix Yan <felixonmars@archlinux.org> +# Maintainer: Antonio Rojas <arojas@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> pkgbase=kate pkgname=('kwrite' 'kate') -pkgver=15.08.3 -pkgrel=3 +pkgver=15.12.0 +pkgrel=1 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" lingering-process.patch) -sha1sums=('df6d4fbfb5af79aa67051b1967fb00aecefcd920' - 'c3c017c429f3db6c458cd905d51356dc63d4a00c') +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=('1036e78967774d3120e75a53a92e02b2cec3a928') prepare() { mkdir -p build - -# Fix lingering process after closing window - cd $pkgbase-$pkgver - patch -p1 -i ../lingering-process.patch } build() { @@ -38,6 +34,7 @@ package_kwrite() { pkgdesc="Text Editor" 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') @@ -54,6 +51,7 @@ package_kate() { pkgdesc="Advanced Text Editor" 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') diff --git a/lingering-process.patch b/lingering-process.patch deleted file mode 100644 index e7d982e..0000000 --- a/lingering-process.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: Andreas Hartmetz <ahartmetz@gmail.com> -Date: Sat, 05 Dec 2015 15:31:24 +0000 -Subject: setQuitOnLastWindowClosed(false) causes lingering processes. Remove. -X-Git-Url: http://quickgit.kde.org/?p=kate.git&a=commitdiff&h=cd0163d7b956ace0e786a76d8211d06790a2c174 ---- -setQuitOnLastWindowClosed(false) causes lingering processes. Remove. - -Previously, it was set to true again later from -KMainWindowPrivate::init(). I have changed that in KMainWindowPrivate -so that applications have a better chance to set the property as they -like - commit 155f524dd79add7d in kxmlgui. -For Kate, true seems to be the correct setting. ---- - - ---- a/kate/src/main.cpp -+++ b/kate/src/main.cpp -@@ -133,7 +133,6 @@ - app.setApplicationDisplayName(aboutData.displayName()); - app.setOrganizationDomain(aboutData.organizationDomain()); - app.setApplicationVersion(aboutData.version()); -- app.setQuitOnLastWindowClosed(false); - - /** - * set the program icon -