Commit graph

62013 commits

Author SHA1 Message Date
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
Nicolas Goaziou
4ee117d56b
gnu: scintilla: Update to 4.4.3.
* gnu/packages/text-editors.scm (scintilla): Update to 4.4.3.
2020-06-10 21:57:40 +02:00
Nicolas Goaziou
a8c8b89048
gnu: thinkfan: Update to 1.2.
* gnu/packages/linux.scm (thinkfan): Update to 1.2.
[home-page]: Switch to an up-to-date home page.
2020-06-10 21:53:48 +02:00
Tobias Geerinckx-Rice
c90730aefe
gnu: progress: Update to 0.15.
* gnu/packages/admin.scm (progress): Update to 0.15.
2020-06-10 20:36:37 +02:00
Tobias Geerinckx-Rice
a474999c26
gnu: man-pages: Update to 5.07.
* gnu/packages/man.scm (man-pages): Update to 5.07.
2020-06-10 20:33:33 +02:00
Nicolas Goaziou
58cb52a31d
gnu: ipopt: Fix source URI.
* gnu/packages/maths.scm (ipopt)[source]: Fix URI.
2020-06-10 17:34:41 +02:00
Nicolas Goaziou
127c7fba1a
gnu: grfcodec: Fix source URL.
* gnu/packages/game-development.scm (grfcodec)[source]: Use HTTPS for URL.
Re-indent package.
2020-06-10 17:33:58 +02:00
Mathieu Othacehe
c0f297e85f
gnu: cuirass: Update to 0.0.1-2280ae18.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-2280ae18.
2020-06-10 17:32:12 +02:00
Nicolas Goaziou
d5fd9c7223
gnu: ipopt: Use HTTPS home page URI.
* gnu/packages/maths.scm (ipopt)[home-page]: Use HTTPS URI.
2020-06-10 17:27:41 +02:00
Nicolas Goaziou
0661638f5e
gnu: grfcodec: Use HTTPS home page URI.
* gnu/packages/game-development.scm (grfcodec)[home-page]: Use HTTPS URI.
2020-06-10 17:26:07 +02:00
Nicolas Goaziou
bf8e10051b
gnu: fsarchiver: Use HTTPS home page URI.
* gnu/packages/file-systems.scm (fsarchiver)[home-page]: Use HTTPS URI.
2020-06-10 17:25:17 +02:00
Nicolas Goaziou
42d1159335
gnu: asciidoc: Use HTTPS home page URI.
* gnu/packages/documentation.scm (asciidoc)[home-page]: Use HTTPS URI.
2020-06-10 17:19:02 +02:00
Nicolas Goaziou
b26ad6dbe2
gnu: grammalecte: Update to 1.10.0.
* gnu/packages/dictionaries.scm (grammalecte): Update to 1.10.0.
2020-06-10 17:04:25 +02:00
Efraim Flashner
73d9caba79
gnu: qtpass: Wrap binary.
* gnu/packages/password-utils.scm (qtpass)[arguments]: Import qt-utils
modules. Add phase to wrap qtpass binary.
2020-06-10 16:21:18 +03:00
Efraim Flashner
e1e9baf22f
gnu: qtpass: Update to 1.3.2.
* gnu/packages/password-utils.scm (qtpass): Update to 1.3.2.
2020-06-10 16:19:57 +03:00
Tobias Geerinckx-Rice
88e1d36ba6
gnu: mu: Update to 1.4.10.
* gnu/packages/mail.scm (mu): Update to 1.4.10.
2020-06-10 05:15:52 +02:00
Tobias Geerinckx-Rice
d87c9fc506
gnu: herbstluftwm: Update to 0.8.3.
* gnu/packages/wm.scm (herbstluftwm): Update to 0.8.3.
2020-06-10 05:09:29 +02:00
Tobias Geerinckx-Rice
75d493aea1
gnu: ethtool: Update to 5.7.
* gnu/packages/networking.scm (ethtool): Update to 5.7.
2020-06-10 05:09:29 +02:00
Tobias Geerinckx-Rice
01979fafb3
gnu: haproxy: Update to 2.1.6.
* gnu/packages/networking.scm (haproxy): Update to 2.1.6.
2020-06-10 05:09:29 +02:00
Tobias Geerinckx-Rice
d2a7cb46a6
gnu: dlib: Update to 19.20.
* gnu/packages/machine-learning.scm (dlib): Update to 19.20.
2020-06-10 04:37:24 +02:00
Tobias Geerinckx-Rice
f6b8b1817e
gnu: pd: Update to 0.51-0.
* gnu/packages/music.scm (pd): Update to 0.51-0.
2020-06-10 04:37:24 +02:00
Tobias Geerinckx-Rice
8c5b29c796
gnu: pd: Use HTTPS home page.
* gnu/packages/music.scm (pd)[home-page]: Use HTTPS.
2020-06-10 04:37:24 +02:00
Tobias Geerinckx-Rice
98f08a99c6
gnu: pd: Don't hard-code Tk version.
* gnu/packages/music.scm (pd)[arguments]: Construct the wish file name from the tk package version.
2020-06-10 04:37:24 +02:00
Tobias Geerinckx-Rice
7801e9f2d4
gnu: libnumbertext: Update to 1.0.6.
* gnu/packages/libreoffice.scm (libnumbertext): Update to 1.0.6.
2020-06-10 04:37:24 +02:00
Tobias Geerinckx-Rice
56e1cc0c34
gnu: msmtp: Update to 1.8.11.
* gnu/packages/mail.scm (msmtp): Update to 1.8.11.
2020-06-10 04:37:24 +02:00
Tobias Geerinckx-Rice
bfdce9ffda
gnu: mpop: Update to 1.4.10.
* gnu/packages/mail.scm (mpop): Update to 1.4.10.
2020-06-10 04:37:23 +02:00
Tobias Geerinckx-Rice
5bc22ba81e
gnu: nvme-cli: Update to 1.11.2.
* gnu/packages/linux.scm (nvme-cli): Update to 1.11.2.
2020-06-10 04:37:23 +02:00
Tobias Geerinckx-Rice
0cafb90d15
gnu: iptables: Update to 1.8.5.
* gnu/packages/linux.scm (iptables): Update to 1.8.5.
[source]: Add URL.
[arguments]: Add an ‘install-missing-script’ phase.
2020-06-10 04:37:23 +02:00
Tobias Geerinckx-Rice
2d63cca146
gnu: nftables: Update to 0.9.5.
* gnu/packages/linux.scm (nftables): Update to 0.9.5.
2020-06-10 04:37:23 +02:00
Tobias Geerinckx-Rice
67e890ec18
gnu: libnftnl: Update to 1.1.7.
* gnu/packages/linux.scm (libnftnl): Update to 1.1.7.
2020-06-10 04:37:23 +02:00
Tobias Geerinckx-Rice
088e186b35
gnu: gtkspell3: Update to 3.0.10.
* gnu/packages/gtk.scm (gtkspell3): Update to 3.0.10.
[propagated-inputs]: Replace enchant-1.6 with default version 2.
2020-06-10 04:37:23 +02:00
Tobias Geerinckx-Rice
ed4447236d
gnu: smb4k: Update to 3.0.6.
* gnu/packages/kde-utils.scm (smb4k): Update to 3.0.6.
2020-06-10 04:37:23 +02:00
Tobias Geerinckx-Rice
553f2f3f54
gnu: mm-common: Update to 1.0.1.
* gnu/packages/gnome.scm (mm-common): Update to 1.0.1.
2020-06-10 04:37:23 +02:00
Tobias Geerinckx-Rice
02cb4ca757
gnu: mm-common: Don't use NAME in source URI.
* gnu/packages/gnome.scm (mm-common)[source]: Hard-code NAME.
2020-06-10 04:37:22 +02:00
Tobias Geerinckx-Rice
3f352df035
gnu: simple-scan: Update to 3.36.3.
* gnu/packages/gnome.scm (simple-scan): Update to 3.36.3.
2020-06-10 04:37:22 +02:00
Tobias Geerinckx-Rice
e6c2a88f3d
gnu: djview: Update to 4.11.
* gnu/packages/djvu.scm (djview): Update to 4.11.
[source]: Use GIT-FETCH and add a FILE-NAME.
[native-inputs]: Add autoconf, automake, and libtool.
[arguments]: Add a ‘make-files-writable’ phase.
2020-06-10 04:37:22 +02:00
Tobias Geerinckx-Rice
2971ed5734
gnu: dhall: Update to 1.32.0.
* gnu/packages/dhall.scm (dhall): Update to 1.32.0.
[inputs]: Add ghc-half.
2020-06-09 23:52:20 +02:00
Tobias Geerinckx-Rice
5e7daec9b4
gnu: dhall: Disable network tests differently.
* gnu/packages/dhall.scm (dhall)[source]: Remove patch.
[arguments]: Rename ‘remove-more-tests’ phase to ‘remove-network-tests’.
Identify the tests by name instead of by content.
* gnu/packages/patches/dhall-remove-network-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2020-06-09 23:52:19 +02:00