Commit Graph

39201 Commits

Author SHA1 Message Date
Ricardo Wurmus 64a1ddba7a
gnu: graphene: Remove custom autogen phase.
* gnu/packages/gtk.scm (graphene)[arguments]: Remove 'autogen phase.
2019-01-18 20:37:34 +01:00
Ricardo Wurmus 3b39ae9f4b
gnu: Add libnfs.
* gnu/packages/file-systems.scm (libnfs): New variable.
2019-01-18 20:32:24 +01:00
Ricardo Wurmus 204cfbe1f4
gnu: Add mozjs-60.
* gnu/packages/gnuzilla.scm (mozjs-60): New variable.
2019-01-18 20:32:12 +01:00
Ricardo Wurmus 6cc147a31b
gnu: mozjs-52: Add configure flag to prevent crash.
* gnu/packages/gnuzilla.scm (mozjs-52)[arguments]: Pass "--disable-jemalloc"
to prevent crashes in gnome-shell.
2019-01-18 20:32:04 +01:00
Ricardo Wurmus 4b2ed6c2a3
gnu: Add libdazzle.
* gnu/packages/gnome.scm (libdazzle): New variable.
2019-01-18 20:29:28 +01:00
Ricardo Wurmus 0c90d4ad0a
gnu: Add libimobiledevice.
* gnu/packages/libusb.scm (libimobiledevice): New variable.
2019-01-18 20:27:58 +01:00
Ricardo Wurmus dddf975ffb
gnu: Add libusbmuxd.
* gnu/packages/libusb.scm (libusbmuxd): New variable.
2019-01-18 20:24:00 +01:00
Ricardo Wurmus 1b95533740
gnu: Add libplist.
* gnu/packages/libusb.scm (libplist): New variable.
2019-01-18 20:23:54 +01:00
Ricardo Wurmus 3ecb1d0552
gnu: libusb.scm: Use license: prefix.
* gnu/packages/libusb.scm: Use "license:" prefix.
2019-01-18 20:23:25 +01:00
Ricardo Wurmus bd9d3db6fe
gnu: Add umockdev.
* gnu/packages/check.scm (umockdev): New variable.
2019-01-18 20:22:27 +01:00
Ricardo Wurmus dbac4833b4
gnu: ibus: Do not hardcode Python version.
* gnu/packages/ibus.scm (ibus)[arguments]: Remove hardcoded Python version.
2019-01-18 17:58:58 +01:00
Ludovic Courtès 3bbd6919bd
pull: Suggest running 'hash guix' if needed.
Fixes <https://bugs.gnu.org/33647>.
Suggested by Diego Nicola Barbato <dnbarbato@posteo.de>.

* guix/scripts/pull.scm (build-and-install): Before returning, display a
hint if (which "guix") is not in PROFILE.
2019-01-18 17:51:34 +01:00
Ludovic Courtès 9fe3f11398
serialization: 'restore-file' errors out upon non-convertible file names.
Fixes <https://bugs.gnu.org/33603>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

* guix/serialization.scm (port-conversion-strategy): New variable.
(restore-file): Parameterize it.
* tests/nar.scm ("restore-file with non-UTF8 locale"): New test.
2019-01-18 17:51:34 +01:00
Ludovic Courtès 7bf1dc7570
build: Add coq.scm to the distribution.
This is a followup to 33af92dd99.

* gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/packages/coq.scm.
2019-01-18 17:51:34 +01:00
Christopher Baines cf22e99f02
guix: Add guard to texlive-configuration profile hook.
It is possible to generate a profile where this hook will crash, as the
texmf.cnf file does not exist to be patched by substitute*. A simple example
is the profile just containing texlive-fonts-txfonts.

* guix/profiles.scm (texlive-configuration): Check that the texmf.cnf file
exists before trying to change it.
2019-01-18 16:15:33 +00:00
Amin Bandali 6654f8c144
gnu: z3: Update to 4.8.4.
* gnu/packages/maths.scm (z3): Update to 4.8.4.

