`CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
CMakeLists.txt:19 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find KF5Wayland (missing: KF5Wayland_DIR)
-- Could NOT find KF5Wayland: found neither KF5WaylandConfig.cmake nor kf5wayland-config.cmake
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find KF5 (missing: Wayland) (found suitable version "5.104.0",
minimum required is "5.38.0")
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)
CMakeLists.txt:19 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/shankar/Downloads/applet-window-appmenu-0.8.0/build/CMakeFiles/CMakeOutput.log".
make: No targets specified and no makefile found. Stop.
[sudo] password for shankar:
make: No rule to make target 'install'. Stop.
`
System Information:
OS : Kubuntu 23.04
KDE Plasma Version : 5.27.4
Graphic Platform : Wayland
Qt: 5.15.8
KDE Frameworks: 5.104.0
kf5-config: 1.0
UPDATE:
I installed these
sudo apt install cmake extra-cmake-modules qtdeclarative5-dev libqt5x11extras5-dev libkf5iconthemes-dev libkf5plasma-dev libkf5windowsystem-dev libkf5declarative-dev libkf5xmlgui-dev libkf5activities-dev build-essential libxcb-util-dev libkf5wayland-dev git gettext libkf5archive-dev libkf5notifications-dev libxcb-util0-dev libsm-dev libkf5crash-dev libkf5newstuff-dev libxcb-shape0-dev libxcb-randr0-dev libx11-dev libx11-xcb-dev kirigami2-dev
after this I did "sh install.sh" from the home/applet-window-appmenu-0.8.0
OUTPUT
`install.sh: 1: [: -a: unexpected operator
mkdir: cannot create directory ‘build’: File exists
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
CMakeLists.txt:19 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KF5Wayland: /usr/lib/x86_64-linux-gnu/cmake/KF5Wayland/KF5WaylandConfig.cmake (found version "5.104.0")
-- Found KF5: success (found suitable version "5.104.0", minimum required is "5.38.0") found components: Plasma Wayland WindowSystem ConfigWidgets
CMake Warning at CMakeLists.txt:21 (find_package):
By not providing "FindLibTaskManager.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"LibTaskManager", but CMake did not find one.
Could not find a package configuration file provided by "LibTaskManager"
with any of the following names:
Add the installation prefix of "LibTaskManager" to CMAKE_PREFIX_PATH or set
"LibTaskManager_DIR" to a directory containing one of the above files. If
"LibTaskManager" provides a separate development package or SDK, be sure it
has been installed.
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Looking for GLIBC
-- Looking for GLIBC - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message):
Your project should require at least CMake 3.16.0 to use FindXCB.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindXCB.cmake:67 (ecm_find_package_version_check)
CMakeLists.txt:35 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so (found version "1.15")
-- Found XCB_RANDR: /usr/lib/x86_64-linux-gnu/libxcb-randr.so (found version "1.15")
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so (found version "1.15") found components: XCB RANDR
-- KF5 VERSION : 5.104.0
-- KF5 VERSION CURRENT MINOR : 104
-- LibTaskManager CURRENT VERSION : -1
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message):
kcoreaddons_desktop_to_json is deprecated and will be removed in KF6.
Convert the desktop files to JSON in source using the desktoptojson
executable
Call Stack (most recent call first):
lib/CMakeLists.txt:8 (kcoreaddons_desktop_to_json)
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message):
Your project should require at least CMake 3.16.0 to use FindXCB.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindXCB.cmake:67 (ecm_find_package_version_check)
plugin/CMakeLists.txt:30 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so (found version "1.15") found components: XCB
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:46 (message):
Providing metadata with .desktop files is deprecated. Please run
"desktoptojson -i
/home/shankar/applet-window-appmenu-0.8.0/package/metadata.desktop" to
convert the file to json and remove the desktop file
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaMacros.cmake:36 (kpackage_install_package)
CMakeLists.txt:74 (plasma_install_package)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message):
kcoreaddons_desktop_to_json is deprecated and will be removed in KF6.
Convert the desktop files to JSON in source using the desktoptojson
executable
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:49 (kcoreaddons_desktop_to_json)
/usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaMacros.cmake:36 (kpackage_install_package)
CMakeLists.txt:74 (plasma_install_package)
-- Configuring done
CMake Error at plugin/CMakeLists.txt:19 (target_link_libraries):
Target "appmenuplugin" links to:
PW::LibTaskManager
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
[ 6%] Automatic MOC for target dbusmenuqt
[ 6%] Generating org.kde.windowappmenu-plasmoids-metadata.json
[ 9%] Automatic MOC for target appmenutest
[ 12%] Generating metadata.json
About to parse service type file "/usr/share/kservicetypes5/plasma-applet.desktop"
About to parse service type file "/usr/share/kservicetypes5/plasma-applet.desktop"
Found property definition "X-Plasma-API" with type "QString"
Found property definition "X-Plasma-RootPath" with type "QString"
Found property definition "X-Plasma-MainScript" with type "QString"
Found property definition "X-Plasma-ContainmentType" with type "QString"
Found property definition "X-Plasma-API" with type "QString"
Found property definition "X-Plasma-DropMimeTypes" with type "QStringList"
Found property definition "X-Plasma-RootPath" with type "QString"
Found property definition "X-Plasma-DropUrlPatterns" with type "QStringList"
Found property definition "X-Plasma-MainScript" with type "QString"
Found property definition "X-Plasma-NotificationArea" with type "QString"
Found property definition "X-Plasma-ContainmentType" with type "QString"
Found property definition "X-Plasma-NotificationAreaCategory" with type "QString"
Found property definition "X-Plasma-DropMimeTypes" with type "QStringList"
Found property definition "X-Plasma-DBusActivationService" with type "QString"
Found property definition "X-KDE-ParentApp" with type "QString"
Found property definition "X-Plasma-DropUrlPatterns" with type "QStringList"
Found property definition "X-Plasma-Provides" with type "QStringList"
Found property definition "X-Plasma-NotificationArea" with type "QString"
Found property definition "X-Plasma-PreloadWeight" with type "int"
Found property definition "X-Plasma-NotificationAreaCategory" with type "QString"
Found property definition "X-Plasma-ConfigPlugins" with type "QStringList"
Found property definition "X-Plasma-DBusActivationService" with type "QString"
Found property definition "X-Plasma-StandAloneApp" with type "bool"
Found property definition "X-KDE-ParentApp" with type "QString"
Found property definition "X-Plasma-RequiredExtensions" with type "QStringList"
Found property definition "X-Plasma-Provides" with type "QStringList"
Found property definition "X-Plasma-PreloadWeight" with type "int"
Found property definition "NoDisplay" with type "bool"
Found property definition "X-Plasma-ConfigPlugins" with type "QStringList"
Found property definition "X-Plasma-StandAloneApp" with type "bool"
Found property definition "X-Plasma-RequiredExtensions" with type "QStringList"
Found property definition "NoDisplay" with type "bool"
Generated "/home/shankar/applet-window-appmenu-0.8.0/build/org.kde.windowappmenu-plasmoids-metadata.json"
Generated "/home/shankar/applet-window-appmenu-0.8.0/build/lib/metadata.json"
[ 15%] Automatic MOC for target plasma_applet_windowappmenu
[ 15%] Built target org.kde.windowappmenu-plasmoids-metadata-json
[ 15%] Built target appmenutest_autogen
[ 21%] Building CXX object plugin/libdbusmenuqt/test/CMakeFiles/appmenutest.dir/appmenutest_autogen/mocs_compilation.cpp.o
[ 21%] Building CXX object plugin/libdbusmenuqt/test/CMakeFiles/appmenutest.dir/main.cpp.o
[ 21%] Built target dbusmenuqt_autogen
[ 24%] Generating dbusmenu_interface.cpp, dbusmenu_interface.h
[ 27%] Generating dbusmenu_interface.moc
[ 30%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenuqt_autogen/mocs_compilation.cpp.o
[ 33%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenuimporter.cpp.o
[ 36%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenushortcut_p.cpp.o
[ 36%] Built target plasma_applet_windowappmenu_autogen
[ 39%] Building CXX object lib/CMakeFiles/plasma_applet_windowappmenu.dir/plasma_applet_windowappmenu_autogen/mocs_compilation.cpp.o
[ 42%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenutypes_p.cpp.o
[ 45%] Linking CXX executable ../../../bin/appmenutest
[ 45%] Built target appmenutest
[ 48%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/utils.cpp.o
[ 51%] Building CXX object lib/CMakeFiles/plasma_applet_windowappmenu.dir/appmenuapplet.cpp.o
[ 54%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/debug.cpp.o
[ 57%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenu_interface.cpp.o
[ 60%] Building CXX object lib/CMakeFiles/plasma_applet_windowappmenu.dir/decorationpalette.cpp.o
/home/shankar/applet-window-appmenu-0.8.0/lib/appmenuapplet.cpp: In constructor ‘AppMenuApplet::AppMenuApplet(QObject, const QVariantList&)’:
/home/shankar/applet-window-appmenu-0.8.0/lib/appmenuapplet.cpp:47:34: warning: ‘Plasma::Applet::Applet(QObject, const QVariantList&)’ is deprecated: Since 5.86. use Applet(QObject , KPluginMetaData, QVariantList) instead [-Wdeprecated-declarations]
47 | : Plasma::Applet(parent, data)
| ^
In file included from /usr/include/KF5/Plasma/Applet:1,
from /home/shankar/applet-window-appmenu-0.8.0/lib/appmenuapplet.h:24,
from /home/shankar/applet-window-appmenu-0.8.0/lib/appmenuapplet.cpp:22:
/usr/include/KF5/plasma/applet.h:731:5: note: declared here
731 | Applet(QObject parent, const QVariantList &args);
| ^~
[ 63%] Linking CXX shared module ../bin/plasma_applet_windowappmenu.so
[ 63%] Built target plasma_applet_windowappmenu
[ 66%] Linking CXX static library ../../lib/libdbusmenuqt.a
[ 66%] Built target dbusmenuqt
[ 69%] Automatic MOC for target appmenuplugin
[ 69%] Built target appmenuplugin_autogen
[ 72%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o
[ 78%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/commontools.cpp.o
[ 78%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin.cpp.o
[ 81%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenumodel.cpp.o
In file included from /home/shankar/applet-window-appmenu-0.8.0/plugin/appmenumodel.cpp:29:
/home/shankar/applet-window-appmenu-0.8.0/plugin/wm/waylandwindowmanager.h:36:10: fatal error: taskmanager/tasksmodel.h: No such file or directory
36 | #include <taskmanager/tasksmodel.h>
| ^~~~~~
compilation terminated.
In file included from /home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/moc_waylandwindowmanager.cpp:10,
from /home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/mocs_compilation.cpp:7:
/home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/../../../../plugin/wm/waylandwindowmanager.h:36:10: fatal error: taskmanager/tasksmodel.h: No such file or directory
36 | #include <taskmanager/tasksmodel.h>
| ^~~~~~
compilation terminated.
make[2]: [plugin/CMakeFiles/appmenuplugin.dir/build.make:90: plugin/CMakeFiles/appmenuplugin.dir/appmenumodel.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
make[2]: [plugin/CMakeFiles/appmenuplugin.dir/build.make:76: plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:586: plugin/CMakeFiles/appmenuplugin.dir/all] Error 2
make: [Makefile:146: all] Error 2
[ 3%] Built target org.kde.windowappmenu-plasmoids-metadata-json
[ 6%] Automatic MOC for target plasma_applet_windowappmenu
[ 9%] Built target plasma_applet_windowappmenu_autogen
[ 21%] Built target plasma_applet_windowappmenu
[ 24%] Automatic MOC for target dbusmenuqt
[ 24%] Built target dbusmenuqt_autogen
[ 54%] Built target dbusmenuqt
[ 57%] Automatic MOC for target appmenuplugin
[ 57%] Built target appmenuplugin_autogen
[ 60%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o
In file included from /home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/moc_waylandwindowmanager.cpp:10,
from /home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/mocs_compilation.cpp:7:
/home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/../../../../plugin/wm/waylandwindowmanager.h:36:10: fatal error: taskmanager/tasksmodel.h: No such file or directory
36 | #include <taskmanager/tasksmodel.h>
| ^~~~~~
compilation terminated.
make[2]: [plugin/CMakeFiles/appmenuplugin.dir/build.make:76: plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:586: plugin/CMakeFiles/appmenuplugin.dir/all] Error 2
make: [Makefile:146: all] Error 2
`
I faced the same issue with the same error logs
Installing plasma-workspace-dev did it for me
Just run sudo apt install plasma-workspace-dev and then run install.sh
`CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message): Your project should require at least CMake 3.16.0 to use FindKF5.cmake Call Stack (most recent call first): /usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check) CMakeLists.txt:19 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find KF5Wayland (missing: KF5Wayland_DIR) -- Could NOT find KF5Wayland: found neither KF5WaylandConfig.cmake nor kf5wayland-config.cmake CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find KF5 (missing: Wayland) (found suitable version "5.104.0", minimum required is "5.38.0") Call Stack (most recent call first): /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) /usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args) CMakeLists.txt:19 (find_package)
-- Configuring incomplete, errors occurred! See also "/home/shankar/Downloads/applet-window-appmenu-0.8.0/build/CMakeFiles/CMakeOutput.log". make: No targets specified and no makefile found. Stop. [sudo] password for shankar: make: No rule to make target 'install'. Stop. `
System Information: OS : Kubuntu 23.04 KDE Plasma Version : 5.27.4 Graphic Platform : Wayland
Qt: 5.15.8 KDE Frameworks: 5.104.0 kf5-config: 1.0
UPDATE:
I installed these
sudo apt install cmake extra-cmake-modules qtdeclarative5-dev libqt5x11extras5-dev libkf5iconthemes-dev libkf5plasma-dev libkf5windowsystem-dev libkf5declarative-dev libkf5xmlgui-dev libkf5activities-dev build-essential libxcb-util-dev libkf5wayland-dev git gettext libkf5archive-dev libkf5notifications-dev libxcb-util0-dev libsm-dev libkf5crash-dev libkf5newstuff-dev libxcb-shape0-dev libxcb-randr0-dev libx11-dev libx11-xcb-dev kirigami2-dev
after this I did "sh install.sh" from the home/applet-window-appmenu-0.8.0OUTPUT `install.sh: 1: [: -a: unexpected operator mkdir: cannot create directory ‘build’: File exists CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message): Your project should require at least CMake 3.16.0 to use FindKF5.cmake Call Stack (most recent call first): /usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check) CMakeLists.txt:19 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found KF5Wayland: /usr/lib/x86_64-linux-gnu/cmake/KF5Wayland/KF5WaylandConfig.cmake (found version "5.104.0") -- Found KF5: success (found suitable version "5.104.0", minimum required is "5.38.0") found components: Plasma Wayland WindowSystem ConfigWidgets CMake Warning at CMakeLists.txt:21 (find_package): By not providing "FindLibTaskManager.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "LibTaskManager", but CMake did not find one.
Could not find a package configuration file provided by "LibTaskManager" with any of the following names:
Add the installation prefix of "LibTaskManager" to CMAKE_PREFIX_PATH or set "LibTaskManager_DIR" to a directory containing one of the above files. If "LibTaskManager" provides a separate development package or SDK, be sure it has been installed.
fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). -- Looking for GLIBC -- Looking for GLIBC - found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_DATE_TIME -- Performing Test HAVE_DATE_TIME - Success CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message): Your project should require at least CMake 3.16.0 to use FindXCB.cmake Call Stack (most recent call first): /usr/share/ECM/find-modules/FindXCB.cmake:67 (ecm_find_package_version_check) CMakeLists.txt:35 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.
-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so (found version "1.15") -- Found XCB_RANDR: /usr/lib/x86_64-linux-gnu/libxcb-randr.so (found version "1.15") -- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so (found version "1.15") found components: XCB RANDR -- KF5 VERSION : 5.104.0 -- KF5 VERSION CURRENT MINOR : 104 -- LibTaskManager CURRENT VERSION : -1 CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message): kcoreaddons_desktop_to_json is deprecated and will be removed in KF6. Convert the desktop files to JSON in source using the desktoptojson executable Call Stack (most recent call first): lib/CMakeLists.txt:8 (kcoreaddons_desktop_to_json)
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message): Your project should require at least CMake 3.16.0 to use FindXCB.cmake Call Stack (most recent call first): /usr/share/ECM/find-modules/FindXCB.cmake:67 (ecm_find_package_version_check) plugin/CMakeLists.txt:30 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so (found version "1.15") found components: XCB CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:46 (message): Providing metadata with .desktop files is deprecated. Please run "desktoptojson -i /home/shankar/applet-window-appmenu-0.8.0/package/metadata.desktop" to convert the file to json and remove the desktop file Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaMacros.cmake:36 (kpackage_install_package) CMakeLists.txt:74 (plasma_install_package)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message): kcoreaddons_desktop_to_json is deprecated and will be removed in KF6. Convert the desktop files to JSON in source using the desktoptojson executable Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:49 (kcoreaddons_desktop_to_json) /usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaMacros.cmake:36 (kpackage_install_package) CMakeLists.txt:74 (plasma_install_package)
-- Configuring done CMake Error at plugin/CMakeLists.txt:19 (target_link_libraries): Target "appmenuplugin" links to:
but the target was not found. Possible reasons include:
-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. [ 6%] Automatic MOC for target dbusmenuqt [ 6%] Generating org.kde.windowappmenu-plasmoids-metadata.json [ 9%] Automatic MOC for target appmenutest [ 12%] Generating metadata.json About to parse service type file "/usr/share/kservicetypes5/plasma-applet.desktop" About to parse service type file "/usr/share/kservicetypes5/plasma-applet.desktop" Found property definition "X-Plasma-API" with type "QString" Found property definition "X-Plasma-RootPath" with type "QString" Found property definition "X-Plasma-MainScript" with type "QString" Found property definition "X-Plasma-ContainmentType" with type "QString" Found property definition "X-Plasma-API" with type "QString" Found property definition "X-Plasma-DropMimeTypes" with type "QStringList" Found property definition "X-Plasma-RootPath" with type "QString" Found property definition "X-Plasma-DropUrlPatterns" with type "QStringList" Found property definition "X-Plasma-MainScript" with type "QString" Found property definition "X-Plasma-NotificationArea" with type "QString" Found property definition "X-Plasma-ContainmentType" with type "QString" Found property definition "X-Plasma-NotificationAreaCategory" with type "QString" Found property definition "X-Plasma-DropMimeTypes" with type "QStringList" Found property definition "X-Plasma-DBusActivationService" with type "QString" Found property definition "X-KDE-ParentApp" with type "QString" Found property definition "X-Plasma-DropUrlPatterns" with type "QStringList" Found property definition "X-Plasma-Provides" with type "QStringList" Found property definition "X-Plasma-NotificationArea" with type "QString" Found property definition "X-Plasma-PreloadWeight" with type "int" Found property definition "X-Plasma-NotificationAreaCategory" with type "QString" Found property definition "X-Plasma-ConfigPlugins" with type "QStringList" Found property definition "X-Plasma-DBusActivationService" with type "QString" Found property definition "X-Plasma-StandAloneApp" with type "bool" Found property definition "X-KDE-ParentApp" with type "QString" Found property definition "X-Plasma-RequiredExtensions" with type "QStringList" Found property definition "X-Plasma-Provides" with type "QStringList" Found property definition "X-Plasma-PreloadWeight" with type "int" Found property definition "NoDisplay" with type "bool" Found property definition "X-Plasma-ConfigPlugins" with type "QStringList" Found property definition "X-Plasma-StandAloneApp" with type "bool" Found property definition "X-Plasma-RequiredExtensions" with type "QStringList" Found property definition "NoDisplay" with type "bool" Generated "/home/shankar/applet-window-appmenu-0.8.0/build/org.kde.windowappmenu-plasmoids-metadata.json" Generated "/home/shankar/applet-window-appmenu-0.8.0/build/lib/metadata.json" [ 15%] Automatic MOC for target plasma_applet_windowappmenu [ 15%] Built target org.kde.windowappmenu-plasmoids-metadata-json [ 15%] Built target appmenutest_autogen [ 21%] Building CXX object plugin/libdbusmenuqt/test/CMakeFiles/appmenutest.dir/appmenutest_autogen/mocs_compilation.cpp.o [ 21%] Building CXX object plugin/libdbusmenuqt/test/CMakeFiles/appmenutest.dir/main.cpp.o [ 21%] Built target dbusmenuqt_autogen [ 24%] Generating dbusmenu_interface.cpp, dbusmenu_interface.h [ 27%] Generating dbusmenu_interface.moc [ 30%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenuqt_autogen/mocs_compilation.cpp.o [ 33%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenuimporter.cpp.o [ 36%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenushortcut_p.cpp.o [ 36%] Built target plasma_applet_windowappmenu_autogen [ 39%] Building CXX object lib/CMakeFiles/plasma_applet_windowappmenu.dir/plasma_applet_windowappmenu_autogen/mocs_compilation.cpp.o [ 42%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenutypes_p.cpp.o [ 45%] Linking CXX executable ../../../bin/appmenutest [ 45%] Built target appmenutest [ 48%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/utils.cpp.o [ 51%] Building CXX object lib/CMakeFiles/plasma_applet_windowappmenu.dir/appmenuapplet.cpp.o [ 54%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/debug.cpp.o [ 57%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenu_interface.cpp.o [ 60%] Building CXX object lib/CMakeFiles/plasma_applet_windowappmenu.dir/decorationpalette.cpp.o /home/shankar/applet-window-appmenu-0.8.0/lib/appmenuapplet.cpp: In constructor ‘AppMenuApplet::AppMenuApplet(QObject, const QVariantList&)’: /home/shankar/applet-window-appmenu-0.8.0/lib/appmenuapplet.cpp:47:34: warning: ‘Plasma::Applet::Applet(QObject, const QVariantList&)’ is deprecated: Since 5.86. use Applet(QObject , KPluginMetaData, QVariantList) instead [-Wdeprecated-declarations] 47 | : Plasma::Applet(parent, data) | ^ In file included from /usr/include/KF5/Plasma/Applet:1, from /home/shankar/applet-window-appmenu-0.8.0/lib/appmenuapplet.h:24, from /home/shankar/applet-window-appmenu-0.8.0/lib/appmenuapplet.cpp:22: /usr/include/KF5/plasma/applet.h:731:5: note: declared here 731 | Applet(QObject parent, const QVariantList &args); | ^
~[ 63%] Linking CXX shared module ../bin/plasma_applet_windowappmenu.so [ 63%] Built target plasma_applet_windowappmenu [ 66%] Linking CXX static library ../../lib/libdbusmenuqt.a [ 66%] Built target dbusmenuqt [ 69%] Automatic MOC for target appmenuplugin [ 69%] Built target appmenuplugin_autogen [ 72%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o [ 78%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/commontools.cpp.o [ 78%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin.cpp.o [ 81%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenumodel.cpp.o In file included from /home/shankar/applet-window-appmenu-0.8.0/plugin/appmenumodel.cpp:29: /home/shankar/applet-window-appmenu-0.8.0/plugin/wm/waylandwindowmanager.h:36:10: fatal error: taskmanager/tasksmodel.h: No such file or directory 36 | #include <taskmanager/tasksmodel.h> | ^~~~~~compilation terminated. In file included from /home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/moc_waylandwindowmanager.cpp:10, from /home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/mocs_compilation.cpp:7: /home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/../../../../plugin/wm/waylandwindowmanager.h:36:10: fatal error: taskmanager/tasksmodel.h: No such file or directory 36 | #include <taskmanager/tasksmodel.h> | ^~~~~~compilation terminated. make[2]: [plugin/CMakeFiles/appmenuplugin.dir/build.make:90: plugin/CMakeFiles/appmenuplugin.dir/appmenumodel.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [plugin/CMakeFiles/appmenuplugin.dir/build.make:76: plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:586: plugin/CMakeFiles/appmenuplugin.dir/all] Error 2 make: [Makefile:146: all] Error 2 [ 3%] Built target org.kde.windowappmenu-plasmoids-metadata-json [ 6%] Automatic MOC for target plasma_applet_windowappmenu [ 9%] Built target plasma_applet_windowappmenu_autogen [ 21%] Built target plasma_applet_windowappmenu [ 24%] Automatic MOC for target dbusmenuqt [ 24%] Built target dbusmenuqt_autogen [ 54%] Built target dbusmenuqt [ 57%] Automatic MOC for target appmenuplugin [ 57%] Built target appmenuplugin_autogen [ 60%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o In file included from /home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/moc_waylandwindowmanager.cpp:10, from /home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/mocs_compilation.cpp:7: /home/shankar/applet-window-appmenu-0.8.0/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/../../../../plugin/wm/waylandwindowmanager.h:36:10: fatal error: taskmanager/tasksmodel.h: No such file or directory 36 | #include <taskmanager/tasksmodel.h> | ^~~~~~compilation terminated. make[2]: [plugin/CMakeFiles/appmenuplugin.dir/build.make:76: plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:586: plugin/CMakeFiles/appmenuplugin.dir/all] Error 2 make: [Makefile:146: all] Error 2 `