jackhill/guix/guix.git
4 years agodoc: Use @option for command-line options
Nicolas Goaziou [Thu, 7 May 2020 11:59:38 +0000 (13:59 +0200)]
doc: Use @option for command-line options

* doc/guix.texi (Invoking guix system): Use @option instead of @code.

4 years agonar: 'with-temporary-store-file' uses a single connection
Caleb Ristvedt [Wed, 6 May 2020 16:52:16 +0000 (11:52 -0500)]
nar: 'with-temporary-store-file' uses a single connection

Previously the 'with-store' form was entered every time a different temporary
file was tried.  This caused there to be as many simultaneous open connections
as there were attempts, and prevented the (loop ...) call from being a tail
call.  This change fixes that.

* guix/nar.scm (with-temporary-store-file): open connection once prior to
  entering the loop.

4 years agonar: 'finalize-store-file' follows proper store lock protocol.
Caleb Ristvedt [Wed, 6 May 2020 16:48:21 +0000 (11:48 -0500)]
nar: 'finalize-store-file' follows proper store lock protocol.

* guix/nar.scm (finalize-store-file): check for deletion token when acquiring
  lock, write deletion token and delete lock file before releasing lock.

4 years agoRevert "services: syslog: Simplify 'start' method."
Ludovic Courtès [Thu, 7 May 2020 10:45:43 +0000 (12:45 +0200)]
Revert "services: syslog: Simplify 'start' method."

This reverts commit 4c0cc7bed3de2c0e2d3a6e95b88693941e839eec.
Fixes <https://bugs.gnu.org/41116>.
Reported by Alex Sassmannshausen <alex@komputilo.eu>.

The problem is that reconfiguring on a system running Shepherd < 0.8.0
would lead to an error, due to #:file-creation-mask not being supported.
The error is rather harmless: it prevents service upgrade but the system
itself is upgraded.

We can reinstate that commit eventually, once #:file-creation-mask has
become widespread.

4 years agoguix system: 'docker-image' honors '--network'.
Ludovic Courtès [Thu, 7 May 2020 10:35:35 +0000 (12:35 +0200)]
guix system: 'docker-image' honors '--network'.

* gnu/system/vm.scm (system-docker-image): Add #:shared-network? and
pass it to 'containerized-operating-system'.
(qemu-image):
* guix/scripts/system.scm (system-derivation-for-action): Pass
 #:shared-network? to 'system-docker-image'.
* doc/guix.texi (Invoking guix system): Document it.

4 years agogit-authenticate: Use the 'origin/keyring' branch by default.
Ludovic Courtès [Thu, 7 May 2020 09:52:23 +0000 (11:52 +0200)]
git-authenticate: Use the 'origin/keyring' branch by default.

Previously one would need to have a worktree for the local 'keyring'
branch.

Reported by reepca and bricewge on #guix.

* build-aux/git-authenticate.scm (load-keyring-from-reference): Use
'branch-lookup' instead of 'reference-lookup'.  Add "origin/" to
REFERENCE.
(authenticate-commits): Have #:keyring-reference default to "keyring".

4 years agodoc: Tiny markup fix.
Nicolas Goaziou [Thu, 7 May 2020 09:55:02 +0000 (11:55 +0200)]
doc: Tiny markup fix.

* doc/guix.texi (Substitute Authentication): Use @samp instead of @code for
pseudo-code.

4 years agodoc: Remove markup for external package names.
Nicolas Goaziou [Thu, 7 May 2020 09:49:07 +0000 (11:49 +0200)]
doc: Remove markup for external package names.

* doc/guix.texi (Invoking guix import): Remove markup, which is not warranted
here.

4 years agodoc: Use @file instead of @code also for file extensions.
Nicolas Goaziou [Thu, 7 May 2020 09:47:13 +0000 (11:47 +0200)]
doc: Use @file instead of @code also for file extensions.

* doc/guix.texi (Defining Packages):
(Build Systems):
(Derivations):
(Invoking guix import):
(Printing Services):
(Installing Debugging Files):
(Preparing to Use the Bootstrap Binaries): Use @file instead of @code.

4 years agodoc: Use @env for environment variables.
Nicolas Goaziou [Thu, 7 May 2020 09:42:12 +0000 (11:42 +0200)]
doc: Use @env for environment variables.

* doc/guix.texi (Binary Installation):
(Build Environment Setup):
(Invoking guix-daemon):
(Application Setup):
(After System Installation):
(Invoking guix package):
(Proxy Settings):
(Invoking guix environment):
(Packages for C Development):
(Package Modules):
(Build Systems):
(The Store):
(Common Build Options):
(Invoking guix download):
(Invoking guix refresh):
(Using the Configuration System):
(Locales):
(Base Services):
(Networking Services):
(Sound Services):
(Continuous Integration):
(PAM Mount Service):
(X.509 Certificates): Use @env instead of @code for environment variables.

4 years agognu: usbguard: Fix warning about 'catch'.
Brice Waegeneire [Thu, 7 May 2020 09:16:51 +0000 (11:16 +0200)]
gnu: usbguard: Fix warning about 'catch'.

