psifidotos / applet-window-buttons

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

kdecorations2private9 stops it from working/building #154

Closed djneba closed 2 years ago

djneba commented 2 years ago

I cannot use or build this anymore because it requires kdecorations2private7 which now breaks my system as my main kde packages depend on kdecorations2private9.

Also, the ppa version is outdated.

psifidotos commented 2 years ago

with plasma 5.23 you need version v0.10.0 or greater https://github.com/psifidotos/applet-window-buttons/releases/

djneba commented 2 years ago

I can't build that version because it ultimately has a dependency problem with kdecorations. Can it be changed so it's dependencies are more general?

psifidotos commented 2 years ago
  1. no it cant, what is your plasma version ?
psifidotos commented 2 years ago
  1. what is the dependency error shown in terminal when you try to build it?
djneba commented 2 years ago

5.23

And when trying to run install.sh I get the following error:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5Qml" with any of the following names:

Qt5QmlConfig.cmake
qt5qml-config.cmake

Add the installation prefix of "Qt5Qml" to CMAKE_PREFIX_PATH or set "Qt5Qml_DIR" to a directory containing one of the above files. If "Qt5Qml" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:18 (find_package)

I do have the Qt5Config.cmake file at the location mentioned in the error message. It contains this: `if (CMAKE_VERSION VERSION_LESS 3.1.0) message(FATAL_ERROR "Qt5 requires at least CMake version 3.1.0") endif()

if (NOT Qt5_FIND_COMPONENTS) set(Qt5_NOT_FOUND_MESSAGE "The Qt5 package requires at least one component") set(Qt5_FOUND False) return() endif()

set(_Qt5_FIND_PARTS_REQUIRED) if (Qt5_FIND_REQUIRED) set(_Qt5_FIND_PARTS_REQUIRED REQUIRED) endif() set(_Qt5_FIND_PARTS_QUIET) if (Qt5_FIND_QUIETLY) set(_Qt5_FIND_PARTS_QUIET QUIET) endif()

get_filename_component(_qt5_install_prefix "${CMAKE_CURRENT_LIST_DIR}/.." ABSOLUTE)

set(_Qt5_NOTFOUND_MESSAGE)

include(${CMAKE_CURRENT_LIST_DIR}/Qt5ModuleLocation.cmake)

foreach(module ${Qt5_FIND_COMPONENTS}) find_package(Qt5${module} ${_Qt5_FIND_PARTS_QUIET} ${_Qt5_FIND_PARTS_REQUIRED} PATHS ${_qt5_module_paths} NO_DEFAULT_PATH ) if (NOT Qt5${module}_FOUND) string(CONFIGURE ${_qt5_module_location_template} _expected_module_location @ONLY)

    if (Qt5_FIND_REQUIRED_${module})
        set(_Qt5_NOTFOUND_MESSAGE "${_Qt5_NOTFOUND_MESSAGE}Failed to find Qt5 component \"${module}\" config file at \"${_expected_module_location}\"\n")
    elseif(NOT Qt5_FIND_QUIETLY)
        message(WARNING "Failed to find Qt5 component \"${module}\" config file at \"${_expected_module_location}\"")
    endif()

    unset(_expected_module_location)
endif()

endforeach()

if (_Qt5_NOTFOUND_MESSAGE) set(Qt5_NOT_FOUND_MESSAGE "${_Qt5_NOTFOUND_MESSAGE}") set(Qt5_FOUND False) endif()

_qt5_Core_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5ConfigVersion.cmake")

djneba commented 2 years ago

Omg, sorry for the bad formatting... It's my first try..

psifidotos commented 2 years ago

the build error has nothing to do with kdecoration2. you miss a dependency. In my Tumbleweed system this is provided by: libqt5-qtdeclarative-devel

djneba commented 2 years ago

I tried, but I still get the same error. Thank you for the effort. I give up...