@LechTheMitch That did the trick. Thanks a lot!
Search Criteria
Package Details: discover-snap 6.5.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/discover-snap.git (read-only, click to copy) |
|---|---|
| Package Base: | discover-snap |
| Description: | KDE and Plasma resources management GUI |
| Upstream URL: | https://kde.org/plasma-desktop/ |
| Keywords: | discover kde snap snapd |
| Licenses: | LGPL |
| Conflicts: | discover |
| Provides: | discover |
| Submitter: | droidman |
| Maintainer: | LechTheMitch |
| Last Packager: | LechTheMitch |
| Votes: | 11 |
| Popularity: | 0.000000 |
| First Submitted: | 2018-10-17 22:52 (UTC) |
| Last Updated: | 2025-10-25 10:46 (UTC) |
Dependencies (40)
- appstream-qt
- archlinux-appstream-data
- attica (attica-gitAUR)
- discount
- flatpak (flatpak-gitAUR, flatpak-local-gitAUR)
- fwupd (fwupd-gitAUR, fwupd-starlabs-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-eacAUR, glibc-git-native-pgoAUR)
- kcmutils (kcmutils-gitAUR)
- kconfig (kconfig-gitAUR)
- kcoreaddons (kcoreaddons-gitAUR)
- kcrash (kcrash-gitAUR)
- kdbusaddons (kdbusaddons-gitAUR)
- ki18n (ki18n-gitAUR)
- kiconthemes (kiconthemes-gitAUR)
- kidletime (kidletime-gitAUR)
- kio (kio-gitAUR)
- kirigami (kirigami-gitAUR)
- kirigami-addons (kirigami-addons-gitAUR)
- Show 20 more dependencies...
Required by (2)
- sonic-workspace (requires discover) (optional)
- sonicde-meta (requires discover)
Sources (1)
piepmax commented on 2025-09-12 08:57 (UTC)
LechTheMitch commented on 2025-09-11 09:55 (UTC)
@piepmax Could you try uninstalling snap and snapd-glib then installing the discover-snap package via your aur helper of choice, if the issue still persists run: sudo rm /usr/include/snapd-qt-2/Snapd/snapdqt_global.h.
This should hopefully fix your problem as I have tried it on my main system and a VM that didn't have the package installed before and everything worked as expected.
piepmax commented on 2025-09-09 10:11 (UTC)
Unfortunately it still doesn't work: /usr/include/snapd-qt-2/Snapd/snapdqt_global.h exists in filesystem
LechTheMitch commented on 2025-06-05 22:54 (UTC)
Now with the release of snapd-glib v1.70 everything should be working as expected and you can install the package using an AUR helper without intervention
LechTheMitch commented on 2025-05-02 19:14 (UTC) (edited on 2025-05-02 19:40 (UTC) by LechTheMitch)
@piepmax please try these steps
1- Uninstall snapd-glib
2- Clone this repo (https://github.com/LechTheMitch/snapd-glib-pkgbuild) and Build snapd-glib from it
3- Delete the /src and /pkg from from your discover-snap PKGBUILD folder
If done correctly everything should work
Edit: Please don't use any aur helpers during the installation as they will break it
piepmax commented on 2025-05-02 08:17 (UTC)
Unfortunately still results in errors regarding @LechTheMitch workaround
LechTheMitch commented on 2025-04-28 10:49 (UTC) (edited on 2025-04-28 10:52 (UTC) by LechTheMitch)
This package sadly requires manual intervention for installation until the new version of snapd-glib releases.
1- please install snapd-glib first
2- clone this package(You will find an extra file called "snapdqt_global.h")
3- copy it to "/usr/include/snapd-qt-2/Snapd/" (sudo cp ./snapdqt_global.h /usr/include/snapd-qt-2/Snapd/)
4- run makepkg -si
LechTheMitch commented on 2025-04-28 07:04 (UTC)
@tristanrw Figured out why it wasn't building, the snap guys forgot to include a header file in the build script that other files depend on, building and using snapd-glib from source will work as it contains the fix and I managed to get the snap back-end in discover working, we could make snapd-glib-git package, but it will be pointless anyways since you said that the snap backend should be in discover by default and the fix will be in snapd-glib v1.68 anyways
tristanrw commented on 2025-03-26 14:19 (UTC)
Will be disowning, since snap backend is not disabled by default in discover (or it should roll out as default soon). I didn't get it to work yet, but neither does discover-snap build for qt-6.
tristanrw commented on 2025-03-03 09:24 (UTC)
Fix for the snapd-glib problem soon. see: https://github.com/canonical/snapd-glib/pull/199
Pinned Comments
LechTheMitch commented on 2025-06-05 22:54 (UTC)
Now with the release of snapd-glib v1.70 everything should be working as expected and you can install the package using an AUR helper without intervention