jackhill/guix/guix.git
7 years agognu: Add filteraudio.
Erik Edrosa [Fri, 9 Sep 2016 01:02:30 +0000 (21:02 -0400)]
gnu: Add filteraudio.

* gnu/packages/audio.scm (filteraudio): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
7 years agognu: glew: Update to 2.0.0.
ng0 [Thu, 8 Sep 2016 21:03:47 +0000 (21:03 +0000)]
gnu: glew: Update to 2.0.0.

* gnu/packages/gl.scm (glew): Update to 2.0.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agosystem: Use 'file-append' to denote file names.
Ludovic Courtès [Sat, 10 Sep 2016 10:03:47 +0000 (12:03 +0200)]
system: Use 'file-append' to denote file names.

* gnu/services/avahi.scm, gnu/services/base.scm,
gnu/services/databases.scm, gnu/services/dbus.scm,
gnu/services/desktop.scm, gnu/services/dict.scm,
gnu/services/mail.scm, gnu/services/networking.scm,
gnu/services/sddm.scm, gnu/services/spice.scm,
gnu/services/ssh.scm, gnu/services/web.scm,
gnu/services/xorg.scm, gnu/system.scm: Replace the
 #~(string-append #$pkg "/bin/foo") idiom with
 (file-append pkg "/bin/foo").

7 years agogexp: Store compilers in a hash table for O(1) lookup.
Ludovic Courtès [Sat, 10 Sep 2016 09:57:37 +0000 (11:57 +0200)]
gexp: Store compilers in a hash table for O(1) lookup.

* guix/gexp.scm (<gexp-compiler>)[predicate]: Remove.
[type]: New field.
(%gexp-compilers): Turn into a hash table.
(register-compiler!, lookup-compiler, lookup-expander): Adjust
accordingly.
(define-gexp-compiler): Replace 'predicate' by 'record-type'.
(derivation-compiler, local-file-compiler, plain-file-compiler)
(computed-file-compiler, program-file-compiler, scheme-file-compiler)
(file-append-compiler): Adjust accordingly.
* guix/packages.scm (package-compiler, origin-compiler): Likewise.

7 years agognu: pdf: Remove erroneous module import.
Leo Famulari [Sat, 10 Sep 2016 05:14:32 +0000 (01:14 -0400)]
gnu: pdf: Remove erroneous module import.

This is a followup to commit c41d97bed6ee1765e0845567444d4d2af1a4d373.

* gnu/packages/pdf.scm: Don't import (gnu packages javascript).

7 years agognu: letsencrypt: Superseded by certbot.
Leo Famulari [Sat, 10 Sep 2016 01:25:51 +0000 (21:25 -0400)]
gnu: letsencrypt: Superseded by certbot.

* gnu/packages/tls.scm (letsencrypt)[properties]: New field.

7 years agognu: Remove openjpeg-2.0.
Leo Famulari [Fri, 9 Sep 2016 20:24:12 +0000 (16:24 -0400)]
gnu: Remove openjpeg-2.0.

* gnu/packages/image.scm (openjpeg-2.0): Remove variable.

7 years agognu: mupdf: Update to 1.9a.
Leo Famulari [Fri, 9 Sep 2016 20:08:02 +0000 (16:08 -0400)]
gnu: mupdf: Update to 1.9a.

* gnu/packages/pdf.scm (mupdf): Update to 1.9a.
[source]: Use "mupdf-build-with-openjpeg-2.1.patch". Adjust snippet to
preserve bundled 'thirdparty/mujs'.
[inputs]: Add harfbuzz. Replace openjpeg-2.0 with openjpeg.
* gnu/packages/patches/mupdf-build-with-openjpeg-2.1.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

7 years agognu: openjpeg: Fix CVE-2016-5157.
Leo Famulari [Fri, 9 Sep 2016 05:59:35 +0000 (01:59 -0400)]
gnu: openjpeg: Fix CVE-2016-5157.

* gnu/packages/patches/openjpeg-CVE-2016-5157.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image.scm (openjpeg): Use it.

7 years agognu: openjpeg-2.*: Fix CVE-2016-7163.
Leo Famulari [Fri, 9 Sep 2016 05:48:50 +0000 (01:48 -0400)]
gnu: openjpeg-2.*: Fix CVE-2016-7163.

