Commit Graph

44460 Commits

Author SHA1 Message Date
Ludovic Courtès 8d080506f4
gnu: munge: Pass '--localstatedir=/var'.
Previously, Munge users such as Slurm would fail with:

  squeue: error: Munge encode failed: Failed to access "/gnu/store/…-munge-0.5.13/var/run/munge/munge.socket.2": No such file or directory
  squeue: error: authentication: Socket communication error

* gnu/packages/admin.scm (munge)[source](modules, snippet): New fields.
[arguments]: New field.
2019-05-14 12:11:04 +02:00
Ludovic Courtès 05d907ac6f
services: Add 'network-manager-applet' to %DESKTOP-SERVICES.
Fixes <https://bugs.gnu.org/35554>.
Reported by Calle Kabo <calle@kabo.nu>.

* gnu/services/desktop.scm (%desktop-services): Add
'network-manager-applet' service.
2019-05-14 12:11:04 +02:00
Ludovic Courtès 3ea420f337
gnu: hdf5: Add dependency on Perl.
* gnu/packages/maths.scm (hdf5)[native-inputs]: Add PERL.
2019-05-14 12:11:04 +02:00
Ludovic Courtès 549d15712f
gnu: hdf5: Build a thread-safe library.
* gnu/packages/maths.scm (hdf5)[arguments]: Pass "--enable-threadsafe
--with-pthread --enable-unsupported".
2019-05-14 12:11:04 +02:00
Pierre Neidhardt ae5de93ae2
gnu: uncrustify: Update to 0.69.0.
* gnu/packages/code.scm (uncrustify): Update to 0.69.0.
2019-05-14 11:47:08 +02:00
Maxim Cournoyer d03de6be0a
vm: Auto-detect if inputs should be registered.
The default value of the argument REGISTER-CLOSURE? of the ISO9660-IMAGE,
QEMU-IMAGE and SYSTEM-DOCKER-IMAGE procedures can be computed automatically,
since the operating-system definition is available in its context.  When the
operating-system definition does not contain the GUIX-SERVICE-TYPE, do not
register the closure in the database of Guix, as it takes time and doesn't
serve a purpose.

* gnu/system/vm.scm (has-guix-service-type): Add predicate.
(iso9660-image)[register-closures?]: Use it to compute the argument's default
value.
(qemu-image)[register-closures?]: Likewise, and update docstring.
(system-docker-image)[register-closures?]: Likewise.
(system-disk-image): Do not explicit a value for the REGISTER-CLOSURES?
argument of the ISO9660-IMAGE and QEMU-IMAGE procedure calls, so that its
default value is used instead.
* guix/scripts/system.scm (system-derivation-for-action): Do not explicit a
value for the REGISTER-CLOSURES? argument of the SYSTEM-DOCKER-IMAGE
procedure call, so that its default value is used instead.
2019-05-13 22:59:09 -04:00
Maxim Cournoyer 112fd34fee
gnu: cqfd: Update to 5.1.0.
* gnu/packages/docker.scm (cqfd): Update to 5.1.0.
[description]: Fix typo.
2019-05-13 21:50:34 -04:00
Danny Milosavljevic c5b1377840
installer: Create btrfs file system.
Fixes <https://bugs.gnu.org/35655>.

* gnu/installer/parted.scm (create-btrfs-file-system): New procedure.
(format-user-partitions): Use it.
2019-05-14 00:44:03 +02:00
Ludovic Courtès 489d6c0dc0
Set 'LC_ALL=en_US.utf8' in systemd '.service' files.
Fixes <https://bugs.gnu.org/35671>.

* etc/guix-daemon.service.in (Environment): Quote the 'GUIX_LOCPATH'
value; add 'LC_ALL'.
* etc/guix-publish.service.in (Environment): Likewise.
2019-05-13 23:46:08 +02:00
Ludovic Courtès 76269f6bc4
installer: Use 'glibc-supported-locales'.
The list of locales supported by glibc is now built from source.

