Commit Graph

10632 Commits

Author SHA1 Message Date
Alex Kost 09b634565d emacs: Move the code to load Emacs packages after installing.
This code should belong to "guix-backend" as it is run after a REPL
operation to check if new Emacs packages have been installed and to
autoload them if needed.

* emacs/guix-emacs.el (guix-emacs-activate-after-operation)
(guix-emacs-load-autoloads-maybe): Move and rename to...
* emacs/guix-backend.el (guix-emacs-activate-after-operation)
(guix-repl-autoload-emacs-packages-maybe): ... this.
(guix-after-repl-operation-hook): Adjust for the renaming.
2016-02-07 11:24:35 +03:00
Alex Kost abea77e3f0 emacs: Factorize searching for Emacs packages.
* emacs/guix-emacs.el: (guix-emacs-directories): New procedure.
(guix-emacs-find-autoloads-in-directory): Rename to...
(guix-emacs-find-autoloads): ... this.
(guix-emacs-load-autoloads): Remove.  Replace with...
(guix-emacs-autoload-packages): ... this.  New procedure.  At first,
find a list of directories with Emacs packages, then add them to
'load-path' and finally, load autoloads.
* doc/emacs.texi (Emacs Initial Setup): Adjust accordingly.
2016-02-07 11:24:35 +03:00
宋文武 6588c2834a gnu: curl: Use 'https' URL.
Reported by marusich on #guix.

* gnu/packages/curl.scm (curl)[source]: Use 'https' URL.
2016-02-07 10:41:40 +08:00
Christopher Allan Webber 6f74aecdb3 gnu: xdotools: Update to 3.20150503.1
* gnu/packages/xdisorg.scm (xdotools): Upgrade to 3.20150503.1.
* gnu/packages/patches/xdotool-fix-makefile.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2016-02-06 15:39:51 -08:00
Ludovic Courtès d9f0788ad2 gnu: guile-next: Update to 2.1.2.
* gnu/packages/guile.scm (guile-next): Update to 2.1.2.  Add 'snippet'.
2016-02-06 21:46:25 +01:00
Ludovic Courtès 8c4c2a983e gnu: Add Texinfo 6.1.
* gnu/packages/texinfo.scm (texinfo-6.1): New variable.
* gnu/packages/emacs.scm (emacs): Add comment about 'info.info'.
2016-02-06 21:46:25 +01:00
Christopher Allan Webber a05d1d82c0 gnu: Add python-pygpgme
* gnu/packages/gnupg.scm (python-pygpgme, python2-pygpgme): New variables.
* gnu/packages/patches/pygpgme-disable-problematic-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2016-02-06 11:30:35 -08:00
Mark H Weaver 08cb746f08 gnu: icecat: Re-enable the Ephemeral Diffie-Hellman cipher suites.
* gnu/packages/patches/icecat-re-enable-DHE-cipher-suites.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patch.
2016-02-06 08:48:20 -05:00
Ludovic Courtès e7ad0d5862 services: elogind: Extend PAM to use 'pam_elogind.so'.
Thanks to Andy Wingo <wingo@igalia.com> for explaining this at
<https://lists.gnu.org/archive/html/guix-devel/2015-08/msg00439.html>.

* gnu/services/desktop.scm (pam-extension-procedure): New procedure.
(elogind-service-type): Extend PAM-ROOT-SERVICE-TYPE.
2016-02-06 12:01:42 +01:00
Ludovic Courtès 12c00bca92 system: pam: 'pam-root-service-type' can be extended with transformations.
* gnu/system/pam.scm (<pam-configuration>): New record type.
(/etc-entry): Change 'services' parameter' to 'config'.  Honor the
'transform' field of CONFIG.
(extend-configuration): New procedure.
(pam-root-service-type): Use EXTEND-CONFIGURATION as the 'extend'
field.
(pam-root-service): Add #:transform parameter.  Service value is a
<pam-configuration>.
2016-02-06 12:01:42 +01:00
Ludovic Courtès d7bce31c36 system: pam: Export accessors.
* gnu/system/pam.scm: Export <pam-service> and <pam-entry> accessors.
2016-02-06 12:01:42 +01:00
Fabian Harfert b7807bb2fa gnu: Add murrine.
* gnu/packages/gtk.scm (murrine): New variable.
2016-02-06 13:35:29 +08:00
Fabian Harfert 9ba5198c4c gnu: Add gtk-engines.
* gnu/packages/gtk.scm (gtk-engines): New variable.
2016-02-06 13:32:59 +08:00
Andreas Enge eb2afd000c gnu: r: Drop input lapack.
* gnu/packages/statistics.scm (r)[inputs]: Drop lapack, which is
  recommended by the manual.
  [arguments]: Adapt configure flags.
