Commit Graph

5179 Commits

Author SHA1 Message Date
Ludovic Courtès 9ba0b8d3d0 daemon: Flush upon '\r' when reading the substituter's stderr.
* nix/libstore/local-store.cc (LocalStore::getLineFromSubstituter):
  Flush when the line contains '\r'.
2015-02-07 23:16:56 +01:00
Ludovic Courtès 46b8aadbd6 serialization: Check for EOF and incomplete input conditions.
Fixes <http://bugs.gnu.org/19756>.
Reported by <sleep_walker@suse.cz>.

* guix/serialization.scm (currently-restored-file): New variable.
  (get-bytevector-n*): New procedure.
  (read-int, read-long-long, read-string, read-latin1-string,
  read-contents): Use it instead of 'get-bytevector-n'.
  (restore-file): Parameterize 'currently-restored-file' and set it.
* tests/nar.scm ("restore-file with incomplete input"): New test.
2015-02-07 23:16:55 +01:00
Ludovic Courtès cbc538fe69 doc: Document the location of the build directory.
Fixes <http://bugs.gnu.org/19771>.
Reported by Andrei Osipov <andrspv@gmail.com>.

* doc/guix.texi (Invoking guix-daemon): Document the build directory
  location.
2015-02-07 23:16:55 +01:00
Ludovic Courtès 4320c094f3 gnu: gimp: Add EXIF and SVG support, plus color management.
* gnu/packages/gimp.scm (gimp)[inputs]: Add LIBEXIF, LCMS, and LIBRSVG.
2015-02-07 23:16:55 +01:00
Andreas Enge 5cc0e48613 gnu: podofo: Add optional input lua.
* gnu/packages/pdf.scm (podofo): Add optional input lua-5.1.
2015-02-07 20:59:37 +01:00
Andreas Enge d4322e6111 gnu: podofo: Update to 0.9.3.
* gnu/packages/pdf.scm (podofo): Update to 0.9.3.
2015-02-07 20:50:35 +01:00
Andreas Enge cb6a14ba56 gnu: podofo: Enable building a shared library.
* gnu/packages/pdf.scm (podofo): Enable building a shared library in addition
    to a static one.
2015-02-07 20:42:19 +01:00
Andreas Enge 71e1de33f9 gnu: chmlib: Correct license.
* gnu/packages/ebook.scm (chmlib): Correct copy-pasted license field.
2015-02-07 20:16:30 +01:00
Andreas Enge 947ae54559 gnu: Add chmlib.
* gnu/packages/ebook.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-02-07 20:12:36 +01:00
Andreas Enge 85b5d3331d gnu: dejagnu: Update to 1.5.2.
* gnu/packages/dejagnu.scm (dejagnu): Update to 1.5.2.
2015-02-07 19:53:23 +01:00
Andreas Enge 7908f58343 gnu: global: Update to 6.3.4.
* gnu/packages/global.scm (global): Update to 6.3.4.
2015-02-07 19:41:33 +01:00
Andreas Enge 9b268f12fe gnu: eigen: Update to 3.2.4.
* gnu/packages/algebra.scm (eigen): Update to 3.2.4.
2015-02-07 19:25:47 +01:00
Andreas Enge 717ccec86b gnu: imagemagick: Update to 6.9.0-4.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.0-4.
2015-02-07 18:05:32 +01:00
Mark H Weaver 710f3ce44f gnu: tumbler: Update to 0.1.30.
* gnu/packages/xfce.scm (tumbler): Update to 0.1.30.  Use latest gstreamer.
2015-02-07 01:59:55 -05:00
Mark H Weaver 7747c4ca3d gnu: wicd: Fix curses client to work with urwid 1.3.
* gnu/packages/patches/wicd-urwid-1.3.patch: New file.
* gnu-system (dist_patch_DATA): Add it.
* gnu/packages/wicd.scm (wicd): Add patch.
2015-02-06 15:26:56 -05:00
Mark H Weaver b7921ba5a7 gnu: ntp: Update to 4.2.8p1.
* gnu/packages/ntp.scm (ntp): Update to 4.2.8p1.
2015-02-06 15:15:25 -05:00
Tomáš Čech ac6c66aeed gnu: slock: Update to 1.2
* gnu/packages/dwm.scm (slock): Update to 1.2
2015-02-06 20:38:43 +01:00
Ludovic Courtès 862abf8fcd tests: Disable grafts when comparing derivations.
Fixes a regression introduced with the grafting of Patch in 3f11f01.

* tests/packages.scm ("reference to non-existent output"): Wrap in
  'parameterize'.
