Commit Graph

43639 Commits

Author SHA1 Message Date
Timothy Sample 9aa470e912
gnu: awesome: Use absolute paths in session file.
* gnu/packages/wm.scm (awesome)[arguments]: Add a phase to patch the
session '.desktop' file to use the absolute path of the 'awesome'
binary.
2019-04-29 23:04:35 -04:00
Timothy Sample 5aafccebbe
gnu: gdm: Avoid selecting the placeholder session.
This fixes <https://bugs.gnu.org/35484>.

* gnu/packages/gnome.scm (gdm)[arguments]: Modify the pre-configure phase to
patch GDM to only select the placeholder session if there are no others.
2019-04-29 23:04:27 -04:00
Timothy Sample aa7cdc57dc
gnu: i3-wm: Use absolute paths in session files.
* gnu/packages/wm.scm (i3-wm)[arguments]: Add a phase to patch the
session '.desktop' files to use the absolute paths of the 'i3' and
'i3-with-shmlog' binaries.
2019-04-29 22:36:27 -04:00
Timothy Sample 4ec42524dd
gnu: awesome: Use absolute paths in session file.
* gnu/packages/wm.scm (awesome)[arguments]: Add a phase to patch the
session '.desktop' file to use the absolute path of the 'awesome'
binary.
2019-04-29 20:54:43 -04:00
Timothy Sample e8c6e771c1
gnu: gdm: Avoid selecting the placeholder session.
This fixes <https://bugs.gnu.org/35484>.

* gnu/packages/gnome.scm (gdm)[arguments]: Modify the pre-configure phase to
patch GDM to only select the placeholder session if there are no others.
2019-04-29 20:54:43 -04:00
Nicolas Goaziou 649220adae
gnu: Rename some games to match upstream project name.
* gnu/packages/games.scm (armagetronad):
(cataclysm-dda):
(abbaye):
(wesnoth):
(wesnoth-server):
(starfighter):
(kiki):
(fillets-ng):
(crawl):
(crawl-tiles):
(tome4):
(btanks):
(battle-tanks):
(edgar): Use these as the package definition.
(armagetron-advanced):
(cataclysm-dark-days-ahead):
(l-abbaye-des-morts):
(the-battle-for-wesnoth):
(the-battle-for-wesnoth-server):
(project-starfighter):
(kiki-the-nano-bot):
(fish-fillets-ng):
(dungeon-crawl-stone-soup):
(dungeon-crawl-stone-soup-tiles):
(tales-of-maj-eyal):
(the-legend-of-edgar): Turn these into obsolete aliases.

This reverts renames made by the following commits:
f95e33a7ad
b1aee9fce2
f6a21d61de
24a67aef2a
36a0b5b48c
8b6e2bc15f
6639295f2f
184f5c8db1
ecdb1348ad
375cb94130
c91ed484d0
973bd8a62c
df42e0f9c9
2019-04-30 02:02:39 +02:00
Ricardo Wurmus 6f7f8543c5
gnu: r-rcpparmadillo: Update to 0.9.400.2.0.
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.9.400.2.0.
2019-04-30 00:33:55 +02:00
Ricardo Wurmus 8b96b86065
gnu: r-repr: Update to 1.0.0.
* gnu/packages/cran.scm (r-repr): Update to 1.0.0.
[propagated-inputs]: Add r-pillar.
2019-04-30 00:33:55 +02:00
Ricardo Wurmus 5fce90135c
gnu: r-ipred: Update to 0.9-9.
* gnu/packages/cran.scm (r-ipred): Update to 0.9-9.
2019-04-30 00:33:55 +02:00
Ludovic Courtès 842a687264
maint: Mark 'doc-pot-update' and 'doc-po-update' as phony.
* po/doc/local.mk (doc-pot-update, doc-pot-update): Mark as phony.
2019-04-29 22:21:14 +02:00
Christopher Baines 0534427551
vm: Pass -smp to QEMU to allow use of multiple cores.
* gnu/build/vm.scm (load-in-linux-vm): Pass (parallel-job-count) to QEMU with
-smp to allow using multiple cores.
2019-04-29 21:11:38 +01:00
Ludovic Courtès 09a9f10974
tests: Adjust wildcard when testing OS examples.
* tests/guix-system.sh: Use *.tmpl instead of *, to avoid catching
backup files, etc.
2019-04-29 21:57:52 +02:00
Ludovic Courtès c20d4cac1f
processes: Gracefully handle daemons without clients.
Fixes <https://bugs.gnu.org/34716>.
Reported by Mark H Weaver <mhw@netris.org>.

