Commit Graph

21374 Commits

Author SHA1 Message Date
Ludovic Courtès cd041b268e
store: Add store path computation procedures.
* guix/derivations.scm (compressed-hash, store-path)
(output-path, fixed-output-path): Move to...
* guix/store.scm: ... here.
2017-05-04 18:05:05 +02:00
ng0 4032dd81d5
gnu: fish-guix: Adjust the home-page.
* gnu/packages/shells.scm (fish-guix)[home-page]: Use the correct website.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-04 18:05:05 +02:00
Ludovic Courtès d7ecab74ee
gnu: Add gcc-toolchain@7.
* gnu/packages/commencement.scm (gcc-toolchain-7): New variable.
2017-05-04 18:05:05 +02:00
Ludovic Courtès 67d84d6335
tests: Use 'fold-module-public-variables' for discovery.
* gnu/tests.scm (fold-system-tests): Write in terms of
'fold-module-public-variables'.
2017-05-04 18:05:05 +02:00
Ludovic Courtès 8eb55df488
nls: Mark (guix discovery) as translatable.
This is a followup to cd903ef787.

* po/guix/POTFILES.in: Add 'guix/discovery.scm'.
2017-05-04 18:05:05 +02:00
Ricardo Wurmus 3e961de434
gnu: neovim: Update to 0.2.0.
* gnu/packages/vim.scm (neovim): Update to 0.2.0.
2017-05-04 17:34:54 +02:00
Ricardo Wurmus 0cdc3343ad
gnu: lua5.2-libmpack: Fix make flags.
This is a follow-up to commit. b523612106.

* gnu/packages/serialization.scm (lua5.2-libmpack)[arguments]: Adjust make
flags.
2017-05-04 17:09:16 +02:00
Ricardo Wurmus 7ec309af90
gnu: lua-libmpack: Update to new upstream source.
Inheriting the source from libmpack no longer works, because upstream has
moved the Lua bindings to a separate repository.

This is a follow-up to commit b523612106.

* gnu/packages/serialization.scm (lua-libmpack)[source]: Use new upstream
source.
[arguments]: Adjust make flags and build phases.
[native-inputs]: Add package sources of libmpack.
[home-page]: Use new home page URL.
2017-05-04 17:09:00 +02:00
Ricardo Wurmus 6ba4eca234
gnu: llvm-3.5: Fix build of clang-3.5.
* gnu/packages/patches/llvm-3.5-fix-clang-build-with-gcc5.patch: New file
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/llvm.scm (llvm-3.5)[source]: Add patch.
2017-05-04 14:20:10 +02:00
Mathieu Othacehe e8e1ace039
gnu: guile-bytestructures: Install sld files.
* gnu/packages/guile.scm (guile-bytestructures): Build and install sld
  files in r7 repository.

It fixes this kind of errors while using guile-bytestructures:

