Commit Graph

4101 Commits

Author SHA1 Message Date
Ludovic Courtès ac67e20582 gnu: kmod: 'kmod static-nodes' command honors $LINUX_MODULE_DIRECTORY.
* gnu/packages/patches/kmod-module-directory.patch: Add hunk for
  tools/static-nodes.c.  Taken from Nixpkgs, where it was added by
  Eelco Dolstra <eelco.dolstra@logicblox.com>.
2014-11-02 22:06:27 +01:00
Ludovic Courtès 47e643db10 guix-register: Do not attempt to create NIX_STORE_DIR.
Fixes <http://bugs.gnu.org/18689>.
Reported by Philip Woods <elzairthesorcerer@gmail.com>.

* nix/guix-register/guix-register.cc (main): Move 'store' instantiation
  above 'settings.nixStore' assignment.
2014-11-02 21:38:23 +01:00
Ludovic Courtès 05962f2958 packages: Implement grafts.
Thanks to Mark H. Weaver <mhw@netris.org> for insightful discussions
and suggestions.

* guix/packages.scm (<package>)[graft]: New field.
  (patch-and-repack): Invoke 'package-derivation' with #:graft? #f.
  (package-source-derivation): Likewise.  Do not use (%guile-for-build)
  in call to 'patch-and-repack', and we could end up using a grafted
  Guile.
  (expand-input): Likewise, also for 'package-cross-derivation' call.
  (package->bag): Add #:graft? parameter.  Honor it.  Use 'strip-append'
  instead of 'package-full-name'.
  (input-graft, input-cross-graft, bag-grafts, package-grafts): New
  procedures.
  (package-derivation, package-cross-derivation): Add #:graft? parameter
  and honor it.
* gnu/packages/bootstrap.scm (package-with-bootstrap-guile): Add
  recursive call on 'graft'.
* guix/build-system/gnu.scm (package-with-explicit-inputs,
  package-with-extra-configure-variable, static-package): Likewise.
  (gnu-build): Use the ungrafted Guile to avoid full rebuilds.
  (gnu-cross-build): Likewise.
* guix/build-system/cmake.scm (cmake-build): Likewise.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Likewise.
* 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.
* tests/packages.scm ("package-derivation, direct graft",
  "package-cross-derivation, direct graft", "package-grafts,
  indirect grafts", "package-grafts, indirect grafts, cross",
  "package-grafts, indirect grafts, propagated inputs",
  "package-derivation, indirect grafts"): New tests.
  ("bag->derivation", "bag->derivation, cross-compilation"): Wrap in
  'parameterize'.
* doc/guix.texi (Security Updates): New node.
  (Invoking guix build): Document --no-graft.
2014-11-02 21:22:12 +01:00
Ludovic Courtès 50373bab7a packages: Add 'package->bag' test for propagated inputs.
* tests/packages.scm ("package->bag, propagated inputs"): New test.
2014-11-02 21:22:12 +01:00
Ludovic Courtès e786293e76 derivations: Add 'derivation-name'.
* guix/derivations.scm (derivation-name): New procedure.
* tests/derivations.scm ("derivation-name"): New test.
2014-11-02 21:22:12 +01:00
Andreas Enge 5c2033f864 gnu: Add oxygen-icons.
* gnu/packages/kde.scm (oxygen-icons): New variable.
2014-11-02 19:13:44 +01:00
Alex Kost 833fdac028 emacs: Add package info heading.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>

* emacs/guix-info.el: (guix-package-info-heading): New face.
  (guix-package-info-synopsis): Modify face.
  (guix-info-insert-entry-default, guix-package-info-insert-heading,
  guix-package-info-insert-with-heading): New procedures.
  (guix-package-info-heading-params, guix-info-insert-package-function,
  guix-info-insert-installed-function, guix-info-insert-output-function,
  guix-info-insert-generation-function): New variables.
