Commit Graph

43960 Commits

Author SHA1 Message Date
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
Carl Dong bdfc327639
gnu: gcc: Add 9.1.0.
* gnu/packages/gcc.scm (gcc-9): New variable.
* gnu/packages/commencement.scm (gcc-toolchain-9): New variable.
* gnu/packages/patches/gcc-9-strmov-store-file-names.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:18:15 +02:00
Mark H Weaver 654332f00f
gnu: linux-libre: Update to 5.0.13.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.0.13.
(%linux-libre-hash): Update hash.
2019-05-06 02:13:19 -04:00
Mark H Weaver 90f4cc4bc7
gnu: linux-libre@4.19: Update to 4.19.40.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.40.
(%linux-libre-4.19-hash): Update hash.
2019-05-06 02:12:31 -04:00
Mark H Weaver d40684e827
gnu: linux-libre@4.14: Update to 4.14.116.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.116.
(%linux-libre-4.14-hash): Update hash.
2019-05-06 02:11:37 -04:00
Mark H Weaver 60065f5bd3
gnu: linux-libre@4.9: Update to 4.9.173.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.173.
2019-05-06 02:10:51 -04:00
Maxim Cournoyer a321312e3a
build: go-build-system: Follow-up to commit f42e4ebb56.
This follows commit f42e4ebb56, which made it so that the unpack phase return
value could be left unspecified.

* guix/build/go-build-system.scm (unpack): Ensure that the value returned upon
a successful completion of the phase is #t.
2019-05-05 23:01:03 -04:00
Maxim Cournoyer 2edec51c5e
build: go-build-system: Follow-up commit.
There was an extraneous pair of parens in commit 7e84d3eef7.  Thanks for Mark
Weaver for reporting the issue.

* guix/build/go-build-system.scm (unpack): Remove the extraneous pair of
  parentheses surrounding the `display' function call.
2019-05-05 22:41:11 -04:00
Maxim Cournoyer 59781b32d8
gnu: docker: Refer to xz by its absolute path.
* gnu/packages/docker.scm (docker)[inputs]: Add xz.
[phases]{patch-paths}: Patch the reference to xz.
2019-05-05 21:21:02 -04:00