Commit Graph

14581 Commits

Author SHA1 Message Date
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
Jan Nieuwenhuizen 11e7463482
gnu: rottlog: Set default value for 'packdir'.
* gnu/packages/admin.scm (rottlog)[arguments]: Add 'set-packdir' phase.
2016-09-07 11:49:47 +02:00
Ludovic Courtès 8dc0ecae6c
gnu: rottlog: Use 'modify-phases'.
* gnu/packages/admin.scm (rottlog)[arguments]: Use 'modify-phases'.
2016-09-07 11:49:47 +02:00
ng0 b393a44cd0
gnu: Add perl-curses.
* gnu/packages/ncurses.scm (perl-curses): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-09-07 09:06:10 +03:00
Mark H Weaver abc114bdd9
gnu: webkitgtk: Update to 2.12.5.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.12.5.
2016-09-07 01:15:09 -04:00
Hartmut Goebel 375cef6c6d
updated: gnu: add asn1c
* gnu/packages/tls.scm (asn1c): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-09-06 17:40:12 -04:00
Ludovic Courtès 967cfd18f6
gnu: paredit: Rename to 'emacs-paredit'.
* gnu/packages/emacs.scm (paredit)[name]: Change to "emacs-paredit".
(paredit/old-name): New variable.
2016-09-06 23:22:11 +02:00
Ludovic Courtès 01afdab89c
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.
2016-09-06 23:22:10 +02:00
Ludovic Courtès 03763d6473
profiles: Export <manifest-pattern> accessors.
* guix/profiles.scm (manifest-pattern-name, manifest-pattern-version)
(manifest-pattern-output): Export.
2016-09-06 23:22:10 +02:00
Ludovic Courtès 5239f3d908
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.
2016-09-06 23:22:10 +02:00
Ludovic Courtès c8c25704ae
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.
2016-09-06 23:22:10 +02:00
Ludovic Courtès dd72173455
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.
2016-09-06 23:22:10 +02:00
ng0 6fabb196e3
gnu: Add eschalot.
* gnu/packages/crypto.scm (eschalot): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-09-06 17:20:51 -04:00
Marius Bakke 618089f951
gnu: Add gzstream.
* gnu/packages/compression.scm (gzstream): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-09-06 22:26:03 +03:00
Petter a61696216c
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>
2016-09-06 22:09:09 +03:00
Danny Milosavljevic a287fafef2
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>
2016-09-06 22:02:17 +03:00
ng0 751c70404b
gnu: Add tintin++.
* gnu/packages/games.scm (tintin++): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-09-06 21:56:07 +03:00
Leo Famulari 3ed3c105e3
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.
2016-09-06 14:52:15 -04:00
Leo Famulari a7199b7d99
activation: Don't fail if /var/lib exists.
This is a followup to commit 6526d43ea4.

* gnu/build/activation.scm (activate-user+groups): Use mkdir-p to create
/var/lib.
2016-09-06 14:41:48 -04:00
Hartmut Goebel 7247ecda0e
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>
2016-09-06 21:34:59 +03:00
Leo Famulari 763899f0db
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.
2016-09-06 13:47:32 -04:00
John Darrington 83457fe00e
gnu: Add teximpatient.
* gnu/packages/tex.scm (teximpatient): New variable.
2016-09-06 18:36:29 +02:00
John Darrington 274563e1f4
gnu: Add ding.
* gnu/packages/dictionaries.scm (ding): New variable.
2016-09-06 18:36:22 +02:00
David Craven 24e051cb5f
gnu: Add weston.
* gnu/packages/freedesktop.scm (weston): New variable.
2016-09-06 17:48:59 +02:00
David Craven dfe05a514c
gnu: Add xorg-server-xwayland.
* gnu/packages/xorg.scm (xorg-server-xwayland): New variable.
2016-09-06 17:48:59 +02:00
David Craven 40b3f52399
gnu: Add cairo-xcb.
* gnu/packages/gtk.scm (cairo-xcb): New variable.
2016-09-06 17:48:59 +02:00
David Craven 935644c01a
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.
2016-09-06 17:48:59 +02:00
David Craven 15791fa535
gnu: Add sddm.
* gnu/packages/display-managers.scm (sddm): New variable.
2016-09-06 17:48:59 +02:00
David Craven 901385ca02
gnu: Add greenisland.
* gnu/packages/display-managers.scm (greenisland): New variable.
2016-09-06 17:48:59 +02:00
David Craven 99c53e226e
gnu: Add prefix to license imports in (gnu packages display-managers).
* gnu/packages/display-managers.scm: Import (guix licenses) with prefix
  "license:".
2016-09-06 17:48:59 +02:00
David Craven ec2e2f6ce2
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.
2016-09-06 17:48:59 +02:00
David Craven f2901d824a
services: Export initrc.
* gnu/services/xorg.scm (define-module): Export initrc.
2016-09-06 17:48:59 +02:00
David Craven 6526d43ea4
activation: Allow home directories to be created under /var/lib.
* gnu/build/activation.scm (activate-user+groups): Make sure /var/lib
  exists.
2016-09-06 17:48:59 +02:00
David Craven f2e7be4e29
system: vm: Remove -net user flag.
* gnu/system/vm.scm (common-qemu-options): Remove -net user flag.
2016-09-06 17:48:59 +02:00
Tobias Geerinckx-Rice 5e814f63a4
gnu: btrfs-progs: Update to 4.7.2.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.7.2.
2016-09-06 16:46:21 +02:00
Efraim Flashner 83723949a4
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.
2016-09-06 15:53:57 +03:00