Package Details: knemo 0.7.7.git20151003-7

Git Clone URL: (read-only, click to copy)
Package Base: knemo
Description: The KDE Network Monitor
Upstream URL:
Licenses: GPL
Submitter: arojas
Maintainer: IslandC0der
Last Packager: IslandC0der
Votes: 8
Popularity: 0.28
First Submitted: 2020-05-29 10:12
Last Updated: 2020-07-31 22:58

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Xwang commented on 2020-06-02 12:44

I would be happy to be credited as contributor. Thank you!

IslandC0der commented on 2020-06-02 10:40

@Xwang Got it! Thanks again for your help. I also optimized make by using $(($(nproc) + 1)) for the -j flag, so compiling should be quite a bit faster. Would you like me to credit you as a contributor?

IslandC0der commented on 2020-06-02 00:17

@Xwang Will do first thing tomorrow morning, thank you so much for your help! <3 Sorry if I haven't been keeping up.

Xwang commented on 2020-05-31 07:58

@IslandCoder Can you please update the patch and PKBUILD files using the ones I have posted yesterday which solve the compile issue?

papavlos commented on 2020-05-30 10:37

@Xwang Thanks a lot for all the workarounds! I have applied it by manual editing of trayicon.h. Running makepkg -ei then compiles and installs succesfuly.

Xwang commented on 2020-05-30 10:28

This is the updated patch file:

--- 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__
--- knemo.orig/src/knemod/trayicon.h    2020-05-30 12:12:20.000000000 +0200
+++ knemo/src/knemod/trayicon.h 2020-05-30 11:57:03.000000000 +0200
@@ -24,6 +24,8 @@

 #include <KStatusNotifierItem>

+#include <QMap>
 class Interface;

 class TrayIcon : public KStatusNotifierItem

and this is the updated PKGBUILD:

# Maintainer: João Figueiredo <jf dot mundox at gmail dot com> (29/05/2020)
# Contributor: Laurent Carlier <>
# Contributor: Andrea Scarpino <>
# Contributor: Sergej Pupykin <>
# Contributor: Stefano Zamprogno <stefano dot zamprogno at gmail dot com>

pkgdesc="The KDE Network Monitor"
depends=('kdelibs4support' 'libksysguard' 'knotifyconfig' 'wireless_tools' 'iw' 'plasma-framework' 'hicolor-icon-theme')
makedepends=('extra-cmake-modules' 'kcmutils' 'plasma-framework' 'kdoctools' 'git' 'kdesignerplugin' 'kinit')
_commit=f3afe2e4b6f091f21a64905965abafd2ef46826d  # frameworks
source=("git://$_commit" knemo-gcc6.patch)

prepare() {
  mkdir build

  cd knemo
# Fix build with GCC 6
  patch -p1 -i ../knemo-gcc6.patch

build() {
  cd build

  cmake ../${pkgname} \
    -DCMAKE_BUILD_TYPE=Release \
  make -j1

package() {
  cd build
  make DESTDIR="${pkgdir}" install

You can remove the -j1 option in the make line, but I've only tested with that option.

Xwang commented on 2020-05-30 10:02

I managed to compile by adding the following line:

#include <QMap>

in the src/knemo/src/knemod/trayicon.h before the class Interface line.

I do not know how to modify the patch file and so I've used makepkg -o, then I've edited the file and executed makepkg -e to build.

If someone can create the correct patch file the problem should be solved.

Xwang commented on 2020-05-30 09:46

I've just found this bug:

which is related to the same error I get trying to compile with the -j1 option:

/home/andreak/tmp/AUR/knemo/src/knemo/src/knemod/trayicon.h:61:24: error: field ‘mScope’ has incomplete type ‘QMap<int, QString>’
   61 |     QMap<int, QString> mScope;
      |                        ^~~~~~
In file included from /usr/include/qt/QtCore/qglobal.h:1296,
                 from /usr/include/qt/QtCore/qnamespace.h:43,
                 from /usr/include/qt/QtCore/qobjectdefs.h:48,
                 from /usr/include/qt/QtCore/qobject.h:46,
                 from /usr/include/qt/QtCore/QObject:1,
                 from /usr/include/KF5/KNotifications/kstatusnotifieritem.h:24,
                 from /usr/include/KF5/KDELibs4Support/KDE/KStatusNotifierItem:1,
                 from /home/andreak/tmp/AUR/knemo/src/knemo/src/knemod/trayicon.h:25,
                 from /home/andreak/tmp/AUR/knemo/src/knemo/src/knemod/trayicon.cpp:21:

Xwang commented on 2020-05-30 07:20

I have the same compile error. Why did they drop this package from the official repository?

tigr72 commented on 2020-05-30 07:07

Error compile :(

make[2]: *** [src/knemod/CMakeFiles/knemo.dir/build.make:199: src/knemod/CMakeFiles/knemo.dir/trayicon.cpp.o] Ошибка 1
make[1]: *** [CMakeFiles/Makefile2:1409: src/knemod/CMakeFiles/knemo.dir/all] Ошибка 2
make: *** [Makefile:150: all] Ошибка 2
==> ОШИБКА: Произошел сбой в build().