Commit Graph

5191 Commits

Author SHA1 Message Date
Ludovic Courtès 46b23e1a43 profiles: Distinguish downgrades from upgrades.
Fixes <http://bugs.gnu.org/19764>.

* guix/profiles.scm (manifest-transaction-effects): Return downgraded
  packages as a fourth value.
* guix/ui.scm (show-manifest-transaction): Adjust accordingly.
* tests/profiles.scm ("manifest-transaction-effects and downgrades"):
  New test.
2015-02-08 19:00:39 +01:00
Ludovic Courtès 77ee4a96f4 ui: Simplify 'show-manifest-transaction' test.
* tests/ui.scm ("show-manifest-transaction"): Remove useless call to
  'manifest-transaction-effects'.
2015-02-08 19:00:39 +01:00
Ludovic Courtès b7071bc5bb ui: Properly report '&nar-error' conditions.
This is a followup to 46b8aad.

* guix/ui.scm (call-with-error-handling): Add 'nar-error?' case.
2015-02-08 19:00:39 +01:00
Ludovic Courtès 0919f5f466 build: Remove references to 'nix-setuid-helper'.
'nix-setuid-helper' vanished in commit d43eb499a (Jan. 2014.)

* pre-inst-env.in: Remove occurrences of 'NIX_SETUID_HELPER'.
2015-02-08 19:00:39 +01:00
Ludovic Courtès 843b196287 gnu: guile-ssh: Correct post-installation test.
* gnu/packages/ssh.scm (guile-ssh)[arguments]
  <fix-libguile-ssh-file-name>: Call 'zero?' to check the return value of
  'system*'.
2015-02-08 19:00:39 +01:00
Andreas Enge 27e86bed53 gnu: Add p11-kit.
* gnu/packages/gnutls.scm (p11-kit): New variable.
2015-02-08 16:23:44 +01:00
Andreas Enge 75be6b7c06 gnu: Add libmtp.
* gnu/packages/libusb.scm (libmtp): New variable.
2015-02-08 14:36:55 +01:00
David Thompson 5294768ce3 gnu: tidy: Run bootstrap phase after the unpack phase.
* gnu/packages/web.scm (tidy): Run bootstrap phase after the unpack phase,
  rather than before the configure phase.
2015-02-07 21:12:21 -05:00
Jason Self 59c4cceea8 gnu: linux-libre: Update to 3.18.6
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.6.
2015-02-07 16:21:04 -08:00
David Thompson 18cb3df837 gnu: Add tidy.
* gnu/packages/web.scm (tidy): New variable.
2015-02-07 18:48:53 -05:00
Ludovic Courtès 0cb804117f gnu: lightning: Update to 2.1.0.
* gnu/packages/lightning.scm (lightning): Update to 2.1.0.
2015-02-07 23:30:05 +01:00
Ludovic Courtès cce629c027 Thank Andrei. 2015-02-07 23:17:33 +01:00
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