Commit Graph

36960 Commits

Author SHA1 Message Date
Ludovic Courtès c6080c3249
store: Add a functional object cache and use it in 'lower-object'.
This leads to ~25% improvements on things like:

  guix system build desktop.tmpl --no-grafts -d

* guix/store.scm (<nix-server>)[object-cache]: New field.
* guix/store.scm (open-connection): Initialize it.
(cache-object-mapping, lookup-cached-object, %mcached): New procedures.
(mcached): New macro.
* guix/gexp.scm (lower-object): Use it.
* guix/grafts.scm (grafting?): New procedure.
2018-11-12 23:37:13 +01:00
Ludovic Courtès 9ed86fe175
tests: Add 'test-assertm' to (guix tests).
* guix/tests.scm (test-assertm): New macro.
* tests/gexp.scm (test-assertm): Remove.
* tests/profiles.scm (test-assertm): Remove.
* tests/challenge.scm (%store, test-assertm): Remove.
* tests/debug-link.scm (%store, test-assertm): Remove.
* tests/size.scm (%store, test-assertm): Remove.
2018-11-12 23:37:13 +01:00
Arun Isaac e740a90228
gnu: youtube-dl: Update to 2018.11.07.
* gnu/packages/video.scm (youtube-dl): Update to 2018.11.07.
2018-11-12 22:09:12 +05:30
Efraim Flashner 53bcee9ea7
gnu: vifm: Update to 0.10.
* gnu/packages/vim.scm (vifm): Update to 0.10.
2018-11-12 12:37:00 +02:00
Pierre Neidhardt 5c4758415d
gnu: go-github-com-aarzilli-golua: Fix for go-1.11.
* gnu/packages/golang.scm (go-github-com-aarzilli-golua)[arguments]: Fix for go-1.11.
[native-inputs]: Remove lua.
[propagated-inputs]: Add lua.
2018-11-12 10:31:23 +01:00
Pierre Neidhardt 46a4ae2212
gnu: go-github-com-wtolson-go-taglib: Fix tests and build for go-1.11.
* gnu/packages/golang.scm (go-github-com-wtolson-go-taglib)[arguments]: Fix tests for go-1.11.
[native-inputs]: Remove pkg-config and taglib.
[propagated-inputs]: Add pkg-config and taglib.
2018-11-12 10:30:10 +01:00
Pierre Neidhardt 66fa8f0f77
gnu: go-gopkg.in-asn1-ber.v1: Fix tests for go-1.11.
* gnu/packages/syncthing.scm (go-gopkg.in-asn1-ber.v1): Fix tests for go-1.11.
2018-11-12 10:29:43 +01:00
Pierre Neidhardt d4780c8238
gnu: go-github-com-audriusbutkevicius-cli: Fix tests for go-1.11.
* gnu/packages/syncthing.scm (go-github-com-audriusbutkevicius-cli): Fix tests for go-1.11.
2018-11-12 10:29:37 +01:00
Pierre Neidhardt 46a37b5966
gnu: go-github-com-prometheus-common-expfmt: Fix tests for go-1.11.
* gnu/packages/syncthing.scm (go-github-com-prometheus-common-expfmt): Fix tests for go-1.11.
2018-11-12 10:29:31 +01:00
Pierre Neidhardt 0fd115d536
build-system/go: Plan removal of the pkg folder for go-1.11 onward.
* guix/build/go-build-system.scm (install): New comment.
2018-11-12 10:28:46 +01:00
Pierre Neidhardt 9a65a05201
gnu: go: Update default to 1.11.
* gnu/packages/golang.scm (go): Update default to 1.11.
2018-11-12 10:28:46 +01:00
Ludovic Courtès 6c843907e9
guix system: Invoking 'guix system init' twice keeps timestamps zeroed.
Fixes a bug whereby running 'guix system init config.scm /mnt' twice
would, on the second run, change timestamps in /mnt/gnu/store from the
Epoch to now.  This is because the 'register-path' call would bypass the
'reset-timestamps' phase altogether in that case, as a consequence of
commit bb3b6ccb05.

Reported by Christopher Baines.

* guix/scripts/system.scm (install): When TARGET/var/guix exists, delete
it.  As a side-effect, this ensures that later on, the 'register-path'
call invokes 'reset-timestamps' on all the copied store items.
2018-11-11 23:53:29 +01:00
Ludovic Courtès 652163154c
guix package: '--show' errors when asked for a non-existent package.
Fixes <https://bugs.gnu.org/33323>.
Reported by swedebugia <swedebugia@riseup.net>.