* gnu/packages/hardware.scm (usbguard)[arguments]: Rename phase
'patch-makefile' to 'patch-build-scripts', patch 'Makefile.in' files
instead of 'Makefile.am' and fix 'catch' include path.
[native-inputs]: Remove 'autoconf' and 'automake'.

4 years agognu: usbguard: Use packaged 'pegtl'.
Brice Waegeneire [Fri, 1 May 2020 12:45:57 +0000 (14:45 +0200)]
gnu: usbguard: Use packaged 'pegtl'.

* gnu/packages/hardware.scm (usbguard)[arguments]: Remove configure flag
'--with-bundled-pegtl'.
[inputs]: Add 'pegtl'

4 years agognu: Add pegtl.
Brice Waegeneire [Fri, 1 May 2020 10:00:21 +0000 (12:00 +0200)]
gnu: Add pegtl.

* gnu/packages/cpp.scm (pegtl): New variable.

4 years agodoc: Use @option instead of @code.
Nicolas Goaziou [Thu, 7 May 2020 09:21:31 +0000 (11:21 +0200)]
doc: Use @option instead of @code.

* doc/guix.texi (Binary Installation):
(Requirements):
(Build Environment Setup):
(Invoking guix-daemon):
(Application Setup):
(Invoking guix package):
(Substitute Server Authorization):
(Substitution Failure):
(Invoking guix gc):
(Invoking guix pull):
(Invoking guix archive):
(Invoking guix environment):
(Invoking guix pack):
(Defining Packages):
(Build Systems):
(The Store):
(Invoking guix build):
(Common Build Options):
(Package Transformation Options):
(Additional Build Options):
(Debugging Build Failures):
(Invoking guix edit):
(Invoking guix import):
(Invoking guix refresh):
(Invoking guix lint):
(Invoking guix publish):
(Invoking guix challenge):
(Base Services):
(Virtualization Services):
(Initial RAM Disk):
(Invoking guix system):
(Preparing to Use the Bootstrap Binaries):
(Porting): Use @option instead of @code for command-line options.

4 years agodoc: Fix typo in container example.
Pierre Neidhardt [Thu, 7 May 2020 08:37:11 +0000 (10:37 +0200)]
doc: Fix typo in container example.

