Commit graph

40156 commits

Author SHA1 Message Date
Tobias Geerinckx-Rice
46a1a602f4
gnu: yad: Update to 0.41.0.
* gnu/packages/gtk.scm (yad): Update to 0.41.0.
2019-02-17 03:37:47 +01:00
Ludovic Courtès
54eadc42d2
self: Generated (guix config) honors %CURRENT-SYSTEM.
Fixes <https://bugs.gnu.org/34468>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.

* guix/self.scm (%config-variables): Remove %SYSTEM.
(make-config.scm): Define '%system' to (%current-system).
2019-02-17 00:04:57 +01:00
Timothy Sample
41fa9f1815
services: gdm: Allow for custom X session scripts.
* gnu/packages/gnome.scm (gdm)[arguments]: Update pre-configure phase so
that GDM runs an X session script specified by the variable
GDM_X_SESSION; remove the '--enable-gdm-xsession' configuration
option.
* gnu/services/xorg.scm (<gdm-configuration>): Add 'x-session' field.
(gdm-shepherd-service): Set the GDM_X_SESSION variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-17 00:04:57 +01:00
Timothy Sample
7e61419892
services: gdm: Make dependencies explicit.
This commit removes the remaining implicit dependencies that the GDM
service had on the GNOME Desktop service.

* gnu/services/xorg.scm (gdm-configuration): Add a gnome-shell-assets
field for specifying any icons or fonts that the GNOME Shell theme
needs.
(gdm-shepherd-service): Remove environment variables pointing to
'/run/current-system' and set XDG_DATA_DIRS so that it points to
'gnome-shell' and its assets.
(gdm-service-type): Extend 'profile-service-type' to ensure that
necessary fonts are installed in the system profile.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-17 00:04:57 +01:00
Timothy Sample
1f564c1573
gnu: gdm: Run dbus-daemon via a wrapper script.
* gnu/packages/gnome.scm (gdm)[arguments]: Modify the pre-configure
phase so that GDM propagates the GDM_DBUS_DAEMON variable into the
session environment and uses its value to invoke dbus-daemon.
* gnu/services/xorg.scm (dbus-daemon-wrapper): New variable.
(<gdm-configuration>): Add 'dbus-daemon' field.
(gdm-shepherd-service): Set GDM_DBUS_DAEMON before invoking gdm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-17 00:04:57 +01:00
Timothy Sample
c9ff92b550
gnu: gdm: Simplify pre-configure phase.
* gnu/packages/gnome.scm (gdm)[arguments]: Simplify the pre-configure phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-17 00:04:57 +01:00
Timothy Sample
def6d6b616
gnu: gdm: Use absolute path for gnome-session.
* gnu/packages/gnome.scm (gdm)[arguments]: Modify the pre-configure
phase to substitute in the absolute path of gnome-session.
[inputs]: Add gnome-session.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-17 00:04:57 +01:00
Timothy Sample
69544798ea
gnu: gdm: Add links to required login-session files.
* gnu/packages/gnome.scm (gdm)[arguments]: Add a phase that creates
symbolic links to required files from gnome-settings-daemon; do not set
XDG_CONFIG_DIRS in the session environment.
[inputs]: Add gnome-settings-daemon.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-17 00:04:56 +01:00
Timothy Sample
1d7bff4b4b
gnu: gnome-session: Use absolute paths in .desktop files.
This makes the gnome-session .desktop files usable even if gnome-session
is not available from the PATH variable.

