junction crashes at start, if dev-libs/libportal lacks USE gtk: $ re.sonny.Junction (re.sonny.Junction:21877): Gjs-CRITICAL **: 23:25:40.180: JS ERROR: Error: Requiring XdpGtk4, version none: Typelib file for namespace 'XdpGtk4' (any version) not found require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28 @gi://XdpGtk4:3:25 (re.sonny.Junction:21877): Gjs-CRITICAL **: 23:25:40.180: Module file:///usr/bin/re.sonny.Junction threw an exception Fix: Add USE gtk to runtime dependency dev-libs/libportal Reproducible: Always Steps to Reproduce: 1. emerge -1 dev-libs/libportal[-gtk] 2. emerge '=gnome-extra/junction-1.7' 3. $ re.sonny.Junction Actual Results: Program runs. Expected Results: Program complains about missing lib and crashes. junction-1.6-r1 is not affected.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3297a17695e363513e0f5857142d56c31fe377a9 commit 3297a17695e363513e0f5857142d56c31fe377a9 Author: Lucio Sauer <watermanpaint@posteo.net> AuthorDate: 2024-04-06 23:43:09 +0000 Commit: Lucio Sauer <watermanpaint@posteo.net> CommitDate: 2024-04-06 23:43:09 +0000 gnome-extra/junction: fix startup issues - missing library (928867) - upstream doesn't honor fallback for XDG_DATA_DIRS https://github.com/sonnyp/Junction/issues/115#issuecomment-2041227264 Closes: https://bugs.gentoo.org/928867 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> gnome-extra/junction/junction-1.7-r1.ebuild | 67 +++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+)