* gnu/packages/patches/openjpeg-CVE-2016-7163.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image.scm (openjpeg, openjpeg-2.0): Use it.

7 years agognu: openjpeg: Update to 2.1.1.
Leo Famulari [Fri, 9 Sep 2016 17:41:13 +0000 (13:41 -0400)]
gnu: openjpeg: Update to 2.1.1.

* gnu/packages/image.scm (openjpeg): Update to 2.1.1.
[source]: Use GitHub URL and add file-name field. Remove
"openjpeg-use-after-free-fix.patch" and "openjpeg-CVE-2015-6581.patch" from
patches.

7 years agognu: bamm: Update to 1.7.3.
Ben Woodcroft [Fri, 9 Sep 2016 23:23:00 +0000 (09:23 +1000)]
gnu: bamm: Update to 1.7.3.

* gnu/packages/bioinformatics.scm (bamm): Update to 1.7.3.

7 years agosystem: Build the initrd file name with 'file-append'.
Ludovic Courtès [Fri, 9 Sep 2016 21:38:24 +0000 (23:38 +0200)]
system: Build the initrd file name with 'file-append'.

* gnu/system.scm (operating-system-initrd-file)
(operating-system-grub.cfg): Use 'file-append' to construct the initrd
file name.

7 years agosystem: grub: Allow arbitrary kernel file names in 'menu-entry'.
Ludovic Courtès [Fri, 9 Sep 2016 21:27:00 +0000 (23:27 +0200)]
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.

7 years agogexp: Add 'file-append'.
Ludovic Courtès [Fri, 9 Sep 2016 20:46:36 +0000 (22:46 +0200)]
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'.

7 years agogexp: Compilers can now provide an "expander".
Ludovic Courtès [Fri, 9 Sep 2016 20:43:41 +0000 (22:43 +0200)]
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.

7 years agogexp: Remove outdated comment.
Ludovic Courtès [Fri, 9 Sep 2016 14:50:34 +0000 (16:50 +0200)]
gexp: Remove outdated comment.

* guix/gexp.scm (lower-references): Remove outdated "XXX" comment.

7 years agognu: geoclue: Update to 2.4.4.
Leo Famulari [Fri, 9 Sep 2016 21:14:34 +0000 (17:14 -0400)]
gnu: geoclue: Update to 2.4.4.

* gnu/packages/gnome.scm (geoclue): Update to 2.4.4.

7 years agognu: c-reduce: Upgrade to 2.5.0.
Eric Bavier [Mon, 29 Aug 2016 22:21:08 +0000 (17:21 -0500)]
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.

7 years agognu: llvm: Build shared libraries.
Eric Bavier [Mon, 29 Aug 2016 22:20:16 +0000 (17:20 -0500)]
gnu: llvm: Build shared libraries.

* gnu/packages/llvm.scm (llvm)[arguments]: Add -DBUILD_SHARED_LIBS to

7 years agognu: llvm: propagate zlib input.
Eric Bavier [Mon, 29 Aug 2016 22:19:24 +0000 (17:19 -0500)]
gnu: llvm: propagate zlib input.

* gnu/packages/llvm.scm (llvm)[inputs]: Move zlib from here...
[ppropagated]: ...to here.

7 years agognu: Fix wrong import of '(gnu packages zsh)'.
宋文武 [Fri, 9 Sep 2016 11:05:23 +0000 (19:05 +0800)]
gnu: Fix wrong import of '(gnu packages zsh)'.

* gnu/packages/crypot.scm: Change import of '(gnu packages zsh)'
to '(gnu packages shells)'.

7 years agognu: guile: Search for .go files in "/site-ccache", not "/ccache".
Ludovic Courtès [Fri, 9 Sep 2016 09:03:13 +0000 (11:03 +0200)]
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.

7 years agognu: ardour: Do not contact ardour.org on start.
Ricardo Wurmus [Fri, 9 Sep 2016 05:55:00 +0000 (07:55 +0200)]
gnu: ardour: Do not contact ardour.org on start.

* gnu/packages/audio.scm (ardour)[arguments]: Add configure flag
"--no-phone-home".

7 years agognu: Add Tomb.
Eric Bavier [Tue, 23 Aug 2016 05:35:43 +0000 (00:35 -0500)]
gnu: Add Tomb.

* gnu/packages/crypto.scm (tomb): New variable.

