jackhill/guix/guix.git
5 years agoinstaller: Do not ask for keyboard model.
Mathieu Othacehe [Wed, 5 Dec 2018 05:36:22 +0000 (14:36 +0900)]
installer: Do not ask for keyboard model.

Suppose that the keyboard model is "pc105".

* gnu/installer.scm (apply-keymap): Remove model ...
* gnu/installer/newt/keymap.scm (run-keymap-page): passed here.
(run-model-page): remove procedure
* gnu/installer/record.scm (installer): Edit keymap-page prototype in comment.
* gnu/installer/keymap.scm (default-keyboard-model): New exported parameter.

5 years agoinstaller: Add configuration formatter.
Mathieu Othacehe [Wed, 5 Dec 2018 05:30:16 +0000 (14:30 +0900)]
installer: Add configuration formatter.

* gnu/installer.scm (installer-steps): Add configuration-formatter procedures.
* gnu/installer/final.scm: New file.
* gnu/installer/locale.scm (locale->configuration): New exported procedure.
* gnu/installer/newt.scm (newt-installer): Add final page.
* gnu/installer/newt/final.scm: New file.
* gnu/installer/record.scm (installer): Add final-page field.
* gnu/installer/timezone.scm (posix-tz->configuration): New exported
procedure.
* gnu/installer/steps.scm (installer-step): Rename configuration-proc field to
configuration-formatter.
(%installer-configuration-file): New exported parameter,
(%installer-target-dir): ditto,
(%configuration-file-width): ditto,
(format-configuration): new exported procedure,
(configuration->file): new exported procedure.

5 years agoinstaller: Add new utils.
Mathieu Othacehe [Wed, 5 Dec 2018 05:24:04 +0000 (14:24 +0900)]
installer: Add new utils.

* gnu/installer/utils.scm (nearest-exact-integer): New exported procedure,
(read-percentage): ditto,
(run-shell-command): ditto.

5 years agoinstaller: Remove "selection" from all titles.
Mathieu Othacehe [Wed, 5 Dec 2018 05:19:28 +0000 (14:19 +0900)]
installer: Remove "selection" from all titles.

* gnu/installer/newt/hostname.scm (run-hostname-page): Remove selection from
page title,
(run-variant-page): ditto.
* gnu/installer/newt/keymap.scm (run-layout-page): Ditto.
* gnu/installer/newt/locale.scm (run-layout-page): Ditto,
(run-territory-page): ditto,
(run-codeset-page): ditto,
(run-modifier-page): ditto
* gnu/installer/newt/network.scm (run-territory-page): Ditto.
* gnu/installer/newt/timezone.scm (run-timezone-page): Ditto.
* gnu/installer/newt/wifi.scm (run-wifi-page): Ditto.

5 years agofile-systems: Export read-partition-label and read-partition-uuid.
Mathieu Othacehe [Wed, 5 Dec 2018 05:16:36 +0000 (14:16 +0900)]
file-systems: Export read-partition-label and read-partition-uuid.

* gnu/build/file-systems.scm (read-partition-label): Export it,
(read-partition-uuid): ditto.

5 years agognu: Add guile-parted.
Mathieu Othacehe [Wed, 5 Dec 2018 05:15:45 +0000 (14:15 +0900)]
gnu: Add guile-parted.

* gnu/packages/guile.scm (guile-parted): New variable.

5 years agognu: guile-newt: Update to revision 4.
Mathieu Othacehe [Wed, 5 Dec 2018 05:15:11 +0000 (14:15 +0900)]
gnu: guile-newt: Update to revision 4.

* gnu/packages/guile.scm (guile-newt): Update to revision 4.

5 years agoservices: herd: Allow to pass arguments to start-service.
Mathieu Othacehe [Wed, 5 Dec 2018 05:13:38 +0000 (14:13 +0900)]
services: herd: Allow to pass arguments to start-service.

* gnu/services/herd.scm (start-service)[arguments]: New optional argument.

5 years agobuild: syscalls: Add device-in-use?.
Mathieu Othacehe [Wed, 5 Dec 2018 05:08:35 +0000 (14:08 +0900)]
build: syscalls: Add device-in-use?.

This new procedure uses BLKRRPART to determine whether or not a device is
busy. It is useful when a device does not appear as mounted but is maybe used
by the kernel. This is the case with overlayfs lowerdir backend device for
example.

* guix/build/syscalls.scm (device-in-use?): New exported procedure.

5 years agotests: Rename %test-encrypted-os to %test-encrypted-root-os.
Mathieu Othacehe [Wed, 28 Nov 2018 08:27:09 +0000 (17:27 +0900)]
tests: Rename %test-encrypted-os to %test-encrypted-root-os.

* gnu/tests/install.scm (%test-encrypted-os): Rename to
%test-encrypted-root-os for consistency with its system-test name.

5 years agoinstaller: Fix locale installation.
Mathieu Othacehe [Sat, 24 Nov 2018 05:06:40 +0000 (14:06 +0900)]
installer: Fix locale installation.

