[arch-commits] Commit in kdelibs/trunk (PKGBUILD fix-knotify-filepath.patch)
Andrea Scarpino
andrea at archlinux.org
Thu Dec 29 13:52:34 UTC 2011
Date: Thursday, December 29, 2011 @ 08:52:33
Author: andrea
Revision: 145731
Fix filepath in KNotify (FS#27757)
Added:
kdelibs/trunk/fix-knotify-filepath.patch
Modified:
kdelibs/trunk/PKGBUILD
----------------------------+
PKGBUILD | 11 ++++++++---
fix-knotify-filepath.patch | 13 +++++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-12-29 13:52:20 UTC (rev 145730)
+++ PKGBUILD 2011-12-29 13:52:33 UTC (rev 145731)
@@ -4,7 +4,7 @@
pkgname=kdelibs
pkgver=4.7.95
-pkgrel=3
+pkgrel=4
pkgdesc="KDE Core Libraries"
arch=('i686' 'x86_64')
url='http://www.kde.org'
@@ -17,10 +17,12 @@
replaces=('kdelibs-experimental')
install=${pkgname}.install
source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
- 'kde-applications-menu.patch' 'archlinux-menu.patch')
+ 'kde-applications-menu.patch' 'archlinux-menu.patch'
+ 'fix-knotify-filepath.patch')
sha1sums=('6760074426f19152865cb7f8089b34feb5abadeb'
'86ee8c8660f19de8141ac99cd6943964d97a1ed7'
- '63a850ab4196b9d06934f2b4a13acd9f7739bc67')
+ '63a850ab4196b9d06934f2b4a13acd9f7739bc67'
+ '3312f6005aa56a9b992c74008fe5b314f1c8ffba')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
@@ -30,6 +32,9 @@
# add Archlinux menu entry
patch -p1 -i "${srcdir}"/archlinux-menu.patch
+ # https://bugs.kde.org/show_bug.cgi?id=285028
+ patch -p1 -i "${srcdir}"/fix-knotify-filepath.patch
+
cd "${srcdir}"
mkdir build
cd build
Added: fix-knotify-filepath.patch
===================================================================
--- fix-knotify-filepath.patch (rev 0)
+++ fix-knotify-filepath.patch 2011-12-29 13:52:33 UTC (rev 145731)
@@ -0,0 +1,13 @@
+diff --git a/knotify/config/knotifyconfigactionswidget.cpp b/knotify/config/knotifyconfigactionswidget.cpp
+index 88d18b6..0e76658 100644
+--- a/knotify/config/knotifyconfigactionswidget.cpp
++++ b/knotify/config/knotifyconfigactionswidget.cpp
+@@ -128,7 +128,7 @@ void KNotifyConfigActionsWidget::slotPlay( )
+ KUrl soundURL = m_ui.Sound_select->url();
+ if ( soundURL.isRelative() )
+ {
+- QString soundString = soundURL.toLocalFile();
++ QString soundString = m_ui.Sound_select->text();
+ // we need a way to get the application name in order to ba able to do this :
+ /*QString search = QString("%1/sounds/%2").arg(config->appname).arg(soundFile);
+ search = KGlobal::mainComponent().dirs()->findResource("data", search);
More information about the arch-commits
mailing list