Commit Graph

28052 Commits

Author SHA1 Message Date
Ludovic Courtès 89a2647816
services: herd: 'with-shepherd' no longer leaves an open connection.
* gnu/services/herd.scm (with-shepherd): Use 'dynamic-wind' and close
CONNECTION at the end.
2018-01-21 00:24:03 +01:00
Ludovic Courtès 30875d07ef
doc: No longer mention Wicd in OS examples.
* gnu/system/examples/desktop.tmpl,
gnu/system/examples/lightweight-desktop.tmpl: Mention NetworkManager
instead of Wicd.
2018-01-21 00:24:03 +01:00
Ludovic Courtès d466b1fc82
services: Missing services are automatically instantiated.
This simplifies OS configuration: users no longer need to be aware of
what a given service depends on.

See the discussion at
<https://lists.gnu.org/archive/html/guix-devel/2018-01/msg00114.html>.

* gnu/services.scm (missing-target-error): New procedure.
(service-back-edges): Use it.
(instantiate-missing-services): New procedure.
* gnu/system.scm (operating-system-services): Call
'instantiate-missing-services'.
* tests/services.scm ("instantiate-missing-services")
("instantiate-missing-services, no default value"): New tests.
* gnu/services/version-control.scm (cgit-service-type)[extensions]: Add
FCGIWRAP-SERVICE-TYPE.
* gnu/tests/version-control.scm (%cgit-os): Remove NGINX-SERVICE-TYPE
and FCGIWRAP-SERVICE-TYPE instances.
* doc/guix.texi (Log Rotation): Remove 'mcron-service-type' in example.
(Miscellaneous Services): Remove 'nginx-service-type' and
'fcgiwrap-service-type' in Cgit example.
2018-01-21 00:24:03 +01:00
Ludovic Courtès bc58201ec2
tests: Cgit test waits for /var/run/shepherd/socket.
Previously tests sometimes start before the shepherd was listening,
leading to test failures.

* gnu/tests/version-control.scm (run-cgit-test)[test]: Add "shepherd
socket ready" test.  Rename to two "service running" tests for clarity.
2018-01-21 00:24:03 +01:00
Ludovic Courtès 33033a620e
services: shepherd: Make 'shepherd-configuration-file' non-monadic.
Suggested by atw on #guix.

