Commit Graph

38914 Commits

Author SHA1 Message Date
Damien Cassou
61b7f97177
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>
2019-01-16 14:07:38 +01:00
Ludovic Courtès
5f7467f046
bootloader: Remove deprecated 'device' field.
The 'device' field had been deprecated in commit
045ebb3e58 (August 2017).

* gnu/bootloader.scm (<bootloader-configuration>)[device]: Remove.
[target]: Change getter to 'bootstrap-configuration-target'.
(bootstrap-configuration-target): Remove.
2019-01-16 14:07:38 +01:00
Ludovic Courtès
5c215c9e47
install: Avoid deprecated 'gpm-service' procedure.
* gnu/system/install.scm (%installation-services): Use the 'service'
form instead of 'gpm-service'.
2019-01-16 14:07:37 +01:00
Ludovic Courtès
2e04ab7147
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.
2019-01-16 14:07:37 +01:00
Efraim Flashner
39ad752cf9
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.
2019-01-16 11:59:35 +02:00
Pierre Neidhardt
be0be3dee0
gnu: Add meld.
* gnu/packages/patchutils.scm (meld): New variable.
2019-01-16 10:44:23 +01:00
nee
41a54622b6
gnu: Add console-setup.
* gnu/packages/xorg.scm (console-setup): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-01-15 23:16:20 +01:00
Ludovic Courtès
fe77ede70a
gnu: Add bdfresize.
* gnu/packages/xorg.scm (bdfresize): New variable.
2019-01-15 23:16:20 +01:00
Kei Kebreau
8fb8afd98c
gnu: hyperrogue: Update to 10.5d.
* gnu/packages/games.scm (hyperrogue): Update to 10.5d.
2019-01-15 14:48:59 -05:00
Jelle Licht
b03131902e
gnu: emacs-closql: Fix hash.
* gnu/packages/emacs.scm (emacs-closql)[source]: Fix incorrect hash.
2019-01-15 20:28:37 +01:00
Ludovic Courtès
b9da4b931d
status: Distinguish 'package-cache' profile hook.
* guix/status.scm (hook-message): Handle 'package-cache'.
2019-01-15 20:24:09 +01:00
Ludovic Courtès
0ea939fb79
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.
2019-01-15 20:24:09 +01:00
Ludovic Courtès
ee8099f5b6
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.
2019-01-15 20:24:09 +01:00
Ludovic Courtès
5fbdc9a5aa
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.
2019-01-15 20:24:09 +01:00
Ludovic Courtès
1d90e9d7c9
discovery: Add 'fold-module-public-variables*'.
* guix/discovery.scm (fold-module-public-variables*): New procedure.
2019-01-15 20:24:09 +01:00
Ludovic Courtès
ae92782240
inferior: Add 'gexp->derivation-in-inferior'.
* guix/inferior.scm (gexp->derivation-in-inferior): New procedure.
2019-01-15 20:24:09 +01:00
Ludovic Courtès
e2a903c807
packages: Remove 'find-newest-available-packages'.
Since commit 9ffc1c00e5,
'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'.
2019-01-15 20:24:09 +01:00
Ludovic Courtès
465a0d65ae
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.
2019-01-15 20:24:09 +01:00
Ludovic Courtès
461d6c2eff
profiling: Add a "gc" profiling component.
* guix/profiling.scm (show-gc-stats): New procedure.
<top level>: Call 'register-profiling-hook!'.
2019-01-15 20:24:08 +01:00
Gabriel Hondet
eac7ed195b
gnu: Add gauche.
* gnu/packages/scheme.scm (gauche): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-01-15 20:24:08 +01:00
Ricardo Wurmus
b96909c5c1
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).
2019-01-15 18:15:07 +01:00
Ricardo Wurmus
4fec042b54
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.
2019-01-15 17:45:33 +01:00
Ricardo Wurmus
22e623aef0
gnu: Add python-grpcio.
* gnu/packages/python-xyz.scm (python-grpcio): New variable.
2019-01-15 17:27:34 +01:00
Ricardo Wurmus
2884aac071
gnu: Add python-gast.
* gnu/packages/python-xyz.scm (python-gast): New variable.
2019-01-15 17:27:34 +01:00
Ricardo Wurmus
79869f8064
gnu: Add python-astunparse.
* gnu/packages/python-xyz.scm (python-astunparse): New variable.
2019-01-15 17:27:34 +01:00
Ricardo Wurmus
81bed4e92b
gnu: Add python-astor.
* gnu/packages/python-xyz.scm (python-astor): New variable.
2019-01-15 17:27:34 +01:00
Ricardo Wurmus
d0446c4b55
gnu: Add python-absl-py.
* gnu/packages/python-xyz.scm (python-absl-py): New variable.
2019-01-15 17:27:34 +01:00
Ricardo Wurmus
c22c803efc
gnu: Add protobuf-next.
* gnu/packages/protobuf.scm (protobuf-next): New variable.
2019-01-15 17:27:34 +01:00
Ricardo Wurmus
e2931e9979
gnu: Add c-ares-next.
* gnu/packages/adns.scm (c-ares-next): New variable.
2019-01-15 17:27:34 +01:00
Danny Milosavljevic
9210a6c082
gnu: yosys: Update to 0.8.
* gnu/packages/fpga.scm (yosys): Update to 0.8.
2019-01-15 16:46:45 +01:00
Danny Milosavljevic
eccd3f6d2e
gnu: arachne-pnr: Fix tests.
* gnu/packages/fpga.scm (arachne-pnr)[arguments]: Add #:make-flags.
<#:phases>[configure]: Remove Makefile substitution.
2019-01-15 16:46:45 +01:00
Danny Milosavljevic
72dd271cee
gnu: icestorm: Update to 0.0-2-c0cbae88a.
* gnu/packages/fpga.scm (icestorm): Update to 0.0-2-c0cbae88a.
2019-01-15 16:46:45 +01:00
Amin Bandali
e82baf69f1
gnu: arachne-pnr: Update to 840bdfdeb.
* gnu/packages/fpga.scm (arachne-pnr): Update to 840bdfdeb.
2019-01-15 16:46:43 +01:00
swedebugia
357b9f9d71
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>
2019-01-15 10:45:45 -05:00
Ricardo Wurmus
5327e912a8
gnu: Add missing module reference.
This is a follow-up to commit 44d10b1f72.