* doc/guix.texi (Invoking `guix environment'): Fix sll -> ssl typo.

4 years agodoc: Add container example to run a web browser.
Pierre Neidhardt [Sun, 3 May 2020 08:08:56 +0000 (10:08 +0200)]
doc: Add container example to run a web browser.

* doc/guix.texi (Invoking `guix environment'): Add paragraph and example to
  run Eolie in a guix environment container.  Add `container' cindex for the
  first container example, and the `certificates' cindex for the web browser
  example.

4 years agognu: warsow-qfusion: Remove bundled binaries and inputs.
Pierre Neidhardt [Thu, 7 May 2020 07:58:56 +0000 (09:58 +0200)]
gnu: warsow-qfusion: Remove bundled binaries and inputs.

* gnu/packages/game-development.scm (warsow-qfusion)[source]: Add snippet to
  remove unused bundled binaries and inputs.

4 years agognu: sbcl-iolib.grovel: Deprecate in favour of sbcl-cffi-grovel.
Pierre Neidhardt [Wed, 6 May 2020 19:41:52 +0000 (21:41 +0200)]
gnu: sbcl-iolib.grovel: Deprecate in favour of sbcl-cffi-grovel.

* gnu/packages/lisp-xyz.scm (sbcl-iolib.grovel): Deprecate since upstream has
  removed it; they are now using cffi-grovel instead.

4 years agognu: sbcl-trivial-backtrace: Fix typo in description.
Pierre Neidhardt [Wed, 6 May 2020 19:35:35 +0000 (21:35 +0200)]
gnu: sbcl-trivial-backtrace: Fix typo in description.

* gnu/packages/lisp-xyz.scm (sbcl-trivial-backtrace)[description]: Replace
  "On" with "One".

4 years agognu: glibc/hurd-headers: Cross-build fix for the Hurd.
Jan (janneke) Nieuwenhuizen [Wed, 29 Apr 2020 22:00:24 +0000 (00:00 +0200)]
gnu: glibc/hurd-headers: Cross-build fix for the Hurd.

* gnu/packages/base.scm (glibc/hurd-headers)[native-inputs]: Add mig; when
cross-building use 32-bit mig.

4 years agosyscalls: Add ioctl flags for the Hurd.
Jan (janneke) Nieuwenhuizen [Wed, 6 May 2020 16:18:45 +0000 (18:18 +0200)]
syscalls: Add ioctl flags for the Hurd.

Use

    #include <stdio.h>
    #include <net/if.h>
    #include <hurd/ioctl.h>

    int
    main ()
    {
      printf ("SIOCSIFFLAGS #x%x\n", SIOCSIFFLAGS);
      printf ("SIOCGIFADDR #x%x\n", SIOCGIFADDR);
      printf ("SIOCSIFADDR #x%x\n", SIOCSIFADDR);
      printf ("SIOCGIFNETMASK #x%x\n", SIOCGIFNETMASK);
      printf ("SIOCSIFNETMASK #x%x\n", SIOCSIFNETMASK);
    #if 0
      printf ("SIOCADDRT #x%x\n", SIOCADDRT);
      printf ("SIOCDELRT #x%x\n", SIOCDELRT);
    #endif
    }

to fill in some blanks.  Adding and removing route apparently not supported.

* guix/build/syscalls.scm (SIOCSIFFLAGS SIOCGIFADDR, SIOCSIFADDR,
SIOCGIFNETMASK, SIOCSIFNETMASK):

4 years agognu: lightdm-gtk-greeter: Wrap binary.
L p R n d n [Tue, 16 Apr 2019 12:17:18 +0000 (14:17 +0200)]
gnu: lightdm-gtk-greeter: Wrap binary.

* gnu/package/display-managers.scm (lightdm-gtk-greeter)[inputs]: Add
shared-mime-info.
[arguments]: Add "wrap-program" phase.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: lightdm-gtk-greeter: Fix .desktop file.
L p R n d n [Tue, 16 Apr 2019 11:58:26 +0000 (13:58 +0200)]
gnu: lightdm-gtk-greeter: Fix .desktop file.

* gnu/packages/display-managers.scm (lightdm-gtk-greeter)[arguments]: Fix
reference to greeter in .desktop file with "fix-.desktop-file" phase.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: lightdm-gtk-greeter: Fix at-spi runtime dependency.
L p R n d n [Tue, 16 Apr 2019 11:50:58 +0000 (13:50 +0200)]
gnu: lightdm-gtk-greeter: Fix at-spi runtime dependency.

* gnu/packages/display-manager.scm (lightdm-gtk-greeter): Fix at-spi runtime
dependency.
[inputs]: Add at-spi2-core.
[arguments]: Add "--enable-at-spi-command" configure flag.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: lightdm: Add vala bindings.
L p R n d n [Tue, 16 Apr 2019 11:21:55 +0000 (13:21 +0200)]
gnu: lightdm: Add vala bindings.

* gnu/packages/display-managers.scm (lightdm)[native-inputs]: Add vala.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: lightdm: Update to 1.30.0.
L p R n d n [Tue, 16 Apr 2019 11:16:39 +0000 (13:16 +0200)]
gnu: lightdm: Update to 1.30.0.

* gnu/packages/display-managers.scm (lightdm): Update to 1.30.0.
[arguments]: Re-enable all tests by removing 'disable-broken-tests phase.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add plymouth.
Ricardo Wurmus [Wed, 6 May 2020 20:11:28 +0000 (22:11 +0200)]
gnu: Add plymouth.

* gnu/packages/freedesktop.scm (plymouth): New variable.

Co-authored-by: Nikita <nikita@n0.is>
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: nix: Update to 2.3.4.
Giacomo Leidi [Tue, 5 May 2020 20:53:18 +0000 (22:53 +0200)]
gnu: nix: Update to 2.3.4.

* gnu/packages/package-management.scm (nix): Update to 2.3.4,
[inputs]: Add boost, brotli, editline.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: Add editline.
Giacomo Leidi [Tue, 5 May 2020 20:53:17 +0000 (22:53 +0200)]
gnu: Add editline.

* gnu/packages/libedit.scm (editline): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: supercollider: Update to 3.11.0.
Giacomo Leidi [Tue, 5 May 2020 20:27:16 +0000 (22:27 +0200)]
gnu: supercollider: Update to 3.11.0.

This also restores IDE support.

* gnu/packages/audio.scm (supercollider): Update to 3.11.0.
[outputs]: Add an "ide" output.
[configure-flags]: Enable Qt IDE, fortify source and build scsynth as a
shared library.
[phases]: Do not delete no longer existing failing tests and add
an 'install-ide phase.
[native-inputs]: Add qttools and ableton-link.
[inputs]: Add qtbase, qtdeclarative, qtsvg, qtwebchannel and qtwebsockets.
[propagated-inputs]: Add qtwebengine.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: Add ableton-link.
Giacomo Leidi [Tue, 5 May 2020 20:27:15 +0000 (22:27 +0200)]
gnu: Add ableton-link.

* gnu/packages/audio.scm (ableton-link): New variable.
* gnu/packages/patches/ableton-link-system-libraries-debian.patch: Patch
CMakeLists.txt to use system libraries.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: Add gnome-shell-extension-clipboard-indicator.
Jack Hill [Tue, 5 May 2020 20:12:55 +0000 (16:12 -0400)]
gnu: Add gnome-shell-extension-clipboard-indicator.

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-clipboard-indicator):
New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: Add makepasswd.
Jean-Baptiste Note [Sat, 2 May 2020 05:50:20 +0000 (05:50 +0000)]
gnu: Add makepasswd.

* gnu/packages/password-utils.scm (makepasswd): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: webkitgtk: Patch to share store via Bubblewrap.
Jack Hill [Sun, 26 Apr 2020 02:03:48 +0000 (22:03 -0400)]
gnu: webkitgtk: Patch to share store via Bubblewrap.