* gnu/services/shepherd.scm (shepherd-service-file): Use 'scheme-file'
instead of 'gexp->file'.
(shepherd-configuration-file): Likewise, and adjust to non-monadic
style.
(shepherd-boot-gexp): Adjust accordingly.
* guix/scripts/system.scm (upgrade-shepherd-services): Use
'lower-object' in addition to 'shepherd-service-file'.
2018-01-21 00:24:02 +01:00
Danny Milosavljevic 7175abaaa4
gnu: Add mkbootimg.
* gnu/packages/android.scm (mkbootimg): New variable.
2018-01-20 23:07:20 +01:00
Danny Milosavljevic 6ef5162d65
gnu: Add abootimg.
* gnu/packages/android.scm (abootimg): New variable.
2018-01-20 22:52:01 +01:00
Danny Milosavljevic 84ee33787e
system: Add Nintendo NES Classic Edition installer.
* gnu/bootloader/u-boot.scm (u-boot-nintendo-nes-classic-edition-bootloader):
New exported variable.
* gnu/packages/bootloaders.scm (u-boot-nintendo-nes-classic-edition):
New exported variable.
* gnu/system/install.scm (nintendo-nes-classic-edition-installation-os):
New exported variable.
2018-01-20 22:50:56 +01:00
Danny Milosavljevic df8a909660
system: make-u-boot-package: Replace underscores by dashes in package name.
* gnu/packages/bootloaders.scm (make-u-boot-package): Replace underscores by
dashes in package name.
2018-01-20 22:50:56 +01:00
Danny Milosavljevic fccdc8c839
system: Factor out embedded-installation-os.
* gnu/system/install.scm (embedded-installation-os): New variable.
(beaglebone-black-installation-os): Use it.
(a20-olinuxino-lime2-emmc-installation-os): Use it.
(a20-olinuxino-micro-installation-os): Use it.
(banana-pi-m2-ultra-installation-os): Use it.
2018-01-20 22:50:56 +01:00
Danny Milosavljevic 8bac66deab
system: Factor out agetty-default-service.
* gnu/system/install.scm (agetty-default-service): New variable.
(beaglebone-black-installation-os): Use it.
(a20-olinuxino-lime2-emmc-installation-os): Use it.
(a20-olinuxino-micro-installation-os): Use it.
(banana-pi-m2-ultra-installation-os): Use it.
2018-01-20 22:50:55 +01:00
Danny Milosavljevic a7bb327e3c
system: Add A20 OLinuXino MICRO installer.
* gnu/bootloader/u-boot.scm (u-boot-a20-olinuxino-micro-bootloader): New
exported variable.
* gnu/packages/bootloaders.scm (u-boot-a20-olinuxino-micro): New exported
variable.
* gnu/system/install.scm (a20-olinuxino-micro-installation-os): New exported
variable.
2018-01-20 22:50:55 +01:00
Danny Milosavljevic 4b9e9abb36
system: Add A20 OLinuXino LIME2 installer.
* gnu/bootloader/u-boot.scm (u-boot-a20-olinuxino-lime2-bootloader): New
exported variable.
* gnu/packages/bootloaders.scm (u-boot-a20-olinuxino-lime2): New exported
variable.
* gnu/system/install.scm (a20-olinuxino-lime2-emmc-installation-os): New exported
variable.
2018-01-20 22:50:55 +01:00
Tobias Geerinckx-Rice e81c906647
gnu: wxsvg: Update to 1.5.12.
* gnu/packages/wxwidgets.scm (wxsvg): Update to 1.5.12.
2018-01-20 22:27:34 +01:00
Tobias Geerinckx-Rice cb7781177b
gnu: video, xml: Fix typo.
* gnu/packages/video.scm (libva)[synopsis]: Fix ‘libary’ typo.
[description]: Use @dfn.
* gnu/packages/xml.scm (libebml): Likewise.
2018-01-20 22:27:34 +01:00
Gábor Boskovits d0e9ded713
gnu: java-asm: Update to 6.0.
* gnu/packages/java.scm (java-asm): Update to 6.0.
[propagated-inputs]: Add java-aqute-bndlib.
[arguments]: Adjust #:make-flags accordingly.

Co-authored-by: Chris Marusich <cmmarusich@gmail.com>
2018-01-20 13:03:37 -08:00
Efraim Flashner d6e8a84e2a
gnu: godot: Fix building on aarch64-linux.
* gnu/packages/game-development.scm (godot)[arguments]: Add a flag when
building for aarch64-linux to build without threads.
2018-01-20 22:14:37 +02:00
Danny Milosavljevic e32d302474
gnu: cross-base: Apply gcc 6 patch to gcc >= 6.
* gnu/packages/cross-base.scm (cross-gcc): Apply gcc 6 patch to gcc >= 6.
2018-01-20 20:33:11 +01:00
Danny Milosavljevic f074f5e88c
gnu: u-boot: Update to 2018.01.
* gnu/packages/bootloaders.scm (define-module): Import (gnu packages gcc).
(u-boot): Update to 2018.01.
[native-inputs]: Add swig.  Remove dtc.
(make-u-boot-package): Use gcc-7.
2018-01-20 20:33:10 +01:00
Danny Milosavljevic 30aeb846d7
system: Add Banana Pi M2 Ultra installer.
* gnu/bootloader/u-boot.scm (u-boot-banana-pi-m2-ultra-bootloader): New
exported variable.
(install-allwinner-u-boot): New variable.
(u-boot-allwinner-bootloader): New variable.
* gnu/packages/bootloaders.scm (u-boot-banana-pi-m2-ultra): New exported
variable.
* gnu/system/install.scm (banana-pi-m2-ultra-installation-os): New exported
variable.
2018-01-20 20:33:10 +01:00
Tobias Geerinckx-Rice ed19fea0e5
gnu: graphicsmagick: Update to 1.3.28 [‘security fixes’].
* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.28.
2018-01-20 19:59:56 +01:00
Kei Kebreau ede75282b8
gnu: deutex: Update to 5.1.1.
* gnu/packages/games.scm (deutex): Update to 5.1.1.
2018-01-20 13:19:48 -05:00
Rutger Helling d77f2bd81f
gnu: lookingglass: Update to a10.
* gnu/packages/virtualization.scm (lookingglass): Update to a10.
2018-01-20 11:46:02 +01:00
Mark H Weaver 8329cb53d3
gnu: Remove references to deleted patches.
This is a followup to commit e074a655dd.

