Commit Graph

21088 Commits

Author SHA1 Message Date
ng0 45433bb03d
gnu: mc: Add unzip to inputs.
* gnu/packages/mc.scm (mc)[inputs]: Add unzip.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-05-18 01:00:53 +02:00
Marius Bakke c80cd4dfb4
install: Enable SSH in installation image.
* gnu/system/install.scm (%installation-services): Add OPENSSH-SERVICE-TYPE.
* doc/guix.texi (Preparing for Installation)[Networking]: Document it.
2017-05-18 01:00:53 +02:00
Marius Bakke 07bf68ed09
services: openssh: Don't depend on networking.
* gnu/services/ssh.scm (openssh-shepherd-service): Drop requirement.
2017-05-18 01:00:52 +02:00
Kei Kebreau 32199e9aa6
gnu: fizmo: Update to 0.8.4.
* gnu/packages/games.scm (fizmo): Update to 0.8.4.
[inputs]: Add freetype; change sdl to sdl2.
2017-05-17 17:35:38 -04:00
Kei Kebreau ec84c7870e
gnu: gnubg: Update to 1.05.
* gnu/packages/games.scm (gnubg): Update to 1.05.
2017-05-17 17:33:35 -04:00
Mark H Weaver 05bf7f507a
gnu: linux-libre: Update to 4.11.1.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.11.1.
(%linux-libre-hash): Update hash.
2017-05-17 14:56:18 -04:00
Mark H Weaver d6a02184f4
gnu: linux-libre@4.9: Update to 4.9.28.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.28.
2017-05-17 14:55:41 -04:00
Mark H Weaver 42ba7b6f2f
gnu: linux-libre@4.4: Update to 4.4.68.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.68.
2017-05-17 14:54:53 -04:00
Leo Famulari 4b236c88ea
maint: The 'release' target builds a VM image.
* gnu/system/examples/vm-image.tmpl: New file.
* Makefile.am (GUIXSD_VM_SYSTEMS, GUIXSD_VM_IMAGE_BASE,
GUIXSD_VM_IMAGE_SIZE): New variables.
(release): Add logic to build a VM image.
(EXAMPLES): Add 'gnu/system/examples/vm-image.tmpl'.
* doc/guix.texi (Running GuixSD in a VM, Installing GuixSD in a VM): Mention the
pre-built VM image.
2017-05-17 14:12:51 -04:00
Christopher Baines 872a6fd988
gnu: tailon: Use absolute paths for commands.
* gnu/packages/logging.scm (tailon)[arguments]: Patch commands.py to reference
  grep, awk, sed and tail by absolute paths.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-05-17 16:50:41 +02:00
Ludovic Courtès 411ba51189
gnu: Add gspell.
* gnu/packages/patches/gspell-dash-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (gspell): New variable.

Co-authored-by: humanitiesNerd <catonano@gmail.com>
2017-05-17 16:20:06 +02:00
Ludovic Courtès 6d35b1c99c
gnu: aspell: 'dict-dir' set to ~/.guix-profile/lib/aspell or $ASPELL_DICT_DIR.
See <https://bugs.gnu.org/25836> for background.

* gnu/packages/patches/aspell-default-dict-dir.patch: New file.
* gnu/packages/aspell.scm (aspell)[source](patches): New field.
[native-search-paths]: New field.
* gnu/local.mk (dist_patch_DATA): Add it.
2017-05-17 16:20:06 +02:00
Alex Kost be62e2224a
build: Compile stackage only if 'guile-json' is available.
Fixes <http://bugs.gnu.org/26860>.
This is a followup to commit 3089b5d3f5.

