Commit Graph

21236 Commits

Author SHA1 Message Date
Brendan Tildesley 1326166ebe
gnu: calibre: Don't create uninstaller.
* gnu/packages/ebook.scm (calibre)[arguments]<#:phases>. Add 'patch-source' phase.

Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2017-05-19 23:49:21 +02:00
Brendan Tildesley affaf98f77
gnu: calibre: Add exhaustive license list.
* gnu/packages/ebook.scm (calibre): Add exhaustive license list.
(chmlib)[license]: Use license: prefix.

Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2017-05-19 23:49:21 +02:00
Brendan Tildesley 9b7dcc2703
gnu: calibre: Add missing dependencies.
* gnu/packages/ebook.scm (calibre)[inputs]: Add poppler, python2-dnspython,
and python2-pygments.
[arguments]: Remove old TODO comments. libwmf and psutil are no longer used.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-05-19 23:49:21 +02:00
Brendan Tildesley eeba7d3a07
gnu: calibre: Unbundle chardet.
* gnu/packages/ebook.scm (calibre)[source]: Delete bundled chardet.
[inputs]: Add python2-chardet.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-05-19 23:49:21 +02:00
Brendan Tildesley b3399a0985
gnu: calibre: Unbundle liberation fonts.
*gnu/packages/ebook.scm (calibre)[source]: Delete liberation .ttf files.
[native-inputs]: Add font-liberation.
[arguments]: Calibre still references the bundled fonts, so we install the
packaged fonts to the directory the bundled fonts would have been.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-05-19 23:49:21 +02:00
Brendan Tildesley 29ec085170
gnu: calibre: Unbundle python2-markdown.
* gnu/packages/ebook.scm (calibre)[snippet]: Replace python references to
bundled markdown with packaged. Remove markdown from source.
[inputs]: Add python2-markdown as a dependency.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-05-19 23:49:21 +02:00
Brendan Tildesley d94a99ec66
gnu: calibre: Import unbundle feedparser patch from debian.
* gnu/packages/ebook.scm (calibre)[source]: Reference new patch file.
[inputs]: Add python2-feedparser as an input.
* gnu/packages/patches/calibre-use-packaged-feedparser.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-05-19 23:49:20 +02:00
Brendan Tildesley 7010d231db
gnu: calibre: Import dont-load-icons patch from debian.
* gnu/packages/patches/calibre-dont-load-remote-icons.patch: New file.
* gnu/packages/ebooks.scm (calibre)[source]: Add reference to patch file.
* gnu/local.mk (dist_path_DATA): Add it.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-05-19 23:49:20 +02:00
Brendan Tildesley cd6171c1b4
gnu: calibre: Update to 2.85.1.
* gnu/packages/ebooks.scm (calibre): Update to 2.85.1.
* gnu/packages/patches/calibre-drop-unrar.patch: Delete incompatible patch
file. Recreate debian patch file from the latest calibre git revision.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-05-19 23:49:20 +02:00
Ludovic Courtès b55dd31660
system: Use Guile 2.2 rather than 2.0 in %BASE-PACKAGES.
* gnu/system.scm (%base-packages): Change GUILE-2.0 to GUILE-2.2.
2017-05-19 23:38:52 +02:00
Marius Bakke 41fa164aa0
gnu: python-pyqt@4: Update to 4.12.
* gnu/packages/qt.scm (python-pyqt-4): Update to 4.12.
[source]: Adjust URI to file rename.
2017-05-19 21:33:43 +02:00
Marius Bakke 5ac3a671d8
gnu: python-pyqt: Update to 5.8.2.
* gnu/packages/qt.scm (python-pyqt): Update to 5.8.2.
2017-05-19 21:24:11 +02:00
Marius Bakke f6da41b54d
gnu: python-sip: Update to 4.19.2.
* gnu/packages/qt.scm (python-sip): Update to 4.19.2.
2017-05-19 21:24:11 +02:00
Marius Bakke 8ea98ee10c
doc: Update for UEFI systems.
* doc/guix.texi (USB Stick Installation): Mention UEFI.
(Preparing for Installation): Add notes about EFI System Partition, and
mounting partitions before init.
(Proceeding with the Installation): Mention the GRUB-EFI package.
(Using the Configuration System): Lightweight desktop is now a UEFI system.
(GRUB Configuration): Expand on package field. Add indexes.
* gnu/system/examples/lightweight-desktop.tmpl: Adjust to native EFI configuration.
2017-05-19 13:52:49 +02:00
Marius Bakke ecf5d53769
vm: Add UEFI loader to disk images.
* gnu/build/vm.scm (install-efi): New procedure.
(initialize-hard-disk): Generate EFI blob when ESP is present.
* gnu/system/vm.scm (qemu-image): Append 40MiB EFI System Partition.
2017-05-19 12:59:25 +02:00
Marius Bakke 4d415f0c3c
vm: Support creating FAT partitions.
* gnu/build/vm.scm (create-ext-file-system, create-fat-file-system): New procedures.
(format-partition): Use them. Error for unknown file systems.
* gnu/system/vm.scm (qemu-image): Include DOSFSTOOLS.
* gnu/system/linux-initrd.scm (base-initrd): Always add nls_is8859-1.ko.
2017-05-19 12:59:25 +02:00
Marius Bakke 01cc84dade
vm: Support arbitrary partition flags.
* gnu/build/vm.scm (<partition>): Change BOOTABLE? to FLAGS.
(initialize-partition-table): Pass each flag to parted.
(initialize-hard-disk): Locate boot partition.
* gnu/system/vm.scm (qemu-image): Adjust partition flags.
2017-05-19 12:59:25 +02:00
Ludovic Courtès e7fbd49132
gnu: guile-ssh: Fix potential double-free/use-after-free issue.
Fixes <http://bugs.gnu.org/26976>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/patches/guile-ssh-double-free.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (guile-ssh)[source](patches): Add it.
2017-05-19 10:50:20 +02:00
Ludovic Courtès 7afc2aabdf
modules: Add more source-less modules.
* guix/modules.scm (%source-less-modules): New variable.
(source-module-dependencies): Use it.
2017-05-19 10:45:12 +02:00
Ludovic Courtès ffa5e0a6d2
publish: Fix narinfo rendering for already-compressed items.
Fixes <http://bugs.gnu.org/26975>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/publish.scm (bake-narinfo+nar): Pass #f as the 2nd
argument to 'stat' and properly handle #f.
* tests/publish.scm (wait-for-file): New procedure.
("with cache"): Remove 'wait-for-file' procedure.
("with cache, uncompressed"): New test.
2017-05-18 21:35:35 +02:00
Tobias Geerinckx-Rice acf82a1152
gnu: btrfs-progs: Update to 4.11.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.11.
2017-05-18 18:55:11 +02:00
Tobias Geerinckx-Rice 4d2e1d1442
gnu: mcelog: Update to 150.
* gnu/packages/linux.scm (mcelog): Update to 150.
2017-05-18 18:55:11 +02:00
Efraim Flashner 8cf6a63382
gnu: nano: Update to 2.8.3.
* gnu/packages/nano.scm (nano): Update to 2.8.3.
2017-05-18 19:13:10 +03:00
Ludovic Courtès 920803fbf4
maint: Add 'update-NEWS' target.
* build-aux/update-NEWS.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
(GUIX_MAINTENANCE_DIRECTORY): New variable.
(update-NEWS): New target.
(.PHONY): Add it.
2017-05-18 16:24:02 +02:00
Ludovic Courtès 27c81fcb86
lint: inputs-should-be-native: Add "cmake".
Suggested by Nicolas Goaziou <mail@nicolasgoaziou.fr>.

