Commit Graph

27704 Commits

Author SHA1 Message Date
Ludovic Courtès 37af37dcc9
doc: Deprecate 'bitlbee-service' procedure.
* gnu/services/messaging.scm (bitlbee-service): Mark as deprecated.
* doc/guix.texi (Messaging Services): Document 'bitlbee-service-type'
and 'bitlbee-configuration'.  Remove 'bitlbee-service'.
2018-01-15 23:29:33 +01:00
Ludovic Courtès f2bee4210f
services: bitlbee: Move to (gnu services messaging).
* gnu/services/networking.scm (<bitlbee-configuration>)
(bitlbee-shepherd-service, %bitlbee-accounts, %bitlbee-activation)
(bitlbee-service-type, bitlbee-service): Move to...
* gnu/services/messaging.scm: ... here.
* doc/guix.texi (Networking Services): Move 'bitlbee-service' doc to...
(Messaging Services): ... here.
2018-01-15 23:29:33 +01:00
Ludovic Courtès 95aa64bc48
linux-container: Work around EBADF errors upon exit.
Typically 'read-pid-file/container' would fail when starting services in
containers such as BitlBee.

* gnu/build/linux-container.scm (call-with-clean-exit): Use
'primitive-_exit' instead of 'primitive-exit'.
(container-excursion*): Close OUT.
2018-01-15 23:29:33 +01:00
Ludovic Courtès 92423868bc
ui: Disable '%fresh-auto-compile' only for Guile 2.2.3.
Mitigates <https://bugs.gnu.org/29881>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.

* guix/ui.scm (load*): Unset '%fresh-auto-compile' only on Guile 2.2.3.
2018-01-15 23:29:33 +01:00
Ludovic Courtès 9d4399b805
doc: Connect "guix archive", "guix pack", and co.
* doc/guix.texi (Invoking guix pack): Add xrefs to "guix publish", "guix
copy", and "guix archive".
(Invoking guix archive): Add xref to "guix pack".
2018-01-15 23:29:33 +01:00
Ludovic Courtès 309121a113
offload: Look at machine loads for the past minute.
Previously we were looking at the load of the past 5 minutes, which
means that, after a build, we could end up waiting for 5 minutes for
that metric to be low enough.

* guix/scripts/offload.scm (machine-load): Compute RAW based on ONE, not
FIVE.
2018-01-15 23:29:33 +01:00
Danny Milosavljevic b640370d82
ruby-build-system: Fix build error.
* gnu/build/ruby-build-system.scm: Import (ice-9 rdelim).

Follow-up to d9df4bf055.
2018-01-15 16:56:03 +01:00
Ludovic Courtès 403f2dccfc
cuirass: Properly convert list of <license> objects.
Fixes a bug whereby we would 'write' raw <license> objects when they
were in a list.

