Commit Graph

18312 Commits

Author SHA1 Message Date
Mathieu Lirzin 6554be68b4
git-download: Add 'git-predicate'.
* guix/git-download.scm (git-predicate): New procedure.
* gnu/packages/package-management.scm (current-guix): Use it.
(make-git-predicate): Remove.
2017-02-09 13:56:54 -06:00
Federico Beffa a4824c60ef
import: hackage: Handle unknown packages gracefully.
* guix/import/hackage.scm (hackage-fetch): Add 'guard'.
2017-02-09 19:36:08 +01:00
Federico Beffa bc5844d149
import: Add stackage importer and updater.
* guix/import/stackage.scm: New file.
* guix/scripts/import/stackage.scm: New file.
* Makefile.am (MODULES): Add new files.
* guix/scripts/import.scm (importers): Add "stackage".
* guix/scripts/refresh.scm (%updaters): Add %stackage-updater.
* doc/guix.texi (Invoking 'guix import'): Document the importer.
  (Invoking 'guix refresh'): Add stackage to option --type valid values.
* guix/import/hackage.scm (guix-package->hackage-name, hackage-fetch,
  hackage-source-url, hackage-cabal-url, hackage-package?): Export them.
2017-02-09 19:36:08 +01:00
Federico Beffa 81e0bc1834
import: json: Explicitly ask for JSON data.
* guix/import/json.scm (json-fetch): Add #:headers to http-fetch call.
2017-02-09 19:36:04 +01:00
Paul Garlick 4554813936
gnu: gmsh: Propagate opencascade-oce.
* gnu/packages/maths.scm (gmsh)[propagated-inputs]: Add opencascade-oce.
[arguments]: Remove #:phases parameter for component8_in_a_box test

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-02-09 19:19:06 +01:00
ng0 ff71196067
gnu: libextractor: Move .a files to output "static".
* gnu/packages/gnunet.scm (libextractor): Move .a files to "static" output.
[arguments](phases): New phase for moving .a files to output "static".

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-02-09 12:15:28 -05:00
ng0 b0a2adddc8
gnu: libextractor: Add dependencies.
* gnu/packages/gnunet.scm (libextractor): Add dependencies:
tidy-html, libmp4v2, libsmf, bzip2.
[arguments](configure-flags): Add "--with-libtidy".
* Adjust the FIXME comment section accordingly.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-02-09 12:15:28 -05:00
ng0 a4f05b4620
gnu: Add libsmf.
* gnu/packages/music.scm (libsmf): New variable.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-02-09 12:15:28 -05:00
ng0 1ad3c7f2e6
gnu: Add tidy-html.
* gnu/packages/web.scm (tidy-html): New variable.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-02-09 12:15:28 -05:00
ng0 3a44c7bbdc
gnu: Add libmp4v2.
* gnu/packages/video.scm (libmp4v2): New variable.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-02-09 12:15:28 -05:00
Marius Bakke e0c752f969
gnu: xf86-input-libinput: Update to 0.24.0.
* gnu/packages/xorg.scm (xf86-input-libinput): Update to 0.24.0.
2017-02-09 15:16:28 +01:00
Marius Bakke 233a0c9437
gnu: lua: Update to 5.3.4.
* gnu/packages/lua.scm (lua): Update to 5.3.4.
2017-02-09 14:59:11 +01:00
Marius Bakke 65064909ed
gnu: libvpx: Update to 1.6.1.
* gnu/packages/video.scm (libvpx): Update to 1.6.1.
* gnu/packages/patches/libvpx-CVE-2016-2818.patch: Adjust to indentation changes.
2017-02-09 14:58:54 +01:00
Ben Woodcroft 206af46fe1
gnu: vsearch: Update to 2.4.0.
* gnu/packages/bioinformatics.scm (vsearch): Update to 2.4.0.
[source]: Convert most operations in the snippet to patch form and adjust
for 2.4.0.
* gnu/packages/patches/vsearch-unbundle-cityhash.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2017-02-09 21:21:29 +10:00
Carlos Sánchez de La Lama c8916c3336
gnu: bash-minimal: Assume getcwd works correctly when cross-compiling
* gnu/packages/bash.scm (bash-minimal): Assume getcwd works correctly
when cross compiling.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-02-09 13:05:17 +02:00
Efraim Flashner 98c8b963f4
gnu: mpv: Disable build date.
* gnu/packages/video.scm (mpv)[arguments]: Add '--disable-build-date' to
the configure-flags.
2017-02-09 12:15:05 +02:00
Efraim Flashner f4b7cb88a4
gnu: ffmpeg: Update to 3.2.3.
* gnu/packages/video.scm (ffmpeg): Update to 3.2.3.
2017-02-09 11:22:14 +02:00
Efraim Flashner 3548b83de1
gnu: isc-dhcp: Update bundled bind to 9.9.9-P6.
* gnu/packages/admin.scm (isc-dhcp): Update bundled bind to 9.9.9-P6.
2017-02-09 10:53:52 +02:00
Marius Bakke ba8b9f8de0
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
  postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
  unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-09 00:43:44 +01:00