2016-02-05 23:20:43 +01:00
Ludovic Courtès 05c5b16585 services: elogind: Add elogind to the global profile.
* gnu/services/desktop.scm (elogind-service-type): Extend
PROFILE-SERVICE-TYPE.
2016-02-05 22:10:42 +01:00
Ludovic Courtès edc891fa76 services: upower: Add upower to the global profile.
* gnu/services/desktop.scm (upower-service-type): Extend
PROFILE-SERVICE-TYPE.
2016-02-05 22:10:42 +01:00
Ludovic Courtès 42c97811c9 gnu: vpnc: Make sure 'vpnc-script' finds the commands it needs.
* gnu/packages/vpn.scm (vpnc)[inputs]: Add NET-TOOLS and IPROUTE.
[arguments]: Use 'modify-phases'.  Wrap 'vpnc-script'.
2016-02-05 22:10:42 +01:00
Mark H Weaver a7d8c466db gnu: icecat: Update to 38.6.0-gnu1.
* gnu/packages/patches/icecat-bug-1146335-pt1.patch,
  gnu/packages/patches/icecat-bug-1146335-pt2.patch,
  gnu/packages/patches/icecat-limit-max-buffers-size-for-ANGLE.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt01.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt02.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt03.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt04.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt05.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt06.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt07.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt08.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt09.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt10.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt11.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt12.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt13.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt14.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt15.patch,
  gnu/packages/patches/icecat-CVE-2016-1935.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/gnuzilla.scm (icecat): Update to 38.6.0-gnu1.
  [source]: Remove patches.
2016-02-05 16:00:25 -05:00
Andreas Enge 95b754a17a gnu: r: Drop input openblas.
* gnu/packages/statistics.scm (r)[inputs]: Drop openblas.
  [arguments]: Adapt configure flags. This makes the build succeed
  on armhf-linux.
2016-02-05 20:51:39 +01:00
Efraim Flashner 22b0caa3ed gnu: glibmm: Update to 2.46.3.
* gnu/packages/glib.scm (glibmm): Update to 2.46.3.
2016-02-05 16:02:26 +02:00
Efraim Flashner 93e3be9abd gnu: gedit: Update to 3.18.3.
* gnu/packages/gnome.scm (gedit): Update to 3.18.3.
2016-02-05 16:02:26 +02:00
Efraim Flashner 7965a94a67 gnu: gtksourceview: Update to 3.18.2.
* gnu/packages/gtk.scm (gtksourceview): Update to 3.18.2.
2016-02-05 16:02:26 +02:00
Efraim Flashner 5b00397279 gnu: atkmm: Update to 2.24.2.
* gnu/packages/gtk.scm (atkmm): Update to 2.24.2.
2016-02-05 16:02:26 +02:00
Efraim Flashner f58219569c gnu: libxml++: Update to 3.0.0.
* gnu/packages/gnome.scm (libxml++): Update to 3.0.0.
2016-02-05 16:02:26 +02:00
Efraim Flashner 73836c7de8 gnu: ffmpeg: Update to 2.8.6.
* gnu/packages/video.scm (ffmpeg): Update to 2.8.6.
2016-02-05 16:02:26 +02:00
Efraim Flashner e267435787 gnu: vte: Update to 0.42.3.
* gnu/packages/gnome.scm (vte): Update to 0.42.3.
2016-02-05 16:02:26 +02:00
Andreas Enge 71ee51a057 gnu: libbluray: Drop unused inputs.
* gnu/packages/video.scm (libbluray)[inputs]: Remove doxygen, perl and
  texlive. The first one is checked during the configure phase, but no
  documentation is actually built anyway.
2016-02-05 14:42:13 +01:00
Ludovic Courtès 234ea8a71c service: shepherd: All of the config file is in 'call-with-error-handling'.
* gnu/services/shepherd.scm (shepherd-configuration-file)[config]: Wrap
all the body in 'call-with-error-handling'.
2016-02-05 14:01:46 +01:00
Ludovic Courtès 081bd3bd29 service: shepherd: Guard against exceptions raised by 'start'.
Fixes <http://bugs.gnu.org/22548>.
Reported by Albin <albin@fripost.org>, Mark H Weaver, and Alex Kost.

* gnu/services/shepherd.scm (shepherd-configuration-file)[config]: Guard
against 'service-error?'.
2016-02-05 14:01:46 +01:00
Ludovic Courtès 1d6b7d5847 guix system: Simply warn if we cannot talk to the shepherd.
Before that 'open-connection' would return #f, and thus
'current-services' would return a single #f value when its continuation
expects two.

Reported by calher on #guix.

* gnu/services/herd.scm (open-connection): Rethrow system-error
exceptions.
(with-shepherd): Expect CONNECTION to always be true; remove useless
'dynamic-wind'.
* guix/scripts/system.scm (warn-on-system-error): New macro.
(upgrade-shepherd-services): Wrap body in 'warn-on-system-error'.
2016-02-05 14:01:46 +01:00
Ludovic Courtès 6b55ee8889 gnu: net-tools: Update URLs.
Reported by Jookia <166291@gmail.com> and Leo Famulari <leo@famulari.name>.

* gnu/packages/linux.scm (net-tools)[home-page]: Switch to SourceForge.
[source]: Add SourceForge and ibiblio.org URLs.
2016-02-05 14:01:46 +01:00
Tobias Geerinckx-Rice 0f860464bd gnu: Add sdparm.
* gnu/packages/disk.scm (sdparm): New variable.
2016-02-05 09:30:29 +01:00
Mark H Weaver b9da375999 gnu: mplayer: Update to 1.2.1.
* gnu/packages/video.scm (mplayer): Update to 1.2.1.
2016-02-04 22:06:01 -05:00
Fabian Harfert ca9eb4898b licenses: Add the fdl1.1+.
* guix/licenses.scm (fdl1.1+): New variable.
2016-02-04 18:31:17 -05:00
Leo Famulari 90bcecc568 gnu: jasper: Add fixes for several security flaws.
* gnu/packages/patches/jasper-CVE-2007-2721.patch,
gnu/packages/patches/jasper-CVE-2008-3520.patch,
gnu/packages/patches/jasper-CVE-2011-4516-and-CVE-2011-4517.patch,
gnu/packages/patches/jasper-CVE-2014-8137.patch,
gnu/packages/patches/jasper-CVE-2014-8138.patch,
gnu/packages/patches/jasper-CVE-2014-8157.patch,
gnu/packages/patches/jasper-CVE-2014-8158.patch,
gnu/packages/patches/jasper-CVE-2014-9029.patch,
gnu/packages/patches/jasper-CVE-2016-1867.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/image.scm (jasper)[source]: Add patches.
2016-02-04 15:09:41 -05:00
Alex Kost e20f051ec4 emacs: Add missing (require 'guix-profiles).
Reported by Christopher Allan Webber <cwebber@dustycloud.org> on #guix.

Several modules use the code from 'guix-profiles' without requiring it.  It
was never noticed before commits e4e2154644
and 13fe4891fa, because 'guix-emacs' required
this module.  But now, when 'site-start.el' loads 'guix-emacs',
'guix-profiles' may not exist yet, so it may not be required.  This will
lead to an error when some of "M-x guix-..." commands will be used.  See
<https://gnunet.org/bot/log/guix/2016-02-03#T898859>.

* emacs/guix-base.el: Require 'guix-profiles'.
* emacs/guix-ui.el: Likewise.
* emacs/guix-ui-generation.el: Likewise.
* emacs/guix-ui-package.el: Likewise.
2016-02-04 15:31:43 +03:00
Ludovic Courtès 17c20385fb doc: Mention 'tzselect'.
* doc/guix.texi (operating-system Reference): Mention 'tzselect' and
invalid timezone strings.
2016-02-04 12:21:34 +01:00
Ludovic Courtès a6312f1dd0 install: Add glibc to the global profile.
Suggested by petter on #guix.

* gnu/system/install.scm (installation-os)[packages]: Add glibc.
2016-02-04 12:21:34 +01:00
Leo Famulari 202e2e412a gnu: harfbuzz: Update to 1.0.6 [fixes CVE-2016-2052].
* gnu/packages/gtk.scm (harfbuzz): Update to 1.0.6.
2016-02-04 00:15:21 -05:00
Mark H Weaver 5fb205c638 gnu: perl-io-socket-ssl: Add workaround for OpenSSL-1.0.2f.
* gnu/packages/patches/perl-io-socket-ssl-openssl-1.0.2f-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/web.scm (perl-io-socket-ssl)[source]: Add patch.
2016-02-04 00:15:21 -05:00
Mark H Weaver 19f339526f gnu: openssl: Update to 1.0.2f [fixes CVE-2015-3197 and CVE-2016-0701].
* gnu/packages/tls.scm (openssl): Update to 1.0.2f.
  [arguments]: Remove the 'fix-broken-symlinks' phase.
2016-02-04 00:15:21 -05:00
Leo Famulari bdbb7c1852 gnu: curl: Update to 7.47.0 [fixes CVE-2016-0755].
* gnu/packages/curl.scm (curl): Update to 7.47.0.
2016-02-04 00:15:21 -05:00
Mark H Weaver dfb9001ad8 linux-initrd: Add serpent_generic and wp512 to the default set of modules.
Adds modules needed for encrypted root partitions using the Serpent cipher or
Whirlpool digest algorithms.

* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add
  "serpent_generic" and "wp512".
2016-02-03 16:48:06 -05:00
Mark H Weaver cc023e320e linux-initrd: Add hid-generic and hid-apple to the default set of modules.
Fixes keyboard of MacBook2,1 during early boot, e.g. for typing a password to
mount an encrypted root partition.

* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add "hid-generic"
  and "hid-apple".
2016-02-03 16:43:42 -05:00
Ludovic Courtès 37dd1e6a34 services: 'file-union' makes sure each source file exists.
Before that, specifying an invalid timezone in 'operating-system' would
lead to a dangling symlink in the 'etc' directory, which in turn would
lead to a kernel panic at boot time.

Reported by pizzaiolo on #guix.

* gnu/services.scm (file-union): Add 'stat' call for SOURCE.
2016-02-03 22:28:28 +01:00
Ludovic Courtès 240b57f0ca guix system: 'reconfigure' loads and starts new services.
Partly fixes <http://bugs.gnu.org/22039>.

* gnu/services/herd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/services/shepherd.scm (shepherd-service-canonical-name): New
procedure.
(shepherd-service-file): Export.
* guix/scripts/system.scm (upgrade-shepherd-services): New procedure.
(switch-to-system): Use it.
* guix/ui.scm (info): New procedure.
* doc/guix.texi (Invoking guix system): Mention system services.
2016-02-03 22:28:28 +01:00
Efraim Flashner 98416109d5 gnu: libdvdcss: Update to 1.4.0.
* gnu/packages/video.scm (libdvdcss): Update to 1.4.0.
[source]: Change source url.
2016-02-03 22:20:56 +02:00
Efraim Flashner 321a0299a7 gnu: youtube-dl: Update to 2016.02.01.
* gnu/packages/video.scm (youtube-dl): Update to 2016.02.01.
2016-02-03 22:20:56 +02:00
Efraim Flashner dabd7c9b68 gnu: enlightenment: Update to 0.20.5.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.5.
2016-02-03 22:20:56 +02:00
Efraim Flashner e11e76b68e gnu: emotion-generic-players: Update to 1.17.0.
* gnu/packages/enlightenment.scm (emotion-generic-players): Update to 1.17.0.
2016-02-03 22:20:56 +02:00