* gnu/packages/gnome.scm (gnome-session)[arguments]: Add a phase that
adds the absolute path of gnome-session in its .desktop files.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-17 00:04:56 +01:00
Timothy Sample
e57c2adb2a
services: gdm: Remove etc service.
* gnu/packages/gnome.scm (gdm)[arguments]: Update pre-configure phase to
make GDM get the configuration file path from an environment variable.
* gnu/services/xorg.scm (gdm-etc-service): Remove function.
(gdm-configuration-file): New function.
(gdm-shepherd-service): Set GDM_CUSTOM_CONF before invoking GDM.
(gdm-service-type)[extensions]: Remove etc-service-type extension.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-17 00:04:56 +01:00
Ludovic Courtès
7af417502c
doc: '--inherit' option can be repeated.
* doc/guix.texi (Invoking guix environment): Mention that '--inherit'
can be repeated.
2019-02-17 00:04:56 +01:00
Christopher Baines
8d2c3c54ee
services: desktop: Deprecate the upower-service procedure.
This has now been replaced by the upower-service-type and
<upower-configuration> record.

* gnu/services/desktop.scm (upower-service): Deprecate this procedure.
2019-02-16 22:05:15 +00:00
Christopher Baines
8b9a7b26c2
services: Improve the upower-service-type.
Add a description and default value. Switch the documentation to mention the
service-type and the configuration record, rather than the upower-service
procedure.

* gnu/services/desktop.scm (upower-service-type)[description, default-value]:
Define these fields.
(%desktop-services): Change (upower-service) to (service upower-service-type).
* doc/guix.texi (Desktop Services): Update the upower service documentation.
2019-02-16 22:05:15 +00:00
Christopher Baines
6b692e961c
services: Improve the upower-configuration record.
Copy the defaults from the upower-service procedure to the
<upower-configuration> record type. This will allow making it the default
value for the upower-service-type, and deprecating the procedure. Export the
field accessors so that the <upower-configuration> record type becomes more
usable.