For some mysterious reason, calling 'setlocale' as first instruction of
installer-builder does not install unicode support correctly. So set LANG env
variable and start the installer until this is understood.

* gnu/installer.scm (installer-program): Wrap installer-builder to have the
opportunity to set LANG environment variable before starting the installer.

5 years agoinstaller: Move everything to the build side.
Mathieu Othacehe [Sat, 24 Nov 2018 03:25:03 +0000 (12:25 +0900)]
installer: Move everything to the build side.

* gnu/installer.scm: Rename to ...
* gnu/installer/record.scm: ... this.
* gnu/installer/build-installer.scm: Move everything to the build side and
rename to gnu/installer.scm.
* gnu/installer/newt.scm: Remove all the gexps and add depencies to newt
modules as this code will only be used on the build side by now.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adapt it,
(dist_installer_DATA): New rule to install installer's aux-files.
* gnu/system/install.scm (%installation-services): Use only
'installer-program' from (gnu installer). The installer is now choosen on the
build side.
* guix/self.scm (*system-modules*): Restore previous behaviour and add all
installer files to #:extra-files field of the scheme-node.
* po/guix/POTFILES.in: Adapt it.

5 years agoinstaller: Rewrite welcome page.
Mathieu Othacehe [Fri, 23 Nov 2018 14:23:45 +0000 (23:23 +0900)]
installer: Rewrite welcome page.

The welcome page is the only page using absolute positioning for the newt
components, so that the page occupies all the screen space. This is becoming
too hard to manage, so switch to grid management like elsewhere, even if the
result is less appealing.

Also add an info text to the page with a mention on how to switch back to the
original installer.

* gnu/installer/newt/welcome.scm (run-menu-page): Use a vertically stacked
grid instead of hard window placement.

5 years agognu: installer: Launch the installer as kmscon login-program.
Mathieu Othacehe [Fri, 23 Nov 2018 14:18:59 +0000 (23:18 +0900)]
gnu: installer: Launch the installer as kmscon login-program.

Source /etc/environment just before starting the installer. The login program
is supposed to load the environment variables of this file through PAM, but as
we replace it by the installer, they are no longer available. This is mostly
useful for the LANG environment variable.

* gnu/installer/build-installer.scm (installer-program-launcher): New exported
procedure.
* gnu/system/install.scm (%installation-services): Restore most of the origin
code. kmscon is only started on TTY1, and the graphical installer is the
login-program.

5 years agoguix: self: Do not install (gnu system install).
Mathieu Othacehe [Fri, 23 Nov 2018 02:22:35 +0000 (11:22 +0900)]
guix: self: Do not install (gnu system install).

As we do not want to add a dependency to newt and the graphical installer
in (guix self), do not install (gnu system install).

* guix/self.scm (*system-modules*): Remove (gnu system install) from
"guix-system" scheme-node.

5 years agodoc: Document the graphical installer.
Mathieu Othacehe [Fri, 23 Nov 2018 13:53:39 +0000 (22:53 +0900)]
doc: Document the graphical installer.

* doc/guix.texi (Preparing for Installation): Mention the graphical installer.

5 years agoconfigure: Disable installer build by default.
Mathieu Othacehe [Fri, 23 Nov 2018 01:56:49 +0000 (10:56 +0900)]
configure: Disable installer build by default.

Only build installer if "--enable-installer" is passed. In that case only, the
support for Guile-newt becomes mandatory.

* configure.ac: Add --enable-installer argument. Export ENABLE_INSTALLER
conditional according to the argument value.
* gnu/local.mk (GNU_SYSTEM_MODULES): Remove installer modules and build them
only if ENABLE_INSTALLER is set.

5 years agoinstaller: newt: Locate the logo within local-file.
Mathieu Othacehe [Sun, 18 Nov 2018 03:22:50 +0000 (12:22 +0900)]
installer: newt: Locate the logo within local-file.

* gnu/installer/newt.scm (logo): Remove it,
(welcome-page): Use a relative path to locate the logo.

5 years agoinstaller: newt: Use scheme-modules* instead of scheme-modules.
Mathieu Othacehe [Sun, 18 Nov 2018 03:14:23 +0000 (12:14 +0900)]
installer: newt: Use scheme-modules* instead of scheme-modules.

* gnu/installer/newt.scm (modules): Use scheme-modules*.

5 years agognu: Add graphical installer support.
Mathieu Othacehe [Fri, 16 Nov 2018 11:43:55 +0000 (20:43 +0900)]
gnu: Add graphical installer support.

