jackhill/guix/guix.git
9 years agodoc: Mention GNU Make as a requirement.
Ludovic Courtès [Sun, 10 May 2015 09:20:35 +0000 (11:20 +0200)]
doc: Mention GNU Make as a requirement.

* README (Requirements): Add GNU Make.
* doc/guix.texi (Requirements): Likewise.

9 years agohttp-client: Remove monkey patching for 2.0.5.
Ludovic Courtès [Thu, 7 May 2015 19:51:12 +0000 (21:51 +0200)]
http-client: Remove monkey patching for 2.0.5.

* guix/http-client.scm (read-response-body*): Remove.
  (http-fetch): Remove hacks for 2.0.5.

9 years agoRemove assorted Guile 2.0.5 workarounds.
Ludovic Courtès [Thu, 7 May 2015 19:51:30 +0000 (21:51 +0200)]
Remove assorted Guile 2.0.5 workarounds.

* guix/scripts/authenticate.scm (%default-port-conversion-strategy):
  Remove.
* guix/scripts/substitute.scm (fetch): Remove 2.0.5 special cases.
* guix/serialization.scm (write-file): Remove 'scandir' workaround.
* guix/ui.scm (command-files): Likewise.

9 years agobuild: Require Guile >= 2.0.7.
Ludovic Courtès [Thu, 7 May 2015 19:15:56 +0000 (21:15 +0200)]
build: Require Guile >= 2.0.7.

* configure.ac: Require guile-2.0 >= 2.0.7.
* README: Adjust accordingly.
* doc/guix.texi (Requirements): Likewise.

9 years agoRemove leftover patches.
Cyril Roelandt [Fri, 8 May 2015 17:37:05 +0000 (19:37 +0200)]
Remove leftover patches.

* gnu/packages/patches/guix-test-networking.patch: Delete it.
* gnu/packages/patches/libtool-skip-tests.patch: Delete it.
* gnu/packages/patches/python-sqlite-3.8.4-test-fix.patch: Delete it.
* gnu/packages/patches/udev-gir-libtool.patch: Delete it.
* gnu-system.am (dist_patch_DATA): Remove them as well.

9 years agodoc: Show both the "bare-bones" and the "desktop" configurations.
Ludovic Courtès [Sat, 9 May 2015 21:51:46 +0000 (23:51 +0200)]
doc: Show both the "bare-bones" and the "desktop" configurations.

* doc/guix.texi (System Installation): Add xref to "Using the
  Configuration System" instead of including one here.
  (Using the Configuration System): Remove first example, and include
  os-config-bare-bones.texi instead.  Include os-config-desktop.texi as
  a second example.
* doc.am (OS_CONFIG_EXAMPLES_TEXI): New variable.
  (BUILT_SOURCES, EXTRA_DIST, MAINTAINERCLEANFILES): Use it.
  (doc/os-config.texi): Remove.
  (doc/os-config-%.texi): New target.

9 years agoinstall: Have several OS config templates under /etc/configuration.
Ludovic Courtès [Sat, 9 May 2015 21:34:01 +0000 (23:34 +0200)]
install: Have several OS config templates under /etc/configuration.

* gnu/system/install.scm (configuration-template-service): Remove
  'local-template' and 'template'.  Add 'search' and 'templates'.
  [activate]: Copy all of TEMPLATES to /etc/configuration.
* doc/guix.texi (System Installation): Adjust file name accordingly.

9 years agodoc: Add desktop configuration example.
Ludovic Courtès [Sat, 9 May 2015 21:16:11 +0000 (23:16 +0200)]
doc: Add desktop configuration example.

* gnu/system/examples/bare-bones.tmpl: Change 'packages' and
  'host-name'.  Remove D-Bus, Avahi, and SLiM services, and add lsh
  instead.
* gnu/system/examples/desktop.tmpl: New file.
* Makefile.am (EXAMPLES): Add it.

9 years agoservices: dhcp-client: Better track dhclient's PID.
Ludovic Courtès [Sat, 9 May 2015 20:28:03 +0000 (22:28 +0200)]
services: dhcp-client: Better track dhclient's PID.

* gnu/services/networking.scm (dhcp-client-service)[start]: Remove
  PID-FILE first.  When 'call-with-input-file' throws ENOENT, try
  again.

9 years agodoc: Rename OS config example.
Ludovic Courtès [Sat, 9 May 2015 14:41:38 +0000 (16:41 +0200)]
doc: Rename OS config example.

