Commit graph

36820 commits

Author SHA1 Message Date
Ludovic Courtès
f5a2724ae4
deduplication: Restore directory mtime and permissions after deduplication.
Fixes <https://bugs.gnu.org/33361>.

* guix/store/deduplication.scm (replace-with-link): Call 'set-file-time'
and 'chmod' after 'rename-file'.
* tests/nar.scm ("restore-file-set with directories (signed, valid)"):
New test.
2018-11-13 14:59:46 +01:00
Ludovic Courtès
8390869811
tests: Check file canonicalization for 'restore-file-set'.
* guix/tests.scm (canonical-file?): New procedure.
* tests/nar.scm ("restore-file-set (signed, valid)"): Check that every
item of FILES matches 'canonical-file?'.
2018-11-13 14:59:46 +01:00
Ludovic Courtès
3ed56ad09b
tests: Remove check for a feature that appeared in Guile 2.0.10.
* tests/nar.scm: Remove test for 'open-sha256-input-port'.
2018-11-13 14:59:45 +01:00
Ludovic Courtès
d3f75179e5
services: nscd: Add 'invalidate' and 'statistics' actions.
* gnu/services/base.scm (nscd-action-procedure, nscd-actions): New
procedures.
(nscd-shepherd-service): Add 'modules' and 'actions' fields.
* gnu/tests/base.scm (run-basic-test)["nscd invalidate action"]
["nscd invalidate action, wrong table"]: New tests.
* doc/guix.texi (Services): Mention 'herd doc nscd action'.
(Base Services): Document the actions.
2018-11-13 14:59:45 +01:00
Ludovic Courtès
190877748e
services: mcron: Fix typo in comment.
* gnu/services/mcron.scm (shepherd-schedule-action): Fix typo in comment.
2018-11-13 14:59:45 +01:00
Ludovic Courtès
1afe1985f5
nar: Access the database instead of connecting to the daemon.
* guix/store/database.scm (%default-database-file): New variable.
(path-id): Export.
* guix/nar.scm (finalize-store-file): Use 'with-database' instead of
'with-store', and use 'path-id' instead of 'valid-path?'.
2018-11-13 14:59:45 +01:00
Oleg Pykhalov
155956449a
gnu: restic: Fix build phase.
* gnu/packages/backup.scm (restic)[arguments]: Set "HOME" environment variable
in build phase.
2018-11-13 15:03:15 +03:00
Ricardo Wurmus
6018683683
gnu: c-toxcore: Fetch sources from git.
* gnu/packages/messaging.scm (c-toxcore)[source]: Fetch from git.
2018-11-13 10:51:41 +01:00
Rutger Helling
7fed5481fe
gnu: wine-staging: Update to 3.20.
* gnu/packages/wine.scm (wine-staging-patchset-data): Update to 3.20.
* gnu/packages/wine.scm (wine-staging): Update to 3.20.
2018-11-13 10:24:42 +01:00
Julien Lepiller
0dd60c1c9b
gnu: php: Update to 7.2.12.
* gnu/packages/php.scm (php): Update to 7.2.12.
2018-11-12 23:57:42 +01:00
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