* configure.ac: Require that guile-newt is available.
* gnu/installer.scm: New file.
* gnu/installer/aux-files/logo.txt: New file.
* gnu/installer/build-installer.scm: New file.
* gnu/installer/connman.scm: New file.
* gnu/installer/keymap.scm: New file.
* gnu/installer/locale.scm: New file.
* gnu/installer/newt.scm: New file.
* gnu/installer/newt/ethernet.scm: New file.
* gnu/installer/newt/hostname.scm: New file.
* gnu/installer/newt/keymap.scm: New file.
* gnu/installer/newt/locale.scm: New file.
* gnu/installer/newt/menu.scm: New file.
* gnu/installer/newt/network.scm: New file.
* gnu/installer/newt/page.scm: New file.
* gnu/installer/newt/timezone.scm: New file.
* gnu/installer/newt/user.scm: New file.
* gnu/installer/newt/utils.scm: New file.
* gnu/installer/newt/welcome.scm: New file.
* gnu/installer/newt/wifi.scm: New file.
* gnu/installer/steps.scm: New file.
* gnu/installer/timezone.scm: New file.
* gnu/installer/utils.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add previous files.
* gnu/system.scm: Export %root-account.
* gnu/system/install.scm (%installation-services): Use kmscon instead of linux
VT for all tty.
(installation-os)[users]: Add the graphical installer as shell of the root
account.
[packages]: Add font related packages.
* po/guix/POTFILES.in: Add installer files.

5 years agognu: kmscon: Add runtime keymap update support.
Mathieu Othacehe [Fri, 16 Nov 2018 11:40:26 +0000 (20:40 +0900)]
gnu: kmscon: Add runtime keymap update support.

* gnu/packages/patches/kmscon-runtime-keymap-switch.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/terminals.scm (kmscon)[source]: Add patch.

5 years agoservices: kmscon: Remove virtual-terminal requirement.
Mathieu Othacehe [Fri, 16 Nov 2018 11:35:37 +0000 (20:35 +0900)]
services: kmscon: Remove virtual-terminal requirement.

kmscon does not require that virtual terminals run in UTF-8 mode.

* gnu/services/base.scm (kmscon-service-type): Remove virtual-terminal from
requirement list.

5 years agoguile: newt: Update revision to 3.
Mathieu Othacehe [Fri, 16 Nov 2018 11:00:05 +0000 (20:00 +0900)]
guile: newt: Update revision to 3.

* gnu/packages/guile.scm (guile-newt): Update revision to 3.

5 years agognu: Add ghc-tldr.
Gabriel Hondet [Tue, 15 Jan 2019 15:16:23 +0000 (16:16 +0100)]
gnu: Add ghc-tldr.

* gnu/packages/haskell.scm (ghc-tldr): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agoRevert "Revert "gnu: man-db: Embed absolute reference to 'preconv'.""
Marius Bakke [Thu, 17 Jan 2019 11:27:18 +0000 (12:27 +0100)]
Revert "Revert "gnu: man-db: Embed absolute reference to 'preconv'.""

This reverts commit ccb15b343e35d76a5c7c693f4c00d3f5b5a4cc39.

Now that we've fixed the segfault with groff's preconv (see
73b2ce87956b0d9168dcfa234128b91e0e41a4c7), it's safe to re-apply this fix.

5 years agognu: Add emacs-edbi-sqlite.
Pierre Neidhardt [Thu, 17 Jan 2019 11:20:16 +0000 (12:20 +0100)]
gnu: Add emacs-edbi-sqlite.

* gnu/packages/emacs-xyz.scm (emacs-edbi-sqlite): New variable.

5 years agognu: Add emacs-edbi.
Pierre Neidhardt [Thu, 17 Jan 2019 11:20:08 +0000 (12:20 +0100)]
gnu: Add emacs-edbi.

* gnu/packages/emacs-xyz.scm (emacs-edbi): New variable.

5 years agognu: Add emacs-epc.
Pierre Neidhardt [Thu, 17 Jan 2019 11:18:52 +0000 (12:18 +0100)]
gnu: Add emacs-epc.

* gnu/packages/emacs-xyz.scm (emacs-epc): New variable.

5 years agognu: Add emacs-ctable.
Pierre Neidhardt [Thu, 17 Jan 2019 11:18:39 +0000 (12:18 +0100)]
gnu: Add emacs-ctable.

* gnu/packages/emacs-xyz.scm (emacs-ctable): New variable.

5 years agognu: Add emacs-e2wm.
Pierre Neidhardt [Thu, 17 Jan 2019 11:18:29 +0000 (12:18 +0100)]
gnu: Add emacs-e2wm.

* gnu/packages/emacs-xyz.scm (emacs-e2wm): New variable.

5 years agognu: Add emacs-window-layout.
Pierre Neidhardt [Thu, 17 Jan 2019 11:08:37 +0000 (12:08 +0100)]
gnu: Add emacs-window-layout.

* gnu/packages/emacs-xyz.scm (emacs-window-layout): New variable.

5 years agognu: Add perl-rpc-epc-service.
Pierre Neidhardt [Thu, 17 Jan 2019 11:08:07 +0000 (12:08 +0100)]
gnu: Add perl-rpc-epc-service.

