GNOME Bugzilla – Bug 669754
should install to ~/bin/ by default
Last modified: 2021-05-17 15:52:33 UTC
Debian machines (and maybe soon Fedora ones[1]) add ~/bin to the path at login if it exists. I always end up linking ~/.local/bin/jhbuild to this directory so that I can just type 'jhbuild' to run it. The jhbuild Makefile could perhaps convenience the user by doing this automatically in its default configuration.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=789011
Created attachment 210914 [details] [review] build: install jhbuild script in ~/bin
Review of attachment 210914 [details] [review]: Thank you for the patch. I do prefer ~/.local/bin for two reasons: 1. It doesn't clutter my home directory, which has directory names like Documents, Pictures and Downloads. 2. XDG Base Directory Specification [1]. Whilst ~/.local/bin isn't mentioned in the spec, .local/share is mentioned. I would be happy if JHBuild install softlinks in ~/bin, if and only if ~/bin exists. [1] http://standards.freedesktop.org/basedir-spec/latest/index.html
Review of attachment 210914 [details] [review]: Also some clean up required in config.py around line 170 [1]. JHBuild will give a warning about old JHBuild version in ~/bin [1] http://git.gnome.org/browse/jhbuild/tree/jhbuild/config.py#n170
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/jhbuild/-/issues/125.