* gnu/services/desktop.scm (<upower-configuration>): Export it.
(upower-configuration-upower, upower-configuration-watts-up-pro?,
upower-configuration-poll-batteries?, upower-configuration-ignore-lid?,
upower-configuration-use-percentage-for-policy?,
upower-configuration-percentage-low, upower-configuration-percentage-critical,
upower-configuration-percentage-action, upower-configuration-time-low,
upower-configuration-time-critical, upower-configuration-time-action,
upower-configuration-critical-power-action): Add default and export.
2019-02-16 22:05:12 +00:00
Tobias Geerinckx-Rice
dcc262672c
gnu: chez-sockets: Use GIT- helpers.
* gnu/packages/chez.scm (chez-sockets)[version]: Use GIT-VERSION.
[source]: Use GIT-FILE-NAME.
2019-02-16 19:02:07 +01:00
Tobias Geerinckx-Rice
2245f210ea
gnu: chez-scmutils: Return #t from all phases.
* gnu/packages/chez.scm (chez-scmutils)[arguments]: Always return #t from phases.
Substitute INVOKE for SYSTEM*.
2019-02-16 19:02:06 +01:00
Tobias Geerinckx-Rice
9b469e2e3a
gnu: chez-scmutils: Don't use unstable tarball.
* gnu/packages/chez.scm (chez-scmutils)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2019-02-16 19:02:06 +01:00
Tobias Geerinckx-Rice
c83bf1c659
gnu: chez-mit: Don't use unstable tarball.
* gnu/packages/chez.scm (chez-mit)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2019-02-16 19:02:06 +01:00
Tobias Geerinckx-Rice
602fbad1e7
gnu: chez-scheme: Don't use unstable tarball.
* gnu/packages/chez.scm (chez-scheme)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2019-02-16 19:02:06 +01:00
Tobias Geerinckx-Rice
fbf4122360
gnu: stex: Don't use unstable tarball.
* gnu/packages/chez.scm (stex)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
(chez-scheme)[arguments]: Adjust expected source directory name.
2019-02-16 19:02:06 +01:00
Tobias Geerinckx-Rice
2f1ab47772
gnu: nanopass: Don't use unstable tarball.
* gnu/packages/chez.scm (nanopass)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
(chez-scheme)[arguments]: Adjust expected source directory name.
2019-02-16 19:02:05 +01:00
Tobias Geerinckx-Rice
55623cf08a
gnu: chez-scheme: Return #t from all phases.
* gnu/packages/chez.scm (chez-scheme)[arguments]: Always return #t from phases.
Substitute INVOKE for SYSTEM*.
2019-02-16 19:02:05 +01:00
Tobias Geerinckx-Rice
95b4f7ca7a
gnu: chez-scheme: Fix ‘install-doc’ phase.
* gnu/packages/chez.scm (chez-cheme)[arguments]: Find ‘installsh’.
Remove some unnecessary code.
2019-02-16 19:02:05 +01:00
Tobias Geerinckx-Rice
24a43551d0
gnu: chez-irregex: Don't use unstable tarball.
* gnu/packages/chez.scm (chez-irregex)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2019-02-16 19:02:05 +01:00
Tobias Geerinckx-Rice
88c85a9403
gnu: chez-matchable: Don't use unstable tarball.
* gnu/packages/chez.scm (chez-matchable)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2019-02-16 19:02:04 +01:00
Tobias Geerinckx-Rice
f01b17b374
gnu: chez-web: Use GIT- helpers.
* gnu/packages/chez.scm (chez-web)[version]: Use GIT-VERSION.
[source]: Use GIT-FILE-NAME.
2019-02-16 19:02:04 +01:00
Tobias Geerinckx-Rice
f9cd13c95d
gnu: chez-srfi: Don't use unstable tarball.
* gnu/packages/chez.scm (chez-srfi)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2019-02-16 19:02:04 +01:00
Tobias Geerinckx-Rice
bd86f7dbdf
gnu: chez-fmt: Return #t from all phases.
* gnu/packages/chez.scm (chez-fmt)[arguments]: Always return #t from phases.
Substitute INVOKE for SYSTEM*.
2019-02-16 19:02:04 +01:00
Tobias Geerinckx-Rice
a0bdbf8b41
gnu: chez-web: Return #t from all phases.
* gnu/packages/chez.scm (chez-web)[arguments]: Always return #t from phases.
2019-02-16 19:02:04 +01:00
Tobias Geerinckx-Rice
6cf48e8c20
gnu: unshield: Update to 1.4.3.
* gnu/packages/compression.scm (unshield): Update to 1.4.3.
[inputs]: Add unshield-baldurs_gate_patch_v1_1_4315_international.zip.
[arguments]: Use it.
2019-02-16 19:02:03 +01:00
Tobias Geerinckx-Rice
46c1c5537b
gnu: stumpwm: Build and install the manual.
* gnu/packages/lisp.scm (stumpwm)[native-inputs]: Add texinfo.
[argument]: Add new ‘install-manual’ phase.
2019-02-16 18:34:49 +01:00
Mark H Weaver
9adb66dd11
gnu: linux-libre: Update to 4.20.10.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.20.10.
(%linux-libre-hash): Update hash.
2019-02-15 23:32:57 -05:00
Mark H Weaver
82da87cf4c
gnu: linux-libre@4.19: Update to 4.19.23.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.23.
(%linux-libre-4.19-hash): Update hash.
2019-02-15 23:32:54 -05:00
Mark H Weaver
c5d3e7c5ac
gnu: linux-libre@4.14: Update to 4.14.101.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.101.
(%linux-libre-4.14-hash): Update hash.
2019-02-15 23:32:52 -05:00
Mark H Weaver
f218ff0acb
gnu: linux-libre@4.9: Update to 4.9.158.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.158.
2019-02-15 23:32:49 -05:00
Mark H Weaver
54bee9ea2e
gnu: icecat: Update to 60.5.1-guix1 [security-fixes].
Includes fixes for CVE-2018-18335, CVE-2018-18356, and CVE-2019-5785.

