Commit Graph

31419 Commits

Author SHA1 Message Date
Tomáš Čech 15ed90b960
gnu: Add python-onetimepass.
* gnu/packages/python.scm (python-onetimepass): New variable.
2018-04-21 08:33:34 +02:00
Mark H Weaver b5178b3254
gnu: perl: Hack the replacement perl to think it is version 5.26.1.
Fixes <https://bugs.gnu.org/31216>.

This is a followup to commits 217b8c2e06,
44b98b0002, and
35fbe194c3da264859a5addc661b9fbc2dc8ecc7.

Complications arise when grafting perl unless the version of the replacement
perl matches that of the original.  So, here we add 'perl/fixed', which is
built from the perl-5.26.2 source but hacked to believe it is version 5.26.1.

* gnu/packages/perl.scm (perl)[replacement]: Use perl/fixed, not perl-5.26.2.
(perl-5.26.2): Remove compatibility symlinks.
(perl/fixed): New variable.
2018-04-21 01:17:44 -04:00
Mark H Weaver 5618193694
gnu: perl: Add more compatibility symlinks to the replacement perl.
Fixes <https://bugs.gnu.org/31216>.
Reported by Julien Lepiller <julien@lepiller.eu>.

* gnu/packages/perl.scm (perl-5.26.2)[arguments]: Rename the
'workaround-grafting-version-bug' phase to 'install-compatibility-symlinks'.
Install symlinks in $out/lib/perl5/site_perl/5.26.1 and $out/bin/perl5.26.1,
in addition to $out/lib/perl5/5.26.1.  Simplify the code a bit.
2018-04-20 23:29:14 -04:00
Arun Isaac b02b6f32a5
gnu: texlive-bin: Patch texlua shebangs.
* gnu/packages/tex.scm (texlive-bin)[arguments]: Patch texlua shebangs in
postint phase.
2018-04-21 00:19:33 +05:30
Arun Isaac a9fda571c3
gnu: texlive-bin: Use ghostscript executable "gs" in ps2eps.
* gnu/packages/tex.scm (texlive-bin)[arguments]: Add fix-unix-detection phase.
Replace system* with invoke in postint phase.
2018-04-21 00:19:15 +05:30
Nicolas Goaziou 1af4212ae4
gnu: emacs-org, emacs-org-contrib: Update version.
* gnu/packages/emacs.scm (emacs-org): Update to 9.1.10.
(emacs-org-contrib): Update to 20180416.
2018-04-20 12:31:28 +02:00
Maxim Cournoyer 582c122e7b
gnu: emacs-sx: Fix byte compilation.
The package would fail building when attempting to create a cache
directory. This has been fixed upstream but not in a tagged release.