* guix/scripts/package.scm (process-query): Call 'leave' when
'find-packages-by-name' returns the empty list.
* tests/guix-package.sh: Test it.
2018-11-11 23:53:29 +01:00
Laura Lazzati 9c001c07d4
doc: Fix typo.
* doc/guix.texi (Porting to a New Platform): Fix typo.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2018-11-11 23:17:04 +01:00
Ricardo Wurmus 5f9b38ba34
gnu: r-s4vectors: Update to 0.20.1.
* gnu/packages/bioinformatics.scm (r-s4vectors): Update to 0.20.1.
2018-11-11 23:13:48 +01:00
Ricardo Wurmus 06910a8689
gnu: r-rcmdcheck: Update to 1.3.2.
* gnu/packages/cran.scm (r-rcmdcheck): Update to 1.3.2.
2018-11-11 23:13:48 +01:00
Ricardo Wurmus 2a4c5877a9
gnu: r-ggpubr: Update to 0.1.9.
* gnu/packages/cran.scm (r-ggpubr): Update to 0.1.9.
2018-11-11 23:13:48 +01:00
Ricardo Wurmus 441cf11de1
gnu: r-dplyr: Update to 0.7.8.
* gnu/packages/statistics.scm (r-dplyr): Update to 0.7.8.
2018-11-11 23:13:48 +01:00
Ricardo Wurmus 41d2c26e67
gnu: r-rcpparmadillo: Update to 0.9.200.4.0.
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.9.200.4.0.
2018-11-11 23:13:48 +01:00
Ricardo Wurmus 23dd886a95
gnu: r-rtsne: Update to 0.15.
* gnu/packages/statistics.scm (r-rtsne): Update to 0.15.
2018-11-11 23:13:48 +01:00
Ricardo Wurmus 7865c8c460
gnu: r-lme4: Update to 1.1-19.
* gnu/packages/statistics.scm (r-lme4): Update to 1.1-19.
2018-11-11 23:13:48 +01:00
Marius Bakke a509b18087
gnu: webkitgtk@2.22: Adjust to documentation output.
This is a follow-up to commit 0ead0b4d2c.