* guix/scripts/lint.scm (check-inputs-should-be-native)[input-names]:
Add "cmake".
2017-05-18 14:22:03 +02:00
Pjotr Prins 2b18ad054c
gnu: Add gemma.
* gnu/packages/bioinformatics.scm (gemma): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-18 14:22:03 +02:00
Kyle Meyer f69c29f76d
gnu: Add emacs-helm-projectile.
* gnu/packages/emacs.scm (emacs-helm-projectile): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-18 14:22:03 +02:00
Kyle Meyer 03cc1cf35b
gnu: Add emacs-helm-swoop.
* gnu/packages/emacs.scm (emacs-helm-swoop): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-18 14:22:03 +02:00
Kyle Meyer 12e72d2a12
gnu: emacs-helm: Update to 2.7.0.
* gnu/packages/emacs.scm (emacs-helm): Update to 2.7.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-18 14:22:03 +02:00
Kyle Meyer 51ef4af6b3
gnu: emacs-async: Update to 1.9.2.
* gnu/packages/emacs.scm (emacs-async): Update to 1.9.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-18 14:22:02 +02:00
Mathieu Othacehe 7fb6a9d3a6
bootloader: extlinux: Remove syslinux-bootloader.
* gnu/bootloader/extlinux.scm (export): Remove syslinux-bootloader
  that was forgotten in 8ad37ad7b.
2017-05-18 12:10:03 +02:00
Mathieu Othacehe 8ad37ad7b6
bootloader: extlinux: Remove undefined symbols from export list.
* gnu/bootloader/extlinux.scm (export): Remove syslinux-bootloader,
  extlinux-configuration, syslinux-configuration.
2017-05-18 12:00:23 +02:00
Ludovic Courtès 22ef06b801
union: Gracefully handle dangling symlinks in the input.
Fixes <http://bugs.gnu.org/26949>.
Reported by Pjotr Prins <pjotr.public12@thebird.nl>.

* guix/build/union.scm (file-is-directory?): Return #f when FILE does
not exist or is a dangling symlink.
(file=?): Pass #f as a second argument to 'stat'; return #f when both
ST1 or ST2 is #f.
* tests/profiles.scm (test-equalm): New macro.
("union vs. dangling symlink"): New test.
2017-05-18 11:38:48 +02:00
Ludovic Courtès 41f76ae08a
services: user-homes: Do not create home directories marked as no-create.
Fixes a bug whereby GuixSD would create the /nonexistent directory, from
user 'nobody', even though it has 'create-home-directory?' set to #f.