ice-9/psyntax.scm:3245:33: ice-9/psyntax.scm:3245:33: Syntax error:
/gnu/store/ny9mp091yw51ylv1q59z25z5vdw8bi56-profile/share/guile/site/2.2/bytestructures/guile/base.scm:8:19: include-from-path: file not found in path in subform "bytestructures/r7/base.exports.sld" of (include-from-path "bytestructures/r7/base.exports.sld")
2017-05-04 13:47:23 +02:00
Tobias Geerinckx-Rice f4129cdd6a
gnu: man-pages: Update to 4.11.
* gnu/packages/man.scm (man-pages): Update to 4.11.
2017-05-04 12:52:23 +02:00
Tobias Geerinckx-Rice 74067fedce
environment: Correct typo.
* guix/scripts/environment.scm (create-environment): Fix typo.
2017-05-04 12:52:23 +02:00
Leo Famulari 55a797999a
gnu: capnproto: Update to 0.6.0.
* gnu/packages/serialization.scm (capnproto): Update to 0.6.0.
2017-05-03 19:36:15 -04:00
Leo Famulari b523612106
gnu: libmpack: Update to 1.0.5.
* gnu/packages/serialization.scm (libmpack): Update to 1.0.5.
2017-05-03 19:36:15 -04:00
Leo Famulari e54ae862d2
gnu: msgpack: Update to 1.4.2.
* gnu/packages/serialization.scm (msgpack): Update to 1.4.2.
2017-05-03 19:36:15 -04:00
Leo Famulari 481a042b44
gnu: dmenu: Update to 4.7.
* gnu/packages/suckless.scm (dmenu): Update to 4.7.
2017-05-03 19:36:11 -04:00
Vasile Dumitrascu ecc7aa893d
gnu: bind: Update to 9.11.1.
* gnu/packages/dns.scm (bind): Update to 9.11.1.
[license]: Change isc to mpl2.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-05-03 18:41:39 -04:00
humanitiesNerd fc06b15e86
doc: Add 'Debugging Build Failures' node.
* doc/guix.texi (Debugging Build Failures): New node.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-05-03 23:50:15 +02:00
Ludovic Courtès 634088a565
refresh: Use (guix discovery).
* guix/scripts/refresh.scm (maybe-updater, list-updaters): Remove.
(importer-modules): New procedure.
(%updaters): Define using 'fold-module-public-variables'.  Turn into a
promise and adjust users.
2017-05-03 23:50:15 +02:00
Ludovic Courtès cd903ef787
Add (guix discovery).
* guix/discovery.scm, tests/discovery.scm: New files.
* gnu/packages.scm (scheme-files, file-name->module-name)
(scheme-modules, all-package-modules): Remove.
(fold-packages): Rewrite in terms of 'fold-module-public-variables'.
* gnu/tests.scm: Use (guix discovery).
* Makefile.am (MODULES): Add guix/discovery.scm.
(SCM_TESTS): Add tests/discovery.scm.
2017-05-03 23:50:15 +02:00
ng0 1dc0a66591
gnu: Add fish-guix.
* gnu/packages/shells.scm (fish-guix): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-03 23:50:15 +02:00
Clément Lassieur 0ea45ef422
gnu: Add missing copyright line.
* gnu/packages/version-control.scm: Add missing copyright line for commit
db88b5a.
2017-05-03 22:10:30 +02:00
Clément Lassieur db88b5a857
gnu: gitolite: Avoid references to the store in authorized_keys.
* gnu/packages/version-control.scm (gitolite)[arguments]: Substitute
'$glshell' with 'gitolite-shell' in ssh-authkeys.
2017-05-03 21:41:47 +02:00
Arun Isaac 21b99aade1
gnu: Add emacs-gnuplot.
* gnu/packages/emacs.scm (emacs-gnuplot): New variable.
2017-05-04 00:54:29 +05:30
Efraim Flashner 90027924b7
gnu: Add gfortran@7.
* gnu/packages/gcc.scm (gfortran@7): New variable.
2017-05-03 22:16:54 +03:00
Efraim Flashner 2ed12d3fb0
gnu: libressl: Update to 2.5.4.
* gnu/packages/tls.scm (libressl): Update to 2.5.4.
[home-page]: Use https.
2017-05-03 21:58:02 +03:00
Tobias Geerinckx-Rice cef3f14644
gnu: tlp: Install all files.
* gnu/packages/linux.scm (tlp)[arguments]: Add ‘fix-installation’ phase so
the installation no longer aborts half-way, and use ‘zero?’ in the install
phase so this cannot go undetected again.
2017-05-03 18:26:29 +02:00
Ludovic Courtès 69daee23af
ui: Rename '_' to 'G_'.
This avoids collisions with '_' when the latter is used as a 'match'
pattern for instance.  See
<https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00464.html>.