* gnu/packages/webkit.scm (webkitgtk)[arguments]: Remove hard coded file list.
(webkitgtk-2.22)[arguments]: Inherit phases using SUBSTITUTE-KEYWORD-ARGUMENTS.
2018-11-11 22:47:06 +01:00
Ricardo Wurmus aaf0e47f6d
gnu: libtoxcore: Update to 0.0.0-2.bf69b54.
* gnu/packages/messaging.scm (libtoxcore): Update to 0.0.0-2.bf69b54.
[native-inputs]: Add check.
2018-11-11 20:51:51 +01:00
Ricardo Wurmus e874f34d3f
gnu: mumi: Update to 0.0.0-2.bfd96ce7.
* gnu/packages/mail.scm (mumi): Update to 0.0.0-2.bfd96ce7.
2018-11-11 20:51:51 +01:00
Leo Famulari ec35067631
gnu: PostgreSQL: Update to 10.6 [fixes CVE-2018-16850].
* gnu/packages/databases.scm (postgresql): Update to 10.6.
2018-11-11 14:10:03 -05:00
Pierre Neidhardt 0ead0b4d2c
gnu: webkitgtk: Include documentation.
* gnu/packages/webkit.scm (webkitgtk): Include documentation.
2018-11-11 16:44:46 +01:00
Pierre Neidhardt 50ee7e93fc
gnu: gtk-doc: Use local docbook-xsl.
* gnu/packages/gtk.scm (gtk-doc): Use local docbook-xsl.
2018-11-11 16:41:45 +01:00
Ricardo Wurmus 89c7894805
gnu: faust-2: Update to 2.5.23.
* gnu/packages/audio.scm (faust-2): Update to 2.5.23.
[native-inputs]: Replace llvm-with-rtti with llvm-3.8-with-rtti.
* gnu/packages/llvm.scm (llvm-with-rtti): Rename this variable...
(llvm-3.8-with-rtti): ...to this variable; inherit from llvm-3.8.
2018-11-11 16:19:59 +01:00
Clément Lassieur 37a350ecce
gnu: gajim: Move python-docutils from inputs to native-inputs.
* gnu/packages/messaging.scm (gajim): Move python-docutils from inputs to
native-inputs.
2018-11-11 16:00:08 +01:00
Clément Lassieur 60c5b44489
gnu: gajim: Get the second 'wrap-program' phase to return #t.
* gnu/packages/messaging.scm (gajim)[arguments]: Get the second 'wrap-program'
phase to return #t.
2018-11-11 16:00:00 +01:00
Clément Lassieur 992a496503
gnu: gajim: Update to 1.1.0.
* gnu/packages/messaging.scm (gajim): Update to 1.1.0.
[arguments]: Set #:test-target to "test_nogui".  Remove the
'remove-test-resolver' and 'start-xserver' phases.
[inputs]: Remove python-pyasn1.  Add python-cssutils, python-keyring and
python-precis-i18n.
2018-11-11 15:59:07 +01:00
Clément Lassieur a311f42e1b
gnu: python-nbxmpp: Update to 0.6.8.
* gnu/packages/messaging.scm (python-nbxmpp): Update to 0.6.8.
2018-11-11 15:59:03 +01:00
Clément Lassieur 4ad3786b7b
gnu: Add python-precis-i18n.
* gnu/packages/messaging.scm (python-precis-i18n): New variable.
2018-11-11 15:58:50 +01:00
Ricardo Wurmus 902068b436
gnu: tiled: Fetch sources from git.
* gnu/packages/game-development.scm (tiled)[source]: Fetch from git.
2018-11-11 13:18:27 +01:00
Ricardo Wurmus 9066424778
gnu: privoxy: Remove custom bootstrap phase.
* gnu/packages/tor.scm (privoxy)[arguments]: Remove autoconf phase.
2018-11-11 13:10:56 +01:00
Ricardo Wurmus 2b61cd37b4
gnu: cifs-utils: Remove autoreconf phase.
* gnu/packages/samba.scm (cifs-utils)[arguments]: Remove autoreconf phase.
2018-11-11 13:08:56 +01:00
Ricardo Wurmus cd1f661e82
gnu: libiax2: Fetch sources from git.
* gnu/packages/telephony.scm (libiax2)[source]: Fetch from git.
2018-11-11 13:06:31 +01:00
Ricardo Wurmus 5a103bb84e
gnu: libiax2: Remove custom bootstrap phase.
* gnu/packages/telephony.scm (libiax2)[arguments]: Remove.
2018-11-11 13:04:08 +01:00
Ricardo Wurmus 6f3dd09f8d
gnu: libharu: Remove custom bootstrap phase.
* gnu/packages/pdf.scm (libharu)[arguments]: Remove autogen phase.
2018-11-11 13:00:53 +01:00
Ricardo Wurmus 2b2ab39cfc
gnu: libharu: Fetch sources from git.
* gnu/packages/pdf.scm (libharu)[source]: Fetch from git.
2018-11-11 13:00:35 +01:00
Ricardo Wurmus bc74e9e4cd
gnu: scsh: Remove custom bootstrap phase.
* gnu/packages/shells.scm (scsh)[arguments]: Remove autoreconf phase.
2018-11-11 12:56:22 +01:00
Ricardo Wurmus e5ff963a6d
gnu: xdelta: Remove custom bootstrap phase.
* gnu/packages/compression.scm (xdelta)[arguments]: Remove autoconf phase.
2018-11-11 12:52:46 +01:00
Ricardo Wurmus 0633c77b1b
gnu: xdelta: Fetch sources from git.
* gnu/packages/compression.scm (xdelta)[source]: Fetch from git.
2018-11-11 12:52:30 +01:00
Ricardo Wurmus 112fcafbae
gnu: libtar: Remove custom bootstrap phase.
* gnu/packages/compression.scm (libtar)[arguments]: Remove autoconf phase.
2018-11-11 12:47:51 +01:00
Ricardo Wurmus 3478945948
gnu: minizip: Remove custom bootstrap phase.
* gnu/packages/compression.scm (minizip)[arguments]: Remove autoreconf phase.
2018-11-11 12:45:52 +01:00
Ricardo Wurmus 4078beab93
gnu: inotify-tools: Remove custom bootstrap phase.
* gnu/packages/linux.scm (inotify-tools)[arguments]: Remove.
2018-11-11 12:36:35 +01:00
Ricardo Wurmus 88f9fea723
gnu: inotify-tools: Fetch sources from git.
* gnu/packages/linux.scm (inotify-tools)[source]: Fetch from git.
2018-11-11 12:36:15 +01:00
Ricardo Wurmus 2286107f60
gnu: par2cmdline: Remove custom bootstrap phase.
* gnu/packages/backup.scm (par2cmdline)[arguments]: Remove.
2018-11-11 12:31:35 +01:00
Ricardo Wurmus 5cdbdc2b13
gnu: par2cmdline: Fetch sources from git.
* gnu/packages/backup.scm (par2cmdline)[source]: Fetch from git.
2018-11-11 12:31:18 +01:00
Ricardo Wurmus 2fef54fd64
gnu: hpcguix-web: Do not re-bootstrap.
* gnu/packages/web.scm (hpcguix-web)[arguments]: Do not run autoreconf after
the bootstrap phase; remove "autoconf" phase to "set-variables"; end phase
with #T.
2018-11-11 12:27:01 +01:00