The problem could be reproduced by running, on one hand:

  sh -c 'exec -a guix-daemon sleep 777'

and on the other hand:

  guix processes

If there is no process with PID 777, 'guix processes' would barf as it
stumbles upon a <daemon-session> record whose client is #f.

* guix/scripts/processes.scm (daemon-sessions)[child-process->session]:
New procedure, with lambda formerly passed to 'map'.  Handle #f returns
from 'lookup-process'.
Call 'child-process->session' within 'filter-map', not just 'map'.
2019-04-29 21:54:10 +02:00
Ludovic Courtès c21d912a02
processes: 'process-open-files' ignores disappeared /proc/PID/fd entries.
Previously, 'process-open-files' would throw ENOENT if an entry had
vanished after the 'scandir' call and before the 'readlink' call.

* guix/scripts/processes.scm (process-open-files): Catch ENOENT errors
from 'readlink'.
2019-04-29 21:39:38 +02:00
Marius Bakke b6afc35051
gnu: Add i3lock.
* gnu/packages/wm.scm (i3lock): New public variable.
2019-04-29 20:10:43 +02:00
Marius Bakke 05e1534ee8
gnu: kodi: Update to 18.2.
* gnu/packages/kodi.scm (kodi): Update to 18.2.
* gnu/packages/patches/kodi-set-libcurl-ssl-parameters.patch: Adjust for
upstream changes.
2019-04-29 20:10:43 +02:00
Marius Bakke 06c86f166d
gnu: msmtp: Update to 1.8.4.
* gnu/packages/mail.scm (msmtp): Update to 1.8.4.
2019-04-29 20:10:43 +02:00
Marius Bakke b339f14cb2
gnu: elogind: Update to 241.3.
* gnu/packages/freedesktop.scm (elogind): Update to 241.3.
2019-04-29 20:10:42 +02:00
Marius Bakke 2e652add1f
gnu: ftgl: Don't build libftgl.a.
* gnu/packages/gl.scm (ftgl)[arguments]: Add "--disable-static" to #:configure-flags.
2019-04-29 20:10:42 +02:00
Marius Bakke a1570c89fe
gnu: qemu: Build verbosely.
* gnu/packages/virtualization.scm (qemu)[arguments]: Remove phase
'make-gtester-verbose' in favor of #:make-flags.
2019-04-29 20:10:42 +02:00
Ricardo Wurmus 4267481a4e
gnu: Remove scmutils.
Fixes <https://bugs.gnu.org/34203>.