* gnu/installer/locale.scm (locale-string->locale): Add optional
'codeset' parameter and honor it.
(supported-locales->locales): Rewrite to 'read' from SUPPORTED-LOCALES.
* gnu/installer.scm (compute-locale-step): Pass the result of
'glibc-supported-locales' instead of the "aux-files/SUPPORTED" file.
* gnu/installer/aux-files/SUPPORTED: Remove.
* gnu/local.mk (dist_installer_DATA): Remove it.
2019-05-13 23:46:08 +02:00
Ludovic Courtès 1be065c478
locale: Add 'glibc-supported-locales'.
* gnu/system/locale.scm (glibc-supported-locales): New procedure.
2019-05-13 23:46:08 +02:00
Arun Isaac b33454ae0b
linux-container: Support container network sharing.
* gnu/system/linux-container.scm (container-essential-services): If network is
to be shared with the host, remove network configuration files from etc
service.
(containerized-operating-system): If network is to be shared with the host,
remove nscd service and map host's /var/run/nscd if it exists.
(container-script): If network is to be shared with the host, do not create
network namespace.
* guix/scripts/system.scm (system-derivation-for-action): Add
#:container-shared-network? argument.
(perform-action): Add #:container-shared-network? argument.
(show-help): Add "-N, --network" help information.
(%options): Add network option.
(process-action): Call perform-action with #container-shared-network? argument.
* doc/guix.texi (Invoking guix system): Document the "-N, --network" option.

Co-authored-by: Christopher Baines <mail@cbaines.net>
2019-05-14 02:54:58 +05:30
Julien Lepiller 1bba3e8ca8
gnu: Add harmonist.
gnu/packages/games.scm (harmonist): New variable.
2019-05-13 23:20:00 +02:00
Julien Lepiller 7c1c42c4b6
gnu: go-github.com-nsf-termbox-go: Update to 0.0.0-1.288510b.
* gnu/packages/terminals.scm (go-github.com-nsf-termbox-go): Update to
0.0.0-1.288510b.
2019-05-13 23:19:56 +02:00
Julien Lepiller d1b18fbb5c
nls: Update 'fr' translation. 2019-05-13 22:44:22 +02:00
Maxim Cournoyer ccabb664ed
tests: Fix guix-package.sh.
GCC is now a hidden package, so cannot be installed.

* tests/guix-package.sh: Replace 'gcc' by 'zile' in a test that install
multiple packages.
2019-05-13 10:54:13 -04:00
宋文武 9bc8175cfa
download: Support 'https_proxy'.
* guix/build/download.scm (setup-http-tunnel): New procedure.
(open-connection-for-uri): Honor the 'https_proxy' environment variable.
2019-05-13 21:36:03 +08:00
Gábor Boskovits 4074ee4ef7
services: prometheus-node-exporter add default.
* gnu/services/monitoring.scm (prometheus-node-exporter-service-type):
Add default-value with default configuration.
2019-05-13 15:28:37 +02:00
Marius Bakke 993d8164e4
gnu: exiv2: Use HTTPS URLs.
* gnu/packages/image.scm (exiv2)[source, home-page]: Use HTTPS.
2019-05-13 14:16:48 +02:00
Marius Bakke 2508b07517
gnu: gpscorrelate: Update home page.
* gnu/packages/gps.scm (gpscorrelate)[source, home-page]: Update for new
maintainer, as noted on <https://github.com/freefoote/gpscorrelate>.
2019-05-13 14:16:48 +02:00
Marius Bakke 1015099d50
gnu: hugin: Update to 2019.0.0.
* gnu/packages/photo.scm (hugin): Update to 2019.0.0.
2019-05-13 14:16:48 +02:00
Ludovic Courtès 04a3ecc79e
gnu: Remove 'gcc-glibc-2.27' and 'gcc-glibc-2.26'.
These top-level references to GCC could cause problems, such as:

  $ guix build -e '(@ (gnu packages gcc) gcc)' -n
  guix build: error: failed to evaluate expression '(@ (gnu packages gcc) gcc)':
  In procedure module-lookup: Unbound variable: gcc

Regression introduced in 3ed497d42a.