Fixes <https://bugs.gnu.org/40837>.

* gnu/packages/patches/webkitgtk-share-store.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/webkit.scm (webkitgtk)[source](patches): Use it.

Co-authored-by: Marius Bakke <mbakke@fastmail.com>
4 years agoservices: Do not use symbolic links in PulseAudio variables.
Marius Bakke [Wed, 6 May 2020 15:48:42 +0000 (17:48 +0200)]
services: Do not use symbolic links in PulseAudio variables.

This addresses <https://bugs.gnu.org/40837> by making these configuration
files more easily accessible within the WebKitGTK sandbox.

* gnu/services/sound.scm (pulseaudio-environment): Move below
PULSEAUDIO-CONF-ENTRY.  Instantiate PULSE_CONFIG and PULSE_CLIENTCONFIG
entries directly instead of referring to /etc/pulse.
(pulseaudio-etc): Do not create /etc/pulse/client.conf and /etc/pulse/daemon.conf.

4 years agognu: endless-sky: Update to 0.9.12.
Timotej Lazar [Wed, 6 May 2020 17:29:07 +0000 (19:29 +0200)]
gnu: endless-sky: Update to 0.9.12.

* gnu/packages/games.scm (endless-sky): Update to 0.9.12.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agognu: sbcl-type-i: Update to 20191203.
Pierre Neidhardt [Wed, 6 May 2020 15:15:02 +0000 (17:15 +0200)]
gnu: sbcl-type-i: Update to 20191203.

* gnu/packages/lisp-xyz.scm (sbcl-type-i): Update to 20191203.

4 years agognu: sbcl-trivial-features: Update to 20200403.
Pierre Neidhardt [Wed, 6 May 2020 14:10:39 +0000 (16:10 +0200)]
gnu: sbcl-trivial-features: Update to 20200403.

* gnu/packages/lisp-xyz.scm (sbcl-trivial-features): Update to 20200403.

4 years agognu: sbcl-trivial-cltl2: Update to 20200301.
Pierre Neidhardt [Wed, 6 May 2020 14:07:06 +0000 (16:07 +0200)]
gnu: sbcl-trivial-cltl2: Update to 20200301.

* gnu/packages/lisp-xyz.scm (sbcl-trivial-cltl2): Update to 20200301.

4 years agognu: sbcl-trivia: Update to 20200301.
Pierre Neidhardt [Wed, 6 May 2020 14:04:26 +0000 (16:04 +0200)]
gnu: sbcl-trivia: Update to 20200301.

* gnu/packages/lisp-xyz.scm (sbcl-trivia): Update to 20200301.

4 years agognu: sbcl-quri: Update to 20191020.
Pierre Neidhardt [Wed, 6 May 2020 13:52:54 +0000 (15:52 +0200)]
gnu: sbcl-quri: Update to 20191020.

* gnu/packages/lisp-xyz.scm (sbcl-quri): Update to 20191020.

4 years agognu: sbcl-plump: Update to 20200415.
Pierre Neidhardt [Wed, 6 May 2020 13:50:33 +0000 (15:50 +0200)]
gnu: sbcl-plump: Update to 20200415.

* gnu/packages/lisp-xyz.scm (sbcl-plump): Update to 20200415.

4 years agognu: sbcl-named-readtables: Update to 20200506.
Pierre Neidhardt [Wed, 6 May 2020 13:41:05 +0000 (15:41 +0200)]
gnu: sbcl-named-readtables: Update to 20200506.

* gnu/packages/lisp-xyz.scm (sbcl-named-readtables): Update to 20200506.

4 years agognu: sbcl-local-time: Update to 20200303.
Pierre Neidhardt [Wed, 6 May 2020 13:33:09 +0000 (15:33 +0200)]
gnu: sbcl-local-time: Update to 20200303.

* gnu/packages/lisp-xyz.scm (sbcl-local-time): Update to 20200303.

4 years agognu: sbcl-fast-http: Update to 20190910.
Pierre Neidhardt [Wed, 6 May 2020 12:58:14 +0000 (14:58 +0200)]
gnu: sbcl-fast-http: Update to 20190910.

* gnu/packages/lisp-xyz.scm (sbcl-fast-http): Update to 20190910.

4 years agognu: Add syntax-interpol.
Pierre Neidhardt [Wed, 6 May 2020 12:50:33 +0000 (14:50 +0200)]
gnu: Add syntax-interpol.

* gnu/packages/lisp-xyz.scm (cl-syntax-interpol, sbcl-syntax-interpol): New variables.

4 years agognu: sbcl-cl-syntax-annot: Inherit from sbcl-cl-syntax.
Pierre Neidhardt [Wed, 6 May 2020 12:49:38 +0000 (14:49 +0200)]
gnu: sbcl-cl-syntax-annot: Inherit from sbcl-cl-syntax.

* gnu/packages/lisp-xyz.scm (sbcl-cl-syntax-annot): Inherit from
  sbcl-cl-syntax and remove unnecessary fields.