Signed-off-by: Leo Famulari <leo@famulari.name>
2019-01-18 11:12:59 -05:00
Rutger Helling 97da616144
gnu: xpra: Update to 2.4.3.
* gnu/packages/xorg.scm (xpra): Update to 2.4.3.
2019-01-18 15:28:46 +01:00
Eric Bavier fd466fb815
gnu: stress-make: Fix glob configuration.
* gnu/packages/debug.scm (stress-make)[arguments]: Adopt configure cache value
"make_cv_sys_gnu_glob=yes" from gnu-make package.
2019-01-18 00:30:28 -06:00
Nicolas Goaziou e6ab20f71d
gnu: emacs-matrix-client: Update to 2a95a1f.
* gnu/packages/emacs-xyz.scm (emacs-matrix-client): Update to 2a95a1f.
[propagated-inputs]: Add `emacs-anaphora'.
2019-01-17 22:49:12 +01:00
Nicolas Goaziou 60ceff7ef5
gnu: Add emacs-anaphora.
* gnu/packages/emacs-xyz.scm (emacs-anaphora): New variable.
2019-01-17 22:48:48 +01:00
Vagrant Cascadian cac00bbd97
gnu: electron-cash: Update to 3.3.4.
* gnu/packages/finance.scm (electron-cash): Update to 3.3.4.

Signed-off-by: Leo Famulari <leo@famulari.name>
2019-01-17 16:26:37 -05:00
Mark H Weaver 8b15b3a1e8
gnu: linux-libre: Update to 4.20.3.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.20.3.
(%linux-libre-hash): Update hash.
2019-01-17 16:11:35 -05:00
Mark H Weaver df9db3d1d2
gnu: linux-libre@4.19: Update to 4.19.16.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.16.
(%linux-libre-4.19-hash): Update hash.
2019-01-17 16:10:49 -05:00
Mark H Weaver cadb457a34
gnu: linux-libre@4.14: Update to 4.14.94.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.94.
(%linux-libre-4.14-hash): Update hash.
2019-01-17 16:10:07 -05:00
Mark H Weaver 94c5f46217
gnu: linux-libre@4.9: Update to 4.9.151.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.151.
2019-01-17 16:09:31 -05:00
Mark H Weaver 8ce7fb035f
gnu: linux-libre@4.4: Update to 4.4.171.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.171.
2019-01-17 16:07:44 -05:00
Leo Famulari 2b65a9e6d1
gnu: OpenSSH: Fix CVE-2018-20685.
* gnu/packages/patches/openssh-CVE-2018-20685.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (openssh)[source]: Use it.
2019-01-17 14:02:04 -05:00
Ricardo Wurmus 65cd70ce42
services: openssh: Add escape hatch.
* gnu/services/ssh.scm (<openssh-configuration>)[extra-content]: New field.
* doc/guix.texi (Networking Services): Document it.
2019-01-17 17:58:35 +01:00
Ricardo Wurmus 3d7ad1dc9f
gnu: ghc-cryptonite: Disable tests.
* gnu/packages/haskell-crypto.scm (ghc-cryptonite)[arguments]: Disable tests.
2019-01-17 17:58:35 +01:00
Ricardo Wurmus 8e9ca3ea2c
scripts: Fix typo.
* guix/scripts/download.scm (show-help): Fix typo.
2019-01-17 17:58:35 +01:00
Ricardo Wurmus 5de93cdba7
gnu: ghc-8: Patch ghc-pkg for reproducibility.
Fixes <https://bugs.gnu.org/33922>.

Co-authored-by: Timothy Sample <samplet@ngyro.com>.

* gnu/packages/haskell.scm (ghc-8)[arguments]: Add build phase
"fix-ghc-pkg-nondeterminism".
2019-01-17 17:56:50 +01:00
Mathieu Othacehe 11b68c90cd
Update 'TODO'.
* TODO (Installer): New section.
2019-01-17 14:11:15 +01:00
Ludovic Courtès 8cca59ee12
installer: Fix manual partitioning.
* gnu/installer/newt/partition.scm (run-partioning-page): When METHOD is
'manual, use 'filter-map' on DEVICES, not 'map', since 'disk-new' can
return #f.
2019-01-17 14:04:28 +01:00
Ludovic Courtès 85caf5f323
installer: "formating" → "formatting".
* gnu/installer/newt/partition.scm,
gnu/installer/parted.scm: Replace "formating" with "formatting".
2019-01-17 14:04:28 +01:00
Ludovic Courtès 938ee975af
installer: Adjust messages on the final page.
* gnu/installer/newt/final.scm (run-config-display-page)
(run-install-success-page, run-install-failed-page): Adjust messages.
2019-01-17 14:04:28 +01:00
Ludovic Courtès 077589459c
syscalls: 'device-in-use?' returns #f upon EINVAL.
This mirrors the behavior of the 'fdisk_device_is_used' function of
util-linux.

* guix/build/syscalls.scm (device-in-use?): Return #f upon EINVAL.
2019-01-17 14:04:28 +01:00
Ludovic Courtès a1f5dfc202
syscalls: 'device-in-use?' does not create a port.
* guix/build/syscalls.scm (device-in-use?): Use 'open-fdes' rather than
'open-file'.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe f40728f9d6
installer: partition: Add encryption password confirmation.
* gnu/installer/newt/partition.scm (prompt-luks-passwords): Add password
confirmation page.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe cb614af011
installer: keymap: Put English layout and international variant ahead.
* gnu/installer/newt/keymap.scm (sort-layouts): New procedure,
(sort-variants): new procedure,
(run-keymap-page): use the two procedures above to sort layouts and variants.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe 513914b59f
installer: Remove debug popup.
* gnu/installer/newt/partition.scm (run-partioning-page): Remove debug
partition popup.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe a8c4b68288
installer: welcome: Put "Graphical installer" ahead.
* gnu/installer/newt/welcome.scm (run-welcome-page): Propose "Graphical
  install" before shell based install.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe ebb36deccc
installer: Rename "Ok" buttons to "OK".
* gnu/installer/newt/page.scm: s/Ok/OK/.
* gnu/installer/newt/partition.scm: Ditto.
* gnu/installer/newt/user.scm: Ditto.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe f297c213a1
installer: parted: Do not call BLKRRPART on loop devices.
* gnu/installer/parted.scm (with-delay-device-in-use?): Return immediately if
the file-name passed as argument designates a loop device.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe 44b2d31c28
installer: Various renamins follow-up.
s/path/file and s/crypt/encrypt.

* gnu/installer/newt/partition.scm: Apply renamings.
* gnu/installer/parted.scm: Ditto.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe 5737ba841b
installer: Various renamings.
1. s/partitionment/partitioning/
2. s/crypted/encrypted/

* gnu/installer.scm (installer-steps): Apply renamings.
* gnu/installer/newt/partition.scm (run-disk-page): ditto,
* gnu/installer/parted.scm (auto-partition): ditto,
(luks-format-and-open): ditto,
(luks-close): ditto,
(user-partitions->configuration): ditto.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe 59e8f3c3ac
installer: parted: Use read-luks-partition-uuid instead of
find-partition-by-luks-uuid.

* gnu/installer/parted.scm (user-partition->mapped-device): Replace
read-luks-partition-uuid by find-partition-by-luks-uuid,
(user-partition->file-system): only compute uuid if the partition
is not encrypted.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe 8ae7044f1d
file-systems: Add read-luks-partition-uuid.
Add a specific procedure to read luks partition uuid.

* gnu/build/file-systems.scm (luks-partition-field-reader): New procedure ...
(luks-partition-uuid-predicate): ... used here,
(read-luks-partition-uuid): new exported procedure.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe df3664f1ec
installer: Clear screen upon exit.
* gnu/installer/newt.scm (exit): Call clear-screen after newt-finish,
(exit-error): ditto.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe bf304dbcea
installer: partionment: Add encryption support.
* gnu/installer.scm (set-installer-path): Add cryptsetup.
* gnu/installer/newt/partition.scm (prompt-luks-passwords): New procedure,
(run-partioning-page): Add the possibility to set encryption to "On" on a
partition and choose a label, add a new partition scheme: "Guided - using the
entire disk with encryption", prompt for encryption passwords before
proceeding to formating.
* gnu/installer/parted.scm (<user-partition>)[crypt-label],
[crypt-password]: New fields,
(partition-description): add the encryption label,
(user-partition-description): add an encryption field,
(auto-partition): add two partitioning schemes: entire-crypted-root and
entire-crypted-root-home,
(call-with-luks-key-file): new procedure,
(user-partition-upper-path): new procedure,
(luks-format-and-open): new procedure,
(luks-close): new procedure,
(format-user-partitions): format and open luks partitions before creating
file-system.
(mount-user-partitions): use the path returned by user-partition-upper-path,
(umount-user-partitions): close the luks partitions,
(user-partition->file-system): set device field to label for luks partitions
and to uuid for the rest,
(user-partition->mapped-device): new procedure,
(user-partitions->configuration): add mapped-devices field.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe 71cd8a5870
installer: partition: Fix typo.
* gnu/installer/newt/partition.scm (run-disk-page): Fix typo.
2019-01-17 14:04:26 +01:00