Commit Graph

10556 Commits

Author SHA1 Message Date
Ludovic Courtès 400ed6acdd gnu: eudev: Add variant that depends on libblkid.
This fixes a bug whereby /dev/disk/by-{label,id} would be missing on
GuixSD (/dev/disk/by-id would still contain device-mapped partitions
though.)

Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/linux.scm (eudev-with-blkid): New variable.
* gnu/services/base.scm (udev-service): #:udev defaults to
EUDEV-WITH-BLKID.
* gnu/system.scm (%base-packages): Replace EUDEV with EUDEV-WITH-BLKID.
2016-02-02 21:16:59 +01:00
Federico Beffa 81fc64da7e gnu: aspell: Wrap binary to find dictionaries.
* gnu/packages/aspell.scm (aspell): Add 'wrap-aspell' phase.
* gnu/system.scm (operating-system-etc-service): Remove 'ASPELL_CONF'
definition.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-02-02 21:16:59 +01:00
Leo Famulari 8c44dabc5a gnu: vdirsyncer: Update to 0.8.1.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.8.1.
[native-inputs]: Add python-hypothesis, python-pytest-subtesthack.
2016-02-02 14:49:26 -05:00
Leo Famulari 7517e73c75 gnu: Add python-pytest-subtesthack.
* gnu/packages/python.scm (python-pytest-subtesthack,
python2-pytest-subtesthack): New variables.
2016-02-02 14:49:26 -05:00
Leo Famulari aaa49e8c21 licenses: Add the Unlicense.
* guix/licenses.scm (unlicense): New variable.
2016-02-02 14:49:26 -05:00
Leo Famulari 6a44697d01 gnu: Add python-hypothesis.
* gnu/packages/python.scm (python-hypothesis, python2-hypothesis): New
variables.
2016-02-02 14:49:26 -05:00
David Thompson f861b8b8e0 gnu: Add awscli.
* gnu/packages/python.scm (awscli): New variable.
2016-02-02 09:24:17 -05:00
David Thompson 935fcd5cf6 gnu: Add python-botocore.
* gnu/packages/python.scm (python-botocore): New variable.
2016-02-02 09:23:00 -05:00
David Thompson ba9da248a6 gnu: Add python-jmespath.
* gnu/packages/python.scm (python-jmespath): New variable.
2016-02-02 09:23:00 -05:00
David Thompson a4af21ca6d gnu: Add python-tox.
* gnu/packages/python.scm (python-tox): New variable.
2016-02-02 09:23:00 -05:00
David Thompson c0aacfa5b9 gnu: Add python-pluggy.
* gnu/packages/python.scm (python-pluggy): New variable.
2016-02-02 09:23:00 -05:00
David Thompson f5bcec6e7d gnu: Add python-rsa.
* gnu/packages/python.scm (python-rsa, python2-rsa): New variables.
2016-02-02 09:23:00 -05:00
David Thompson 2b2f2fc179 gnu: Add python-colorama.
* gnu/packages/python.scm (python-colorama, python2-colorama): New
  variables.
2016-02-02 09:23:00 -05:00
Ben J. Woodcroft ce294c0445 gnu: Update sortmerna to 2.1.
* gnu/packages/bioinformatics.scm (sortmerna): Update to 2.1.
2016-02-02 22:42:38 +10:00
Leo Famulari 0889321b5e gnu: ntp: Update to 4.2.8p6.
Fixes CVE-2015-{7973, 7974, 7975, 7976, 7977, 7978, 7979, 8138, 8158}.

* gnu/packages/ntp.scm (ntp): Update to 4.2.8p6.
2016-02-02 03:14:41 -05:00
Mark H Weaver adddd5ba3b gnu: Add linux-libre-4.1.
* gnu/packages/linux-libre-4.1-i686.conf,
  gnu/packages/linux-libre-4.1-x86_64.conf: New files.
