Commit graph

61950 commits

Author SHA1 Message Date
Ricardo Wurmus
ac5dbcfd49
gnu: r-ggally: Update to 2.0.0.
* gnu/packages/cran.scm (r-ggally): Update to 2.0.0.
[propagated-inputs]: Add r-lifecycle and r-scales.
2020-06-11 17:03:43 +02:00
Ricardo Wurmus
d828ed59a3
gnu: r-getoptlong: Update to 1.0.0.
* gnu/packages/cran.scm (r-getoptlong): Update to 1.0.0.
[propagated-inputs]: Add r-crayon.
[native-inputs]: Add r-knitr.
2020-06-11 17:03:43 +02:00
Ricardo Wurmus
dcfdf2def6
gnu: r-globaloptions: Update to 0.1.2.
* gnu/packages/cran.scm (r-globaloptions): Update to 0.1.2.
[native-inputs]: Add r-knitr.
2020-06-11 17:03:43 +02:00
Ricardo Wurmus
9de5f92a10
gnu: r-pkgload: Update to 1.1.0.
* gnu/packages/cran.scm (r-pkgload): Update to 1.1.0.
[propagated-inputs]: Add r-cli and r-crayon.
2020-06-11 17:03:43 +02:00
Ricardo Wurmus
75766c8e78
gnu: r-glue: Update to 1.4.1.
* gnu/packages/cran.scm (r-glue): Update to 1.4.1.
2020-06-11 17:03:43 +02:00
Ricardo Wurmus
e671034cf4
gnu: r-ape: Update to 5.4.
* gnu/packages/cran.scm (r-ape): Update to 5.4.
2020-06-11 17:03:43 +02:00
Ricardo Wurmus
6b2126f332
gnu: r-haven: Update to 2.3.1.
* gnu/packages/cran.scm (r-haven): Update to 2.3.1.
[native-inputs]: Add r-knitr.
[propagated-inputs]: Add r-vctrs.
2020-06-11 17:03:43 +02:00
Ricardo Wurmus
130134b6b5
gnu: r-d3r: Update to 0.9.0.
* gnu/packages/cran.scm (r-d3r): Update to 0.9.0.
[propagated-inputs]: Add r-rlang.
2020-06-11 17:03:43 +02:00
Ricardo Wurmus
1812ff93fc
gnu: r-servr: Update to 0.17.
* gnu/packages/cran.scm (r-servr): Update to 0.17.
2020-06-11 17:03:43 +02:00
Ricardo Wurmus
340c40b701
gnu: r-httpuv: Update to 1.5.4.
* gnu/packages/cran.scm (r-httpuv): Update to 1.5.4.
2020-06-11 17:03:43 +02:00
Ricardo Wurmus
55d34bf216
gnu: r-modelr: Update to 0.1.8.
* gnu/packages/cran.scm (r-modelr): Update to 0.1.8.
[propagated-inputs]: Remove r-dplyr; add r-vctrs.
2020-06-11 17:03:43 +02:00
Ricardo Wurmus
b0e813f65a
gnu: r-ellipsis: Update to 0.3.1.
* gnu/packages/cran.scm (r-ellipsis): Update to 0.3.1.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
280fbacf78
gnu: r-ggpmisc: Update to 0.3.5.
* gnu/packages/cran.scm (r-ggpmisc): Update to 0.3.5.
[propagated-inputs]: Add r-magrittr, r-rlang, r-scales, and r-stringr.
[native-inputs]: Add r-knitr.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
249f082806
gnu: r-lubridate: Update to 1.7.9.
* gnu/packages/statistics.scm (r-lubridate): Update to 1.7.9.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
b5613d63a2
gnu: r-sn: Update to 1.6-2.
* gnu/packages/statistics.scm (r-sn): Update to 1.6-2.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
bbf495d59f
gnu: r-mnormt: Update to 2.0.0.
* gnu/packages/statistics.scm (r-mnormt): Update to 2.0.0.
[propagated-inputs]: Add r-tmvnsim.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
5c6e70346e
gnu: Add r-tmvnsim.
* gnu/packages/statistics.scm (r-tmvnsim): New variable.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
8c9474ad6d
gnu: r-car: Update to 3.0-8.
* gnu/packages/statistics.scm (r-car): Update to 3.0-8.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
51dd48b0bd
gnu: r-cardata: Update to 3.0-4.
* gnu/packages/statistics.scm (r-cardata): Update to 3.0-4.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
7518244343
gnu: r-tidyr: Update to 1.1.0.
* gnu/packages/statistics.scm (r-tidyr): Update to 1.1.0.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
f208a5ecc5
gnu: r-mvtnorm: Update to 1.1-1.
* gnu/packages/statistics.scm (r-mvtnorm): Update to 1.1-1.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
ba8ebc96c2
gnu: r-glmnet: Update to 4.0.
* gnu/packages/statistics.scm (r-glmnet): Update to 4.0.
[native-inputs]: Add r-knitr.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
d41b944938
gnu: r-rmarkdown: Update to 2.2.
* gnu/packages/statistics.scm (r-rmarkdown): Update to 2.2.
[native-inputs]: Add r-knitr.
2020-06-11 17:03:42 +02:00
Ricardo Wurmus
8637b77a9f
gnu: r-rcpparmadillo: Update to 0.9.900.1.0.
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.9.900.1.0.
2020-06-11 17:03:41 +02:00
Ricardo Wurmus
17788c8c2f
gnu: r-backports: Update to 1.1.7.
* gnu/packages/statistics.scm (r-backports): Update to 1.1.7.
2020-06-11 17:03:41 +02:00
Ricardo Wurmus
91428c3611
gnu: r-dbplyr: Update to 1.4.4.
* gnu/packages/statistics.scm (r-dbplyr): Update to 1.4.4.
[propagated-inputs]: Add r-blob and r-magrittr.
2020-06-11 17:03:41 +02:00
Ricardo Wurmus
b2c2982755
gnu: r-dplyr: Update to 1.0.0.
* gnu/packages/statistics.scm (r-dplyr): Update to 1.0.0.
[propagated-inputs]: Remove r-assertthat, r-bh, r-pkgconfig, r-plogr, and
r-rcpp; add r-generics, r-lifecycle, and r-vctrs.
2020-06-11 17:03:41 +02:00
Ricardo Wurmus
015a7455a8
gnu: r-ggplot2: Update to 3.3.1.
* gnu/packages/statistics.scm (r-ggplot2): Update to 3.3.1.
[native-inputs]: Add r-knitr.
2020-06-11 17:03:41 +02:00
Ricardo Wurmus
06dfe35322
gnu: r-nlme: Update to 3.1-148.
* gnu/packages/statistics.scm (r-nlme): Update to 3.1-148.
2020-06-11 17:03:41 +02:00
Ricardo Wurmus
0b684d087d
gnu: r-foreign: Update to 0.8-80.
* gnu/packages/statistics.scm (r-foreign): Update to 0.8-80.
2020-06-11 17:03:41 +02:00
Julien Lepiller
82b9ed4eae
gnu: php: Update to 7.4.7.
* gnu/packages/php.scm (php): Update to 7.4.7.
2020-06-11 15:45:05 +02:00
Jakub Kądziołka
f65adfa445
gnu: sameboy: Update to 0.13.2.
* gnu/packages/emulators.scm (sameboy): Update to 0.13.2.
  [arguments]: Specify NATIVE_CC to avoid requiring the `cc' program.
2020-06-11 14:08:07 +02:00
Efraim Flashner
bb0d840b7d
gnu: java-jakarta-oro: Use a mirror URL.
* gnu/packages/java.scm (java-jakarta-oro)[source]: Download using an
apache mirror:// URL.
2020-06-11 11:54:31 +03:00
Efraim Flashner
894d6a085d
gnu: java-commons-httpclient: Use a mirror URL.
* gnu/packages/java.scm (java-commons-httpclient)[source]: Use an apache
mirror:// URL.
2020-06-11 11:53:39 +03:00
Efraim Flashner
f4bb881abd
gnu: ant-bootstrap: Use a mirror URL.
* gnu/packages/java.scm (ant-bootstrap)[source]: Use an apache mirror://
URL.
2020-06-11 11:52:18 +03:00
Efraim Flashner
21d3307875
gnu: maven-artifact: Use a mirror URL.
* gnu/packages/maven.scm (maven-artifact)[source]: Use an apache
mirror:// URL.
2020-06-11 11:50:29 +03:00
Efraim Flashner
67b1257775
gnu: maven-wagon-provider-api: Use a mirror URL.
* gnu/packages/maven.scm (maven-wagon-provider-api)[source]: Use an
apache mirror:// URL.
2020-06-11 11:49:41 +03:00
Efraim Flashner
623aa56402
gnu: maven-plugin-annotations: Use a mirror URL.
* gnu/packages/maven.scm (maven-plugin-annotations)[source]: Use an
apache mirror:// URL.
2020-06-11 11:48:58 +03:00
Efraim Flashner
a00687427d
gnu: maven-shared-utils: Use a mirror URL.
* gnu/packages/maven.scm (maven-shared-utils)[source]: Use an apache
mirror:// URL.
2020-06-11 11:48:08 +03:00
Efraim Flashner
1c32eb95af
gnu: serf: Use a mirror URL.
* gnu/packages/web.scm (serf)[source]: Use an apache mirror:// URL.
2020-06-11 11:46:51 +03:00
Efraim Flashner
3d79fd59fe
gnu: subversion: Use a mirror URL.
* gnu/packages/version-control.scm (subversion)[source]: Use an apache
mirror:// URL.
2020-06-11 11:34:59 +03:00
Efraim Flashner
e192b9e02d
gnu: lyx: Use qt-build-system.
* gnu/packages/tex.scm (lyx)[build-system]: Switch to qt-build-system.
[arguments]: Remove imported modules. Remove custom 'wrap-qt phase.
2020-06-11 09:56:30 +03:00
Efraim Flashner
dadf97952d
gnu: lyx: Don't install to custom directory.
* gnu/packages/tex.scm (lyx)[arguments]: Adjust configure-flags to not
add the version to the binary's suffix. Remove custom
'patch-desktop-file, 'setenv-check and 'install-symlink phases.
2020-06-11 09:56:30 +03:00
Efraim Flashner
03a7b67b31
gnu: lyx: Update to 2.3.5.1.
* gnu/packages/tex.scm (lyx): Update to 2.3.5.1.
[arguments]: Remove 'fix-compilation-with-boost-1.69 phase. In
'patch-python phase patch more files, substitute with python3. Split
'setenv-check and create empty file after 'unpack.
2020-06-11 09:56:30 +03:00
Efraim Flashner
7a7a29445c
gnu: lyx: Wrap binary.
Fixes <https://bugs.gnu.org/37147>.

* gnu/packages/tex.scm (lyx)[arguments]: Import qt-utils. Add phase to
wrap the lyx2.3 binary.
2020-06-11 09:56:15 +03:00
Caleb Ristvedt
8971f626f2
database: separate transaction-handling and retry-handling.
Previously call-with-transaction would both retry when SQLITE_BUSY errors were
thrown and do what its name suggested (start and rollback/commit a
transaction).  This changes it to do only what its name implies, which
simplifies its implementation.  Retrying is provided by the new
call-with-SQLITE_BUSY-retrying procedure.

* guix/store/database.scm (call-with-transaction): no longer restarts, new
  #:restartable? argument controls whether "begin" or "begin immediate" is
  used.
  (call-with-SQLITE_BUSY-retrying, call-with-retrying-transaction,
  call-with-retrying-savepoint): new procedures.
  (register-items): use call-with-retrying-transaction to preserve old
  behavior.

* .dir-locals.el (call-with-retrying-transaction,
  call-with-retrying-savepoint): add indentation information.
2020-06-10 21:54:35 -05:00
Caleb Ristvedt
37545de4a3
database: ensure update-or-insert is run within a transaction
update-or-insert can break if an insert occurs between when it decides whether
to update or insert and when it actually performs that operation.  Putting the
check and the update/insert operation in the same transaction ensures that the
update/insert will only succeed if no other write has occurred in the middle.

* guix/store/database.scm (call-with-savepoint): new procedure.
  (update-or-insert): use call-with-savepoint to ensure the read and the
  insert/update occur within the same transaction.
2020-06-10 21:54:35 -05:00
Caleb Ristvedt
5d6e225528
database: rewrite query procedures in terms of with-statement.
Most of our queries would fail to finalize their statements properly if sqlite
returned an error during their execution.  This resolves that, and also makes
them somewhat more concise as a side-effect.

This also makes some small changes to improve certain queries where behavior
was strange or overly verbose.

* guix/store/database.scm (call-with-statement): new procedure.
  (with-statement): new macro.
  (last-insert-row-id, path-id, update-or-insert, add-references): rewrite to
  use with-statement.
  (update-or-insert): factor last-insert-row-id out of the end of both
  branches.
  (add-references): remove pointless last-insert-row-id call.

* .dir-locals.el (with-statement): add indenting information.
2020-06-10 21:54:35 -05:00
Caleb Ristvedt
3cd92a855e
database: work around guile-sqlite3 bug preventing statement reset
guile-sqlite3 provides statement caching, making it unnecessary for sqlite to
keep re-preparing statements that are frequently used.  Unfortunately it
doesn't quite emulate the semantics of sqlite_finalize properly, because it
doesn't cause a commit if the statement being finalized is the last "active"
statement (see https://notabug.org/guile-sqlite3/guile-sqlite3/issues/12).  We
work around this by wrapping sqlite-finalize with our own version that ensures
sqlite-reset is called, which does The Right Thing™.

* guix/store/database.scm (sqlite-finalize): new procedure that shadows the
  sqlite-finalize from (sqlite3).
2020-06-10 21:54:32 -05:00
Nicolas Goaziou
a4620c019b
gnu: fet: Update to 5.45.0.
* gnu/packages/education.scm (fet): Update to 5.45.0.
2020-06-10 22:17:11 +02:00