2015-02-06 18:04:19 +01:00
Ludovic Courtès c9323a4c69 guix package: Make custom profiles actual indirect roots.
Before that, any profile generation built when '-p' is used would
effectively become a permanent GC root because the symlink in
/var/guix/gcroots/auto would point directly to /gnu/store/...-profile.

* guix/scripts/package.scm (maybe-register-gc-root): Rename to...
  (register-gc-root): ... this.  Remove conditional, and replace call to
  'canonicalize-path' with (string-append (getcwd) "/" ...).
  (guix-package): Call 'register-gc-root' only if PROFILE is different
  from %CURRENT-PROFILE.
* tests/guix-package.sh: Add test case.
2015-02-06 17:56:22 +01:00
Ludovic Courtès 3df5acf332 pull: Always install the ~/.config/guix/latest symlink.
Before that, if two users on the same machine ran 'guix pull', the
second one would have the "Guix already up to date" message and their
~/.config/guix/latest link would be left unchanged---effectively
preventing them from updating.

* guix/scripts/pull.scm (build-and-install): Install the 'latest'
  symlink regardless of whether TO-DO? is true or false.
2015-02-06 17:39:10 +01:00
Ludovic Courtès 95c559c145 doc: Provide a better illustration of Ethernet interface names.
Reported on #guix.

* doc/guix.texi (System Installation)[USB Stick Installation]: Mention
  "eno1" instead of "eth0" and give other examples.
2015-02-06 17:32:17 +01:00
Ludovic Courtès 3f11f01fa8 gnu: patch: Add 2.7.4 and make it a replacement for the default one.
* gnu/packages/base.scm (patch-2.7.4, patch-CVE-2015-1196): New
  variables.
  (patch): Add 'replacement' field.
2015-02-06 13:53:28 +01:00
Ludovic Courtès ca63770ab1 services: xorg: Add Nouveau driver.
* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add
  XF86-VIDEO-NOUVEAU.
2015-02-06 13:53:28 +01:00
Ludovic Courtès 0d5212e822 gnu: Add xf86-video-nouveau.
* gnu/packages/xorg.scm (xf86-video-nouveau): New variable.
2015-02-06 13:53:28 +01:00
Ludovic Courtès 2e50aa760c gnu: xf86-video-nv: Improve description.
* gnu/packages/xorg.scm (xf86-video-nv): Adjust synopsis and
  description.
2015-02-06 13:53:28 +01:00
Mark H Weaver ce4a347fe9 gnu: orc: Disable the 'test-limits' and 'exec_opcodes_sys' tests.
* gnu/packages/gstreamer.scm (orc)[arguments]: Disable the 'test-limits' and
  'exec_opcodes_sys' tests, which fail on some machines.
2015-02-05 23:07:29 -05:00
Ludovic Courtès 353e34a626 offload: Better report failure to create the GC root directory.
Suggested by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/scripts/offload.scm (register-gc-root)[script]: Replace
  'false-if-exception' with a finer-grain 'system-error handler.
  Provide the name of MACHINE in 'leave' error message.
2015-02-05 23:40:55 +01:00
Ludovic Courtès 7d157c652c gnu: groff: Add "doc" output.
* gnu/packages/groff.scm (groff): Add 'outputs' field.
2015-02-05 23:40:55 +01:00
Ludovic Courtès fc61b641c2 offload: Warn about SSH client issues.
Suggested by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/scripts/offload.scm (remote-pipe): Remove unneeded 'catch'.
  (machine-load): Check the exit value  upon (close-pipe pipe).  Call
  'warning' when it is non-zero.
2015-02-05 23:40:55 +01:00
Ludovic Courtès bf26b8ddab nls: Update 'eo' translation. 2015-02-05 23:40:55 +01:00
Mark H Weaver aa7c7f21b3 gnu: gnutls: Configure location of system-wide trust store.
* gnu/packages/gnutls.scm (gnutls): Configure the location of the system-wide
  trust store.
2015-02-05 14:05:37 -05:00
Taylan Ulrich Bayırlı/Kammer ea119a288f gnu: Add ngircd.
* gnu/packages/messaging.scm (ngircd): New variable.
* gnu/packages/patches/ngircd-no-dns-in-tests.patch: New file.
* gnu/packages/patches/ngircd-handle-zombies.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.
2015-02-05 17:08:39 +01:00
宋文武 0ca0ce53a8 gnu: Add xfce.
* gnu/packages/xfce.scm (xfce): New variable.
2015-02-05 19:23:54 +08:00
宋文武 122ddc595e gnu: gnutls: Propagate zlib.
* gnu/packages/gnutls.scm (gnutls): Move zlib to 'propagated-inputs'.
2015-02-05 18:46:59 +08:00
Andreas Enge e8419d6c61 gnu: gnutls: Update to 3.3.12.
* gnu/packages/gnutls.scm (gnutls): Update to 3.3.12.
2015-02-05 10:53:52 +01:00
宋文武 20cf74540e gnu: gst-plugins-good: Update to 1.4.5.
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.4.5.
2015-02-05 17:32:30 +08:00
宋文武 e9a0b5e7b2 gnu: gst-plugins-base: Update to 1.4.5, re-enable tests.
* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.4.5.
  [arguments]: Add #:phases.
  [inputs]: Add cdparanoia and orc.
