summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-11gnu: lyx: Wrap binary.Efraim Flashner
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-10database: separate transaction-handling and retry-handling.Caleb Ristvedt
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-10database: ensure update-or-insert is run within a transactionCaleb Ristvedt
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-10database: rewrite query procedures in terms of with-statement.Caleb Ristvedt
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-10database: work around guile-sqlite3 bug preventing statement resetCaleb Ristvedt
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-10gnu: fet: Update to 5.45.0.Nicolas Goaziou
* gnu/packages/education.scm (fet): Update to 5.45.0.
2020-06-10gnu: scintilla: Update to 4.4.3.Nicolas Goaziou
* gnu/packages/text-editors.scm (scintilla): Update to 4.4.3.
2020-06-10gnu: thinkfan: Update to 1.2.Nicolas Goaziou
* gnu/packages/linux.scm (thinkfan): Update to 1.2. [home-page]: Switch to an up-to-date home page.
2020-06-10gnu: progress: Update to 0.15.Tobias Geerinckx-Rice
* gnu/packages/admin.scm (progress): Update to 0.15.
2020-06-10gnu: man-pages: Update to 5.07.Tobias Geerinckx-Rice
* gnu/packages/man.scm (man-pages): Update to 5.07.
2020-06-10gnu: ipopt: Fix source URI.Nicolas Goaziou
* gnu/packages/maths.scm (ipopt)[source]: Fix URI.
2020-06-10gnu: grfcodec: Fix source URL.Nicolas Goaziou
* gnu/packages/game-development.scm (grfcodec)[source]: Use HTTPS for URL. Re-indent package.
2020-06-10gnu: cuirass: Update to 0.0.1-2280ae18.Mathieu Othacehe
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-2280ae18.
2020-06-10gnu: ipopt: Use HTTPS home page URI.Nicolas Goaziou
* gnu/packages/maths.scm (ipopt)[home-page]: Use HTTPS URI.
2020-06-10gnu: grfcodec: Use HTTPS home page URI.Nicolas Goaziou
* gnu/packages/game-development.scm (grfcodec)[home-page]: Use HTTPS URI.
2020-06-10gnu: fsarchiver: Use HTTPS home page URI.Nicolas Goaziou
* gnu/packages/file-systems.scm (fsarchiver)[home-page]: Use HTTPS URI.
2020-06-10gnu: asciidoc: Use HTTPS home page URI.Nicolas Goaziou
* gnu/packages/documentation.scm (asciidoc)[home-page]: Use HTTPS URI.
2020-06-10gnu: grammalecte: Update to 1.10.0.Nicolas Goaziou
* gnu/packages/dictionaries.scm (grammalecte): Update to 1.10.0.
2020-06-10gnu: qtpass: Wrap binary.Efraim Flashner
* gnu/packages/password-utils.scm (qtpass)[arguments]: Import qt-utils modules. Add phase to wrap qtpass binary.
2020-06-10gnu: qtpass: Update to 1.3.2.Efraim Flashner
* gnu/packages/password-utils.scm (qtpass): Update to 1.3.2.
2020-06-10gnu: mu: Update to 1.4.10.Tobias Geerinckx-Rice
* gnu/packages/mail.scm (mu): Update to 1.4.10.
2020-06-10gnu: herbstluftwm: Update to 0.8.3.Tobias Geerinckx-Rice
* gnu/packages/wm.scm (herbstluftwm): Update to 0.8.3.
2020-06-10gnu: ethtool: Update to 5.7.Tobias Geerinckx-Rice
* gnu/packages/networking.scm (ethtool): Update to 5.7.
2020-06-10gnu: haproxy: Update to 2.1.6.Tobias Geerinckx-Rice
* gnu/packages/networking.scm (haproxy): Update to 2.1.6.
2020-06-10gnu: dlib: Update to 19.20.Tobias Geerinckx-Rice
* gnu/packages/machine-learning.scm (dlib): Update to 19.20.
2020-06-10gnu: pd: Update to 0.51-0.Tobias Geerinckx-Rice
* gnu/packages/music.scm (pd): Update to 0.51-0.
2020-06-10gnu: pd: Use HTTPS home page.Tobias Geerinckx-Rice
* gnu/packages/music.scm (pd)[home-page]: Use HTTPS.
2020-06-10gnu: pd: Don't hard-code Tk version.Tobias Geerinckx-Rice
* gnu/packages/music.scm (pd)[arguments]: Construct the wish file name from the tk package version.
2020-06-10gnu: libnumbertext: Update to 1.0.6.Tobias Geerinckx-Rice
* gnu/packages/libreoffice.scm (libnumbertext): Update to 1.0.6.
2020-06-10gnu: msmtp: Update to 1.8.11.Tobias Geerinckx-Rice
* gnu/packages/mail.scm (msmtp): Update to 1.8.11.
2020-06-10gnu: mpop: Update to 1.4.10.Tobias Geerinckx-Rice
* gnu/packages/mail.scm (mpop): Update to 1.4.10.
2020-06-10gnu: nvme-cli: Update to 1.11.2.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (nvme-cli): Update to 1.11.2.
2020-06-10gnu: iptables: Update to 1.8.5.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (iptables): Update to 1.8.5. [source]: Add URL. [arguments]: Add an ‘install-missing-script’ phase.
2020-06-10gnu: nftables: Update to 0.9.5.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (nftables): Update to 0.9.5.
2020-06-10gnu: libnftnl: Update to 1.1.7.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (libnftnl): Update to 1.1.7.
2020-06-10gnu: gtkspell3: Update to 3.0.10.Tobias Geerinckx-Rice
* gnu/packages/gtk.scm (gtkspell3): Update to 3.0.10. [propagated-inputs]: Replace enchant-1.6 with default version 2.
2020-06-10gnu: smb4k: Update to 3.0.6.Tobias Geerinckx-Rice
* gnu/packages/kde-utils.scm (smb4k): Update to 3.0.6.
2020-06-10gnu: mm-common: Update to 1.0.1.Tobias Geerinckx-Rice
* gnu/packages/gnome.scm (mm-common): Update to 1.0.1.
2020-06-10gnu: mm-common: Don't use NAME in source URI.Tobias Geerinckx-Rice
* gnu/packages/gnome.scm (mm-common)[source]: Hard-code NAME.
2020-06-10gnu: simple-scan: Update to 3.36.3.Tobias Geerinckx-Rice
* gnu/packages/gnome.scm (simple-scan): Update to 3.36.3.
2020-06-10gnu: djview: Update to 4.11.Tobias Geerinckx-Rice
* 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-09gnu: dhall: Update to 1.32.0.Tobias Geerinckx-Rice
* gnu/packages/dhall.scm (dhall): Update to 1.32.0. [inputs]: Add ghc-half.
2020-06-09gnu: dhall: Disable network tests differently.Tobias Geerinckx-Rice
* 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-09gnu: rocksdb: Update to 6.10.1.Tobias Geerinckx-Rice
* gnu/packages/databases.scm (rocksdb): Update to 6.10.1.
2020-06-09gnu: perl-sql-abstract: Update to 1.87.Tobias Geerinckx-Rice
* gnu/packages/databases.scm (perl-sql-abstract): Update to 1.87.
2020-06-09gnu: rust-yaml-rust: Update to 0.4.4.Tobias Geerinckx-Rice
* gnu/packages/crates-io.scm (rust-yaml-rust): Update to 0.4.4. [arguments]: Update rust-quickcheck to 0.9.
2020-06-09gnu: minisign: Update to 0.9.Tobias Geerinckx-Rice
* gnu/packages/crypto.scm (minisign): Update to 0.9.
2020-06-09gnu: python-pylint: Update to 2.5.3.Tobias Geerinckx-Rice
* gnu/packages/check.scm (python-pylint): Update to 2.5.3.
2020-06-09gnu: stumpish: Remove bogus keyword.Tobias Geerinckx-Rice
This follows up on commit 81b045e149daffd113208601b764fdb47cf6c14b. ‘#:tests’ is not supported by the trivial build system and broke ‘guix pull’. * gnu/packages/wm.scm (stumpish)[argument]: Remove #:tests?.
2020-06-09gnu: thunar: Update to 1.8.15.Tobias Geerinckx-Rice
* gnu/packages/xfce.scm (thunar): Update to 1.8.15.