* gnu/packages/libevent.scm (perl-rpc-epc-service): New variable.

5 years agognu: Add perl-data-sexpression.
Pierre Neidhardt [Thu, 17 Jan 2019 11:06:39 +0000 (12:06 +0100)]
gnu: Add perl-data-sexpression.

* gnu/packages/perl.scm (perl-data-sexpression): New variable.

5 years agognu: groff-minimal: Disable relocatability.
Danny Milosavljevic [Wed, 16 Jan 2019 14:00:04 +0000 (15:00 +0100)]
gnu: groff-minimal: Disable relocatability.

* gnu/packages/groff.scm (groff-minimal)[arguments]<#:phases>
[disable-relocatability]: New phase.

5 years agognu: gauche: Remove number of packages from description.
Gabriel Hondet [Thu, 17 Jan 2019 07:24:30 +0000 (08:24 +0100)]
gnu: gauche: Remove number of packages from description.

* gnu/packages/scheme.scm (gauche)[description]: Remove number of packages.
[arguments]: Remove useless code.

5 years agognu: kwindowsystem: Enable test-suite.
Hartmut Goebel [Wed, 2 Jan 2019 12:09:35 +0000 (13:09 +0100)]
gnu: kwindowsystem: Enable test-suite.

* gnu/package/kde-frameworks.scm(kwindowsystem)
  [inputs]: Add openbox.
  [arguments] <#:tests?> Remove.
  <#:phases> 'blacklist-failing-tests: New phase.
  <#:phases> 'check: Start openbox, don't set QT_PLUGIN_PATH, use invkove,
  simplify and cleanup code. No longer move 'check behind install.

5 years agognu: knewstuff: Enable test-suite.
Hartmut Goebel [Wed, 2 Jan 2019 01:49:02 +0000 (02:49 +0100)]
gnu: knewstuff: Enable test-suite.

Without anything changed the test-suite now passes, thus can be enabled.

* gnu/package/kde-frameworks.scm(knewstuff)[arguments]<#:tests?>: Remove.

5 years agognu: kemoticons: Enable test-suite.
Hartmut Goebel [Wed, 2 Jan 2019 01:23:25 +0000 (02:23 +0100)]
gnu: kemoticons: Enable test-suite.

Without anything changed the test-suite now passes, thus can be enabled.

* gnu/package/kde-frameworks.scm(kemoticons)[arguments]<#:tests?>: Remove.

5 years agognu: kpackage: Enable test-suite.
Hartmut Goebel [Tue, 1 Jan 2019 23:41:53 +0000 (00:41 +0100)]
gnu: kpackage: Enable test-suite.

* gnu/package/kde-frameworks.scm(kpackage)[arguments]
  <#:tests?>: Remove. <#:phases>: Add phase 'patch-tests.

5 years agognu: kirigami: Enable test-suite.
Hartmut Goebel [Tue, 1 Jan 2019 22:24:12 +0000 (23:24 +0100)]
gnu: kirigami: Enable test-suite.

The error which inhibited running the tests no longer occurs
in 5.49.0, although now no tests are found at all.  Since no tests
are found now, the phase 'check-setup can be removed, too,
and thus the 'arguments' at all.

* gnu/packages/kde-frameworks.scm(kirigami)[arguments]: Remove.

5 years agognu: kcoreaddons: Enable test-suite.
Hartmut Goebel [Tue, 1 Jan 2019 22:07:30 +0000 (23:07 +0100)]
gnu: kcoreaddons: Enable test-suite.

Enable running the tests and blacklist the one failing test.

* gnu/package/kde-frameworks.scm(kcoreaddons)[arguments]
  <#:tests?>: Remove. <#:phases>: Add phase 'blacklist-failing-test.

5 years agognu: php: Update to 7.3.1.
Julien Lepiller [Wed, 16 Jan 2019 19:26:50 +0000 (20:26 +0100)]
gnu: php: Update to 7.3.1.

* gnu/packages/php.scm (php): Update to 7.3.1.

5 years agognu: Add ocaml-ppxlib.
Gabriel Hondet [Fri, 4 Jan 2019 09:09:12 +0000 (10:09 +0100)]
gnu: Add ocaml-ppxlib.

* gnu/packages/ocaml.scm (ocaml-ppxlib): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: Add ocaml-ppx-derivers.
Gabriel Hondet [Sat, 5 Jan 2019 16:44:30 +0000 (17:44 +0100)]
gnu: Add ocaml-ppx-derivers.

* gnu/packages/ocaml.scm (ocaml-ppx-derivers): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: Add ocaml-migrate-parsetree.
Gabriel Hondet [Thu, 3 Jan 2019 09:40:45 +0000 (10:40 +0100)]
gnu: Add ocaml-migrate-parsetree.

* gnu/packages/ocaml.scm (ocaml-migrate-parsetree): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: Add ocaml-compiler-libs.
Gabriel Hondet [Sat, 5 Jan 2019 16:38:15 +0000 (17:38 +0100)]
gnu: Add ocaml-compiler-libs.

* gnu/packages/ocaml.scm (ocaml-compiler-libs): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: Add ocaml-base.
Gabriel Hondet [Thu, 3 Jan 2019 08:43:49 +0000 (09:43 +0100)]
gnu: Add ocaml-base.

* gnu/packages/ocaml.scm (ocaml-base): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: Add ocaml-sexplib.
Gabriel Hondet [Thu, 3 Jan 2019 07:45:36 +0000 (08:45 +0100)]
gnu: Add ocaml-sexplib.

* gnu/packages/ocaml.scm (ocaml-sexplib): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: Add ocaml-parsexp.
Gabriel Hondet [Thu, 3 Jan 2019 07:26:51 +0000 (08:26 +0100)]
gnu: Add ocaml-parsexp.

* gnu/packages/ocaml.scm (ocaml-parsexp): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: Add ocaml-sexplib0.
Gabriel Hondet [Sat, 5 Jan 2019 16:36:56 +0000 (17:36 +0100)]
gnu: Add ocaml-sexplib0.

* gnu/packages/ocaml.scm (ocaml-sexplib0): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: gnurl: Add properties for updater.
Efraim Flashner [Wed, 16 Jan 2019 17:48:02 +0000 (19:48 +0200)]
gnu: gnurl: Add properties for updater.

* gnu/packages/gnunet.scm (gnurl)[properties]: New field.

5 years agoRevert "gnu: groff: Disable relocatability."
Efraim Flashner [Wed, 16 Jan 2019 16:27:27 +0000 (18:27 +0200)]
Revert "gnu: groff: Disable relocatability."

This causes more than 3600 packages to be rebuilt.

This reverts commit f57693e17c7905d2f11e46d04cb558fe0b0fc39b.

5 years agoimport: github: Do not update URI for packages using git-fetch.
Arun Isaac [Wed, 16 Jan 2019 09:51:06 +0000 (15:21 +0530)]
import: github: Do not update URI for packages using git-fetch.

* guix/import/github.scm (updated-github-url): Return the unchanged source URI
for packages using git-fetch.
[updated-url]: Do not handle URIs which end with ".git".

5 years agognu: Remove unnecessary module reference.
Ricardo Wurmus [Wed, 16 Jan 2019 15:08:30 +0000 (16:08 +0100)]
gnu: Remove unnecessary module reference.

* gnu/packages/glib.scm: Remove reference to python-xyz.

5 years agognu: Move Emacs packages to new module.
Ricardo Wurmus [Wed, 16 Jan 2019 15:03:52 +0000 (16:03 +0100)]
gnu: Move Emacs packages to new module.

* gnu/packages/emacs.scm: Move almost all packages from here...
* gnu/packages/emacs-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/statistics.scm: Update module references.

5 years agognu: Move dbm databases to new module.
Ricardo Wurmus [Wed, 16 Jan 2019 13:48:47 +0000 (14:48 +0100)]
gnu: Move dbm databases to new module.

* gnu/packages/databases.scm (gdbm, bdb, bdb-5.3): Move from here...
* gnu/packages/dbm.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/audio.scm,
gnu/packages/avahi.scm,
gnu/packages/backup.scm,
gnu/packages/cobol.scm,
gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm,
gnu/packages/finance.scm,
gnu/packages/game-development.scm,
gnu/packages/gnome.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/man.scm,
gnu/packages/nvi.scm,
gnu/packages/openldap.scm,
gnu/packages/package-management.scm,
gnu/packages/php.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Update module references.

5 years agognu: Move sqlite to separate module.
Ricardo Wurmus [Tue, 15 Jan 2019 20:47:05 +0000 (21:47 +0100)]
gnu: Move sqlite to separate module.

* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.

5 years agognu: groff: Disable relocatability.
Danny Milosavljevic [Wed, 16 Jan 2019 14:00:04 +0000 (15:00 +0100)]
gnu: groff: Disable relocatability.

* gnu/packages/groff.scm (groff)[arguments]<#:phases>[disable-relocatability]:
New phase.

5 years agognu: Add prosody-smacks.
Clément Lassieur [Wed, 16 Jan 2019 13:00:38 +0000 (14:00 +0100)]
gnu: Add prosody-smacks.

* gnu/packages/messaging.scm (prosody-smacks): New variable.

5 years agognu: obs: Update to 22.0.3.
Pkill -9 [Tue, 15 Jan 2019 18:14:33 +0000 (18:14 +0000)]
gnu: obs: Update to 22.0.3.

* gnu/packages/video.scm (obs): Update to 22.0.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: grub: Add dependency on console-setup.
nee [Wed, 16 Jan 2019 13:01:17 +0000 (14:01 +0100)]
gnu: grub: Add dependency on console-setup.

