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
Ludovic Courtès
9b1bf33081
gnu: Remove a bunch of now unneeded '--mandir' configure flags.
...
This has become redundant with the 'validate-documentation-location'
phase introduced in commit d68fe74
.
* gnu/packages/compression.scm (bzip2): Remove 'fix-man-dir' phase.
* gnu/packages/ncurses.scm (ncurses)[arguments]: Remove --mandir.
* gnu/packages/pth.scm (pth)[arguments]: Remove #:configure-flags.
* gnu/packages/tcl.scm (tcl)[arguments]: Likewise.
* gnu/packages/xiph.scm (flac)[arguments]: Likewise.
2015-01-04 22:23:48 +01:00
Ludovic Courtès
d8491ba563
ld-wrapper: Add '-rpath' flag for libraries passed by file name.
...
Discussed at
<http://lists.gnu.org/archive/html/guix-devel/2015-01/msg00028.html >.
* gnu/packages/ld-wrapper.scm (switch-arguments, library-path): Remove.
(library-files-linked): Rewrite to include the name of libraries
passed by file names, and to honor the current -L search path instead
of the final one.
(rpath-arguments): Remove 'lib-path' parameter. Expect LIBRARY-FILES
to be a list of absolute file names.
(ld-wrapper): Adjust accordingly.
2015-01-04 22:21:11 +01:00
Ludovic Courtès
ac70048be2
build-system/gnu: Use executables from the target inputs in 'patch-shebangs'.
...
Fixes <http://bugs.gnu.org/18895 >.
* guix/build/gnu-build-system.scm (patch-shebangs): Add #:inputs
parameter. Remove 'bindirs'. Add 'bin-directories',
'output-bindirs', and 'input-bindirs'. Use them instead of (getenv
"PATH") to as the argument to 'patch-shebang'.
2015-01-04 18:16:16 +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
Ludovic Courtès
cf81a23639
guix package: Follow symlinks for pattern search paths.
...
* guix/scripts/package.scm (search-path-environment-variables): Add
local 'files' variable.
* tests/packages.scm ("--search-paths with pattern"): New test.
2015-01-03 19:46:07 +01:00
Ludovic Courtès
7452806931
gnu: libxml2: Wrap search path specification in a list.
...
Reported by Mark H Weaver.
* gnu/packages/xml.scm (libxml2)[native-search-paths]: Wrap into a list.
2015-01-03 18:48:16 +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
bf0baaf7db
gnu: glibc: MIPS: Avoid a dangling `vfork@GLIBC_2.0' reference.
...
* gnu/packages/patches/glibc-mips-dangling-vfork-ref.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc): Add patch.
2014-12-30 19:58:05 -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
Mark H Weaver
26804e1351
gnu: glibc: Add fixes for CVE-2014-7817 and CVE-2012-3406.
...
* gnu/packages/patches/glibc-CVE-2012-3406.patch,
gnu/packages/patches/glibc-CVE-2014-7817.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/base.scm (glibc): Add patches.
2014-12-30 13:57:40 -05:00
Mark H Weaver
8cbb67e045
Merge branch 'master' into core-updates
2014-12-30 12:23:32 -05:00
Ludovic Courtès
7da473b757
gnu: Revert use of '--strip-all'.
...
This reverts commits f05bdc9412
and 856ae5e6c7
.
This broke all sorts of things. See <http://hydra.gnu.org/eval/102058 >,
for example.
2014-12-29 21:54:12 +01: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
f05bdc9412
gnu: Don't use --strip-all in cases where this is problematic.
...
This is a followup to 856ae5e
. See <http://hydra.gnu.org/build/180506 >
for an example of build failure.
* guix/build/gnu-build-system.scm (strip): Add #:archive-strip-flags
parameter. Use it when (ar-file? path).
* guix/build-system/gnu.scm (gnu-build): Add #:archive-strip-flags
parameter and pass it down.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Add
#:strip-flags.
* gnu/packages/base.scm (glibc)[arguments]: Likewise.
2014-12-28 23:46:59 +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
Ludovic Courtès
2a8d44015f
gnu: libxml2: Add search path specification.
...
* gnu/packages/xml.scm (libxml2)[native-search-paths, search-paths]: New
fields.
* gnu/packages/gnome.scm (gnome-doc-utils)[arguments]: Remove.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Remove settings for
'XML_CATALOG_FILES' from 'configure' phase.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
2014-12-27 23:54:23 +01:00
Ludovic Courtès
cc9a5c1454
guix package: Use 'search-path-as-list' instead of custom code.
...
This will handle the new 'file-type' and 'file-pattern' fields correctly.
* guix/scripts/package.scm (search-path-environment-variables)[search-path-definition]:
Rewrite in terms of 'search-path-as-list'.
2014-12-27 23:46:10 +01:00
Ludovic Courtès
bd2fc4d813
utils: Export 'search-path-as-list'.
...
* guix/build/utils.scm (search-path-as-list): Make public.
* guix/scripts/environment.scm (for-each-search-path): Use it.
2014-12-27 23:24:35 +01:00
Ludovic Courtès
7b21fe5385
packages: Add 'file-pattern' field to 'search-path-specification'.
...
* guix/packages.scm (<search-path-specification>)[file-pattern]: New
field.
(search-path-specification->sexp): Honor it.
2014-12-27 23:22:55 +01:00
Ludovic Courtès
7ec02d374d
build-support/gnu: Add support for file patterns in search paths.
...
* guix/build/utils.scm (search-path-as-list): Add #:pattern parameter
and honor it.
(set-path-environment-variable): Likewise, and pass it to
'search-path-as-list'.
* guix/packages.scm (search-path-specification->sexp): Add PATTERN slot.
* guix/build/gnu-build-system.scm (set-paths): Adjust accordingly.
2014-12-27 23:22:55 +01:00
Ludovic Courtès
af07095516
packages: Add 'file-type' field to 'search-path-specification'.
...
Fixes <http://bugs.gnu.org/18033 >.
* guix/packages.scm (<search-path-specification>): Rename 'directories'
field to 'files'. Add 'file-type'.
(search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
gnu/packages/cross-base.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/glib.scm,
gnu/packages/guile.scm, gnu/packages/man.scm,
gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 23:22:49 +01:00
Ludovic Courtès
856ae5e6c7
build-system/gnu: Strip with '--strip-all' instead of '--strip-debug'.
...
This saves 19% on the 'bin' directory of Coreutils, and certainly
helpful for things like Git's 'libexec' directory.
* guix/build-system/gnu.scm (gnu-build): Change default value for
#:strip-flags to '("--strip-all").
* guix/build/gnu-build-system.scm (strip): Ditto.
* gnu/packages/linux.scm (linux-libre)[arguments]: Add #:strip-flags.
2014-12-27 19:20:18 +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
Mark H Weaver
9a224ac2e3
gnu: Use patch --force instead of --batch.
...
* gnu/packages/linux.scm (linux-libre, net-tools): Pass "--force" to patch,
instead of "--batch".
* gnu/packages/mit-krb5.scm (mit-krb5): Ditto.
2014-12-27 08:45:17 -05:00
Ludovic Courtès
6aa47e3883
build-system/gnu: Add support for non-directory search paths.
...
Partly fixes <http://bugs.gnu.org/18033 >.
* guix/build/utils.scm (search-path-as-list): Rename 'sub-directories'
parameter to 'files'. Add #:type parameter and honor it.
(set-path-environment-variable): Likewise. Pass #:type to
'search-path-as-list'.
* guix/packages.scm (search-path-specification->sexp): Add 'directory as
the last item of the tuple.
* guix/build/gnu-build-system.scm (set-paths): Add 'type' to search-path
pattern. Pass #:type to 'set-path-environment-variable'.
2014-12-27 12:25:31 +01:00
Ludovic Courtès
8c89f514bf
gnu: gettext: Update to 0.19.4.
...
* gnu/packages/gettext.scm (gnu-gettext): Update to 0.19.4.
2014-12-27 12:25:31 +01:00
Ludovic Courtès
84c84ce7bf
gnu: binutils: Update to 2.25.
...
* gnu/packages/base.scm (binutils): Update to 2.25.
2014-12-27 12:25:31 +01:00
Mark H Weaver
6ac8aa3d75
gnu: m4: Remove already-applied patch.
...
* gnu/packages/patches/m4-readlink-EINVAL.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/m4.scm (m4): Remove patch.
2014-12-26 20:26:10 -05:00
Ludovic Courtès
0d12bc744e
gnu: gcc-4.8: Update to 4.8.4.
...
* gnu/packages/gcc.scm (gcc-4.8): Update to 4.8.4. Remove patch.
* gnu/packages/patches/gcc-fix-pr61801.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2014-12-27 00:17:43 +01:00
Ludovic Courtès
763a401ed1
Merge branch 'master' into core-updates
2014-12-26 23:31:04 +01:00