7 years agognu: Add Swish-e.
Eric Bavier [Wed, 18 May 2016 06:02:02 +0000 (01:02 -0500)]
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.

7 years agognu: Add steghide.
Eric Bavier [Wed, 18 May 2016 02:23:21 +0000 (21:23 -0500)]
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.

7 years agognu: Add mlocate.
Eric Bavier [Tue, 17 May 2016 23:38:22 +0000 (18:38 -0500)]
gnu: Add mlocate.

* gnu/packages/search.scm (mlocate): New variable.

7 years agognu: file-roller: Update to 3.20.3 [fixes CVE-2016-7162].
Leo Famulari [Fri, 9 Sep 2016 05:24:39 +0000 (01:24 -0400)]
gnu: file-roller: Update to 3.20.3 [fixes CVE-2016-7162].

* gnu/packages/gnome.scm (file-roller): Update to 3.20.3.

7 years agognu: ardour: Update to 5.3.
Ricardo Wurmus [Fri, 9 Sep 2016 05:20:31 +0000 (07:20 +0200)]
gnu: ardour: Update to 5.3.

* gnu/packages/audio.scm (ardour): Update to 5.3.

7 years agognu: Add libhdate.
Efraim Flashner [Thu, 8 Sep 2016 10:37:07 +0000 (13:37 +0300)]
gnu: Add libhdate.

* gnu/packages/calendar.scm (libhdate): New variable.

7 years agognu: kmscon: Enable elogind support.
Ludovic Courtès [Thu, 8 Sep 2016 22:17:22 +0000 (00:17 +0200)]
gnu: kmscon: Enable elogind support.

* gnu/packages/terminals.scm (kmscon)[source]: Add 'modules' and
'snippet'.

7 years agognu: kmscon: Build the man page.
Ludovic Courtès [Thu, 8 Sep 2016 22:07:03 +0000 (00:07 +0200)]
gnu: kmscon: Build the man page.

* gnu/packages/terminals.scm (kmscon)[native-inputs]: Add LIBXSLT,
LIBXML2, and DOCBOOK-XSL.

7 years agognu: kmscon: Clarify synopsis, description, and supported systems.
Ludovic Courtès [Thu, 8 Sep 2016 22:01:19 +0000 (00:01 +0200)]
gnu: kmscon: Clarify synopsis, description, and supported systems.

* gnu/packages/terminals.scm (kmscon)[synopsis, description]: Clarify.
[supported-systems]: New field.

7 years agognu: Add python-git-review.
Clément Lassieur [Thu, 8 Sep 2016 12:28:44 +0000 (14:28 +0200)]
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>
7 years agognu: Add surfraw.
ng0 [Tue, 6 Sep 2016 10:40:37 +0000 (10:40 +0000)]
gnu: Add surfraw.

* gnu/packages/web.scm (surfraw): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
7 years agognu: Add edit warning to generated grub.cfg files
John Darrington [Thu, 8 Sep 2016 12:56:14 +0000 (14:56 +0200)]
gnu: Add edit warning to generated grub.cfg files

* gnu/services/grub.scm (grub-configuration-file): Add code to emit warning.

7 years agoservices: ntpd: Use a dedicated directory for drift file.
John Darrington [Mon, 5 Sep 2016 11:53:39 +0000 (13:53 +0200)]
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.

7 years agognu: curl: Update replacement to 7.50.2 [fixes CVE-2016-7141].
Leo Famulari [Wed, 7 Sep 2016 21:45:46 +0000 (17:45 -0400)]
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.

7 years agognu: openal: Update to 1.17.2.
Erik Edrosa [Thu, 8 Sep 2016 01:00:00 +0000 (21:00 -0400)]
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>
7 years agognu: lightweight-desktop.tmpl: Fix typo.
Efraim Flashner [Wed, 7 Sep 2016 18:02:28 +0000 (21:02 +0300)]
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.

7 years agognu: graphicsmagick: Update to 1.3.25 [fixes CVE-2016-2317].
Leo Famulari [Wed, 7 Sep 2016 21:26:28 +0000 (17:26 -0400)]
gnu: graphicsmagick: Update to 1.3.25 [fixes CVE-2016-2317].

* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.25.

7 years agognu: imagemagick: Update to 6.9.5-9.
Leo Famulari [Wed, 7 Sep 2016 21:26:00 +0000 (17:26 -0400)]
gnu: imagemagick: Update to 6.9.5-9.

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.5-9.

7 years agodoc: Update package count.
Ludovic Courtès [Wed, 7 Sep 2016 20:55:43 +0000 (22:55 +0200)]
doc: Update package count.

* doc/guix.texi (Limitations): Update package count.

7 years agognu: man-db: Patch path to iconv.
Ricardo Wurmus [Wed, 7 Sep 2016 08:44:24 +0000 (10:44 +0200)]
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>.

7 years agognu: man-db: Use modify-phases syntax.
Ricardo Wurmus [Wed, 7 Sep 2016 08:25:42 +0000 (10:25 +0200)]
gnu: man-db: Use modify-phases syntax.

* gnu/packages/man.scm (man-db)[arguments]: Use modify-phases syntax.

7 years agognu: Add rpc-daemon service
John Darrington [Sat, 3 Sep 2016 06:26:05 +0000 (08:26 +0200)]
gnu: Add rpc-daemon service

* gnu/services/nfs.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

7 years agognu: Add 'package-for-guile-2.2' procedure and use it.
Ludovic Courtès [Wed, 7 Sep 2016 16:39:44 +0000 (18:39 +0200)]
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.

7 years agognu: guile-commonmark: Remove hard-coded "/2.0" in installation directories.
Ludovic Courtès [Wed, 7 Sep 2016 16:33:33 +0000 (18:33 +0200)]
gnu: guile-commonmark: Remove hard-coded "/2.0" in installation directories.

* gnu/packages/guile.scm (guile-commonmark)[source]: Add 'snippet' and
'modules'.

7 years agognu: guile-json: Remove hard-coded Guile effective version.
Ludovic Courtès [Wed, 7 Sep 2016 16:27:11 +0000 (18:27 +0200)]
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'.

7 years agognu: guile-minikanren: Remove hard-coded Guile effective version.
Ludovic Courtès [Wed, 7 Sep 2016 16:16:49 +0000 (18:16 +0200)]
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.

7 years agognu: guile-irregex: Remove hard-coded Guile effective version.
Ludovic Courtès [Wed, 7 Sep 2016 16:11:30 +0000 (18:11 +0200)]
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.

7 years agognu: Enable tcp-wrappers for nrircd.
John Darrington [Wed, 7 Sep 2016 16:37:38 +0000 (18:37 +0200)]
gnu: Enable tcp-wrappers for nrircd.

* gnu/packages/messaging.scm (ngircd) [inputs]: Add tcp-wrappers.

7 years agognu: Add tcp-wrappers.
John Darrington [Wed, 7 Sep 2016 16:36:56 +0000 (18:36 +0200)]
gnu: Add tcp-wrappers.

* gnu/packages/networking.scm (tcp-wrappers): New variable.

7 years agobash completion: Complete subcommands and their options.
Ludovic Courtès [Wed, 7 Sep 2016 15:33:48 +0000 (17:33 +0200)]
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".

7 years agobash completion: Redirect 'guix' stderr to /dev/null.
Ludovic Courtès [Wed, 7 Sep 2016 14:22:25 +0000 (16:22 +0200)]
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'.

7 years agoAdd Zsh completion file.
Eric Le Bihan [Wed, 7 Sep 2016 05:57:38 +0000 (07:57 +0200)]
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>
7 years agognu: Add mpop.
Arun Isaac [Tue, 6 Sep 2016 05:34:54 +0000 (11:04 +0530)]
gnu: Add mpop.

* gnu/packages/mail.scm (mpop): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agoguix hash: Add --exclude-vcs option.
Jan Nieuwenhuizen [Tue, 6 Sep 2016 06:28:33 +0000 (08:28 +0200)]
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>
7 years agoservices: syslog: Use a PID file.
Ludovic Courtès [Wed, 7 Sep 2016 09:25:00 +0000 (11:25 +0200)]
services: syslog: Use a PID file.

* gnu/services/base.scm (syslog-service-type)[start]: Remove --no-detach
and use #:pid-file.

7 years agognu: inetutils: Use /var as the localstatedir.
Ludovic Courtès [Wed, 7 Sep 2016 09:02:57 +0000 (11:02 +0200)]
gnu: inetutils: Use /var as the localstatedir.