* gnu/system/os-config.tmpl: Rename to...
* gnu/system/examples/bare-bones.tmpl: ... this.
* Makefile.am (EXAMPLES): Adjust accordingly.
* doc.am (doc/os-config.texi): Likewise.
* gnu/system/install.scm (configuration-template-service)[template]:
  Likewise.

9 years agognu: wicd: Add patch to fix template instantiation.
Ludovic Courtès [Sat, 9 May 2015 13:40:14 +0000 (15:40 +0200)]
gnu: wicd: Add patch to fix template instantiation.

* gnu/packages/patches/wicd-template-instantiation.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/wicd.scm (wicd)[source]: Use it.

9 years agosystem: activate-ptrace-attach: Handle kernels without YAMA support.
Mark H Weaver [Sat, 9 May 2015 16:57:36 +0000 (12:57 -0400)]
system: activate-ptrace-attach: Handle kernels without YAMA support.

* gnu/build/activation.scm (activate-ptrace-attach): Check for the existence
  of /proc/sys/kernel/yama/ptrace_scope before trying to write to it.

9 years agognu: sqlite: Update to 3.8.9.
Mark H Weaver [Wed, 6 May 2015 23:16:38 +0000 (19:16 -0400)]
gnu: sqlite: Update to 3.8.9.

* gnu/packages/databases.scm (sqlite): Update to 3.8.9.

9 years agognu: subversion: Add fix for sqlite-3.8.9.
Mark H Weaver [Thu, 7 May 2015 09:32:47 +0000 (05:32 -0400)]
gnu: subversion: Add fix for sqlite-3.8.9.

* gnu/packages/patches/subversion-sqlite-3.8.9-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/version-control.scm (subversion): Add patch.

9 years agognu: mariadb: Update to 10.0.18.
Mark H Weaver [Fri, 8 May 2015 23:58:56 +0000 (19:58 -0400)]
gnu: mariadb: Update to 10.0.18.

* gnu/packages/databases.scm (mariadb): Update to 10.0.18.

9 years agognu: gimp: Enable Python scripting support.
Ricardo Wurmus [Fri, 8 May 2015 07:35:07 +0000 (09:35 +0200)]
gnu: gimp: Enable Python scripting support.

* gnu/packages/gimp.scm (gimp): Enable Python scripting support.

9 years agodoc: Document 'avahi-service'.
Ludovic Courtès [Fri, 8 May 2015 14:33:52 +0000 (16:33 +0200)]
doc: Document 'avahi-service'.

* gnu/services/avahi.scm (avahi-service): Add URL in docstring.
* doc/guix.texi (Networking Services): Document it.
  (Name Service Switch): Fix cross-reference.

9 years agodoc: Document sessions and ~/.xsession for SLiM.
Ludovic Courtès [Fri, 8 May 2015 14:26:53 +0000 (16:26 +0200)]
doc: Document sessions and ~/.xsession for SLiM.

* gnu/services/xorg.scm (slim-service): Document session types and
  ~/.xsession.
* doc/guix.texi (X Window): Adjust accordingly.

9 years agoservices: Add '%desktop-services'.
Ludovic Courtès [Fri, 8 May 2015 13:58:59 +0000 (15:58 +0200)]
services: Add '%desktop-services'.

* gnu/services/desktop.scm (%desktop-services): New variable.
* doc/guix.texi (Desktop Services): Document it.

9 years agoprofiles: Ensure the profile's etc/ directory is writable.
Ludovic Courtès [Fri, 8 May 2015 13:39:45 +0000 (15:39 +0200)]
profiles: Ensure the profile's etc/ directory is writable.

Reported by 宋文武 <iyzsong@gmail.com>.

* guix/build/profiles.scm (build-etc/profile,
  ensure-writable-directory): New procedures.
  (build-profile): Use them.
* tests/profiles.scm ("etc/profile when etc/ already exists"): New test.

9 years agonss: Add '%mdns-host-lookup-nss'.
Ludovic Courtès [Fri, 8 May 2015 12:59:00 +0000 (14:59 +0200)]
nss: Add '%mdns-host-lookup-nss'.

* gnu/system/nss.scm (%mdns-host-lookup-nss): New variable.
* doc/guix.texi (Name Service Switch): Document it.

9 years agognu: Add aisleriot.
宋文武 [Fri, 8 May 2015 14:08:04 +0000 (22:08 +0800)]
gnu: Add aisleriot.

* gnu/packages/gnome.scm (aisleriot): New variable.

9 years agognu: gcj: Add $libdir to RUNPATH.
Ricardo Wurmus [Fri, 8 May 2015 10:36:58 +0000 (12:36 +0200)]
gnu: gcj: Add $libdir to RUNPATH.