2015-02-05 17:18:20 +08:00
宋文武 e244dc6dd6 gnu: gstreamer: Update to 1.4.5, propagate glib.
* gnu/packages/gstreamer.scm (gstreamer): Update to 1.4.5.
  [arguments]: Remove field to re-enable tests.
  [inputs]: Rename to 'propagated-inputs'.
2015-02-05 16:29:22 +08:00
宋文武 195857b0f7 gnu: Add orc.
* gnu/packages/gstreamer.scm (orc): New variable.
2015-02-05 16:11:23 +08:00
宋文武 666aa995f0 gnu: sdl: Don't use dlopen for shared object loading.
* gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>:
  Use '--disable-sdl-dlopen'.
  [propagated-inputs]: Add libcap.
2015-02-05 15:29:41 +08:00
宋文武 b907324d05 gnu: sdl2: Update to 2.0.3.
* gnu/packages/sdl.scm (sdl2): Update to 2.0.3.
2015-02-05 15:29:41 +08:00
宋文武 1effda8dc5 gnu: libmikmod: Update to 3.3.7.
* gnu/packages/sdl.scm (libmikmod): Update to 3.3.7.
2015-02-05 15:29:41 +08:00
Mark H Weaver 800d8d4061 gnu: wicd: Allow wicd-gtk to find its icons.
* gnu/packages/wicd.scm (wicd)[inputs]: Add hicolor-icon-theme.
  [arguments]: Install icons in $out/share/icons.  Install a copy of
  'index.theme' from 'hicolor-icon-theme' into $out/share/icons/hicolor.
2015-02-05 01:30:16 -05:00
Mark H Weaver b7d0c494f4 services: Add wicd service.
* gnu/services/networking.scm (wicd-service): New procedure.
* doc/guix.texi (Networking Services): Document it.
2015-02-04 18:20:17 -05:00
Mark H Weaver 10b60c0430 gnu: Add wicd.
Based on preliminary work by Pierre-Antoine Rault <par@rigelk.eu>

* gnu/packages/wicd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-02-04 18:20:17 -05:00
Mark H Weaver 4fb7e0de19 gnu: wpa-supplicant: Add dbus support; add wpa-supplicant-light.
* gnu/packages/admin.scm (wpa-supplicant-light): New variable containing the
  previous dbus-free package, but renamed.  Remove outdated TODO comments.
  (wpa-supplicant): Now inherits from wpa-supplicant-light but adds dbus
  support.
* gnu/system/install.scm (installation-os): Use wpa-supplicant-light.
2015-02-04 18:20:17 -05:00
Ludovic Courtès 698761587c gnu: nss-mdns: Allow the daemon's socket to be found.
* gnu/packages/avahi.scm (nss-mdns)[arguments]: New field.
2015-02-04 22:49:35 +01:00
Ludovic Courtès 4aee6e6003 services: nscd-service: Add #:name-services parameter.
* gnu/services/base.scm (nscd-service): Add #:name-services parameter.
  In 'start' field, set LD_LIBRARY_PATH based on #:name-services.
* doc/guix.texi (Base Services): Document it.
  (Name Service Switch): Link to 'nscd-service'.
2015-02-04 22:49:35 +01:00
Ludovic Courtès 996ed73948 system: Add bindings to configure libc's NSS.
* gnu/system/nss.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu.scm (%public-modules): Add it.
* gnu/system.scm (<operating-system>)[name-service-switch]: New field.
  (etc-directory): Add #:nss parameter and honor it.
  (operating-system-etc-directory): Adjust call accordingly.
* doc/guix.texi (operating-system Reference): Document
  'name-service-switch'.
  (Name Service Switch): New section.
2015-02-04 22:49:35 +01:00
Ludovic Courtès ffd74de0c6 gnu: wpa-supplicant: Install man pages.
* gnu/packages/admin.scm (wpa-supplicant)[arguments]: Add
  'install-man-pages' phase.
2015-02-04 22:49:35 +01:00