Jason Self
c2d9355c36
gnu: linux-libre: Update to 3.18.2
...
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.2.
2015-01-09 21:19:43 -08:00
Ludovic Courtès
e9651e39b3
derivations: Add 'substitution-oracle' and use it.
...
This makes 'guix environment PACKAGE' significantly faster when
substitutes are enabled. Before that, it would lead to many invocations
of 'guix substitute-binary', one per 'derivation-prerequisites-to-build'
call. Now, all these are replaced by a single invocation.
* guix/derivations.scm (derivation-output-paths, substitution-oracle):
New procedures.
(derivation-prerequisites-to-build): Replace #:use-substitutes? with
#:substitutable?. Remove the local 'derivation-output-paths' and
'substitutable?'.
* guix/ui.scm (show-what-to-build): Add 'substitutable?'. Pass it to
'derivation-prerequisites-to-build'.
[built-or-substitutable?]: Use it instead of 'has-substitutes?'.
* tests/derivations.scm ("derivation-prerequisites-to-build and
substitutes"): Use #:substitutable? instead of #:use-substitutes?.
2015-01-10 00:39:59 +01:00
Ludovic Courtès
0b6af195fe
derivations: Add 'derivation-output-names'.
...
* guix/derivations.scm (derivation-output-names): New procedure.
(derivation-prerequisites-to-build): Use it for #:outputs.
(map-derivation): Likewise.
* tests/derivations.scm ("derivation-output-names"): New test.
2015-01-09 23:36:24 +01:00
Ludovic Courtès
eb9dfcb3c4
nls: Update 'eo' translation.
2015-01-09 23:33:05 +01:00
Eric Bavier
d45dc6da5c
import: Add CPAN importer.
...
* guix/import/cpan.scm, guix/scripts/import/cpan.scm, tests/cpan.scm:
New files.
* Makefile.am (MODULE)[HAVE_GUILE_JSON]: Add them.
* guix/scripts/import.scm (importers): Add cpan.
* doc/guix.texi (Requirements): Mention `guix import cpan` as a user
of guile-json.
(Invoking guix import): Document new `guix import cpan` command.
2015-01-09 10:38:26 -06:00
Eric Bavier
694b317c2d
tests: import: Factorize utility function.
...
* tests/pypi.scm (mock): Move this...
* guix/tests.scm: to here.
2015-01-09 10:38:25 -06:00
Eric Bavier
1ff2619bc1
import: Factorize utility functions.
...
* guix/import/pypi.scm (hash-table->alist, flatten, assoc-ref*,
url-fetch, json-fetch): Pull procedures from here into...
* guix/import/utils.scm: Here and...
* guix/import/json.scm: Here. New file.
* Makefile.am (MODULE)[HAVE_GUILE_JSON]: Add it.
* guix/import/gnu.scm (file-sha256): Move from here to...
* guix/hash.scm: Here.
* tests/pypi.scm (pypi->guix-package): Update mock module reference.
2015-01-09 10:33:24 -06:00
Eric Bavier
c6cb82f5d5
import: gnu: Propagate the key-download argument.
...
* guix/import/gnu.scm (gnu->guix-package): Pass the key-download
argument on to gnu-package->sexp.
2015-01-09 10:33:24 -06:00
Ricardo Wurmus
927d4d9bd8
gnu: poppler: build with openjpeg and lcms
...
* gnu/packages/pdf.scm (poppler): build poppler with openjpeg 1.5 and lcms.
2015-01-09 14:24:14 +01:00
Ricardo Wurmus
da2021bca1
gnu: openjpeg: Update to 2.0.1.
...
* gnu/packages/image.scm (openjpeg): Update to 2.0.1.
2015-01-09 14:24:07 +01:00
Ricardo Wurmus
6140b9d875
gnu: Add openjpeg-1.
...
* gnu/packages/image.scm (openjpeg-1): New variable.
2015-01-09 14:23:57 +01:00
Ricardo Wurmus
4100fe9d33
gnu: openjpeg: update home page URL.
...
* gnu/packages/image.scm (openjpeg)[home-page]: Update URL.
2015-01-09 14:23:46 +01:00
Ludovic Courtès
8234fcf21a
substitute-binary: Micro-optimize 'narinfo-sha256'.
...
* guix/scripts/substitute-binary.scm (narinfo-signature->canonical-sexp):
Change "~a" to "~s" in error message.
(%signature-line-rx): Remove.
(narinfo-sha256): Use 'string-contains' instead of 'regexp-exec', and
'string-take' instead of 'match:substring'.
2015-01-09 01:10:31 +01:00
Ludovic Courtès
fb519bd831
records: Optimize 'recutils->alist' by avoiding regexps.
...
* guix/records.scm (%recutils-field-rx, %recutils-comment-rx,
%recutils-plus-rx): Remove.
(%recutils-field-charset): New variable.
(recutils->alist): Adjust to use tests (string-ref line 0) instead of
regexps.
2015-01-09 01:08:10 +01:00
Ludovic Courtès
b2ad9d9b08
base64: Inline arithmetic operations.
...
* guix/base64.scm (define-alias): New macro.
(fxbit-field, fxarithmetic-shift, fxarithmetic-shift-left, fxand,
fxior, fxxor): New aliases.
2015-01-09 01:01:04 +01:00
Ludovic Courtès
05f0607bfc
tests: Add missing copyright line.
...
* tests/lint.scm: Add missing copyright line for commit 907c98ac
and
others.
2015-01-07 22:33:21 +01:00
Ludovic Courtès
aebb05b095
gnu: automake: Update to 1.15.
...
* gnu/packages/autotools.scm (automake): Update to 1.15.
2015-01-06 17:54:25 +01:00
Ludovic Courtès
d976258907
gnu: git-manpages: Install under $out/share/man, not $out/share.
...
* gnu/packages/version-control.scm (git-manpages)[argument]: Install
under $out/share/man, not $out/share.
2015-01-06 15:20:12 +01:00
Ludovic Courtès
1c38551a36
gnu: Add git-manpages.
...
* gnu/packages/version-control.scm (git-manpages): New variable.
2015-01-06 15:07:22 +01:00
Ludovic Courtès
50ec74308e
gnu: git: Update to 2.2.1.
...
* gnu/packages/version-control.scm (git): Update to 2.2.1.
2015-01-06 15:06:38 +01:00
Ludovic Courtès
ffc200d7e0
gnu: libtool-2.4.4: Disable tests on MIPS.
...
* gnu/packages/autotools.scm (libtool-2.4.4)[arguments]: New field.
2015-01-06 14:53:10 +01:00
宋文武
9331ba5dd9
linux-boot: Make /etc/mtab a symlink to /proc/self/mounts.
...
Fixes <http://bugs.gnu.org/19491 >.
* gnu/build/linux-boot.scm (mount-root-file-system): Make /root/etc/mtab
a symlink to /proc/self/mounts.
* gnu/build/file-systems.scm (mount-file-system): Don't update /etc/mtab.
* guix/build/syscalls.scm (mount, umount): Have #:update-mtab? default to
#f.
2015-01-05 22:24:00 +08:00
Ludovic Courtès
4379c35b73
doc: guix-daemon now automatically creates '…/profiles/per-user'.
...
Fixes <http://bugs.gnu.org/19315 >.
Reported by rekado <rekado@elephly.net>.
* doc/guix.texi (Invoking guix package): Adjust text to new guix-daemon
behavior introduced in commit 15ddeff
.
2015-01-04 23:42:51 +01:00
Ludovic Courtès
63cbe7a17a
build: Check for <tr1/unordered_set>, now used by the daemon.
...
* config-daemon.ac: Check for <tr1/unordered_set>.
2015-01-04 23:28:18 +01:00
Ludovic Courtès
15ddeff532
Merge commit a1dd396cc02922372314c35c8035a38bfeea08df of branch 'nix'.
2015-01-04 23:27:34 +01:00
Ludovic Courtès
828c0bec6b
pk-crypto: Improve docstring of signature-related procedures.
...
* guix/pk-crypto.scm (bytevector->hash-data, sign): Augment docstring.
2015-01-04 22:46:51 +01:00
Mark H Weaver
fcdebadf39
gnu: gcc-4.9: Fix build on MIPS.
...
* gnu/packages/gcc.scm (gcc-4.9): Add 'join-two-line-dynamic-linker-defns
phase.
2015-01-03 23:48:44 -05:00
Ludovic Courtès
ee06af5b4b
gnu: Search for patches under $GUIX_PACKAGE_PATH.
...
Fixes <http://bugs.gnu.org/19364 >.
Reported by Tomáš Čech <sleep_walker@suse.cz>
and Mark H Weaver <mhw@netris.org>.
* gnu/packages.scm (%patch-path): Move after definition of
%package-module-path'. Append "/gnu/packages/patches" only to
%DISTRO-ROOT-DIRECTORY.
* tests/guix-package.sh: Add 'emacs-foo-bar-patched' test.
2015-01-03 23:49:42 +01:00
Ludovic Courtès
e13f715be0
gnu: libtool: Add 2.4.4.
...
* gnu/packages/patches/libtool-2.4-skip-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/autotools.scm (libtool-2.4.4): New variable.
2015-01-03 23:35:43 +01:00
David Thompson
4b2fd119be
gnu: minetest: Update to 0.4.11.
...
* gnu/packages/patches/minetest-subgame-env-var.patch: Delete.
* gnu-system.am (dist_patch_DATA): Remove patch.
* gnu/packages/games.scm (minetest, minetest-data): Update to 0.4.11.
2015-01-02 16:46:41 -05:00
宋文武
f4e9727786
gnu: icon-naming-utils: Wrap with PERL5LIB to find XML::Simple.
...
Fixes <http://bugs.gnu.org/19367 >.
* gnu/packages/gnome.scm (icon-naming-utils)[arguments]: New field.
2015-01-02 11:20:13 +08:00
宋文武
27ef7f4542
gnu: perl-xml-simple: Propagate XML::Parser.
...
* gnu/packages/xml.scm (perl-xml-simple): Move XML::Parser from 'inputs'
to 'propagated-inputs'.
2015-01-02 11:20:13 +08:00
Mark H Weaver
0f481f0616
gnu: mesa: Fix build on non-intel systems.
...
* gnu/packages/gl.scm (mesa): On non-intel systems, pass
"--with-dri-drivers=" configure flag with i915 and i965 removed.
2015-01-01 02:30:46 -05:00
Mark H Weaver
171bf17cc5
gnu: libdrm: Remove old version 2.4.33.
...
* gnu/packages/xdisorg.scm (libdrm-2.4.33): Remove, as it is no longer needed.
2014-12-31 23:16:18 -05:00
Mark H Weaver
63d526e268
gnu: mutt: Add fix for CVE-2014-9116.
...
* gnu/packages/patches/mutt-CVE-2014-9116.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/mail.scm (mutt): Add patch.
2014-12-30 15:18:37 -05:00
Mark H Weaver
2d2301e37a
gnu: Import (gnu packages) into (gnu packages zip).
...
Should have been included in: e5da2f38c3
.
* gnu/packages/zip.scm: Import (gnu packages).
2014-12-30 15:10:30 -05:00
Mark H Weaver
e5da2f38c3
gnu: unzip: Add fixes for CVE-2014-{8139,8140,8141}.
...
* gnu/packages/patches/unzip-CVE-2014-8139.patch,
gnu/packages/patches/unzip-CVE-2014-8140.patch,
gnu/packages/patches/unzip-CVE-2014-8141.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/zip.scm (unzip): Add patches.
2014-12-30 14:48:13 -05:00
Mark H Weaver
c7bdc7ece5
gnu: cpio: Add fixes for CVE-2014-9112.
...
* gnu/packages/patches/cpio-CVE-2014-9112-pt1.patch,
gnu/packages/patches/cpio-CVE-2014-9112-pt2.patch,
gnu/packages/patches/cpio-CVE-2014-9112-pt3.patch,
gnu/packages/patches/cpio-CVE-2014-9112-pt4.patch,
gnu/packages/patches/cpio-CVE-2014-9112-pt5.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/cpio.scm (cpio): Add patches. Add 'autoconf' to
native-inputs.
2014-12-30 14:48:13 -05:00
Ludovic Courtès
1c69e4ce3f
list-packages: Expand 'mirror://' URIs for patches.
...
* build-aux/list-packages.scm (package->sxml)[patches](patch-url): Use
'maybe-expand-mirrors' to get the real URL.
2014-12-29 21:19:17 +01:00
Ludovic Courtès
dd8ea244f4
download: Export 'maybe-expand-mirrors'.
...
* guix/build/download.scm (uri-vicinity, maybe-expand-mirrors): New
procedures.
(url-fetch): Remove them from here.
2014-12-29 21:19:17 +01:00
Ludovic Courtès
4fbf4ca552
tests: Make the 'lint' tests slightly more concise.
...
* tests/lint.scm (with-warnings): New macro.
Replace all uses of 'call-with-warnings' with the corresponding
'with-warnings' form.
2014-12-29 21:19:13 +01:00
Ludovic Courtès
8b385969cf
tests: Factorize the 'dummy-package' macro.
...
* guix/tests.scm (dummy-package): New macro.
* tests/lint.scm (dummy-package): Remove.
* tests/packages.scm (dummy-package): Remove.
2014-12-29 21:18:12 +01:00
Ludovic Courtès
907c98acbb
lint: Add tests for the 'home-page' checker.
...
Suggested by Cyril Roelandt <tipecaml@gmail.com>.
* tests/lint.scm (%http-server-port, %http-server-socket, %local-url,
stub-http-server): New variables.
(http-write, call-with-http-server): New procedures.
(with-http-server): New macro.
("home-page: wrong home-page", "home-page: invalid URI", "home-page:
host not found", "home-page: Connection refused", "home-page: 200",
"home-page: 404"): New tests.
* guix/scripts/lint.scm (check-home-page): Export.
2014-12-29 21:17:36 +01:00
Ludovic Courtès
8f501ac849
gnu: Fix misuses of 'x11-style' licenses.
...
* gnu/packages/xorg.scm (libevdev)[license]: Actually call
'license:x11-style'.
(libxshmfence): Likewise.
2014-12-29 12:18:11 +01:00
Ludovic Courtès
c79c6e598a
lint: Report on the package being checked.
...
* guix/scripts/lint.scm (run-checkers): Check
whether (current-error-port) is a tty, and print the package being
checked and the checker currently running when it is.
2014-12-28 18:21:53 +01:00
Ludovic Courtès
07af3e5efe
gnu: Fix or update a number of 'home-page' fields.
...
* gnu/packages/fltk.scm (fltk): Fix 'home-page'.
* gnu/packages/fonts.scm (font-bitstream-vera): Likewise, and fix
license URL.
* gnu/packages/games.scm (gnubg, cmatrix, chess): Fix 'home-page'.
* gnu/packages/kde.scm (attica): Likewise.
* gnu/packages/mail.scm (fetchmail): Likewise.
* gnu/packages/popt.scm (popt): Likewise.
* gnu/packages/python.scm (python-mock): Likewise.
* gnu/packages/stalonetray.scm (stalonetray): Likewise.
2014-12-28 17:57:37 +01:00
Ludovic Courtès
a3bf096945
lint: Add 'home-page' checker.
...
* guix/build/download.scm (open-connection-for-uri): Export.
* guix/scripts/lint.scm (probe-uri, check-home-page): New procedures.
(%checkers): Add 'home-page' checker.
2014-12-28 17:57:36 +01:00
Mark H Weaver
f9930cfaab
Merge branch 'xorg-updates'
2014-12-27 12:03:04 -05:00
Mark H Weaver
7f9b77dc46
gnu: vtk: Fix build with mesa-10.
...
* gnu/packages/patches/vtk-mesa-10.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/vtk.scm (vtk): Add patch. Add glu to inputs.
2014-12-27 11:18:29 -05:00
Mark H Weaver
85f4190221
gnu: gmsh: Add glu to inputs.
...
* gnu/packages/maths.scm (gmsh): Add glu to inputs.
2014-12-27 11:18:29 -05:00