* guix/ui.scm: Rename '_' to 'G_'.
* po/guix/Makevars (XGETTEXT_OPTIONS): Adjust accordingly.
* build-aux/compile-all.scm (warnings): Remove 'format'.
* gnu/packages.scm,
gnu/services.scm,
gnu/services/shepherd.scm,
gnu/system.scm,
gnu/system/shadow.scm,
guix/gnupg.scm,
guix/http-client.scm,
guix/import/cpan.scm,
guix/import/elpa.scm,
guix/import/pypi.scm,
guix/nar.scm,
guix/scripts.scm,
guix/scripts/archive.scm,
guix/scripts/authenticate.scm,
guix/scripts/build.scm,
guix/scripts/challenge.scm,
guix/scripts/container.scm,
guix/scripts/container/exec.scm,
guix/scripts/copy.scm,
guix/scripts/download.scm,
guix/scripts/edit.scm,
guix/scripts/environment.scm,
guix/scripts/gc.scm,
guix/scripts/graph.scm,
guix/scripts/hash.scm,
guix/scripts/import.scm,
guix/scripts/import/cpan.scm,
guix/scripts/import/cran.scm,
guix/scripts/import/crate.scm,
guix/scripts/import/elpa.scm,
guix/scripts/import/gem.scm,
guix/scripts/import/gnu.scm,
guix/scripts/import/hackage.scm,
guix/scripts/import/nix.scm,
guix/scripts/import/pypi.scm,
guix/scripts/import/stackage.scm,
guix/scripts/lint.scm,
guix/scripts/offload.scm,
guix/scripts/pack.scm,
guix/scripts/package.scm,
guix/scripts/perform-download.scm,
guix/scripts/publish.scm,
guix/scripts/pull.scm,
guix/scripts/refresh.scm,
guix/scripts/size.scm,
guix/scripts/substitute.scm,
guix/scripts/system.scm,
guix/ssh.scm,
guix/upstream.scm: Use 'G_' instead of '_'.  Most of this change was
obtained by running: "sed -i -e's/(_ "/(G_ "/g' `find -name \*.scm`".
2017-05-03 16:16:17 +02:00
Jan Nieuwenhuizen 1c7a78f157
gnu: Add mes.
* gnu/packages/mes.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-03 16:16:17 +02:00
Efraim Flashner 0c5658df96
gnu: Add gcc@7.
* gnu/packages/gcc.scm (gcc@7): New variable.
2017-05-03 16:35:37 +03:00
Mathieu Othacehe 723f0ce797
gnu: connman: Update to 1.34.
* gnu/packages/connman.scm (connman): Update to 1.34.
2017-05-03 12:05:28 +02:00
Mathieu Othacehe 5e03b122cf
services: herd: Make %shepherd-socket-file a parameter and export it.
* gnu/services/herd.scm (%shepherd-socket-file): Make it an exported
  parameter.
(open-connection): Adapt.
2017-05-03 11:35:25 +02:00
Efraim Flashner 4b13e28a8d
gnu: Add gfortran@6.
* gnu/packages/gcc.scm (gfortran@6): New variable.
2017-05-03 07:33:35 +03:00
Leo Famulari 14dbab425a
gnu: imagemagick: Update to 6.9.8-4.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.8-4.
2017-05-03 00:11:44 -04:00
Danny Milosavljevic 06110559bb
gnu: build: file-systems: Add ISO-9660.
Fixes <https://bugs.gnu.org/26751>.

* gnu/build/file-systems.scm (iso9660-superblock?,
read-iso9660-primary-volume-descriptor, read-iso9660-superblock,
iso9660-superblock-uuid, iso9660-uuid->string,
iso9660-superblock-volume-name): New variables.
(%partition-label-readers): Add iso9660.
(%partition-uuid-readers): Add iso9660.
2017-05-03 00:18:33 +02:00
Petter 2f3108ad03
gnu: Avoid circular dependencies by Perl license.
* guix/licenses.scm (perl-license): New variable.
* gnu/packages/bioinformatics.scm: Change (package-license perl) to perl-license.
* gnu/packages/compression.scm: Same.
* gnu/packages/databases.scm: Same.
* gnu/packages/gd.scm: Same.
* gnu/packages/language.scm: Same.
* gnu/packages/libevent.scm: Same.
* gnu/packages/mail.scm: Same.
* gnu/packages/messaging.scm: Same.
* gnu/packages/ncurses.scm: Same.
* gnu/packages/networking.scm: Same.
* gnu/packages/photo.scm: Same.
* gnu/packages/tcl.scm: Same.
* gnu/packages/tex.scm: Same.
* gnu/packages/tls.scm: Same.
* gnu/packages/web.scm: Same.
* gnu/packages/wm.scm: Same.
* gnu/packages/xml.scm: Same.
* gnu/packages/xorg.scm: Same.
* gnu/packages/zip.scm: Same.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-02 23:41:14 +02:00
Ludovic Courtès dcb95c1fc9
monads: Add a template and specialization mechanism for monadic procedures.
* guix/monads.scm (%templates, %template-instances): New variables.
(register-template!, register-template-instance!): New procedures.
(template-directory, define-template): New macro.
(foldm, sequence, anym): Define using 'define-template'.  Avoid replace
ellipses with dots.
(mapm): Likewise, but do not use 'foldm'.
* guix/store.scm: Add 'template-directory' invocation.
2017-05-02 23:41:13 +02:00
Ludovic Courtès 7b9ac883ea
download: Continue handshake upon TLS warning alerts.
This allows us to download from site such as
<https://fusionforge.int-evry.fr> where the server does not recognize
the server name passed via the 'server_name' extension.

* guix/build/download.scm (tls-wrap): Catch 'gnutls-error' around
'handshake'.  Upon ERROR/WARNING-ALERT-RECEIVED, print a message and
call 'handshake'.
2017-05-02 23:41:13 +02:00
Ludovic Courtès 756be979cb
licenses: Add CeCILL and CeCILL-B.
* guix/licenses.scm (cecill, cecill-b): New variables.
2017-05-02 23:41:13 +02:00
Tobias Geerinckx-Rice beba0c09b9
gnu: youtube-dl: Update to 2017.05.01.
* gnu/packages/video.scm (youtube-dl): Update to 2017.05.01.
2017-05-02 23:35:59 +02:00
Tobias Geerinckx-Rice 8a1bb37817
gnu: hdparm: Update to 9.52.
* gnu/packages/linux.scm (hdparm): Update to 9.52.
2017-05-02 23:35:24 +02:00
Danny Milosavljevic 7e16478f18
gnu: Add python-mwclient.
Fixes <https://bugs.gnu.org/26744>.

* gnu/packages/python.scm (python-mwclient, python2-mwclient): New variables.
2017-05-02 22:21:36 +02:00
Danny Milosavljevic 1aecfe176a
gnu: python-pytest-cov: Update to 2.4.0.
Fixes <https://bugs.gnu.org/26743>.

* gnu/packages/python.scm (python-pytest-cov): Update to 2.4.0.
2017-05-02 22:20:44 +02:00
Efraim Flashner 341ccb0f3b
gnu: obs: Update to 18.0.2.
* gnu/packages/video.scm (obs): Update to 18.0.2.
2017-05-02 22:24:34 +03:00
rennes ed788c31cf
gnu: libgc: Fix Check for Hurd systems.
* gnu/packages/bdw-gc.scm (libgc)[arguments]: On GNU/Hurd systems
add '--disable-gcj-support' to #:configure-flags. Adjust #:configure-flags
to disable GCJ support and pass the 'gctest' test.
2017-05-02 18:14:24 +03:00
Ludovic Courtès 4aabc8eaa2
build: Install gnu/build/svg.scm.
Fixes a regression introduced in
commit 960887b297.

* Makefile.am (MODULES_NOT_COMPILED): New variable.
(nobase_dist_guilemodule_DATA): Add $(MODULES_NOT_COMPILED).
(EXTRA_DIST): Remove gnu/build/svg.scm.
* gnu/local.mk (MODULES_NOT_COMPILED): New variable.
2017-05-02 15:44:35 +02:00
Ludovic Courtès 693f12ce23
build: 'check-system' now depends on the bootstrap Guile tarballs.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* gnu/local.mk (BOOTSTRAP_GUILE_TARBALLS): New variable.
(DISTCLEANFILES): Define as an alias for 'BOOTSTRAP_GUILE_TARBALLS'.
* Makefile.am (check-system): Depend on $(BOOTSTRAP_GUILE_TARBALLS).
2017-05-02 15:10:05 +02:00
Ludovic Courtès 8a2105078b
substitute: Validate substitute URLs.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>
at <https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00548.html>.

* guix/scripts/substitute.scm (validate-uri): New procedure.
(guix-substitute): Use it.
2017-05-02 12:32:52 +02:00
Ludovic Courtès 49f9d7f697
services: nscd: Create /etc/resolv.conf if it does not exist.
* gnu/services/base.scm (nscd-activation): Create /etc/resolv.conf if it
does not exist yet.
2017-05-02 12:32:52 +02:00
Ludovic Courtès 1fd0fc0db4
gnu: parallel: Update to 20170422.
* gnu/packages/parallel.scm (parallel): Update to 20170422.
2017-05-02 12:32:52 +02:00