GNU bug report logs -
#39102
[PATCH 1/2] gnu: xdg-utils: Don't use propagated inputs.
Previous Next
Reported by: Jakub Kądziołka <kuba <at> kadziolka.net>
Date: Sun, 12 Jan 2020 15:45:02 UTC
Severity: normal
Tags: patch
Done: Marius Bakke <mbakke <at> fastmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Jakub Kądziołka <kuba <at> kadziolka.net> writes:
> * gnu/packages/patches/qtbase-use-xdg-open-in-store.patch: New file.
> * gnu/packages/qt.scm (qtbase)[source][patches]: Apply the patch.
> [inputs]: Add a dependency on xdg-utils to get its store path.
> [arguments]: Add a new phase to patch the path into the source code.
This patch does a lot. :-)
With this patch, BROWSER and DEFAULT_BROWSER would no longer be
consulted, right?
Does checkExecutable work with absolute file names? I.e. could we get
away by simply patching "xdg-open" with its store file name? Probably
should change the default browsers while at it, though. :-)
Wrt the easy substitution, I think we should try and avoid introducing
changes to source code that depend on magic from #:phases. That way
people will still be (mostly) able to build Qt manually using the Guix
source. In this case, maybe defaulting to just "xdg-open" is enough?
In short, I'm looking for an easier way to achieve the same goal,
without the rather intrusive patch.
Copying Efraim as our resident Qt expert.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 5 years and 134 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.