ruby-build-system: Add wrap-ruby-program.
A modified copy of wrap-program from (guix build utils). The wrap-program
procedure doesn't work well for Ruby scripts, as it breaks using the -S flag
with ruby to execute the script, as when -S is passed to ruby, it expects the
script on the PATH to use ruby in the shebang, and not bash.
Therefore, to wrap the program, but keep the shebang as ruby, wrap it with a
ruby script instead.
wrap-ruby-program uses .real/foo rather than .foo-real, as this might be
neater. This procedure also includes a call to Gem.clear_paths to make it
possible to set the GEM_PATH through this method, and for it to take effect.
* gnu/build/ruby-build-system.scm (wrap-ruby-program): New procedure.
guix: build: ruby-build-system: Install to the vendor directory
* guix/build/ruby-build-system.scm (install): Install gems to the vendor
directory, rather than the GEM_HOME. The vendor directory does not include
the version of ruby used to install the gem in the path, which makes it
easier to add it to the GEM_PATH for all versions of ruby to use.
(gem-home): Remove procedure.
* gnu/packages/ruby.scm (ruby, ruby-2.1)[native-search-paths]: Switch to
lib/ruby/vendor_ruby.
(ruby-1.8)[native-search-paths]: Remove native-search-paths.
(gem-directory): Remove procedure.
(ruby-ansi, ruby-ae)[arguments]: Remove use of gem-directory.
(ruby-metaclass, ruby-instantiator, ruby-introspection, ruby-mocha,
ruby-nokogiri, ruby-minitest-tu-shim, ruby-redcloth)[arguments]: Remove use
of gem-home.
(ruby-git, ruby-httpclient)[arguments]: Remove use of GEM_HOME.
* gnu/packages/databases.scm (es-dump-restore)[arguments]: Remove use of
GEM_HOME.
arb: Update to 2.12.0.
* gnu/packages/algebra.scm (arb): Update to 2.12.0.
gnu: pari-gp: Update to 2.9.4.
* gnu/packages/algebra.scm (pari-gp): Update to 2.9.4.
doc: Correct documentation of NGINX-LOCATION-CONFIGURATION.
* doc/guix.texi (Web Services): The body of an NGINX-LOCATION-CONFIGURATION
is a list of strings and not a string.
gnu: rct: Re-categorize some inputs.
OpenSSL and zlib are referred to by the built package, so we make them
regular inputs.
This is a followup to commit e8b409741baf3b9de30faa8683722375196dd1e9.
* gnu/packages/cpp.scm (rct)[native-inputs]: Move openssl and zlib to ...
[inputs]: ... new field.
gnu: Add rct.
* gnu/packages/cpp.scm (rct): New variable.
gnu: flashrom: Update to 1.0.
* gnu/packages/flashing-tools.scm (flashrom): Update to 1.0.
gnu: flashrom: Use HTTPS for home page.
* gnu/packages/flashing-tools.scm (flashrom)[home-page]: Use HTTPS.
gnu: mpd: Use HTTPS for musicpd.org home pages.
* gnu/packages/mpd.scm (libmpdclient, mpd, mpd-mpc, ncmpc)[home-page]: Use
HTTPS.
gnu: mpdscribble: Update home page.
* gnu/packages/mpd.scm (mpdscribble)[home-page]: This package seems to have
found a home. Use it.
gnu: libmpdclient: Update to 2.13.
* gnu/packages/mpd.scm (libmpdclient): Update to 2.13.
[build-system]: Switch to meson-build-system.
[native-inputs]: Add pkg-config and check.
[arguments]: Enable tests and build documentation.
gnu: pcre: Use HTTPS for home pages.
* gnu/packages/pcre.scm (pcre, pcre2)[home-page]: Use HTTPS.
gnu: gsm: Update to 1.0.17.
* gnu/packages/audio.scm (gsm): Update to 1.0.17.
gnu: youtube-dl: Update to 2018.01.14.
* gnu/packages/video.scm (youtube-dl): Update to 2018.01.14.
gnu: libcap-ng: Use HTTPS for home page.
* gnu/packages/admin.scm (libcap-ng)[home-page]: Use HTTPS.
gnu: lz4: Update to 1.8.1.
* gnu/packages/compression.scm (lz4): Update to 1.8.1.
[arguments]: Enable ‘#:parallel-tests?’, now considered safe upstream.
Use ‘more GNU’-style lowercase ‘prefix=’.
gnu: krita: Update to 3.3.3.
* gnu/packages/kde.scm (krita): Update to 3.3.3.
gnu: xfce: Use HTTPS for xfce.org home pages.
* gnu/packages/xfce.scm (gtk-xfce-engine, libxfce4util, xfconf, libxfce4ui)
(exo, garcon, tumbler, xfce4-panel, xfce4-battery-plugin)
(xfce4-clipman-plugin, xfce4-pulseaudio-plugin, xfce4-xkb-plugin)
(xfce4-appfinder, xfce4-session, xfce4-settings, thunar, thunar-volman)
(xfwm4, xfdesktop, xfce4-terminal, xfce, xfce4-power-manager, ristretto)
(xfce4-taskmanager, orage)[home-page]: Use HTTPS.