Commit graph

5236 commits

Author SHA1 Message Date
Ludovic Courtès
873c4085c8 doc: Expound a bit on 'guix lint'.
* doc/guix.texi (Invoking guix lint): Give examples of checkers.
2015-01-26 23:45:27 +01:00
Ludovic Courtès
ffc3a02b5a services: xorg: Define the <session-type> record type.
* gnu/services/xorg.scm (<session-type>): New record type.
  (%windowmaker-session-type, %ratpoison-session-type): New variables.
  (%default-xsessions): Use them.
  (xsessions-directory): Expect SESSIONS to be a list of <session-type>
  and rewrite accordingly.
  (slim-service): Adjust docstring.
* doc/guix.texi (X Window): Update accordingly.
2015-01-26 23:33:24 +01:00
Ludovic Courtès
3bcfe23cfc substitute-binary: Let the user know when the cache is being updated.
* guix/scripts/substitute-binary.scm (open-cache*): New macro.
  (guix-substitute-binary): Use it instead of (delay (open-cache ...)).
2015-01-26 21:58:12 +01:00
Ludovic Courtès
19a454448b hash: Initialize libgcrypt before use.
Fixes <http://bugs.gnu.org/19677>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/hash.scm: Use (guix gcrypt).
  (sha256, open-sha256-md, md-write, md-close): Use 'libgcrypt-func'
  instead of 'dynamic-func'.
2015-01-26 21:58:12 +01:00
Ludovic Courtès
4862bc4a1a Add (guix gcrypt).
* guix/gcrypt.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/pk-crypto.scm: Use it.
  (libgcrypt-func, gcrypt-version): Remove.
2015-01-26 21:58:12 +01:00
Mark H Weaver
72c5ad8bae gnu: Add gobject-introspection patches to gnu-system.am.
* gnu-system.am (dist_patch_DATA): Add
  'gobject-introspection-absolute-shlib-path.patch' and
  'gobject-introspection-girepository.patch'.
2015-01-26 05:13:05 -05:00
Mark H Weaver
5ade90ba69 Merge branch 'wip-gobject-introspection' 2015-01-25 21:15:13 -05:00
Ludovic Courtès
06aac933e1 guix lint: Make the 'source' checker happy if at least one URI is valid.
Before that it would check all the URIs of each package.

* guix/scripts/lint.scm (validate-uri): Really return #f on failure and
  #t otherwise.
  (check-source): Replace 'for-each' with 'any'.
2015-01-26 00:19:33 +01:00
Ludovic Courtès
ac41737f49 services: dbus: Set the search path for .service files.
* gnu/services/dbus.scm (dbus-configuration-directory)[services->sxml]:
  Produce a <servicedir> tag.
2015-01-26 00:06:32 +01:00
Ludovic Courtès
dfba54893e gnu: Raise an error when a bootstrap binary is not found.
* gnu/packages.scm (search-bootstrap-binary): Raise an error when
  FILE-NAME is not found.
2015-01-26 00:06:32 +01:00
Andreas Enge
836223f746 Revert "gnu: netpbm: Update to 10.69.04."
This reverts commit 03c2776535.
2015-01-25 21:57:44 +01:00
Andreas Enge
7246e8f701 Revert "gnu: netpbm: Correct hash."
This reverts commit a6ae52fe14.
2015-01-25 21:57:35 +01:00
Andreas Enge
a6ae52fe14 gnu: netpbm: Correct hash.
* gnu/packages/netpbm.scm (netpbm): Correct hash.

Fixes <http://bugs.gnu.org/19686>.
Reported by Marek Benc <dusxmt@gmx.com> and Mark Weaver <mhw@netris.org>.
2015-01-25 20:29:58 +01:00
Andreas Enge
014e7dd8f0 gnu: Add python-pyqt.
* gnu/packages/qt.scm (python-pyqt, python2-pyqt): New variables.
* gnu/packages/patches/pyqt-configure.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
2015-01-25 20:10:03 +01:00
Andreas Enge
84ef83dd05 gnu: Add python-sip.
* gnu/packages/qt.scm (python.sip, python2-sip): New variables.
2015-01-25 20:04:39 +01:00
Cyril Roelandt
17a7b75c0f lint: add 'source' checker.
* guix/scripts/lint.scm (validate-uri?): New procedure.
  (%checkers): Add 'source' checker
