Created attachment 768868 [details] build log Build fails with meson.build:67:0: ERROR: Dependency "gdk-wayland-3.0" not found, tried pkgconfig and cmake
Created attachment 768869 [details] meson log
Created attachment 768870 [details] emerge --info
Created attachment 768907 [details, diff] shotwell-0.30.15-wayland-non-mandatory.patch What could I say?
Thanks, that fixed it. Helmut
Confirm, thanks =)
I would report the issue to upstream too: https://gitlab.gnome.org/GNOME/shotwell/-/issues Thanks
https://gitlab.gnome.org/GNOME/shotwell/-/issues/4978
Issue was closed with comment... Jens Georg commented: er no. This is completely removing that. Carry that on teh gentoo side if you wish, I don't care about patch. it is wrong.
I filed a bug on a shotwell site and got the following response: -------- Jens Georg commented: Please just install the development library gdk-wayland-3.0. It will not use wayland, it is to be able to detect whether it runs on wayland. -------- So I tried to install dev-libs/wayland which seemed like the closest match. This did not help. Moreover, the 0.30.14 version of shotwell has now disappeared from the repo so masking > 0.30.14 is no longer an option for a new install. My solution is therefore to switch to a different viewer, ristretto in my case. This works fine for me.
(In reply to Jan Hrabe from comment #9) > So I tried to install dev-libs/wayland which seemed like the closest match. > This did not help. gdk-wayland-3.0 is provided by x11-libs/gtk+[wayland].
(In reply to Matt Turner from comment #10) > (In reply to Jan Hrabe from comment #9) > > So I tried to install dev-libs/wayland which seemed like the closest match. > > This did not help. > > gdk-wayland-3.0 is provided by x11-libs/gtk+[wayland]. OK, thanks. It's working now, with the following entries in the /etc/portage/package.use/shotwell # shotwell media-libs/gst-plugins-bad egl x11-libs/gtk+ wayland media-libs/mesa wayland Incidentally, this also solved the tor browser problem, which also refuses to start without checking for wayland. So double thanks!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89dbc7aa060fd1480f0160c87f74ca154b13b582 commit 89dbc7aa060fd1480f0160c87f74ca154b13b582 Author: David Seifert <soap@gentoo.org> AuthorDate: 2022-07-13 07:36:54 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2022-07-13 07:36:54 +0000 media-gfx/shotwell: make wayland optional Bug: https://bugs.gentoo.org/836831 Signed-off-by: David Seifert <soap@gentoo.org> .../shotwell/files/0.30.16-optional-wayland.patch | 59 ++++++++++++++++++++++ media-gfx/shotwell/shotwell-0.30.16.ebuild | 7 ++- 2 files changed, 64 insertions(+), 2 deletions(-)
is there anything left to do here?
It is fixed in current versions as it uses libportal https://gitlab.gnome.org/GNOME/shotwell/-/commit/32a25febf8a4d4c88d0047fc3b84f2db33cbc51c