* gnu/packages/emacs.scm (emacs-sx): Update to latest git version.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-20 15:38:32 +05:30
Maxim Cournoyer 9835a71d80
gnu: emacs-esxml: Fix byte compilation.
* gnu/packages/emacs.scm (emacs-esxml)[arguments]: Add fix-sources phase.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-20 14:49:26 +05:30
Maxim Cournoyer 62950ec7e9
gnu: Add emacs-kv.
* gnu/packages/emacs.scm (emacs-kv): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-20 14:49:20 +05:30
Tomáš Čech 9324d92e6a
gnu: lvm2: Enable pkg-config files generation.
* gnu/packages/linux.scm (lvm2)[arguments]: Enable pkg-config files generation
via configure flag.
2018-04-20 10:38:50 +02:00
Tomáš Čech e60352e453
gnu: Add go-golang-org-x-crypto-ssh-terminal.
* gnu/packages/golang.scm (go-golang-org-x-crypto-ssh-terminal): New variable.
2018-04-20 10:38:31 +02:00
Arun Isaac 5368e67c4e
gnu: emacs-realgud: Update to 1.4.5.
* gnu/packages/emacs.scm (emacs-realgud): Update to 1.4.5.
2018-04-20 13:42:58 +05:30
Maxim Cournoyer aea388cf36
gnu: emacs-realgud: Fix autogen.sh after EMACSLOADPATH is set.
* gnu/packages/emacs.scm (emacs-realgud)[arguments]: Move the
fix-autogen-script phase to after the set-emacs-load-path phase.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-20 13:30:39 +05:30
Mark H Weaver 872bda5de5
gnu: linux-libre: Update to 4.16.3.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.16.3.
(%linux-libre-hash): Update hash.
2018-04-19 18:55:23 -04:00
Mark H Weaver 58f427de8a
gnu: linux-libre@4.14: Update to 4.14.35.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.35.
(%linux-libre-4.14-hash): Update hash.
2018-04-19 18:54:25 -04:00
Maxim Cournoyer 652741cf28
gnu: emacs-deferred: Enable tests.
* gnu/packages/emacs.scm (emacs-deferred)[arguments]: Add fix-makefile
phase. Set #:test-command, and enable tests.
[native-inputs]: Add emacs-ert-expectations, emacs-undercover and ert-runner.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-20 02:09:10 +05:30
Arun Isaac 1848cdfb7d
gnu: emacs-memoize: Update to 1.1.
* gnu/packages/emacs.scm (emacs-memoize): Update to 1.1. Re-indent.
[source]: Switch to release tarball.
[arguments]: Remove "-l" "memoize.el" from #:test-command.
2018-04-20 01:09:46 +05:30
Julien Lepiller bf5c74e713
gnu: doc: Add French documentation.
* doc/contributing.fr.texi: New file.
* doc/guix.fr.texi: New file.
* doc/local.mk (TRANSLATED_INFO): Add them.
(info_TEXINFOS): Add guix.fr.texi.
* po/doc/contributing.fr.po: New file.
* po/doc/guix.fr.po: New file.
* po/doc/local.mk (EXTRA_DIST): Add them.
2018-04-19 21:32:07 +02:00
Julien Lepiller 76fa5e042b
gnu: guix: Add po4a input.
* gnu/packages/package-management.scm (guix)[inputs]: Add po4a.
2018-04-19 21:30:49 +02:00
Julien Lepiller b9fe8fd662
gnu: doc: Allow documentation to be translated.
* po/doc/contributing.pot: New file.
* po/doc/guix.pot: New file.
* po/doc/local.mk: New file.
* Makefile.am: Include it. Add gettext command. Add silent rules for po4a.
* configure.ac: Look for po4a-translate and po4a-updatepo.
* doc/local.mk: Add rules to generate translated texi files.
(TRANSLATED_INFO): New variable.
(BUILT_SOURCES, EXTRA_DIST, MAINTAINERCLEANFILES): Add it.
* .gitignore: Add generated files.
2018-04-19 21:30:30 +02:00
Maxim Cournoyer 9490c411f0
gnu: ert-runner: Adjust ert-runner wrapper to honor EMACSLOADPATH.
* gnu/packages/emacs.scm (ert-runner): Use 'prefix instead of '= for setting
the EMACSLOADPATH environment variable. Reuse the already computed
EMACSLOADPATH for wrap-program. Specify the dependencies directly in the
inputs field.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-20 00:49:53 +05:30
Maxim Cournoyer d1d41db6bb
gnu: Adapt Emacs packages to use the new check phase.
* gnu/packages/emacs.scm (emacs-dash, emacs-s, emacs-string-inflection,
emacs-company, emacs-clojure-mode, emacs-julia-mode, emacs-elfeed,
emacs-memoize, emacs-use-package, emacs-xmlgen, emacs-json-reformat,
emacs-which-key, emacs-ws-butler, emacs-git-messenger, emacs-browse-at-remote,
emacs-evil-quickscope)[arguments]: Add #:tests? and #:test-command arguments
to use the new check phase.
(emacs-json-reformat)[inputs]: Move emacs-dash and emacs-shut-up to ...
[native-inputs]: here. Add ert-runner.
(emacs-company)[arguments]: Refactor fix-bin-dir phase.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-20 00:49:53 +05:30
Maxim Cournoyer facc0a96a1
build-system: emacs: Add improved check phase.
* guix/build-system/emacs.scm (emacs-build): Add #:test-command keyword
argument. Remove #:configure-flags and #:test-target keyword arguments.
* guix/build/emacs-build-system.scm (check): New procedure.
(%standard-phases): Register check phase after the build phase.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-20 00:49:53 +05:30
Maxim Cournoyer 8a8fa82e72
build-system: emacs: Replace system* with invoke.
* guix/build/emacs-utils.scm: Use (guix build utils) for invoke.
(emacs-batch-eval, emacs-batch-edit-file): Replace system* with invoke.
* guix/build/emacs-build-system.scm (make-autoloads): No need to return #t
explicitly since emacs-generate-autoloads now uses invoke.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-20 00:49:53 +05:30
Maxim Cournoyer 259ed58fef
gnu: emacs-pdf-tools: Fix byte compilation.
* gnu/packages/emacs.scm (emacs-pdf-tools)[arguments]: Add
emacs-set-emacs-load-path phase.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-20 00:49:53 +05:30
Maxim Cournoyer b5904fcc34
build-system: emacs: Search all inputs for Emacs Lisp directories.
* guix/build/emacs-build-system.scm (set-emacs-load-path): Include Emacs Lisp
directories from all inputs. Also, add the unpacked source directory to
EMACSLOADPATH.
(emacs-inputs, emacs-inputs-directories, emacs-input->el-directory,
emacs-inputs-el-directories): Remove.
(%standard-phases): Move set-emacs-load-path phase to after unpack phase.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-20 00:49:47 +05:30
Efraim Flashner 2bb915e679
gnu: u-boot-odroid-c2: Remove variable.
U-boot for this target requires a binary blob to boot correctly.

