Commit Graph

5712 Commits

Author SHA1 Message Date
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
Ludovic Courtès 61bdd0d89f gnu: wpa-supplicant: Use GnuTLS instead of OpenSSL.
* gnu/packages/admin.scm (wpa-supplicant)[arguments] <configure phase>:
  Set CONFIG_TLS.
  [inputs]: Add GNUTLS and LIBGCRYPT.
2015-02-04 22:49:34 +01:00
Ludovic Courtès 3b9855f496 build: Make 'chroot' a hard requirement.
* config-daemon.ac: Error out when $ac_cv_func_chroot is not "yes".
* nix/nix-daemon/guix-daemon.cc (options): Remove #ifdef HAVE_CHROOT.
  (main): Likewise.
2015-02-04 22:49:34 +01:00
Mark H Weaver 6a070700df gnu: libffcall: Correct license field.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* gnu/packages/libffcall.scm (libffcall): Change license to gpl2+.
2015-02-04 04:31:40 -05:00
Mark H Weaver f5844fde7d gnu: Add libffcall.
* gnu/packages/libffcall.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Co-Authored-By: Joshua S. Grant <jgrant@parenthetical.io>
2015-02-04 01:51:21 -05:00
Mark H Weaver 89328d240f Add support for 'cvs-fetch' method in origins.
* guix/cvs-download.scm, guix/build/cvs.scm: New files.
* Makefile.am (MODULES): Add them.
2015-02-04 01:51:20 -05:00
Mark H Weaver b52af02b5d gnu: Add python2-dbus.
* gnu/packages/python.scm (python2-dbus): New variable.
2015-02-04 01:36:09 -05:00
Pierre-Antoine Rault d95a56c632 gnu: Add python-dbus.
* gnu/packages/python.scm (python-dbus): Add it. Makes use of dbus,
  dbus-glib and glib itself.
2015-02-04 01:36:03 -05:00
Mark H Weaver 613467abc5 Remove outdated comment from svn-fetch.
* guix/svn-download.scm (svn-fetch): Remove outdated comment.
2015-02-04 00:14:37 -05:00
Mark H Weaver be1f44bbd6 gnu: python-urwid: Remove Fedora mirror from source URI list.
* gnu/packages/python.scm (python-urwid)[source]: Remove Fedora mirror.
2015-02-04 00:11:06 -05:00
Mark H Weaver 9a72770094 gnu: wpa-supplicant: Update to 2.3.
* gnu/packages/admin.scm (wpa-supplicant): Update to 2.3.  Update URLs.
2015-02-03 23:10:59 -05:00
David Thompson 4b7ad2e338 guix: environment: Consider all package outputs.
* guix/scripts/environment.scm (for-each-search-path): Iterate over all
  derivation output paths.
  (packages->transitive-inputs): Process inputs that specify an output, too.
2015-02-03 16:11:01 -05:00
宋文武 5ce93d9ade services: xorg: Add sawfish session.
* gnu/services/xorg.scm (%sawfish-session-type): New variable.
* doc/guix.texi (X Window): Mention it.
2015-02-03 22:20:49 +08:00
宋文武 ca2eebbd99 gnu: Add sawfish.
* gnu/packages/sawfish.scm (sawfish): New variable.
2015-02-03 22:13:00 +08:00
宋文武 a0aa8d0be0 gnu: Add rep-gtk.
* gnu/packages/sawfish.scm (rep-gtk): New variable.
2015-02-03 22:13:00 +08:00
宋文武 93dc836f9d gnu: Add librep.
* gnu/packages/sawfish.scm: New file.
* gnu/packages/patches/librep-rules.mk.patch: New file.
* gnu-system.am: Add them.
2015-02-03 22:13:00 +08:00
Mark H Weaver e99f421185 gnu: Add python-urwid and python2-urwid.
Based on preliminary work by Omar Radwan <toxemicsquire4@gmail.com>.

* gnu/packages/python.scm (python-urwid, python2-urwid): New variables.
2015-02-03 00:33:08 -05:00
David Thompson 50b7a6a040 gnu: httpd: Add perl input.
* gnu/packages/web.scm (httpd): Add perl input.
2015-02-02 20:38:31 -05:00