* gnu/packages/admin.scm (inetutils)[arguments]: Add #:configure-flags.

7 years agognu: rottlog: Adjust the default 'weekly' config.
Ludovic Courtès [Wed, 7 Sep 2016 08:55:47 +0000 (10:55 +0200)]
gnu: rottlog: Adjust the default 'weekly' config.

* gnu/packages/admin.scm (rottlog)[arguments]: Add 'tweak-rc-weekly'
phase.

7 years agognu: rottlog: Read configuration files from /etc/rottlog.
Ludovic Courtès [Wed, 7 Sep 2016 08:51:56 +0000 (10:51 +0200)]
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.

7 years agognu: rottlog: Set default value for 'packdir'.
Jan Nieuwenhuizen [Wed, 7 Sep 2016 08:34:48 +0000 (10:34 +0200)]
gnu: rottlog: Set default value for 'packdir'.

* gnu/packages/admin.scm (rottlog)[arguments]: Add 'set-packdir' phase.

7 years agognu: rottlog: Use 'modify-phases'.
Ludovic Courtès [Wed, 7 Sep 2016 08:28:05 +0000 (10:28 +0200)]
gnu: rottlog: Use 'modify-phases'.

* gnu/packages/admin.scm (rottlog)[arguments]: Use 'modify-phases'.

7 years agognu: Add perl-curses.
ng0 [Sat, 23 Jul 2016 13:03:22 +0000 (13:03 +0000)]
gnu: Add perl-curses.

* gnu/packages/ncurses.scm (perl-curses): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
7 years agognu: webkitgtk: Update to 2.12.5.
Mark H Weaver [Wed, 7 Sep 2016 04:57:44 +0000 (00:57 -0400)]
gnu: webkitgtk: Update to 2.12.5.

* gnu/packages/webkit.scm (webkitgtk): Update to 2.12.5.

7 years agoupdated: gnu: add asn1c
Hartmut Goebel [Thu, 1 Sep 2016 15:16:12 +0000 (17:16 +0200)]
updated: gnu: add asn1c

* gnu/packages/tls.scm (asn1c): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: paredit: Rename to 'emacs-paredit'.
Ludovic Courtès [Tue, 6 Sep 2016 21:19:45 +0000 (23:19 +0200)]
gnu: paredit: Rename to 'emacs-paredit'.

* gnu/packages/emacs.scm (paredit)[name]: Change to "emacs-paredit".
(paredit/old-name): New variable.

7 years agopackages: Add 'package-superseded' and associated support.
Ludovic Courtès [Tue, 6 Sep 2016 21:14:07 +0000 (23:14 +0200)]
packages: Add 'package-superseded' and associated support.

This provides a way to mark a package as superseded by another one.
Upgrades replace superseded packages with their replacement.

* guix/packages.scm (package-superseded, deprecated-package): New
procedures.
* gnu/packages.scm (%find-package): Check for 'package-superseded'.
* guix/scripts/package.scm (transaction-upgrade-entry)[supersede]: New
procedure.  Call it when 'package-superseded' is true.
* tests/guix-build.sh: Add test for a superseded package.
* tests/packages.scm ("package-superseded")
("transaction-upgrade-entry, superseded package"): New tests.

7 years agoprofiles: Export <manifest-pattern> accessors.
Ludovic Courtès [Tue, 6 Sep 2016 21:05:26 +0000 (23:05 +0200)]
profiles: Export <manifest-pattern> accessors.

* guix/profiles.scm (manifest-pattern-name, manifest-pattern-version)
(manifest-pattern-output): Export.

7 years agoguix package: Build up the transaction incrementally.
Ludovic Courtès [Tue, 6 Sep 2016 20:28:12 +0000 (22:28 +0200)]
guix package: Build up the transaction incrementally.

* guix/scripts/package.scm (upgraded-manifest-entry): Rename to...
(transaction-upgrade-entry): ... this.  Add 'transaction' parameter and
return a transaction.
(options->installable): Likewise.
[to-upgrade]: Rename to...
[upgraded]: ... this, and change to be a transaction.  Return a
transaction.
(options->removable): Likewise.
(process-actions): Adjust accordingly.
* tests/packages.scm ("transaction-upgrade-entry, zero upgrades")
("transaction-upgrade-entry, one upgrade"): New tests.

