Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build/install Lightly on kde 6. #32

Open
linusrg1 opened this issue Aug 2, 2024 · 8 comments
Open

Unable to build/install Lightly on kde 6. #32

linusrg1 opened this issue Aug 2, 2024 · 8 comments

Comments

@linusrg1
Copy link

linusrg1 commented Aug 2, 2024

When trying via a git clone I get this error

`CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found KF5: success (found version "5.116.0") found components: CoreAddons GuiAddons ConfigWidgets WindowSystem I18n IconThemes
-- Warning: Property URL already set to "https://xcb.freedesktop.org/", overriding it with "https://xcb.freedesktop.org"
-- Found KF5: success (found version "5.116.0") found components: I18n Config GuiAddons IconThemes ConfigWidgets WindowSystem
-- Warning: Property URL already set to "https://xcb.freedesktop.org", overriding it with "https://xcb.freedesktop.org/"
-- Warning: Property URL already set to "https://xcb.freedesktop.org/", overriding it with "https://xcb.freedesktop.org"
-- Found KF5: success (found version "5.116.0") found components: CoreAddons Config
CMake Warning (dev) at /usr/local/share/ECM/modules/ECMPackageConfigHelpers.cmake:62 (message):
  Your project already requires a version of CMake that includes the
  find_dependency macro via the CMakeFindDependencyMacro module.  You should
  use CMakePackageConfigHelpers instead of ECMPackageConfigHelpers.
Call Stack (most recent call first):
  misc/kde4lightly/CMakeLists.txt:12 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The following OPTIONAL packages have been found:

 * OpenGL
 * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
 * Vulkan
 * WrapVulkanHeaders
 * Qt6GuiTools (required version >= 6.7.2)
 * Qt6CoreTools (required version >= 6.7.2)
 * Qt6DBusTools (required version >= 6.7.2)
 * Freetype
 * Fontconfig
 * Qt5Network (required version >= 5.15.14)
 * Qt5Qml (required version >= 5.15.14)
 * Qt5QmlModels (required version >= 5.15.14)
 * Qt5Quick
 * KF5FrameworkIntegration, KF5 Framework Integration, <https://projects.kde.org/projects/frameworks/frameworkintegration>
   Required to use KStyle convenience functionalities in style
 * PkgConfig
 * XCB, X protocol C-language Binding, <https://xcb.freedesktop.org>
   Required to pass style properties to native Windows on X11 Platform
   Required to pass style properties to native Windows on X11 Platform
 * KF5Wayland
 * KF5KCMUtils, KF5 KCM utils Framework, <https://projects.kde.org/projects/frameworks/kcmutils>
   Required for lightly-settings5 application to build
 * Qt5Core (required version >= 5.15.2)

-- The following REQUIRED packages have been found:

 * KDecoration2
 * Gettext
 * KF5I18n
 * KF5GuiAddons
 * KF5WindowSystem
 * KF5ConfigWidgets (required version >= 5.116.0)
 * KF5IconThemes (required version >= 5.116.0)
 * Qt5X11Extras
 * ECM (required version >= 0.0.13)
 * Qt5Gui (required version >= 5.15.14)
 * Qt5Widgets
 * Qt5
 * KF5CoreAddons
 * Qt5DBus (required version >= 5.15.2)
 * KF5Config
 * KF5

-- Configuring done (0.7s)
CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Gui" does
not agree with the value of QT_MAJOR_VERSION already determined
for "lightlydecoration".
`

And when trying from manually downloading a zip of the source code I get this one:

CMake Error at /usr/lib/cmake/KF6KCMUtils/KF6KCMUtilsMacros.cmake:136 (message): Could not find metadata file for lightlystyleconfig, expected path was /home/izumiu/ダウンロード/Lightly-qt6/kstyle/config/lightlystyleconfig.json Call Stack (most recent call first): kstyle/config/CMakeLists.txt:22 (kcmutils_generate_desktop_file)
I checked to see if that file was missing and sure enough it was.

I am on plasma 6.1.3
Framework version 6.4.0
Qt version 6.7.2

I am running arch, and attempting to install lightly from the chaotic repo didn't appear to work either.

@linusrg1
Copy link
Author

linusrg1 commented Aug 2, 2024

Ok so i figured out the package you need for kde is if installing it from the chaotic aur is lightly-kf6-git, however, while this allows the theme to work the configuration dialog for the application style will not open. The one for the window titlebar style will.

@FantasyPvP
Copy link

Ok so i figured out the package you need for kde is if installing it from the chaotic aur is lightly-kf6-git, however, while this allows the theme to work the configuration dialog for the application style will not open. The one for the window titlebar style will.

lightly-kf6-git doesnt build for me as I dont have kdecoration5 installed. I'll try manually installing it and see if that fixes it. I'm not sure why pacman wouldnt just manually install the dep

@Achardir
Copy link

Achardir commented Sep 9, 2024

# options
: ${_build_kf5:=true}
: ${_build_kf6:=true}

change to ${_build_kf5:=false} in PKGBUILD. yay --editmenu -S lightly-kf6-git to edit PKGBUILD before installing.

@Vistaus
Copy link

Vistaus commented Sep 21, 2024

# options
: ${_build_kf5:=true}
: ${_build_kf6:=true}

change to ${_build_kf5:=false} in PKGBUILD. yay --editmenu -S lightly-kf6-git to edit PKGBUILD before installing.

Thanks, but even then the theme doesn't work. I mean: it just doesn't apply to any app on KDE 6 (it used to work fine on KDE 5).

@Achardir
Copy link

# options
: ${_build_kf5:=true}
: ${_build_kf6:=true}

change to ${_build_kf5:=false} in PKGBUILD. yay --editmenu -S lightly-kf6-git to edit PKGBUILD before installing.

Thanks, but even then the theme doesn't work. I mean: it just doesn't apply to any app on KDE 6 (it used to work fine on KDE 5).

Try Chaotic Aur repo.

@Vistaus
Copy link

Vistaus commented Sep 21, 2024

# options
: ${_build_kf5:=true}
: ${_build_kf6:=true}

change to ${_build_kf5:=false} in PKGBUILD. yay --editmenu -S lightly-kf6-git to edit PKGBUILD before installing.

Thanks, but even then the theme doesn't work. I mean: it just doesn't apply to any app on KDE 6 (it used to work fine on KDE 5).

Try Chaotic Aur repo.

That doesn't solve my issue.

@wenerikk5
Copy link

2024-09-23_23-03

This is my second try to install it. First time was like half year ago. All dependencies were installed without any issues, so installation instruction is pretty shitty.

@Achardir
Copy link

There's a new fork https://github.com/Bali10050/Lightly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants