Commit Graph

23627 Commits

Author SHA1 Message Date
Andy Wingo e0e6756fbd
gnu: gdm: Fix environment of worker processes and sessions.
* gnu/packages/gnome.scm (gdm): Get X server path from GDM_X_SERVER
environment variable, and make sure this variable is propagated to internal
sub-processes.  Launch sessions with a reasonable XDG_CONFIG_DIRS setting.
Get the custom GDM conf from the current system's profile.
2017-08-25 16:01:56 +02:00
Andy Wingo 957dbc0a4d
gnu: gdm: Use proper elogind check, and wrap environment.
* gnu/packages/gnome.scm (gdm): Use glib-or-gtk-build-system to make sure the
schemas are available to GDM.  Install gdm to /bin to make this happen.  Use a
proper elogind check.
2017-08-25 16:01:56 +02:00
Andy Wingo af37e6bbd4
gnu: gdm: Look for sessions in /run/current-system.
* gnu/packages/gnome.scm (gdm): Fix search paths for system sessions.  Use
  /var as localstatedir.  Set a more sensible default path for user sessions.
2017-08-25 16:01:56 +02:00
Andy Wingo 92753a8bad
gnu: services: Refactor to separate X and startx wrappers.
* gnu/services/xorg.scm (xorg-wrapper): New public function.
(xorg-start-command): Use xorg-wrapper.
2017-08-25 16:01:56 +02:00
Andy Wingo 063c608261
gnu: Add AccountsService service to desktop services.
* doc/guix.texi (Desktop Services): Add accountsservice-service.
* gnu/services/desktop.scm (%accountsservice-activation):
(accountsservice-service-type): New public variables.
(%desktop-services): Add accountsservice-service.
2017-08-25 16:01:56 +02:00
Andy Wingo e76008dbc8
gnu: accountsservice: Properly reference shadow.
* gnu/packages/freedesktop.scm (accountsservice): Fix references to binaries
  provided by the shadow package.
2017-08-25 16:01:45 +02:00
Efraim Flashner cb8b14f182
gnu: parallel: Update to 20170822.
* gnu/packages/parallel.scm (parallel): Update to 20170822.
2017-08-25 09:15:12 +03:00
Mark H Weaver 1934769ba1
gnu: libmikmod: Add fallback source URL, needed for older versions.
* gnu/packages/sdl.scm (libmikmod)[source]: Add a fallback source URL where
older versions are kept.
2017-08-25 02:08:52 -04:00
Mark H Weaver 05e172ca4e
download: Remove a SourceForge mirror that never returns 404.
* guix/download.scm (%mirrors)[sourceforge]: Remove
nbtelecom.dl.sourceforge.net, which never returns 404 responses.  This causes
download failures due to hash mismatch, effectively preventing secondary
source URLs from being queried.
2017-08-25 02:08:35 -04:00
Ricardo Wurmus 0b4f40e4fa
gnu: yoshimi: Update to 1.5.3.
* gnu/packages/music.scm (yoshimi): Update to 1.5.3.
2017-08-25 04:55:05 +02:00
Ricardo Wurmus 5cff549c60
gnu: zynaddsubfx: Update to 3.0.2.
* gnu/packages/music.scm (zynaddsubfx): Update to 3.0.2.
2017-08-25 04:51:07 +02:00
Ricardo Wurmus 44aca1a3e5
gnu: guile-xcb: Update source URL.
* gnu/packages/guile-wm.scm (guile-xcb)[source]: Use archived tarball URL.
2017-08-25 02:15:14 +02:00
Ludovic Courtès 94e86a6b67
graft: Correctly replace references near the end of the scan buffer.
Fixes <http://bugs.gnu.org/28212>.
Reported by Leo Famulari <leo@famulari.name>.

* guix/build/graft.scm (replace-store-references): When I >= END, check
whether WRITTEN > END and call 'get-bytevector-n!' when it is.
* tests/grafts.scm (buffer-size): New variable.
("replace-store-references, <http://bugs.gnu.org/28212>"): New test.
2017-08-24 23:55:51 +02:00
Ludovic Courtès 5e60bef980
Revert "graph: Provide access to the package record in the emit functions."
This reverts commit 5d7e854365, which
broke 'tests/graph.scm' and broke node types not related to <package>
objects, such as '%reference-node-type'.
2017-08-24 23:55:51 +02:00
Ludovic Courtès 649c438c23
gnu: font-mathjax: Move to javascript.scm.
This avoids cross-module top-level references.

* gnu/packages/fonts.scm (font-mathjax): Move to...
* gnu/packages/javascript.scm (font-mathjax): ... here.  New variable.
2017-08-24 23:55:51 +02:00
Ludovic Courtès 87f057c46e
gnu: font-go: Remove reference to 'go-1.4'.
This avoids circular references at the top level.