* Makefile.am (MODULES): Move "guix/scripts/import/stackage.scm" within
'if HAVE_GUILE_JSON'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-17 16:20:06 +02:00
Nicolas Goaziou 102a0e88cd
gnu: emacs-org: Update to 20170515.
* gnu/packages/emacs.scm (emacs-org): Update emacs-org.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-17 16:20:06 +02:00
Marius Bakke 5afc737363
gnu: mes: Don't fail when (%current-target-system) is #f.
* gnu/packages/mes.scm (mes)[native-inputs]: Test string equality differently.
2017-05-17 16:14:01 +02:00
Leo Famulari e7620b649c
gnu: qemu: Fix CVE-2017-7493.
* gnu/packages/patches/qemu-CVE-2017-7493.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/qemu.scm (qemu)[source]: Use it.
2017-05-17 07:45:01 -04:00
Ben Woodcroft 8d171471cf
gnu: ruby-rack: Update to 2.0.3.
* gnu/packages/ruby.scm (ruby-rack): Update to 2.0.3.
2017-05-17 10:29:38 +02:00
Leo Famulari 44a0591b2b
gnu: certbot, python-acme: Update to 0.14.1.
* gnu/packages/tls.scm (certbot, python-acme, python2-acme): Update to 0.14.1.
2017-05-16 22:51:25 -04:00
Ben Woodcroft 21aecec1a9
gnu: ruby-concurrent: Update to 1.0.5.
* gnu/packages/ruby.scm (ruby-concurrent): Update to 1.0.5.
* gnu/packages/patches/ruby-concurrent-test-arm.patch: Adjust accordingly.
2017-05-17 00:28:56 +02:00
Ben Woodcroft 473f34cbdc
gnu: bundler: Update to 1.14.6.
* gnu/packages/ruby.scm (bundler): Update to 1.14.6.
2017-05-17 00:28:56 +02:00
Jan Nieuwenhuizen e0bb0a81ec
gnu: mes: Update to 0.6.
* gnu/packages/mes.scm (mes): Update to 0.6.
2017-05-17 00:00:05 +02:00
Maxim Cournoyer 516bfed7a3
profiles: Add elapsed time to manual-database hook to output message.
* guix/profiles.scm (manual-database): Add elapsed time to manual-database
hook to output message.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-16 23:10:10 +02:00
Julien Lepiller 16dcac5b26
gnu: php: Update to 7.1.5.
* gnu/packages/php.scm (php): Update to 7.1.5.
[arguments]: Remove a no longer relevant test fix.
2017-05-16 22:43:34 +02:00
Ricardo Wurmus 441e99d433
gnu: glibc/hurd: Do not apply i686 patch.
This is a follow-up to commit c2e4f14ac8.