* gnu/packages/gcc.scm (gcj)[arguments]: Add build phase to add library output
  directory to RUNPATH.

9 years agognu: linux-libre: Update to 4.0.2.
Mark H Weaver [Thu, 7 May 2015 22:40:15 +0000 (18:40 -0400)]
gnu: linux-libre: Update to 4.0.2.

* gnu/packages/patches/linux-libre-libreboot-fix.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (linux-libre): Update to 4.0.2.  Remove patch.

9 years agognu: Add libwps.
Andreas Enge [Thu, 7 May 2015 21:11:01 +0000 (23:11 +0200)]
gnu: Add libwps.

* gnu/packages/libreoffice.scm (libwps): New variable.

9 years agognu: Add libmwaw.
Andreas Enge [Thu, 7 May 2015 20:48:46 +0000 (22:48 +0200)]
gnu: Add libmwaw.

* gnu/packages/libreoffice.scm (libmwaw): New variable.

9 years agognu: Add libodfgen.
Andreas Enge [Thu, 7 May 2015 20:35:13 +0000 (22:35 +0200)]
gnu: Add libodfgen.

* gnu/packages/libreoffice.scm (libodfgen): New variable.

9 years agoartwork: Update to latest version.
Ludovic Courtès [Thu, 7 May 2015 21:07:54 +0000 (23:07 +0200)]
artwork: Update to latest version.

* gnu/artwork.scm (%artwork-repository): Update.
* gnu/services/xorg.scm (%default-slim-theme-name): Change to "0.x".
* gnu/system/grub.scm (%background-image): Change to
  GuixSD-fully-black-4-3.svg.

9 years agognu: ardour: Fix inheritance of Ardour package.
Ricardo Wurmus [Thu, 7 May 2015 20:47:31 +0000 (22:47 +0200)]
gnu: ardour: Fix inheritance of Ardour package.

* gnu/packages/audio.scm (ardour): Inherit from "ardour-3" instead of
  "ardour".

9 years agognu: Add Ardour 4.
Ricardo Wurmus [Mon, 20 Apr 2015 19:36:17 +0000 (21:36 +0200)]
gnu: Add Ardour 4.

* gnu/packages/audio.scm (ardour): Rename to ...
  (ardour-3): ... this.
  (ardour): New variable.

9 years agognu: Add GnuCash.
Ricardo Wurmus [Wed, 6 May 2015 06:41:40 +0000 (08:41 +0200)]
gnu: Add GnuCash.

* gnu/packages/gnucash.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

9 years agognu: Add WebkitGTK 2.4.8.
Ricardo Wurmus [Wed, 6 May 2015 06:38:06 +0000 (08:38 +0200)]
gnu: Add WebkitGTK 2.4.8.

* gnu/packages/webkit.scm (webkitgtk-2.4): New variable.
* gnu/packages/patches/webkitgtk-2.4.8-gmutexlocker.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

9 years agognu: Add goffice-0.8.
Ricardo Wurmus [Sun, 19 Apr 2015 16:38:24 +0000 (18:38 +0200)]
gnu: Add goffice-0.8.

* gnu/packages/gnome.scm (goffice-0.8): New variable.

9 years agognu: mesa: Build gallium drivers for nouveau.
David Thompson [Wed, 6 May 2015 17:46:18 +0000 (13:46 -0400)]
gnu: mesa: Build gallium drivers for nouveau.

* gnu/packages/gl.scm (mesa): Pass "nouveau" to "--with-gallium-drivers" flag.

9 years agognu: serf: Apply upstream fixes.
Mark H Weaver [Thu, 7 May 2015 16:19:33 +0000 (12:19 -0400)]
gnu: serf: Apply upstream fixes.

* gnu/packages/patches/serf-comment-style-fix.patch,
  gnu/packages/patches/serf-deflate-buckets-test-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/web.scm (serf): Add patches.  Remove 'remove-non-c89-comment'
  phase.

9 years agognu: Add openvpn.
David Thompson [Wed, 6 May 2015 19:08:47 +0000 (15:08 -0400)]
gnu: Add openvpn.

* gnu/packages/vpn.scm (openvpn): New variable.

9 years agognu: bridge-utils: Fix build system.
David Thompson [Wed, 6 May 2015 21:00:07 +0000 (17:00 -0400)]
gnu: bridge-utils: Fix build system.

* gnu/packages/linux.scm (bridge-utils): Patch source to fix compilation
  error.  Patch Makefile to fail in case of future compilation errors.

9 years agognu: Add postgresql-service.
David Thompson [Sun, 3 May 2015 21:02:59 +0000 (17:02 -0400)]
gnu: Add postgresql-service.