* gnu/packages/bootloaders.scm (grub)[arguments]: In 'patch-stuff'
phase, patch 'grub-kbdcomp.in'.
[inputs]: Add CONSOLE-SETUP.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
5 years agodoc: Add missing parameter to guix system reconfigure
Damien Cassou [Wed, 16 Jan 2019 12:18:12 +0000 (13:18 +0100)]
doc: Add missing parameter to guix system reconfigure

* doc/guix.texi (Proceeding with the Installation): Mention that
  /etc/config.scm must be passed as parameter and that root is needed.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agobootloader: Remove deprecated 'device' field.
Ludovic Courtès [Wed, 16 Jan 2019 12:42:34 +0000 (13:42 +0100)]
bootloader: Remove deprecated 'device' field.

The 'device' field had been deprecated in commit
045ebb3e58d74c75f39ce47380045d3cd00359c3 (August 2017).

* gnu/bootloader.scm (<bootloader-configuration>)[device]: Remove.
[target]: Change getter to 'bootstrap-configuration-target'.
(bootstrap-configuration-target): Remove.

5 years agoinstall: Avoid deprecated 'gpm-service' procedure.
Ludovic Courtès [Wed, 16 Jan 2019 12:39:16 +0000 (13:39 +0100)]
install: Avoid deprecated 'gpm-service' procedure.

* gnu/system/install.scm (%installation-services): Use the 'service'
form instead of 'gpm-service'.

5 years agoservices: avahi: Deprecate the 'avahi-service' procedure.
Ludovic Courtès [Wed, 16 Jan 2019 10:18:34 +0000 (11:18 +0100)]
services: avahi: Deprecate the 'avahi-service' procedure.

* gnu/services/avahi.scm (<avahi-configuration>): Export getters.  Add
default values.
(avahi-service-type)[default-value]: New field.
(avahi-service): Mark as deprecated.
* gnu/services/desktop.scm (%desktop-services): Use the 'service' form
instead of calling 'avahi-service'.
* gnu/tests/base.scm (%avahi-os): Likewise.
* doc/guix.texi (Base Services): Adjust example accordingly.
(Networking Services): Update accordingly.

5 years agognu: kodi: Skip failing test.
Efraim Flashner [Tue, 15 Jan 2019 07:26:14 +0000 (09:26 +0200)]
gnu: kodi: Skip failing test.

* gnu/packages/kodi.scm (kodi)[source]: Add patch.
* gnu/packages/patches/kodi-skip-test-449.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

5 years agognu: Add meld.
Pierre Neidhardt [Wed, 16 Jan 2019 09:40:39 +0000 (10:40 +0100)]
gnu: Add meld.

* gnu/packages/patchutils.scm (meld): New variable.

5 years agognu: Add console-setup.
nee [Tue, 15 Jan 2019 22:14:07 +0000 (23:14 +0100)]
gnu: Add console-setup.

* gnu/packages/xorg.scm (console-setup): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: Add bdfresize.
Ludovic Courtès [Tue, 15 Jan 2019 21:39:30 +0000 (22:39 +0100)]
gnu: Add bdfresize.

* gnu/packages/xorg.scm (bdfresize): New variable.

5 years agognu: hyperrogue: Update to 10.5d.
Kei Kebreau [Tue, 15 Jan 2019 19:45:50 +0000 (14:45 -0500)]
gnu: hyperrogue: Update to 10.5d.

* gnu/packages/games.scm (hyperrogue): Update to 10.5d.

5 years agognu: emacs-closql: Fix hash.
Jelle Licht [Tue, 15 Jan 2019 19:28:37 +0000 (20:28 +0100)]
gnu: emacs-closql: Fix hash.

* gnu/packages/emacs.scm (emacs-closql)[source]: Fix incorrect hash.

5 years agostatus: Distinguish 'package-cache' profile hook.
Ludovic Courtès [Sun, 13 Jan 2019 15:11:11 +0000 (16:11 +0100)]
status: Distinguish 'package-cache' profile hook.

* guix/status.scm (hook-message): Handle 'package-cache'.

5 years agoguix package: '--list-available' can use data from the cache.
Ludovic Courtès [Sun, 13 Jan 2019 14:36:49 +0000 (15:36 +0100)]
guix package: '--list-available' can use data from the cache.

* gnu/packages.scm (fold-available-packages): New procedure.
* guix/scripts/package.scm (process-query): Use it instead of
'fold-packages'.
* tests/packages.scm ("fold-available-packages with/without cache"):
New test.

5 years agoedit: Use 'specification->location' to read information from the cache.
Ludovic Courtès [Sun, 13 Jan 2019 13:27:10 +0000 (14:27 +0100)]
edit: Use 'specification->location' to read information from the cache.

That way 'guix edit' doesn't need to load any package module.

* gnu/packages.scm (find-package-locations, specification->location):
New procedures.
* guix/scripts/edit.scm (package->location-specification): Rename to...
(location->location-specification): ... this.  Expect a location object
instead of a package.
(guix-edit): Use 'specification->location' instead of
'specification->package'.
* tests/packages.scm ("find-package-locations")
("find-package-locations with cache")
("specification->location"): New tests.

