[arch-commits] Commit in umbrello/trunk (PKGBUILD qwindowtitle.patch)
Antonio Rojas
arojas at archlinux.org
Sun Aug 23 11:21:46 UTC 2015
Date: Sunday, August 23, 2015 @ 13:21:45
Author: arojas
Revision: 244737
Use upstream patch
Added:
umbrello/trunk/qwindowtitle.patch
Modified:
umbrello/trunk/PKGBUILD
--------------------+
PKGBUILD | 9 +++++----
qwindowtitle.patch | 23 +++++++++++++++++++++++
2 files changed, 28 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-23 11:07:00 UTC (rev 244736)
+++ PKGBUILD 2015-08-23 11:21:45 UTC (rev 244737)
@@ -14,12 +14,16 @@
conflicts=(kdesdk-umbrello)
replaces=(kdesdk-umbrello)
groups=(kde-applications kdesdk)
-source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" 'qwindowtitle.patch')
install=$pkgname.install
md5sums=('8eab51485322ddbc69543e0b9ab0624f')
prepare() {
mkdir -p build
+
+ cd $pkgname-$pkgver
+# Fix launching umbrello from the desktop file
+ patch -p1 -i ../qwindowtitle.patch
}
build() {
@@ -37,8 +41,5 @@
package() {
cd build
make DESTDIR="$pkgdir" install
-
-# Fix launching umbrello from the desktop file
- sed -e 's|caption|qwindowtitle|g' -i "$pkgdir"/usr/share/applications/org.kde.umbrello.desktop
}
Added: qwindowtitle.patch
===================================================================
--- qwindowtitle.patch (rev 0)
+++ qwindowtitle.patch 2015-08-23 11:21:45 UTC (rev 244737)
@@ -0,0 +1,23 @@
+From: Ralf Habacker <ralf.habacker at freenet.de>
+Date: Sun, 23 Aug 2015 08:48:27 +0000
+Subject: Fix 'KF5 version can't be launched from the menu'.
+X-Git-Url: http://quickgit.kde.org/?p=umbrello.git&a=commitdiff&h=947d7f4651a8b2478435796795036fa3ec8f0b7f
+---
+Fix 'KF5 version can't be launched from the menu'.
+
+BUG:351621
+---
+
+
+--- a/umbrello/umbrello.desktop
++++ b/umbrello/umbrello.desktop
+@@ -1,7 +1,7 @@
+ # KDE Config File
+ [Desktop Entry]
+ Type=Application
+-Exec=umbrello %u -caption %c
++Exec=umbrello %u -qwindowtitle %c
+ Icon=umbrello
+ X-DocPath=umbrello/index.html
+ Terminal=false
+
More information about the arch-commits
mailing list