* gnu/services/databases.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi ("Database Services"): New subsubsection.

9 years agognu: Remove neon-0.29.6.
Mark H Weaver [Thu, 7 May 2015 08:54:57 +0000 (04:54 -0400)]
gnu: Remove neon-0.29.6.

* gnu/packages/version-control.scm (neon-0.29.6): Remove variable.

9 years agognu: subversion: Add serf to inputs.
Mark H Weaver [Thu, 7 May 2015 08:51:26 +0000 (04:51 -0400)]
gnu: subversion: Add serf to inputs.

This is a followup to d5e9f3809dc7d521874cfad0a242ab664f6c19bc, which upgraded
subversion to 1.8.x.  Previously we used 'neon' to support http access
methods, but subversion 1.8 drops support for 'neon' in favor of 'serf'.

* gnu/packages/version-control.scm (subversion)[inputs]: Add 'serf' and remove
  'neon'.
  [arguments]: Fix typo in phase name.

9 years agognu: Add serf.
Mark H Weaver [Thu, 7 May 2015 08:48:52 +0000 (04:48 -0400)]
gnu: Add serf.

* gnu/packages/web.scm (serf): New variable.

9 years agognu: scons: Update to 2.3.4.
Mark H Weaver [Thu, 7 May 2015 05:43:48 +0000 (01:43 -0400)]
gnu: scons: Update to 2.3.4.

* gnu/packages/python.scm (scons): Update to 2.3.4.

9 years agognu: apr-util: Use system expat library.
Mark H Weaver [Thu, 7 May 2015 08:43:01 +0000 (04:43 -0400)]
gnu: apr-util: Use system expat library.

* gnu/packages/apr.scm: Import (guix licenses) with prefix "l:".
  (apr)[license]: Adapt to license prefix.
  (apr-util)[propagated-inputs]: Add expat.
  [arguments]: Pass --with-expat to configure.
  [license]: Adapt to license prefix.

9 years agognu: apr: Update to 1.5.2.
Mark H Weaver [Thu, 7 May 2015 08:40:05 +0000 (04:40 -0400)]
gnu: apr: Update to 1.5.2.

* gnu/packages/apr.scm (apr): Update to 1.5.2.

9 years agosystem: Use "." instead of "source" in /etc/profile.
Ludovic Courtès [Thu, 7 May 2015 07:45:45 +0000 (09:45 +0200)]
system: Use "." instead of "source" in /etc/profile.

* gnu/system.scm (etc-directory)[profile]: Use "." instead of "source",
  the latter being Bash-specific.

9 years agosystem: Check whether ~/.guix-profile/etc/profile exists.
Ludovic Courtès [Thu, 7 May 2015 07:43:59 +0000 (09:43 +0200)]
system: Check whether ~/.guix-profile/etc/profile exists.

* gnu/system.scm (etc-directory)[profile]: Check for
  ~/.guix-profile/etc/profile rather than just ~/.guix-profile.

9 years agognu: Add dosfstools.
Mark H Weaver [Thu, 7 May 2015 04:53:48 +0000 (00:53 -0400)]
gnu: Add dosfstools.

* gnu/packages/disk.scm (dosfstools): New variable.

9 years agotests: Fix etc/profile test.
Taylan Ulrich Bayırlı/Kammer [Wed, 6 May 2015 18:13:31 +0000 (20:13 +0200)]
tests: Fix etc/profile test.

* tests/profiles.scm ("etc/profile"): Unset GUIX_PROFILE before sourcing
  etc/profile.  Use '.' instead of 'source' for sourcing.  Call 'echo $PATH'
  instead of using the output of 'set' to determine whether PATH is set.

9 years agognu: Add libvisio.
Andreas Enge [Wed, 6 May 2015 20:25:21 +0000 (22:25 +0200)]
gnu: Add libvisio.

* gnu/packages/libreoffice.scm (libvisio): New variable.

9 years agognu: Add libpagemaker.
Andreas Enge [Wed, 6 May 2015 20:12:43 +0000 (22:12 +0200)]
gnu: Add libpagemaker.

* gnu/packages/libreoffice.scm (libpagemaker): New variable.

9 years agognu: Add libmspub.
Andreas Enge [Wed, 6 May 2015 20:06:36 +0000 (22:06 +0200)]
gnu: Add libmspub.

* gnu/packages/libreoffice.scm (libmspub): New variable.

9 years agognu: Add libfreehand.
Andreas Enge [Wed, 6 May 2015 19:57:42 +0000 (21:57 +0200)]
gnu: Add libfreehand.

* gnu/packages/libreoffice.scm (libfreehand): New variable.

