Commit Graph

14466 Commits

Author SHA1 Message Date
Ludovic Courtès 44d5f54e31
system: grub: Allow arbitrary kernel file names in 'menu-entry'.
Fixes <http://bugs.gnu.org/20067>.
Reported by Tomáš Čech <sleep_walker@suse.cz>.

* gnu/system.scm (system-linux-image-file-name)
(operating-system-kernel-file): New procedures.
(operating-system-grub.cfg): Use 'operating-system-kernel-file' for the
'kernel' field of 'menu-entry'.
(operating-system-parameters-file): Likewise for the 'kernel' entry.
(read-boot-parameters): Adjust 'kernel' field so that it contains the
absolute file name of the image.
* gnu/system/grub.scm (grub-configuration-file)[linux-image-name]:
Remove.
[entry->gexp]: Assume LINUX is the absolute file name of the kernel
image.
* doc/guix.texi (GRUB Configuration): Add an example, and adjust
'kernel' field documentation accordingly.
2016-09-09 23:54:43 +02:00
Ludovic Courtès a9e5e92f94
gexp: Add 'file-append'.
* guix/gexp.scm (<file-append>): New record type.
(file-append): New procedure.
(file-append-compiler): New gexp compiler.
* tests/gexp.scm ("file-append", "file-append, output")
("file-append, nested", "gexp->file + file-append"): New tests.
* doc/guix.texi (G-Expressions): Use it in 'nscd' and 'list-files'
examples.  Document 'file-append'.
2016-09-09 23:54:43 +02:00
Ludovic Courtès ebdfd776f4
gexp: Compilers can now provide an "expander".
* guix/gexp.scm (<gexp-compiler>)[expand]: New field.
(default-expander, lookup-expander): New procedures.
(define-gexp-compiler): Add second pattern to allow for the definition
of both a compiler and an expander.
(gexp->sexp)[reference->sexp]: Call 'lookup-expander' and use its
result.
2016-09-09 23:54:43 +02:00
Ludovic Courtès b5fed903c4
gexp: Remove outdated comment.
* guix/gexp.scm (lower-references): Remove outdated "XXX" comment.
2016-09-09 23:54:43 +02:00
Leo Famulari c2783e2b94
gnu: geoclue: Update to 2.4.4.
* gnu/packages/gnome.scm (geoclue): Update to 2.4.4.
2016-09-09 17:16:33 -04:00
Eric Bavier 28f45dd7d7
gnu: c-reduce: Upgrade to 2.5.0.
* gnu/packages/debug.scm (c-reduce): Upgrade to 2.5.0.
[inputs]: Remove delta and perl-benchmark-timer.  Add perl-term-readkey.
[arguments]: Adjust wrapper libraries.
2016-09-09 07:36:40 -05:00
Eric Bavier ab78618f07
gnu: llvm: Build shared libraries.
* gnu/packages/llvm.scm (llvm)[arguments]: Add -DBUILD_SHARED_LIBS to
2016-09-09 07:36:40 -05:00
Eric Bavier 44e8559d39
gnu: llvm: propagate zlib input.
* gnu/packages/llvm.scm (llvm)[inputs]: Move zlib from here...
[ppropagated]: ...to here.
2016-09-09 07:36:40 -05:00
宋文武 19b2ea1b60
gnu: Fix wrong import of '(gnu packages zsh)'.
* gnu/packages/crypot.scm: Change import of '(gnu packages zsh)'
to '(gnu packages shells)'.
2016-09-09 19:09:38 +08:00
Ludovic Courtès 31769b9f95
gnu: guile: Search for .go files in "/site-ccache", not "/ccache".
* gnu/packages/guile.scm (guile-next)[search-paths]: Change "2.2/ccache"
to "2.2/site-ccache".
(guile-for-guile-emacs)[search-paths]: Likewise.
2016-09-09 11:04:44 +02:00
Ricardo Wurmus b5fc72ff57
gnu: ardour: Do not contact ardour.org on start.
* gnu/packages/audio.scm (ardour)[arguments]: Add configure flag
"--no-phone-home".
2016-09-09 07:59:12 +02:00
Eric Bavier 2e3f185118
gnu: Add Tomb.
* gnu/packages/crypto.scm (tomb): New variable.
2016-09-09 00:46:11 -05:00
Eric Bavier a2319d2c8f
gnu: Add Swish-e.
* gnu/packages/search.scm (swish-e): New variable.
* gnu/packages/patches/swish-e-search.patch,
gnu/packages/patches/swish-e-format-security.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Add them.
2016-09-09 00:45:14 -05:00
Eric Bavier 1fa3e33604
gnu: Add steghide.
* gnu/packages/image.scm (steghide): New variable.
* gnu/packages/patches/steghide-fixes.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-09-09 00:45:14 -05:00
Eric Bavier b9b3440b1f
gnu: Add mlocate.
* gnu/packages/search.scm (mlocate): New variable.
2016-09-09 00:45:14 -05:00
Leo Famulari e0479f5223
gnu: file-roller: Update to 3.20.3 [fixes CVE-2016-7162].
* gnu/packages/gnome.scm (file-roller): Update to 3.20.3.
2016-09-09 01:32:52 -04:00
Ricardo Wurmus 96262573a3
gnu: ardour: Update to 5.3.
* gnu/packages/audio.scm (ardour): Update to 5.3.
2016-09-09 07:25:29 +02:00
Efraim Flashner 585b72c6f0
gnu: Add libhdate.
* gnu/packages/calendar.scm (libhdate): New variable.
2016-09-09 08:23:51 +03:00
Ludovic Courtès 5acf00f990
gnu: kmscon: Enable elogind support.
* gnu/packages/terminals.scm (kmscon)[source]: Add 'modules' and
'snippet'.
2016-09-09 00:18:09 +02:00
Ludovic Courtès 7326944b5c
gnu: kmscon: Build the man page.
* gnu/packages/terminals.scm (kmscon)[native-inputs]: Add LIBXSLT,
LIBXML2, and DOCBOOK-XSL.
2016-09-09 00:18:09 +02:00
Ludovic Courtès 78325fa808
gnu: kmscon: Clarify synopsis, description, and supported systems.
* gnu/packages/terminals.scm (kmscon)[synopsis, description]: Clarify.
[supported-systems]: New field.
2016-09-09 00:18:09 +02:00
Clément Lassieur d443199308
gnu: Add python-git-review.
* gnu/packages/openstack.scm (python-git-review)
(python2-git-review): New variables.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-09-08 20:28:16 +03:00
ng0 e56e5b129c
gnu: Add surfraw.
* gnu/packages/web.scm (surfraw): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-09-08 19:34:20 +03:00
John Darrington fdf14c64f1
gnu: Add edit warning to generated grub.cfg files
* gnu/services/grub.scm (grub-configuration-file): Add code to emit warning.
2016-09-08 18:08:29 +02:00
John Darrington 1c6c0ad067
services: ntpd: Use a dedicated directory for drift file.
Fixes <https://bugs.gnu.org/24366>.  Drift file now resides in a
dedicated directory owned by the daemon.