* gnu/packages/scheme.scm (scmutils): Remove variable.
2019-04-29 17:20:44 +02:00
Julien Lepiller 373a2a0797
gnu: ocaml-yojson: Update to 1.7.0.
* gnu/packages/ocaml.scm (ocaml-yojson): Update to 1.7.0.
(ocaml-merlin): Use jbuild to prevent a build failure due to a
deprecation warning.
2019-04-29 15:44:14 +02:00
Nicolas Goaziou fdd9ab3721
gnu: Add missing module in games.scm. 2019-04-29 15:08:59 +02:00
Nicolas Goaziou 1abe2e2a29
gnu: Add missing modules in games.scm. 2019-04-29 14:56:32 +02:00
Nicolas Goaziou a3d4a631fe
gnu: Add hedgewars.
* gnu/packages/games.scm (hedgewars): New variable.
2019-04-29 14:37:58 +02:00
Nicolas Goaziou e8a0696d56
gnu: Add jumpnbump.
* gnu/packages/games.scm (jumpnbump): New variable.
2019-04-29 14:37:01 +02:00
Nicolas Goaziou 1a8984536f
gnu: Add sdl2-net.
* gnu/packages/sdl.scm (sdl2-net): New variable.
2019-04-29 14:37:01 +02:00
Vagrant Cascadian 6b99afeef8
gnu: u-boot: Update to 2019.04.
* gnu/packages/bootloaders.scm (u-boot): Update to 2019.04.
[source]: Add patch.
(u-boot-novena): Update dynamic patch to handle config key rename.
(u-boot-am335x-evm): New variable.
(u-boot-am335x-boneblack): Build with modified am335x-evm config.
(u-boot-novena): Fix typo in description.
* gnu/bootloader/u-boot.scm (u-boot-beaglebone-black-bootloader): Use
u-boot-am335x-boneblack.
* gnu/packages/patches/u-boot-fix-mkimage-header-verification.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-04-29 12:35:04 +02:00
Ludovic Courtès da56f10971
guix package: Add 'guix search' alias.
* guix/scripts/search.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* tests/guix-package-aliases.sh: Add test.
* doc/guix.texi (Invoking guix package): Document it and use it in a
couple of examples.
2019-04-29 12:19:24 +02:00
rendaw 9d3053819d
file-systems: Support the 'no-atime' flag.
* guix/build/syscalls.scm (MS_NOATIME): New variable.
* gnu/build/file-systems.scm (mount-flags->bit-mask): Support it.
* doc/guix.texi (File Systems): Document it and add cross-references to
the relevant documentation.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-04-29 12:19:03 +02:00
Ludovic Courtès 2f8198dfed
Update NEWS. 2019-04-29 11:31:23 +02:00
Ludovic Courtès e432ce1b85
doc: Remove traces of "Guix System Distribution".
* doc/guix.texi (Invoking guix package)
(Official Substitute Server, System Configuration): Replace "the Guix
System Distribution" by "Guix System".
2019-04-29 11:17:39 +02:00
Ludovic Courtès 20dbd858ad
doc: Add 'SUBSTITUTE-URL' variable.
* doc/guix.texi (SUBSTITUTE-SERVER): New variable.
(Invoking guix weather): Use it.
2019-04-29 10:54:43 +02:00
Ludovic Courtès d824cfbabe
guix package: Add 'install', 'remove', and 'upgrade' aliases.
* guix/scripts/install.scm, guix/scripts/remove.scm,
guix/scripts/upgrade.scm, tests/guix-package-aliases.sh: New files.
* Makefile.am (MODULES, SH_TESTS): Add them.
* po/guix/POTFILES.in: Add them.
* guix/scripts/package.scm (guix-package): Split with...
(guix-package*): ... this.  New procedure.
* doc/guix.texi (Invoking guix package): Document them.
(Binary Installation, Application Setup, Package Management)
(Packages with Multiple Outputs, Package Modules)
(X.509 Certificates, Installing Debugging Files): Use 'guix install' in
simple examples.
* etc/completion/bash/guix (_guix_complete): Handle "install", "remove",
and "upgrade".
2019-04-29 10:13:44 +02:00
Ludovic Courtès 4c89dc354e
gnu: font-public-sans: Adjust synopsis and description.
* gnu/packages/fonts.scm (font-public-sans)[synopsis, description]:
Adjust.
2019-04-29 09:53:06 +02:00
Jens M 245aa0e344
gnu: Add font-public-sans.
* gnu/packages/fonts.scm (font-public-sans): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-29 09:51:41 +02:00
Meiyo Peng 772bcb1cf0
installer: Fix typo in docstring.
* gnu/installer/newt/wifi.scm (draw-scanning-page): Fix typo in docstring.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-29 09:48:40 +02:00
Vagrant Cascadian c31bec88a8
gnu: diffoscope: Update to 114.
* gnu/packages/package-management (diffoscope): Update to 114.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-29 09:33:55 +02:00
Diego Nicola Barbato b901b72545
services: slim: Honor the value of slim from slim-configuration.
Previously setting the slim field in slim-configuration would have no effect.