9 years agognu: Add libexttextcat.
Andreas Enge [Wed, 6 May 2015 19:47:45 +0000 (21:47 +0200)]
gnu: Add libexttextcat.

* gnu/packages/libreoffice.scm (libexttextcat): New variable.

9 years agognu: Add libetonyek.
Andreas Enge [Wed, 6 May 2015 19:42:51 +0000 (21:42 +0200)]
gnu: Add libetonyek.

* gnu/packages/libreoffice.scm (libetonyek): New variable.

9 years agognu: Add libcdr.
Andreas Enge [Wed, 6 May 2015 19:34:49 +0000 (21:34 +0200)]
gnu: Add libcdr.

* gnu/packages/libreoffice.scm (libcdr): New variable.

9 years agognu: Add libabw.
Andreas Enge [Wed, 6 May 2015 19:18:32 +0000 (21:18 +0200)]
gnu: Add libabw.

* gnu/packages/libreoffice.scm (libabw): New variable.

9 years agognu: Add python-pyxdg.
Ricardo Wurmus [Tue, 14 Apr 2015 06:53:03 +0000 (08:53 +0200)]
gnu: Add python-pyxdg.

* gnu/packages/freedesktop.scm (python-pyxdg, python2-pyxdg): New variables.

9 years agosystem: /etc/profile sources each profile's /etc/profile.
Ludovic Courtès [Wed, 6 May 2015 16:23:27 +0000 (18:23 +0200)]
system: /etc/profile sources each profile's /etc/profile.

Partly fixes <http://bugs.gnu.org/20255>.
Reported by 宋文武 <iyzsong@gmail.com>.

* gnu/system.scm (etc-directory)[profile]: Source
  /run/current-system/profile/etc/profile and
  $HOME/.guix-profile/etc/profile when available.  Move definitions of
  SSL_CERT_DIR, SSL_CERT_FILE, and GIT_SSL_CAINFO before that.

9 years agoprofiles: Generate an 'etc/profile' file.
Ludovic Courtès [Wed, 6 May 2015 15:08:00 +0000 (17:08 +0200)]
profiles: Generate an 'etc/profile' file.

Suggested by 宋文武 <iyzsong@gmail.com>
in <http://bugs.gnu.org/20255>.

* guix/build/profiles.scm (abstract-profile,
  write-environment-variable-definition): New procedures.
  (build-profile): Add #:search-paths parameter.  Create
  OUTPUT/etc/profile.
* guix/profiles.scm (profile-derivation)[builder]: Add 'search-paths'
  variable and pass it to 'build-profile'.  Adjust #:modules argument.
* tests/profiles.scm ("etc/profile"): New test.
* doc/guix.texi (Invoking guix package): Mention etc/profile.

9 years agoprofiles: Move build code to (guix build profiles).
Ludovic Courtès [Wed, 6 May 2015 12:14:58 +0000 (14:14 +0200)]
profiles: Move build code to (guix build profiles).

* guix/build/profiles.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/profiles.scm (profile-derivation)[builder]: Call out to
  'build-profile'.
  Add (guix build profiles) to the #:modules argument.

9 years agosearch-paths: Export 'string-tokenize*'.
Ludovic Courtès [Wed, 6 May 2015 09:10:24 +0000 (11:10 +0200)]
search-paths: Export 'string-tokenize*'.

* guix/search-paths.scm (string-tokenize*): Export.
* tests/utils.scm ("string-tokenize*"): Adjust accordingly.

9 years agognu: moe: Update to 1.7.
Eric Bavier [Wed, 6 May 2015 16:13:47 +0000 (11:13 -0500)]
gnu: moe: Update to 1.7.

* gnu/packages/moe.scm (moe): Update to 1.7.

9 years agognu: hop: Remove use of patchelf.
Eric Bavier [Wed, 6 May 2015 01:21:38 +0000 (20:21 -0500)]
gnu: hop: Remove use of patchelf.

* gnu/packages/patches/hop-linker-flags.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/scheme.scm (source)[patches]: Use it.
  (arguments)[phases]: Remove patch-rpath phase.
  [modules, imported-modules]: Remove.
  (native-inputs): Remove field.

9 years agognu: Add elogind.
Ricardo Wurmus [Sun, 26 Apr 2015 13:55:59 +0000 (15:55 +0200)]
gnu: Add elogind.

* gnu/packages/freedesktop.scm (elogind): New variable.

9 years agognu: Add IR.
Ricardo Wurmus [Sat, 25 Apr 2015 18:46:13 +0000 (20:46 +0200)]
gnu: Add IR.

* gnu/packages/audio.scm (ir): New variable.

