summaryrefslogtreecommitdiff
path: root/guix
AgeCommit message (Collapse)Author
2016-01-24Merge branch 'master' into core-updatesMark H Weaver
2016-01-20gnu: licenses: Add Mozilla Public License 1.0.Eric Bavier
* guix/licenses.scm (mpl1.0): New variable.
2016-01-20import: gem: Beautify only the description, not the synopsis.Ben Woodcroft
* guix/import/gem.scm (make-gem-sexp): Add synopsis argument. (gem->guix-package): Pass unbeautified synopsis to make-gem-sexp. * tests/gem.scm: Adapt it.
2016-01-20import: Add Bioconductor importer and updater.Ricardo Wurmus
* guix/import/cran.scm (%bioconductor-updater, latest-bioconductor-release, bioconductor-package?): New procedures. (cran->guix-package): Support repositories other than CRAN. (%bioconductor-url, %bioconductor-svn-url): New variables. (description->package): Update signature to distinguish between packages from different repositories. (latest-release): Rename procedure ... (latest-cran-release): ... to this. (cran-package?): Do not assume all R packages are available on CRAN. * tests/cran.scm: Update tests. * guix/scripts/import/cran.scm: Add "--archive" option and default to CRAN. * guix/scripts/refresh.scm (%updaters): Add "%bioconductor-updater". * doc/guix.texi: Document Bioconductor importer and updater.
2016-01-19build-system/haskell: Fix package.conf parsing.Eric Bavier
* guix/build/haskell-build-system.scm (register)[conf-depends]: Properly react to EOF while reading GHC package conf files.
2016-01-19guix build: Add '--keep-going'.Ludovic Courtès
* guix/scripts/build.scm (show-build-options-help) (%standard-build-options): Add --keep-going. * guix/scripts/build.scm (set-build-options-from-command-line): Honor it. * doc/guix.texi (Invoking guix build): Document it.
2016-01-19Merge branch 'master' into core-updatesMark H Weaver
2016-01-16Move <boot-parameters> to (gnu system).Alex Kost
* guix/scripts/system.scm (previous-grub-entries) (display-system-generation): Use accessors instead of matching <boot-parameters>. (boot-parameters, boot-parameters?, boot-parameters-label) (boot-parameters-root-device, boot-parameters-kernel) (boot-parameters-kernel-arguments, read-boot-parameters): Move to... * gnu/system.scm: ... here. Export them.
2016-01-14import: gem: Beautify description field.Ben Woodcroft
* guix/import/gem.scm (gem->guix-package): Use 'beautify-description'.
2016-01-14import: cran: Move beautify-description to utils module.Ben Woodcroft
* guix/import/cran.scm (beautify-description): Move from here... * guix/import/utils.scm: ... to here.
2016-01-13Merge branch 'master' into core-updatesLudovic Courtès
2016-01-13build-system/gnu: 'dist-package' can be passed the phases.Ludovic Courtès
* guix/build-system/gnu.scm (dist-package): Add #:phases parameter and honor it.
2016-01-13monad-repl: Close connection when leaving the monad REPL.Ludovic Courtès
* guix/monad-repl.scm (store-monad-language): Add 'store' parameter and use it. Remove call to 'open-connection'. (enter-store-monad): Use 'with-store' and pass the store to 'store-monad-language.
2016-01-11ruby: Abstract out path to GEM_HOME.Ben Woodcroft
Previously paths to the GEM_HOME of certain Ruby packages were hard-coded, so packages failed to build when Ruby was updated to 2.3.0. * guix/build/ruby-build-system.scm (gem-home): New procedure. * gnu/packages/ruby.scm (ruby-metaclass, ruby-instantiator, ruby-introspection, ruby-mocha, ruby-minitest-tu-shim): Use it.
2016-01-08build-system/python: 'pypi-uri' takes an optional file name extension.Ludovic Courtès
Suggested by swedebugia <swedebugia@riseup.net>. * guix/build-system/python.scm (pypi-uri): Add 'extension' parameter and use it.
2016-01-07import: Rename "cran-fetch" to "fetch-description".Ricardo Wurmus
* guix/import/cran.scm (cran-fetch): Rename procedure ... (fetch-description): ... to this.
2016-01-07import: Add package->upstream-name procedure.Ricardo Wurmus
* guix/import/cran.scm (package->upstream-name): New procedure.
2016-01-06build-system/gnu: Make 'package-with-explicit-inputs' idempotent.Ludovic Courtès
* guix/build-system/gnu.scm (package-with-explicit-inputs): Use 'ensure-keyword-arguments' instead of appending to ARGS. * gnu/packages/commencement.scm (static-bash-for-glibc): Add missing #:guile argument.
2016-01-06utils: Add 'ensure-keyword-arguments'.Ludovic Courtès
* guix/utils.scm (delkw, ensure-keyword-arguments): New procedures. * tests/utils.scm ("ensure-keyword-arguments"): New test.
2016-01-06http-client: Work around <http://bugs.gnu.org/22273>.Ludovic Courtès
* guix/http-client.scm (read-header-line): New procedure. Use it.
2016-01-06http-client: Fix erroneous comment.Ludovic Courtès
* guix/http-client.scm: Fix Guile version number in comment for Guile commit 5a10e41.
2016-01-06lint: cve: Catch host name lookup errors.Ludovic Courtès
* guix/scripts/lint.scm (package-vulnerabilities): Catch 'getaddrinfo-error'.
2016-01-06build: ruby: Remove cached gem after install.Ben Woodcroft
The .gem file stored in GEM_HOME after install is both redundant and an archive that stores timestamped files which makes builds non-deterministic, so delete it after 'gem install'. * guix/build/ruby-build-system.scm (install): Remove cached gem after install.
2016-01-05build: pull: Compile .scm files in one process.Taylan Ulrich Bayırlı/Kammer
* guix/build/pull.scm (call-with-process, report-build-progress) (p-for-each): Remove. (build-guix): Load and compile files in one process.
2016-01-05build-system/gnu: Add 'set-SOURCE-DATE-EPOCH' phase.Ludovic Courtès
This phase is inherited by other build systems, which ensures 'SOURCE_DATE_EPOCH' is always set in practice. * guix/build/python-build-system.scm (set-SOURCE-DATE-EPOCH): Remove. (%standard-phases): Don't add it. * guix/build/gnu-build-system.scm (set-SOURCE-DATE-EPOCH): New procedure. (%standard-phases): Add it. (gnu-build): Remove 'setenv' call for "SOURCE_DATE_EPOCH".
2016-01-05guix package: Allow multiple '--search' flags.Ludovic Courtès
* guix/scripts/package.scm (find-packages-by-description): Change 'rx' parameter to 'regexps'. [matches-all?, matches-one?]: New procedures. Use them. (process-query): Collect regexps from all 'search' queries, and pass them to 'find-packages-by-description'. * tests/guix-package.sh: Add tests. * doc/guix.texi (Invoking guix package): Document it.
2016-01-05ui: Update copyright year in '--version' output.Ludovic Courtès
* guix/ui.scm (show-version-and-exit): Increment copyright year.
2016-01-05git-download: Correctly implement recursive checkouts.Ludovic Courtès
Previously, the 'git checkout' invocation would remove sub-modules that had been initialized by 'git clone --recursive'. * guix/build/git.scm (git-fetch): Never use "git clone --recursive". Invoke "git submodule update --init --recursive" after "git checkout". Remove '.git' directories as the last step.
2016-01-03Merge branch 'master' into core-updatesLudovic Courtès
2016-01-02graph: %BAG-WITH-ORIGINS-NODE-TYPE includes the origin's guile.Ludovic Courtès
Before that it would include #f for most origins since that the default value of 'origin-patch-guile'. * guix/scripts/graph.scm (bag-node-edges): When 'origin-patch-guile' returns #f, use (default-guile). * tests/graph.scm ("bag DAG, including origins"): Check for an edge from O to (default-guile).
2016-01-02graph: %BAG-EMERGED-NODE-TYPE filters out origins.Ludovic Courtès
Fixes <http://bugs.gnu.org/22280>. Reported by Leo Famulari <leo@famulari.name>. * guix/scripts/graph.scm (%bag-emerged-node-type)[edges]: Mimic %BAG-NODE-TYPE. This is a followup to 38b92da.
2016-01-01build-system/gnu: Use the long option name for deterministic archives.Ludovic Courtès
This is a followup to 3eb34c6. * guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Use "--enable-deterministic-archives" instead of "-D" to work around Binutils bug <https://sourceware.org/bugzilla/show_bug.cgi?id=17671>. * guix/build/gnu-build-system.scm (strip): Likewise.
2015-12-30licenses: Add CC BY SA 3.0.Ricardo Wurmus
* guix/licenses.scm (cc-by-sa3.0): New variable.
2015-12-30guix build: Augment %PATCH-PATH when -L is passed.Ludovic Courtès
Fixes <http://bugs.gnu.org/22259>. Reported by Nikolay Merinov <nikolay.merinov@member.fsf.org>. * guix/scripts/build.scm (%standard-build-options) <-L>: Augment %PATCH-PATH. * tests/guix-package.sh: Add test.
2015-12-25guix package: Fix typo in comment.Leo Famulari
* guix/scripts/package.scm: Fix typo.
2015-12-21build: Add bioconductor-uri procedure.Ricardo Wurmus
* guix/build-system/r.scm (bioconductor-uri): New procedure.
2015-12-21import: Drop empty list items.Ricardo Wurmus
* guix/import/cran.scm (listify): Remove empty strings from result list.
2015-12-21http-client: Support basic authentication.Ricardo Wurmus
* guix/http-client.scm (http-fetch): Add Authorization header to request when the URI contains userinfo.
2015-12-20lint: The CPE name of GRUB is "grub2".Ludovic Courtès
Reported by Leo Famulari. * guix/scripts/lint.scm (package-name->cpe-name): Add "grub".
2015-12-20profiles: Honor search paths of propagated inputs.Ludovic Courtès
Fixes <http://bugs.gnu.org/22073>. Reported by Federico Beffa <beffa@ieee.org>. * guix/profiles.scm (package->manifest-entry): Use 'package-transitive-native-search-paths' when computing 'search-paths' field. * tests/profiles.scm ("package->manifest-entry, search paths"): New test.
2015-12-20packages: Add 'package-transitive-native-search-paths'.Ludovic Courtès
* guix/packages.scm (package-transitive-native-search-paths): New procedure. * tests/packages.scm ("package-transitive-native-search-paths"): New test.
2015-12-18build-system/gnu: Always pass "-D" to strip/objcopy.Ludovic Courtès
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Add "-D" to #:strip-flags. * guix/build/gnu-build-system.scm (strip): Likewise. Also pass "-D" to OBJCOPY-COMMAND.
2015-12-14gexp: 'local-file' resolves relative file names.Ludovic Courtès
* guix/gexp.scm (<local-file>): Rename constructor to '%%local-file'. Add 'absolute' field. (%local-file, extract-directory, absolute-file-name): New procedures. (current-source-directory): New macro. (local-file): Adjust call to '%local-file'. (local-file-absolute-file-name): New procedure. (local-file-compiler): Force the 'absolute' field. * tests/guix-system.sh: Test whether 'local-file' canonicalization works. * doc/guix.texi (G-Expressions): Adjust.
2015-12-14profiles: Silence Info installation.Ludovic Courtès
* guix/profiles.scm (info-dir-file)[build]: Pass --silent to 'install-info'.
2015-12-13guix build: Gracefully handle type errors in -e and -f.Ludovic Courtès
* guix/scripts/build.scm (options->things-to-build)[validate-type]: New procedure. [ensure-list]: Use it.
2015-12-13guix build: Remove dead code.Ludovic Courtès
* guix/scripts/build.scm (options->things-to-build): Remove unused 'match' clause.
2015-12-12Merge branch 'master' into core-updatesLudovic Courtès
2015-12-11import: cran: Parse DESCRIPTION instead of HTML.Ricardo Wurmus
* guix/import/cran.scm (description->alist, listify, beautify-description, description->package): New procedures. (table-datum, downloads->url, nodes->text, cran-sxml->sexp): Remove proceduces. (latest-release): Use parsed DESCRIPTION instead of SXML. * tests/cran.scm: Rewrite to match importer.
2015-12-11import: cran: Match more license strings.Ricardo Wurmus
* guix/import/cran.scm (string->license): Match more license strings to license symbols.
2015-12-09gnu-maintenance: Really find the latest GNOME releases.Ludovic Courtès
Reported by Efraim Flashner <efraim@flashner.co.il> at <https://lists.gnu.org/archive/html/guix-devel/2015-12/msg00202.html>. * guix/gnu-maintenance.scm (latest-ftp-release): Call KEEP-FILE? on directories too. (latest-gnome-release)[even-minor-version?]: Protect again MINOR being false; change pattern to match VERSION with two or more numbers. Remove use of 'version-major+minor'. [even-numbered-tarball?]: Rename to... [even-numbered?]: ... this. Use 'package-name->name+version'. When VERSION is #f, check NAME.