* gnu/packages/base.scm (gcc-glibc-2.27, gcc-glibc-2.26): Remove.
2019-05-13 11:36:11 +02:00
Ludovic Courtès 8548cf6e95
nls: Update es translation. 2019-05-13 10:57:11 +02:00
Ludovic Courtès 2e62181357
nls: Update de translation. 2019-05-13 10:53:06 +02:00
Ludovic Courtès 7059cfc823
install: Add node name in Russian.
* gnu/system/install.scm (%installation-node-names): Add "ru".
2019-05-13 10:50:27 +02:00
Ludovic Courtès 06c78f3e11
doc: Mention the Russian translation.
* doc/guix.texi (Top): Mention the Russian translation.
2019-05-13 10:47:52 +02:00
Ludovic Courtès 3bac7e6495
doc: Add Russian translation.
* doc/local.mk (info_TEXINFOS): Add guix.ru.texi.
(TRANSLATED_INFO): Add {guix,contributing}.ru.texi.
* po/doc/local.mk (DOC_PO_FILES): Add guix-manual.ru.po.
* po/doc/guix-manual.ru.po: New file.
2019-05-13 10:46:03 +02:00
Ludovic Courtès a8e7ba7536
gnu: gdb: Add version 8.3.
* gnu/packages/gdb.scm (gdb): Rename to...
(gdb-8.2): ... this.
(gdb-8.3): New variable.
(gdb): Define as an alias for GDB-8.2.
2019-05-13 10:12:14 +02:00
Carl Dong 3ed497d42a
gnu: Allow building gcc with non-default libc.
* gnu/packages/base.scm (make-gcc-libc): New procedure, returns a gcc
  that targets a specified libc.
  (gcc-glibc-2.26, gcc-glibc-2.27): New public variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-13 09:46:58 +02:00
Carl Dong 102d307520
gnu: cross-base: Allow using non-default glibc.
* gnu/packages/cross-base.scm (cross-libc, native-libc, cross-newlib?):
  Add 'libc' optional argument to specify using a non-default glibc
  package.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-13 09:46:58 +02:00
Ricardo Wurmus d815728525
gnu: emacs-slack: Update to 0.0.2-6.10fbb81.
* gnu/packages/emacs-xyz.scm (emacs-slack): Update to 0.0.2-6.10fbb81.
[arguments]: Set HOME before compiling source files.
2019-05-13 09:10:41 +02:00
Ricardo Wurmus a624c36310
gnu: gajim: Fix error when GAJIM_PLUGIN_PATH is not set.
Fixes <https://bug.gnu.org/35606>

* gnu/packages/messaging.scm (gajim)[arguments]: Handle case when
GAJIM_PLUGIN_PATH is unset in add-plugins-dir phase.
2019-05-13 09:03:03 +02:00
Gábor Boskovits 70d23edf93
gnu: openjdk11: Suppress internal in version.
* gnu/packages/java.scm (openjdk11)[configure-flags]: Add --with-version-pre= .
2019-05-13 08:12:26 +02:00
Timothy Sample a430a3501a
gnu: gdm: Fix configuration file discovery.
The configuration file loading code moved to a new file in version 2.28.