9 years agognu: Add zita-convolver.
Ricardo Wurmus [Sat, 25 Apr 2015 18:15:52 +0000 (20:15 +0200)]
gnu: Add zita-convolver.

* gnu/packages/audio.scm (zita-convolver): New variable.

9 years agodownload: Work around Guile small-receive-buffer bug.
Ludovic Courtès [Wed, 6 May 2015 08:31:11 +0000 (10:31 +0200)]
download: Work around Guile small-receive-buffer bug.

Previously, code using directly (guix build download) was still affected
by <http://bugs.gnu.org/15368>.  This includes source derivations, the
'guix download' command, and (guix gnu-maintenance).

'guix substitute' was unaffected since it used (guix http-client), which
already had the fix.

* guix/http-client.scm (open-socket-for-uri): Remove.
  (http-fetch): Remove #:buffered? argument to 'open-socket-for-uri';
  use 'setvbuf' instead.
* guix/scripts/substitute.scm (fetch): Likewise.
* guix/build/download.scm (open-socket-for-uri): New procedure, taken
  from guix/http-client.scm, but without the #:buffered? parameter.

9 years agodownload: Reinstate buffering on connection sockets.
Ludovic Courtès [Wed, 6 May 2015 07:50:15 +0000 (09:50 +0200)]
download: Reinstate buffering on connection sockets.

* guix/build/download.scm (open-connection-for-uri): Reinstate call to
  'setvbuf' inadvertently removed in d17551d9.

9 years agognu: webkitgtk: Remove unnecessary make flag.
David Hashe [Wed, 6 May 2015 04:49:55 +0000 (23:49 -0500)]
gnu: webkitgtk: Remove unnecessary make flag.

* gnu/packages/webkit.scm (webkitgtk): Remove make-flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agoactivation: Make user copies of the skeletons writable.
Ludovic Courtès [Tue, 5 May 2015 21:46:54 +0000 (23:46 +0200)]
activation: Make user copies of the skeletons writable.

* gnu/build/activation.scm (make-file-writable,
  make-skeletons-writable): New procedures.
  (copy-account-skeletons): Call 'make-file-writable' after 'copy-file'.
  (add-user): Add call to 'make-skeletons-writable'.

9 years agognu: librevenge, libwpd, libwpg: Fix 'license' field.
Ludovic Courtès [Tue, 5 May 2015 20:44:16 +0000 (22:44 +0200)]
gnu: librevenge, libwpd, libwpg: Fix 'license' field.

* gnu/packages/libreoffice.scm (librevenge, libwpd, libwpg): Fix
  'license' field to be a list of <license>.

9 years agoservices: Group desktop services in (gnu services desktop).
Ludovic Courtès [Fri, 1 May 2015 17:36:10 +0000 (19:36 +0200)]
services: Group desktop services in (gnu services desktop).

* gnu/services/colord.scm, gnu/services/dbus.scm,
  gnu/services/upower.scm: Remove.
* gnu/services/desktop.scm: New file, with contents taken from the above
  files.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* doc/guix.texi (Desktop Services): New section.
  (Various Services): Move colord-service and upower-service from
  here to "Desktop Services".

9 years agognu: hop: Fix RPATHs.
Eric Bavier [Tue, 5 May 2015 16:01:06 +0000 (11:01 -0500)]
gnu: hop: Fix RPATHs.

* gnu/packages/scheme.scm (inputs): Move patchelf input to...
  (native-inputs): ...here.  New field.
  (arguments)[phases]: Use augment-rpath for patch-rpath phase.

9 years agognu: perl-json-any: Fix typo in source uri scheme.
Eric Bavier [Tue, 5 May 2015 20:09:33 +0000 (15:09 -0500)]
gnu: perl-json-any: Fix typo in source uri scheme.

* gnu/packages/perl.scm (perl-json-any)[source]: Fix typo.

9 years agognu: webkitgtk: Fix compilation on x86_64.
David Hashe [Tue, 5 May 2015 06:48:28 +0000 (01:48 -0500)]
gnu: webkitgtk: Fix compilation on x86_64.

* gnu/packages/webkit.scm (webkitgtk): Move library install path from lib64 to
 lib.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: wxwidgets-2: Add $libdir to RUNPATH.
Ludovic Courtès [Tue, 5 May 2015 20:00:53 +0000 (22:00 +0200)]
gnu: wxwidgets-2: Add $libdir to RUNPATH.

* gnu/packages/wxwidgets.scm (wxwidgets-2)[arguments]: Add #:make-flags,
  as for WXWIDGETS.