* gnu/packages/bootloaders.scm (u-boot-odroid-c2): Remove variable.
2018-04-19 21:42:12 +03:00
Roel Janssen 5cefb13ddd
guix-daemon: Disable garbage collection for remote connections.
* nix/nix-daemon/nix-daemon.cc (isRemoteConnection): New variable.
  (performOp): For wopCollectGarbage, throw an error when isRemoteConnection
  is set.
  (acceptConnection): Set isRemoteConnection when connection is not AF_UNIX.
* tests/guix-daemon.sh: Add a test for the new behavior.
2018-04-19 19:06:26 +02:00
Marius Bakke 7c16af4646
gnu: python-bcrypt: Move to (gnu packages python-crypto).
* gnu/packages/password-utils.scm (python-bcrypt, python2-bcrypt): Move to ...
* gnu/packages/python-crypto.scm (python-bcrypt, python2-bcrypt): ... here.
* gnu/packages/python.scm: Remove unused (gnu packages password-utils) import.
2018-04-19 18:03:04 +02:00
Leo Famulari 44b98b0002
gnu: Perl: Fix a grafting failure due to a path that includes the package version.
Fixes <https://bugs.gnu.org/31210>.

* gnu/packages/perl.scm (perl-5.26.2): Don't use package/inherit.
[arguments]: Add a 'workaround-grafting-version-bug' phase.
2018-04-19 10:37:17 -04:00
Roel Janssen d28e5ad23c
gnu: guile-curl: Use invoke.
* gnu/packages/curl.scm (guile-curl): Use invoke instead of system*.
2018-04-19 14:26:35 +02:00
Pierre Neidhardt b164233851
gnu: Add fortune-mod.
* gnu/packages/games.scm (fortune-mod): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-19 11:53:58 +02:00
Pierre Neidhardt 9a3fb60ca3
gnu: Add perl-test-runvalgrind
* gnu/packages/perl-check.scm (perl-test-runvalgrind): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-19 11:48:45 +02:00
Pierre Neidhardt e118a013c8
gnu: Add perl-io-all.
* gnu/packages/perl.scm (perl-io-all): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-19 11:48:35 +02:00
Pierre Neidhardt 7234fbcb25
gnu: Add perl-file-readbackwards.
* gnu/packages/perl.scm (perl-file-readbackwards): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-19 11:47:44 +02:00
Diego Nicola Barbato 0818c01aef
gnu: libfive: Add snippet, enable tests and remove obsolete phase.
* gnu/packages/engineering.scm (libfive)[source]: Add snippet to
remove bundled catch.
[arguments]: Remove #:tests?.  Add #:test-target.  Remove phase
'add-eigen-to-search-path'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-19 11:24:37 +02:00
Rouby Pierre-Antoine 541dac8aee
gnu: Add spindle.
* gnu/packages/admin.scm (spindle): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-19 11:10:06 +02:00
Rouby Pierre-Antoine 3ebf2c2947
gnu: Add launchmon.
* gnu/packages/admin.scm (launchmon): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-19 11:10:02 +02:00
Ludovic Courtès 67a51b6755
gnu: mcron: Update to 1.1.1.
Fixes <https://bugs.gnu.org/31113>.
Reported by George myglc2 Clemmer <myglc2@gmail.com>.