* gnu/services/xorg.scm (slim-shepherd-service): Remove unused let binding for
  slim.  Use (slim-configuration-slim config) instead of the default slim.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-29 09:33:55 +02:00
Christopher Baines fdb513a704
gnu: Fix missing bison package in (gnu packages algebra).
This fixes a regression introduced in
6d3896b9fc.

* gnu/packages/algebra.scm: Use the (gnu packages bison) module.
2019-04-28 23:58:13 +01:00
Christopher Baines 81aa6c721b
gnu: direnv: Change to the go-build-system.
The go-build-system is slightly more appropriate, and switching resolves an
issue with combining the 'unpack phase from the gnu-build-system, and the
'setup-go-environment from the go-build-system. With both of those phases
creating a directory, the first-subdirectory call at the end of the 'unpack
phase can return different values depending on the filesystem ordering.

* gnu/packages/shellutils.scm (direnv)[source]: Use the git repository, as
this works better with the go-build-system.
[build-system]: Change to the go-build-system.
[arguments]: Adjust for the go-build-system.
[native-inputs]: Remove go.
2019-04-28 23:13:31 +01:00
Ludovic Courtès d779de1817
installer: Tell the user where the config file is.
* gnu/installer/newt/final.scm (strip-prefix): New procedure.
(run-config-display-page): Add a sentence showing where the config file
is stored.
2019-04-28 22:57:08 +02:00
Ludovic Courtès ada4aeb068
installer: Fix handling of user password mismatches.
Previously, if we had a password mismatch, the 'password' field would
end up containing a <user> record instead of the actual password.

* gnu/installer/newt/user.scm (confirm-password): Make TRY-AGAIN
optional and adjust docstring.
(run-user-add-page): Move 'confirm-password' call one level higher.
2019-04-28 22:57:07 +02:00
Ludovic Courtès 0e8e963d73
installer: User accounts can now have a "real name."
* gnu/installer/newt/user.scm (run-user-add-page): Add #:real-name.  Add
a label and entry for the real name and initialize the 'real-name' field
of the <user> record.
* gnu/installer/final.scm (create-user-database): Set the 'comment'
field of the <user-account> record.
2019-04-28 22:57:07 +02:00
Ludovic Courtès 43c1c44a11
installer: User can have a "real name".
* gnu/installer/user.scm (<user>)[real-name]: New field.
(users->configuration)[use->sexp]: Turn it into a 'comment' field.
2019-04-28 22:57:07 +02:00
Ludovic Courtès ed5a5d38cf
installer: Improve layout of the partitioning page.
Previously the "listbox" would be unnecessarily high, leaving too little
space for the German translation of the text above.

* gnu/installer/newt/partition.scm (run-disk-page): Increase
 #:info-textbox-width and pass #:listbox-height.
2019-04-28 22:57:07 +02:00
Ludovic Courtès 113bc08172
installer: Add 'nss-certs' to the networking services.
Fixes <https://bugs.gnu.org/35469>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* gnu/installer/services.scm (%system-services): Add service for
'nss-certs', with 'recommended?' set to #t.
2019-04-28 22:57:07 +02:00
Ludovic Courtès 1d9fcdacf9
installer: Recommended services are pre-selected.
* gnu/installer/services.scm (<system-service>)[recommended?]: New
field.
* gnu/installer/newt/services.scm (run-desktop-environments-cbt-page):
Pass #:selection to 'run-checkbox-tree-page', computed from the
'recommended?' field of each service.
(run-networking-cbt-page): Likewise.
2019-04-28 22:57:07 +02:00
Ludovic Courtès 7253c2b629
installer: Add #:selection parameter to 'run-checkbox-tree-page'.
* gnu/installer/newt/page.scm (%none-selected): New variable.
(run-checkbox-tree-page): Add #:selection.
[fill-checkbox-tree]: Honor it.
2019-04-28 22:57:07 +02:00
Ludovic Courtès 0fe1692200
doc: Duplicate recommendation about 'guix-install.sh'.
Since our web site points to "Binary Installation", it's best to have
that note there.

* doc/guix.texi (Binary Installation): Add note about guix-install.sh.
2019-04-28 22:57:07 +02:00