9 years agognu: mozjs: Mark as unsupported on mips64el-linux.
Ludovic Courtès [Tue, 5 May 2015 19:39:18 +0000 (21:39 +0200)]
gnu: mozjs: Mark as unsupported on mips64el-linux.

* gnu/packages/gnuzilla.scm (mozjs)[supported-systems]: New field.

9 years agognu: gpgme: Build against GnuPG 2.0.
Ludovic Courtès [Tue, 5 May 2015 15:43:19 +0000 (17:43 +0200)]
gnu: gpgme: Build against GnuPG 2.0.

* gnu/packages/gnupg.scm (gpgme)[inputs]: Change to GNUPG-2.0.

9 years agoenvironment: Move iteration outside of 'for-each-search-path'.
Ludovic Courtès [Tue, 5 May 2015 13:02:35 +0000 (15:02 +0200)]
environment: Move iteration outside of 'for-each-search-path'.

* guix/search-paths.scm (search-path-definition): New procedure.
* guix/scripts/environment.scm (for-each-search-path): Rename to...
  (evaluate-input-search-paths): ... this.  Remove 'proc' and 'pure?'
  parameters, and return directly the list of search-path/value pairs.
  (create-environment): Use 'for-each' and 'evaluate-input-search-paths'
  instead of 'for-each-search-path'.
  (show-search-paths): Use 'for-each', 'search-path-definition', and
  'evaluate-search-paths' instead of 'for-each-search-path'.

9 years agoenvironment: Use 'evaluate-search-paths'.
Ludovic Courtès [Tue, 5 May 2015 12:10:57 +0000 (14:10 +0200)]
environment: Use 'evaluate-search-paths'.

This allows 'guix environment' to correctly handle non-directory
and/or pattern search-path specifications, such as that for
'XML_CATALOG_FILES'.

* guix/scripts/environment.scm (for-each-search-path): Use
  'evaluate-search-paths' instead of 'search-path-as-list' & co.

9 years agosearch-paths: Define the 'PATH' environment variable.
Ludovic Courtès [Tue, 5 May 2015 11:57:59 +0000 (13:57 +0200)]
search-paths: Define the 'PATH' environment variable.

* guix/search-paths.scm ($PATH): New variable.
* guix/scripts/environment.scm (for-each-search-path): Use it.

9 years agosearch-paths: 'evaluate-search-paths' can be passed a list of directories.
Ludovic Courtès [Tue, 5 May 2015 11:55:03 +0000 (13:55 +0200)]
search-paths: 'evaluate-search-paths' can be passed a list of directories.

* guix/search-paths.scm (evaluate-search-paths): Change 'directory' to
  'directories', and adjust 'search-path-as-list' accordingly.
* guix/scripts/package.scm (search-path-environment-variables): Adjust
  call accordingly.

9 years agognu-maintenance: 'gnu-package?' returns #t for R and for GNOME packages.
Ludovic Courtès [Tue, 5 May 2015 11:46:20 +0000 (13:46 +0200)]
gnu-maintenance: 'gnu-package?' returns #t for R and for GNOME packages.

Reported by John Darrington.

* guix/gnu-maintenance.scm (gnu-package?)[mirror-type]: Add "gnome" to
  the list of GNU mirrors.  Return #f for "cran".

9 years agoenvironment: Use (guix search-paths).
Ludovic Courtès [Tue, 5 May 2015 08:59:26 +0000 (10:59 +0200)]
environment: Use (guix search-paths).

* guix/scripts/environment.scm: Use (guix search-paths).  Fixes a
  regression introduced in e89431b.

9 years agognu: vcftools: Remove "-m64" from CFLAGS.
Ricardo Wurmus [Mon, 4 May 2015 10:17:14 +0000 (12:17 +0200)]
gnu: vcftools: Remove "-m64" from CFLAGS.

* gnu/packages/bioinformatics.scm (vcftools): Explicitly set CFLAGS to
  remove "-m64" flag.

9 years agognu: fltk: Fix undefined symbol errors for shared libraries.
Eric Bavier [Tue, 5 May 2015 05:38:59 +0000 (00:38 -0500)]
gnu: fltk: Fix undefined symbol errors for shared libraries.

* gnu/packages/patches/fltk-shared-lib-defines.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/fltk.scm (source)[patches]: New field.

9 years agognu: ardour: Add library dirs to RUNPATH.
Ricardo Wurmus [Tue, 5 May 2015 04:24:41 +0000 (06:24 +0200)]
gnu: ardour: Add library dirs to RUNPATH.

* gnu/packages/audio.scm (ardour)[arguments]: Add a build phase to add all
  library output directories to the rpath using linker flags.