5 years agochannels: Compute a package cache and use it.
Ludovic Courtès [Fri, 11 Jan 2019 16:23:39 +0000 (17:23 +0100)]
channels: Compute a package cache and use it.

* gnu/packages.scm (cache-is-authoritative?, load-package-cache)
(cache-lookup, generate-package-cache): New procedures.
(%package-cache-file): New variable.
(find-packages-by-name): Rename to...
(find-packages-by-name/direct): ... this.
(find-packages-by-name): Rewrite to use the package cache when
'cache-is-authoritative?' returns true.
* tests/packages.scm ("find-packages-by-name + version, with cache")
("find-packages-by-name with cache"): New tests.
* guix/channels.scm (package-cache-file): New procedure.
(%channel-profile-hooks): New variable.
(channel-instances->derivation): Use it in #:hooks.
* guix/scripts/package.scm (build-and-use-profile): Add #:hooks and
honor it.
* guix/scripts/pull.scm (build-and-install): Pass #:hooks to
UPDATE-PROFILE.

5 years agodiscovery: Add 'fold-module-public-variables*'.
Ludovic Courtès [Sat, 12 Jan 2019 21:26:01 +0000 (22:26 +0100)]
discovery: Add 'fold-module-public-variables*'.

* guix/discovery.scm (fold-module-public-variables*): New procedure.

5 years agoinferior: Add 'gexp->derivation-in-inferior'.
Ludovic Courtès [Sat, 12 Jan 2019 17:19:13 +0000 (18:19 +0100)]
inferior: Add 'gexp->derivation-in-inferior'.

* guix/inferior.scm (gexp->derivation-in-inferior): New procedure.

5 years agopackages: Remove 'find-newest-available-packages'.
Ludovic Courtès [Fri, 11 Jan 2019 14:19:41 +0000 (15:19 +0100)]
packages: Remove 'find-newest-available-packages'.

Since commit 9ffc1c00e55eb7931846dbb3fafcf54716fff57c,
'find-newest-available-packages' and 'find-packages-by-name' were both
building a vhash mapping package names to packages.  This factorizes
this bit, also reducing I/O, CPU, and memory usage.

* gnu/packages.scm (find-best-packages-by-name): Remove.
(find-best-packages-by-name): Use 'find-packages-by-name' instead of
'find-newest-available-packages'.

5 years agoguix package: Avoid 'find-newest-available-packages'.
Ludovic Courtès [Fri, 11 Jan 2019 14:17:10 +0000 (15:17 +0100)]
guix package: Avoid 'find-newest-available-packages'.

* guix/scripts/package.scm (transaction-upgrade-entry): Use
'find-best-packages-by-name' instead of
'find-newest-available-packages'.
* tests/packages.scm ("transaction-upgrade-entry, zero upgrades")
("transaction-upgrade-entry, one upgrade")
("transaction-upgrade-entry, superseded package"): Adjust accordingly.

5 years agoprofiling: Add a "gc" profiling component.
Ludovic Courtès [Fri, 11 Jan 2019 13:56:40 +0000 (14:56 +0100)]
profiling: Add a "gc" profiling component.

* guix/profiling.scm (show-gc-stats): New procedure.
<top level>: Call 'register-profiling-hook!'.

5 years agognu: Add gauche.
Gabriel Hondet [Tue, 15 Jan 2019 08:11:10 +0000 (09:11 +0100)]
gnu: Add gauche.

* gnu/packages/scheme.scm (gauche): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agoguix: scons: Fix module reference.
Ricardo Wurmus [Tue, 15 Jan 2019 17:15:07 +0000 (18:15 +0100)]
guix: scons: Fix module reference.

* guix/build-system/scons.scm (default-scons): Find "scons" package in
(gnu packages python-xyz) instead of (gnu packages python).

5 years agognu: Move Python compression packages to new module.
Ricardo Wurmus [Tue, 15 Jan 2019 16:42:59 +0000 (17:42 +0100)]
gnu: Move Python compression packages to new module.

* gnu/packages/compression.scm (python-lzo, python2-lzo, python-lz4,
python2-lz4, python-lzstring, python2-lzstring, bitshuffle,
bitshuffle-for-snappy): Move variables from here...
* gnu/packages/python-compression.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/bioinformatics.scm,
gnu/packages/java-compression.scm,
gnu/packages/xorg.scm: Adjust module references.

5 years agognu: Add python-grpcio.
Ricardo Wurmus [Tue, 15 Jan 2019 14:49:04 +0000 (15:49 +0100)]
gnu: Add python-grpcio.

* gnu/packages/python-xyz.scm (python-grpcio): New variable.

5 years agognu: Add python-gast.
Ricardo Wurmus [Tue, 15 Jan 2019 14:48:14 +0000 (15:48 +0100)]
gnu: Add python-gast.

