psifidotos / applet-window-buttons

Plasma 5 applet in order to show window buttons in your panels
GNU General Public License v2.0
404 stars 55 forks source link

KDE Plasma 5.23 broke it, and cannot build/install #140

Closed Sadi58 closed 2 years ago

Sadi58 commented 2 years ago

This is the only problem I have after upgrading KDE Plasma to 5.23 today, and here is the terminal output after I downloaded fresh from git repository and tried to install it manually:

/install.sh: 1: [: -a: unexpected operator
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (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:18 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.87.0") 
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Found KF5Declarative: /usr/lib/x86_64-linux-gnu/cmake/KF5Declarative/KF5DeclarativeConfig.cmake (found version "5.87.0") 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KF5Plasma: /usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaConfig.cmake (found version "5.87.0") 
-- Found KF5PlasmaQuick: /usr/lib/x86_64-linux-gnu/cmake/KF5PlasmaQuick/KF5PlasmaQuickConfig.cmake (found version "5.87.0") 
-- Found KF5: success (found suitable version "5.87.0", minimum required is "5.38.0") found components: CoreAddons Declarative Plasma PlasmaQuick 
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- KDECORATION2 VERSION MINOR : 23
-- Could not set up the appstream test. appstreamcli is missing.
-- 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:112 (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)
  libappletdecoration/CMakeLists.txt:37 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.87.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.87.0") 
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.87.0") 
-- Found KF5ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.87.0") 
-- Found KF5: success (found suitable version "5.87.0", minimum required is "5.26.0") found components: Plasma WindowSystem I18n Service ConfigWidgets 
-- Configuring done
-- Generating done
-- Build files have been written to: ~/Downloads/tmp/applet-window-buttons-master/build
Scanning dependencies of target org.kde.windowbuttons-plasmoids-metadata-json
Scanning dependencies of target appletdecorationplugin_autogen
[  4%] Generating org.kde.windowbuttons-plasmoids-metadata.json
[  9%] Automatic MOC for target appletdecorationplugin
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-DropMimeTypes" with type "QStringList"
Found property definition "X-Plasma-DropUrlPatterns" with type "QStringList"
Found property definition "X-Plasma-NotificationArea" with type "QString"
Found property definition "X-Plasma-NotificationAreaCategory" with type "QString"
Found property definition "X-Plasma-DBusActivationService" with type "QString"
Found property definition "X-KDE-ParentApp" with type "QString"
Found property definition "X-Plasma-Provides" with type "QStringList"
Found property definition "X-Plasma-PreloadWeight" with type "int"
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"
Unknown property type for key "Keywords" -> falling back to string
Generated  "~/Downloads/tmp/applet-window-buttons-master/build/org.kde.windowbuttons-plasmoids-metadata.json"
[  9%] Built target org.kde.windowbuttons-plasmoids-metadata-json
[  9%] Built target appletdecorationplugin_autogen
Scanning dependencies of target appletdecorationplugin
[ 13%] Building CXX object libappletdecoration/CMakeFiles/appletdecorationplugin.dir/appletdecorationplugin_autogen/mocs_compilation.cpp.o
[ 22%] Building CXX object libappletdecoration/CMakeFiles/appletdecorationplugin.dir/auroraetheme.cpp.o
[ 22%] Building CXX object libappletdecoration/CMakeFiles/appletdecorationplugin.dir/appletdecorationplugin.cpp.o
[ 27%] Building CXX object libappletdecoration/CMakeFiles/appletdecorationplugin.dir/buttonsmodel.cpp.o
In file included from ~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/appletdecorationplugin.cpp:26:
~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/previewbridge.h:53:10: error: ‘void Decoration::Applet::PreviewBridge::update(KDecoration2::Decoration*, const QRect&)’ marked ‘override’, but does not override
   53 |     void update(KDecoration2::Decoration *decoration, const QRect &geometry) override;
      |          ^~~~~~
In file included from ~/Downloads/tmp/applet-window-buttons-master/build/libappletdecoration/appletdecorationplugin_autogen/EWIEGA46WW/moc_previewbridge.cpp:10,
                 from ~/Downloads/tmp/applet-window-buttons-master/build/libappletdecoration/appletdecorationplugin_autogen/mocs_compilation.cpp:9:
~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/previewbridge.h:53:10: error: ‘void Decoration::Applet::PreviewBridge::update(KDecoration2::Decoration*, const QRect&)’ marked ‘override’, but does not override
   53 |     void update(KDecoration2::Decoration *decoration, const QRect &geometry) override;
      |          ^~~~~~
[ 31%] Building CXX object libappletdecoration/CMakeFiles/appletdecorationplugin.dir/commontools.cpp.o
[ 36%] Building CXX object libappletdecoration/CMakeFiles/appletdecorationplugin.dir/decorationsmodel.cpp.o
make[2]: *** [libappletdecoration/CMakeFiles/appletdecorationplugin.dir/build.make:63: libappletdecoration/CMakeFiles/appletdecorationplugin.dir/appletdecorationplugin_autogen/mocs_compilation.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libappletdecoration/CMakeFiles/appletdecorationplugin.dir/build.make:76: libappletdecoration/CMakeFiles/appletdecorationplugin.dir/appletdecorationplugin.cpp.o] Error 1
~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp: In member function ‘void Decoration::Applet::DecorationsModel::init()’:
~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:199:41: warning: ‘static KPluginTrader* KPluginTrader::self()’ is deprecated: Since 5.82. Use KPluginMetaData and KPluginFactory [-Wdeprecated-declarations]
  199 |     const auto plugins = KPluginTrader::self()->query(s_pluginName, s_pluginName);
      |                                         ^~~~
In file included from /usr/include/KF5/KService/KPluginTrader:1,
                 from ~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:33:
/usr/include/KF5/KService/kplugintrader.h:163:27: note: declared here
  163 |     static KPluginTrader *self();
      |                           ^~~~
~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:199:46: warning: ‘static KPluginTrader* KPluginTrader::self()’ is deprecated: Since 5.82. Use KPluginMetaData and KPluginFactory [-Wdeprecated-declarations]
  199 |     const auto plugins = KPluginTrader::self()->query(s_pluginName, s_pluginName);
      |                                              ^
In file included from /usr/include/KF5/KService/KPluginTrader:1,
                 from ~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:33:
/usr/include/KF5/KService/kplugintrader.h:163:27: note: declared here
  163 |     static KPluginTrader *self();
      |                           ^~~~
~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:199:46: warning: ‘static KPluginTrader* KPluginTrader::self()’ is deprecated: Since 5.82. Use KPluginMetaData and KPluginFactory [-Wdeprecated-declarations]
  199 |     const auto plugins = KPluginTrader::self()->query(s_pluginName, s_pluginName);
      |                                              ^
In file included from /usr/include/KF5/KService/KPluginTrader:1,
                 from ~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:33:
/usr/include/KF5/KService/kplugintrader.h:163:27: note: declared here
  163 |     static KPluginTrader *self();
      |                           ^~~~
~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:199:81: warning: ‘KPluginInfo::List KPluginTrader::query(const QString&, const QString&, const QString&)’ is deprecated: Since 5.82. Use KPluginMetaData::findPlugins [-Wdeprecated-declarations]
  199 |     const auto plugins = KPluginTrader::self()->query(s_pluginName, s_pluginName);
      |                                                                                 ^
In file included from /usr/include/KF5/KService/KPluginTrader:1,
                 from ~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:33:
/usr/include/KF5/KService/kplugintrader.h:150:23: note: declared here
  150 |     KPluginInfo::List query(const QString &subDirectory, const QString &serviceType = QString(), const QString &constraint = QString());
      |                       ^~~~~
~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:203:50: warning: ‘KPluginFactory* KPluginLoader::factory()’ is deprecated: Since 5.86. Use KPluginFactory::loadFactory or KPluginFactory::instantiatePlugin instead [-Wdeprecated-declarations]
  203 |         KPluginFactory *factory = loader.factory();
      |                                                  ^
In file included from /usr/include/KF5/KCoreAddons/KPluginLoader:1,
                 from /usr/include/KF5/KService/kservice.h:14,
                 from /usr/include/KF5/KService/kplugininfo.h:17,
                 from /usr/include/KF5/KService/KPluginInfo:1,
                 from ~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:30:
/usr/include/KF5/KCoreAddons/kpluginloader.h:126:21: note: declared here
  126 |     KPluginFactory *factory();
      |                     ^~~~~~~
~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:209:41: warning: ‘QJsonObject KPluginLoader::metaData() const’ is deprecated: Since 5.86. Use QPluginLoader::metaData() or KPluginMetaData instead [-Wdeprecated-declarations]
  209 |         auto metadata = loader.metaData().value(QStringLiteral("MetaData")).toObject().value(s_pluginName);
      |                                         ^
In file included from /usr/include/KF5/KCoreAddons/KPluginLoader:1,
                 from /usr/include/KF5/KService/kservice.h:14,
                 from /usr/include/KF5/KService/kplugininfo.h:17,
                 from /usr/include/KF5/KService/KPluginInfo:1,
                 from ~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/decorationsmodel.cpp:30:
/usr/include/KF5/KCoreAddons/kpluginloader.h:274:17: note: declared here
  274 |     QJsonObject metaData() const;
      |                 ^~~~~~~~
make[1]: *** [CMakeFiles/Makefile2:516: libappletdecoration/CMakeFiles/appletdecorationplugin.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
[  4%] Built target org.kde.windowbuttons-plasmoids-metadata-json
[  9%] Automatic MOC for target appletdecorationplugin
[  9%] Built target appletdecorationplugin_autogen
[ 13%] Building CXX object libappletdecoration/CMakeFiles/appletdecorationplugin.dir/appletdecorationplugin_autogen/mocs_compilation.cpp.o
In file included from ~/Downloads/tmp/applet-window-buttons-master/build/libappletdecoration/appletdecorationplugin_autogen/EWIEGA46WW/moc_previewbridge.cpp:10,
                 from ~/Downloads/tmp/applet-window-buttons-master/build/libappletdecoration/appletdecorationplugin_autogen/mocs_compilation.cpp:9:
~/Downloads/tmp/applet-window-buttons-master/libappletdecoration/previewbridge.h:53:10: error: ‘void Decoration::Applet::PreviewBridge::update(KDecoration2::Decoration*, const QRect&)’ marked ‘override’, but does not override
   53 |     void update(KDecoration2::Decoration *decoration, const QRect &geometry) override;
      |          ^~~~~~
make[2]: *** [libappletdecoration/CMakeFiles/appletdecorationplugin.dir/build.make:63: libappletdecoration/CMakeFiles/appletdecorationplugin.dir/appletdecorationplugin_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:516: libappletdecoration/CMakeFiles/appletdecorationplugin.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
psifidotos commented 2 years ago

131