* gnu/services/networking.scm (ntp-service-activation): New procedure,
(ntp-service-type): Add new service-extension.
2016-09-08 18:08:22 +02:00
Leo Famulari 7fb461d2fe
gnu: curl: Update replacement to 7.50.2 [fixes CVE-2016-7141].
* gnu/packages/curl.scm (curl)[replacement]: Update to 7.50.2
(curl-7.50.1): Replace with ...
(curl-7.50.2): ... this.
2016-09-08 11:44:31 -04:00
Erik Edrosa a232d2c6a8
gnu: openal: Update to 1.17.2.
* gnu/packages/audio.scm (openal): Update to 1.17.2.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-09-08 11:57:32 +03:00
Efraim Flashner 9e258dc249
gnu: lightweight-desktop.tmpl: Fix typo.
* gnu/system/examples/lightweight-desktop.tmpl: While it is currently
unknown if Bob has a brother, it is sufficiently documented that Alice
is, in fact, Bob's sister.
2016-09-08 08:07:49 +03:00
Leo Famulari c0bc4b8c7d
gnu: graphicsmagick: Update to 1.3.25 [fixes CVE-2016-2317].
* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.25.
2016-09-07 17:53:50 -04:00
Leo Famulari 23c43e55ac
gnu: imagemagick: Update to 6.9.5-9.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.5-9.
2016-09-07 17:53:50 -04:00
Ludovic Courtès 29e53b95f7
doc: Update package count.
* doc/guix.texi (Limitations): Update package count.
2016-09-07 23:46:01 +02:00
Ricardo Wurmus ea55a39530
gnu: man-db: Patch path to iconv.
* gnu/packages/man.scm (man-db)[arguments]: Add phase
  "patch-iconv-path".