2014-11-02 20:43:10 +03:00
David Thompson 43402c5cd2 gnu: Add freeimage.
* gnu/packages/image.scm (freeimage): New variable.
2014-11-02 12:33:25 -05:00
Andreas Enge 76c9b6aaef gnu: libart-lgpl: Update to 2.3.21.
* gnu/packages/gnome.scm (libart-lgpl): Update to 2.3.21.
2014-11-02 13:15:39 +01:00
Eric Bavier edda6db236 gnu: wget: Add input libpsl.
* gnu/packages/wget.scm (wget)[inputs]: Add libpsl.
2014-10-31 20:25:02 -05:00
Eric Bavier 488e886384 gnu: Add libpsl.
* gnu/packages/web.scm (libpsl): New variable.
2014-10-31 20:25:02 -05:00
Eric Bavier fb7bdb43ef gnu: wget: Upgrade to 1.16.
* gnu/packages/wget.scm (wget)[source]: Upgrade to 1.16.
  [inputs]: Add libidn.
  [native-inputs]: Add python, perl-http-daemon, and
  perl-io-socket-ssl.
2014-10-31 20:25:02 -05:00
Eric Bavier 3484d052fa gnu: Add perl-io-socket-ssl.
* gnu/packages/web.scm (perl-io-socket-ssl): New variable.
2014-10-31 20:25:02 -05:00
Eric Bavier a16e9204ad gnu: Add perl-net-ssleay.
* gnu/packages/openssl.scm (perl-net-ssleay): New variable.
2014-10-31 20:25:02 -05:00
David Thompson 12d39eb514 gnu: ruby: Update to 2.1.4.
* gnu/packages/ruby.scm: Update.  Remove the now redundant readline patch.
2014-10-31 18:57:30 -04:00
Ludovic Courtès d8805b95f5 build: Unset 'CDPATH' in 'test-env'.
Reported by Mathieu Lirzin.

* test-env.in: Unset 'CDPATH'.
2014-10-31 16:54:45 +01:00
Jason Self c268a0d4a6 gnu: linux-libre: Update to 3.17.2.
* gnu/packages/linux.scm (linux-libre): Update to version 3.17.2.
2014-10-30 21:13:20 -07:00
Ludovic Courtès 49aeaedfa7 gnu: gpsbabel: Correctly unquote the value for #:tests?.
* gnu/packages/gps.scm (gpsbabel)[arguments]: Add missing unquote.
  Fixes typo introduced in 8235039.
2014-10-31 00:10:44 +01:00
Ludovic Courtès e0ea3f8a0d download: Append (effective-version) to '%load-path' for GnuTLS.
* guix/download.scm (url-fetch)[builder]: Append (effective-version) to
  %load-path, as discussed at
  <http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00398.html>.
  This fixes a regression introduced in b94ae0b.
2014-10-30 15:46:36 +01:00
Ludovic Courtès b9113adf45 environment: Improve '--help' output.
* guix/scripts/environment.scm (show-help): Align --pure and
  --search-paths with other long options; add 'newline' call before
  'show-bug-report-information' call.
2014-10-30 14:08:03 +01:00
Ludovic Courtès 82350397ed gnu: gpsbabel: Disable tests on i686.
* gnu/packages/gps.scm (gpsbabel)[arguments]: Add #:tests?.
2014-10-30 14:08:03 +01:00
Andreas Enge e9a6d2252c gnu: texlive: Move script packages from native-inputs to inputs.
* gnu/packages/texlive.scm (texlive): Move perl, python and tcsh from
    native inputs to inputs.
2014-10-30 00:01:02 +01:00
Andreas Enge b32c8549e4 gnu: texlive: Add inputs fontforge and ruby.
* gnu/packages/texlive.scm (texlive): Add interpreters fontforge and ruby
    to the inputs.
2014-10-29 21:21:50 +01:00
Andreas Enge 7591698210 gnu: texlive: Use system potrace instead of bundled copy.
* gnu/packages/texlive.scm (texlive): Add potrace as an input and modify
    the configure flags accordingly.
