aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* build-system: Introduce "bags" as an intermediate representation.Ludovic Courtès2014-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system.scm (<build-system>)[build, cross-build]: Remove. [lower]: New field. (<bag>): New record type. (make-bag): New procedure. * guix/packages.scm (bag-transitive-inputs, bag-transitive-build-inputs, bag-transitive-host-inputs, bag-transitive-target-inputs, package->bag): New procedures. (package-derivation): Use it; use the bag, apply its build procedure, etc. (package-cross-derivation): Likewise. * gnu/packages/bootstrap.scm (raw-build, make-raw-bag): New procedure. (%bootstrap-guile): Use them. * guix/build-system/trivial.scm (lower): New procedure. (trivial-build, trivial-cross-build): Remove 'source' parameter. Pass INPUTS as is. (trivial-build-system): Adjust accordingly. * guix/build-system/gnu.scm (%store, inputs-search-paths, standard-search-paths, expand-inputs, standard-inputs): Remove. (gnu-lower): New procedure. (gnu-build): Remove 'source' and #:implicit-inputs? parameters. Remove 'implicit-inputs' and 'implicit-search-paths' variables. Get the source from INPUT-DRVS. (gnu-cross-build): Likewise. (standard-cross-packages): Remove call to 'standard-packages'. (standard-cross-inputs, standard-cross-search-paths): Remove. (gnu-build-system): Remove 'build' and 'cross-build'; add 'lower'. * guix/build-system/cmake.scm (lower): New procedure. (cmake-build): Remove 'source' and #:cmake parameters. Use INPUTS and SEARCH-PATHS as is. Get the source from INPUTS. * guix/build-system/perl.scm: Likewise. * guix/build-system/python.scm: Likewise. * guix/build-system/ruby.scm: Likewise. * gnu/packages/cross-base.scm (cross-gcc): Change "cross-linux-headers" to "linux-headers". (cross-libc)[xlinux-headers]: Pass #:implicit-cross-inputs? #f. Likewise. In 'propagated-inputs', change "cross-linux-headers" to "linux-headers". * guix/git-download.scm (git-fetch): Use 'standard-packages' instead of 'standard-inputs'. * tests/builders.scm ("gnu-build-system"): Remove use of 'build-system-builder'. ("gnu-build"): Remove 'source' and #:implicit-inputs? arguments to 'gnu-build'. * tests/packages.scm ("search paths"): Adjust to new build system API. ("package-cross-derivation, no cross builder"): Likewise. * doc/guix.texi (Build Systems): Add paragraph on bags.
* build-system: Remove irrelevant special case.Ludovic Courtès2014-10-05
| | | | | | | | | | | * guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Remove comment about case where GUILE is a derivation path. * guix/build-system/cmake.scm (cmake-build): Remove case where GUILE is a derivation path. * guix/build-system/perl.scm (perl-build): Likewise. * guix/build-system/python.scm (python-build): Likewise. * guix/build-system/ruby.scm (ruby-build): Likewise. * guix/build-system/trivial.scm (guile-for-build): Likewise.
* utils: Add 'strip-keyword-arguments'.Ludovic Courtès2014-10-05
| | | | | * guix/utils.scm (strip-keyword-arguments): New procedure. * tests/utils.scm ("strip-keyword-arguments"): New test.
* guix package: Export generation procedures.Alex Kost2014-10-05
| | | | | | | | | | | * guix/scripts/package.scm: Export 'roll-back', 'delete-generation', 'delete-generations'. (link-to-empty-profile, roll-back): Add 'store' argument. (delete-generations): New procedure. (guix-package): Adjust accordingly. [delete-generation]: Move to the top level. Add 'store' and 'profile' arguments. [display-and-delete]: Move to 'delete-generation'.
* gnu: bazaar: Update to 2.6.0.Jason Self2014-10-04
| | | | * gnu/packages/version-control.scm (bazaar): Update to version 2.6.0.
* gnu: git: Fix download location.Andreas Enge2014-10-05
| | | | | * gnu/packages/version-control.scm (git): Fix source uri by switching to kernel.org.
* gnu: git: Update to 2.1.2.Ludovic Courtès2014-10-04
| | | | * gnu/packages/version-control.scm (git): Update to 2.1.2.
* build-system/cmake: Add #:build-type parameter, default to "RelWithDebInfo".Ludovic Courtès2014-10-04
| | | | | | | | | * guix/build-system/cmake.scm (cmake-build): Add #:build-type. Pass it in BUILDER. * guix/build/cmake-build-system.scm (configure): Add #:build-type parameter and honor it. * doc/guix.texi (Build Systems): Document #:configure-flags and #:build-type for CMake.
* gnu: pspp: Upgrade to 0.8.4.John Darrington2014-10-03
| | | | * gnu/packages/maths.scm (pspp): Upgrade to 0.8.4.
* gnu: windowmaker: Update to 0.95.6.Ludovic Courtès2014-10-03
| | | | * gnu/packages/gnustep.scm (windowmaker): Update to 0.95.6.
* ui: Recognize the same size units as Coreutils.Ludovic Courtès2014-10-03
| | | | | | | | | * guix/ui.scm (size->number): Add a bunch of large units. Recognize one-letter unit names. Change "KB" to "kB". * tests/ui.scm ("size->number, 1T"): New test. * doc/guix.texi (Invoking guix gc): Add cross-reference to "Block size" in the Coreutils manual. (Invoking guix system): Likewise.
* download: Allow raw file names or file:// URLs.Ludovic Courtès2014-10-03
| | | | | | | * guix/download.scm (url-fetch): When URL is a string, if it's not a URI or if it's a URI with 'file' or #f scheme, use 'add-to-store'. * tests/builders.scm ("url-fetch, file", "url-fetch, file URI"): New tests.
* emacs: Add support for modifying options during operation confirmation.Alex Kost2014-10-02
| | | | | | | | | | | * emacs/guix-base.el (guix-operation-option-key): New face. (guix-operation-option-true-string, guix-operation-option-false-string, guix-operation-option-separator, guix-operation-options): New variables. (guix-operation-option-by-key, guix-operation-option-key, guix-operation-option-name, guix-operation-option-variable, guix-operation-option-value, guix-operation-option-string-value, guix-operation-prompt, guix-operation-set-mode-line): New procedures. (guix-continue-package-operation-p): Use 'guix-operation-prompt'.
* gnu: Add dfu-programmerManolis Ragkousis2014-10-02
| | | | | | | | * gnu/packages/flashing-tools.scm (dfu-programmer): New variable. * gnu/packages/patches/dfu-programmer-fix-libusb.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: tor: Update to 0.2.4.24.Mark H Weaver2014-10-02
| | | | * gnu/packages/tor.scm (tor): Update to 0.2.4.24.
* gnu: autogen: Upgrade to 5.18.4.Eric Bavier2014-09-30
| | | | | * gnu/packages/autogen.scm (autogen): Upgrade to 5.18.4. [native-inputs]: New field.
* gnu: Add perf.Ludovic Courtès2014-09-30
| | | | * gnu/packages/linux.scm (perf): New variable.
* gnu: Move flashrom and avrdude to (gnu packages flashing-tools).Manolis Ragkousis2014-09-30
| | | | | | | | | * gnu/packages/admin.scm (flashrom): Move this and... * gnu/packages/avrdude.scm (avrdude): ... this to... * gnu/packages/flashing-tools.scm: ... this. New file. * gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* pull: Add dependency on Guile-JSON.Ludovic Courtès2014-09-30
| | | | | | | Reported by Alex Sassmannshausen <alex.sassmannshausen@gmail.com>. * guix/scripts/pull.scm (unpack): Add Guile-JSON to %load-path and %load-compiled-path.
* build: Build pypi modules only if 'guile-json' is available.Alex Kost2014-09-30
| | | | | * Makefile.am (MODULES): Wrap 'guix/import/pypi.scm' and 'guix/scripts/import/pypi.scm' in 'if HAVE_GUILE_JSON'.
* gnu: Move giflib to (gnu packages image).Alex Kost2014-09-30
| | | | | | | * gnu/packages/giflib.scm: Remove. Move the contents to (gnu packages image). * gnu-system.am (GNU_SYSTEM_MODULES): Remove giflib file name. * gnu/packages/emacs.scm: Remove giflib module name. * gnu/packages/image.scm (giflib): New variable.
* import: Add PyPI importer.David Thompson2014-09-29
| | | | | | | | | | | | | | | | | | | * guix/snix.scm: Delete. * guix/import/snix.scm: New file. * guix/import/pypi.scm: New file. * guix/import/utils.scm: New file. * guix/scripts/import/nix.scm: New file. * guix/scripts/import/pypi.scm: New file. * tests/pypi.scm: New file. * tests/snix.scm: Import (guix import snix) module. * guix/scripts/import.scm (%default-options, %options): Delete. (%standard-import-options, importers): New variables. (show-help): List importers. (guix-import): Factor out Nix-specific logic. Delegate to correct importer based upon first argument. * configure.ac (HAVE_GUILE_JSON): New conditional. * Makefile.am (MODULES): Add new files and remove 'guix/snix.scm'. (SCM_TESTS): Add 'tests/pypi.scm' if guile-json is installed.
* gnu: Add dblatex.Eric Bavier2014-09-29
| | | | * gnu/packages/docbook.scm (dblatex): New variable.
* gnu: guile-ncurses: Update to 1.5.Ludovic Courtès2014-09-29
| | | | | | * gnu/packages/guile.scm (guile-ncurses): Update to 1.5. Remove patch. * gnu/packages/patches/guile-ncurses-tests.patch: Remove. * gnu-system.am (dist_patch_DATA): Remove it.
* packages: Optimize 'find-packages-by-name' to avoid disk accesses.Ludovic Courtès2014-09-29
| | | | | | | | On a profile with 182 entries, "guix package --search-paths" goes from 4.5 seconds down to 0.4 second. * gnu/packages.scm (find-packages-by-name): Make a name -> package vhash in a promise; access it with 'vhash-fold*'.
* nls: Recognize 'N_' as equivalent to 'ngettext'.Ludovic Courtès2014-09-29
| | | | | | This fixes i18n of plural messages. * po/guix/Makevars (XGETTEXT_OPTIONS): Change 'N_' to 'N_:1,2'.
* gnu: bash: Update to 4.3.27 and fix out-of-bounds memory accesses.Mark H Weaver2014-09-29
| | | | | | | | | | | | Based on a patch by Ludovic Courtès <ludo@gnu.org>. * gnu/packages/bash.scm (%patch-series-4.3): Add two patches. (bash)[source]: Add parser-oob patch. Add 'snippet'. [native-inputs]: New field. * gnu/packages/commencement.scm (bison-boot1): New variable. (static-bash-for-glibc): Add 'native-inputs'. Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
* gnu: Add synergy.Eric Bavier2014-09-29
| | | | | * gnu/packages/synergy.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: duplicity: Fix and disable some tests.Eric Bavier2014-09-28
| | | | | | | | | | * gnu/packages/patches/duplicity-piped-password.patch: New patch. * gnu/packages/patches/duplicity-test_selection-tmp.patch: New patch. * gnu-system.am (dist_patch_DATA): Add them. * gnu/packages/backup.scm (duplicity)[source]: Add patches field. [inputs]: Add util-linux and tzdata. [arguments]: rename patch-tests phase to check-setup. Set HOME and TZDIR for tests.
* gnu: Add dionysus.Mathieu Lirzin2014-09-29
| | | | | | * gnu/packages/maths.scm (dionysus): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add ruby-i18n.David Thompson2014-09-28
| | | | * gnu/packages/ruby.scm (ruby-i18n): New variable.
* build: Add ruby build system.David Thompson2014-09-28
| | | | | | | * guix/build-system/ruby.scm: New file. * guix/build/ruby-build-system: New file. * Makefile.am (MODULES): Add new files. * doc/guix.texi (Build Systems): Document ruby-build-system.
* gnu: Add ruby.Pjotr Prins2014-09-28
| | | | | | | | Co-authored-by: David Thompson <davet@gnu.org> * gnu/packages/ruby.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * guix/licenses.scm (ruby): New variable.
* emacs: Use package/output type variables where needed.Alex Kost2014-09-28
| | | | | | | | | | * emacs/guix-list.el (guix-package-list-type, guix-output-list-describe-type): Move to... * emacs/guix-base.el: ... here. Rename 'guix-output-list-describe-type' to 'guix-package-info-type'. * emacs/guix-info.el (guix-generation-info-insert-number): Use 'guix-package-list-type'. * emacs/guix.el (guix-get-show-packages): Use 'guix-package-info-type'.
* emacs: Support font-locking.Alex Kost2014-09-28
| | | | | | | | | | | | | | | | | | | Avoid breaking highlighting after adding new font-lock keywords. * emacs/guix-base.el (guix-insert-package-strings): Use 'propertize' instead of 'guix-get-string'. * emacs/guix-info.el (guix, guix-action, guix-file, guix-url, guix-package-location, guix-package-name): New button types. (guix-info-insert-action-button, guix-info-insert-file-path, guix-info-insert-url, guix-package-info-insert-location, guix-package-info-insert-full-names, guix-package-info-insert-non-unique-text): Adjust for 'guix-insert-button' and button types. (guix-package-info-name-button): New face. (guix-package-info-define-insert-inputs): Use it. Add new button types. (guix-package-info-insert-full-name): Remove. * emacs/guix-utils.el (guix-get-string): Replace 'face' with 'font-lock-face'. (guix-insert-button): Adjust for using button types.
* emacs: Fix errors in receiving information.Alex Kost2014-09-28
| | | | | | * emacs/guix-main.scm (package-pattern-transformer, output-pattern-transformer): Add fallback 'match' clauses. (find-generations): Fix getting generations by IDs.
* doc: Use 'define-public' in example package recipe.Ian Denhardt2014-09-28
| | | | | | | * doc/guix.texi (Defining Packages): Use 'define-public' instead of 'define'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: hurd-headers: Use --build instead of --host.Manolis Ragkousis2014-09-28
| | | | | | | * gnu/packages/hurd.scm (hurd-headers): Replace '--host' with '--build'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: qt-4: Explicitly link with icu.Andreas Enge2014-09-28
| | | | | * gnu/packages/qt.scm (qt-4): Explicitly link with libicui18n, which is dlopened by QtCore.so.
* gnu: Add Nix.Ludovic Courtès2014-09-28
| | | | | | | This commit is dedicated to the Nix project, without which we wouldn't be hacking all this today. :-) * gnu/packages/package-management.scm (nix): New variable.
* gnu: Add perl-www-curl.Ludovic Courtès2014-09-28
| | | | * gnu/packages/web.scm (perl-www-curl): New variable.
* gnu: Add perl-dbi and perl-dbd-sqlite.Ludovic Courtès2014-09-28
| | | | * gnu/packages/databases.scm (perl-dbi, perl-dbd-sqlite): New variable.
* gnu: mit-scheme: Rename top-level helper.Ludovic Courtès2014-09-27
| | | | | | | Suggested by Mark H. Weaver. * gnu/packages/scheme.scm (source-directory): Rename to... (mit-scheme-source-directory): ... this.
* gnu: Add graphite2.Andreas Enge2014-09-27
| | | | * gnu/packages/fontutils.scm (graphite2): New variable.
* gnu: mit-scheme: Delete more dangling symlinks for non-x86 systems.Andreas Enge2014-09-27
| | | | | * gnu/packages/scheme.scm (mit-scheme): Delete more dangling symlinks for non-x86 systems.
* gnu: mit-scheme: Fix source file name for mips64el.Andreas Enge2014-09-27
| | | | | * gnu/packages/scheme.scm (mit-scheme): Fix source file name for architectures other than x86_64 and i686.
* gnu: phonon: Update to 4.8.0.Andreas Enge2014-09-27
| | | | * gnu/packages/kde.scm (phonon): Update to 4.8.0.
* build: Don't install elisp files when Emacs is unavailable.Ludovic Courtès2014-09-27
| | | | * emacs.am (dist_lisp_DATA, nodist_lisp_DATA): Wrap in 'if HAVE_EMACS'.
* build: Don't generate Emacs autoloads when Emacs is unavailable.Ludovic Courtès2014-09-27
| | | | | | | Reported by Andreas Enge. * configure.ac: Define 'HAVE_EMACS' Automake conditional. * emacs.am ($(AUTOLOADS)): Wrap in 'if HAVE_EMACS'.
* gnu: mit-scheme: Update to 9.2.Andreas Enge2014-09-27
| | | | * gnu/packages/scheme.scm (mit-scheme): Update to 9.2.