Commit Graph

43968 Commits

Author SHA1 Message Date
Diego Nicola Barbato dbef9015db
doc: Document 'display' and 'vt' fields of 'slim-configuration'.
* doc/guix.texi (X Window): Mention 'display' and 'vt' fields of
  'slim-configuration' and explain how to use them to add multiple SLiM
  services to system services.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-07 15:46:54 +02:00
Diego Nicola Barbato 61569171d0
services: slim: Allow SLiM to be started on multiple ttys.
This change makes it possible to add multiple SLiM services to an operating
system configuration by setting the new 'display' and 'vt' fields in their
configurations to different values.  Each SLiM service will get its own
authfile, logfile, lockfile, and shepherd service, which will start SLiM on a
different tty.

* gnu/services/xorg.scm: Export slim-configuration-display and
  slim-configuration-vt.
  (<slim-configuration>)[display, vt]: New fields.
  (slim-shepherd-service): Refactor let.
  [slim.cfg]: Use new fields for setting display_name, xserver_arguments,
  authfile, lockfile, and logfile.
  [shepherd-service][provision]: Name the shepherd service according to the
  value of 'vt'.
  [shepherd-service][start]: Delete the right lockfile.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-07 15:46:54 +02:00
Diego Nicola Barbato 6426a8fb6c
gnu: slim: Allow customisation of Xorg display.
Previously SLiM could only start on display :0.0.  This change makes it
possible to run multiple instances of SLiM at the same time.