2014-10-29 21:21:49 +01:00
Andreas Enge 4797d84ddb gnu: potrace: Install libraries and header files.
* gnu/packages/fontutils.scm (potrace): Add configure flag to install
    libraries and header files.
2014-10-29 21:21:49 +01:00
Andreas Enge 283fd55b41 gnu: texlive: Drop obsolete input t1lib.
* gnu/packages/texlive.scm (texlive): Drop input t1lib and the corresponding
    configure flag.
    Since texlive-2013, xdvi uses freetype instead of t1lib for rendering.
2014-10-29 21:21:49 +01:00
Andreas Enge 609578a7d0 gnu: texlive: Use system libpaper instead of bundled copy.
* gnu/packages/texlive.scm (texlive): Add libpaper as an input and modify
    the configure flags accordingly.
2014-10-29 21:21:49 +01:00
Andreas Enge c70cf7eb07 gnu: texlive: Use system harfbuzz instead of bundled copy.
* gnu/packages/texlive.scm (texlive): Add harfbuzz as an input and modify
    the configure flags accordingly.
2014-10-29 21:21:48 +01:00
Andreas Enge 27383915ce gnu: harfbuzz: Add and enable input graphite2.
* gnu/packages/gtk.scm (harfbuzz): Add input graphite2 and enable it with
    the corresponding configure flag.
2014-10-29 21:21:48 +01:00
Andreas Enge be2c88caa0 gnu: texlive: Use system graphite2 instead of bundled copy.
* gnu/packages/texlive.scm (texlive): Add graphite2 as an input and modify
    the configure flags accordingly.
2014-10-29 21:21:48 +01:00
Ludovic Courtès 3b23972059 gnu: Add GPS Correlate.
* gnu/packages/gps.scm (gpscorrelate): New variable.
2014-10-29 17:58:42 +01:00
Ludovic Courtès 83aabfbcc6 gnu: Add GPSBabel.
* gnu/packages/gps.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-10-29 14:58:31 +01:00
Ludovic Courtès 7dbe096c63 import: snix: Handle license attributes.
* guix/import/snix.scm (snix-derivation->guix-package)[license-variable]:
  Move to...
  (license-variable): ... here.  Handle license attributes.
2014-10-29 14:03:46 +01:00
Ludovic Courtès 940a8c57be offload: Remove mutual exclusion on transfers.
Suggested by Mark H. Weaver <mhw@netris.org>
at <http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00352.html>.

* guix/scripts/offload.scm (transfer-and-offload): Remove uses of
  'with-machine-lock'.
2014-10-29 00:31:23 +01:00
Ludovic Courtès d2d0514b58 derivations: Fix 'derivation-prerequisites-to-build' when #:local-build?.
* guix/derivations.scm (derivation-prerequisites-to-build)[derivation-substitutable?]:
  Call 'substitutable-derivation?'.
  <body>: When 'substitutable-derivation?' returns #f, add DRV to BUILD.
2014-10-29 00:31:23 +01:00
Ludovic Courtès e6740741d1 tests: Move some of the narinfo test tools to (guix tests).
* guix/tests.scm (derivation-narinfo, call-with-derivation-narinfo): New
  procedures.
  (with-derivation-narinfo): New macro.