* gnu/packages/base.scm (glibc/hurd)[arguments]: Override pre-configure phase
with a copy that does not include the patch application.
2017-05-16 22:37:31 +02:00
Ricardo Wurmus 711a0dcefa
gnu: glibc/hurd: Use modify-phases syntax.
* gnu/packages/base.scm (glibc/hurd)[arguments]: Use modify-phases syntax.
2017-05-16 22:37:31 +02:00
Kei Kebreau 231e48d6db
gnu: emacspeak: Update to 46.0.
* gnu/packages/emacs.scm (emacspeak): Update to 46.0.
[source]: Add snippet to delete pre-compiled Emacs Lisp files.
[arguments]: Adjust phases for the update.
2017-05-16 16:02:59 -04:00
Ricardo Wurmus 17a69cf623
import cran: Check if pkg-config is needed.
* guix/import/cran.scm (needs-pkg-config?): New procedure.
(description->package): Use it.
2017-05-16 21:43:35 +02:00
Ricardo Wurmus a0f43208cb
import cran: Refactor "needs-zlib?".
* guix/import/cran.scm (tarball-files-match-pattern?): New procedure.
(needs-zlib?): Implement in terms of "tarball-files-match-pattern?".
2017-05-16 21:43:15 +02:00
Ricardo Wurmus ff8c179ab6
import cran: Export package predicates.
* guix/import/cran.scm (cran-package?, bioconductor-package?,
bioconductor-data-package?, bioconductor-experiment-package?): Export
procedures.
2017-05-16 21:42:18 +02:00
Ricardo Wurmus daaa270ecc
import cran: Add predicate for Bioconductor experiment packages.
* guix/import/cran.scm (bioconductor-experiment-package?): New variable.
2017-05-16 21:40:39 +02:00
Ricardo Wurmus c9ffa91fd3
import cran: Exclude experiment packages in predicate "bioconductor-package?".
* guix/import/cran.scm (bioconductor-package?): Exclude experiment packages,
because they cannot be updated with the default bioconductor updater.
2017-05-16 21:40:03 +02:00
Ricardo Wurmus 7c9fcb0825
import cran: Fetch DESCRIPTION files from Github mirror.
* guix/import/cran.scm (%bioconductor-svn-url): Remove variable.
(bioconductor-mirror-url): New procedure.
(fetch-description): Take a REPOSITORY symbol instead of a BASE-URL string.
(cran->guix-package): Pass REPOSITORY symbol to "fetch-description".
(latest-cran-release, latest-bioconductor-release): Adjust accordingly.
(bioconductor-package?): Update comment about SVN.
2017-05-16 21:39:06 +02:00
Efraim Flashner ca05bc0e1e
gnu: tor: Update to 0.3.0.7.
* gnu/packages/tor.scm (tor): Update to 0.3.0.7.
2017-05-16 22:26:22 +03:00
Ricardo Wurmus 6db77c7ca1
gnu: java-stringtemplate: Get closer to fixing tests.
* gnu/packages/java.scm (java-stringtemplate)[arguments]: Set test-dir and
override default test target.  Keep tests disabled because they fail for
unknown reasons.
[inputs]: Add java-junit.
2017-05-16 15:18:17 +02:00
Ricardo Wurmus 1345eeb03a
gnu: Rename stringtemplate4-4.0.6 to java-stringtemplate-4.0.6.
* gnu/packages/java.scm (stringtemplate4-4.0.6): Rename this...
(java-stringtemplate-4.0.6): ...to this.
(antlr3)[propagated-inputs]: Adjust accordingly.
2017-05-16 15:18:17 +02:00
Ricardo Wurmus 64b7efc0db
gnu: Rename stringtemplate4 to java-stringtemplate.
* gnu/packages/java.scm (stringtemplate4): Rename this...
(java-stringtemplate): ...to this.
(stringtemplate4-4.0.6)[inherit]: Adjust accordingly.
(antlr3)[inputs]: Likewise.
2017-05-16 15:18:17 +02:00
Ricardo Wurmus f4aa4cfe00
gnu: stringtemplate4: Prettify "generate-grammar" phase.
* gnu/packages/java.scm (stringtemplate4)[arguments]: Rewrite
"generate-grammar" phase to use "with-directory-excursion" and to report
success or failure.
2017-05-16 15:18:17 +02:00
Ricardo Wurmus 407df789cf
gnu: stringtemplate4: Inherit from java-stringtemplate-3.
* gnu/packages/java.scm (stringtemplate4)[inherit]: Add
"java-stringtemplate-3" as parent.
[home-page, synopsis, description, license]: Inherit from parent.
2017-05-16 15:18:17 +02:00
Ricardo Wurmus b101b4e8c1
gnu: java-stringtemplate-3: Use return value in build phase.
* gnu/packages/java.scm (java-stringtemplate-3)[arguments]: Let
build phase "generate-grammar" return success or failure.
2017-05-16 15:18:17 +02:00
Ricardo Wurmus 2fcda6d291
gnu: java-stringtemplate-3: Enable tests.
* gnu/packages/java.scm (java-stringtemplate-3)[arguments]: Enable tests; add
build phase to fix tests.
2017-05-16 15:18:16 +02:00
Ricardo Wurmus 129d926d26
gnu: java-stringtemplate-3: Do not hardcode version string.
* gnu/packages/java.scm (java-stringtemplate-3)[arguments]: Take current
version string.
2017-05-16 15:18:16 +02:00
Ricardo Wurmus e44112e1a5
gnu: Rename stringtemplate3 to java-stringtemplate-3.
* gnu/packages/java.scm (stringtemplate3): Replace this...
(java-stringtemplate-3): ...with this.
[name]: Change to "java-stringtemplate".
(stringtemplate4)[inputs]: Adjust accordingly.
(stringtemplate4-4.0.6)[inputs]: Likewise.
(antlr3)[inputs, propagated-inputs]: Likewise.
(antlr3-3.3)[propagated-inputs, arguments]: Likewise.
(antlr3-3.1)[propagated-inputs]: Likewise.
2017-05-16 15:18:16 +02:00
Andy Patterson 8a3814cdc5
doc: Update the documentation for the asdf build systems.
* doc/guix.texi (Build Systems): Remove the no-longer relevant parts about
naming inputs.  Add documentation for the new parameters #:asd-system-name and
 #:test-asd-file.