4 years agognu: sbcl-trivial-gray-streams: Update to 20180909.
Pierre Neidhardt [Wed, 6 May 2020 12:35:43 +0000 (14:35 +0200)]
gnu: sbcl-trivial-gray-streams: Update to 20180909.

* gnu/packages/lisp-xyz.scm (sbcl-trivial-gray-streams): Update to 20180909.

4 years agognu: sbcl-fast-io: Update to 20200404.
Pierre Neidhardt [Wed, 6 May 2020 12:34:09 +0000 (14:34 +0200)]
gnu: sbcl-fast-io: Update to 20200404.

* gnu/packages/lisp-xyz.scm (sbcl-fast-io): Update to 20200404.

4 years agognu: sbcl-dexador: Update to 0.9.14.
Pierre Neidhardt [Wed, 6 May 2020 12:33:34 +0000 (14:33 +0200)]
gnu: sbcl-dexador: Update to 0.9.14.

* gnu/packages/lisp-xyz.scm (sbcl-dexador): Update to 0.9.14.

4 years agognu: sbcl-cl-prevalence: Update to 20191028.
Pierre Neidhardt [Wed, 6 May 2020 12:27:42 +0000 (14:27 +0200)]
gnu: sbcl-cl-prevalence: Update to 20191028.

* gnu/packages/lisp-xyz.scm (sbcl-cl-prevalence): Update to 20191028.

4 years agognu: sbcl-cl-base64: Update to 3.3.4.
Pierre Neidhardt [Wed, 6 May 2020 12:17:06 +0000 (14:17 +0200)]
gnu: sbcl-cl-base64: Update to 3.3.4.

* gnu/packages/lisp-xyz.scm (sbcl-cl-base64): Update to 3.3.4.

4 years agognu: sbcl-cl+ssl: Update to 20200314.
Pierre Neidhardt [Wed, 6 May 2020 12:11:54 +0000 (14:11 +0200)]
gnu: sbcl-cl+ssl: Update to 20200314.

* gnu/packages/lisp-xyz.scm (sbcl-cl+ssl): Update to 20200314.

4 years agognu: sbcl-alexandria: Update to 1.0.1.
Pierre Neidhardt [Wed, 6 May 2020 12:06:52 +0000 (14:06 +0200)]
gnu: sbcl-alexandria: Update to 1.0.1.

* gnu/packages/lisp-xyz.scm (sbcl-alexandria): Update to 1.0.1.

4 years agognu: sbcl-s-sysdeps: Update to 20200415.
Pierre Neidhardt [Wed, 6 May 2020 12:01:21 +0000 (14:01 +0200)]
gnu: sbcl-s-sysdeps: Update to 20200415.

* gnu/packages/lisp-xyz.scm (sbcl-s-sysdeps): Update to 20200415.

4 years agognu: sbcl-cl-cffi-gtk: Update to 20200417.
Pierre Neidhardt [Wed, 6 May 2020 11:49:34 +0000 (13:49 +0200)]
gnu: sbcl-cl-cffi-gtk: Update to 20200417.

* gnu/packages/lisp-xyz.scm (sbcl-cl-cffi-gtk-boot0): Update to 20200417.
(sbcl-cl-cffi-gtk-glib)[inputs]: Add sbcl-bordeaux-threads.

4 years agognu: sbcl-babel: Update to 20200116.
Pierre Neidhardt [Wed, 6 May 2020 11:45:41 +0000 (13:45 +0200)]
gnu: sbcl-babel: Update to 20200116.

* gnu/packages/lisp-xyz.scm (sbcl-babel): Update to 20200116.

4 years agognu: sbcl-closer-mop: Update to 20200430.
Pierre Neidhardt [Wed, 6 May 2020 11:42:50 +0000 (13:42 +0200)]
gnu: sbcl-closer-mop: Update to 20200430.

* gnu/packages/lisp-xyz.scm (sbcl-closer-mop): Update to 20200430.

4 years agognu: sbcl-iolib: Update to 20200425.
Pierre Neidhardt [Wed, 6 May 2020 11:41:08 +0000 (13:41 +0200)]
gnu: sbcl-iolib: Update to 20200425.

* gnu/packages/lisp-xyz.scm (sbcl-iolib): Update to 20200425.

4 years agognu: gnome-todo: Add patch metadata.
Danny Milosavljevic [Wed, 6 May 2020 16:10:02 +0000 (18:10 +0200)]
gnu: gnome-todo: Add patch metadata.

Follow-up to b17b29454d5edd61eecb4536461789b7a3865a9a.

* gnu/packages/patches/gnome-todo-delete-esource-duplicate.patch: Add
metadata of patch.

4 years agognu: gnome-todo: Fix build.
Danny Milosavljevic [Wed, 6 May 2020 15:36:03 +0000 (17:36 +0200)]
gnu: gnome-todo: Fix build.

* gnu/packages/patches/gnome-todo-delete-esource-duplicate.patch: New file.
* gnu/packages/gnome.scm (gnome-todo)[source]: Add it.
* gnu/local.mk (dist_patch_DATA): Add it.

