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
Danny Milosavljevic
49ec5d88c5
tests: docker: Run a guest guile inside the docker container.
...
* gnu/tests/docker.scm (run-docker-test): Add parameters. Load and run
docker container. Check response of guest guile.
(build-tarball&run-docker-test): New procedure.
(%test-docker): Use it.
[description]: Modify.
2019-01-15 12:16:46 +01:00
Ludovic Courtès
0c1bc5ecbe
status: Spin only on TTYs.
...
* guix/status.scm (isatty?*): New procedure.
(spin!): Do nothing when port matches ISATTY?*.
(color-output?): Use ISATTY?*.
2019-01-15 12:05:25 +01:00
Ludovic Courtès
35225dc579
guix package: '--upgrade' preserves package order.
...
Fixes <https://bugs.gnu.org/31142 >.
Reported by Chris Marusich <cmmarusich@gmail.com>.
* guix/scripts/package.scm (options->installable)[upgraded]: Use 'fold'
instead of 'fold-right'. This reverts
eca16a3d1d
.
* tests/guix-package-net.sh: Add 'guix package u' test.
2019-01-15 12:05:25 +01:00
Ludovic Courtès
74a8b2cca1
gnu: guile-commonmark: Install .scm files in the right place.
...
Previously they'd be installed in PREFIX/share/share/guile/site.
* gnu/packages/guile.scm (guile-commonmark)[modules, snippet]: New
fields.
2019-01-15 12:05:21 +01:00
Arun Isaac
6aa4f09eb6
gnu: font-dosis: Switch to font-build-system.
...
* gnu/packages/fonts.scm (font-dosis): Switch to font-build-system.
[source]: Use url-fetch/zipbomb.
[native-inputs]: Remove unzip.
2019-01-15 15:27:54 +05:30
Jonathan Brielmaier
4deeb1ed06
gnu: Add missing patch to local.mk.
...
This was forgotten in ab533c613e
.
* gnu/local.mk (dist_patch_DATA): Add
"allegro-fix-compilation-mesa-18.2.5-and-later.patch".
Signed-off-by: Jonathan Brielmaier <jbrielmaier@suse.de>
2019-01-15 11:50:27 +02:00
Clément Lassieur
67c05f587a
gnu: python-git-review: Update to 1.27.0.
...
* gnu/packages/openstack.scm (python-git-review): Update to 1.27.0.
[arguments]: Get the 'wrap-program' phase to return #t.
2019-01-15 10:49:18 +01:00
Clément Lassieur
104e1d55c7
gnu: prosody: Update to 0.11.2.
...
* gnu/packages/messaging.scm (prosody): Update to 0.11.2.
2019-01-15 10:49:18 +01:00
Efraim Flashner
38f18309e1
gnu: youtube-dl: Update to 2019.01.10.
...
* gnu/packages/video.scm (youtube-dl): Update to 2019.01.10.
[source]: Update uri.
2019-01-15 09:42:17 +02:00
Ludovic Courtès
0ee1e47edb
copy: Add '--verbosity'.
...
This fixes a regression introduced in
f1de676ea8
since %DEFAULT-OPTIONS was
missing the 'debug key that 'set-build-options-from-command-line'
expects.
* guix/scripts/copy.scm (show-help, %options): Add '--verbosity'.
(%default-options): Rename 'verbosity' to 'debug'. Add
'print-build-trace?', 'print-extended-build-trace?',
'multiplexed-build-output?', and 'verbosity'.
(guix-copy): Wrap body in 'with-status-verbosity'.
2019-01-14 23:43:49 +01:00