2017-05-16 15:18:16 +02:00
Andy Patterson 0383afa02a
build-system/asdf: Handle tests defined in external systems.
* guix/build-system/asdf.scm (asdf-build): Add a #:test-asd-file argument.
[builder]: Pass it to the build system.
(package-with-build-system)[transform]: Strip it from source systems' arguments.
* guix/build/asdf-build-system.scm (check): Pass the fully qualified path to
it on to the test-system procedure.
* guix/build/lisp-utils.scm (test-system): Load the file, or otherwise one of
the often used names for it, before running the tests.  Adjust the docstring
accordingly.
2017-05-16 15:18:16 +02:00
Andy Patterson f56da605d8
gnu: sbcl-slynk-boot0: Give the package an appropriate name.
* gnu/packages/lisp.scm (sbcl-slynk-boot0)[name]: Change it to reflect the
bootstrap status of the package.
[arguments]<#:asd-system-name>: Add the appropriate value.
(sbcl-slynk-arglists)[arguments]: Set the appropriate #:asd-file and forcibly
unset #:asd-system-name.
(sbcl-slynk)[name]: Change it to the variable name.
(cl-slynk)[name]: Likewise.
2017-05-16 15:18:16 +02:00
Andy Patterson 4209c31b8f
build-system/asdf: Retain references to source files for binary outputs.
In support of long-running programs in which the users would like to be able
to jump to the source of a definition of any of the dependencies (itself
included) of the program.

* guix/build/asdf-build-system.scm (library-outputs): Move from here ...
* guix/build/lisp-utils.scm (library-outputs): ... to here.
(build-program): Accept dependency-prefixes argument, to allow the caller to
specify references which should be retained.  Default to the library's output.
(build-image): Likewise.
(generate-executable): Likewise.
* gnu/packages/lisp.scm (sbcl-stumpwm+slynk, sbcl-slynk, sbcl-stumpwm): Adjust
accordingly to the new interface.
(sbcl-stumpwm+slynk)[native-inputs]: Move to ...
[inputs]: ... here.
2017-05-16 15:18:16 +02:00
Andy Patterson b9afcb9ed4
build-system/asdf: Simplify the use of lisp-eval-program.
Accept a list of statements, each run within its own `--eval' argument. This
allows statements to use reader package namespacing after a package has been
loaded.

* guix/build/lisp-utils.scm (spread-statements): New procedure.
(lisp-invoke): Rename to ...
(lisp-invocation): ... this. Use spread-statements. Change interface to accept
list of statements instead of a single statement.
(asdf-load-all-systems): Simplify returned statements.
(compile-system): Simplify the program passed to `lisp-eval-program'.
(test-system): Likewise.
(generate-executable-for-system): Likewise. Accept the full symbol describing
the asdf operation to use.
(generate-executable): Document the change.
(build-program, build-image): Use the new interface.
2017-05-16 15:18:15 +02:00
Ricardo Wurmus ac2592536d
gnu: Add cl-unicode.
* gnu/packages/lisp.scm (sbcl-cl-unicode-base, sbcl-cl-unicode)
(ecl-cl-unicode, cl-unicode): New variables.

Co-Authored-By: Andy Patterson <ajpatter@uwarerloo.ca>
2017-05-16 15:18:15 +02:00
Andy Patterson 40f56176c5
build-system/asdf: Handle unusually-named systems.
* guix/build/lisp-utils.scm (valid-char-set): New variable.
(normalize-string): New procedure.
(compiled-system): Truncate the name of a system which contains slashes.
(generate-system-definition, make-asd-file): Use `normalize-string' to alter
the names of the created system and its dependencies.
* guix/build/asdf-build-system.scm (create-asd-file): Normalize the name of
the asd file being created.
2017-05-16 15:18:15 +02:00
Andy Patterson 0186a463d0
build-system/asdf: Always pre-load the system's definition file.
* guix/build-system/asdf.scm (asdf-build)[builder]: Pass a default
`#:asd-file' argument to the build procedure, using the system's name.
* guix/build/asdf-build-system.scm (build, check): Adjust to assume that
`asd-file' will always be a string.
* guix/build/lisp-utils.scm (compile-system, system-dependencies)
(test-system): Likewise.
2017-05-16 15:18:15 +02:00