summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-30utils: Move 'package-name->name+version' to (guix build utils).Ludovic Courtès
* guix/utils.scm (package-name->name+version): Move to... * guix/build/utils.scm (package-name->name+version): ... here. New procedure. * guix/build/emacs-build-system.scm (package-name->name+version): Remove.
2015-08-30utils: Add 'strip-store-file-name'.Ludovic Courtès
* guix/build/utils.scm (strip-store-file-name): New procedure. * guix/build/emacs-build-system.scm (store-directory->name-version): Remove. Update callers to use 'strip-store-file-name'. * gnu/packages/gcc.scm (make-libstdc++-doc)[arguments]: Use 'strip-store-file-name' instead of 'string-drop'.
2015-08-30gnu: glibc: _PATH_BSHELL refers to our static bash.Ludovic Courtès
* gnu/packages/base.scm (glibc)[arguments]: Change _PATH_BSHELL in paths.h to refer to STATIC-BASH.
2015-08-30gnu: glibc: Use 'modify-phases'.Ludovic Courtès
* gnu/packages/base.scm (glibc)[arguments]: Use 'modify-phases' instead of 'alist-cons-before'.
2015-08-30build-system/gnu: Use monotic time to measure elapsed time.Ludovic Courtès
* guix/build/gnu-build-system.scm (gnu-build)[elapsed-time]: New procedure. Use it, and use (current-time time-monotonic) instead of (gettimeofday). Show one digit after the comma for the elapsed time.
2015-08-30gnu: ncurses: Really install headers to OUT/include.Ludovic Courtès
* gnu/packages/ncurses.scm (ncurses)[arguments]: Pass --enable-overwrite.
2015-08-29gnu: Use 'install-file' instead of 'mkdir-p' and 'copy-file' in obvious cases.Ludovic Courtès
* gnu/packages/bioinformatics.scm (bedtools, bowtie, bwa, hisat, samtools, plink, star): Use 'install-file' instead of 'mkdir-p' + 'copy-file'. * gnu/packages/check.scm (catch-framework): Likewise. * gnu/packages/code.scm (global): Likewise. * gnu/packages/emacs.scm (magit-svn, haskell-mode, emacs-pdf-tools): Likewise. * gnu/packages/engineering.scm (fastcap, fasthenry): Likewise. * gnu/packages/gnuzilla.scm (nss): Likewise. * gnu/packages/guile.scm (guile-minikanren): Likewise. * gnu/packages/java.scm (swt): Likewise. * gnu/packages/make-bootstrap.scm (%static-binaries): Likewise. * gnu/packages/maths.scm (lpsolve): Likewise. * gnu/packages/mp3.scm (mpc123): Likewise. * gnu/packages/ninja.scm (ninja): Likewise. * gnu/packages/python.scm (python-numpy, python-pyparsing): Likewise. * gnu/packages/screen.scm (dtach): Likewise. * gnu/packages/synergy.scm (synergy): Likewise. * gnu/packages/textutils.scm (utf8proc): Likewise. * gnu/packages/version-control.scm (git-test-sequence): Likewise. * gnu/packages/wicd.scm (wicd): Likewise.
2015-08-29utils: Add 'install-file'.Ludovic Courtès
* guix/build/utils.scm (install-file): New procedure.
2015-08-29gnu: glibc: Do not copy static Bash binary to bin/.Ludovic Courtès
This avoids problems when installing 'glibc' in a profile, where glibc's limited 'bash' would take precedence over the valid 'bash'. * gnu/packages/base.scm (glibc)[arguments]: Do not copy STATIC-BASH to OUT/bin. Instead, simply refer to it directly. [inputs]: Use STATIC-BASH instead of BASH-LIGHT. * gnu/packages/commencement.scm (static-bash-for-glibc): Likewise. (glibc-final)[arguments]: Add STATIC-BASH-FOR-GLIBC to #:allowed-references. (gcc-final)[arguments]: Likewise. [native-inputs]: Add "static-bash".
2015-08-29gnu: ncurses: Remove obsolete hack.Ludovic Courtès
* gnu/packages/ncurses.scm (ncurses)[arguments]: Remove obsolete Solaris hack.
2015-08-29gnu: ncurses: Rework trick to avoid reference to the bootstrap bash.Ludovic Courtès
This removes reliance on the availability of 'bin/sh' in glibc. * gnu/packages/ncurses.scm (ncurses): Remove 'configure-phase'. Add 'remove-shebang-phase'. [arguments]: Remove distinction between cross builds and native builds. Use 'modify-phases'. Add 'remove-unneeded-shebang' phase.
2015-08-29gnu: ncurses: Upgrade to 6.0.Ludovic Courtès
* gnu/packages/ncurses.scm (ncurses): Upgrade to 6.0. Change library names to '.so.6'.
2015-08-29gnu: binutils: Upgrade to 2.25.1.Ludovic Courtès
* gnu/packages/base.scm (binutils): Upgrade to 2.25.1.
2015-08-29gnu: Add 'bash-static'.Ludovic Courtès
* gnu/packages/bash.scm (static-bash): New variable.
2015-08-29download: Keep only 2 store items for all the downloads.Ludovic Courtès
This significantly reduces churn in the store. It also reduces run time of 'guix build inkscape -Sd' by ~10%. * guix/download.scm (url-fetch)[mirror-file]: New variable. [builder]: Get URL from the "guix download url" env. var. Get the mirrors from MIRROR-FILE. Pass #:script-name and #:env-vars to 'gexp->derivation'.
2015-08-29gexp: Add #:script-name parameter to 'gexp->derivation'.Ludovic Courtès
* guix/gexp.scm (gexp->derivation): Add #:script-name parameter. * doc/guix.texi (G-Expressions): Document it.
2015-08-29monads: Inline the procedure returned by liftN.Ludovic Courtès
* guix/monads.scm (define-lift): Turn into a macro that open-codes the result of its lift.
2015-08-28gnu: shadow: Update to 4.2.1.宋文武
* gnu/packages/admin.scm (shadow): Update to 4.2.1. [source]: Use the release tarball.
2015-08-28gnu: Add abduco.Leo Famulari
* gnu/packages/abduco.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-28gnu: Add cabal-install.Siniša Biđin
* gnu/packages/haskell.scm (cabal-install): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-28gnu: conky: Fix license.Ludovic Courtès
* gnu/packages/conky.scm (conky)[license]: Set to LICENSE:GPL3+.
2015-08-27gnu: services: Add nginx-service.David Thompson
* gnu/services/web.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * guix.texi ("Web Services"): New section.
2015-08-27import: Add Ruby gem importer.David Thompson
* gnu/scripts/import.scm (importers): Add "gem". * gnu/import/gem.scm: New file. * gnu/scripts/import/gem.scm: New file. * Makefile.am (MODULES): Add them. * guix.texi ("invoking guix import"): Document it.
2015-08-27import: pypi: Move generally useful procedures to utils module.David Thompson
* guix/import/pypi.scm (make-pypi-sexp): Factorize license to symbol conversion code. (string->license, snake-case, guix-hash-url): Move from here... * guix/import/utils.scm: ... to here. (license->symbol): New procedure.
2015-08-27gnu: Add ruby-arel.David Thompson
* gnu/packages/ruby.scm (ruby-arel): New variable.
2015-08-27gnu: Add conky.Siniša Biđin
* gnu/packages/conky.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-08-27gnu: lua: Add patch to generate pkg-config file.Siniša Biđin
* gnu/packages/patches/lua-pkgconfig.patch: New file. * gnu/packages/lua.scm (lua)[source]: Add patch. * gnu-system.am (dist_patch_DATA): Register patch. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-27Thank Eric Hanchrow.Ludovic Courtès
2015-08-27emacs: Add completions for 'guix graph'.Alex Kost
* emacs/guix-pcomplete.el (guix-pcomplete-parse-linter-regexp): Improve and rename to ... (guix-pcomplete-parse-list-regexp): ...this. New variable. (guix-pcomplete-lint-checkers): Use it. (guix-pcomplete-graph-types): New function. (guix-pcomplete-complete-command-arg): Complete package names for 'guix graph' command. (guix-pcomplete-complete-option-arg): Complete '-t/--type' option.
2015-08-27gnu: git-modes: Update to 1.2.0.Alex Kost
* gnu/packages/emacs.scm (git-modes): Update to 1.2.0. [arguments]: Disable tests.
2015-08-27gnu: magit-svn: Update to 2.1.0.Alex Kost
* gnu/packages/emacs.scm: Use (gnu packages base) module. Remove duplicated (gnu packages guile) and (gnu packages linux) modules. (magit-svn): Update to 2.1.0. [source]: Use 'url-fetch' method. [inputs]: Remove. Move "emacs" to 'native-inputs', move "magit" to 'propagated-inputs'. [native-inputs]: Add "tar" and "gzip". [propagated-inputs]: Add "dash". [arguments]: Adjust builder for the new inputs and unpacking the source.
2015-08-27gnu: magit: Update to 2.2.1.Alex Kost
* gnu/packages/emacs.scm (magit): Update to 2.2.1. [inputs]: Remove 'git:gui'. [propagated-inputs]: Add 'dash', remove 'git-modes'. [arguments]: Add PREFIX and DASH_DIR to 'make-flags'. Remove 'configure', 'augment-load-path' and 'post-install' phases.
2015-08-27daemon: Require a signature for imports made by root.Ludovic Courtès
This reinstates commit aa0f8409, which was inadvertently undone in commit 322eeb87. Running 'guix archive --import' as root would have let corrupt or unauthentic store items through. Reported by Eric Hanchrow <eric.hanchrow@gmail.com> at <http://bugs.gnu.org/21354>. * nix/nix-daemon/nix-daemon.cc (performOp) <wopImportPaths>: Pass true as the first argument to 'importPaths'.
2015-08-27tests: Skip 'set-network-interface-address' test when running as root.Ludovic Courtès
Reported by Eric Hanchrow <eric.hanchrow@gmail.com> in <http://bugs.gnu.org/21354>. * tests/syscalls.scm ("set-network-interface-address"): Skip when (getuid) returns zero.
2015-08-27Add graph.scm to 'POTFILES'.Ludovic Courtès
* po/guix/POTFILES.in: Add guix/scripts/graph.scm.
2015-08-27Add 'guix graph'.Ludovic Courtès
* guix/scripts/graph.scm, tests/graph.scm, tests/guix-graph.sh, doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot: New files. * Makefile.am (MODULES): Add guix/scripts/graph.scm. (SH_TESTS): Add tests/guix-graph.sh. (SCM_TESTS): Add tests/graph.scm. * doc.am (DOT_FILES, DOT_VECTOR_GRAPHICS): New variables. (EXTRA_DIST): Use them. (dist_infoimage_DATA): Use $(DOT_FILES). (pdf-local, info-local, ps-local): Likewise. * doc/guix.texi (Packages with Multiple Outputs): Add cross-reference to 'guix graph'. (Invoking guix gc): Likewise. (Invoking guix graph): New section.
2015-08-27build: Do not build (guix build syscalls) if 'mount' is missing from libc.Ludovic Courtès
This disables compilation of this module on GNU/Hurd. Reported by Manolis Ragkousis <manolis837@gmail.com>. * m4/guix.m4 (GUIX_CHECK_LIBC_MOUNT): New variable. * configure.ac: Use it. Define 'BUILD_SYSCALLS_MODULE' conditional. * Makefile.am (MODULES, EXTRA_DIST): Make 'guix/build/syscalls.scm' conditional on BUILD_SYSCALLS_MODULE.
2015-08-27gexp: Add 'lower-object'.Ludovic Courtès
* guix/gexp.scm (lower-object): New procedure. (lower-inputs, lower-references, gexp->sexp): Use it. * tests/gexp.scm ("lower-object"): New test. * doc/guix.texi (G-Expressions): Document it.
2015-08-26gnu: Add BioPerl.Ricardo Wurmus
* gnu/packages/bioinformatics.scm (bioperl-minimal): New variable.
2015-08-26gnu: pius: Adjust to the new libpius.Ludovic Courtès
Prior to this commit the libpius modules would not be found and the default GnuPG file name would be /usr/bin/gpg. * gnu/packages/gnupg.scm (pius)[inputs]: Remove PYTHON-2. [build-system]: Switch to PYTHON-BUILD-SYSTEM. [arguments]: Add #:python. Change to add a single phase, 'set-gpg-file-name'.
2015-08-26tests: Work around Btrfs handling of nlink for empty directories.Ludovic Courtès
Fixes <http://bugs.gnu.org/21280>. Reported by Leo Famulari <leo@famulari.name>. * tests/nar.scm (file-tree-equal?): Use #t as the initial result. Btrfs would set nlink to 1 instead of 2 for an empty directory, thereby leading 'file-tree-equal?' to return #f.
2015-08-25gnu: ratpoison: Clean definition.Mathieu Lirzin
* gnu/packages/ratpoison.scm (ratpoison)[arguments]: Use modify-phases. [inputs]: Sort alphabetically. Move ratpoison.desktop to ... [native-inputs]: ... here.
2015-08-25gnu: Add Pure Data.Ricardo Wurmus
* gnu/packages/music.scm (pd): New variable.
2015-08-25gnu: tmux: Update to 2.0.宋文武
* gnu/packages/tmux.scm (tmux): Update to 2.0. Update source uri and home-page to github.
2015-08-25gnu: weechat: Update to 1.3.宋文武
* gnu/packages/weechat.scm (weechat): Update to 1.3.
2015-08-24guix package: -s shows outputs.Mark H Weaver
* guix/ui.scm (package->recutils): Print "outputs:".
2015-08-24gnu: llvm: Update to 3.6.2.Andy Wingo
* gnu/packages/llvm.scm (llvm, clang-runtime, clang): Update to 3.6.2.
2015-08-24gnu: clang-runtime: New package, propagated by clang.Andy Wingo
* gnu/packages/llvm.scm (clang-runtime-from-llvm): New function. (clang-from-llvm): Add clang-runtime argument and propagate clang-runtime input. (clang-runtime, clang-runtime-3.5): New variables. (clang, clang-3.5): Adapt to propagate clang-runtime modules.
2015-08-24gnu: Simplify LLVM build.Andy Wingo
* gnu/packages/llvm.scm (llvm)[arguments]: Remove phases argument. Add to configure-flags "-DCMAKE_SKIP_BUILD_RPATH=FALSE" and "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE".
2015-08-23gnu: Add ghc-x11-xft.Siniša Biđin
* gnu/packages/haskell.scm (ghc-x11-xft): New variable. Signed-off-by: Eric Bavier <bavier@member.fsf.org>