* gnu/packages/python-xyz.scm (python-gast): New variable.

5 years agognu: Add python-astunparse.
Ricardo Wurmus [Tue, 15 Jan 2019 14:47:32 +0000 (15:47 +0100)]
gnu: Add python-astunparse.

* gnu/packages/python-xyz.scm (python-astunparse): New variable.

5 years agognu: Add python-astor.
Ricardo Wurmus [Tue, 15 Jan 2019 14:46:55 +0000 (15:46 +0100)]
gnu: Add python-astor.

* gnu/packages/python-xyz.scm (python-astor): New variable.

5 years agognu: Add python-absl-py.
Ricardo Wurmus [Tue, 15 Jan 2019 14:46:12 +0000 (15:46 +0100)]
gnu: Add python-absl-py.

* gnu/packages/python-xyz.scm (python-absl-py): New variable.

5 years agognu: Add protobuf-next.
Ricardo Wurmus [Mon, 26 Nov 2018 15:41:58 +0000 (16:41 +0100)]
gnu: Add protobuf-next.

* gnu/packages/protobuf.scm (protobuf-next): New variable.

5 years agognu: Add c-ares-next.
Ricardo Wurmus [Mon, 26 Nov 2018 15:41:36 +0000 (16:41 +0100)]
gnu: Add c-ares-next.

* gnu/packages/adns.scm (c-ares-next): New variable.

5 years agognu: yosys: Update to 0.8.
Danny Milosavljevic [Tue, 15 Jan 2019 13:41:21 +0000 (14:41 +0100)]
gnu: yosys: Update to 0.8.

* gnu/packages/fpga.scm (yosys): Update to 0.8.

5 years agognu: arachne-pnr: Fix tests.
Danny Milosavljevic [Tue, 15 Jan 2019 12:56:49 +0000 (13:56 +0100)]
gnu: arachne-pnr: Fix tests.

* gnu/packages/fpga.scm (arachne-pnr)[arguments]: Add #:make-flags.
<#:phases>[configure]: Remove Makefile substitution.

5 years agognu: icestorm: Update to 0.0-2-c0cbae88a.
Danny Milosavljevic [Tue, 15 Jan 2019 12:47:45 +0000 (13:47 +0100)]
gnu: icestorm: Update to 0.0-2-c0cbae88a.

* gnu/packages/fpga.scm (icestorm): Update to 0.0-2-c0cbae88a.

5 years agognu: arachne-pnr: Update to 840bdfdeb.
Amin Bandali [Sun, 13 Jan 2019 15:07:11 +0000 (10:07 -0500)]
gnu: arachne-pnr: Update to 840bdfdeb.

* gnu/packages/fpga.scm (arachne-pnr): Update to 840bdfdeb.

5 years agognu: Rename sshfs-fuse to sshfs.
swedebugia [Mon, 14 Jan 2019 20:03:20 +0000 (21:03 +0100)]
gnu: Rename sshfs-fuse to sshfs.

* gnu/packages/linux.scm (sshfs): New variable.
(sshfs-fuse): Mark as superseded.

Signed-off-by: Leo Famulari <leo@famulari.name>
5 years agognu: Add missing module reference.
Ricardo Wurmus [Tue, 15 Jan 2019 13:58:13 +0000 (14:58 +0100)]
gnu: Add missing module reference.

This is a follow-up to commit 44d10b1f722856ab8e9b942804aa7ef33e2ef739.

* gnu/packages/tex.scm: Add missing reference to python-xyz.

5 years agognu: Separate Python core packages from the rest.
Ricardo Wurmus [Tue, 15 Jan 2019 13:21:30 +0000 (14:21 +0100)]
gnu: Separate Python core packages from the rest.

* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.

5 years agognu: docker-cli: Don't install the same executable twice.
Danny Milosavljevic [Tue, 15 Jan 2019 12:30:54 +0000 (13:30 +0100)]
gnu: docker-cli: Don't install the same executable twice.

Reported by Meiyo Peng <meiyo.peng@gmail.com>.

* gnu/packages/docker.scm (docker-cli)[arguments]<#:phases>[install]:
Don't install the same executable twice.

5 years agoguix: Add profile hook to build TeX live configuration.
Ricardo Wurmus [Tue, 15 Jan 2019 12:03:48 +0000 (13:03 +0100)]
guix: Add profile hook to build TeX live configuration.

* guix/profiles.scm (texlive-configuration): New procedure.
(%default-profile-hooks): Add it.
* guix/status.scm (hook-message): Handle "texlive-configuration" hook type.

5 years agognu: python-numpy-documentation: Add missing packages to texlive-union.
Ricardo Wurmus [Tue, 15 Jan 2019 12:01:18 +0000 (13:01 +0100)]
gnu: python-numpy-documentation: Add missing packages to texlive-union.

* gnu/packages/python.scm (python-numpy-documentation)[native-inputs]: Add
texlive-fonts-cm-super and texlive-latex-needspace to texlive-union.