* gnu/packages/fonts.scm (font-go)[license]: Remove reference to
GO-1.4.
2017-08-24 23:55:51 +02:00
Stefan Reichör 84342e2fa9
gnu: Add honcho.
* gnu/packages/python.scm (python-honcho, python2-honcho): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-08-24 21:27:23 +02:00
Marius Bakke a251838d67
gnu: maim: Update to 5.4.68.
* gnu/packages/xdisorg.scm (maim): Update to 5.4.68.
2017-08-24 21:21:04 +02:00
Marius Bakke 8752fa6cba
gnu: slop: Update to 7.3.49.
* gnu/packages/xdisorg.scm (slop): Update to 7.3.49.
2017-08-24 21:21:04 +02:00
Ricardo Wurmus 3f8efbb9a4
gnu: guile-wm: Update source URL.
* gnu/packages/guile-wm.scm (guile-wm)[source]: Use archived URL.
2017-08-24 20:42:45 +02:00
Thomas Danckaert 17e56dac12
gnu: libreoffice: Fix icons, enable liblangtag.
* gnu/packages/libreoffice.scm (libreoffice) [inputs]: Add liblangtag.
  [arguments]: Correct icon names in .desktop files; copy desktop files &
  icons for libreoffice-math and libreoffice-startcenter; enable parallel
  build; enable liblangtag.
2017-08-24 19:52:16 +02:00
Tobias Geerinckx-Rice 5cdb0cd380
gnu: dovecot: Update to 2.2.32.
* gnu/packages/mail.scm (dovecot): Update to 2.2.32.
2017-08-24 16:38:47 +02:00
Efraim Flashner 5fc9b6c108
gnu: lollypop: Use pseudo meson build system.
* gnu/packages/gnome.scm (lollypop)[arguments]: Disable tests. Delete
configure phase, replace build and install phase with custom phases.
[native-inputs]: Add ninja.
[propagated-inputs]: Move gst-plugins-base ...
[inputs]: ... to here. Add meson.
2017-08-24 15:33:13 +03:00
Hartmut Goebel e3c13d044f
gnu: libksysguard: Enable more tests (not all working yet).
* gnu/packages/kde.scm (libksysguard)[arguments]
  <#:phases>'check-setup': Set QT_QPA_PLATFORM=offscreen.
  <#:phases>'check': Enable all tests except of the failing one.
2017-08-24 12:32:34 +02:00
Arun Isaac 2d6da7942a
gnu: python2-ttystatus: Update to 0.35.
* gnu/packages/python.scm (python2-ttystatus): Update to 0.35.
2017-08-24 14:28:41 +05:30
Arun Isaac f6c5821530
gnu: cliapp: Update to 1.20170823.
* gnu/packages/python.scm (python2-cliapp): Update to 1.20170823.
2017-08-24 14:20:45 +05:30
Efraim Flashner c47048c328
gnu: datamash: Update to 1.2.
* gnu/packages/datamash.scm (datamash): Update to 1.2.
2017-08-24 10:35:00 +03:00
Ludovic Courtès e4925e00ca
packages: Use Guile 2.0 for grafting.
Works around <https://bugs.gnu.org/28211>.
Reported by Marius Bakke <mbakke@fastmail.com>.