* gnu/packages/gnuzilla.scm (%icecat-version): Update to 60.5.1-guix1.
(icecat-source)[upstream-firefox-source]: Update hash.
2019-02-15 23:32:42 -05:00
Vagrant Cascadian
aa71b690aa
gnu: pelican: Update to 4.0.1
* gnu/packages/python.scm (pelican): Update to 4.0.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-16 01:00:09 +01:00
Brett Gilio
de8abc96cb
gnu: emacs-cider: Update to 0.20.0
* gnu/packages/emacs-xyz.scm (emacs-cider): Update to 0.20.0

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-16 01:00:09 +01:00
Raphaël Mélotte
37956778c9
gnu: luakit: Update to 2.1.
* gnu/packages/web-browsers.scm (luakit): Update to 2.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-16 01:00:09 +01:00
Meiyo Peng
f7a25b50eb
gnu: ibus-rime: Update to 1.4.0.
* gnu/packages/ibus.scm (ibus-rime): Update to 1.4.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-16 01:00:09 +01:00
Meiyo Peng
775e81b5a5
gnu: rime-data: Update to 0.38.20190131.
* gnu/packages/ibus.scm (rime-data): Update to 0.38.20190131.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-16 01:00:08 +01:00
Meiyo Peng
6072d51193
gnu: librime: Update to 1.4.0.
* gnu/packages/ibus.scm (librime): Update to 1.4.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-16 01:00:08 +01:00
Ludovic Courtès
36754eee28
packages: Remove duplicates from package cache.
Previously the same package could appear several times if several
variables were bound to it, as is notably the case for "python"
currently.  This, in turn, would lead to obnoxious "ambiguous package
specification" messages.

* gnu/packages.scm (generate-package-cache)[expand-cache]: Change RESULT
to RESULT+SEEN and adjust accordingly.
Call 'first' on the result of 'fold-module-public-variables*'.
* tests/packages.scm ("fold-available-packages with/without cache"):
Check for lack of duplicates in FROM-CACHE.
2019-02-16 01:00:08 +01:00
Ludovic Courtès
ba48895899
self: Bundle 'glibc-utf8-locales'.
This minimizes the risk of locale-related warnings, at least for those
who use one of the bundled UTF-8 locales.

* guix/self.scm (guix-command)[glibc-utf8-locales]: New variable.
In program body, set GUIX_LOCPATH.
2019-02-16 01:00:08 +01:00
Ludovic Courtès
8a973abc6f
gnu: guix: Embed 'glibc-utf8-locales'.
This will ensure people who download the binary installation tarball
do not get locale-related warnings, provided they use one of the
selected UTF-8 locales.

* gnu/packages/package-management.scm (guix)[arguments]: In
'wrap-program' phase, set GUIX_LOCPATH.
[inputs]: Add GLIBC-UTF8-LOCALES.
2019-02-16 01:00:08 +01:00
Ludovic Courtès
e6e599fa01
environment: Add '--inherit'.
* guix/scripts/environment.scm (purify-environment): Add 'white-list'
parameter and honor it.
(create-environment): Add #:white-list parameter and honor it.
(launch-environment): Likewise.
(launch-environment/fork): Likewise.
(show-help, %options): Add '--inherit'.
(guix-environment): Define 'white-list' and pass it to
'launch-environment/fork'.
* tests/guix-environment.sh: Test '--inherit'.
* doc/guix.texi (Invoking guix environment): Document it.
2019-02-16 01:00:08 +01:00
Pierre Neidhardt
3a34c9e62e
gnu: emacs-helm-slime: Update to 20190214.
* gnu/packages/emacs-xyz.scm (emacs-helm-slime): Update to 20190214.
2019-02-15 21:26:08 +01:00
Pierre Neidhardt
e83d46f02e
gnu: emacs-pulseaudio-control: Update to 20190105.
* gnu/packages/emacs-xyz.scm (emacs-pulseaudio-control): Update to 20190105.
2019-02-15 21:25:31 +01:00
Danny Milosavljevic
f7c4853a6b
gnu: Add genimage.
* gnu/packages/genimage.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2019-02-15 17:49:08 +01:00
Ricardo Wurmus
3c3e6620ae
gnu: guile-hall: Clean up.
* gnu/packages/guile-xyz.scm (guile-hall)[description]: Break long line.
[home-page]: Merge lines.
[propagated-inputs]: Remove reference to default "out" output.
2019-02-15 17:43:49 +01:00