[arch-commits] Commit in kdelibs/trunk (PKGBUILD fix-knotify-filepath.patch)

2012-03-04 Thread Andrea Scarpino
Date: Sunday, March 4, 2012 @ 06:07:21
  Author: andrea
Revision: 151932

KDE 4.8.1

Modified:
  kdelibs/trunk/PKGBUILD
Deleted:
  kdelibs/trunk/fix-knotify-filepath.patch

+
 PKGBUILD   |   17 ++---
 fix-knotify-filepath.patch |   13 -
 2 files changed, 6 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-03-04 11:06:51 UTC (rev 151931)
+++ PKGBUILD2012-03-04 11:07:21 UTC (rev 151932)
@@ -3,8 +3,8 @@
 # Contributor: Pierre Schmitz 
 
 pkgname=kdelibs
-pkgver=4.8.0
-pkgrel=3
+pkgver=4.8.1
+pkgrel=1
 pkgdesc="KDE Core Libraries"
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
@@ -16,13 +16,11 @@
 makedepends=('cmake' 'automoc4' 'avahi' 'libgl' 'hspell')
 replaces=('kdelibs-experimental')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2";
-'kde-applications-menu.patch' 'archlinux-menu.patch'
-'fix-knotify-filepath.patch')
-sha1sums=('5e4744405734e6c3ce572ef7d16054390692b38a'
+source=("http://download.kde.org/stable/${pkgver}/src/xz/${pkgname}-${pkgver}.tar.xz";
+'kde-applications-menu.patch' 'archlinux-menu.patch')
+sha1sums=('da4e13f63ac340619351e9a2f4211cce8ec4fdf8'
   '86ee8c8660f19de8141ac99cd6943964d97a1ed7'
-  '63a850ab4196b9d06934f2b4a13acd9f7739bc67'
-  '3312f6005aa56a9b992c74008fe5b314f1c8ffba')
+  '63a850ab4196b9d06934f2b4a13acd9f7739bc67')
 
 build() {
cd "${srcdir}"/${pkgname}-${pkgver}
@@ -32,9 +30,6 @@
# 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

Deleted: fix-knotify-filepath.patch
===
--- fix-knotify-filepath.patch  2012-03-04 11:06:51 UTC (rev 151931)
+++ fix-knotify-filepath.patch  2012-03-04 11:07:21 UTC (rev 151932)
@@ -1,13 +0,0 @@
-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);



[arch-commits] Commit in kdelibs/trunk (PKGBUILD fix-knotify-filepath.patch)

2011-12-29 Thread Andrea Scarpino
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
===
--- PKGBUILD2011-12-29 13:52:20 UTC (rev 145730)
+++ PKGBUILD2011-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);