* gnu/package/gnome.scm (gdm)[arguments]: Change the pre-configure phase
to patch configuration file discovery into the 'gdm-settings.c' file.
2019-05-12 20:01:35 -04:00
Marius Bakke 395c142ed9
gnu: python-requests-oauthlib: Update to 1.2.0.
* gnu/packages/python-web.scm (python-requests-oauthlib): Update to 1.2.0.
2019-05-13 00:17:37 +02:00
Marius Bakke c8a7cc69c9
gnu: python-oauthlib: Update to 3.0.1.
* gnu/packages/python-web.scm (python-oauthlib): Update to 3.0.1.
[arguments]: Replace check phase with pytest invokation.
[native-inputs]: Remove PYTHON-NOSE.  Add PYTHON-PYTEST and PYTHON-PYTEST-COV.
[properties]: Remove.
(python2-oauthlib)[native-inputs]: Remove PYTHON2-UNITTEST2.
2019-05-13 00:17:37 +02:00
Marius Bakke e7c67f1b69
gnu: python-oauthlib: Propagate required inputs.
* gnu/packages/python-web.scm (python-oauthlib)[native-inputs]: Move
PYTHON-CRYPTOGRAPHY, PYTHON-PYJWT, and PYTHON-BLINKER ...
[propagated-inputs]: ... here.
2019-05-13 00:17:37 +02:00
Marius Bakke 5f7e3ac066
gnu: python-oauthlib: Update home page.
* gnu/packages/python-web.scm (python-oauthlib)[home-page]: Follow redirect to
<https://github.com/oauthlib/oauthlib>.
2019-05-13 00:17:37 +02:00
Marius Bakke f94051e61f
gnu: python-mysqlclient: Don't depend on MySQL.
* gnu/packages/databases.scm (python-mysqlclient)[native-inputs]: Move MARIADB
from here to ...
[inputs]: ... here.  Remove MYSQL.
2019-05-13 00:17:37 +02:00
Marius Bakke 9c6fb330ad
gnu: perl-dbd-mysql: Depend on MariaDB rather than MySQL.
* gnu/packages/databases.scm (perl-dbd-mysql)[propagated-inputs]: Change from
MYSQL to MARIADB.
2019-05-13 00:17:37 +02:00
Marius Bakke d5d5403033
gnu: python-future: Update to 0.17.1.
* gnu/packages/python-xyz.scm (python-future): Update to 0.17.1.
2019-05-13 00:17:37 +02:00
Marius Bakke 0447a2a82b
gnu: postgresql@9: Update to 9.6.13 [fixes CVE-2019-10129, CVE-2019-10130].
* gnu/packages/databases.scm (postgresql-9.6): Update to 9.6.13.
2019-05-13 00:17:37 +02:00
Marius Bakke 6ced4433c7
gnu: speech-dispatcher: Update to 0.9.1.
* gnu/packages/speech.scm (speech-dispatcher): Update to 0.9.1.
[arguments]: Add "--with-ibmtts=no" to #:configure-flags.
[license]: Remove GPL2.
2019-05-13 00:17:37 +02:00
Ludovic Courtès 4d46775b1d
doc: Update list of supported architectures.
* doc/guix.texi (GNU Distribution): Remove "experimental" bit for
AArch64.  Mark "mips64el-linux" as "no longer fully supported."
2019-05-13 00:02:15 +02:00
gabrielhdt 62f6f3bb04
gnu: Add emacs-ediprolog.
* gnu/packages/emacs-xyz.scm (emacs-ediprolog): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-12 23:52:17 +02:00
Diego Nicola Barbato 84c6639f41
doc: Document 'auto-start?' field of 'shepherd-service'.
* doc/guix.texi (shepherd-service): Document 'auto-start?' field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-12 23:31:53 +02:00
Ludovic Courtès 637a2a23ea
gnu-maintenance: Update URL for package databases.
The databases migrated away from the Womb a couple of days ago.

* guix/gnu-maintenance.scm (%gnumaint-base-url): Update URL.
2019-05-12 23:15:13 +02:00
Ludovic Courtès e0244eb7a2
build-self: Let HOME pass through the execution environment.
This is a followup to 48d498c2c3, which
introduced a typo (missing '->' in 'mlet'.)

Fixes <https://bugs.gnu.org/35623>.
Reported by Karrick McDermott <kmcdermott@linkedin.com>.

* build-aux/build-self.scm (build): Add 'getenv' and 'setenv' calls for
HOME.
2019-05-12 22:56:57 +02:00
Christopher Baines f8cd07e8d8
services: mcron: Log to a file.
This makes it easier to read the output, as it's recorded in a file.

* gnu/services/mcron.scm (mcron-shepherd-services): Add #:log-file to
make-forkexec-constructor.
2019-05-12 18:16:37 +01:00
Gábor Boskovits 59199e1adb
gnu: icedtea-7: Disable os version check.
* gnu/packages/java.scm (icedtea-7)[arguments]:
Add phase 'disable-os-version-check.
2019-05-12 09:19:11 +02:00