* gnu/packages/patches/slim-display.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/display-managers.scm (slim): Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-07 15:46:54 +02:00
Ludovic Courtès 341225ac6c
gnu: gnome-control-center: Patch file name of 'nm-connection-editor'.
* gnu/packages/gnome.scm (gnome-control-center)[argument]: In
'patch-paths' phase, provide absolute file name to
'nm-connection-editor' in panels/network/*.c
2019-05-07 15:46:53 +02:00
Ludovic Courtès 1df38cfcc7
gnu: gnome-control-center: Patch file name of 'gkbd-keyboard-display'.
Fixes <https://bugs.gnu.org/35605>.
Reported by sirgazil <sirgazil@zoho.com>.

* gnu/packages/gnome.scm (gnome-control-center)[arguments]: In
'patch-paths' phase, patch "cc-region-panel.cc" and provide it with the
absolute file name of 'gkbd-keyboard-display'.
2019-05-07 15:46:53 +02:00
Ludovic Courtès d108f59761
environment: Non ad-hoc mode also honors transformation options.
Fixes <https://bugs.gnu.org/35618>.
Reported by Florent Pruvost <florent.pruvost@inria.fr>.

* guix/scripts/environment.scm (options/resolve-packages): Add call to
TRANSFORM in non "ad-hoc" case.
* tests/guix-environment.sh: Add test.
2019-05-07 15:46:53 +02:00
Pierre Neidhardt bdd30bf00b
gnu: Add sbcl-find-port, cl-find-port, and ecl-find-port.
* gnu/packages/lisp.scm (sbcl-find-port, cl-find-port, ecl-find-port): New
variables.
2019-05-07 12:43:31 +02:00
Ludovic Courtès 91936f153a
installer: "Exit" button in user page actually exits.
Fixes <https://bugs.gnu.org/35607>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* gnu/installer/newt/user.scm (run-user-page): Add 'cond' clause for
ARGUMENT = EXIT-BUTTON.
2019-05-07 12:18:44 +02:00
Ludovic Courtès 6c5790a2fa
uuid: 'fat-uuid->string' preserves leading zeros.
Fixes <https://bugs.gnu.org/35582>.
Reported by sirgazil <sirgazil@zoho.com>.

Previously, leading zeros would be removed, leading to an "invalid"
UUID:

  (uuid->string (uuid "00CA-050E" 'fat32))
  ⇒ "CA-50E"
  (string->uuid "CA-50E" 'fat32)
  ⇒ #f

* gnu/system/uuid.scm (fat-uuid->string): Pad digits with zeros.
* tests/uuid.scm ("uuid, FAT32, leading zeros preserved"): New test.
2019-05-07 12:18:44 +02:00
Nicolas Goaziou 08c06cd8ac
gnu: grammalecte: Update to 1.0.2.
* gnu/packages/dictionaries.scm (grammalecte): Update to 1.0.2.
2019-05-07 10:25:19 +02:00
Mathieu Othacehe 445bd4d5e5
installer: Add password 'hide' checkbox.
* gnu/installer/newt/page.scm (run-input-page)[input-hide-checkbox?]: New
parameter adding a checkbox to toggle password hiding. By default, the
checkbox is active and the password is hence hided.
* gnu/installer/newt/partition.scm (prompt-luks-passwords): Enable the
previous parameter on both password input pages.
* gnu/installer/newt/user.scm (run-root-password-page): Enable the previous
parameter,
(confirm-password): ditto,
(run-user-add-page): add a checkbox to toggle password hiding.
2019-05-07 09:25:45 +02:00
Maxim Cournoyer d9ef50b3bc
gnu: tegola: Fix build.
* gnu/packages/geo.scm (tegola)[arguments]: Adapt the "unpack-path" for the new
unpack phase.
* gnu/packages/geo.scm (tegola)[phases]{set-version}: Update the directory path.
{rename-import}: Remove phase.
2019-05-06 23:10:36 -04:00
Maxim Cournoyer bdc0c20cab
gnu: imposm3: Fix build.
* gnu/packages/geo.scm (imposm3)[arguments]: Adapt unpack-path for the new
unpack phase.
[phases]: Remove the "rename-import" phase, now obsolete.
2019-05-06 23:05:05 -04:00
Maxim Cournoyer fb09818277
gnu: restic: Fix build.
This fixes a regression introduced by commit f42e4ebb56.

* gnu/packages/backup.scm (restic)[arguments]: Remove "unpack-path" argument.
[phases]{build, check, install, install-docs}: Update the working directory to
"src/github.com/restic/restic".
2019-05-06 22:36:43 -04:00
Maxim Cournoyer d879fd80c7
gnu: syncthing: Fix build.
* gnu/packages/syncthing.scm (syncthing)[arguments]: Drop the unpack-path
  argument, made unnecessary by commit f42e4ebb56.
2019-05-06 20:50:36 -04:00
Pierre Neidhardt fea338c6ca
Add (guix lzlib).
* guix/lzlib.scm, tests/lzlib.scm: New files.
* Makefile.am (MODULES): Add guix/lzlib.scm.
(SCM_TESTS): Add tests/lzlib.scm.
* m4/guix.m4 (GUIX_LIBLZ_LIBDIR): New macro.
* configure.ac (LIBLZ_LIBDIR): Use it.  Define and substitute
'LIBLZ'.
* guix/config.scm.in (%liblz): New variable.
* guix/self.scm (make-config.scm): Add TODO comment.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 23:21:33 +02:00
Ludovic Courtès 46c102ca5e
installer: Skip network selection dialogs when there is no choice.
Previously, for a machine that only has wired networking, and only one
such network, we'd have to go through two selection boxes.  Now we just
skip both.

* gnu/installer/newt/ethernet.scm (run-ethernet-page): When
'ethernet-services' returns one element, return it directly without
opening a listbox selection.
* gnu/installer/newt/network.scm (run-technology-page): Likewise.
2019-05-06 23:21:33 +02:00
Ludovic Courtès d1e5f758e1
installer: Shrink simple listboxes to their minimum height.
* gnu/installer/newt/partition.scm (run-partioning-page): Pass
 #:listbox-height.
(run-scheme-page): Likewise.
(run-device-page): Likewise.
* gnu/installer/newt/network.scm (run-technology-page): Likewise.
* gnu/installer/newt/ethernet.scm (run-ethernet-page): Likewise.
2019-05-06 23:21:33 +02:00
Ludovic Courtès 7ae9979cff
installer: Actually translate step descriptions.
Until now, step descriptions in the menu that shows up when hitting
"Exit" would not be translated.  That's because the 'G_' procedure was
called once and for all when the installer was started.

* gnu/installer/steps.scm (<installer-step>)[description]: Add the
'thunked' attribute.
2019-05-06 23:21:33 +02:00
Ludovic Courtès 1d8da896be
installer: Do not sort methods on the partitioning page.
* gnu/installer/newt/partition.scm (run-partioning-page): Pass
 #:sort-listbox-items? #f so that methods always appear in the same
 order.
2019-05-06 23:21:33 +02:00
Ludovic Courtès 04f4bdcd70
installer: Widen user dialog.
* gnu/installer/newt/user.scm (run-user-add-page)[pad-label]: Increase
2nd argument to 25.
[entry-width]: Increase to 35.
2019-05-06 23:21:32 +02:00
Ludovic Courtès 3bb293b6f3
gnu: mate-power-manager: License is GPLv2+.
Reported by Guy fleury <hoonandon@gmail.com>.

* gnu/packages/mate.scm (mate-power-manager): Change to GPL2+.
2019-05-06 23:21:32 +02:00
Brian Leung d6a68e9048
gnu: emacs-evil-nerd-commenter: Update to 3.3.7.
* gnu/packages/emacs-xyz.scm (emacs-evil-nerd-commenter): Update to 3.3.7.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-05-06 16:56:39 +02:00
Brian Leung 869eb264ac
gnu: emacs-elfeed: Update to 3.1.0.
* gnu/packages/emacs-xyz.scm (emacs-elfeed): Update to 3.1.0.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-05-06 16:56:13 +02:00
Brian Leung e77787ca91
gnu: emacs-hl-todo: Update to 3.0.0.
* gnu/packages/emacs-xyz.scm (emacs-hl-todo): Update to 3.0.0.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-05-06 16:55:32 +02:00
Mark H Weaver 46ce12d0a3
gnu: icecat: Move the snippet and patches out of the 'source'.
This commit changes the 'source' field of the 'icecat' package to
simply be 'icecat-source', which aims to be suitable for use on any
system that IceCat supports.

* gnu/packages/gnuzilla.scm (icecat)[source]: Change to simply
be 'icecat-source'.
[native-inputs]: Add 'patch', along with the Guix-specific patches
that were previously applied within 'source'.
[arguments]: Remove the 'ensure-no-mtimes-pre-1980' phase.
Add 'apply-guix-specific-patches' and 'remove-bundled-libraries'
phases.  Touch 'configure' in the bootstrap phase.  Return #t from
the 'augment-CPLUS_INCLUDE_PATH' phase.  Reindent.
2019-05-06 10:33:20 -04:00
Mark H Weaver 3e605b6998
gnu: icecat-source: Make sure 'makeicecat' is the right version.
* gnu/packages/gnuzilla.scm (icecat-source): Check to make sure the
value of FFMAJOR in the 'makeicecat' script matches the major version
of IceCat being generated.
2019-05-06 10:33:18 -04:00
Mark H Weaver ebff346945
gnu: icecat: Update to 60.6.2-guix1.
* gnu/packages/gnuzilla.scm (%icecat-version): Update to 60.6.2-guix1.
(icecat-source)[upstream-firefox-source]: Update hash.
2019-05-06 10:33:12 -04:00
Ricardo Wurmus 1c404e6c1a
gnu: r-gridgraphics: Update to 0.4-0.
* gnu/packages/cran.scm (r-gridgraphics): Update to 0.4-0.
2019-05-06 16:11:45 +02:00
Ricardo Wurmus 639334a962
gnu: r-checkmate: Update to 1.9.3.
* gnu/packages/statistics.scm (r-checkmate): Update to 1.9.3.
2019-05-06 16:11:33 +02:00
Ricardo Wurmus 93f8a00964
gnu: r-rgadem: Update to 2.32.0.
* gnu/packages/bioconductor.scm (r-rgadem): Update to 2.32.0.
2019-05-06 16:11:17 +02:00
Ricardo Wurmus 94249db825
gnu: python2-terminado: Add missing input.
* gnu/packages/python-web.scm (python2-terminado)[propagated-inputs]: Add
python2-futures.
2019-05-06 12:57:10 +02:00
Brian Leung fc7d632829
gnu: Add emacs-miniedit.
* gnu/packages/emacs-xyz.scm (emacs-miniedit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 11:17:23 +02:00
Brian Leung cc1d1fc8b7
gnu: Add emacs-sudo-edit.
* gnu/packages/emacs-xyz.scm (emacs-sudo-edit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 11:15:31 +02:00
Brian Leung d2ca86f308
gnu: Add emacs-docker-compose-mode.
* gnu/packages/emacs-xyz.scm (emacs-docker-compose-mode): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 11:14:47 +02:00
Brian Leung a02198133a
gnu: Add emacs-elisp-demos.
* gnu/packages/emacs-xyz.scm (emacs-elisp-demos): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 11:14:10 +02:00
Brian Leung 0209661ee6
gnu: Add emacs-flycheck-flow.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-flow): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 11:10:21 +02:00
Brian Leung df7d0dce4b
gnu: Add emacs-evil-textobj-syntax.
* gnu/packages/emacs-xyz.scm (emacs-evil-textobj-syntax): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 11:09:10 +02:00
Brian Leung a08530df08
gnu: Add emacs-names.
* gnu/packages/emacs-xyz.scm (emacs-names): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 11:08:34 +02:00
Ludovic Courtès 5e319c15c1
gnu: mate-power-manager: Placate 'guix lint'.
Reported by guy fleury iteriteka <hoonandon@gmail.com>.

* gnu/packages/mate.scm (mate-power-manager)[source]: Use mirror:// URL.
[synopsis, description]: Adjust to placate 'guix lint'.
2019-05-06 11:06:37 +02:00
Alex Griffin 623d4b4662
gnu: Add git-annex-remote-rclone.
* gnu/packages/version-control.scm (git-annex-remote-rclone): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:43:45 +02:00
Brendan Tildesley 5d6bab9e00
gnu: quickswitch-i3: Fix license field to use license:wtfpl2.
* gnu/packages/wm.scm (quickswitch-i3): Fix license field to use
  license:wtfpl2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:32:28 +02:00
Brendan Tildesley 6f38ef73a5
gnu: tmux-themepack: Fix license field to refer to license:wtfpl2.
* gnu/packages/tmux.scm (tmux-themepack): Fix license field to refer to
  license:wtfpl2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:32:28 +02:00
Brendan Tildesley 41ee377305
gnu: Use license: prefix in tmux.scm.
* gnu/packages/tmux.scm Use license: prefix in tmux.scm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:32:28 +02:00
Brendan Tildesley 492e3a7a76
gnu: python-pyyaml: Fix license field to refer to license:wtfpl2.
* gnu/packages/python-xyz.scm (python-pyyaml): Fix license field to refer to
  license:wtfpl2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:32:27 +02:00
Brendan Tildesley ac44b39a19
gnu: envstore: Fix license field to refer to license:wtfpl2.
* gnu/packages/shellutils.scm (envstore): Fix license field to refer to
  license:wtfpl2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:32:27 +02:00
Brendan Tildesley e3e8924d23
gnu: Use license: prefix in shellutils.scm.
* gnu/packages/shellutils.scm Use license: prefix in all packages.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:32:27 +02:00
Brendan Tildesley f62e7ce442
gnu: zimg: Fix license field to refer to license:wtfpl2.
* gnu/packages/image.scm (zimg): Fix license field to refer to license:wtfpl2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:32:21 +02:00
Carl Dong 0e293f75f1
gnu: gcc@9: Fix limits.h include for cross builds.
This allows us to supply gcc-9 as an optional argument to cross-gcc,
successfully constructing gcc-9-based cross-compilers.

* gnu/packages/gcc.scm (gcc-9)[source](patches): Add
  "gcc-9-asan-fix-limits-include.patch".
* gnu/packages/patches/gcc-9-asan-fix-limits-include.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add the patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:22:00 +02:00
Carl Dong 83b0a7f41b
gnu: cross-base: Apply gcc 8 patch to gcc >= 8.
* gnu/packages/cross-base.scm (cross-gcc): Apply gcc 8 patch to gcc >= 8.
* gnu/packages/patches/gcc-8-cross-environment-variables.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add the patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:21:38 +02:00