7 years agoprofiles: Add manifest-transaction helper procedures.
Ludovic Courtès [Tue, 6 Sep 2016 18:19:21 +0000 (20:19 +0200)]
profiles: Add manifest-transaction helper procedures.

* guix/profiles.scm (manifest-transaction-install-entry)
(manifest-transaction-remove-pattern)
(manifest-transaction-null?): New procedures.
* tests/profiles.scm ("manifest-transaction-null?"): New test.

7 years agoguix package: Clarify upgrade code.
Ludovic Courtès [Tue, 6 Sep 2016 17:27:27 +0000 (19:27 +0200)]
guix package: Clarify upgrade code.

* guix/scripts/package.scm (upgradeable?): Rename to...
(upgraded-manifest-entry): ... this.  Change to take a <manifest-entry>
and to return a <manifest-entry>.
(options->installable)[to-upgrade]: Adjust accordingly.

7 years agognu: Add eschalot.
ng0 [Fri, 26 Aug 2016 15:41:33 +0000 (15:41 +0000)]
gnu: Add eschalot.

* gnu/packages/crypto.scm (eschalot): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add gzstream.
Marius Bakke [Fri, 12 Aug 2016 01:29:51 +0000 (02:29 +0100)]
gnu: Add gzstream.

* gnu/packages/compression.scm (gzstream): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
7 years agognu: go: Update to 1.7.
Petter [Wed, 17 Aug 2016 15:27:04 +0000 (10:27 -0500)]
gnu: go: Update to 1.7.

* gnu/packages/golang.scm (go-1.6): Update to 1.7, with corresponding
  minor changes to prebuild phase, and rename variable to...
  (go-1.7): ...this new variable.
  (go): Inherit from new "go-1.7".

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
7 years agognu: lua-5.1: install pkg-config file.
Danny Milosavljevic [Tue, 16 Aug 2016 18:05:12 +0000 (20:05 +0200)]
gnu: lua-5.1: install pkg-config file.

* gnu/packages/patches/lua51-pkgconfig.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/lua.scm (lua-5.1)[source]: Add it.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
7 years agognu: Add tintin++.
ng0 [Mon, 8 Aug 2016 19:54:50 +0000 (19:54 +0000)]
gnu: Add tintin++.

* gnu/packages/games.scm (tintin++): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
7 years agognu: slock: Fix CVE-2016-6866.
Leo Famulari [Tue, 6 Sep 2016 18:02:20 +0000 (14:02 -0400)]
gnu: slock: Fix CVE-2016-6866.

* gnu/packages/patches/slock-CVE-2016-6866.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/suckless.scm (slock): Use it.

7 years agoactivation: Don't fail if /var/lib exists.
Leo Famulari [Tue, 6 Sep 2016 18:39:35 +0000 (14:39 -0400)]
activation: Don't fail if /var/lib exists.

This is a followup to commit 6526d43ea4fb0cd151a0d5e9a072c651c1c963d1.

* gnu/build/activation.scm (activate-user+groups): Use mkdir-p to create
/var/lib.

7 years agognu: scribus: Update to 1.5.2.
Hartmut Goebel [Tue, 6 Sep 2016 15:09:07 +0000 (17:09 +0200)]
gnu: scribus: Update to 1.5.2.

* gnu/packages/scribus.scm (scribus): Update to 1.5.2.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
7 years agognu: Add openssl-next.
Leo Famulari [Fri, 2 Sep 2016 20:07:29 +0000 (16:07 -0400)]
gnu: Add openssl-next.

* gnu/packages/tls.scm (openssl-next): New variable.
* gnu/packages/patches/openssl-1.1.0-c-rehash-in.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

7 years agognu: Add teximpatient.
John Darrington [Sun, 4 Sep 2016 22:26:26 +0000 (00:26 +0200)]
gnu: Add teximpatient.

* gnu/packages/tex.scm (teximpatient): New variable.

7 years agognu: Add ding.
John Darrington [Sat, 3 Sep 2016 20:21:04 +0000 (22:21 +0200)]
gnu: Add ding.

* gnu/packages/dictionaries.scm (ding): New variable.

7 years agognu: Add weston.
David Craven [Wed, 20 Jul 2016 11:16:49 +0000 (13:16 +0200)]
gnu: Add weston.

* gnu/packages/freedesktop.scm (weston): New variable.

