summary refs log tree commit diff
AgeCommit message (Collapse)Author
2015-10-14guix system: Add 'dmd-graph' command.Ludovic Courtès
* guix/scripts/system.scm (dmd-service-node-label, dmd-service-node-type, export-dmd-graph): New procedures. (show-help): Add 'dmd-graph'. (guix-system)[parse-sub-command]: Likewise. Honor it. * doc/guix.texi (Invoking guix system): Document it. (dmd Services): Add an illustration and explanation. * doc/images/dmd-graph.dot: New file. * doc.am (DOT_FILES): Add it.
2015-10-14services: Add 'dmd-service-back-edges'.Ludovic Courtès
* gnu/services/dmd.scm (dmd-service-back-edges): New procedure. * tests/services.scm ("dmd-service-back-edges"): New test.
2015-10-14services: Prefix <dmd-service> accessors with 'dmd-'.Ludovic Courtès
* gnu/services/dmd.scm (<dmd-service>): Prefix accessor identifiers with 'dmd-', as was intended. Update users accordingly.
2015-10-14guix system: Add 'extension-graph' command.Ludovic Courtès
* guix/scripts/system.scm (service-node-label, service-node-type, export-extension-graph): New procedures. (guix-system)[parse-sub-command]: Add 'extension-graph'. Honor it. (show-help): Add 'extension-graph'. * doc/guix.texi (Invoking guix system): Document it. (Service Composition): Add cross-reference.
2015-10-14graph: 'export-graph' takes a #:reverse-edges? parameter.Ludovic Courtès
* guix/scripts/graph.scm (export-graph): Add #:reverse-edges? parameter and honor it.
2015-10-14services: 'dmd-service-type' takes a service name.Ludovic Courtès
* gnu/services/dmd.scm (dmd-service-type): Add 'service-name' parameter. * gnu/services/base.scm, gnu/services/networking.scm, gnu/system/install.scm: Adjust callers.
2015-10-14services: Export 'service-back-edges'.Ludovic Courtès
* gnu/services.scm: Export 'service-back-edges' and <service-type> accessors. * tests/services.scm ("service-back-edges"): New test.
2015-10-14build-system/gnu: dist-package: Use 'autoconf-wrapper'.Ludovic Courtès
* guix/build-system/gnu.scm (dist-package): Use AUTOCONF-WRAPPER instead of AUTOCONF.
2015-10-14hydra: Add Graphviz and help2man as inputs to the Guix job set.Ludovic Courtès
* build-aux/hydra/guix.scm (tarball-package): Add GRAPHVIZ and HELP2MAN to 'native-inputs' of GUIX.
2015-10-14gnu: diamond: Restrict supported systems to x86_64-linux.Ben Woodcroft
* gnu/packages/bioinformatics.scm (diamond) [supported-systems]: Restrict to x86_64-linux.
2015-10-14gnu: abbaye: Use 'sdl-union'.Alex Kost
* gnu/packages/games.scm (abbaye)[inputs]: Use 'sdl-union'. [arguments]: Adjust 'set-sdl-paths' phase accordingly.
2015-10-14emacs: devel: Add indentation rules.Alex Kost
Suggested by Ludovic Courtès <ludo@gnu.org>. * emacs/guix-devel.el: Add indentation rules for Guix macros/procedures. (guix-devel-scheme-indent): New macro. (guix-devel-indent-package): New function.
2015-10-14gnu: icecat: Update to 38.3.0-gnu1.Mark H Weaver
* gnu/packages/patches/icecat-CVE-2015-4473-partial.patch, gnu/packages/patches/icecat-CVE-2015-4482.patch, gnu/packages/patches/icecat-CVE-2015-4488.patch, gnu/packages/patches/icecat-CVE-2015-4489.patch, gnu/packages/patches/icecat-CVE-2015-4491.patch, gnu/packages/patches/icecat-CVE-2015-4492.patch, gnu/packages/patches/icecat-CVE-2015-4495.patch, gnu/packages/patches/icecat-enable-acceleration-and-webgl.patch, gnu/packages/patches/icecat-libvpx-1.4.patch: Delete files. * gnu/packages/patches/icecat-avoid-bundled-includes.patch: New file. * gnu-system.am (dist_patch_DATA): Add new patch. Remove the deleted ones. * gnu/packages/gnuzilla.scm (icecat): Update to 38.3.0-gnu1. [source]: Add new patch. Remove the deleted ones. [inputs]: Add libxcomposite. [arguments]: Add 'ensure-no-mtimes-pre-1980' phase. Adapt 'remove-h264parse-from-blacklist' and 'arrange-to-link-libxul-with-libraries-it-might-dlopen' phases to the new version.
2015-10-13gnu: geiser: Update to 0.8.1.Alex Kost
* gnu/packages/emacs.scm (geiser): Update to 0.8.1.
2015-10-13gnu: python-rpy2: Add "zlib" to native-inputs.Ricardo Wurmus
* gnu/packages/python.scm (python-rpy2)[native-inputs]: Add "zlib".
2015-10-13gnu: python-scipy, python2-scipy: Update to 0.16.0.Ricardo Wurmus
* gnu/packages/python.scm (python-scipy, python2-scipy): Update to 0.16.0.
2015-10-13gnu: python-scipy, python2-scipy: Propagate Python inputs.Ricardo Wurmus
* gnu/packages/python.scm (python-scipy)[inputs]: Move "python-numpy", "python-matplotlib", and "python-pyparsing" to propagated-inputs; move "python-nose" and "python-sphinx" to native-inputs. [propagated-inputs]: New field. [native-inputs]: Move "python-nose" and "python-sphinx" from inputs field here. (python2-scipy): Modify propagated-inputs instead of inputs field.
2015-10-13gnu: icedtea6: Update to 1.13.8.Ricardo Wurmus
* gnu/packages/java.scm (icedtea6): Update to 1.13.8.
2015-10-13gnu: icedtea6: Replace "ant-bootstrap" with "ant".Ricardo Wurmus
* gnu/packages/java.scm (icedtea6)[native-inputs]: Replace "ant-bootstrap" with "ant". [arguments]: Remove steps to unpack and use "ant-bootstrap". (icedtea7)[native-inputs]: Remove explicit references to "ant-bootstrap" and "ant".
2015-10-13gnu: ant: Build with GCJ.Ricardo Wurmus
* gnu/packages/java.scm (ant)[native-inputs]: Replace "icedtea6" with "gcj".
2015-10-13gnu: gcj-4.8, gcj: Update to default GCC version.Ricardo Wurmus
* gnu/packages/gcc.scm (gcj-4.8): Inherit from "gcc" package and rename variable to... (gcj): ...this new variable. (ecj-bootstrap-4.8): Rename variable to... (ecj-bootstrap): ...this, updating to version 4.9. * gnu/packages/java.scm (icedtea6)[native-inputs]: Replace "gcj-4.8" with "gcj". * gnu/packages/music.scm (tuxguitar)[native-inputs]: Likewise.
2015-10-13gnu: abbaye: Use 'modify-phases'.Alex Kost
* gnu/packages/games.scm (abbaye)[arguments]: Use 'modify-phases'.
2015-10-13gnu: Add manaplus.Alex Kost
* gnu/packages/games.scm (manaplus): New variable.
2015-10-13build-system/python: Memoize the results of 'package-with-python2'.Ludovic Courtès
Fixes <http://bugs.gnu.org/21675>. Reported by Cyril Roelandt <tipecaml@gmail.com>. Before this change, the command: guix build python2-oslo.utils -n --no-substitutes would take 17.5s. After, it is down to 2.9s. Likewise, the command: guix graph python2-bandit | grep python2-setuptools.*Helve| wc -l would return 412 nodes before, all functionally equivalent, and returns a single one now. * guix/build-system/python.scm (package-with-explicit-python): Remove 'p' parameter. Change to return a one-argument memoizing procedure. (package-with-python2): Adjust accordingly.
2015-10-13hydra: Update demo OS to new service interface.Ludovic Courtès
* build-aux/hydra/demo-os.scm: Import (gnu services dbus); remove arguments to 'dbus-service'.
2015-10-13doc: Update "Name Service Switch" to new service framework.Ludovic Courtès
* gnu/services/avahi.scm (avahi-service): Mention the extension of nscd. * doc/guix.texi (Networking Services): Update accordingly. (Name Service Switch): Remove '%my-base-services' example and explanation.
2015-10-12gnu: geiser: Update to 0.8.David Thompson
* gnu/packages/emacs.scm (geiser): Update to 0.8.
2015-10-12Merge branch 'core-updates'Ludovic Courtès
2015-10-12gnu: lilypond: Hardcode path to "gs" executable.Ricardo Wurmus
* gnu/packages/music.scm (lilypond)[arguments]: Add build phase "hardcode-path-to-gs".
2015-10-12gnu: Add python-traitlets.Ricardo Wurmus
* gnu/packages/python.scm (python-traitlets, python2-traitlets): New variables.
2015-10-12gnu: Add python-ipython-genutils.Ricardo Wurmus
* gnu/packages/python.scm (python-ipython-genutils, python2-ipython-genutils): New variables.
2015-10-12gnu: Add python-simplegeneric.Ricardo Wurmus
* gnu/packages/python.scm (python-simplegeneric, python2-simplegeneric): New variables.
2015-10-12gnu: Add python-pickleshare.Ricardo Wurmus
* gnu/packages/python.scm (python-pickleshare, python2-pickleshare): New variables.
2015-10-12gnu: Add python-pathpy.Ricardo Wurmus
* gnu/packages/python.scm (python-pathpy, python2-pathpy): New variables.
2015-10-12gnu: Add python-pytest-runner.Ricardo Wurmus
* gnu/packages/python.scm (python-pytest-runner, python2-pytest-runner): New variables.
2015-10-12gnu: Add python-setuptools-scm.Ricardo Wurmus
* gnu/packages/python.scm (python-setuptools-scm, python2-setuptools-scm): New variables.
2015-10-12gnu: Add python-pexpect.Ricardo Wurmus
* gnu/packages/python.scm (python-pexpect, python2-pexpect): New variables.
2015-10-12gnu: bwa: Disable on non-x86_64.Ricardo Wurmus
* gnu/packages/bioinformatics.scm (bwa)[supported-systems]: Add field.
2015-10-12gnu: sdl-union: Wrap into a procedure and export it.Alex Kost
Suggested by Ludovic Courtès <ludo@gnu.org>. * gnu/packages/sdl.scm (sdl-union): Make it a procedure returning 'sdl-union' package. (guile-sdl): Use it.
2015-10-12gnu: Add physfs.Alex Kost
* gnu/packages/game-development.scm (physfs): New variable.
2015-10-12emacs: Add 'guix-devel-build-package-source'.Alex Kost
Suggested by Ludovic Courtès <ludo@gnu.org>. * guix/scripts.scm (build-package-source): New procedure. * emacs/guix-devel.el (guix-devel-build-package-source): New command. (guix-devel-keys-map): Add key binding for it. * doc/emacs.texi (Emacs Development): Document it.
2015-10-11gnu: guile: Add guile-wisp.Christopher Allan Webber
* gnu/packages/guile.scm (guile-wisp): New variable.
2015-10-11services: polkit: Use the right executable name for PAM.Ludovic Courtès
* gnu/services/desktop.scm (%polkit-pam-services): Change "polkit-1" to "polkitd", which is the actual name of the executable.
2015-10-11services: upower: Remove unused "upower" account.Ludovic Courtès
* gnu/services/desktop.scm (%upower-accounts): Remove. (%upower-activation): Remove references to the "upower" account. (upower-service-type): Remove extension of ACCOUNT-SERVICE-TYPE.
2015-10-11gnu: Add MARS.Ricardo Wurmus
* gnu/packages/games.scm (mars): New variable. * gnu/packages/patches/mars-install.patch: New file. * gnu/packages/patches/mars-sfml-2.3.patch: New file. * gnu-system.am (dist_patch_DATA): Add them.
2015-10-11doc: Fix typo.Alex Kost
* doc/guix.texi (Defining Services): Fix typo.
2015-10-11gnu: wicd: Install 'index.theme' file in the right place.宋文武
This is a followup to 800d8d. * gnu/packages/wicd.scm (wicd)[arguments]: Install a copy of 'index.theme' from 'hicolor-icon-theme' into $out/share/icons/hicolor.
2015-10-10gnu: gnupg: Update to 2.1.9.Mark H Weaver
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.9.
2015-10-10services: Introduce extensible services.Ludovic Courtès
This patch rewrites GuixSD services to make them extensible. * gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/dbus.scm. * gnu/services.scm (<service>): Replace with new record type. (<service-extension>, <service-type>): New record types. (write-service-type, compute-boot-script, second-argument): New procedures. (%boot-service, boot-service-type): New variables. (file-union, directory-union, modprobe-wrapper, activation-service->script, activation-script, gexps->activation-gexp): New procedures. (activation-service-type, %activation-service): New variables. (etc-directory, files->etc-directory, etc-service): New procedures. (etc-service-type, setuid-program-service, firmware-service-type): New variables. (firmware->activation-gexp): New procedure. (&service-error, &missing-target-service-error, &ambiguous-target-service-error): New condition types. (service-back-edges, fold-services): New procedures. * gnu/services/avahi.scm (<avahi-configuration>): New record type. (configuration-file): Replace keyword parameters with a single 'config' parameter. (%avahi-accounts, %avahi-activation, avahi-service-type): New variables. (avahi-dmd-service): New procedure. (avahi-service): Rewrite using 'service' and 'avahi-configuration'. * gnu/services/base.scm (%root-file-system-dmd-service, root-file-system-service-type): New variables. (root-file-system-service): Use them. (file-system->dmd-service-name): New procedure. (file-system-service-type): New variable. (file-system-service): Use it. Replace keyword parameters with a single 'file-system' object. (user-unmount-service-type): New variable. (user-unmount-service): Use it. (user-processes-service-type): New variable. (user-processes-service): Use it. (host-name-service-type): New variable. (host-name-service): Use it. (console-keymap-service-type): New variable. (console-keymap-service): Use it. (console-font-service-type): New variable. (console-font-service): Use it. (mingetty-pam-service, mingetty-dmd-service): New procedures. (mingetty-service-type): New variable. (mingetty-service): Use it. (nscd-dmd-service): New procedure. (nscd-activation, nscd-service-type): New variables. (nscd-service): Use the latter. (syslog-service-type): New variable. (syslog-service): Use it. (<guix-configuration>): New record type. (%default-guix-configuration): New variable. (guix-dmd-service, guix-accounts, guix-activation): New procedures. (guix-service-type): New variable. (guix-service): Replace list of keyword parameters with a single 'config' parameter. Rewrite using 'service'. (<udev-configuration>): New record type. (udev-dmd-service): New procedure. (udev-service-type): New variable. (udev-service): Use it. (device-mapping-service-type): New variable. (device-mapping-service): Use it. (swap-service-type): New variable. (swap-service): Use it. * gnu/services/databases.scm (<postgresql-configuration>): New record type. (%postgresql-accounts, postgresql-activation): New variables. (postgresql-dmd-service): New procedure. (postgresql-service): Rewrite using 'service' and 'postgresql-configuration'. * gnu/services/dbus.scm: New file. * gnu/services/desktop.scm (dbus-configuration-directory, dbus-service): Remove. (wrapped-dbus-service): New procedure. (<upower-configuration>): New record type. (upower-configuration-file): Replace keyword parameters with single <upower-configuration> parameter. (%upower-accounts, %upower-activation): New variables. (upower-dbus-service, upower-dmd-service): New procedures. (upower-service-type): New variable. (upower-service): Rewrite using 'service' and 'upower-configuration'. (%colord-activation, %colord-accounts): New variables. (colord-dmd-service): New procedure. (colord-service-type): New variable. (colord-service): Rewrite using 'service'. (<geoclue-configuration>): New record type. (geoclue-configuration-file): Replace keyword parameters with a single 'config' parameter. (geoclue-dbus-service, geoclue-dmd-service): New procedures. (%geoclue-accounts, geoclue-service-type): New variables. (geoclue-service): Rewrite using 'service' and 'geoclue-configuration'. (%polkit-accounts, %polkit-pam-services, polkit-service-type): New variables. (polkit-dmd-service): New procedure. (polkit-service): Rewrite using 'service'. (<elogind-configuration>)[elogind]: New field. (elogind-dmd-service): New procedure. (elogind-service-type): New variable. (elogind-service): Rewrite using 'service'. (%desktop-services): Remove argument to 'dbus-service'. Remove 'map' over %BASE-SERVICES. * gnu/services/dmd.scm (dmd-boot-gexp): New procedure. (dmd-root-service-type, %dmd-root-service): New variables. (dmd-service-type): New macro. (<dmd-service>): New record type. * gnu/services/lirc.scm (<lirc-configuration>): New record type. (%lirc-activation): New variable. (lirc-dmd-service): New procedure. (lirc-service-type): New variable. (lirc-service): Rewrite using 'service' and 'lirc-configuration'. * gnu/services/networking.scm (<static-networking>): New record type. (static-networking-service-type): New variable. (static-networking-service): Rewrite using 'service' and 'static-networking'. (dhcp-client-service-type): New variable. (dhcp-client-service): Rewrite using 'service'. (<ntp-configuration>): New record type. (ntp-dmd-service): New procedure. (ntp-service-type): New variable. (ntp-service): New procedure. (%tor-accounts, tor-service-type): New variable. (tor-dmd-service): New procedure. (tor-service): Rewrite using 'service'. (<bitlbee-configuration>): New record type. (bitlbee-dmd-service): New procedure. (%bitlbee-accounts, %bitlbee-activation, bitlbee-service-type): New variables. (bitlbee-service): Rewrite using 'service'. (%wicd-activation): New variable. (wicd-dmd-service): New procedure. (wicd-service-type): New variable. (wicd-service): Rewrite using 'service'. * gnu/services/ssh.scm (<lsh-configuration>): New record type. (activation): Rename to... (lsh-initialization): ... this. (lsh-activation, lsh-dmd-service, lsh-pam-services): New procedures. (lsh-service-type): New variable. (lsh-service): Rewrite using 'service' and 'lsh-configuration'. * gnu/services/web.scm (<nginx-configuration>): New record type. (%nginx-accounts): New variable. (nginx-activation, nginx-dmd-service): New procedures. (nginx-service-type): New variable. (nginx-service): Rewrite using 'service' and 'nginx-configuration'. * gnu/services/xorg.scm (<slim-configuration>): New record type. (slim-pam-service, slim-dmd-service): New procedures. (slim-service-type): New variable. (slim-service): Rewrite using 'service' and 'slim-configuration'. * gnu/system.scm (file-union): Remove. (other-file-system-services): Adjust to new 'file-system-service' signature. (essential-services): Add #:container? parameter. Add %DMD-ROOT-SERVICE, %ACTIVATION-SERVICE, and calls to 'pam-root-service', 'account-service', 'operating-system-etc-service', and a SETUID-PROGRAM-SERVICE instance. (operating-system-services): Pass #:container? to 'essential-services. (etc-directory): Remove. (operating-system-etc-service): New procedure. Rewrite as a call to 'etc-service'. (operating-system-accounts): Change to not return accounts required by services. (operating-system-etc-directory): Rewrite as a call to 'fold-services' and 'etc-directory'. (user-group->gexp, user-account->gexp, modprobe-wrapper): Remove. (operating-system-activation-script): Rewrite as a call to 'fold-services' and 'activation-service->script'. (operating-system-boot-script): Likewise. (operating-system-derivation): Add call to 'lower-object'. (emacs-site-file, emacs-site-directory, shells-file): Change to use 'computed-file' and 'scheme-file' instead of the monadic procedures. * gnu/system/install.scm (cow-store-service-type): New variable. (cow-store-service): Rewrite using 'service'. (/etc/configuration-files): New procedure. (configuration-template-service-type, %configuration-template-service): New variables. (configuration-template-service): Remove. (installation-services): Adjust accordingly. Adjust argument to 'guix-service'. * gnu/system/linux.scm (/etc-entry, pam-root-service): New procedures. (pam-root-service-type): New variable. * gnu/system/shadow.scm (user-group->gexp, user-account->gexp, account-activation, etc-skel, account-service): New procedures. (account-service-type): New variable. * tests/services.scm: New file. * doc/guix.texi (Base Services, Desktop Services): Adjust accordingly. (Defining Services): Rewrite. * doc/images/service-graph.dot: New file. * doc.am (DOT_FILES): Add it. * po/guix/POTFILES.in: Add gnu/services.scm.
2015-10-10system: Account skeleton API is non-monadic.Ludovic Courtès
* gnu/system/shadow.scm (default-skeletons): Use the non-monadic procedures and turn into a regular procedure. (skeleton-directory): Likewise. * gnu/system.scm (etc-directory): Adjust accordingly.