* tests/derivations.scm ("derivation-prerequisites-to-build and
  substitutes"): Use them.
2014-10-29 00:31:23 +01:00
Ludovic Courtès a96a82d79e system: Add pciutils and pciutils to '%base-packages'.
* gnu/system.scm (%base-packages): Add PCIUTILS and USBUTILS.
2014-10-29 00:31:23 +01:00
Ludovic Courtès 4902c3ecc6 gnu: Add ath9k-htc-firmware.
* gnu/packages/firmware.scm: New file.
* gnu/packages/patches/ath9k-htc-firmware-objcopy.patch: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add 'firmware.scm'.
  (dist_patch_DATA): Add the patch.
2014-10-29 00:31:23 +01:00
Ludovic Courtès 9d3074609a gnu: Add Xtensa bare-bones cross-compiler.
* gnu/packages/cross-base.scm (xgcc-xtensa): New variable.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for
  "xtensa-elf".
2014-10-29 00:31:23 +01:00
Ludovic Courtès fc93e30919 derivations: Add 'offloadable-derivation?' and 'substitutable-derivation?'.
* guix/derivations.scm (offloadable-derivation?,
  substitutable-derivation?): New procedures.
* tests/derivations.scm ("offloadable-derivation?"): New test.
2014-10-29 00:31:23 +01:00
Ludovic Courtès 31a123fe00 gnu: guile-ncurses: Update to 1.6.
* gnu/packages/guile.scm (guile-ncurses): Update to 1.6.
2014-10-29 00:31:23 +01:00
Eric Bavier 791e0126ae build: Adjust lint tests for latest rules.
* tests/guix-lint.sh (dummy)[description]: Add failing case.
  [doc]: Adjust.
2014-10-28 09:28:40 -05:00
Ludovic Courtès bc36105651 list-packages: Add Hydra links only for the supported systems.
* build-aux/list-packages.scm (package->sxml)[status]: Use
  'package-transitive-supported-systems' instead of a hard-coded list of
  systems.
2014-10-28 10:30:38 +01:00
Ludovic Courtès 7491edafdb gnu: mit-scheme: Fix typo in 'supported-systems'.
* gnu/packages/scheme.scm (mit-scheme)[supported-systems]: Correct
  spelling of "mips64el-linux".
2014-10-28 10:29:36 +01:00
Ludovic Courtès f15615b119 gnu: atlas: Make it non-substitutable.
Suggested by Federico Beffa <beffa@ieee.org>.

* gnu/packages/maths.scm (atlas)[arguments]: Pass #:substitutable? #f.
  [description]: Adjust accordingly.
2014-10-28 10:17:55 +01:00
Ludovic Courtès 77b0ac905d build-system/gnu: Add #:substitutable? parameter.
* guix/build-system/gnu.scm (gnu-build): Add #:substitutable?
  parameter.  Pass #:local-build? to 'build-expression->derivation'.
  (gnu-cross-build): Likewise.
2014-10-28 10:17:13 +01:00
Ludovic Courtès f47638a353 gnu: Mark a few packages as unsupported on MIPS.
* gnu/packages/gprolog.scm (gprolog): Add 'supported-systems' field.
* gnu/packages/qemu.scm (qemu-headless): Likewise.
* gnu/packages/qt.scm (qt): Likewise.
* gnu/packages/scheme.scm (racket): Likewise.
2014-10-28 01:18:50 +01:00
Alex Kost 2d7bf94927 emacs: Add 'guix-pull' command.
* emacs/guix-base.el (guix-pull): New command.
  (guix-update-after-pull, guix-after-pull-hook): New variables.
  (guix-restart-repl-after-pull, guix-update-buffers-maybe-after-pull): New
  procedures.
* emacs/guix-main.scm: Use (guix scripts pull) module.
* doc/emacs.texi (Emacs Commands): Document 'guix-pull' command.
2014-10-27 21:52:56 +03:00
Alex Kost 17b50485a6 emacs: Improve REPL procedures.
* emacs/guix-backend.el (guix-start-process-maybe): Add 'start-msg' and
  'end-msg' optional arguments.
  (guix-start-repl-maybe): Likewise.  Do not kill buffer with a dead process.
  (guix-repl-exit): New procedure.
  (guix-eval-in-repl): Use 'geiser-repl--send'.
2014-10-27 21:52:56 +03:00
Alex Kost f209da9f94 emacs: Improve buffer procedures.
* emacs/guix-base.el (guix-list-or-info-buffer-p): Delete.  Replace with...
  (guix-buffer-p): ... this.  New procedure.
  (guix-buffers): Use it.  Add 'modes' argument.
  (guix-update-buffer): New procedure.
  (guix-update-buffers-maybe): Rename to ...
  (guix-update-buffers-maybe-after-operation): this.  Use
  'guix-update-buffer'.
2014-10-27 21:52:56 +03:00