7 years agognu: Add xorg-server-xwayland.
David Craven [Sun, 4 Sep 2016 13:28:55 +0000 (15:28 +0200)]
gnu: Add xorg-server-xwayland.

* gnu/packages/xorg.scm (xorg-server-xwayland): New variable.

7 years agognu: Add cairo-xcb.
David Craven [Sun, 4 Sep 2016 13:20:24 +0000 (15:20 +0200)]
gnu: Add cairo-xcb.

* gnu/packages/gtk.scm (cairo-xcb): New variable.

7 years agoservices: Add sddm service.
David Craven [Wed, 20 Jul 2016 11:17:48 +0000 (13:17 +0200)]
services: Add sddm service.

* gnu/services/sddm.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (@deftp, @deffn): Add documentation.

7 years agognu: Add sddm.
David Craven [Sun, 28 Aug 2016 15:09:16 +0000 (17:09 +0200)]
gnu: Add sddm.

* gnu/packages/display-managers.scm (sddm): New variable.

7 years agognu: Add greenisland.
David Craven [Sun, 28 Aug 2016 15:07:57 +0000 (17:07 +0200)]
gnu: Add greenisland.

* gnu/packages/display-managers.scm (greenisland): New variable.

7 years agognu: Add prefix to license imports in (gnu packages display-managers).
David Craven [Sun, 28 Aug 2016 14:26:28 +0000 (16:26 +0200)]
gnu: Add prefix to license imports in (gnu packages display-managers).

* gnu/packages/display-managers.scm: Import (guix licenses) with prefix
  "license:".

7 years agoservices: syslog: Use syslog-configuration.
David Craven [Sat, 27 Aug 2016 13:38:55 +0000 (15:38 +0200)]
services: syslog: Use syslog-configuration.

* gnu/services/base.scm (<syslog-configuration>): New variable.
  (syslog-service-type): Use <syslog-configuration>.
  (syslog-service): Use <syslog-configuration>.
* gnu/tests/base.scm (%avahi-os): Use <syslog-configuration>.
* doc/guix.texi (syslog-configuration-type): Add @deftp.
  (syslog-service): Update @deffn.

7 years agoservices: Export initrc.
David Craven [Sat, 27 Aug 2016 13:45:15 +0000 (15:45 +0200)]
services: Export initrc.

* gnu/services/xorg.scm (define-module): Export initrc.

7 years agoactivation: Allow home directories to be created under /var/lib.
David Craven [Fri, 26 Aug 2016 19:45:57 +0000 (21:45 +0200)]
activation: Allow home directories to be created under /var/lib.

* gnu/build/activation.scm (activate-user+groups): Make sure /var/lib
  exists.

7 years agosystem: vm: Remove -net user flag.
David Craven [Fri, 26 Aug 2016 19:48:36 +0000 (21:48 +0200)]
system: vm: Remove -net user flag.

* gnu/system/vm.scm (common-qemu-options): Remove -net user flag.

7 years agognu: btrfs-progs: Update to 4.7.2.
Tobias Geerinckx-Rice [Mon, 5 Sep 2016 13:28:07 +0000 (15:28 +0200)]
gnu: btrfs-progs: Update to 4.7.2.

* gnu/packages/linux.scm (btrfs-progs): Update to 4.7.2.

7 years agognu: Fix pre-2.7.0 qemu builds.
Efraim Flashner [Tue, 6 Sep 2016 12:53:57 +0000 (15:53 +0300)]
gnu: Fix pre-2.7.0 qemu builds.

This is a follow-up to 43bec6d0.

* gnu/packages/debug.scm (qemu-2.3.0),
gnu/packages/grub.scm (qemu-for-tests)[arguments]: Remove the
'disable-test-qga phase.

7 years agognu: gst-plugins-bad: Remove unreferenced qt input.
Efraim Flashner [Tue, 6 Sep 2016 10:06:10 +0000 (13:06 +0300)]
gnu: gst-plugins-bad: Remove unreferenced qt input.

* gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Remove qtbase.

7 years agognu: gst-plugins-ugly: Add mpg123 support.
Efraim Flashner [Tue, 6 Sep 2016 06:49:38 +0000 (09:49 +0300)]
gnu: gst-plugins-ugly: Add mpg123 support.

* gnu/packages/gstreamer.scm (gst-plugins-ugly)[inputs]: Add mpg123.