9 years agognu: Add bluez.
David Thompson [Sun, 26 Apr 2015 21:49:53 +0000 (17:49 -0400)]
gnu: Add bluez.

* gnu/packages/linux.scm (bluez): New variable.

9 years agognu: Add libical.
David Thompson [Sun, 26 Apr 2015 21:46:57 +0000 (17:46 -0400)]
gnu: Add libical.

* gnu/packages/calendar.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

9 years agognu: Add soil.
David Thompson [Sun, 26 Apr 2015 20:41:25 +0000 (16:41 -0400)]
gnu: Add soil.

* gnu/packages/gl.scm (soil): New variable.

9 years agorecords: Make 'make-syntactic-constructor' available at load/eval/expand.
Ludovic Courtès [Mon, 4 May 2015 21:18:14 +0000 (23:18 +0200)]
records: Make 'make-syntactic-constructor' available at load/eval/expand.

* guix/records.scm (make-syntactic-constructor): Wrap in 'eval-when'.

9 years agoprofiles: Use a &message error condition instead of 'error'.
Ludovic Courtès [Mon, 4 May 2015 20:41:31 +0000 (22:41 +0200)]
profiles: Use a &message error condition instead of 'error'.

* guix/profiles.scm (sexp->manifest): Use 'raise' instead of 'error'.

9 years agosearch-paths: 'evaluate-search-paths' now returns spec/value pairs.
Ludovic Courtès [Mon, 4 May 2015 20:27:11 +0000 (22:27 +0200)]
search-paths: 'evaluate-search-paths' now returns spec/value pairs.

* guix/search-paths.scm (evaluate-search-paths): Return
  specification/value pairs instead of variable/value pairs.
* guix/scripts/package.scm (search-path-environment-variables): Adjust
  accordingly.  Pass #:separator to 'environment-variable-definition'.

9 years agosearch-paths: Add 'environment-variable-definition'.
Ludovic Courtès [Mon, 4 May 2015 20:06:24 +0000 (22:06 +0200)]
search-paths: Add 'environment-variable-definition'.

* guix/search-paths.scm (environment-variable-definition): New variable.
* guix/scripts/package.scm (search-path-environment-variables): Use it.

9 years agosearch-paths: Add 'evaluate-search-paths', from (guix scripts package).
Ludovic Courtès [Mon, 4 May 2015 19:44:52 +0000 (21:44 +0200)]
search-paths: Add 'evaluate-search-paths', from (guix scripts package).

* guix/scripts/package.scm (with-null-error-port,
  evaluate-search-paths): Move to...
* guix/search-paths.scm: ... here.
* guix/utils.scm (string-tokenize*): Move to...
* guix/search-paths.scm: ... here.
* tests/utils.scm ("string-tokenize*"): Adjust accordingly.

9 years agoMove search path specifications to (guix search-paths).
Ludovic Courtès [Mon, 4 May 2015 20:11:37 +0000 (22:11 +0200)]
Move search path specifications to (guix search-paths).

* guix/packages.scm (<search-path-specification>,
  search-path-specification->sexp, sexp->search-path-specification):
  Move to...
* guix/search-paths.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
* guix/build-system/cmake.scm, guix/build-system/glib-or-gtk.scm,
  guix/build-system/gnu.scm, guix/build-system/haskell.scm,
  guix/build-system/perl.scm, guix/build-system/python.scm,
  guix/build-system/ruby.scm, guix/build-system/waf.scm,
  guix/profiles.scm, guix/scripts/package.scm: Use it.

9 years agognu: Add markdown.
Mathieu Lirzin [Thu, 30 Apr 2015 20:26:57 +0000 (22:26 +0200)]
gnu: Add markdown.

* gnu/packages/textutils.scm (markdown): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agosubstitute: Increase TTL from 24h to 36h.
Ludovic Courtès [Mon, 4 May 2015 13:38:30 +0000 (15:38 +0200)]
substitute: Increase TTL from 24h to 36h.

* guix/scripts/substitute.scm (%narinfo-ttl): Increase to 36h.

9 years agognu: Add libwpg.
Andreas Enge [Mon, 4 May 2015 20:27:32 +0000 (22:27 +0200)]
gnu: Add libwpg.

* gnu/packages/libreoffice.scm (libwpg): New variable.

9 years agoguix: build: Fix indentation for --sources in help output.
Eric Bavier [Mon, 4 May 2015 19:16:28 +0000 (14:16 -0500)]
guix: build: Fix indentation for --sources in help output.

* guix/scripts/build.scm (show-help)[--sources]: Make indentation
  consistent with other long options.