* gnu/build/activation.scm (activate-users+groups): Add comment for
\#:create-home?.
(activate-user-home)[ensure-user-home]: Skip when CREATE-HOME? is #f or
SYSTEM? is #t.
* gnu/tests/base.scm (run-basic-test)["no extra home directories"]: New
tests.
2017-05-18 10:55:16 +02:00
Efraim Flashner a20e00ddaf
gnu: qt: Update to 5.8.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtwebkit): Update to 5.8.0.
(qtdeclarative-render2d)[properties]: New field, package has been
absorbed by qtdeclarative and thus marked as superseded by it.
2017-05-18 10:17:42 +03:00
Efraim Flashner 4e825e2da3
gnu: qtbase: Update configure flags.
* gnu/packages/qt.scm (qtbase)[arguments]: Change the configure flags to
not use the precompiled headers. Enable x86_64 special hardware
instructions which have runtime detection.
2017-05-18 09:55:28 +03:00
Efraim Flashner 04f8decf1f
gnu: qtbase: Don't use bundled double-conversion.
* gnu/packages/qt.scm (qtbase)[inputs]: Add double-conversion.
2017-05-18 09:52:49 +03:00
Efraim Flashner 45f5bc0e74
gnu: qtconnectivity: Fix building on armhf and aarch64.
* gnu/packages/qt.scm (qtconnectivity)[arguments]: Add a phase to remove
a test which fails on arm hardware.
2017-05-18 09:51:23 +03:00
Efraim Flashner 7c5cf7a29d
gnu: qtscript: Fix building on aarch64.
* gnu/packages/patches/qtscript-disable-tests.patch: New file.
* gnu/packages/qt.scm (qtscript)[source]: Use it.
* gnu/local.am (dist_patch_DATA): Register it.
2017-05-18 09:49:43 +03:00
Kei Kebreau b81b8943cf
gnu: openttd: Update to 1.7.0.
* gnu/packages/games.scm (openttd): Update to 1.7.0.
2017-05-17 21:55:01 -04:00
Leo Famulari 0be20a8353
gnu: gnupg: Update to 2.1.21.
This release fixes a keyring corruption bug introduced in 2.1.20. See
<https://lists.gnupg.org/pipermail/gnupg-announce/2017q2/000405.html> for more
information.

* gnu/packages/gnupg.scm (gnupg): Update to 2.1.21.
2017-05-17 21:48:29 -04:00
Leo Famulari 89c83e8c3e
gnu: npth: Update to 1.4.
* gnu/packages/gnupg.scm (npth): Update to 1.4.
2017-05-17 21:48:29 -04:00
Leo Famulari b193fb2851
gnu: shadow: Update to 4.5.
This fixes a regression introduced by the fix for CVE-2017-2616.
See <https://github.com/shadow-maint/shadow/pull/72> for more information.

* gnu/packages/admin.scm (shadow): Update to 4.5.
[source]: Remove patches.
* gnu/packages/patches/shadow-4.4-su-snprintf-fix.patch,
gnu/packages/patches/shadow-CVE-2017-2616.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2017-05-17 21:20:29 -04:00
Kei Kebreau 6aa095f10c
gnu: manaplus: Update to 1.7.5.14.
* gnu/packages/games.scm (manaplus): Update to 1.7.5.14.
[inputs]: Remove physfs.
2017-05-17 21:06:59 -04:00
Kei Kebreau e28cb7a5f5
gnu: gamine: Update to 1.5.
* gnu/packages/games.scm (gamine): Update to 1.5.
2017-05-17 19:18:34 -04:00
ng0 45433bb03d
gnu: mc: Add unzip to inputs.
* gnu/packages/mc.scm (mc)[inputs]: Add unzip.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-05-18 01:00:53 +02:00
Marius Bakke c80cd4dfb4
install: Enable SSH in installation image.
* gnu/system/install.scm (%installation-services): Add OPENSSH-SERVICE-TYPE.
* doc/guix.texi (Preparing for Installation)[Networking]: Document it.
2017-05-18 01:00:53 +02:00
Marius Bakke 07bf68ed09
services: openssh: Don't depend on networking.
* gnu/services/ssh.scm (openssh-shepherd-service): Drop requirement.
2017-05-18 01:00:52 +02:00
Kei Kebreau 32199e9aa6
gnu: fizmo: Update to 0.8.4.
* gnu/packages/games.scm (fizmo): Update to 0.8.4.
[inputs]: Add freetype; change sdl to sdl2.
2017-05-17 17:35:38 -04:00
Kei Kebreau ec84c7870e
gnu: gnubg: Update to 1.05.
* gnu/packages/games.scm (gnubg): Update to 1.05.
2017-05-17 17:33:35 -04:00