Marius Bakke 06a035db42
gnu: databases.scm: Sort package imports.
* gnu/packages/databases.scm (gnu): Sort module imports.
2017-02-09 00:43:05 +01:00
Marius Bakke 77e52190fa
gnu: rocksdb: Update to 5.1.2.
* gnu/packages/databases.scm (rocksdb): Update to 5.1.2.
[native-inputs]: Add WHICH.
2017-02-09 00:40:35 +01:00
Marius Bakke 507809be15
gnu: weechat: Make sure it finds the correct python.
Fixes <https://bugs.gnu.org/21879>.

* gnu/packages/irc.scm (weechat)[arguments]: Drop 'set-python-file-name' phase
in favor of a 'wrap' phase.
2017-02-09 00:40:14 +01:00
Marius Bakke bafd5bea97
gnu: bind: Update to 9.10.4-P6.
* gnu/packages/dns.scm (bind): Update to 9.10.4-P6.
2017-02-09 00:32:23 +01:00
Thomas Danckaert cce0da5e8d
gnu: Add vinagre.
* gnu/packages/gnome.scm (vinagre): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-02-08 16:17:05 +01:00
Thomas Danckaert 2149d3e3e5
gnu: Add freerdp.
* gnu/packages/rdesktop.scm (freerdp): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-02-08 16:17:05 +01:00
Ludovic Courtès 4eaac4b722
import: pypi: Correctly handle multiple-URL origins.
Fixes <https://bugs.gnu.org/25635>.
Reported by Sergei Trofimovich <slyfox@inbox.ru>.

* guix/import/pypi.scm (guix-package->pypi-name)[url->pypi-name]: New
procedure.
Rewrite body to match lists in addition to strings.
* tests/pypi.scm ("guix-package->pypi-name, several URLs"): New test.
2017-02-08 16:17:05 +01:00
Clément Lassieur 750a423996
services: shepherd: Replace spaces with hyphens in file names.
This fixes a bug whereby names of files defining services would be
invalid if 'provisions' contained more than one element.

* gnu/services/shepherd.scm (shepherd-service-file-name): Update
'match-lambda' accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-02-08 16:17:05 +01:00
Ludovic Courtès 387e175492
services: Add 'special-files-service-type'.
* gnu/build/activation.scm (activate-/bin/sh): Remove.
(activate-special-files): New procedure.
* gnu/services.scm (activation-script): Remove call to
'activate-/bin/sh'.
(special-files-service-type): New variable.
(extra-special-file): New procedure.
* gnu/services/base.scm (%base-services): Add SPECIAL-FILES-SERVICE-TYPE
instance.
* gnu/tests/base.scm (run-basic-test)[special-files]: New variables.
["special files"]: New test.
2017-02-08 16:17:05 +01:00
宋文武 618739b063
gnu: nix: Update to 1.11.6.
* gnu/packages/package-management.scm (nix): Update to 1.11.6.
2017-02-08 20:54:42 +08:00
Ying Huang 06d7d1190e
profiles: gtk-im-modules: Fix for gtk3.
Gtk+3 now have multiple outputs, so the gtk-query-immodules-3.0 should be find
in output "bin" instead of "out".

* guix/profiles.scm (gtk-im-modules): Pass the path of gtk-query-immodules-x.x
as 'query' argument to the 'build' procedure.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-02-08 20:12:20 +08:00
ng0 6bd9ad6942
gnu: python-dateutil-2: Update to 2.5.3.
* gnu/packages/python.scm (python-dateutil-2): Update to 2.5.3.
2017-02-08 08:33:16 +01:00
Leo Famulari f0d0c5bb18
etc: The pre-push hook says which commits failed the signature check.
* etc/git/pre-push: Check each commit's signature individually so that
we can report which commits fail the check.
2017-02-08 03:42:08 +01:00
Ricardo Wurmus 4621acfd82
gnu: r: Build default packages reproducibly.
This is a follow-up to commit de643f0c15.

* gnu/packages/statistics.scm (r)[arguments]: Set the built timestamp for core
packages to the epoch; add phase "build-recommended-packages-reproducibly".
2017-02-07 20:04:49 +01:00
Danny Milosavljevic 98d403bb45
gnu: Add python-pyodbc-c.
* gnu/packages/databases.scm (python-pyodbc-c, python2-pyodbc-c):
  New variables.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-02-07 13:34:38 -05:00