* gnu/local.mk (dist_patch_DATA): Remove ninja-zero-mtime.patch and
node-test-http2-server-rst-stream.patch, which no longer exist.
2018-01-20 01:07:34 -05:00
Mark H Weaver e074a655dd
Merge branch 'master' into core-updates 2018-01-19 23:59:20 -05:00
Leo Famulari ccb5cac17b
gnu: libexif: Fix CVE-2016-6328.
* gnu/packages/patches/libexif-CVE-2016-6328.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/photo.scm (libexif)[source]: Use it.
2018-01-19 17:51:00 -08:00
ng0 e8409dd275
gnu: perl-lingua-pt-stemmer: Update URL.
* gnu/packages/language.scm (perl-lingua-pt-stemmer)[source]: Use new
upstream URL.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-01-19 16:53:46 -08:00
Diego Nicola Barbato b2d120ee67
gnu: escpr: Update to 1.6.18.
* gnu/packages/cups.scm (escpr): Update to 1.6.18.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-01-20 00:45:30 +01:00
Ludovic Courtès eb3e41c92c
gnu: Add Motion.
* gnu/packages/video.scm (motion): New variable.
2018-01-20 00:45:30 +01:00
Ludovic Courtès 20fe727105
packages: 'package-mapping' maps replacement.
* guix/packages.scm (package-mapping): Apply PROC to 'replacement' as well.
2018-01-20 00:45:29 +01:00
Mathieu Lirzin 523790d11d
build: Declare “doc/guix.texi“ dependencies.
Fixes <https://bugs.gnu.org/29727>.

* doc/local.mk (%C%_guix_TEXINFOS): New variable containing files included by
“doc/guix.texi”.
(EXTRA_DIST): Remove ‘.texi’ files.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-01-20 00:45:29 +01:00
Leo Famulari 92572184cc
gnu: certbot: Update to 0.21.0.
* gnu/packages/tls.scm (certbot): Update to 0.21.0.
(python-acme): Update to 0.21.0.
[propagated-inputs]: Add python-josepy.
2018-01-19 11:35:45 -08:00
Leo Famulari c19271295a
gnu: Add python-josepy.
* gnu/packages/python-crypto.scm (python-josepy, python2-josepy): New variables.
2018-01-19 11:35:45 -08:00
Tobias Geerinckx-Rice 07378e315a
gnu: libvirt: Update to 4.0.0.
* gnu/packages/virtualization.scm (libvirt): Update to 4.0.0.
[arguments]: Substitute INVOKE for SYSTEM*.
2018-01-19 18:46:43 +01:00
Tobias Geerinckx-Rice 162a137400
gnu: Consistently Write ‘file system(s)’.
It is the GNU way.