* Makefile.am (KCONFIGS): Add them.
* gnu/packages/linux.scm (linux-libre-4.1): New variable.
2016-02-02 03:12:29 -05:00
Mark H Weaver 17db07061f gnu: linux-libre: Generalize 'kernel-config' to support variants.
* gnu/packages/linux.scm (kernel-config): Rewrite to support optional
  #:variant keyword argument.
2016-02-02 03:12:29 -05:00
Mark H Weaver 5e764e2b6f gnu: linux-libre: Update to 4.4.1.
* gnu/packages/patches/linux-libre-CVE-2016-0728.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (linux-libre): Update to 4.4.1.
  [source]: Remove patch.
2016-02-01 23:47:35 -05:00
Leo Famulari 4efc8eb275 gnu: Update socat to 1.7.3.1.
* gnu/packages/networking.scm (socat): Update to 1.7.3.1.
2016-02-01 19:00:39 -05:00
Leo Famulari 2c5e497672 gnu: keepassx: Update to 2.0.1.
* gnu/packages/password-utils.scm (keepassx): Update to 2.0.1.
2016-02-01 18:26:41 -05:00
Eric Bavier 6009df6391 gnu: ccache: Update to 3.2.4.
* gnu/packages/ccache.scm (ccache): Update to 3.2.4.
2016-02-01 15:01:20 -06:00
Alex Kost 70fd33ea75 emacs: command: Disambiguate "w" key in build options.
This is a followup to commit 47c0f92c37.

* emacs/guix-command.el (guix-command-improve-common-build-argument):
  Use "W" key for '--with-input' option (leave "w" for '--with-source').
2016-02-01 21:23:38 +03:00
Ludovic Courtès 47c0f92c37 guix build: Add '--with-input'.
* guix/scripts/build.scm (transform-package-inputs): New procedure.
(%transformations): Add it.
(%transformation-options, show-transformation-options-help): Add
--with-input.
* tests/scripts-build.scm ("options->transformation, with-input"):
("options->transformation, with-input, no matches"): New tests.
* tests/guix-build.sh: Add tests.
* doc/guix.texi (Package Transformation Options): Document it.
2016-02-01 08:59:13 +01:00
Ludovic Courtès f0907d97d4 build-system/python: Use 'ensure-keyword-arguments'.
* guix/build-system/python.scm (package-with-explicit-python): Use
'ensure-keyword-arguments'.
2016-02-01 08:59:13 +01:00
Ludovic Courtès a4db2dd99f build: Remove semicolons from Guile warnings.
* build-aux/compile-all.scm (compile-file*):
Clear *CURRENT-WARNING-PREFIX*.
2016-02-01 08:59:13 +01:00
Ludovic Courtès 689b658db8 build: Really enable Guile warnings.
* build-aux/compile-all.scm (compile-options): Rename to...
(warnings): ... this.  Add 'unsupported-warning'.
(compile-file*): Pass '(#:warnings ...) as #:opts.
2016-02-01 08:59:13 +01:00
Ludovic Courtès b8638f0347 guix package: Support package transformation options.
* guix/scripts/package.scm (show-help): Call
'show-transformation-options-help'.
(%options): Append %TRANSFORMATION-OPTIONS.
(process-actions)[transform, transform-entry]: New procedures.
* doc/guix.texi (Invoking guix package): Mention package
transformations.
(Package Transformation Options): Mention 'guix package'.
2016-02-01 08:59:13 +01:00
Ludovic Courtès 88ad6deda6 guix build: Separate transformation options.
* guix/scripts/build.scm (%transformation-options): New variable.
(show-transformation-options-help): New procedure.
(show-help): Remove '--with-source' documentation and add
'show-transformation-options-help' call.
(%options): Remove "with-source" and append %TRANSFORMATION-OPTIONS.
* doc/guix.texi (Package Transformation Options): New node.  Document
'--with-source', moved from...
(Additional Build Options): ... here.
2016-02-01 08:59:13 +01:00
Ludovic Courtès ccd7158d2a doc: Add subsections to 'Invoking guix build'.
* doc/guix.texi (Invoking guix build): Add example.  Shuffle options in
the new subsections below.
(Common Build Options, Additional Build Options): New nodes.
(Invoking guix archive): Refer to "Common Build Options".
(Invoking guix environment): Likewise.
(Invoking guix system): Likewise.

fixlet
2016-02-01 08:59:13 +01:00
Ludovic Courtès 629a064f32 guix build: Transformations operate on single objects.
* guix/scripts/build.scm (transform-package-source): Return a procedure
that expects a single object rather than a list of packages.
(options->transformation): Rewrite to precompute the list of applicable
transformations and to return a procedure that expects a single object
rather than a list of objects.
(options->derivations): Adjust accordingly.
* tests/scripts-build.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
2016-02-01 08:59:13 +01:00
Ludovic Courtès efdcb6f29c install: Make it clear that we refer to the root by label.
* gnu/system/install.scm (installation-os): Use (title 'label) for the
root file system.
2016-02-01 08:59:13 +01:00
Ludovic Courtès ff853a2a06 build: Use the right section and source for man pages.
* doc.am (HELP2MANFLAGS): New variable.
(gen_man): Use it.
2016-02-01 08:59:13 +01:00
Eric Bavier e3f755f44c gnu: Add pinball.
* gnu/packages/games.scm (pinball): New variable.
* gnu/packages/patches/pinball-const-fix.patch,
  gnu/packages/patches/pinball-cstddef.patch,
  gnu/packages/patches/pinball-missing-separators.patch,
  gnu/packages/patches/pinball-src-deps.patch,
  gnu/packages/patches/pinball-system-ltdl.patch: New patches.
* gnu-system.am (dist_patch_DATA): Add them.
2016-01-31 23:46:30 -06:00
Efraim Flashner 917708c276 gnu: python-apsw: Update to 3.9.2-r1.
* gnu/packages/python.scm (python-apsw): Update to 3.9.2-r1.
[source]: Change to pypi uri syntax.
2016-02-01 06:18:58 +02:00
Efraim Flashner 55ba649dfb gnu: wayland: Build documentation.
* gnu/packages/freedesktop.scm (wayland)[native-inputs]: Add graphviz.
2016-02-01 06:18:58 +02:00
Efraim Flashner f1d9231d9a gnu: python-pillow: Update to 3.1.0.
* gnu/packages/python.scm (python-pillow): Update to 3.1.0.
[source]: Change to pypi uri syntax.
2016-02-01 06:18:58 +02:00
David Thompson 2a068aecbf gnu: Add aseprite.
* gnu/packages/game-development.scm (aseprite): New variable.
2016-01-31 15:44:20 -05:00
David Thompson 154f6156c0 gnu: Add allegro-4.
* gnu/packages/game-development.scm (allegro-4): New variable.
2016-01-31 15:44:19 -05:00
David Thompson 921d9dc7f4 license: Add giftware.
* guix/licenses.scm (giftware): New variable.
2016-01-31 15:34:58 -05:00
David Thompson d1a0bba029 gnu: obs: Update to 0.13.0.
* gnu/packages/video.scm (obs): Upgrade to 0.13.0.
2016-01-31 15:32:18 -05:00
Efraim Flashner e5a2edeba0 gnu: perl-tk: Update to 804.033.
* gnu/packages/tcl.scm (perl-tk): Update to 804.033.
[source]: Remove patch.
* gnu/packages/patches/perl-tk-x11-discover.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove patch.
2016-01-31 14:36:08 +02:00
宋文武 39eefcee97 gnu: weechat: Update to 1.4.
* gnu/packages/weechat.scm (weechat): Update to 1.4.
2016-01-31 17:12:46 +08:00
Efraim Flashner 692bb77da9 gnu: pumpa: Update to 0.9.2.
* gnu/packages/pumpio.scm (pumpa): Update to 0.9.2.
[source]: Add 'file-name' field.
2016-01-30 22:39:05 +02:00
Eric Bavier 3662909752 build: Generate man pages after compiling Guile objects.
This reduces compilation time since scripts are not compiled twice.
When building with 'make -j4' from a clean repository on an Intel
i5-2540M, compilation time gets from:

real	4m48.708s
user	17m29.892s
sys	0m9.596s

down to:

real	2m23.399s
user	6m48.604s
sys	0m6.420s

* doc.am (subcommand-manual-target): Delete function.
(SUBCOMMANDS): Delete variable.
(sub_command_mans, gen_man): New variables.
(dist_man1_MANS): Add $(sub_commands_mans).
(doc/guix-%.1): New target for sub-commands man pages.  It ensures that
man pages are built only after compiling Guile objects.
(doc/guix-daemon.1): Use $(gen_man).  Build only if BUILD_DAEMON.
(doc/guix.1): Use $(gen_man).  Add $(sub_command_mans) prerequisite.

Co-authored-by: Mathieu Lirzin <mthl@gnu.org>
2016-01-29 23:45:34 +01:00
Alex Kost 171a0a13a4 Rename 'dmd' to 'shepherd' in comments and strings.
* build-aux/hydra/demo-os.scm (operating-system)[issue]: Point to
  shepherd instead of dmd.
* ROADMAP: Likewise.
* gnu/build/install.scm (directives): Adjust comment.
2016-01-29 20:21:54 +03:00
Alex Kost 710fa231f0 guix system: Rename 'dmd-graph' to 'shepherd-graph'.
* doc/images/dmd-graph.dot: Rename to...
* doc/images/shepherd-graph.dot: ... this.
* doc.am (DOT_FILES): Adjust accordingly.
* guix/scripts/system.scm (dmd-service-node-label)
  (dmd-service-node-type, export-dmd-graph): Rename to...
  (shepherd-service-node-label, shepherd-service-node-type)
  (export-shepherd-graph): ... this.
  (show-help, process-action, process-command): Rename 'dmd-graph' to
  'shepherd-graph'.
* emacs/guix-command.el (guix-command-additional-execute-arguments)
  (guix-command-special-executors): Likewise.
* doc/guix.texi: Likewise.
* doc/emacs.texi (Emacs Popup Interface): Likewise.
2016-01-29 20:21:54 +03:00
Alex Kost d4053c710b services: Rename 'dmd' services to 'shepherd'.
* gnu/services/shepherd.scm (dmd-root-service-type, %dmd-root-service)
  (dmd-service-type, <dmd-service>, dmd-service, dmd-service?)
  (make-dmd-service, dmd-service-documentation, dmd-service-provision)
  (dmd-service-requirement, dmd-service-respawn, dmd-service-start)
  (dmd-service-stop, dmd-service-auto-start?, dmd-service-modules)
  (dmd-service-imported-modules, dmd-service-file-name, dmd-service-file)
  (dmd-service-back-edges): Rename to...
  (shepherd-root-service-type, %shepherd-root-service, shepherd-service-type)
  (<shepherd-service>, shepherd-service, shepherd-service?)
  (make-shepherd-service, shepherd-service-documentation)
  (shepherd-service-provision, shepherd-service-requirement)
  (shepherd-service-respawn, shepherd-service-start)
  (shepherd-service-stop, shepherd-service-auto-start?)
  (shepherd-service-modules, shepherd-service-imported-modules)
  (shepherd-service-file-name, shepherd-service-file)
  (shepherd-service-back-edges): ...this
* gnu/services.scm: Adjust comments.
* gnu/services/avahi.scm (avahi-dmd-service): Rename to...
  (avahi-shepherd-service): ... this.
* gnu/services/base.scm (%root-file-system-dmd-service)
  (file-system->dmd-service-name, mapped-device->dmd-service-name)
  (dependency->dmd-service-name, file-system-dmd-service)
  (mingetty-dmd-service, nscd-dmd-service, guix-dmd-service)
  (guix-publish-dmd-service, udev-dmd-service, gpm-dmd-service): Rename to...
  (%root-file-system-shepherd-service)
  (file-system->shepherd-service-name, mapped-device->shepherd-service-name)
  (dependency->shepherd-service-name, file-system-shepherd-service)
  (mingetty-shepherd-service, nscd-shepherd-service, guix-shepherd-service)
  (guix-publish-shepherd-service, udev-shepherd-service)
  (gpm-shepherd-service): ... this.
* gnu/services/databases.scm (postgresql-dmd-service): Rename to...
  (postgresql-shepherd-service): ... this.
* gnu/services/desktop.scm (upower-dmd-service, elogind-dmd-service):
  Rename to...
  (upower-shepherd-service, elogind-shepherd-service): ... this.
* gnu/services/dbus.scm (dbus-dmd-service): Rename to...
  (dbus-shepherd-service): ... this.
* gnu/services/lirc.scm (lirc-dmd-service): Rename to...
  (lirc-shepherd-service): ... this.
* gnu/services/mail.scm (dovecot-dmd-service): Rename to...
  (dovecot-shepherd-service): ... this.
* gnu/services/networking.scm (ntp-dmd-service, tor-dmd-service)
  (bitlbee-dmd-service, wicd-dmd-service, network-manager-dmd-service): Rename to...
  (dbus-shepherd-service): ... this.
* gnu/services/ssh.scm (lsh-dmd-service): Rename to...
  (lsh-shepherd-service): ... this.
* gnu/services/web.scm (nginx-dmd-service): Rename to...
  (nginx-shepherd-service): ... this.
* gnu/services/xorg.scm (slim-dmd-service): Rename to...
  (slim-shepherd-service): ... this.
* gnu/system.scm (essential-services): Use '%shepherd-root-service'.
* gnu/system/install.scm (cow-store-service-type): Adjust accordingly.
* guix/scripts/system.scm (dmd-service-node-label, dmd-service-node-type)
  (export-dmd-graph): Likewise.
* tests/guix-system.sh: Likewise.
* tests/services.scm ("dmd-service-back-edges"): Rename to...
  ("shepherd-service-back-edges"): Adjust accordingly.
* doc/guix.texi: Likewise.
* doc/images/service-graph.dot: Use 'shepherd' service name.
2016-01-29 20:21:53 +03:00
Alex Kost 26b94866ad services: xorg: Use 'shepherd' instead of 'dmd'.
* gnu/services/xorg.scm (slim-configuration-dmd): Rename to...
  (slim-configuration-shepherd): ... this.
  (slim-shepherd-service): Adjust accordingly.
  (slim-service): Take 'shepherd' keyword argument.
2016-01-29 20:21:53 +03:00
Alex Kost fe1ad5f5db services: shepherd: Rename shepherd configuration file.
* gnu/services/shepherd.scm (dmd-configuration-file): Rename to...
  (shepherd-configuration-file): ... this.  Use "shepherd.conf" name.
  (dmd-boot-gexp): Use it.
2016-01-29 20:21:53 +03:00
Alex Kost 0190c1c02f Rename (gnu services dmd) to (gnu services shepherd).
* gnu/services/dmd.scm: Rename to...
* gnu/services/shepherd.scm: ... this.
* gnu/system.scm: Use it.
* gnu/system/install.scm: Likewise.
* gnu/services/xorg.scm: Likewise.
* gnu/services/web.scm: Likewise.
* gnu/services/ssh.scm: Likewise.
* gnu/services/networking.scm: Likewise.
* gnu/services/mail.scm: Likewise.
* gnu/services/lirc.scm: Likewise.
* gnu/services/desktop.scm: Likewise.
* gnu/services/dbus.scm: Likewise.
* gnu/services/databases.scm: Likewise.
* gnu/services/base.scm: Likewise.
* gnu/services/avahi.scm: Likewise.
* guix/scripts/system.scm: Likewise.
* tests/services.scm: Likewise.
* tests/guix-system.sh: Likewise.
* doc/guix.texi (Shepherd Services): Adjust accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Likewise.
* po/guix/POTFILES.in: Likewise.
2016-01-29 20:21:53 +03:00