4 years agognu: xfe: Fix hard-coded FHS directories.
Raghav Gururajan [Tue, 5 May 2020 15:22:01 +0000 (11:22 -0400)]
gnu: xfe: Fix hard-coded FHS directories.

* gnu/packages/disk.scm (xfe):
[arguments]: Remove phase `patch-xfe-paths'.  Add phases `patch-bin-dirs' and
`patch-share-dirs'.
[inputs]: Add `bash', `coreutils', `file' and `findutils'.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
4 years agognu: Add emacs-pabbrev.
Nicolas Goaziou [Wed, 6 May 2020 14:10:01 +0000 (16:10 +0200)]
gnu: Add emacs-pabbrev.

* gnu/packages/emacs-xyz.scm (emacs-pabbrev): New variable.

4 years agognu: Add emacs-auto-sudoedit.
Nicolas Goaziou [Wed, 6 May 2020 14:09:09 +0000 (16:09 +0200)]
gnu: Add emacs-auto-sudoedit.

* gnu/packages/emacs-xyz.scm (emacs-auto-sudoedit): New variable.

4 years agognu: ungoogled-chromium: Update to 81.0.4044.138-0.c2a89fb [security fixes].
Marius Bakke [Wed, 6 May 2020 07:57:48 +0000 (09:57 +0200)]
gnu: ungoogled-chromium: Update to 81.0.4044.138-0.c2a89fb [security fixes].

This release fixes CVE-2020-6831 and CVE-2020-6464.

* gnu/packages/chromium.scm (%chromium-version): Set to 81.0.4044.138.
(%chromium-origin): Update hash.

4 years agognu: tmux: Update to 3.1.b.
Brice Waegeneire [Wed, 6 May 2020 09:52:05 +0000 (11:52 +0200)]
gnu: tmux: Update to 3.1.b.

* gnu/packages/tmux.scm (tmux): Update to 3.1.b.

4 years agognu: mujs: Update to 1.0.7.
Efraim Flashner [Wed, 6 May 2020 09:09:53 +0000 (12:09 +0300)]
gnu: mujs: Update to 1.0.7.

* gnu/packages/javascript.scm (mujs): Update to 1.0.7.

4 years agognu: Add js8call.
Guillaume Le Vaillant [Wed, 6 May 2020 09:10:10 +0000 (11:10 +0200)]
gnu: Add js8call.

* gnu/packages/radio.scm (js8call): New variable.

4 years agognu: Add hexer.
TomZ [Wed, 22 Apr 2020 20:31:03 +0000 (22:31 +0200)]
gnu: Add hexer.

* gnu/packages/text-editors.scm (hexer): New Variable.

4 years agodoc: Clarify 'git-http-configuration' description.
Brice Waegeneire [Wed, 29 Apr 2020 08:48:04 +0000 (10:48 +0200)]
doc: Clarify 'git-http-configuration' description.

Fix <https://issues.guix.info/31780>.

* doc/guix.texi (Version Control Service): Extend
'git-http-configuration' description.

4 years agoservices: rottlog: Append '.gz' to rotated file.
Brice Waegeneire [Wed, 29 Apr 2020 07:34:01 +0000 (09:34 +0200)]
services: rottlog: Append '.gz' to rotated file.

Fixes <https://issues.guix.info/issue/40945>.

* gnu/services/admin.scm (%default-rotations): Add option 'storefile'.

4 years agognu: Add warsow-qfusion.
Pierre Neidhardt [Sat, 2 May 2020 15:51:21 +0000 (17:51 +0200)]
gnu: Add warsow-qfusion.

* gnu/packages/patches/warsow-qfusion-fix-bool-return-type.patch: New file.
* gnu/local.mk: Include patch.
* gnu/packages/game-development.scm (warsow-qfusion): New variable.

4 years agognu: Add emacs-ivy-posframe.
Oleg Pykhalov [Wed, 6 May 2020 08:01:27 +0000 (11:01 +0300)]
gnu: Add emacs-ivy-posframe.

* gnu/packages/emacs-xyz.scm (emacs-ivy-posframe): New variable.

4 years agognu: linux-libre: Update to 5.4.39.
Mark H Weaver [Wed, 6 May 2020 07:20:37 +0000 (03:20 -0400)]
gnu: linux-libre: Update to 5.4.39.

* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.39.
(linux-libre-5.4-pristine-source): Update hash.

4 years agognu: linux-libre@5.6: Update to 5.6.11.
Mark H Weaver [Wed, 6 May 2020 07:19:59 +0000 (03:19 -0400)]
gnu: linux-libre@5.6: Update to 5.6.11.

* gnu/packages/linux.scm (linux-libre-5.6-version): Update to 5.6.11.
(linux-libre-5.6-pristine-source): Update hash.

4 years agognu: linux-libre@4.19: Update to 4.19.121.
Mark H Weaver [Wed, 6 May 2020 07:19:13 +0000 (03:19 -0400)]
gnu: linux-libre@4.19: Update to 4.19.121.

* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.121.
(linux-libre-4.19-pristine-source): Update hash.

4 years agognu: linux-libre@4.14: Update to 4.14.179.
Mark H Weaver [Wed, 6 May 2020 07:18:19 +0000 (03:18 -0400)]
gnu: linux-libre@4.14: Update to 4.14.179.

* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.179.
(linux-libre-4.14-pristine-source): Update hash.

4 years agognu: linux-libre@4.9: Update to 4.9.222.
Mark H Weaver [Wed, 6 May 2020 07:17:43 +0000 (03:17 -0400)]
gnu: linux-libre@4.9: Update to 4.9.222.

* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.222.
(linux-libre-4.9-pristine-source): Update hash.

4 years agognu: linux-libre@4.4: Update to 4.4.222.
Mark H Weaver [Wed, 6 May 2020 07:16:42 +0000 (03:16 -0400)]
gnu: linux-libre@4.4: Update to 4.4.222.

* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.222.
(linux-libre-4.4-pristine-source): Update hash.

4 years agognu: icecat: Update to 68.8.0-guix0-preview1 [security fixes].
Mark H Weaver [Tue, 5 May 2020 21:07:29 +0000 (17:07 -0400)]
gnu: icecat: Update to 68.8.0-guix0-preview1 [security fixes].

Includes fixes for CVE-2020-6831, CVE-2020-12387, CVE-2020-12388,
CVE-2020-12389, CVE-2020-12392, CVE-2020-12393, and CVE-2020-12395.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
Apply icecat-use-older-reveal-hidden-html.patch.
* gnu/packages/patches/icecat-makeicecat.patch: Adapt to new version.
* gnu/packages/patches/icecat-use-older-reveal-hidden-html.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

4 years agognu: emacs-next: Upgrade to 27.0.91.
Jack Hill [Sat, 2 May 2020 04:26:56 +0000 (00:26 -0400)]
gnu: emacs-next: Upgrade to 27.0.91.

* gnu/packages/emacs.scm (emacs-next): Upgrade to 27.0.91.
[inputs]: Remove imagemagick.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
4 years agonls: Update.
Ludovic Courtès [Tue, 5 May 2020 21:29:14 +0000 (23:29 +0200)]
nls: Update.

4 years agosyscalls: 'define-c-struct' supports cross-compilation.
Ludovic Courtès [Tue, 5 May 2020 10:13:43 +0000 (12:13 +0200)]
syscalls: 'define-c-struct' supports cross-compilation.

Reported by Jan (janneke) Nieuwenhuizen <janneke@gnu.org>.

Before that, we'd always use the 'sizeof' and 'alignof' value obtained
from the host at macro-expansion time.

* guix/build/syscalls.scm (sizeof*, alignof*): When the target word size
differs from the host word size, emit a call to 'sizeof'/'alignof'.

4 years agodoc: cookbook: Fix sbcl-ttf-fonts package name.
Jean-Baptiste Note [Mon, 4 May 2020 20:01:10 +0000 (20:01 +0000)]
doc: cookbook: Fix sbcl-ttf-fonts package name.

* doc/guix-cookbook.texi (StumpWM): Adjust sbcl-ttf-fonts package name.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agoservices: For "sddm" pam service, include "limits.conf".
Giacomo Leidi [Mon, 4 May 2020 14:58:24 +0000 (16:58 +0200)]
services: For "sddm" pam service, include "limits.conf".

* gnu/services/base.scm (pam-limits-service-type): For "sddm" pam
service, include "limits.conf".

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: Add python-pytest-asyncio.
Josh Marshall [Sun, 3 May 2020 22:22:23 +0000 (18:22 -0400)]
gnu: Add python-pytest-asyncio.

* gnu/packages/check.scm (python-pytest-asyncio): New public variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: emacs-ess: Update to 18.10.2.
Tim Howes via Guix-patches via [Sat, 2 May 2020 23:54:35 +0000 (16:54 -0700)]
gnu: emacs-ess: Update to 18.10.2.

* gnu/packages/statistics.scm (emacs-ess): Update to 18.10.2.
[source]: Use git-fetch and git-file-name.  Fix snippets for removing
julia-mode and removing extra documentation formats.  Add snippets for
installing elisp files and stopping installation of info directory.
Remove snippet for old failing test.  Add snippet for new failing test.
[arguments]: Remove extra "/".
[native-inputs]: Add r-roxygen2.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: Add gccmakedep.
Jean-Baptiste Note [Fri, 1 May 2020 14:15:07 +0000 (14:15 +0000)]
gnu: Add gccmakedep.

* gnu/packages/xorg.scm (gccmakedep): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: SOCI: Return #t from all phases.
Marius Bakke [Tue, 5 May 2020 14:46:46 +0000 (16:46 +0200)]
gnu: SOCI: Return #t from all phases.

* gnu/packages/databases.scm (soci)[arguments]: Return #t from phase.

