summaryrefslogtreecommitdiff
path: root/guix
Commit message (Collapse)AuthorAge
...
* Merge branch 'core-updates'Ludovic Courtès2015-05-02
|\
| * packages: Add '%hydra-supported-systems'.Ludovic Courtès2015-05-01
| | | | | | | | | | * build-aux/hydra/gnu-system.scm (%hydra-supported-systems): Remove. * guix/packages.scm (%hydra-supported-systems): New variable.
| * Merge branch 'master' into core-updatesLudovic Courtès2015-05-01
| |\
| * \ Merge branch 'master' into core-updates.Andreas Enge2015-04-26
| |\ \
| * | | build-system/{cmake,glib-or-gtk}: Add #:validate-runpath? parameter.Ludovic Courtès2015-04-23
| | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/cmake.scm (cmake-build): Add #:validate-runpath? parameter and pass it to BUILDER. * guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Likewise.
| * | | build-system/gnu: #:validate-runpath? now defaults to #t.Ludovic Courtès2015-04-23
| | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (validate-runpath): Change default value of VALIDATE-RUNPATH? to #t.
| * | | build-system/gnu: Gracefully handle dangling symlinks.Ludovic Courtès2015-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/20081>. Reported by Tomáš Čech <tcech@suse.cz>. * guix/build/gnu-build-system.scm (patch-source-shebangs): Remove files that don't pass 'file-exists?'. (patch-generated-file-shebangs): Likewise.
| * | | gremlin: Add support for the expansion of $ORIGIN in RUNPATH.Ludovic Courtès2015-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gremlin.scm (expand-variable, expand-origin): New procedures. (validate-needed-in-runpath): Map 'expand-origin' to the RUNPATH field of DYNINFO. * tests/gremlin.scm ("expand-origin"): New test.
* | | | build-system/gnu: 'dist-package' preserves the package's native inputs.Ludovic Courtès2015-05-02
| | | | | | | | | | | | | | | | | | | | * guix/build-system/gnu.scm (dist-package)[native-inputs]: Preserve P's native-inputs.
* | | | build-system/gnu: Adjust to removal of a "bin" output for Libtool.Ludovic Courtès2015-05-02
| |_|/ |/| | | | | | | | | | | * guix/build-system/gnu.scm (dist-package): Change libtool:bin input to just libtool.
* | | serialization: Adjust the permissive UTF-8 decoder to Guile 2.0.12ish.Ludovic Courtès2015-05-01
| | | | | | | | | | | | | | | | | | | | | | | | * guix/serialization.scm (read-maybe-utf8-string): Use 'set-port-encoding!' and 'set-port-conversion-strategy!' instead of setting '%default-port-encoding' and '%default-port-conversion-strategy'. This accounts for Guile commit d574d96, which changes bytevector input ports to use ISO-8859-1.
* | | substitute: Fix file descriptor leak in 'http-multiple-get'.Ludovic Courtès2015-05-01
| | | | | | | | | | | | | | | | | | | | | | | | In practice we would not leak much since we reconnect after ~100 requests (with nginx running on hydra.gnu.org.) * guix/scripts/substitute.scm (http-multiple-get): Call 'close-port' before 'connect'.
* | | download: Honor the 'http_proxy' and 'https_proxy' env. vars.Ludovic Courtès2015-05-01
| | | | | | | | | | | | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/20402>. Reported by Joshua Randall <jcrandall@alum.mit.edu>. * guix/download.scm (url-fetch): Pass #:leaked-env-vars to 'gexp->derivation'.
* | | derivations: Add #:leaked-env-vars parameter.Ludovic Courtès2015-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by Joshua Randall <jcrandall@alum.mit.edu> in <http://bugs.gnu.org/20402>. * guix/derivations.scm (derivation): Add #:leaked-env-vars parameter. [user+system-env-vars]: Honor it. * guix/gexp.scm (gexp->derivation): Add #:leaked-env-vars and pass it to 'raw-derivation'. * doc/guix.texi (Derivations, G-Expressions): Adjust accordingly.
* | | download: Simplify 'open-connection-for-uri' to support HTTP proxies.Ludovic Courtès2015-05-01
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | Partly fixes <http://bugs.gnu.org/20402>. Reported by Joshua Randall <jcrandall@alum.mit.edu>. * guix/build/download.scm (open-connection-for-uri): Rewrite to be a small wrapper around 'open-socket-for-uri'. This procedure was initially introduced in d14ecda to work around the lack of NSS modules during bootstrap but that has become unnecessary since 0621349, which introduced a bootstrap Guile that uses static NSS modules (from commit d3b5972.) On Guile >= 2.0.10, this allows the 'http_proxy' environment variable to be used.
* | packages: Add armhf-linux to %supported-systems.Mark H Weaver2015-04-22
|/ | | | * guix/packages.scm (%supported-systems): Add "armhf-linux".
* ui: Add 'symlink' replacement with better error reporting.Ludovic Courtès2015-04-20
| | | | * guix/ui.scm (symlink): New procedure.
* gexp: Add printers for <gexp-input> and <gexp-output>.Ludovic Courtès2015-04-20
| | | | | * guix/gexp.scm (write-gexp-input, write-gexp-output): New procedures. (<gexp-input>, <gexp-output>): Use them as printers.
* profiles: Create a CA certificate bundle only when it would be non-empty.Ludovic Courtès2015-04-20
| | | | | * guix/profiles.scm (ca-certificate-bundle): Create $output/etc/ssl/certs if and only if CA-FILES is non-empty.
* import: cpan: Fix license string for Artistic license.Eric Bavier2015-04-19
| | | | | * guix/import/cpan.scm (string->license): Remove extraneous "_0" suffix for Artistics licenses.
* guix package: Fix 'readlink*' implementation.Ludovic Courtès2015-04-19
| | | | | * guix/scripts/package.scm (readlink*): Fix to handle symlinks with relative targets. Taken from ld-wrapper2.in.
* guix package: -A and -s take supported systems into account.Ludovic Courtès2015-04-19
| | | | | | | | | | * guix/scripts/package.scm (guix-package)[process-query] <list-available>: Restrict results to packages matching 'supported-package?". * guix/ui.scm (package->recutils): Print "systems:". * tests/guix-package.sh: Add tests. * doc/guix.texi (Invoking guix package): Adjust description of '--list-available' accordingly.
* packages: Add 'supported-package?'.Ludovic Courtès2015-04-19
| | | | | | | * guix/packages.scm (supported-package?): New procedure. * tests/packages.scm ("supported-package?"): New test. * build-aux/hydra/gnu-system.scm (package->job): Use it instead of 'package-transitive-supported-systems'.
* Merge branch 'core-updates'Mark H Weaver2015-04-17
|\
| * Merge branch 'master' into core-updatesMark H Weaver2015-04-17
| |\ | | | | | | | | | | | | | | | Conflicts: gnu-system.am gnu/packages/gstreamer.scm
| * | refresh: Allow users to refer to specific package versions.Ludovic Courtès2015-04-16
| | | | | | | | | | | | | | | | | | | | | * guix/scripts/refresh.scm (guix-refresh): Use 'specification->package' instead of 'find-packages-by-name'. This allows users to specify things like "qt-4.8.6". * doc/guix.texi (Invoking guix refresh): Add an example.
| * | build-system/haskell: Adjust to new 'modify-phases' syntax.Ludovic Courtès2015-04-16
| | | | | | | | | | | | | | | * guix/build/haskell-build-system.scm (%standard-phases): Add missing quotes, as needed since commit f8503e2.
| * | build-system/haskell: Refer to %GNU-BUILD-SYSTEM-MODULES.Ludovic Courtès2015-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a regression whereby haskell-build-system was using an incomplete module list. * guix/build-system/haskell.scm (%haskell-build-system-modules): New variable. (haskell-build): Use it as the default value of #:imported-modules.
| * | packages: Refer to the native tools when handling sources and downloads.Ludovic Courtès2015-04-15
| | | | | | | | | | | | | | | | | | | | | | | | * guix/packages.scm (patch-and-repack)[build]: Change most #$ to #+. * guix/cvs-download.scm (cvs-fetch)[build]: Likewise. * guix/download.scm (url-fetch)[builder]: Likewise. * guix/git-download.scm (git-fetch)[build]: Likewise. * guix/svn-download.scm (svn-fetch)[build]: Likewise.
| * | lint: Add a 'derivation' checker.Ludovic Courtès2015-04-13
| | | | | | | | | | | | | | | | | | * guix/scripts/lint.scm (check-derivation): New procedure. (%checkers): Add 'derivation' checker. * tests/lint.scm ("derivation: invalid arguments"): New test.
| * | packages: 'package-transitive-supported-systems' accounts for implicit inputs.Ludovic Courtès2015-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by Federico Beffa. * guix/packages.scm (package-transitive-supported-systems): Use bag-direct-inputs + package->bag rather than package-direct-inputs. * tests/packages.scm ("package-transitive-supported-systems"): Add explicit 'build-system' field to each 'dummy-package' form. ("package-transitive-supported-systems, implicit inputs"): New test.
| * | packages: Add 'bag-direct-inputs'.Ludovic Courtès2015-04-11
| | | | | | | | | | | | | | | * guix/packages.scm (bag-direct-inputs): New procedure. (bag-transitive-inputs): Use it.
| * | lint: Report patches that cannot be found.Ludovic Courtès2015-04-10
| | | | | | | | | | | | | | | * guix/scripts/lint.scm (check-patch-file-names): Wrap body in 'guard'. * tests/lint.scm ("patches: not found"): New test.
| * | lint: Rename 'check-patches' to 'check-patch-file-names'.Ludovic Courtès2015-04-10
| | | | | | | | | | | | | | | | | | | | | * guix/scripts/lint.scm (check-patches): Rename to... (check-patch-file-names): ... this. Rename 'filename' to 'file'. (%checkers): Adjust accordingly. * tests/lint.scm ("patches: file names"): Likewise.
| * | Merge branch 'master' into core-updatesLudovic Courtès2015-04-09
| |\ \
| * \ \ Merge branch 'master' into core-updates宋文武2015-04-08
| |\ \ \
| * | | | gnu: Emit a warning when a package module cannot be loaded.Ludovic Courtès2015-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/ui.scm (warn-about-load-error): New procedure. * gnu/packages.scm (package-modules): Wrap 'resolve-interface' call in 'catch #t', and call 'warn-about-load-error' in handler.
| * | | | ui: Add 'report-load-error'.Ludovic Courtès2015-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/system.scm (read-operating-system): Replace error handling code by a call to 'report-load-error'. * guix/ui.scm (report-load-error): New procedure.
| * | | | utils: 'find-files' does not follow symlinks by default.Ludovic Courtès2015-04-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/20081>. Reported by Tomáš Čech <sleep_walker@suse.cz>. * guix/build/utils.scm (find-files): Add #:stat parameter. Pass it as last argument to 'file-system-fold'.
| * | | | build-system/gnu: Add docstring to 'delete-info-dir-file'.Federico Beffa2015-04-06
| | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (delete-info-dir-file): Add docstring.
| * | | | build-system/gnu: Add 'delete-info-dir-file' phase.Federico Beffa2015-04-06
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (delete-info-dir-file): New procedure. (%standard-phases): Use it.
| * | | | gremlin: Ignore non-store file names in RUNPATH and warn about them.Ludovic Courtès2015-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gremlin.scm (validate-needed-in-runpath)[runpath]: Add (filter absolute-file-name? ...). Emit a warning when RUNPATH file names that do not match 'store-file-name?'. Change format of error message to begin with file name. * guix/build/utils.scm (store-file-name?): New procedure.
| * | | | build-system/gnu: Add 'validate-runpath' phase.Ludovic Courtès2015-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (every*, validate-runpath): New procedures. (%standard-phases): Add 'validate-runpath'. * guix/build-system/gnu.scm (%gnu-build-system-modules): Add (guix build gremlin) and (guix elf). (gnu-build): Add #:validate-runpath?. [builder]: Pass it. (gnu-cross-build): Likewise. * gnu/packages/base.scm (glibc)[arguments]: Add #:validate-runpath? #f.
| * | | | utils: Make the second 'find-files' argument optional.Ludovic Courtès2015-04-01
| | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (find-files): Make 'pred' optional.
| * | | | build-system: Factorize the list of modules imported on the build side.Ludovic Courtès2015-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/gnu.scm (%default-modules): Rename to... (%gnu-build-system-modules): ... this. (%default-modules): New variable. (dist-package, gnu-build): Use %GNU-BUILD-SYSTEM-MODULES for #:imported-modules. (gnu-cross-build): Likewise, and use %DEFAULT-MODULES for #:modules. * guix/build-system/cmake.scm (%cmake-build-system-modules): New variable. (cmake-build): Use it for #:imported-modules. * guix/build-system/glib-or-gtk.scm (%default-imported-modules): Rename to... (%glib-or-gtk-build-system-modules): ... this. Refer to %GNU-BUILD-SYSTEM-MODULES. Adjust uses. * guix/build-system/perl.scm (%perl-build-system-modules): New variable. (perl-build): Use it for #:imported-modules. * guix/build-system/python.scm (%python-build-system-modules): New variable. (python-build): Use it for #:imported-modules. * guix/build-system/ruby.scm (%ruby-build-system-modules): New variable. (ruby-build): Use it for #:imported-modules. * guix/build-system/waf.scm (%waf-build-system-modules): New variable. (waf-build): Use it for #:imported-modules.
| * | | | gremlin: Guard against invalid ELF segments.Ludovic Courtès2015-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gremlin.scm (&elf-error, &invalid-segment-size): New error condition types. (dynamic-link-segment): Compare SEGMENT's offset + size to ELF's total size. (validate-needed-in-runpath): Wrap body in 'guard' form.
| * | | | gremlin: Add libnsl to libc's library list.Ludovic Courtès2015-04-01
| | | | | | | | | | | | | | | | | | | | * guix/build/gremlin.scm (%libc-libraries): Add "libnsl.so".
| * | | | utils: 'find-files' takes an arbitrary predicate as its second argument.Ludovic Courtès2015-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (file-name-predicate): New procedure. (find-files): Rename second parameter to 'pred'. When 'pred' is not a procedure, call 'file-name-predicate'. Use PRED instead of 'regexp-exec' in the leaf procedure.
| * | | | utils: 'modify-phases' no longer introduces quotes.Ludovic Courtès2015-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>. * guix/build/utils.scm (%modify-phases): Remove quotes. * guix/build/cmake-build-system.scm (%standard-phases): Adjust accordingly. * guix/build/glib-or-gtk-build-system.scm (%standard-phases): Likewise. * guix/build/gnu-dist.scm (%dist-phases): Likewise. * guix/build/perl-build-system.scm (%standard-phases): Likewise. * guix/build/python-build-system.scm (%standard-phases): Likewise. * guix/build/ruby-build-system.scm (%standard-phases): Likewise. * guix/build/waf-build-system.scm (%standard-phases): Likewise. * gnu/packages/bash.scm, gnu/packages/code.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/graphics.scm, gnu/packages/image.scm, gnu/packages/key-mon.scm, gnu/packages/ocr.scm, gnu/packages/plotutils.scm, gnu/packages/search.scm, gnu/packages/video.scm: Likewise.
| * | | | Merge branch 'master' into core-updatesLudovic Courtès2015-03-31
| |\ \ \ \