* guix/packages.scm (guile-2.0): New procedure.
(package-derivation, package-cross-derivation): Use it when computing
the #:guile argument to 'graft-derivation'.
2017-08-24 00:41:44 +02:00
Andy Wingo 045ebb3e58
gnu: bootloader: Deprecate "device" field in favor of "target".
* gnu/bootloader.scm (<bootloader-configuration>): Deprecate "device" field in
favor of "target" field.  This is mostly a renaming but also a generalization
to support UEFI targets being paths to a mounted partition instead of a device
name.
* gnu/system/examples/bare-bones.tmpl:
* gnu/system/examples/desktop.tmpl:
* gnu/system/examples/lightweight-desktop.tmpl:
* gnu/system/examples/vm-image.tmpl:
* gnu/system/install.scm:
* gnu/tests.scm:
* gnu/tests/install.scm:
* gnu/tests/nfs.scm:
* tests/system.scm: Adapt all invocations of bootloader-configuration.
* guix/scripts/system.scm (perform-action): Rename device argument to
bootloader-target.
(process-action): Adapt caller.
* doc/guix.texi (Proceeding with the Installation):
* doc/guix.texi (Bootloader Configuration): Update documentation.
2017-08-23 22:23:19 +02:00
Andy Wingo ba015ce9c0
gnu: scripts: Cleanup regarding "gnu system" bootloader devices.
* guix/scripts/system.scm (install-bootloader, install): Remove unused
"device" argument.
(reinstall-bootloader, perform-action): Adapt callers.
2017-08-23 22:23:06 +02:00
Efraim Flashner f81039058c
gnu: qemu: Fix CVE-2017-12809.
* gnu/packages/virtualization.scm (qemu)[source]: Add patch.
* gnu/packages/patches/qemu-CVE-2017-12809.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-08-23 21:56:55 +03:00
Efraim Flashner f00e328fd3
gnu: openjpeg: Fix CVE-2017-12982.
* gnu/packages/image.scm (openjepg)[source]: Add patch.
* gnu/packages/patches/openjpeg-CVE-2017-12982.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-08-23 21:07:07 +03:00
Ricardo Wurmus d7eea7d7ae
gnu: python-scikit-learn: Update to 0.19.0.
* gnu/packages/python.scm (python-scikit-learn): Update to 0.19.0.
2017-08-23 17:31:54 +02:00
Rutger Helling cc527b5048
gnu: xpra: Update to 2.1.1.
* gnu/packages/xorg.scm (xpra): Update to 2.1.1.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-08-23 20:38:09 +08:00
Rutger Helling 8a7f958ed9
gnu: higan: Update to 104.
* gnu/packages/games.scm (higan): Update to 104.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-08-23 20:24:15 +08:00
Rutger Helling 56cdca9537
gnu: retroarch: Update to 1.6.7.
* gnu/packages/games.scm (retroarch): Update to 1.6.7.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-08-23 20:13:41 +08:00
Thomas Danckaert 35e657017c
gnu: id3lib: Remove bundled zlib.
* gnu/packages/mp3.scm (id3lib)[source]: Remove bundled zlib.
[inputs]: Add zlib.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-08-23 19:58:26 +08:00
Christopher Baines c075c8fd0c
tests: Add 'libvirt-service-type' test.
* gnu/tests/virtualization.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2017-08-23 12:48:11 +01:00
Ryan Moe e6051057ab
services: Add libvirt services
* gnu/services/virtualization.scm: New file.
* doc/guix.texi (Virtualization Services): Document it.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2017-08-23 12:47:24 +01:00
Christopher Baines 903e051a71
gnu: libvirt: Wrap with iproute and qemu.
libvirtd runs qemu if it's configured to use it, and also uses the ip command.

* gnu/packages/virtualization.scm (libvirt)[arguments]: Add wrap-libvirtd
  phase.
2017-08-23 12:44:21 +01:00
Christopher Baines 0577a3fd92
gnu: Build the shared library for yaml-cpp.
* gnu/packages/serialization.scm (yaml-cpp)[arguments]: Add
  -DBUILD_SHARED_LIBS=ON to #:configure-flags.
2017-08-23 10:07:22 +01:00
Ludovic Courtès 7d14082d56
services: herd: Actions return a list of results.
Fixes a regression introduced in
0642838b2e.

* gnu/services/herd.scm (invoke-action): Explain that we get a list of
results.
(current-services): Expect a list of result and use the first one.
(unload-service, %load-file, eval-there): Likewise.
2017-08-23 00:29:22 +02:00
Marius Bakke 4e58740aff
gnu: whois: Update to 5.2.18.
* gnu/packages/networking.scm (whois): Update to 5.2.18.
2017-08-22 23:17:14 +02:00
Marius Bakke ed8634c404
bash completion: Complete files names after 'guix download'.
* etc/completion/bash/guix (_guix_complete): When the command is "download",
use __guix_complete_file.
2017-08-22 23:13:42 +02:00
Marius Bakke 2e4569829e
gnu: Add f2fs-tools.
* gnu/packages/linux.scm (f2fs-tools): New variable.
2017-08-22 23:13:42 +02:00
Marius Bakke 7ac2cab8c9
gnu: Add icedtea-web.
* gnu/packages/java.scm (icedtea-web): New variable.
2017-08-22 23:02:13 +02:00
ng0 77a0354a36
gnu: gnurl: Update to 7.55.1-3.
* gnu/packages/gnunet.scm (gnurl): Update to 7.55.1-3.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2017-08-22 21:52:05 +02:00
Christopher Baines 39fc3004be
web: Remove the nginx-service procedure.
Now that the service-type has a default value, and configuration record is
accessible.

* gnu/services/web.scm (nginx-service): Remove procedure.
* doc/guix.texi (Web Services): Update and improve NGinx documentation.
2017-08-22 17:49:05 +01:00
Christopher Baines ad4cc435e8
web: Add default-value for the nginx-service-type.
* gnu/services/web.scm (nginx-service-type)[default-value]:
  Use (nginx-configuration).
2017-08-22 17:49:00 +01:00
Christopher Baines e4b729f89c
web: Export more nginx related procedures, macros and record types.
This makes it possible to work with the configuration of the NGinx service
programatically.

* gnu/services/web.scm (<nginx-configuration>, <nginx-server-configuration>,
  <nginx-upstream-configuration>, <nginx-location-configuration>,
  <nginx-named-location-configuration>): Export NGinx related record
  types.
  (nginx-configuration-*, nginx-server-configuration-*,
  nginx-upstream-configuration-*, nginx-location-configuration-*,
  nginx-named-location-configuration-*): Export NGinx related record
  procedures.
  (nginx-configuration): Export NGinx related record macro.
2017-08-22 17:48:54 +01:00