2015-01-25 18:34:51 +01:00
Andreas Enge
03c2776535 gnu: netpbm: Update to 10.69.04.
* gnu/packages/netpbm.scm (netpbm): Update to 10.69.04.
2015-01-25 10:56:44 +01:00
Ludovic Courtès
f304c9c237 derivations: Raise an error for references to non-existent outputs.
Fixes <http://bugs.gnu.org/19630>.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/derivations.scm (&derivation-error,
  &derivation-missing-output-error): New error conditions.
  (derivation->output-path): Raise a '&derivation-missing-output-error'
  if OUTPUT is not an output of DRV.
* guix/ui.scm (call-with-error-handling): Add case for
  'derivation-missing-output-error?'.
  (show-what-to-build): Check whether (derivation-outputs drv) is
  empty.
* tests/packages.scm ("reference to non-existent output"): Add test.
2015-01-24 22:57:49 +01:00
Ludovic Courtès
da74bc7886 Add Ricardo to 'AUTHORS'. 2015-01-24 22:57:49 +01:00
Andreas Enge
b027d919cb gnu: Add libdvdnav.
* gnu/packages/video.scm (libdvdnav): New variable.
2015-01-24 18:05:03 +01:00
Andreas Enge
e6bdb36a51 gnu: Add libdvdread.
* gnu/packages/video.scm (libdvdread): New variable.
2015-01-24 17:59:22 +01:00
Andreas Enge
2f7fade9ea gnu: youtube-dl: Update to 2015.01.23.4.
* gnu/packages/video.scm (youtube-dl): Update to 2015.01.23.4.
2015-01-24 16:42:10 +01:00
Andreas Enge
7db8a6011a gnu: freeipmi: Update to 1.4.8.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.8.
2015-01-24 11:55:37 +01:00
Andreas Enge
6e8586fb47 gnu: xnee: Update to 3.19 and add input GTK+.
* gnu/packages/xnee.scm (xnee): Update to 3.19. This requires gtk+-2 as
    additional input.
2015-01-24 09:56:39 +01:00
Ludovic Courtès
02bb6b45e4 services: guix: #:authorize-hydra-key? now defaults to #t.
* gnu/services/base.scm (guix-service): Change AUTHORIZE-HYDRA-KEY?
  default value to #t.
2015-01-23 23:49:24 +01:00
Ludovic Courtès
ca79e42ea2 build-system/glib-or-gtk: Add MIME directories to $XDG_DATA_DIRS.
Fixes an Evince regression introduced in commit 3d243e9.

* guix/build/glib-or-gtk-build-system.scm (data-directories): Check the
  /mime sub-directory.
2015-01-23 23:49:24 +01:00
Andreas Enge
7d8379a767 gnu: netpbm: Switch to svn checkout.
* gnu/packages/netpbm.scm (netpbm): Use svn-fetch for the source instead
    of a separately hosted tarball.
2015-01-23 23:27:20 +01:00
Andreas Enge
e066928977 gnu: python-pyparsing: Update to 2.0.3.
* gnu/packages/python.scm (python-pyparsing, python2-pyparsing): Update to 2.0.3.
2015-01-23 21:50:56 +01:00
Federico Beffa
94987ebe13 gnu: gobject-introspection: Add patch.
* gnu/packages/glib.scm (gobject-introspection): Add patch
  gobject-introspection-girepository.patch.
2015-01-23 18:33:59 +01:00
Ludovic Courtès
37cb3a69ac gnu: gtk+: Add CUPS print back-end.
* gnu/packages/gtk.scm (gtk+)[inputs]: Add CUPS.
2015-01-23 16:29:20 +01:00
Ludovic Courtès
80ae897f01 doc: Mention that guix.el works out-of-the-box on GSD.
* doc/emacs.texi (Emacs Initial Setup): Mention that it works
  out-of-the-box on GSD.
2015-01-23 16:29:20 +01:00
Ludovic Courtès
842e0b95f4 build: Change version to 0.8.1.
* configure.ac: Change version to 0.8.1.
2015-01-23 16:29:20 +01:00
Ludovic Courtès
a21f0e0a54 gnu: libmicrohttpd: Update to 0.9.39.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.39.
2015-01-23 16:29:20 +01:00
Ludovic Courtès
73ebc66feb gnu: rcs: Update to 5.9.4.
* gnu/packages/version-control.scm (rcs): Update to 5.9.4.
2015-01-23 16:29:20 +01:00
Ludovic Courtès
351d752630 gnu: parallel: Update to 20150122.
* gnu/packages/parallel.scm (parallel): Update to 20150122.
2015-01-23 16:29:20 +01:00
Ludovic Courtès
2b8ae65ed1 gnu: libassuan: Update to 2.2.0.
* gnu/packages/gnupg.scm (libassuan): Update to 2.2.0.
2015-01-23 16:29:20 +01:00
Ludovic Courtès
ec2da92c96 gnu: util-linux: Do not build 'kill'.
* gnu/packages/linux.scm (util-linux)[source](snippet): Set
  "build_kill=no" in 'configure'.
