summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-30Merge branch 'master' into core-updatesMark H Weaver
2014-12-29gnu: Revert use of '--strip-all'.Ludovic Courtès
This reverts commits f05bdc9412135f34a1c417edc203c35cd005d0d5 and 856ae5e6c71a1283a414d33e638051f95d3cce35. This broke all sorts of things. See <http://hydra.gnu.org/eval/102058>, for example.
2014-12-29list-packages: Expand 'mirror://' URIs for patches.Ludovic Courtès
* build-aux/list-packages.scm (package->sxml)[patches](patch-url): Use 'maybe-expand-mirrors' to get the real URL.
2014-12-29download: Export 'maybe-expand-mirrors'.Ludovic Courtès
* guix/build/download.scm (uri-vicinity, maybe-expand-mirrors): New procedures. (url-fetch): Remove them from here.
2014-12-29tests: Make the 'lint' tests slightly more concise.Ludovic Courtès
* tests/lint.scm (with-warnings): New macro. Replace all uses of 'call-with-warnings' with the corresponding 'with-warnings' form.
2014-12-29tests: Factorize the 'dummy-package' macro.Ludovic Courtès
* guix/tests.scm (dummy-package): New macro. * tests/lint.scm (dummy-package): Remove. * tests/packages.scm (dummy-package): Remove.
2014-12-29lint: Add tests for the 'home-page' checker.Ludovic Courtès
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-29gnu: Fix misuses of 'x11-style' licenses.Ludovic Courtès
* gnu/packages/xorg.scm (libevdev)[license]: Actually call 'license:x11-style'. (libxshmfence): Likewise.
2014-12-28gnu: Don't use --strip-all in cases where this is problematic.Ludovic Courtès
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-28lint: Report on the package being checked.Ludovic Courtès
* 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-28gnu: Fix or update a number of 'home-page' fields.Ludovic Courtès
* 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-28lint: Add 'home-page' checker.Ludovic Courtès
* 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-27gnu: libxml2: Add search path specification.Ludovic Courtès
* 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-27guix package: Use 'search-path-as-list' instead of custom code.Ludovic Courtès
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-27utils: Export 'search-path-as-list'.Ludovic Courtès
* guix/build/utils.scm (search-path-as-list): Make public. * guix/scripts/environment.scm (for-each-search-path): Use it.
2014-12-27packages: Add 'file-pattern' field to 'search-path-specification'.Ludovic Courtès
* guix/packages.scm (<search-path-specification>)[file-pattern]: New field. (search-path-specification->sexp): Honor it.
2014-12-27build-support/gnu: Add support for file patterns in search paths.Ludovic Courtès
* 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-27packages: Add 'file-type' field to 'search-path-specification'.Ludovic Courtès
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-27build-system/gnu: Strip with '--strip-all' instead of '--strip-debug'.Ludovic Courtès
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-27Merge branch 'xorg-updates'Mark H Weaver
2014-12-27gnu: vtk: Fix build with mesa-10.Mark H Weaver
* 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-27gnu: gmsh: Add glu to inputs.Mark H Weaver
* gnu/packages/maths.scm (gmsh): Add glu to inputs.
2014-12-27gnu: Use patch --force instead of --batch.Mark H Weaver
* 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-27build-system/gnu: Add support for non-directory search paths.Ludovic Courtès
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-27gnu: gettext: Update to 0.19.4.Ludovic Courtès
* gnu/packages/gettext.scm (gnu-gettext): Update to 0.19.4.
2014-12-27gnu: binutils: Update to 2.25.Ludovic Courtès
* gnu/packages/base.scm (binutils): Update to 2.25.
2014-12-26gnu: m4: Remove already-applied patch.Mark H Weaver
* 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-27gnu: gcc-4.8: Update to 4.8.4.Ludovic Courtès
* 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-26Merge branch 'master' into core-updatesLudovic Courtès
2014-12-26packages: Apply patches with "patch --force".Ludovic Courtès
Fixes <http://bugs.gnu.org/19402>. Reported by Mark H Weaver <mhw@netris.org>. * guix/packages.scm (patch-and-repack): Change "--batch" to "--force".
2014-12-26nls: Add French translation for packages.Ludovic Courtès
2014-12-26gnu: Add pysam.Ricardo Wurmus
* gnu/packages/python.scm (python-pysam, python2-pysam): New variables. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-26gnu: Add fastjar.Ricardo Wurmus
* gnu/packages/compression.scm (fastjar): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-26gnu: irrlicht: Fix build with mesa-10.Mark H Weaver
* gnu/packages/patches/irrlicht-mesa-10.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/games.scm (irrlicht): Add patch. Add glu to inputs.
2014-12-26Merge branch 'master' into xorg-updatesMark H Weaver
2014-12-26gnu: qemu: Update to 2.2.0.Mark H Weaver
* gnu/packages/qemu.scm (qemu): Update to 2.2.0.
2014-12-26gnu: pingus: Add glu to inputs.Mark H Weaver
* gnu/packages/games.scm (pingus): Add glu to inputs.
2014-12-26gnu: gnubik: Add glu to inputs.Mark H Weaver
* gnu/packages/games.scm (gnubik): Add glu to inputs.
2014-12-26gnu: gnubg: Add glu to inputs.Mark H Weaver
* gnu/packages/games.scm (gnubg): Add glu to inputs.
2014-12-26gnu: sdl: Fix incompatibility with libx11-1.6.Mark H Weaver
* gnu/packages/patches/sdl-libx11-1.6.patch: New file * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/sdl.scm (sdl): Add patch.
2014-12-26gnu: gtkglext: Add glu to inputs.Mark H Weaver
* gnu/packages/gnome.scm (gtkglext): Add glu to inputs.
2014-12-25gnu: ntp: Update to 4.2.8.Mark H Weaver
* gnu/packages/ntp.scm (ntp): Update to 4.2.8. Add openssl to inputs. Add pkg-config to native-inputs. Change source URI to archive.ntp.org.
2014-12-25gnu: ntp: Update to 4.2.8.Mark H Weaver
* gnu/packages/ntp.scm (ntp): Update to 4.2.8. Add openssl to inputs. Add pkg-config to native-inputs. Change source URI to archive.ntp.org.
2014-12-24Merge branch 'master' into xorg-updatesMark H Weaver
2014-12-23Revert "gnu: matplotlib: Comment out python2-matplotlib."Ludovic Courtès
This reverts commit afc720d34c43a2fcf0b5871226c15ad6c5f73697.
2014-12-23build-system/python: Fix 'package-with-explicit-python'.Ludovic Courtès
Reported by Federico Beffa <beffa@ieee.org> and Eric Bavier <ericbavier@gmail.com>. * guix/build-system/python.scm (package-with-explicit-python): Do nothing when P's build system is not PYTHON-BUILD-SYSTEM.
2014-12-23gnu: matplotlib: Comment out python2-matplotlib.Federico Beffa
* gnu/packages/python.scm (python2-matplotlib, python2-scipy, python2-numpy): Comment out python2-matplotlib and the packages making use of it as the generation of the derivation of these packages takes very long.
2014-12-21Optimize package-transitive-supported-systems.Mark H Weaver
* guix/packages.scm (first-value): Remove. (define-memoized/v): New macro. (package-transitive-supported-systems): Rewrite.
2014-12-21packages: Sort Scheme file lists used by 'fold-packages'.Ludovic Courtès
* gnu/packages.scm (scheme-files): Call 'sort' on result.
2014-12-20Merge branch 'master' into xorg-updatesMark H Weaver