Package Details: discover-snap-6 6.1.4-1

Git Clone URL: https://aur.archlinux.org/discover-snap-6.git (read-only, click to copy)
Package Base: discover-snap-6
Description: KDE and Plasma resources management GUI (with snap backend enabled)
Upstream URL: https://kde.org/plasma-desktop/
Licenses: LGPL-2.0-or-later
Conflicts: discover
Provides: discover
Submitter: tristanrw
Maintainer: tristanrw
Last Packager: tristanrw
Votes: 1
Popularity: 0.85
First Submitted: 2024-09-06 17:58 (UTC)
Last Updated: 2024-09-07 06:07 (UTC)

Pinned Comments

tristanrw commented on 2024-09-09 05:22 (UTC)

I also get same error as @LechTheMitch. I am currently working on snapd-glib because I have a similar suspicion and reverted it back to qt5 so it builds and will update it to qt6 once it builds. If that makes building snap-enabled discover with qt6 possible, I will merge this package back into discover-snap (if there are news I dont notice please write on discover-snap).

Latest Comments

tristanrw commented on 2024-09-09 05:22 (UTC)

I also get same error as @LechTheMitch. I am currently working on snapd-glib because I have a similar suspicion and reverted it back to qt5 so it builds and will update it to qt6 once it builds. If that makes building snap-enabled discover with qt6 possible, I will merge this package back into discover-snap (if there are news I dont notice please write on discover-snap).

LechTheMitch commented on 2024-09-07 23:10 (UTC) (edited on 2024-09-07 23:24 (UTC) by LechTheMitch)

I get this as well, but I don't have a fix might be because snapd-glib is built with qt5 not qt6, I tried building it with qt6, but it failed

/usr/include/snapd-qt-2/Snapd/client.h:24:10: fatal error: Snapd/Notice: No such file or directory 24 | #include <Snapd/Notice> | ^~~~~~~~~~~~~~ compilation terminated. make[2]: *** [libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/build.make:105: libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapResource.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2128: libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/all] Error 2 make: *** [Makefile:136: all] Error 2

LechTheMitch commented on 2024-09-07 23:01 (UTC)

Hello i get this error CMake Error: The source directory "/home/gamal/.cache/paru/clone/discover-snap-6/src/discover-snap-6-6.1.4" does not exist. Specify --help for usage, or press the help button on the CMake GUI. ==> ERROR: A failure occurred in build(). Aborting... this is a change in the PKGBUILD to fix it

build() { cmake -B build -S $_pkgname-$pkgver \ -DCMAKE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=OFF \ -DBUILD_SnapBackend=ON cmake --build build }

The variable needs to be _pkgname not pkgname

yochananmarqos commented on 2024-09-06 19:20 (UTC)

@tristanrw: I just orphaned discover-snap. Please adopt it as this duplicate package will be deleted.