Date: Saturday, May 7, 2016 @ 16:48:46 Author: arojas Revision: 174122
Hooks Added: knemo/trunk/knemo-gcc6.patch Modified: knemo/trunk/PKGBUILD Deleted: knemo/trunk/knemo.install ------------------+ PKGBUILD | 14 +++++++++----- knemo-gcc6.patch | 20 ++++++++++++++++++++ knemo.install | 11 ----------- 3 files changed, 29 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-05-07 14:48:13 UTC (rev 174121) +++ PKGBUILD 2016-05-07 14:48:46 UTC (rev 174122) @@ -6,21 +6,25 @@ pkgname=knemo pkgver=0.7.7.git20151003 -pkgrel=1 +pkgrel=2 pkgdesc="The KDE Network Monitor" arch=('i686' 'x86_64') url="http://www.kde-apps.org/content/show.php?content=12956" license=('GPL') depends=('kdelibs4support' 'libksysguard' 'knotifyconfig' 'wireless_tools' 'iw' 'gtk-update-icon-cache') -makedepends=('extra-cmake-modules' 'plasma-framework' 'kdoctools') -install=${pkgname}.install +makedepends=('extra-cmake-modules' 'kcmutils' 'plasma-framework' 'kdoctools' 'python') options=('libtool') #source=(http://kde-apps.org/CONTENT/content-files/12956-${pkgname}-${pkgver}.tar.xz) -source=("http://quickgit.kde.org/?p=knemo.git&a=snapshot&h=7efb4f62344c245e9eb6822df284f8c7f4e97f2f&fmt=tgz") -md5sums=('ab1f02cd06647278141c609fba5f61fb') +source=("http://quickgit.kde.org/?p=knemo.git&a=snapshot&h=7efb4f62344c245e9eb6822df284f8c7f4e97f2f&fmt=tgz" knemo-gcc6.patch) +md5sums=('ab1f02cd06647278141c609fba5f61fb' + 'd243b851c8124a4e6d84221a2fb15215') prepare() { mkdir build + + cd knemo +# Fix build with GCC 6 + patch -p1 -i ../knemo-gcc6.patch } build() { Added: knemo-gcc6.patch =================================================================== --- knemo-gcc6.patch (rev 0) +++ knemo-gcc6.patch 2016-05-07 14:48:46 UTC (rev 174122) @@ -0,0 +1,20 @@ +--- knemo.orig/src/common/utils.cpp 2016-05-07 14:30:45.888889978 +0000 ++++ knemo/src/common/utils.cpp 2016-05-07 14:32:06.985290816 +0000 +@@ -41,6 +41,7 @@ + #include <KSharedConfig> + #include <Plasma/Theme> + #include "data.h" ++#include "math.h" + #include "utils.h" + + #ifdef __linux__ +--- knemo.orig/src/knemod/trayicon.cpp 2015-10-03 17:22:07.000000000 +0000 ++++ knemo/src/knemo/src/knemod/trayicon.cpp 2016-05-07 14:42:30.796566437 +0000 +@@ -22,6 +22,7 @@ + #include "global.h" + #include "interface.h" + #include "knemodaemon.h" ++#include "math.h" + #include "utils.h" + + #ifdef __linux__ Deleted: knemo.install =================================================================== --- knemo.install 2016-05-07 14:48:13 UTC (rev 174121) +++ knemo.install 2016-05-07 14:48:46 UTC (rev 174122) @@ -1,11 +0,0 @@ -post_install() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -}