Commit Graph

40845 Commits

Author SHA1 Message Date
Ludovic Courtès 8b3ad455be
services: guix: Pre-compute the default ACL.
This makes the first boot slightly faster.

* gnu/services/base.scm (not-config?): New procedure.
(hydra-key-authorization): Rewrite to pre-compute the default ACL, and
pre-compute it using (guix pki) directly.
2019-03-10 23:41:33 +01:00
Ludovic Courtès 309d87c3aa
services: guix: Allocate build user UIDs in the system range.
Until now we were allocating the UIDs of build users above 30000, which
is in "normal" user UID range.  This static allocation was unnecessary,
so this change lets the system allocate UIDs in the system range (below
1000).

* gnu/services/base.scm (guix-build-accounts): Remove #:first-uid, and
remove 'uid' field from 'user-account'.
2019-03-10 23:41:33 +01:00
Ludovic Courtès 45fef894eb
gnu: gnome-shell: Avoid top-level reference to inkscape.
Fixes <https://bugs.gnu.org/34806>.
Reported by Marius Bakke <mbakke@fastmail.com>.

* gnu/packages/gnome.scm (gnome-shell)[source](snippet): Remove
reference to INKSCAPE.  Instead, simply copy the SVG file to
data/theme.
[arguments]: Add 'convert-logo-to-png' phase.
[native-inputs]: Add INKSCAPE.
2019-03-10 23:41:33 +01:00
Tobias Geerinckx-Rice 5ae5932b2f
gnu: ansible: Update to 2.7.8 [fixes CVE-2019-3828].
* gnu/packages/admin.scm (ansible): Update to 2.7.8.
2019-03-10 23:00:08 +01:00
Marius Bakke 7fda7b8fad
gnu: pugixml: Build as shared library.
* gnu/packages/patches/pugixml-versioned-libdir.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/xml.scm (pugixml)[source](patches): New field.
[arguments]: Instruct the build system to create a shared rather than static
library.
[native-inputs]: Add PKG-CONFIG.
2019-03-10 21:44:25 +01:00
Marius Bakke e2bdf60982
gnu: FileZilla: Update to 3.41.1.
* gnu/packages/ftp.scm (filezilla): Update to 3.41.1.
2019-03-10 21:44:25 +01:00
Marius Bakke 6324727770
gnu: pugixml is a regular input.
* gnu/packages/emulators.scm (mame)[native-inputs]: Move PUGIXML ...
[inputs]: ... here.
* gnu/packages/ftp.scm (filezilla)[native-inputs, inputs]: Likewise.
2019-03-10 21:44:25 +01:00
Oleg Pykhalov e44de1d2fb
services: zabbix-front-end: Show location in messages.
* gnu/services/monitoring.scm (zabbix-front-end-config): Show location in
messages.
2019-03-10 21:32:38 +03:00
Oleg Pykhalov d132d9f96b
services: configuration: Add '%location'.
* gnu/services/configuration.scm (define-configuration): Add '%location'.
2019-03-10 21:32:38 +03:00
Marius Bakke 41ce92501b
gnu: xfd: Update to 1.1.3.
* gnu/packages/xorg.scm (xfd): Update to 1.1.3.
2019-03-10 18:30:51 +01:00
Marius Bakke 06e3ed5d19
gnu: xprop: Update to 1.2.4.
* gnu/packages/xorg.scm (xprop): Update to 1.2.4.
2019-03-10 18:30:51 +01:00
Marius Bakke df8dbfb30b
gnu: notmuch: Update to 0.28.3.
* gnu/packages/mail.scm (notmuch): Update to 0.28.3.
2019-03-10 18:30:51 +01:00
Marius Bakke 2c0cf9eec7
gnu: xapian: Update to 1.4.11.
* gnu/packages/search.scm (xapian, python-xapian-bindings): Update to 1.4.11.
2019-03-10 18:30:51 +01:00
Marius Bakke 511930c294
gnu: libmspack: Update to 0.10.1.
* gnu/packages/compression.scm (libmspack): Update to 0.10.1.
2019-03-10 18:30:50 +01:00
Marius Bakke 755226e9c2
gnu: python-dask: Update to 1.1.4.
* gnu/packages/python-xyz.scm (python-dask): Update to 1.1.4.
2019-03-10 18:30:50 +01:00
Marius Bakke f1fff66be5
gnu: elogind: Update to 239.4.
* gnu/packages/freedesktop.scm (elogind): Update to 239.4.
2019-03-10 18:30:50 +01:00
Tobias Geerinckx-Rice 6845ab5204
gnu: Import (gnu packages image) in (gnu packages scanner).
This is a follow-up to commit 10bd2889d2.

* gnu/packages/scanner.scm: #:use-module (gnu packages image).
2019-03-10 17:12:16 +01:00
Tobias Geerinckx-Rice 10bd2889d2
gnu: sane-backends: Support PNG scanimage output.
* gnu/packages/scanner.scm (sane-backends)[inputs]: Add libpng.
2019-03-10 16:33:55 +01:00
Ricardo Wurmus ca32afacf9
gnu: Add btanks.
* gnu/packages/games.scm (btanks): New variable.
2019-03-10 14:04:28 +01:00
Ricardo Wurmus d7764d42e4
gnu: Add libsmpeg-with-sdl1.
* gnu/packages/video.scm (libsmpeg-with-sdl1): New variable.
(libsmpeg)[version]: Change to 0.4.5-401.
2019-03-10 14:04:28 +01:00
Ricardo Wurmus 8ada024ba6
gnu: Add 4dtris.
* gnu/packages/games.scm (4dtris): New variable.
2019-03-10 14:04:28 +01:00
Ricardo Wurmus c06709b8a4
gnu: Add slingshot.
* gnu/packages/games.scm (slingshot): New variable.
2019-03-10 14:04:28 +01:00
Ricardo Wurmus 05487ed8e6
gnu: scons: Update to 3.0.4.
* gnu/packages/python-xyz.scm (scons): Update to 3.0.4.
[arguments]: Remove second instance of "imp.load_module" (bug 34236).
2019-03-10 14:04:28 +01:00
Tobias Geerinckx-Rice 4eb57ca883
gnu: Add opensmtpd-next.
* gnu/packages/mail.scm (opensmtpd-next): New public variable.
2019-03-10 13:37:18 +01:00
Tobias Geerinckx-Rice 380384e419
gnu: ibus: Update Unicode data to 12.0.0.
* gnu/packages/ibus.scm (ibus)[native-inputs]: Use versioned URLs for
Unicode data and update hashes.
2019-03-10 13:37:18 +01:00
Pierre Neidhardt 2b613a1a5d
gnu: hyperledger-fabric: Fix description, set supported system and parallel build.
* gnu/packages/hyperledger.scm (hyperledger-fabric)[description]: Rephrase
into something less marketing-ish.
[arguments]: Build with multiple jobs.
[supported-systems]: Support x86_64-linux only.
2019-03-09 12:30:24 +01:00
Ricardo Wurmus 7d4cab7473
gnu: Add openfst.
* gnu/packages/machine-learning.scm (openfst): New variable.
2019-03-09 10:43:37 +01:00
Pierre Neidhardt 983550692d
gnu: Add hyperledger-fabric.
* gnu/local.mk (hyperledger): New variable.
2019-03-09 10:15:46 +01:00
Tobias Geerinckx-Rice 373abfb398
gnu: lynis: Update to 2.7.2.
* gnu/packages/admin.scm (lynis): Update to 2.7.2.
2019-03-09 02:33:31 +01:00
Tobias Geerinckx-Rice 7b957a3344
gnu: youtube-viewer: Update to "3.5.4.
* gnu/packages/video.scm (youtube-viewer): Update to "3.5.4.
2019-03-09 02:33:31 +01:00
Tobias Geerinckx-Rice 37fc44eab9
gnu: dovecot: Avoid unnecessary patching.
* gnu/packages/mail.scm (dovecot)[arguments]: Replace ‘pre-configure’
patching with custom ‘make install sysconfdir=…’.
2019-03-09 02:33:31 +01:00
Tobias Geerinckx-Rice f762e49f28
gnu: dovecot: Indent arguments.
* gnu/packages/mail.scm (dovecot)[arguments]: C-M-q and tuck left.
2019-03-09 02:33:31 +01:00
Tobias Geerinckx-Rice 7969751f54
gnu: i3lock-color: Update to 2.12.c.
* gnu/packages/wm.scm (i3lock-color): Update to 2.12.c.
[inputs]: Add xcb-util-xrm.
2019-03-09 02:33:30 +01:00
Tobias Geerinckx-Rice f45cc966ba
gnu: i3lock-color: Don't use unstable tarball.
* gnu/packages/wm.scm (i3lock-color)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2019-03-09 02:33:30 +01:00
Tobias Geerinckx-Rice a48db08afe
gnu: i3lock-fancy: Don't use unstable tarball.
* gnu/packages/wm.scm (i3lock-fancy)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2019-03-09 02:33:30 +01:00
Ludovic Courtès 0bd1498fc4
upstream: Correctly report failure to update Git checkouts.
Fixes <https://bugs.gnu.org/34778>.
Reported by Gábor Boskovits <boskovits@gmail.com>.

* guix/upstream.scm (package-update/url-fetch): New procedure, with code
formerly in 'package-update'.
(%method-updates): New variable.
(package-update): Check the method to download PACKAGE's source, and
look up a corresponding update method in %METHOD-UPDATES, and raise an
error if none was found.
2019-03-08 23:21:59 +01:00
Ludovic Courtès d429878daf
activation: Shared system home directories are now 555 and root-owned.
Fixes <https://bugs.gnu.org/34788>.
Reported by Jack Hill <jackhill@jackhill.us>.

Regression introduced by the combination of
8bb76f3d44 and
0ae735bcc8ff7fdc89d67b492bdee9091ee19e86: /var/empty would be 700 and
owned by one of the system accounts (thus inaccessible to others), and
/var/run/dbus would be 700 as well, thereby preventing D-Bus clients
from connecting to the daemon.

* gnu/build/activation.scm (duplicates): New procedure.
(activate-users+groups)[system-accounts]: New variable.
Use it.  Make shared system account home directories #o555 and
root-owned.
* gnu/services/dbus.scm (dbus-activation): Make /var/run/dbus #o755.
* gnu/tests/base.scm (run-basic-test): Test the ownership and
permissions of /var/empty.
2019-03-08 23:21:59 +01:00
Ricardo Wurmus 74c2339fff
gnu: Add java-eclipse-jdt-compiler-apt.
* gnu/packages/java.scm (java-eclipse-jdt-compiler-apt): New variable.
2019-03-08 23:18:56 +01:00
Ricardo Wurmus 8057c9e906
gnu: Add epl2.0.
* guix/licenses.scm (epl2.0): New variable.
2019-03-08 23:18:01 +01:00
Ricardo Wurmus 8b6acb1f20
gnu: blast+: Update to 2.7.1.
* gnu/packages/bioinformatics.scm (blast+): Update to 2.7.1.
[inputs]: Add lmdb.
[source]: Remove obsolete patch.
* gnu/package/patches/blast+-fix-makefile.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-03-08 23:00:07 +01:00
Ricardo Wurmus f87dcb4d75
gnu: Add texlive-latex-pdfx.
* gnu/packages/tex.scm (texlive-latex-pdfx): New variable.
2019-03-08 21:49:25 +01:00
Ricardo Wurmus cafd4d387b
gnu: Add texlive-latex-xmpincl.
* gnu/packages/tex.scm (texlive-latex-xmpincl): New variable.
2019-03-08 21:48:19 +01:00
Ricardo Wurmus 847768b9cc
gnu: Add translate2geda.
* gnu/packages/engineering.scm (translate2geda): New variable.
2019-03-08 21:45:29 +01:00
Ricardo Wurmus a734da8675
gnu: Add rkrlv2.
* gnu/packages/music.scm (rkrlv2): New variable.
2019-03-08 21:02:49 +01:00
Danny Milosavljevic eb6ef893e8
gnu: fc-host-tools: Update to 10.
* gnu/packages/embedded.scm (fc-host-tools): Update to 10.
[arguments]<:make-flags>: Change INSTBIN to INSTALL_PREFIX.
2019-03-08 19:33:04 +01:00
Efraim Flashner 606c198788
gnu: crawl: Find all the included headers.
* gnu/packages/games.scm (crawl)[arguments]: Add a custom phase to
change the path for some headers.
2019-03-08 17:22:29 +02:00
Efraim Flashner b89284407f
gnu: crawl: Don't assume system architecture.
This allows crawl to build on non-Intel architectures.

* gnu/packages/games.scm (crawl)[arguments]: Add a custom phase to
remove x86* specific CFLAGS.
2019-03-08 17:22:29 +02:00
Efraim Flashner fc7d6bc60d
gnu: crawl: Build with python3-wrapper.
* gnu/packages/games.scm (crawl)[native-inputs replace python with
python-wrapper.
[arguments]: Remove custom 'patch-python phase.
2019-03-08 17:22:26 +02:00
Ludovic Courtès 4035fcba93
channels: Do not fail when the inferior lacks 'guix repl'.
Fixes <https://bugs.gnu.org/34637>.
Reported by Martin Flack <martin.flack@gmail.com>.

Previously we'd fail to build the package cache for old versions of Guix
that lack 'guix repl'.  Now we simply ignore the issue and keep going
without a cache.

* guix/inferior.scm (gexp->derivation-in-inferior): Add
 #:silent-failure? and honor it.
[drop-extra-keyword]: New procedure.
Use it.
* guix/channels.scm (package-cache-file): Pass #:silent-failure? #t.
2019-03-08 12:31:38 +01:00
Ludovic Courtès 910aaa3b86
doc: Document references.
Suggested by "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>.
Fixes <https://bugs.gnu.org/34574>.

* doc/guix.texi (Derivations): Document references.
2019-03-08 12:31:37 +01:00