* doc/guix.texi (Build Systems, DNS Services): Write ‘file system(s)’.
* gnu/build/vm.scm (create-ext-file-system, create-fat-file-system):
Likewise.
* gnu/packages/backup.scm (dirvish, rsnapshot)[description]: Likewise.
* gnu/packages/check.scm (python-testpath)[description]: Likewise.
* gnu/packages/disk.scm (pydf)[description]: Likewise.
* gnu/packages/file-systems.scm (disorderfs)[synopsis, description]: Likewise.
(glusterfs)[description]: Likewise.
* gnu/packages/haskell.scm (ghc-directory, ghc-system-fileio-bootstrap)
(ghc-system-fileio)[synopsis]: Likewise.
(ghc-fsnotify)[description]: Likewise.
* gnu/packages/linux.scm (proot)[description]: Likewise.
(jmtpfs)[synopsis, description]: Likewise.
* gnu/packages/mate.scm (caja, caja-extensions)[description]: Likewise.
* gnu/packages/storage.scm (ceph)[description]: Likewise.
* gnu/packages/sync.scm (lsyncd)[description]: Likewise.
* gnu/packages/syncthing.scm (syncthing)[synopsis]: Likewise.
(go-github-com-zillode-notify)[description]: Likewise.
* gnu/services/nfs.scm (pipefs-service-type): Likewise.
* guix/scripts/system.scm (perform-action): Likewise.
2018-01-19 17:28:31 +01:00
Marius Bakke 28f6f22912
gnu: unbound: Update to 1.6.8 [fixes CVE-2017-15105].
* gnu/packages/dns.scm (unbound): Update to 1.6.8.
2018-01-19 16:09:38 +01:00
Marius Bakke ad7664f636
gnu: libvpx: Use HTTPS for home page.
* gnu/packages/video.scm (libvpx)[home-page]: Use HTTPS.
2018-01-19 16:08:06 +01:00
Tobias Geerinckx-Rice 5bb12e1462
gnu: ninja: Update to 1.8.2.
* gnu/packages/ninja.scm (ninja): Update to 1.8.2.
[source]: Remove upstreamed patch.
[arguments]: Substitute INVOKE for SYSTEM*.  Use standard indentation.
* gnu/packages/patches/ninja-zero-mtime.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-01-19 13:19:33 +01:00
Tobias Geerinckx-Rice 5d0bd1fbbf
gnu: tcc: Update to 0.9.27.
* gnu/packages/c.scm (tcc): Update to 0.9.27.
[license]: Add a comment about attempted Expat re-licencing.
2018-01-19 13:19:33 +01:00
Tobias Geerinckx-Rice b7cbcee552
gnu: minixml: Update to 2.11.
* gnu/packages/xml.scm (minixml): Update to 2.11.
[source]: Use URL-FETCH/TARBOMB method.
[arguments]: Add ‘fix-permissions’ phase.
2018-01-19 13:19:32 +01:00
Tobias Geerinckx-Rice a040db6d70
gnu: libebml: Update to 1.3.5.
* gnu/packages/xml.scm (libebml): Update to 1.3.5.
[source, home-page]: Update URI.
2018-01-19 13:19:32 +01:00
Efraim Flashner 6f10e74fc7
gnu: wine: Parameterize version string in uri.
* gnu/packages/wine.scm (wine)[source]: Replace hard-coded version
string with parameterized version.
2018-01-19 11:00:16 +02:00
Rutger Helling 4a24c48695
gnu: xpra: Update to 2.2.3.
* gnu/packages/xorg.scm (xpra): Update to 2.2.3.
2018-01-19 08:25:12 +01:00
Tobias Geerinckx-Rice 528d129278
gnu: lz4: Update to 1.8.1.2.
* gnu/packages/compression.scm (lz4): Update to 1.8.1.2.
2018-01-19 03:53:41 +01:00
Tobias Geerinckx-Rice 13de2b70b8
gnu: mdds: Update to 1.3.1.
* gnu/packages/boost.scm (mdds): Update to 1.3.1.
2018-01-19 02:45:17 +01:00
Tobias Geerinckx-Rice fbf210cb24
gnu: rdup: Update to 1.1.15.
* gnu/packages/backup.scm (rdup): Update to 1.1.15.
[source]: Use new URI.  Remove snippet.
[native-inputs]: Add autoconf and automake.
[inputs]: Add mcrypt.
[arguments]: Add ‘bootstrap’ and ‘qualify-inputs’ phases.
Remove ‘remove-Werror’ phase.
[home-page]: Use apparent new (and HTTPS) home page.
2018-01-19 02:45:17 +01:00
Tobias Geerinckx-Rice 8fc46a43c0
gnu: testdisk: Use HTTPS for home page.
* gnu/packages/admin.scm (testdisk)[home-page]: Use HTTPS.
2018-01-19 02:45:16 +01:00
Tobias Geerinckx-Rice ca52937c29
gnu: stress: Update to 1.0.4.
* gnu/packages/admin.scm (stress): Update to 1.0.4.
2018-01-19 02:45:16 +01:00
Tobias Geerinckx-Rice abf7fed500
gnu: stress: Use newer and HTTPS home page.
* gnu/packages/admin.scm (stress)[home-page]: Use HTTPS and ‘sid’ code
name, which is more up to date and will remain so.
2018-01-19 02:45:16 +01:00
Tobias Geerinckx-Rice d62ab6572b
gnu: gmp: Edit description.
* gnu/packages/multiprecision.scm (gmp)[description]: Edit.
Define GMP.
2018-01-19 02:45:15 +01:00