* build-aux/cuirass/gnu-system.scm (entry->sexp-entry): Add recursive
case when O is a list.
2018-01-15 15:18:03 +01:00
Tobias Geerinckx-Rice adbfc6b9f1
gnu: talloc: Update to 2.1.11.
* gnu/packages/samba.scm (talloc): Update to 2.1.11.
[arguments]: Run all tests.  Use INVOKE.
2018-01-15 14:58:33 +01:00
Tobias Geerinckx-Rice a9691718e8
gnu: iniparser: Update to 4.1.
* gnu/packages/samba.scm (iniparser): Update to 4.1.
[arguments]: Update library SONAME.
[home-page]: Abandon outdated home page with no mention of version 4.
2018-01-15 14:58:33 +01:00
Tobias Geerinckx-Rice fa5e661859
gnu: iniparser: Use INSTALL-FILE.
* gnu/packages/samba.scm (iniparser)[arguments]: Simplify ‘install’ phase by
replacing COPY-FILE with INSTALL-FILE.
2018-01-15 14:58:33 +01:00
Tobias Geerinckx-Rice cf52c9255d
gnu: iniparser: Use #:make-flags.
* gnu/packages/samba.scm (iniparser)[arguments]: Use #:make-flags to set
‘CC’ instead of patching the Makefile.  Remove fruitless SYMLINK call.
2018-01-15 14:58:32 +01:00
Tobias Geerinckx-Rice 33fa13eac1
gnu: iniparser: Fix documentation directory.
* gnu/packages/samba.scm (iniparser)[arguments]: Install documentation to
‘/share/doc/iniparser’ instead of ‘/share/doc’.
2018-01-15 14:58:32 +01:00
Tobias Geerinckx-Rice 52e752e3c5
gnu: ccache: Update to 3.3.5.
* gnu/packages/ccache.scm (ccache): Update to 3.3.5.
[arguments]: Don't substitute ‘which’ in ‘setup-tests’ phase.
Add new ‘munge-failing-test’ phase to make test suite pass.
2018-01-15 14:58:32 +01:00
Oleg Pykhalov dd72837dff
gnu: Add emacs-json-mode.
* gnu/packages/emacs.scm (emacs-json-mode): New public variable.
2018-01-15 14:55:11 +03:00
Oleg Pykhalov b0912e9fdb
gnu: Add emacs-json-reformat.
* gnu/packages/patches/emacs-json-reformat-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add this.
* gnu/packages/emacs.scm (emacs-json-reformat): New variable.
2018-01-15 14:42:55 +03:00
Tobias Geerinckx-Rice 15eef66e5d
gnu: ghc-hmatrix-special: Update to 0.4.0.1.
* gnu/packages/haskell.scm (ghc-hmatrix-special): Update to 0.4.0.1.
2018-01-15 07:29:44 +01:00
Tobias Geerinckx-Rice 26d6539bc0
gnu: ghc-hmatrix-gsl-stats: Update to 0.4.1.7.
* gnu/packages/haskell.scm (ghc-hmatrix-gsl-stats): Update to 0.4.1.7.
2018-01-15 07:29:39 +01:00
Tobias Geerinckx-Rice e72a77e1a4
gnu: ghc-hmatrix-gsl: Update to 0.18.0.1.
* gnu/packages/haskell.scm (ghc-hmatrix-gsl): Update to 0.18.0.1.
2018-01-15 07:29:34 +01:00
Tobias Geerinckx-Rice 621fe476ec
gnu: ghc-hmatrix: Update to 0.18.1.0.
* gnu/packages/haskell.scm (ghc-hmatrix): Update to 0.18.1.0.
2018-01-15 07:29:30 +01:00
Tobias Geerinckx-Rice 7a1bc3b9e7
gnu: ghc-juicypixels: Update to 3.2.9.3.
* gnu/packages/haskell.scm (ghc-juicypixels): Update to 3.2.9.3.
2018-01-15 07:29:25 +01:00
Tobias Geerinckx-Rice e427a0e42c
gnu: ghc-iproute: Use HTTPS for home page.
* gnu/packages/haskell.scm (ghc-iproute)[home-page]: Use HTTPS.
2018-01-15 07:29:20 +01:00
Tobias Geerinckx-Rice 1cc0942f49
gnu: ghc-iproute: Update to 1.7.1.
* gnu/packages/haskell.scm (ghc-iproute): Update to 1.7.1.
2018-01-15 07:29:15 +01:00
Tobias Geerinckx-Rice 06c8258b51
gnu: opusfile: Update to 0.9.
* gnu/packages/xiph.scm (opusfile): Update to 0.9.
2018-01-15 07:29:11 +01:00
Tobias Geerinckx-Rice 2e33e6b18b
gnu: xiph: Use HTTPS for home pages where possible.
* gnu/packages/xiph.org (libogg, libvorbis, libtheora, ao, flac)
(vorbis-tools, opusfile, icecast)[home-page]: Use HTTPS.
2018-01-15 07:29:06 +01:00
Tobias Geerinckx-Rice 81e59e4146
gnu: linux: Use HTTPS for home pages where possible.
* gnu/packages/linux.scm (ltrace, libnl, pflask, acpi, module-init-tools)
(snapscreenshot)[home-page]: Use HTTPS.
2018-01-15 07:29:02 +01:00
Tobias Geerinckx-Rice 4631e6c9cd
gnu: tls: Use HTTPS for home pages where possible.
* gnu/packages/tls.scm (openssl, p11-kit, python-acme)[home-page]: Use
HTTPS instead of HTTP, irony.
2018-01-15 07:28:57 +01:00
Tobias Geerinckx-Rice af63f03f27
gnu: geos: Update to 3.6.2.
* gnu/packages/geo.scm (geos): Update to 3.6.2.
2018-01-15 07:28:53 +01:00
Tobias Geerinckx-Rice 6d2ff64584
gnu: gpsbabel: Complete licencing information.
* gnu/packages/gps.scm (gpsbabel)[source]: Remove unused files in a snippet.
[license]: Add expat.
2018-01-15 07:28:47 +01:00
Tobias Geerinckx-Rice facee7941f
gnu: gpsbabel: Use HTTPS for home page.
* gnu/packages/gps.scm (gpsbabel)[home-page]: Use HTTPS.
2018-01-15 07:28:43 +01:00
Tobias Geerinckx-Rice 85389321f0
gnu: libedit: Update to 20170329-3.1.
* gnu/packages/libedit.scm (libedit): Update to 20170329-3.1.
[arguments]: Remove deprecated ‘--enable-widec’ from #:configure-flags.
2018-01-15 07:28:38 +01:00
Tobias Geerinckx-Rice c3d8bf3992
gnu: libedit: Use HTTPS for home page.
* gnu/packages/libedit.scm (libedit)[home-page]: Use HTTPS.
2018-01-15 07:28:34 +01:00
Christopher Baines 0076f5a98c
gnu: Remove redundant wrapping from packages using ruby-build-system.
Now that the build system does wrapping automatically, it can be removed from
the packages that do it manually.