4 years agognu: SOCI: Build with MariaDB instead of MySQL.
Marius Bakke [Tue, 5 May 2020 14:46:10 +0000 (16:46 +0200)]
gnu: SOCI: Build with MariaDB instead of MySQL.

* gnu/packages/databases.scm (soci)[inputs]: Remove MYSQL.  Add MARIADB:DEV
and MARIADB:LIB.

4 years agognu: sbcl-cl-webkit: Update to 20200504.
Pierre Neidhardt [Tue, 5 May 2020 15:27:11 +0000 (17:27 +0200)]
gnu: sbcl-cl-webkit: Update to 20200504.

* gnu/packages/lisp-xyz.scm (sbcl-cl-webkit): Update to 20200504.

4 years agognu: emacs-modus-vivendi-theme: Update to 0.8.1.
Nicolas Goaziou [Tue, 5 May 2020 14:43:28 +0000 (16:43 +0200)]
gnu: emacs-modus-vivendi-theme: Update to 0.8.1.

* gnu/packages/emacs-xyz.scm (emacs-modus-vivendi-theme): Update to 0.8.1.

4 years agognu: emacs-modus-operandi-theme: Update to 0.8.1.
Nicolas Goaziou [Tue, 5 May 2020 14:43:18 +0000 (16:43 +0200)]
gnu: emacs-modus-operandi-theme: Update to 0.8.1.

* gnu/packages/emacs-xyz.scm (emacs-modus-operandi-theme): Update to 0.8.1.

4 years agodoc: Typographic improvements.
Nicolas Goaziou [Tue, 5 May 2020 14:38:29 +0000 (16:38 +0200)]
doc: Typographic improvements.

* doc/guix.texi (Networking Services): Use @var, @option, and @command when
appropriate.  Add two spaces after sentences.

4 years agovm: Remove obsolete procedures.
Mathieu Othacehe [Tue, 28 Apr 2020 14:37:57 +0000 (16:37 +0200)]
vm: Remove obsolete procedures.

* gnu/build/vm.scm (install-efi, make-iso9660-image): Remove those procedures
that are now implemented in (gnu build image) module,
(initialize-hard-disk): remove efi support.
* gnu/system/vm.scm (iso9660-image): Remove it,
(qemu-image): adapt it to remove ISO9660 support.

4 years agoimage: Add a new API.
Mathieu Othacehe [Tue, 28 Apr 2020 12:15:28 +0000 (14:15 +0200)]
image: Add a new API.

Raw disk-images and ISO9660 images are created in a Qemu virtual machine. This
is quite fragile, very slow, and almost unusable without KVM.

For all these reasons, add support for host image generation. This implies the
use new image generation mechanisms.

- Raw disk images: images of partitions are created using tools such as mke2fs
  and mkdosfs depending on the partition file-system type. The partition
  images are then assembled into a final image using genimage.

- ISO9660 images: the ISO root directory is populated within the store. GNU
  xorriso is then called on that directory, in the exact same way as this is
  done in (gnu build vm) module.

Those mechanisms are built upon the new (gnu image) module.

* gnu/image.scm: New file.
* gnu/system/image.scm: New file.
* gnu/build/image: New file.
* gnu/local.mk: Add them.
* gnu/system/vm.scm (system-disk-image): Rename to system-disk-image-in-vm.
* gnu/ci.scm (qemu-jobs): Adapt to new API.
* gnu/tests/install.scm (run-install): Ditto.
* guix/scripts/system.scm (system-derivation-for-action): Ditto.

4 years agobuild: bootloader: Add install-efi procedure.
Mathieu Othacehe [Tue, 28 Apr 2020 14:17:59 +0000 (16:17 +0200)]
build: bootloader: Add install-efi procedure.

* gnu/build/bootloader.scm (install-efi): New procedure copied from (gnu build vm).
(install-efi-loader): New exported procedure, wrapping install-efi.
* gnu/build/vm.scm (initialize-hard-disk): Adapt to use install-efi-loader.

4 years agobuild: install: Do not set store GID.
Mathieu Othacehe [Tue, 5 May 2020 12:26:35 +0000 (14:26 +0200)]
build: install: Do not set store GID.

There's no need to set the store GID as is will be done by the guix-daemon,
with the following snippet:

  if (chown(chrootStoreDir.c_str(), 0, buildUser.getGID()) == -1)
        throw SysError(format("cannot change ownership of ‘%1%’") % chrootStoreDir);

* gnu/build/install.scm (directives): Do not set store GID.

4 years agobuild: install: Ignore chown exceptions.
Mathieu Othacehe [Tue, 28 Apr 2020 12:16:33 +0000 (14:16 +0200)]
build: install: Ignore chown exceptions.

Changing ownership may require root permissions. As image can now be generated
without root permissions (no VM involved), ignore those exceptions.

* gnu/build/install.scm (evaluate-populate-directive): Ignore chown
exceptions.

4 years agobuild: store-copy: Export file-size procedure.
Mathieu Othacehe [Tue, 28 Apr 2020 12:14:21 +0000 (14:14 +0200)]
build: store-copy: Export file-size procedure.

* guix/build/store-copy.scm (file-size): Export it.