Fixes <http://bugs.gnu.org/24373>.
2016-09-07 20:54:14 +02:00
Ricardo Wurmus e79b3c37e3
gnu: man-db: Use modify-phases syntax.
* gnu/packages/man.scm (man-db)[arguments]: Use modify-phases syntax.
2016-09-07 20:54:01 +02:00
John Darrington d6a07ee675
gnu: Add rpc-daemon service
* gnu/services/nfs.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2016-09-07 20:26:11 +02:00
Ludovic Courtès 947a5d47a5
gnu: Add 'package-for-guile-2.2' procedure and use it.
* gnu/packages/guile.scm (guile-2.2-package-name)
(package-for-guile-2.2): New procedures.
* gnu/packages/guile.scm (guile2.2-json, guile2.2-minikanren)
(guile2.2-irregex, guile2.2-commonmark): New variables.
2016-09-07 18:42:46 +02:00
Ludovic Courtès 757ce0f99d
gnu: guile-commonmark: Remove hard-coded "/2.0" in installation directories.
* gnu/packages/guile.scm (guile-commonmark)[source]: Add 'snippet' and
'modules'.
2016-09-07 18:42:46 +02:00
Ludovic Courtès ffc72ec6df
gnu: guile-json: Remove hard-coded Guile effective version.
* gnu/packages/guile.scm (guile-json)[snippet]: Modify 'ac_subst_vars'
in 'configure', and use "@GUILE_EFFECTIVE_VERSION@" instead of "2.0" in
'Makefile.in'.
2016-09-07 18:42:46 +02:00
Ludovic Courtès 4b74a29d8f
gnu: guile-minikanren: Remove hard-coded Guile effective version.
* gnu/packages/guile.scm (guile-minikanren)[arguments]: Remove (ice-9
match) from #:modules.  Use 'open-pipe*' to determine the effective
version of Guile, and use that to compute MODULE-DIR.
2016-09-07 18:42:46 +02:00
Ludovic Courtès fe447664d8
gnu: guile-irregex: Remove hard-coded Guile effective version.
* gnu/packages/guile.scm (guile-irregex)[arguments]: Add (ice-9 popen)
and (ice-9 rdelim).  Remove nested 'use-modules' form.  Call
'open-pipe*' to determine Guile's effective version, and use it to
compute MODULE-DIR.
2016-09-07 18:42:46 +02:00
John Darrington 8f3afba44f
gnu: Enable tcp-wrappers for nrircd.
* gnu/packages/messaging.scm (ngircd) [inputs]: Add tcp-wrappers.
2016-09-07 18:41:43 +02:00
John Darrington c4947d0e1b
gnu: Add tcp-wrappers.
* gnu/packages/networking.scm (tcp-wrappers): New variable.
2016-09-07 18:41:36 +02:00
Ludovic Courtès f07f7d8614
bash completion: Complete subcommands and their options.
* etc/completion/bash/guix (_guix_complete_subcommand): New function.
(_guix_complete_option): Allow completion of subcommand options.
(_guix_complete): Use '_guix_complete_subcommand' for "system" and
"import".
2016-09-07 17:33:48 +02:00
Ludovic Courtès e9006d06a0
bash completion: Redirect 'guix' stderr to /dev/null.
This avoids spurious messages when pressing TAB.

* etc/completion/bash/guix (_guix_complete_available_package)
(_guix_complete_installed_package, _guix_complete_option)
(_guix_complete): Redirect stderr to /dev/null when running 'guix'.
2016-09-07 16:22:25 +02:00
Eric Le Bihan 96dbc93089
Add Zsh completion file.
* etc/completion/zsh/_guix: New file.
* Makefile.am (dist_zshcompletion_DATA): New variable.
* configure.ac: Add --with-zsh-completion-dir.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-09-07 16:08:20 +02:00
Arun Isaac e0d7b421f6
gnu: Add mpop.
* gnu/packages/mail.scm (mpop): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-09-07 15:37:19 +02:00
Jan Nieuwenhuizen 392a4e1223
guix hash: Add --exclude-vcs option.
* guix/scripts/hash.scm (show-help): Add help text for --exclude-vcs option.
(%options): Add --exclude-vcs option.
(guix-hash): Handle exclude-vcs option.
* doc/guix.texi ("Invoking guix hash"): Update doc.
* tests/guix-hash.sh: Add test.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-09-07 12:00:35 +02:00
Ludovic Courtès afa54a38b7
services: syslog: Use a PID file.
* gnu/services/base.scm (syslog-service-type)[start]: Remove --no-detach
and use #:pid-file.
2016-09-07 11:49:48 +02:00
Ludovic Courtès e4a01b7d4d
gnu: inetutils: Use /var as the localstatedir.
* gnu/packages/admin.scm (inetutils)[arguments]: Add #:configure-flags.
2016-09-07 11:49:48 +02:00
Ludovic Courtès 309e523e8f
gnu: rottlog: Adjust the default 'weekly' config.
* gnu/packages/admin.scm (rottlog)[arguments]: Add 'tweak-rc-weekly'
phase.
2016-09-07 11:49:48 +02:00
Ludovic Courtès 268ad34e0e
gnu: rottlog: Read configuration files from /etc/rottlog.
* gnu/packages/admin.scm (rottlog)[arguments]: Set
ROTT_ETCDIR=/etc/rottlog in #:configure-flags and add #:make-flags.
2016-09-07 11:49:47 +02:00