2015-01-23 16:29:20 +01:00
Ludovic Courtès
c44ed26ce7 gnu: e2fsprogs: Don't build libraries and commands provided by util-linux.
* gnu/packages/linux.scm (e2fsprogs)[arguments]: Add --disable-blkid
  --disable-libuuid --disable-uuidd --disable-fsck.
2015-01-23 16:29:20 +01:00
Ludovic Courtès
9f533d60df gnu: util-linux: Update to 2.25.2.
* gnu/packages/linux.scm (util-linux): Update to 2.25.2.  Remove
  util-linux-perl.patch, and add util-linux-tests.patch.  Adjust
  'snippet'.
  [arguments]: Remove 'patch-chkdupexe' phase.  Add 'pre-check' phase.
  [native-inputs]: Add NET-BASE.
* gnu/packages/patches/util-linux-perl.patch: Remove.
* gnu/packages/patches/util-linux-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2015-01-23 16:29:19 +01:00
Ludovic Courtès
61bce2f9cb gnu: e2fsprogs: Update to 1.42.11.
* gnu/packages/linux.scm (e2fsprogs): Update to 1.42.11.
2015-01-23 16:29:19 +01:00
Ludovic Courtès
53a7a01675 doc: Add services to the configuration template.
* gnu/system/os-config.tmpl (services): New field.
2015-01-23 16:29:17 +01:00
Ludovic Courtès
dd6b28d18b install: Make sure 'info' can decompress the Info files.
* gnu/system/install.scm (log-to-info): Add GZIP to $PATH.
2015-01-23 10:37:01 +01:00
Ludovic Courtès
de71cc4f83 doc: Update USB installation image name.
* doc/guix.texi (System Installation): Change image name to guix-usb-*.
2015-01-23 10:17:52 +01:00
Ludovic Courtès
3ca2731c20 doc: Introduce the Guix System Distribution.
* doc/guix.texi (Introduction): Introduce "Guix System Distribution".
  Add a couple of sentences about it.  Remove "Guixotic".
  (GNU Distribution): Likewise.
  (System Installation): Ditto.
2015-01-23 10:15:46 +01:00
Marek Benc
2baf46348f gnu: nvi: Fix Berkely DB compatability issues.
* gnu/packages/patches/nvi-db4.patch: New file.
* gnu/packages/patches/nvi-dbpagesize-binpower.patch: New file.
* gnu/packages/nvi.scm (nvi): Make use of them.
* gnu-system.am (dist_patch_DATA): Add them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-01-23 09:44:42 +01:00
宋文武
e1626e3b3a gnu: sudo: Set rundir, vardir and iologdir.
* gnu/packages/admin.scm (sudo)[arguments]<#:configure-flags>: Add
  --with-rundir=/run/sudo --with-vardir=/var/db/sudo
  --with-iologdir=/var/log/sudo-io.
2015-01-23 12:24:54 +08:00
Ludovic Courtès
8c9267a448 system: Make D-Bus warnings non fatal.
* gnu/system.scm (etc-directory): Add 'DBUS_FATAL_WARNINGS' in PROFILE.
2015-01-22 23:47:13 +01:00
Ludovic Courtès
0a0517690d system: Create /etc/emacs/site-start.el.
* gnu/system.scm (emacs-site-file, emacs-site-directory): New
  procedures.
  (etc-directory): Add 'EMACSLOADPATH' setting to PROFILE.  Call
  'emacs-site-directory', and bind its result to /etc/emacs.
2015-01-22 23:42:15 +01:00
Ludovic Courtès
b6c5a39701 gnu: guix-devel: Propagate Geiser.
* gnu/packages/package-management.scm (guix-devel)[propagated-inputs]:
  Add GEISER.
2015-01-22 23:39:55 +01:00
Ludovic Courtès
5bf6b86f1b doc: Update 'ROADMAP'.
Suggested by Omar Radwan <toxemicsquire4@gmail.com>.

* ROADMAP: Rewrite.
2015-01-22 22:52:11 +01:00