Tobias Geerinckx-Rice 22a7abf7e5
gnu: youtube-dl: Update to 2017.02.07.
* gnu/packages/video.scm (youtube-dl): Update to 2017.02.07.
2017-02-07 18:55:46 +01:00
Tobias Geerinckx-Rice 4dcb3db0ee
gnu: fonts: Use install-file where appropriate.
* gnu/packages/fonts.scm (font-wqy-microhei, font-google-roboto)[arguments]:
Substitute the simpler INSTALL-FILE for every COPY-FILE invoked with redundant
arguments.
2017-02-07 18:51:14 +01:00
Tobias Geerinckx-Rice 33a8687a2a
gnu: mcelog: Update to 148.
* gnu/packages/linux.scm (mcelog): Update to 148.
2017-02-07 18:51:13 +01:00
Boskovits, Gábor 189d842257
gnu: Add lshw.
* gnu/packages/linux.scm (lshw): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-02-07 17:56:06 +01:00
Ludovic Courtès d480ed7edb
build: Warn about lack of substitutes for non-standard stores.
* configure.ac: Emit a warning when $storedir is not "/gnu/store".
2017-02-07 14:53:24 +01:00
Ludovic Courtès 328f7cbe43
daemon: Define 'NIX_STORE' before invoking 'guix perform-download'.
Reported by rohit yadav <rohityadav@utexas.edu>
at <https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00191.html>.

This fixes a regression whereby 'guix perform-download' would always see
NIX_STORE as unset and thus use "/gnu/store", leading it to miscompute
the hydra.gnu.org content-addressed URLs when the store file name is not
"/gnu/store".

* nix/libstore/builtins.cc (builtinDownload): Add 'setenv' call for
'NIX_STORE'.
2017-02-07 14:51:17 +01:00
Ludovic Courtès ef753a1a8f
gnu: grub-efi: Really build the EFI variant.
Fixes a regression introduced in
d846834fc2 where '--with-platform=efi'
would no longer be passed.

* gnu/packages/grub.scm (grub-efi)[arguments]: Provide a default value
for #:configure-flags.
2017-02-07 11:15:33 +01:00
Mark H Weaver 6f48d9db10
gnu: epiphany: Update to 3.22.6 [security update].
See <https://bugzilla.gnome.org/show_bug.cgi?id=752738>.

* gnu/packages/gnome.scm (epiphany): Update to 3.22.6.
[arguments]: Add #:configure-flags '("CFLAGS=-std=gnu99").
2017-02-06 22:25:18 -05:00
Ludovic Courtès a062b6ca99
services: bitlbee: Run in a container.
* gnu/services/networking.scm (bitlbee-shepherd-service): Wrap in
'with-imported-modules' and add 'modules' field.  Use
'make-forkexec-constructor/container' and pass #:mappings.
2017-02-07 00:08:11 +01:00
Ludovic Courtès 63302a4e55
Add (gnu build shepherd).
* gnu/build/shepherd.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2017-02-07 00:08:11 +01:00
Ludovic Courtès c90db25f4c
linux-container: Add 'container-excursion*'.
* gnu/build/linux-container.scm (container-excursion*): New procedure.
* tests/containers.scm ("container-excursion*")
("container-excursion*, same namespaces"): New tests.
2017-02-07 00:08:10 +01:00
Ludovic Courtès b9a5efa596
services: bitlbee: Read the PID file.
* gnu/services/networking.scm (bitlbee-shepherd-service): Pass
  #:pid-file to 'make-forkexec-constructor'.
2017-02-07 00:08:10 +01:00
Ludovic Courtès f2c66fbe1f
bash completion: Complete subcommands for the current word.
* etc/completion/bash/guix (_guix_complete_subcommand): Refer to
the $COMP_CWORD element instead of the last element.
2017-02-07 00:08:10 +01:00
Ludovic Courtès a93c1c5921
bash completion: Properly complete 'guix container exec'.
* etc/completion/bash/guix (_guix_complete_pid): New function.
(_guix_complete): Add case for "container".
2017-02-07 00:08:10 +01:00
Ludovic Courtès e109ed3922
bash completion: Complete file names after 'guix system COMMAND'.
* etc/completion/bash/guix (_guix_complete): When the command is
"system" and $COMP_CWORD > 2, use _guix_complete_file.
2017-02-07 00:08:10 +01:00
Ludovic Courtès 3454f7edf9
bash completion: Complete 'guix gc' with file names.
Reported by a couple of cool folks at a bar in Brussels.

* etc/completion/bash/guix (_guix_complete): Use '_guix_complete_file'
for 'guix gc'.  This fixes completion of 'guix gc -d'.
2017-02-07 00:08:10 +01:00