* gnu/packages/tex.scm: Add missing reference to python-xyz.
2019-01-15 14:58:13 +01:00
Ricardo Wurmus
44d10b1f72
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.
2019-01-15 14:46:44 +01:00
Danny Milosavljevic
f370509096
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.
2019-01-15 13:32:09 +01:00
Ricardo Wurmus
743497b565
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.
2019-01-15 13:05:22 +01:00
Ricardo Wurmus
c4153008f7
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.
2019-01-15 13:05:22 +01:00
Ricardo Wurmus
24d0c4d0eb
gnu: texlive-fonts-amsfonts: Install type1 fonts.
* gnu/packages/tex.scm (texlive-fonts-amsfonts)[native-inputs]: Fetch type1
font files.
[arguments]: Install them.
2019-01-15 13:05:22 +01:00
Ricardo Wurmus
1574932deb
gnu: texlive-bin: Do not truncate output lines.
* gnu/packages/tex.scm (texlive-bin)[arguments]: Change default line limits in
build phase.
2019-01-15 13:05:22 +01:00
Ricardo Wurmus
769bb5e56b
gnu: Add texlive-luatex-luaotfload.
* gnu/packages/tex.scm (texlive-luatex-luaotfload): New variable.
2019-01-15 13:05:22 +01:00
Ricardo Wurmus
c2a1fe4ad2
gnu: Add texlive-fonts-lm.
* gnu/packages/tex.scm (texlive-fonts-lm): New variable.
2019-01-15 13:05:22 +01:00
Ricardo Wurmus
4e9242aaeb
gnu: Add texlive-fonts-cm-super.
* gnu/packages/tex.scm (texlive-fonts-cm-super): New variable.
2019-01-15 13:05:22 +01:00
Ricardo Wurmus
d7da23721a
gnu: texlive-union: Implement in terms of texlive-base.
* gnu/packages/tex.scm (texlive-union): Inherit from texlive-base.
2019-01-15 13:05:22 +01:00
Ricardo Wurmus
bfcb9d4dbf
gnu: Add texlive-base.
* gnu/packages/tex.scm (texlive-base): New variable.
2019-01-15 13:05:22 +01:00
Ricardo Wurmus
a1b4d62cda
gnu: texlive-bin: Add native search paths.
* gnu/packages/tex.scm (texlive-bin)[native-search-paths]: Add specifications
for TEXMF and TEXMFCNF.
2019-01-15 13:05:22 +01:00
Ricardo Wurmus
476f7fceb7
gnu: texlive-union: Wrap programs weakly.
* gnu/packages/tex.scm (texlive-union)[arguments]: Wrap programs with TEXMFCNF
and TEXMF so that environment variables take precedence.
2019-01-15 13:05:22 +01:00
Ricardo Wurmus
9c45beb4cc
gnu: texlive-latex-fontspec: Install default fontspec.cfg.
* gnu/packages/tex.scm (texlive-latex-fontspec)[arguments]: Add build phase to
install fontspec.cfg.
2019-01-15 13:05:22 +01:00
Efraim Flashner
ebe0271aa0
gnu: opencv: Update configure flags.
* gnu/packages/image-processing.scm (opencv)[arguments]: Change the
configure-flags on a per-architecture basis.
2019-01-15 13:20:14 +02:00