* gnu/packages/guile.scm (mcron): Update to 1.1.1.
[arguments]: Change timezone in 'set-timezone' phase.  Remove
'disable-schedule-test' and 'wrap-programs' phases.  Add 'adjust-tests'
phase.
* gnu/tests/base.scm (%mcron-os): Change JOB1 to use the 'next-seconds'
form.
2018-04-19 00:14:50 +02:00
Ludovic Courtès 4f04e271e3
nls: Update 'fr' translation. 2018-04-19 00:14:49 +02:00
Ludovic Courtès c88abbf2fd
nls: Update 'es' translation. 2018-04-19 00:14:49 +02:00
Clément Lassieur 28ca6b35d9
gnu: Add emacs-lispyville.
* gnu/packages/emacs.scm (emacs-lispyville): New variable.
2018-04-19 00:13:04 +02:00
Clément Lassieur e8360eb8ea
gnu: emacs-lispy: Change source to recent Git commit.
* gnu/packages/emacs.scm (emacs-lispy): Wrap with let, and change source to
the Git repository.
[propagated-inputs]: Add emacs-zoutline.
2018-04-19 00:13:04 +02:00
Clément Lassieur 30cf707088
gnu: Add emacs-zoutline.
* gnu/packages/emacs.scm (emacs-zoutline): New variable.
2018-04-19 00:11:40 +02:00
Leo Famulari 16a8cb9b43
gnu: blender: Update to 2.79b.
* gnu/packages/graphics.scm (blender): Update to 2.79b.
2018-04-18 17:41:35 -04:00
Leo Famulari 4a146957e7
gnu: mpg123: Update to 1.25.10.
* gnu/packages/mp3.scm (mpg123): Update to 1.25.10.
2018-04-18 17:14:13 -04:00
Roel Janssen 5e3010a2ac
gnu: Add guile-curl.
* gnu/packages/curl.scm (guile-curl): New variable.
2018-04-18 23:00:41 +02:00
Leo Famulari cf10095c17
gnu: mutt: Update to 1.9.5.
* gnu/packages/mail.scm (mutt): Update to 1.9.5.
2018-04-18 16:58:13 -04:00
Leo Famulari 6e2729a3fb
gnu: lynx: Update to 2.8.9dev.17.
* gnu/packages/web-browsers.scm (lynx): Update to 2.8.9dev.17.
2018-04-18 12:33:42 -04:00
Leo Famulari e45f399bf9
gnu: qemu: Fix CVE-2018-7550.
* gnu/packages/patches/qemu-CVE-2018-7550.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/virtualization.scm (qemu)[source]: Use it.
2018-04-18 11:38:45 -04:00