* gnu/packages/databases.scm (es-dump-restore)[arguments]: Remove #:phases.
* gnu/packages/ruby.scm (ruby-redcloth)[arguments]: Remove #:phases.
  (ruby-httpclient)[arguments]: Remove 'wrap-bin-httpclient from the modified
  phases.
2018-01-14 22:16:26 +00:00
Christopher Baines 2c2ec3d04a
ruby-build-system: Add a new wrap phase.
Wrap files in bin/ and sbin/ with the location of the gem itself and the
location of any other gems in use (GEM_PATH). This ensures that the bin files
will run with the right environment when executed.

It does however mean that native-inputs will also get wrapped up in any
binaries, which is not good, as it increases the size of the closure, and
risks this code being used at runtime.

* guix/build/ruby-build-system.scm (wrap): New procedure.
  (%standard-phases): Add the wrap phase.
2018-01-14 22:16:20 +00:00
Christopher Baines d9df4bf055
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.
2018-01-14 22:16:15 +00:00
Christopher Baines 3cb3fa6747
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.
2018-01-14 22:16:08 +00:00
Andreas Enge b1225dd30f
arb: Update to 2.12.0.
* gnu/packages/algebra.scm (arb): Update to 2.12.0.
2018-01-14 21:11:04 +01:00
Andreas Enge 9054bbfe1e
gnu: pari-gp: Update to 2.9.4.
* gnu/packages/algebra.scm (pari-gp): Update to 2.9.4.
2018-01-14 21:07:31 +01:00
Leo Famulari 6d49ca16be
gnu: elogind: Fix compilation against glibc 2.26.
* gnu/packages/freedesktop.scm (elogind)[arguments]: Add a 'patch-locale-header'
phase.
2018-01-14 08:36:48 -08:00
Andreas Enge 7baf6615e9
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.
2018-01-14 16:24:00 +01:00
Leo Famulari bad12e839c
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 e8b409741b.

* gnu/packages/cpp.scm (rct)[native-inputs]: Move openssl and zlib to ...
[inputs]: ... new field.
2018-01-13 17:23:31 -08:00
Fis Trivial e8b409741b
gnu: Add rct.
* gnu/packages/cpp.scm (rct): New variable.
2018-01-13 17:11:49 -08:00
Ludovic Courtès 1b321229f4
gnu: icecat: Fix compilation against glibc 2.26.
* gnu/packages/patches/icecat-glibc-2.26.patch: New file.
* gnu/packages/gnuzilla.scm (icecat)[source](patches): Add it.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-01-13 23:22:40 +01:00
Ludovic Courtès 7342edf390
gnu: livemedia-utils: Update to 2017.10.28.
* gnu/packages/video.scm (livemedia-utils): Update to 2017.10.28.
2018-01-13 22:42:28 +01:00
Ludovic Courtès 156c14c1cc
gnu: livemedia-utils: Fix compilation against glibc 2.26.
* gnu/packages/video.scm (livemedia-utils)[source](snippet, modules):
New fields.
2018-01-13 22:42:09 +01:00
Tobias Geerinckx-Rice a03abe7888
gnu: flashrom: Update to 1.0.
* gnu/packages/flashing-tools.scm (flashrom): Update to 1.0.
2018-01-13 21:25:42 +01:00
Tobias Geerinckx-Rice 291b5de9ce
gnu: flashrom: Use HTTPS for home page.
* gnu/packages/flashing-tools.scm (flashrom)[home-page]: Use HTTPS.
2018-01-13 21:25:42 +01:00
Tobias Geerinckx-Rice a178e83b99
gnu: mpd: Remove (gnu packages gcc) import.
This follows up commit 7641266b03.

* gnu/packages/mpd.scm: Don't #:use-module (gnu packages gcc).
2018-01-13 21:25:42 +01:00
Tobias Geerinckx-Rice e9aa6b5e91
gnu: mpd: Use HTTPS for musicpd.org home pages.
* gnu/packages/mpd.scm (libmpdclient, mpd, mpd-mpc, ncmpc)[home-page]: Use
HTTPS.
2018-01-13 21:25:41 +01:00
Tobias Geerinckx-Rice fc2847b1f7
gnu: mpdscribble: Update home page.
* gnu/packages/mpd.scm (mpdscribble)[home-page]: This package seems to have
found a home.  Use it.
2018-01-13 21:25:41 +01:00