gnu: Add python-pyxdg.
* gnu/packages/freedesktop.scm (python-pyxdg, python2-pyxdg): New variables.
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.
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.
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.
search-paths: Export 'string-tokenize*'.
* guix/search-paths.scm (string-tokenize*): Export.
* tests/utils.scm ("string-tokenize*"): Adjust accordingly.
gnu: moe: Update to 1.7.
* gnu/packages/moe.scm (moe): Update to 1.7.
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.
gnu: Add elogind.
* gnu/packages/freedesktop.scm (elogind): New variable.
gnu: Add IR.
* gnu/packages/audio.scm (ir): New variable.
gnu: Add zita-convolver.
* gnu/packages/audio.scm (zita-convolver): New variable.
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.
download: Reinstate buffering on connection sockets.
* guix/build/download.scm (open-connection-for-uri): Reinstate call to
'setvbuf' inadvertently removed in d17551d9.
gnu: webkitgtk: Remove unnecessary make flag.
* gnu/packages/webkit.scm (webkitgtk): Remove make-flags.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
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'.
gnu: librevenge, libwpd, libwpg: Fix 'license' field.
* gnu/packages/libreoffice.scm (librevenge, libwpd, libwpg): Fix
'license' field to be a list of <license>.
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".
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.
gnu: perl-json-any: Fix typo in source uri scheme.
* gnu/packages/perl.scm (perl-json-any)[source]: Fix typo.
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>
gnu: wxwidgets-2: Add $libdir to RUNPATH.
* gnu/packages/wxwidgets.scm (wxwidgets-2)[arguments]: Add #:make-flags,
as for WXWIDGETS.