From e77989bdcb4c939aa1128ec0d3efc9ac8369fa15 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 12 Aug 2020 15:27:16 +0200 Subject: [PATCH 01/63] gnu: dovecot: Update to 2.3.11.3 [security fixes]. Fixes CVE-2020-12100, CVE-2020-12673, CVE-2020-10967, and CVE-2020-12674. * gnu/packages/mail.scm (dovecot): Update to 2.3.11.3. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 3d93acc67f..f56e9b307c 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1401,7 +1401,7 @@ facilities for checking incoming mail.") (define-public dovecot (package (name "dovecot") - (version "2.3.10.1") + (version "2.3.11.3") (source (origin (method url-fetch) @@ -1409,7 +1409,7 @@ facilities for checking incoming mail.") (version-major+minor version) "/" "dovecot-" version ".tar.gz")) (sha256 - (base32 "035idr2j81s5mngnhd58rih79dhwwak7q01mqbx3rcmi4cpychk6")))) + (base32 "1p5gp8jbavcsaara5mfn5cbrnlxssajnchczbgmmfzr7228fmnfk")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) From e7e69e56f59546efce6ffd8e7d3cbee70970930c Mon Sep 17 00:00:00 2001 From: Jesse Gibbons Date: Fri, 3 Jul 2020 16:54:21 -0600 Subject: [PATCH 02/63] gnu: freedink-engine: Call autoreconf. * gnu/packages/games.scm: freedink-engine (phases): add 'autoreconf Signed-off-by: Nicolas Goaziou --- gnu/packages/games.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 82a9660b2a..e8cb012fba 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -2745,6 +2745,14 @@ interface or via an external visual interface such as GNU XBoard.") ;; These tests require a graphical interface. (substitute* "src/Makefile.am" (("test_gfx_fonts TestIOGfxDisplay") "")) + #t)) + (add-before 'bootstrap 'autoreconf + (lambda _ + ;; automake is out of date in the source + ;; autoreconf updates the automake scripts + (invoke "autoreconf") + ;; Build fails when autom4te.cache exists. + (delete-file-recursively "autom4te.cache") #t))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) From 8677e8699a0a882efb579de385d020f3aebf0127 Mon Sep 17 00:00:00 2001 From: Jesse Gibbons Date: Mon, 10 Feb 2020 10:18:57 -0700 Subject: [PATCH 03/63] gnu: freedink-engine: Fix SDL hints. * gnu/packages/games.scm: freedink: [patches]: Add fix. * gnu/packages/patches/freedink-engine-fix-sdl-hints.patch: New file. * gnu/local.mk: Add it. Signed-off-by: Nicolas Goaziou --- gnu/local.mk | 1 + gnu/packages/games.scm | 1 + .../freedink-engine-fix-sdl-hints.patch | 33 +++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 gnu/packages/patches/freedink-engine-fix-sdl-hints.patch diff --git a/gnu/local.mk b/gnu/local.mk index 746f5c5779..66ad65cb15 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -960,6 +960,7 @@ dist_patch_DATA = \ %D%/packages/patches/foomatic-filters-CVE-2015-8327.patch \ %D%/packages/patches/foomatic-filters-CVE-2015-8560.patch \ %D%/packages/patches/fontconfig-hurd-path-max.patch \ + %D%/packages/patches/freedink-engine-fix-sdl-hints.patch \ %D%/packages/patches/freeimage-unbundle.patch \ %D%/packages/patches/fuse-overlapping-headers.patch \ %D%/packages/patches/ganeti-deterministic-manual.patch \ diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index e8cb012fba..8e4aa0742b 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -2732,6 +2732,7 @@ interface or via an external visual interface such as GNU XBoard.") (method url-fetch) (uri (string-append "mirror://gnu/freedink/freedink-" version ".tar.gz")) + (patches (search-patches "freedink-engine-fix-sdl-hints.patch")) (sha256 (base32 "00hhk1bjdrc1np2qz44sa5n1mb62qzwxbvsnws3vpms6iyn3a2sy")))) diff --git a/gnu/packages/patches/freedink-engine-fix-sdl-hints.patch b/gnu/packages/patches/freedink-engine-fix-sdl-hints.patch new file mode 100644 index 0000000000..ce37ab4870 --- /dev/null +++ b/gnu/packages/patches/freedink-engine-fix-sdl-hints.patch @@ -0,0 +1,33 @@ +From 85f8dda6de28ef86e58f26c8aa863a26524f6ce0 Mon Sep 17 00:00:00 2001 +From: Jesse Gibbons +Date: Sun, 9 Feb 2020 21:46:26 -0700 +Subject: [PATCH] Fix mouse/touch event hints for SDL 2.0.10. + +This fixes the bug reported at +. + +It should remain backwards compatible with releases of SDL prior to 2.0.10. +--- + src/input.cpp | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/input.cpp b/src/input.cpp +index b5ae21e..153d349 100644 +--- a/src/input.cpp ++++ b/src/input.cpp +@@ -91,7 +91,12 @@ void input_init(void) + + // TODO: don't attempt to simulate mouse events from touch events - + // fake mouse events often are de-centered ++#ifdef SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH + SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0"); ++#elif defined SDL_HINT_MOUSE_TOUCH_EVENTS && defined SDL_HINT_TOUCH_MOUSE_EVENTS ++ SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "0"); ++ SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0"); ++#endif + + /* Touch devices */ + { +-- +2.25.0 + From ed0b773ff6fafdb6ec89b29f16c07478904ca943 Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Wed, 12 Aug 2020 17:22:50 +0200 Subject: [PATCH 04/63] gnu: Add emacs-kanji. * gnu/packages/emacs-xyz.scm (emacs-kanji): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 1ac3e2baea..d77d5fe249 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2734,6 +2734,33 @@ Emacs native editing commmands and the work of other packages wherever possible.") (license license:expat)))) +(define-public emacs-kanji + ;; Package has no release. Version is extracted from "Version:" keyword in + ;; main file. + (let ((commit "5e9d5b72468ece11cfb81b729be6babf63ede425") + (revision "0")) + (package + (name "emacs-kanji") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wsgac/kanji-mode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zh7klqaza840q5f44zzh1wrnd6sqa2k93z3dgx3yhhsxfd1dxvy")))) + (build-system emacs-build-system) + (home-page "https://github.com/wsgac/kanji-mode") + (synopsis "Emacs minor mode for displaying Japanese Kanji stroke order") + (description + "This minor mode displays the stroke order of the Kanji sign under +cursor in a transient buffer. It has a built-in collection of SVG images +depicting stroke orders for all Kanji. The collection is a slightly modified +and limited version of the images provided by the KanjiVG project.") + (license license:gpl3+)))) + (define-public emacs-keyfreq (package (name "emacs-keyfreq") From 5d15d449871a9a19c71c734495df4484523d5036 Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Wed, 12 Aug 2020 17:35:21 +0200 Subject: [PATCH 05/63] gnu: Add emacs-kana. * gnu/packages/emacs-xyz.scm (emacs-kana): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d77d5fe249..174b7e1cca 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2734,6 +2734,31 @@ Emacs native editing commmands and the work of other packages wherever possible.") (license license:expat)))) +(define-public emacs-kana + ;; Package has no release. Version is extracted from "Version:" keyword in + ;; main file. + (let ((commit "b239c3c3c6124b46ff720cca7b80ecbafd7fa489") + (revision "0")) + (package + (name "emacs-kana") + (version (git-version "1.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/chenyanming/kana") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0vrrl1kniq4h111jvnapvx3wybvsl3alfaygw634mmryr3h7pwi8")))) + (build-system emacs-build-system) + (home-page "https://github.com/chenyanming/kana") + (synopsis "Learn Japanese Kana in Emacs") + (description + "This Emacs mode displays Hiragana and Katakana flashcards. It can use +functionality from Emacs Kanji mode if it is installed.") + (license license:gpl3+)))) + (define-public emacs-kanji ;; Package has no release. Version is extracted from "Version:" keyword in ;; main file. From 9856346be490def60ae8425c5d18f5c69b823744 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 12 Aug 2020 17:41:56 +0200 Subject: [PATCH 06/63] gnu: emacs-org-superstar: Update to 1.3.0. * gnu/packages/emacs-xyz.scm (emacs-org-superstar): Update to 1.3.0. --- gnu/packages/emacs-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 174b7e1cca..a223d22a34 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5723,7 +5723,7 @@ cards created in Org mode.") (define-public emacs-org-superstar (package (name "emacs-org-superstar") - (version "1.2.1") + (version "1.3.0") (source (origin (method git-fetch) @@ -5732,7 +5732,7 @@ cards created in Org mode.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "14w06v76xi4f6hpq6xzicrjjv0b802g5zc9as4mpimfy5gx2xpm0")))) + (base32 "17x32k3f21z9ldakgryd2wczhdj78kb8gsdxplyjqc3knajpnzgp")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-org" ,emacs-org))) From df403985ed8d0a87a2f3683fd01aacaf9bc8f91f Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Wed, 12 Aug 2020 19:45:48 +0300 Subject: [PATCH 07/63] gnu: Add emacs-explain-pause-mode. * gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a223d22a34..3fc08971fe 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3311,6 +3311,39 @@ keep pressing the key until it selects what you want. There's also @code{er/contract-region} if you expand too far.") (license license:gpl3+))) +(define-public emacs-explain-pause-mode + (let ((commit "2356c8c3639cbeeb9751744dbe737267849b4b51") + (revision "0")) + (package + (name "emacs-explain-pause-mode") + (version (git-version "0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lastquestion/explain-pause-mode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0frnfwqal9mrnrz6q4v7vcai26ahaw81894arff1yjw372pfgv7v")))) + (build-system emacs-build-system) + (native-inputs + `(("emacs" ,emacs-buttercup))) + (arguments + '(#:tests? #t + ;; Don't run case-tests as they will fail to create sockets because + ;; the path is too long + #:test-command '("make" "byte-compile" "unit-tests") + ;; Parallel testing will cause the tests to run before + ;; byte-compilation is finished + #:parallel-tests? #f)) + (home-page "https://github.com/lastquestion/explain-pause-mode") + (synopsis "Provides a top like interface to determine why Emacs paused") + (description "Monitors Emacs function calls and records their execution +time. This information can be reviewed to determine what is causing the user +interface to pause.") + (license license:gpl3+)))) + (define-public emacs-fill-column-indicator (package (name "emacs-fill-column-indicator") From 2b16dbc3da4a8bd705f156ad5bd675e6f1f5fd56 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 12 Aug 2020 18:51:06 +0200 Subject: [PATCH 08/63] gnu: musescore: Update to 3.5. * gnu/packages/music.scm (musescore): Update to 3.5. [origin]: Remove unused google_analytics library. --- gnu/packages/music.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 77e8dbd27b..ae8579cb47 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4052,7 +4052,7 @@ audio samples and various soft sythesizers. It can receive input from a MIDI ke (define-public musescore (package (name "musescore") - (version "3.4.2") + (version "3.5") (source (origin (method git-fetch) @@ -4061,13 +4061,14 @@ audio samples and various soft sythesizers. It can receive input from a MIDI ke (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "14a9sg87nx7xca1qfbkplnpbx9pyg9k9vy87dq0g401ag6g6bi66")) + (base32 "1s8767imzv9hclpzvvvsqb3iyiv4y2klr6agf95zwym2xafy8p26")) (modules '((guix build utils))) (snippet ;; Un-bundle OpenSSL and remove unused libraries. '(begin (for-each delete-file-recursively '("thirdparty/freetype" + "thirdparty/google_analytics" "thirdparty/openssl" "thirdparty/portmidi")) #t)))) From 73092df4686074572e79a54946d9b62f495f58a7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 12 Aug 2020 21:25:18 +0200 Subject: [PATCH 09/63] gnu: libgtextutils: Hide default GCC. * gnu/packages/textutils.scm (libgtextutils)[arguments]: Add phase hide-default-gcc. --- gnu/packages/textutils.scm | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 3c765aa887..de68645489 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer -;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus ;;; Copyright © 2015, 2016 Ben Woodcroft ;;; Copyright © 2015 Roel Janssen ;;; Copyright © 2016 Jelle Licht @@ -235,14 +235,25 @@ nested include statements).") (base32 "0jiybkb2z58wa2msvllnphr4js2hvjvh988pavb3mzkgr6ihwbkr")))) (build-system gnu-build-system) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases (replace 'bootstrap - (lambda _ (invoke "sh" "reconf")))))) + (lambda _ (invoke "sh" "reconf"))) + (add-after 'set-paths 'hide-default-gcc + (lambda* (#:key inputs #:allow-other-keys) + (let ((gcc (assoc-ref inputs "gcc"))) + ;; Remove the default GCC from CPLUS_INCLUDE_PATH to prevent + ;; conflicts with the GCC 5 input. + (setenv "CPLUS_INCLUDE_PATH" + (string-join + (delete (string-append gcc "/include/c++") + (string-split (getenv "CPLUS_INCLUDE_PATH") #\:)) + ":")) + #t)))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) - ("gcc" ,gcc-5) ;; doesn't build with later versions + ("gcc@5" ,gcc-5) ; doesn't build with later versions ("libtool" ,libtool))) (home-page "https://github.com/agordon/libgtextutils") (synopsis "Gordon's text utils library") From c9a16728410f11f4bd9b49632ca2b13df849ecdc Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 12 Aug 2020 21:50:42 +0200 Subject: [PATCH 10/63] gnu: Add python-conda-package-handling. * gnu/packages/package-management.scm (python-conda-package-handling): New variable. --- gnu/packages/package-management.scm | 54 +++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 9c2c226086..325007ac76 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -728,6 +728,60 @@ environments.") (define-public python2-anaconda-client (package-with-python2 python-anaconda-client)) +(define-public python-conda-package-handling + (package + (name "python-conda-package-handling") + (version "1.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/conda/conda-package-handling/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bqbs6a8jbjmbn47n5n1p529cx7pf4vgfnhqca9mflgidfb5i0jf")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'use-unmodified-libarchive + (lambda _ + (substitute* "setup.py" + (("archive_and_deps") "archive")) + #t)) + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "tests" + "-k" + (string-append + ;; TODO: these three fail because the mocker fixture + ;; cannot be found + "not test_rename_to_trash" + " and not test_api_extract_tarball_with_libarchive_import_error" + " and not test_delete_trash" + ;; TODO: this one does not raise an exception when it + ;; should. + " and not test_secure_refusal_to_extract_abs_paths"))))))) + (propagated-inputs + `(("python-six" ,python-six) + ("python-tqdm" ,python-tqdm))) + (inputs + `(("libarchive" ,libarchive))) + (native-inputs + `(("python-cython" ,python-cython) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-mock" ,python-mock))) + (home-page "https://conda.io") + (synopsis "Create and extract conda packages of various formats") + (description + "This library is an abstraction of Conda package handling and a tool for +extracting, creating, and converting between formats.") + (license license:bsd-3))) + (define-public python-conda (package (name "python-conda") From bcdc61bfa1b4800f19c985dd73ad2d5a696e5307 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 12 Aug 2020 21:55:06 +0200 Subject: [PATCH 11/63] gnu: tophat: Hide default GCC. * gnu/packages/bioinformatics.scm (tophat)[arguments]: Add build phase "hide-default-gcc". --- gnu/packages/bioinformatics.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 57bfcf8207..2f4a2b1461 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1683,6 +1683,17 @@ genome (2.9 GB for paired-end).") '(#:parallel-build? #f ; not supported #:phases (modify-phases %standard-phases + (add-after 'set-paths 'hide-default-gcc + (lambda* (#:key inputs #:allow-other-keys) + (let ((gcc (assoc-ref inputs "gcc"))) + ;; Remove the default GCC from CPLUS_INCLUDE_PATH to prevent + ;; conflicts with the GCC 5 input. + (setenv "CPLUS_INCLUDE_PATH" + (string-join + (delete (string-append gcc "/include/c++") + (string-split (getenv "CPLUS_INCLUDE_PATH") #\:)) + ":")) + #t))) (add-after 'unpack 'use-system-samtools (lambda* (#:key inputs #:allow-other-keys) (substitute* "src/Makefile.in" @@ -1705,7 +1716,7 @@ genome (2.9 GB for paired-end).") (("#include ") "#include ")) #t))))) (native-inputs - `(("gcc" ,gcc-5))) ;; doesn't build with later versions + `(("gcc@5" ,gcc-5))) ;; doesn't build with later versions (inputs `(("boost" ,boost) ("bowtie" ,bowtie) From c9ec3c0763c668807dec74c6049a63883bb3aaec Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 12 Aug 2020 23:35:08 +0200 Subject: [PATCH 12/63] gnu: python-pycosat: Update to 0.6.3. * gnu/packages/python-xyz.scm (python-pycosat): Update to 0.6.3. --- gnu/packages/python-xyz.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 50c36a1e03..9d27a480df 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14392,16 +14392,18 @@ through a Python API.") (define-public python-pycosat (package (name "python-pycosat") - (version "0.6.1") + (version "0.6.3") (source (origin (method url-fetch) - (uri (pypi-uri "pycosat" version)) + (uri (pypi-uri "pycosat" version ".zip")) (sha256 (base32 - "1kl3wh1f47rc712n4bmwplbx3fqz3x9i1b587jrbpmvdva4c8f6l")))) + "1vg0f2fwcybpdqv92z0hwdl603n2safh3fqvjjxkksd78r4qg6ac")))) ;; TODO: Unundle picosat. http://fmv.jku.at/picosat/ (build-system python-build-system) + (native-inputs + `(("unzip" ,unzip))) (home-page "https://github.com/ContinuumIO/pycosat") (synopsis "Bindings to picosat (a SAT solver)") (description From 638ef1e81d83dfb1fdb7ecc5f3f80ee1151702d3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 13 Aug 2020 00:00:54 +0200 Subject: [PATCH 13/63] gnu: conda: Update to 4.8.3. * gnu/packages/package-management.scm (python-conda): Define as deprecated alias for conda. (python2-conda): Remove variable. (conda)[arguments]: Add phases "fix-permissions", "correct-python-executable-name", "do-not-use-python-root-as-prefix", and "init"; remove phase "remove-failing-tests"; update "check" phase. [inputs]: Add python-wrapper. [native-inputs]: Move them all to... [propagated-inputs]: ...this field. Add python-conda-package-handling, python-tqdm, and zstd. [description]: Remove line about Conda as a library. --- gnu/packages/package-management.scm | 211 ++++++++++++++-------------- 1 file changed, 103 insertions(+), 108 deletions(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 325007ac76..77c89af7f9 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -782,10 +782,10 @@ environments.") extracting, creating, and converting between formats.") (license license:bsd-3))) -(define-public python-conda +(define-public conda (package - (name "python-conda") - (version "4.3.16") + (name "conda") + (version "4.8.3") (source (origin (method git-fetch) @@ -795,58 +795,118 @@ extracting, creating, and converting between formats.") (file-name (git-file-name name version)) (sha256 (base32 - "1qwy0awx4qf2pbk8z2b7q6wdcq7mvwpxxjhg27mbirdvs5hw7hb2")))) + "0iv1qzk21jsk6vdp3106xvpvl68zgfdqb3kyzpya87jhkl204l7r")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-permissions + (lambda _ + ;; This file is no longer writable after downloading with + ;; 'git-fetch' + (make-file-writable + "tests/conda_env/support/saved-env/environment.yml") + #t)) + (add-after 'unpack 'correct-python-executable-name + (lambda* (#:key inputs #:allow-other-keys) + (let ((python (assoc-ref inputs "python-wrapper"))) + #; + (substitute* "conda/common/path.py" + (("python_version or ''") + "python_version or '3'")) + (substitute* "conda/core/initialize.py" + (("python_exe = join") + (format #f "python_exe = \"~a/bin/python\" #" + python)))) + #t)) + (add-after 'unpack 'do-not-use-python-root-as-prefix + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (python (assoc-ref inputs "python-wrapper"))) + (substitute* "tests/core/test_initialize.py" + (("\"\"\"\\) % conda_prefix") + (format #f "\"\"\") % \"~a\"" python)) + (("CONDA_PYTHON_EXE \"%s\"' % join\\(conda_prefix") + (format #f "CONDA_PYTHON_EXE \"%s\"' % join(\"~a\"" + python)) + (("conda_prefix = abspath\\(sys.prefix\\)") + (format #f "conda_prefix = abspath(\"~a\")" out))) + (substitute* "conda/base/context.py" + (("os.chdir\\(sys.prefix\\)") + (format #f "os.chdir(\"~a\")" out)) + (("sys.prefix, '.condarc'") + (format #f "\"~a\", '.condarc'" out)) + (("return abspath\\(sys.prefix\\)") + (format #f "return abspath(\"~a\")" out)) + (("os.path.join\\(sys.prefix, bin_dir, exe\\)") + (format #f "\"~a/bin/conda\"" out)) + (("'CONDA_EXE', sys.executable") + (format #f "'CONDA_EXE', \"~a/bin/conda\"" out)))) + #t)) (add-before 'build 'create-version-file (lambda _ (with-output-to-file "conda/.version" (lambda () (display ,version))) #t)) - (add-before 'check 'remove-failing-tests - (lambda _ - ;; These tests require internet/network access - (let ((network-tests '("test_cli.py" - "test_create.py" - "test_export.py" - "test_fetch.py" - "test_history.py" - "test_info.py" - "test_install.py" - "test_priority.py" - "conda_env/test_cli.py" - "conda_env/test_create.py" - "conda_env/specs/test_notebook.py" - "conda_env/utils/test_notebooks.py" - "core/test_index.py" - "core/test_repodata.py"))) - (with-directory-excursion "tests" - (for-each delete-file network-tests) - - ;; FIXME: This test creates a file, then deletes it and tests - ;; that the file was deleted. For some reason it fails when - ;; building with guix, but does not when you run it in the - ;; directory left when you build with the --keep-failed - ;; option - (delete-file "gateways/disk/test_delete.py") - ;; This file is no longer writable after downloading with 'git-fetch' - (make-file-writable "conda_env/support/saved-env/environment.yml") - #t)))) (replace 'check (lambda _ (setenv "HOME" "/tmp") - (invoke "py.test")))))) - (native-inputs - `(("python-cytoolz" ,python-cytoolz) - ("python-ruamel.yaml" ,python-ruamel.yaml) - ("python-requests" ,python-requests) + (invoke "py.test" "-vv" + "-k" + (string-append + "not integration" + ;; This one reports a newer version of conda than + ;; expected. + " and not test_auto_update_conda" + ;; This fails because the output directory is not a + ;; Conda environment. + " and not test_list" + ;; This fails because we patched the default root + ;; prefix. + " and not test_default_target_is_root_prefix" + ;; TODO: I don't understand what this failure means + " and not test_PrefixData_return_value_contract" + ;; TODO: same here + " and not test_install_1" + ;; Not sure if this is really wrong. This fails because + ;; /gnu/store/...python-conda-4.8.3/bin/python + ;; is not /gnu/store/...python-wrapper-3.8.2/bin/python + " and not test_make_entry_point")))) + (add-after 'install 'init + ;; This writes a whole bunch of shell initialization files to the + ;; prefix directory. Many features of conda can only be used after + ;; running "conda init". + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (setenv "HOME" "/tmp") + + ;; "conda init" insists on using sudo, because it is hell-bent on + ;; modifying system files. + (mkdir-p "/tmp/fake-sudo") + (with-output-to-file "/tmp/fake-sudo/sudo" + (lambda () (format #t "#!~/bin/sh~%exec $@" (which "sh")))) + (chmod "/tmp/fake-sudo/sudo" #o700) + (setenv "PATH" (string-append "/tmp/fake-sudo:" + (getenv "PATH"))) + + (invoke (string-append (assoc-ref outputs "out") + "/bin/conda") + "init")))))) + (inputs + `(("python-wrapper" ,python-wrapper))) + (propagated-inputs + `(("python-anaconda-client" ,python-anaconda-client) + ("python-conda-package-handling" ,python-conda-package-handling) + ("python-cytoolz" ,python-cytoolz) ("python-pycosat" ,python-pycosat) ("python-pytest" ,python-pytest) - ("python-responses" ,python-responses) ("python-pyyaml" ,python-pyyaml) - ("python-anaconda-client" ,python-anaconda-client))) + ("python-requests" ,python-requests) + ("python-responses" ,python-responses) + ("python-ruamel.yaml" ,python-ruamel.yaml) + ("python-tqdm" ,python-tqdm) + ;; XXX: This is dragged in by libarchive and is needed at runtime. + ("zstd" ,zstd))) (home-page "https://github.com/conda/conda") (synopsis "Cross-platform, OS-agnostic, system-level binary package manager") (description @@ -854,76 +914,11 @@ extracting, creating, and converting between formats.") is the package manager used by Anaconda installations, but it may be used for other systems as well. Conda makes environments first-class citizens, making it easy to create independent environments even for C libraries. Conda is -written entirely in Python. - -This package provides Conda as a library.") +written entirely in Python.") (license license:bsd-3))) -(define-public python2-conda - (let ((base (package-with-python2 - (strip-python2-variant python-conda)))) - (package (inherit base) - (native-inputs - `(("python2-enum34" ,python2-enum34) - ,@(package-native-inputs base)))))) - -(define-public conda - (package (inherit python-conda) - (name "conda") - (arguments - (substitute-keyword-arguments (package-arguments python-conda) - ((#:phases phases) - `(modify-phases ,phases - (replace 'build - (lambda* (#:key outputs #:allow-other-keys) - ;; This test fails when run before installation. - (delete-file "tests/test_activate.py") - - ;; Fix broken defaults - (substitute* "conda/base/context.py" - (("return sys.prefix") - (string-append "return \"" (assoc-ref outputs "out") "\"")) - (("return (prefix_is_writable\\(self.root_prefix\\))" _ match) - (string-append "return False if self.root_prefix == self.conda_prefix else " - match))) - - ;; The util/setup-testing.py is used to build conda in - ;; application form, rather than the default, library form. - ;; With this, we are able to run commands like `conda --help` - ;; directly on the command line - (invoke "python" "utils/setup-testing.py" "build_py"))) - (replace 'install - (lambda* (#:key inputs outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (target (string-append out "/lib/python" - (python-version - (assoc-ref inputs "python")) - "/site-packages/"))) - ;; The installer aborts if the target directory is not on - ;; PYTHONPATH. - (setenv "PYTHONPATH" - (string-append target ":" (getenv "PYTHONPATH"))) - - ;; And it aborts if the directory doesn't exist. - (mkdir-p target) - (invoke "python" "utils/setup-testing.py" "install" - (string-append "--prefix=" out))))) - ;; The "activate" and "deactivate" scripts don't need wrapping. - ;; They also break when they are renamed. - (add-after 'wrap 'undo-wrap - (lambda* (#:key outputs #:allow-other-keys) - (with-directory-excursion (string-append (assoc-ref outputs "out") "/bin/") - (delete-file "deactivate") - (rename-file ".deactivate-real" "deactivate") - (delete-file "activate") - (rename-file ".activate-real" "activate") - #t))))))) - (description - "Conda is a cross-platform, Python-agnostic binary package manager. It -is the package manager used by Anaconda installations, but it may be used for -other systems as well. Conda makes environments first-class citizens, making -it easy to create independent environments even for C libraries. Conda is -written entirely in Python."))) +(define-public python-conda + (deprecated-package "python-conda" conda)) (define-public gwl (package From 336b6d3cfb45a228dc9fc1a0c20b603c41960d8f Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 12 Aug 2020 23:24:04 +0200 Subject: [PATCH 14/63] gnu: bspwm: Update to 0.9.10. * gnu/packages/wm.scm (bspwm): Update to 0.9.10. --- gnu/packages/wm.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 2ffba9e5a2..a1036654aa 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -117,7 +117,7 @@ (define-public bspwm (package (name "bspwm") - (version "0.9.9") + (version "0.9.10") (source (origin (method git-fetch) @@ -126,7 +126,7 @@ (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1i7crmljk1vra1r6alxvj6lqqailjjcv0llyg7a0gm23rbv4a42g")))) + (base32 "0qlv7b4c2mmjfd65y100d11x8iqyg5f6lfiws3cgmpjidhdygnxc")))) (build-system gnu-build-system) (inputs `(("libxcb" ,libxcb) From 3f0d94552ffdeb919867d8e0fb9c2021eac9dcf6 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 12 Aug 2020 23:26:22 +0200 Subject: [PATCH 15/63] gnu: luakit: Update to 2.2. * gnu/packages/web-browsers.scm (luakit): Update to 2.2. --- gnu/packages/web-browsers.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index cb249dbc48..e7a62ddb80 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -215,7 +215,7 @@ features including, tables, builtin image display, bookmarks, SSL and more.") (define-public luakit (package (name "luakit") - (version "2.1") + (version "2.2") (source (origin (method git-fetch) (uri (git-reference @@ -224,7 +224,7 @@ features including, tables, builtin image display, bookmarks, SSL and more.") (file-name (git-file-name name version)) (sha256 (base32 - "1qa90caxv1k6ak88fn0a7n7h0c4iv8szw6zn2axch8ig83i86az2")))) + "0km5nxn6innzn8pfsvlkxvfj2z5g46fp6dy5bnmaklbn13mqlcrn")))) (inputs `(("lua-5.1" ,lua-5.1) ("gtk+" ,gtk+) From 525ed495630a9db6ef02d0c31bf767b0764d1165 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 12 Aug 2020 23:33:06 +0200 Subject: [PATCH 16/63] gnu: perl-catalyst-view-tt: Update to 0.45. * gnu/packages/web.scm (perl-catalyst-view-tt): Update to 0.45. --- gnu/packages/web.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index a0900c686e..cdec182832 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -2520,15 +2520,14 @@ stash data in JSON format.") (define-public perl-catalyst-view-tt (package (name "perl-catalyst-view-tt") - (version "0.44") + (version "0.45") (source (origin (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" + (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/" "Catalyst-View-TT-" version ".tar.gz")) (sha256 - (base32 - "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh")))) + (base32 "0jzgpkgq5pwq82zlb0nykdyk40dfpsyn9ilz91d0wpixgi9i5pr8")))) (build-system perl-build-system) (propagated-inputs `(("perl-catalyst-runtime" ,perl-catalyst-runtime) From 7e8458aae328a59a167c1ddbc69e0847c40cf1e5 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 12 Aug 2020 23:36:43 +0200 Subject: [PATCH 17/63] gnu: nginx-documentation: Update to 1.19.2-2581-324ca14c3003. * gnu/packages/web.scm (nginx-documentation): Update to 1.19.2-2581-324ca14c3003. --- gnu/packages/web.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index cdec182832..c7d30e1de3 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -362,9 +362,9 @@ documentation.") (define-public nginx-documentation ;; This documentation should be relevant for the current nginx package. - (let ((version "1.19.0") - (revision 2549) - (changeset "c13a55aae487")) + (let ((version "1.19.2") + (revision 2581) + (changeset "324ca14c3003")) (package (name "nginx-documentation") (version (simple-format #f "~A-~A-~A" version revision changeset)) @@ -376,7 +376,7 @@ documentation.") (file-name (string-append name "-" version)) (sha256 (base32 - "0vwwvk6wf8f6c6n6yffmya9a287s6dbx1p739hdl3hwxfyh2ygc5")))) + "15bdbi6cjqhx8lqsyr3hnwagq2r80bsyh2im80ajmbfv7y47djqi")))) (build-system gnu-build-system) (arguments '(#:tests? #f ; no test suite From 428a3621d55c4c24a5ae512e37032994ae7882c5 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 12 Aug 2020 23:40:21 +0200 Subject: [PATCH 18/63] gnu: nginx: Update to 1.19.2. * gnu/packages/web.scm (nginx): Update to 1.19.2. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index c7d30e1de3..dcd735a037 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -231,14 +231,14 @@ Interface} specification.") ;; ’stable’ and recommends that “in general you deploy the NGINX mainline ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/) ;; Consider updating the nginx-documentation package together with this one. - (version "1.19.1") + (version "1.19.2") (source (origin (method url-fetch) (uri (string-append "https://nginx.org/download/nginx-" version ".tar.gz")) (sha256 (base32 - "14jlcn8gywa4r9brmm41ddg2dczskslnn4dnr5xmqg7dcin7f150")))) + "0wr4ss4gld7x717m4j3a6l6f7ijblrrd55y563lkwhvr7sqpn7vw")))) (build-system gnu-build-system) (inputs `(("openssl" ,openssl) ("pcre" ,pcre) From 6b44b35a57d688da3791c08d65f27b6677da7b1f Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 00:16:51 +0200 Subject: [PATCH 19/63] gnu: httpd: Update to 2.4.46. * gnu/packages/web.scm (httpd): Update to 2.4.46. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index dcd735a037..5f97c3c592 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -158,14 +158,14 @@ (define-public httpd (package (name "httpd") - (version "2.4.43") + (version "2.4.46") (source (origin (method url-fetch) (uri (string-append "mirror://apache/httpd/httpd-" version ".tar.bz2")) (sha256 (base32 - "0hqgw47r3p3521ygkkqs8s30s5crm683081avj6330gwncm6b5x4")))) + "1sj1rwgbcjgkzac3ybjy7j68c9b3dv3ap71m48mrjhf6w7vds3kl")))) (build-system gnu-build-system) (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config' (inputs `(("apr" ,apr) From 9ac2a4ee3424dd216b1b67056968e0585197952a Mon Sep 17 00:00:00 2001 From: your friendly localhost admin Date: Thu, 6 Aug 2020 00:23:34 +0200 Subject: [PATCH 20/63] gnu: Added drawpile (UPnP support pending) at version 2.1.17 * gnu/packages/graphics.scm (drawpile): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/graphics.scm | 58 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 91ac62e903..c7fefbd57d 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -49,6 +49,7 @@ #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages crypto) #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) #:use-module (gnu packages flex) @@ -59,12 +60,14 @@ #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages gnunet) #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages jemalloc) + #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pdf) @@ -81,12 +84,14 @@ #:use-module (gnu packages sdl) #:use-module (gnu packages swig) #:use-module (gnu packages tbb) + #:use-module (gnu packages upnp) #:use-module (gnu packages video) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) + #:use-module (guix build-system qt) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix hg-download) @@ -1429,3 +1434,56 @@ and PC Engine formats") the graphics formats of the SNES, Game Boy Color and PC Engine game consoles. Automated palette selection is supported.") (license license:expat))) + +(define-public drawpile + (package + (name "drawpile") + (version "2.1.17") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/drawpile/Drawpile") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08w8vad8pw4a8kkshys1kd2kjvzpj62klxxxp904rx0qazw5hl80")))) + (build-system qt-build-system) + (arguments + '(#:configure-flags (list "-DTESTS=ON" "-DTOOLS=ON" "-DKIS_TABLET=ON"))) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("pkg-config" ,pkg-config))) + (inputs + `(("giflib" ,giflib) + ("karchive" ,karchive) + ("kdnssd" ,kdnssd) + ("libmicrohttpd" ,libmicrohttpd) + ("libsodium" ,libsodium) + ("libvpx" ,libvpx) + ("libxi" ,libxi) + ;; ("miniupnpc" ,miniupnpc) ;segfaults for some reason + ("qtbase" ,qtbase) + ("qtkeychain" ,qtkeychain) + ("qtmultimedia" ,qtmultimedia) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (home-page "https://drawpile.net") + (synopsis "Collaborative drawing program") + (description "Drawpile is a drawing program that allows share the canvas +with other users in real time. + +Some feature highlights: +@itemize +@item Shared canvas using the built-in server or a dedicated server +@item Record, play back and export drawing sessions +@item Simple animation support +@item Layers and blending modes +@item Text layers +@item Supports pressure sensitive Wacom tablets +@item Built-in chat +@item Supports OpenRaster file format +@item Encrypted connections using SSL +@item Automatic port forwarding with UPnP +@end itemize\n") + (license license:gpl3+))) From f90b26917a49a5e2f41b82b920d25666d73f49d4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 13 Aug 2020 11:29:08 +0300 Subject: [PATCH 21/63] gnu: dlib: Install shared library. Reported by Hamzeh Nasajpour . * gnu/packages/machine-learning.scm (dlib)[arguments]: Add configure-flag to build shared library. Remove custom 'delete-static-library phase. --- gnu/packages/machine-learning.scm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 163ebded07..1f4c2e23ea 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -773,7 +773,8 @@ than 8 bits, and at the end only some significant 8 bits are kept.") #t)))) (build-system cmake-build-system) (arguments - `(#:phases + `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON") + #:phases (modify-phases %standard-phases (add-after 'unpack 'disable-asserts (lambda _ @@ -810,12 +811,7 @@ than 8 bits, and at the end only some significant 8 bits are kept.") (with-directory-excursion test-dir (invoke "make" "-j" (number->string (parallel-job-count))) (invoke "./dtest" "--runall")) - #t))) - (add-after 'install 'delete-static-library - (lambda* (#:key outputs #:allow-other-keys) - (delete-file (string-append (assoc-ref outputs "out") - "/lib/libdlib.a")) - #t))))) + #t)))))) (native-inputs `(("pkg-config" ,pkg-config) ;; For tests. From 35e24fab73bc450c6e0d3b9a5bbdfa88d2c425f4 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 11 Aug 2020 09:53:39 -0400 Subject: [PATCH 22/63] gnu: git-annex: Update to 8.20200810. * gnu/packages/haskell-apps.scm (git-annex): Update to 8.20200810. Signed-off-by: Mathieu Othacehe --- gnu/packages/haskell-apps.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index 4c8bf407ba..c70f1736d7 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -341,14 +341,14 @@ to @code{cabal repl}).") (define-public git-annex (package (name "git-annex") - (version "8.20200720.1") + (version "8.20200810") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/" "git-annex/git-annex-" version ".tar.gz")) (sha256 - (base32 "0g4wlfkwr9w21hvdywc7sk077rxlnigdr4m4yz41rc0s2nbjc9fn")))) + (base32 "1wy6ckcf5f6m94gakg1504h1zryail3mmj85sglq03s45vawjcg6")))) (build-system haskell-build-system) (arguments `(#:configure-flags From 7ae3b11a244b78956afaf356f65e8816334c156b Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Wed, 12 Aug 2020 17:42:50 +0200 Subject: [PATCH 23/63] gnu: cpuid: Update to 20200427. * gnu/packages/linux.scm (cpuid): Update to 20200427. Signed-off-by: Mathieu Othacehe --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index ca5a4f99b0..339796dde5 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -6433,14 +6433,14 @@ available in the kernel Linux.") (define-public cpuid (package (name "cpuid") - (version "20200211") + (version "20200427") (source (origin (method url-fetch) (uri (string-append "http://www.etallen.com/cpuid/cpuid-" version ".src.tar.gz")) (sha256 (base32 - "06sjbqqp80l7nhsp6khglkzdp9qy4vhbvjxbfilznhsmrqiwlw55")))) + "1m31238z2ya8f8pzpyklwp0ksf5xicqrw1z941hhhx913wzldaf1")))) (build-system gnu-build-system) (arguments '(#:make-flags '("CC=gcc") From 0f50b7e7b9191f81a5334d7314fbc656303d479e Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 10 Aug 2020 13:43:48 +0200 Subject: [PATCH 24/63] gnu: lxqt-panel: Show icons in menus. * gnu/packages/lxqt.scm (lxqt-panel)[propagated-inputs]: Add lxmenu-data. Signed-off-by: Mathieu Othacehe --- gnu/packages/lxqt.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index f445a7eb30..f8eeec97d0 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -599,7 +599,8 @@ of other programs.") (propagated-inputs ;; Propagating KWINDOWSYSTEM so that the list of opened applications ;; shows up in lxqt-panel's taskbar plugin. - `(("kwindowsystem" ,kwindowsystem))) + `(("kwindowsystem" ,kwindowsystem) + ("lxmenu-data" ,lxmenu-data))) (arguments '(#:tests? #f ; no tests #:phases From f57e86ff1daf00b3a1c3c58d1731f93c42b6c4b2 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 04:50:53 +0200 Subject: [PATCH 25/63] gnu: ceph: Update to 14.2.11. * gnu/packages/storage.scm (ceph): Update to 14.2.11. --- gnu/packages/storage.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/storage.scm b/gnu/packages/storage.scm index b7d4056635..9b41bb240b 100644 --- a/gnu/packages/storage.scm +++ b/gnu/packages/storage.scm @@ -55,14 +55,14 @@ (define-public ceph (package (name "ceph") - (version "14.2.10") + (version "14.2.11") (source (origin (method url-fetch) (uri (string-append "https://download.ceph.com/tarballs/ceph-" version ".tar.gz")) (sha256 (base32 - "0bbs3ag8zav283qpxrrndhvh2z01ykm6126fmwrbc1c5f9jfjq39")) + "02mbinm8rk16cwm0x4winmd4488xznkzkyzycxkwlib26yd2xsnz")) (patches (search-patches "ceph-disable-cpu-optimizations.patch")) (modules '((guix build utils))) From ca1e978586b327c9e09483549dc4ac7625c00852 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 04:51:10 +0200 Subject: [PATCH 26/63] gnu: python-aenum: Update to 2.2.4. * gnu/packages/python-xyz.scm (python-aenum): Update to 2.2.4. --- gnu/packages/python-xyz.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9d27a480df..93107b20d2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1177,14 +1177,13 @@ language. It aims to be fast.") (define-public python-aenum (package (name "python-aenum") - (version "2.2.3") + (version "2.2.4") (source (origin (method url-fetch) (uri (pypi-uri "aenum" version)) (sha256 - (base32 - "1s3008rklv4n1kvmq6xdbdfyrpl0gf1rhqasmd27s5kwyjmlqcx4")))) + (base32 "0r1812bjm72x73pl7y4yhffr4zbdjgxa08avsy4b3di0pqgqv0l1")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases From 5180360198113cd1217d06ea5834acdc6371df77 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 05:22:57 +0200 Subject: [PATCH 27/63] gnu: yapet: Update to 2.4. * gnu/packages/password-utils.scm (yapet): Update to 2.4. --- gnu/packages/password-utils.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index ae211d8cd0..173970de86 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -306,14 +306,14 @@ applications, there is xclip integration." ) (define-public yapet (package (name "yapet") - (version "2.3") + (version "2.4") (source (origin (method url-fetch) (uri (string-append "https://yapet.guengel.ch/downloads/yapet-" version ".tar.xz")) (sha256 - (base32 "1fl4s7v1psl52ndd6i7716i9f493aj8ipl6lgmraadnn5h26l3pm")))) + (base32 "0b1v0whf70dfjzlwqwwvfv526s828skjvm4xvwly3vcvcmpz59sh")))) (build-system gnu-build-system) (inputs `(("argon2" ,argon2) From d1c37def6e22fa4e171a96f97347220cf2ed5aa9 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 05:26:02 +0200 Subject: [PATCH 28/63] gnu: php: Update to 7.4.9. * gnu/packages/php.scm (php): Update to 7.4.9. --- gnu/packages/php.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm index 7e6a646c0c..8297a6a315 100644 --- a/gnu/packages/php.scm +++ b/gnu/packages/php.scm @@ -60,7 +60,7 @@ (define-public php (package (name "php") - (version "7.4.8") + (version "7.4.9") (home-page "https://secure.php.net/") (source (origin (method url-fetch) @@ -68,7 +68,7 @@ "php-" version ".tar.xz")) (sha256 (base32 - "0i9j0yykm6ww021iq89g83qjliq1mqiyhqdn3kq8lbkk1f4l6a34")) + "0yy5gms3yk24m6c5z4g0sqhcymzxqpmkh0fgrsyvxlcac153ywr3")) (modules '((guix build utils))) (snippet '(with-directory-excursion "ext" From 8bf704262d672ae0735f0685bfd1c9ddcb1d8484 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 15:26:45 +0200 Subject: [PATCH 29/63] gnu: opencv: Fix build with Jasper 2.0.19. * gnu/packages/image-processing.scm (opencv)[source]: Add patch. * gnu/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/local.mk | 1 + gnu/packages/image-processing.scm | 4 +- ...encv-fix-build-of-grfmt_jpeg2000.cpp.patch | 39 +++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch diff --git a/gnu/local.mk b/gnu/local.mk index 66ad65cb15..27dcf965ca 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1356,6 +1356,7 @@ dist_patch_DATA = \ %D%/packages/patches/ola-readdir-r.patch \ %D%/packages/patches/openbabel-fix-crash-on-nwchem-output.patch \ %D%/packages/patches/opencascade-oce-glibc-2.26.patch \ + %D%/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch \ %D%/packages/patches/opencv-rgbd-aarch64-test-fix.patch \ %D%/packages/patches/opendht-fix-jami.patch \ %D%/packages/patches/openfoam-4.1-cleanup.patch \ diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index e62c5c7cdb..52e0311943 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2014 Ludovic Courtès ;;; Copyright © 2014 Mark H Weaver ;;; Copyright © 2016 Eric Bavier -;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice +;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2018 Björn Höfling ;;; Copyright © 2018 Lprndn ;;; Copyright © 2019 Efraim Flashner @@ -251,6 +251,8 @@ integrates with various databases on GUI toolkits such as Qt and Tk.") (sha256 (base32 "06bc61r8myym4s8im10brdjfg4wxkrvsbhhl7vr1msdan2xddzi3")) + (patches + (search-patches "opencv-fix-build-of-grfmt_jpeg2000.cpp.patch")) (modules '((guix build utils))) (snippet '(begin diff --git a/gnu/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch b/gnu/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch new file mode 100644 index 0000000000..8deb60296a --- /dev/null +++ b/gnu/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch @@ -0,0 +1,39 @@ +From: Tobias Geerinckx-Rice +Date: Thu, 13 Aug 2020 15:21:30 +0200 +Subject: [PATCH] gnu: opencv: Fix build with Jasper 2.0.19. + +Taken verbatim from upstream: . + +From f66fc199a20882c546fa31142e9c0f5a8b3cf983 Mon Sep 17 00:00:00 2001 +From: Florian Jung +Date: Wed, 29 Jul 2020 18:51:55 +0200 +Subject: [PATCH] Fix build of grfmt_jpeg2000.cpp + +libjasper has recently changed `jas_matrix_get` from a macro to an inline function +(389951d071 in https://github.com/jasper-software/jasper), causing the build to fail. +--- + modules/imgcodecs/src/grfmt_jpeg2000.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/modules/imgcodecs/src/grfmt_jpeg2000.cpp b/modules/imgcodecs/src/grfmt_jpeg2000.cpp +index fe69f80c86f..0f4d28d6f4d 100644 +--- a/modules/imgcodecs/src/grfmt_jpeg2000.cpp ++++ b/modules/imgcodecs/src/grfmt_jpeg2000.cpp +@@ -377,7 +377,7 @@ bool Jpeg2KDecoder::readComponent8u( uchar *data, void *_buffer, + + for( y = 0; y < yend - ystart; ) + { +- jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 ); ++ jas_seqent_t* pix_row = jas_matrix_getref( buffer, y / ystep, 0 ); + uchar* dst = data + (y - yoffset) * step - xoffset; + + if( xstep == 1 ) +@@ -443,7 +443,7 @@ bool Jpeg2KDecoder::readComponent16u( unsigned short *data, void *_buffer, + + for( y = 0; y < yend - ystart; ) + { +- jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 ); ++ jas_seqent_t* pix_row = jas_matrix_getref( buffer, y / ystep, 0 ); + ushort* dst = data + (y - yoffset) * step - xoffset; + + if( xstep == 1 ) From f1c294e0fa6d2bbd2d9cfb6a0a04e5ca7400ef60 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 16:08:55 +0200 Subject: [PATCH 30/63] gnu: python-crashtest: Update to 0.3.1. * gnu/packages/python-xyz.scm (python-crashtest): Update to 0.3.1. --- gnu/packages/python-xyz.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 93107b20d2..caa91d0d2e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8289,14 +8289,13 @@ output.") (define-public python-crashtest (package (name "python-crashtest") - (version "0.3.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (pypi-uri "crashtest" version)) (sha256 - (base32 - "056zzbznl3xfnbblfci8lvcam3h7k7va68vi6asrm4q0ck4nrh79")))) + (base32 "1p9p7mn8x2j9psc4jxab98897v4i9s4fliyfw8rp8v4bx1n7pjj2")))) (build-system python-build-system) (home-page "https://github.com/sdispater/crashtest") (synopsis "Manage Python errors with ease") From 7d98468cecdf026182c30ced63a44bbbfb361847 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 02:16:56 +0200 Subject: [PATCH 31/63] gnu: aha: Update to 0.5.1. * gnu/packages/textutils.scm (aha): Update to 0.5.1. --- gnu/packages/textutils.scm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index de68645489..c5798cf5c1 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1148,7 +1148,7 @@ This package provides Python bindings.") (define-public aha (package (name "aha") - (version "0.5") + (version "0.5.1") (source (origin (method git-fetch) @@ -1156,8 +1156,7 @@ This package provides Python bindings.") (url "https://github.com/theZiz/aha") (commit version))) (sha256 - (base32 - "0byml4rmpiaalwx69jcixl3yvpvwmwiss1jzgsqwshilb2p4qnmz")) + (base32 "1gywad0rvvz3c5balz8cxsnx0562hj2ngzqyr8zsy2mb4pn0lpgv")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments @@ -1167,8 +1166,7 @@ This package provides Python bindings.") #:make-flags (list "CC=gcc" (string-append "PREFIX=" (assoc-ref %outputs "out"))) - ;; no check target - #:tests? #f)) + #:tests? #f)) ; no test suite (home-page "https://github.com/theZiz/aha") (synopsis "Converts terminal escape sequences to HTML") (description "@command{aha} (Ansi Html Adapter) converts ANSI escape sequences From 3a176be045c262047892806e3db6335b43d49c1d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 02:29:57 +0200 Subject: [PATCH 32/63] gnu: aha: Cross-compile. * gnu/packages/textutils.scm (aha)[arguments]: Use CC-FOR-TARGET. --- gnu/packages/textutils.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index c5798cf5c1..6ee3442c76 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -46,6 +46,7 @@ #:use-module (guix build-system go) #:use-module (guix build-system cmake) #:use-module (guix build-system python) + #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -1160,10 +1161,10 @@ This package provides Python bindings.") (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases (delete 'configure)) - #:make-flags (list "CC=gcc" + #:make-flags (list (string-append "CC=" ,(cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:tests? #f)) ; no test suite From 398389758a670f0bfe1197834e4f568894585c7b Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 02:38:57 +0200 Subject: [PATCH 33/63] gnu: libmediainfo: Update to 20.08. * gnu/packages/video.scm (libmediainfo): Update to 20.08. --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 933c868ee6..677405a9ce 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3067,7 +3067,7 @@ practically any type of media.") (define-public libmediainfo (package (name "libmediainfo") - (version "20.03") + (version "20.08") (source (origin (method url-fetch) (uri (string-append "https://mediaarea.net/download/source/" @@ -3075,7 +3075,7 @@ practically any type of media.") name "_" version ".tar.xz")) (sha256 (base32 - "0wkzj5s34m8dvy7hif4h8f90q8ncrzd930gij1zzw3h5nw732j38")))) + "19n8h9jq42b6r3dbag77fzwfksfywszmzpi636w87fvc1nqldlqj")))) ;; TODO add a Big Buck Bunny webm for tests. (native-inputs `(("autoconf" ,autoconf) From 87de620e6d0176b3b8081446e560aabef1eca846 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 02:39:02 +0200 Subject: [PATCH 34/63] gnu: mediainfo: Update to 20.08. * gnu/packages/video.scm (mediainfo): Update to 20.08. --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 677405a9ce..d115f6c455 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3125,7 +3125,7 @@ MPEG-2, MPEG-4, DVD (VOB)... (define-public mediainfo (package (name "mediainfo") - (version "20.03") + (version "20.08") (source (origin (method url-fetch) ;; Warning: This source has proved unreliable 1 time at least. @@ -3136,7 +3136,7 @@ MPEG-2, MPEG-4, DVD (VOB)... name "_" version ".tar.xz")) (sha256 (base32 - "1f1shnycf0f1fwka9k9s250l228xjkg0k4k73h8bpld8msighgnw")))) + "1baf2dj5s3g1x4ssqli1b2r1203syk42m09zhp36qcinmfixv11l")))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) From 1c63b397282894e20185580f788903a4a5bc9090 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 02:53:33 +0200 Subject: [PATCH 35/63] gnu: kakoune: Update to 2020.08.04. * gnu/packages/text-editors.scm (kakoune): Update to 2020.08.04. --- gnu/packages/text-editors.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 81475b4d0f..88ec19d898 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -122,7 +122,7 @@ based command language.") (define-public kakoune (package (name "kakoune") - (version "2020.01.16") + (version "2020.08.04") (source (origin (method url-fetch) @@ -130,7 +130,7 @@ based command language.") "releases/download/v" version "/" "kakoune-" version ".tar.bz2")) (sha256 - (base32 "1bhd990gywdwdhxc5dn83wwj418c5cw1ndqycf7k0a02kxlg3550")))) + (base32 "08gikjxyvcr415br1g1llzh5pnq737q55yinalb92cgq3yn9yih2")))) (build-system gnu-build-system) (arguments `(#:make-flags @@ -149,7 +149,7 @@ based command language.") "\";\n " line))) #t)) (delete 'configure) ; no configure script - ;; kakoune requires us to be in the src/ directory to build + ;; kakoune requires us to be in the src/ directory to build. (add-before 'build 'chdir (lambda _ (chdir "src") #t))))) (native-inputs From 967fa5d0726d86d045552e656dba607a1ef2f7f1 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 03:11:34 +0200 Subject: [PATCH 36/63] gnu: libmatroska: Update to 1.6.2. * gnu/packages/video.scm (libmatroska): Update to 1.6.2. --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d115f6c455..44326420a8 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -818,14 +818,14 @@ SMPTE 314M.") (define-public libmatroska (package (name "libmatroska") - (version "1.6.0") + (version "1.6.2") (source (origin (method url-fetch) (uri (string-append "https://dl.matroska.org/downloads/" "libmatroska/libmatroska-" version ".tar.xz")) (sha256 - (base32 "0cs03ghf7h65yvv8yf915bx4a47i6d3w2mjbs5zpz000spmrrj7y")))) + (base32 "140r3q6n4a0n11zaf76lvyxd9gp435dgm8gn7mj0gar2hjm7ji5w")))) (build-system cmake-build-system) (inputs `(("libebml" ,libebml))) From 10d115545b4bfa4ad50b57e71c8631740ce23698 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 03:34:21 +0200 Subject: [PATCH 37/63] gnu: xonsh: Update to 0.9.19. * gnu/packages/shells.scm (xonsh): Update to 0.9.19. --- gnu/packages/shells.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 1ebdfce768..f8b7ada1e8 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -513,14 +513,14 @@ ksh, and tcsh.") (define-public xonsh (package (name "xonsh") - (version "0.9.18") + (version "0.9.19") (source (origin (method url-fetch) (uri (pypi-uri "xonsh" version)) (sha256 (base32 - "1h4rrwzwiwkyi9p49sjn97rl39fqq2r23hchzsw0s3fcwa7m8fkj")) + "0k7v2d166w74j4pw1v72dskhb1xxn40hz874579v4yyvbpfpazcp")) (modules '((guix build utils))) (snippet `(begin From da4df2f9fba23e1489d951212df1b075f2820e05 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 14 Jul 2020 22:39:05 +0200 Subject: [PATCH 38/63] gnu: python-typing: Update to 3.7.4.3. * gnu/packages/python-xyz.scm (python-typing): Update to 3.7.4.3. --- gnu/packages/python-xyz.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index caa91d0d2e..e1b1729b43 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17217,14 +17217,13 @@ based on the CPython 2.7 and 3.7 parsers.") (define-public python-typing (package (name "python-typing") - (version "3.7.4.1") + (version "3.7.4.3") (source (origin (method url-fetch) (uri (pypi-uri "typing" version)) (sha256 - (base32 - "08xs7s5pyq99hbrzw23inczmidz90krvpv9q5p1qrvh6yzrydpwi")))) + (base32 "1j8wnz8c9s049w9xbf7ssr1dmgg4rz7vdfq7m880srzxhafgp1qi")))) (build-system python-build-system) (home-page "https://docs.python.org/3/library/typing.html") (synopsis "Type hints for Python") From fad22f09b638fb46bf49a68ec0219fc4cf7c35fa Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 13 Aug 2020 12:17:56 +0300 Subject: [PATCH 39/63] gnu: Add qtmips. * gnu/packages/emulators.scm (qtmips): New variable. --- gnu/packages/emulators.scm | 60 +++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 1cf1c433dc..2909819153 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2015, 2016 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2015, 2018 David Thompson ;;; Copyright © 2016 Manolis Fragkiskos Ragkousis -;;; Copyright © 2016, 2017, 2018 Efraim Flashner +;;; Copyright © 2016, 2017, 2018, 2020 Efraim Flashner ;;; Copyright © 2017, 2018, 2019, 2020 Nicolas Goaziou ;;; Copyright © 2017, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2017, 2018, 2019 Rutger Helling @@ -279,6 +279,64 @@ SoundBlaster/Gravis Ultra Sound card for excellent sound compatibility with older games.") (license license:gpl2+))) +(define-public qtmips + (package + (name "qtmips") + (version "0.7.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cvut/QtMips") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1khvwgqz4h6q6mhbbq0yx43ajz8gx9wmwzs8784vmfrglndbxgax")))) + (build-system cmake-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (invoke "qmake" + (string-append "PREFIX=" (assoc-ref outputs "out")) + "qtmips.pro"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (substitute* "tests/test.sh" + (("qtchooser.*") "")) + (substitute* '("tests/cpu_trap/test.sh" + "tests/registers/test.sh") + (("sub-qtmips_cli") "qtmips_cli")) + (if tests? + (invoke "tests/run-all.sh") + #t))) + (replace 'install + ;; There is no install target. + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (apps (string-append out "/share/applications")) + (icons (string-append out "/share/icons/hicolor"))) + (install-file "qtmips_gui/qtmips_gui" bin) + (install-file "qtmips_cli/qtmips_cli" bin) + (install-file "data/qtmips.desktop" apps) + (install-file "data/icons/qtmips_gui.svg" + (string-append icons "/scalable/apps")) + (install-file "data/icons/qtmips_gui.png" + (string-append icons "/48x48/apps")) + #t)))) + #:tests? #f)) ; test suite wants mips toolchain + (inputs + `(("elfutils" ,elfutils) + ("qtbase" ,qtbase))) + (home-page "https://github.com/cvut/QtMips") + (synopsis "MIPS CPU emulator") + (description "This package contains a MIPS CPU emulator. The simulator +accepts ELF statically linked executables compiled for 32-bit big-endian +MIPS target, targeting mips-linux-gnu or mips-elf.") + (license license:gpl2+))) ; License file says GPL3 + (define-public emulation-station ;; No release for a long time, new commits fix build issues (let ((commit "9cc42adff67946175d2b7e25c6ae69cc374e98a0") From 9f17068241a79af56611542a8833ab24221d0eab Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 13 Aug 2020 19:19:13 +0300 Subject: [PATCH 40/63] gnu: megatools: Update to 1.10.3. * gnu/packages/sync.scm (megatools): Update to 1.10.3. --- gnu/packages/sync.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index 9f1c5e349f..1207acdaae 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner +;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner ;;; Copyright © 2017 Ricardo Wurmus ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2018 Ludovic Courtès @@ -108,7 +108,7 @@ distributions.") (define-public megatools (package (name "megatools") - (version "1.10.2") + (version "1.10.3") (source (origin (method url-fetch) @@ -116,7 +116,7 @@ distributions.") version ".tar.gz")) (sha256 (base32 - "12n32w5mqvpk0hvh9yg9qkj9i0g2wp7jp9rq28bnqs94iv3897hp")))) + "1nwbalc54iz6616liyxfalf5yafwx0iv6cmqgvg4kz9khqscmhcd")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) From 773ba8aec1379c13b8e2fc67f57b751828c8a966 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 13 Aug 2020 19:21:53 +0300 Subject: [PATCH 41/63] gnu: megatools: Install bash completion. * gnu/packages/sync.scm (megatools)[arguments]: Add custom phase to install bash completion file. --- gnu/packages/sync.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index 1207acdaae..b92848e80b 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -118,6 +118,15 @@ distributions.") (base32 "1nwbalc54iz6616liyxfalf5yafwx0iv6cmqgvg4kz9khqscmhcd")))) (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-completions + (lambda* (#:key outputs #:allow-other-keys) + (install-file "contrib/bash-completion/megatools" + (string-append (assoc-ref outputs "out") + "/etc/bash_completion.d")) + #t))))) (native-inputs `(("pkg-config" ,pkg-config) ;; For documentation From 39cc879ae52fdddf0c8c7a92b0ff2338e56741f2 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Thu, 13 Aug 2020 20:14:20 +0200 Subject: [PATCH 42/63] gnu: monero-gui: Update to 0.16.0.3. * gnu/packages/finance.scm (monero-gui): Update to 0.16.0.3. --- gnu/packages/finance.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 1241e19d27..cf52108d40 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -664,7 +664,7 @@ the Monero command line client and daemon.") (define-public monero-gui (package (name "monero-gui") - (version "0.16.0.2") + (version "0.16.0.3") (source (origin (method git-fetch) @@ -673,8 +673,7 @@ the Monero command line client and daemon.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 - "1b1m8vhs0hdh81ysm8s8vfwqskqsihylb51wz16kc98ba40r9gqg")))) + (base32 "0iwjp8x5swy8i8pzrlm5v55awhm54cf48pm1vz98lcq361lhfzk6")))) (build-system qt-build-system) (native-inputs `(("monero-source" ,(package-source monero)) From 8b3b19881b71f2031372736b9071b0bbb1c184d2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 14 Aug 2020 14:27:27 +0300 Subject: [PATCH 43/63] gnu: mcron: Update to 1.2.0. * gnu/packages/guile-xyz.scm (mcron): Update to 1.2.0. --- gnu/packages/guile-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 2f5e745df6..ec9be41c92 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -2344,14 +2344,14 @@ is no support for parsing block and inline level HTML.") (define-public mcron (package (name "mcron") - (version "1.1.4") + (version "1.2.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/mcron/mcron-" version ".tar.gz")) (sha256 (base32 - "1521w3h33bhdlg6qc66sq4dwv3qsx8r8x6srq4ca6kaahy6dszw8")))) + "1midrn15d5kqy4zd2029bj1db6gnfhxg8mcgfy4bkp5p9nl4v4rd")))) (build-system gnu-build-system) (arguments '(#:phases (modify-phases %standard-phases From 9c814c337946f5e70b0dbe45fb54f451b06fe0b2 Mon Sep 17 00:00:00 2001 From: EuAndreh via Guix-patches via Date: Sat, 8 Aug 2020 06:24:21 -0300 Subject: [PATCH 44/63] gnu: Add yeganesh. * gnu/packages/wm.scm (yeganesh): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/wm.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index a1036654aa..28c3a3bac6 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2020 Boris A. Dekshteyn ;;; Copyright © 2020 Marcin Karpezo +;;; Copyright © 2020 EuAndreh ;;; ;;; This file is part of GNU Guix. ;;; @@ -743,6 +744,29 @@ is also usable with any other window manager. While xmobar is written in Haskell, no knowledge of the language is required to install and use it.") (license license:bsd-3))) +(define-public yeganesh + (package + (name "yeganesh") + (version "2.4") + (source + (origin + + (method url-fetch) + (uri (string-append "http://dmwit.com/yeganesh/yeganesh-" version ".tar.gz")) + (sha256 + (base32 "04djfyjab3c5y9z9x8zd0xcx0jyy35zq7cl9ddr4ppf6k5ky6iky")))) + (build-system haskell-build-system) + (inputs + `(("ghc-strict" ,ghc-strict) + ("ghc-xdg-basedir" ,ghc-xdg-basedir))) + (home-page "http://dmwit.com/yeganesh/") + (synopsis "Small wrapper around dmenu") + (description "@code{yeganesh} is a small wrapper around demnu. Like +dmenu, it accepts input on stdin and writes the chosen result on stdout. +Unlike dmenu, it mangles the input before it presents its choices. In +particular, it displays commonly-chosen options before uncommon ones.") + (license license:bsd-3))) + (define-public ghc-xmonad-contrib (package (name "ghc-xmonad-contrib") From 222040095727d1ebb23a7f3755c7908c52eff381 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 14 Aug 2020 14:44:02 +0200 Subject: [PATCH 45/63] gnu: Add r-rcppziggurat. * gnu/packages/cran.scm (r-rcppziggurat): New variable. --- gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 11dba4e047..5b94d7572e 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22925,3 +22925,32 @@ Compared to other approaches @code{cpp11} strives to be safe against long jumps from the C API as well as C++ exceptions, conform to normal R function semantics and supports interaction with @code{ALTREP} vectors.") (license license:expat))) + +(define-public r-rcppziggurat + (package + (name "r-rcppziggurat") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (cran-uri "RcppZiggurat" version)) + (sha256 + (base32 + "0zmr3nvm5j0fpwxk3x9kxpwqbr66ldfvd10zy8xlgjbslz9myvfv")))) + (properties `((upstream-name . "RcppZiggurat"))) + (build-system r-build-system) + (propagated-inputs + `(("r-rcpp" ,r-rcpp) + ("r-rcppgsl" ,r-rcppgsl))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page "https://cran.r-project.org/web/packages/RcppZiggurat/") + (synopsis "Rcpp integration of different \"Ziggurat\" normal RNG implementations") + (description + "The Ziggurat generator for normally distributed random numbers, +originally proposed by Marsaglia and Tsang (2000, +@url{https://doi.org/10.18637/jss.v005.i08}) has been improved upon a few +times starting with Leong et al (2005, +@url{https://doi.org/10.18637/jss.v012.i07}). This package provides an +aggregation for comparing different implementations in order to provide a +'faster but good enough' alternative for use with R and C++ code.") + (license license:gpl2+))) From a86f51dccaa7292630e4a2d91330f3e7f67ecac5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 14 Aug 2020 14:44:23 +0200 Subject: [PATCH 46/63] gnu: Add r-rfast. * gnu/packages/cran.scm (r-rfast): New variable. --- gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 5b94d7572e..50428f23a5 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22954,3 +22954,29 @@ times starting with Leong et al (2005, aggregation for comparing different implementations in order to provide a 'faster but good enough' alternative for use with R and C++ code.") (license license:gpl2+))) + +(define-public r-rfast + (package + (name "r-rfast") + (version "1.9.9") + (source + (origin + (method url-fetch) + (uri (cran-uri "Rfast" version)) + (sha256 + (base32 + "18m8xhg24kygwhq7avdp1hibilicb5wppi2wdmc36fkqljc274y0")))) + (properties `((upstream-name . "Rfast"))) + (build-system r-build-system) + (propagated-inputs + `(("r-rcpp" ,r-rcpp) + ("r-rcpparmadillo" ,r-rcpparmadillo) + ("r-rcppziggurat" ,r-rcppziggurat))) + (home-page "https://github.com/RfastOfficial/Rfast") + (synopsis "Collection of efficient and fast R functions") + (description + "This package provides a collection of fast (utility) functions for data +analysis. Column- and row- wise means, medians, variances, minimums, +maximums, many t, F and G-square tests, many regressions (normal, logistic, +Poisson), are some of the many fast functions.") + (license license:gpl2+))) From 35b1ba704aa6f69462e0d34e3e45c034706c35ff Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 14 Aug 2020 14:44:40 +0200 Subject: [PATCH 47/63] gnu: Add r-clusterr. * gnu/packages/cran.scm (r-clusterr): New variable. --- gnu/packages/cran.scm | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 50428f23a5..ba15f40680 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22980,3 +22980,49 @@ analysis. Column- and row- wise means, medians, variances, minimums, maximums, many t, F and G-square tests, many regressions (normal, logistic, Poisson), are some of the many fast functions.") (license license:gpl2+))) + +(define-public r-clusterr + (package + (name "r-clusterr") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "ClusterR" version)) + (sha256 + (base32 + "1ky172bk15a78hky77vl60j7c81nq2495sxjrv53is25nkac7sjm")))) + (properties `((upstream-name . "ClusterR"))) + (build-system r-build-system) + (propagated-inputs + `(("r-ggplot2" ,r-ggplot2) + ("r-gmp" ,r-gmp) + ("r-gtools" ,r-gtools) + ("r-rcpp" ,r-rcpp) + ("r-rcpparmadillo" ,r-rcpparmadillo))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page "https://github.com/mlampros/ClusterR") + (synopsis "Clustering") + (description + "This package provides Gaussian mixture models, k-means, +mini-batch-kmeans, k-medoids and affinity propagation clustering with the +option to plot, validate, predict (new data) and estimate the optimal number +of clusters. The package takes advantage of @code{RcppArmadillo} to speed up +the computationally intensive parts of the functions. For more information, +see + +@enumerate +@item \"Clustering in an Object-Oriented Environment\" by Anja Struyf, Mia + Hubert, Peter Rousseeuw (1997), Journal of Statistical Software, + @url{https://doi.org/10.18637/jss.v001.i04}; +@item \"Web-scale k-means clustering\" by D. Sculley (2010), ACM Digital + Library, @url{https://doi.org/10.1145/1772690.1772862}; +@item \"Armadillo: a template-based C++ library + for linear algebra\" by Sanderson et al (2016), The Journal of Open Source + Software, @url{https://doi.org/10.21105/joss.00026}; +@item \"Clustering by Passing Messages Between Data Points\" by Brendan + J. Frey and Delbert Dueck, Science 16 Feb 2007: Vol. 315, Issue 5814, + pp. 972-976, @url{https://doi.org/10.1126/science.1136800}. +@end enumerate +") + (license license:gpl3))) From ba4e73322eaa09333573c1d45182a54d914477d4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 14 Aug 2020 14:45:00 +0200 Subject: [PATCH 48/63] gnu: Add r-spectrum. * gnu/packages/cran.scm (r-spectrum): New variable. --- gnu/packages/cran.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index ba15f40680..f382d1f9b2 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -23026,3 +23026,36 @@ see @end enumerate ") (license license:gpl3))) + +(define-public r-spectrum + (package + (name "r-spectrum") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "Spectrum" version)) + (sha256 + (base32 + "0n38d360azkck6vvhr771zsh0gbvd9qsf9ygg5r18vhz0pb1xcfw")))) + (properties `((upstream-name . "Spectrum"))) + (build-system r-build-system) + (propagated-inputs + `(("r-clusterr" ,r-clusterr) + ("r-diptest" ,r-diptest) + ("r-ggplot2" ,r-ggplot2) + ("r-rfast" ,r-rfast))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page "https://cran.r-project.org/web/packages/Spectrum/") + (synopsis "Fast adaptive spectral clustering for single and multi-view data") + (description + "This package provides a self-tuning spectral clustering method for +single or multi-view data. Spectrum uses a new type of adaptive density aware +kernel that strengthens connections in the graph based on common nearest +neighbours. It uses a tensor product graph data integration and diffusion +procedure to integrate different data sources and reduce noise. Spectrum uses +either the eigengap or multimodality gap heuristics to determine the number of +clusters. The method is sufficiently flexible so that a wide range of +Gaussian and non-Gaussian structures can be clustered with automatic selection +of K.") + (license license:agpl3+))) From 4ca80a2b95bdcc4034c4189b8d43a63d094ef3bd Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 14 Aug 2020 15:32:23 +0200 Subject: [PATCH 49/63] gnu: singularity: Replace references to grep. * gnu/packages/linux.scm (singularity)[arguments]: Replace references to grep. --- gnu/packages/linux.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 339796dde5..27ad8873a7 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -12,7 +12,7 @@ ;;; Copyright © 2016 Raymond Nicholson ;;; Copyright © 2016 Mathieu Lirzin ;;; Copyright © 2016, 2018, 2019, 2020 Nicolas Goaziou -;;; Copyright © 2016, 2018, 2019 Ricardo Wurmus +;;; Copyright © 2016, 2018, 2019, 2020 Ricardo Wurmus ;;; Copyright © 2016 David Craven ;;; Copyright © 2016 John Darrington ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Marius Bakke @@ -4027,6 +4027,8 @@ thanks to the use of namespaces.") "libexec/bootstrap-scripts/functions" "libexec/bootstrap-scripts/post.sh" "libexec/functions") + (("\\| grep ") + (string-append "| " (which "grep") " ")) (("egrep ") (string-append (which "egrep") " "))) #t)) From 2759d4ca74ff4846b79c406c000b64dc2f2ed0ac Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 14 Aug 2020 16:08:17 +0200 Subject: [PATCH 50/63] gnu: opencv: Fix build with new version of jasper. * gnu/packages/image-processing.scm (opencv): Fix build failure. [arguments]<#:phases>[fix-jasper]: New phase. Signed-off-by: Danny Milosavljevic --- gnu/packages/image-processing.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index 52e0311943..b93ad161db 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -358,6 +358,14 @@ integrates with various databases on GUI toolkits such as Qt and Tk.") "--strip-components=1" "-C" "../opencv-contrib"))) + (add-after 'unpack 'fix-jasper + (lambda _ + ;; See . + (substitute* "modules/imgcodecs/src/grfmt_jpeg2000.cpp" + (("&jas_matrix_get") + "jas_matrix_getref")) + #t)) + (add-after 'set-paths 'add-ilmbase-include-path (lambda* (#:key inputs #:allow-other-keys) ;; OpenEXR propagates ilmbase, but its include files do not appear From 58410eb4025881d28a4c3aa1f92018b94b7f3032 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 14 Aug 2020 17:51:20 +0200 Subject: [PATCH 51/63] Revert "gnu: opencv: Fix build with new version of jasper." This reverts commit 2759d4ca74ff4846b79c406c000b64dc2f2ed0ac. The substitution, it does nothing! (We already applied an upstream patch). --- gnu/packages/image-processing.scm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index b93ad161db..52e0311943 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -358,14 +358,6 @@ integrates with various databases on GUI toolkits such as Qt and Tk.") "--strip-components=1" "-C" "../opencv-contrib"))) - (add-after 'unpack 'fix-jasper - (lambda _ - ;; See . - (substitute* "modules/imgcodecs/src/grfmt_jpeg2000.cpp" - (("&jas_matrix_get") - "jas_matrix_getref")) - #t)) - (add-after 'set-paths 'add-ilmbase-include-path (lambda* (#:key inputs #:allow-other-keys) ;; OpenEXR propagates ilmbase, but its include files do not appear From b73ca5a53efc29bd63a0baec2fde58b86d8978e4 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 14 Aug 2020 17:53:07 +0200 Subject: [PATCH 52/63] gnu: icedove: Update to 68.11.0. * gnu/packages/gnuzilla.scm (icedove): Update to 68.11.0. --- gnu/packages/gnuzilla.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 8923836437..65e79f4ef1 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -1139,11 +1139,11 @@ standards of the IceCat project.") (cpe-version . ,(first (string-split version #\-))))))) ;; Update this together with icecat! -(define %icedove-build-id "20200630000000") ;must be of the form YYYYMMDDhhmmss +(define %icedove-build-id "20200726000000") ;must be of the form YYYYMMDDhhmmss (define-public icedove (package (name "icedove") - (version "68.10.0") + (version "68.11.0") (source icecat-source) (properties `((cpe-name . "thunderbird_esr"))) @@ -1429,7 +1429,7 @@ standards of the IceCat project.") ;; in the Thunderbird release tarball. We don't use the release ;; tarball because it duplicates the Icecat sources and only adds the ;; "comm" directory, which is provided by this repository. - ,(let ((changeset "6a7c26eb22bfe18295497c720a73e24b29b0604e")) + ,(let ((changeset "a247645d951bcedb356a0d9f273e878a7d4d2180")) (origin (method hg-fetch) (uri (hg-reference @@ -1438,7 +1438,7 @@ standards of the IceCat project.") (file-name (string-append "thunderbird-" version "-checkout")) (sha256 (base32 - "1yd73ig2jmzzq9c3ynqav4kh8jiv31xx7vs518b3w1yvmcpj5xsy"))))) + "0nf7ic1sw7yawnwrxwm3b4yl2cn4hp8szzh0xd462s1hjm59ksjl"))))) ("autoconf" ,autoconf-2.13) ("cargo" ,rust "cargo") ("clang" ,clang) From fb6b9f3b72d110c825f01823b9d00573fde68b0f Mon Sep 17 00:00:00 2001 From: Martin Becze Date: Fri, 14 Aug 2020 11:58:55 -0500 Subject: [PATCH 53/63] gnu: Add guile-srfi-89. * gnu/packages/guile-xyz.scm (guile-srfi-89): New varible. Signed-off-by: Leo Famulari --- gnu/packages/guile-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index ec9be41c92..4526ef279d 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -2778,6 +2778,30 @@ pre-alpha code.") (define-public guile3.0-gi (deprecated-package "guile3.0-gi" guile-gi)) +(define-public guile-srfi-89 + (package + (name "guile-srfi-89") + (version "0.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/mjbecze/guile-srfi-89.git") + (commit version))) + (sha256 + (base32 + "1981c0rrzxqx3md9jx8ir7j3m2mzg9m72b33p5jvw36zirbzpl20")) + (file-name (git-file-name name version)))) + (build-system guile-build-system) + (native-inputs + `(("guile" ,guile-3.0))) + (home-page "https://gitlab.com/mjbecze/guile-srfi-89") + (synopsis "Hygienic implementation of SRFI-89 for Guile") + (description + "This package provides SRFI-89 optional positional and named +parameters, which define* and lambda* special forms") + (license license:gpl3+))) + (define-public guile-srfi-159 (let ((commit "1bd98abda2ae4ef8f36761a167903e55c6bda7bb") (revision "0")) From 8729c8be1b8403322ae80115c2daf0c8803223e8 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Mon, 27 Jul 2020 13:10:29 -0400 Subject: [PATCH 54/63] gnu: libplist: Update to 2.2.0. * gnu/packages/libusb.scm (libplist): Update to 2.2.0. [source]: Use 'url-fetch' instead of 'git-fetch'. [home-page]: Update URL. --- gnu/packages/libusb.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index 7b13d98d95..61707490ad 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -351,16 +351,15 @@ I2C and SPI devices attached to the USB Hub.") (define-public libplist (package (name "libplist") - (version "2.1.0") + (version "2.2.0") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/libimobiledevice/libplist") - (commit version))) - (file-name (git-file-name name version)) + (method url-fetch) + (uri (string-append "https://github.com/libimobiledevice" + "/libplist/releases/download/" version + "/libplist-" version ".tar.bz2")) (sha256 - (base32 "02vraf4j46bp746s0gz7vga2gv2dy3zd1v1bsy9x8algg9fpcb7n")))) + (base32 "16mxdwaw01x9a3adf0yj3bqjc7afpf2vm1n5hkgj3i3y6zjifmaa")))) (build-system gnu-build-system) (arguments `(;; Tests fail randomly when run in parallel because several of them write @@ -375,7 +374,7 @@ I2C and SPI devices attached to the USB Hub.") ("libtool" ,libtool) ("pkg-config" ,pkg-config) ("python-cython" ,python-cython))) ; to build Python bindings - (home-page "https://www.libimobiledevice.org/") + (home-page "https://libimobiledevice.org/") (synopsis "C library to handle Apple Property List files") (description "This package provides a small portable C library to handle Apple Property List files in binary or XML.") From bea887c8e8b2b836a5a97d1460cebc14f58eb7a6 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Mon, 27 Jul 2020 13:12:51 -0400 Subject: [PATCH 55/63] gnu: libusbmuxd: Update to 2.0.2. * gnu/packages/libusb.scm (libusbmuxd): Update to 2.0.2. [source, home-page]: Update URLs. --- gnu/packages/libusb.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index 61707490ad..8dcc38a772 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -383,19 +383,20 @@ Apple Property List files in binary or XML.") (define-public libusbmuxd (package (name "libusbmuxd") - (version "1.0.10") + (version "2.0.2") (source (origin (method url-fetch) - (uri (string-append "https://www.libimobiledevice.org/downloads/" - "libusbmuxd-" version ".tar.bz2")) + (uri (string-append "https://github.com/libimobiledevice" + "/libusbmuxd/releases/download/" version + "/libusbmuxd-" version ".tar.bz2")) (sha256 (base32 - "1wn9zq2224786mdr12c5hxad643d29wg4z6b7jn888jx4s8i78hs")))) + "084vg570g1qb506jd7axg6c080mfsmbf52v3lngzlknsaf2q0snc")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("libplist" ,libplist))) - (home-page "https://www.libimobiledevice.org/") + (home-page "https://libimobiledevice.org/") (synopsis "Library to multiplex connections from and to iOS devices") (description "This package provides a client library to multiplex connections from and to iOS devices by connecting to a socket provided by a From 83503258ecb4d06db13c6a4f18b0ac4bc52d80c4 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Mon, 27 Jul 2020 13:23:56 -0400 Subject: [PATCH 56/63] gnu: libimobiledevice: Update to 1.3.0. * gnu/packages/libusb.scm (%libimobiledevice-patches): Delete variable. (libimobiledevice): Update to 1.3.0. [source, home-page]: Update URLs. [arguments]: Delete 'force-bootstrap phase. Add argument to detect the correct Python binary. [propagated-inputs]: Replace openssl-1.0 with openssl. [native-inputs]: Remove autoconf, automake, and libtool. --- gnu/packages/libusb.scm | 49 +++++++++-------------------------------- 1 file changed, 10 insertions(+), 39 deletions(-) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index 8dcc38a772..19f3b81c6e 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -403,61 +403,32 @@ connections from and to iOS devices by connecting to a socket provided by a @code{usbmuxd} daemon.") (license license:lgpl2.1+))) -;; These patches are needed to build with Python 3.8. -(define %libimobiledevice-patches - (list (origin - (method url-fetch) - (uri (string-append "https://github.com/libimobiledevice/libimobiledevice" - "/commit/1ff3448d2e27f1bac8d2f0af8b8e952854860278.patch")) - (file-name "libimobiledevice-python-config.patch") - (sha256 - (base32 - "1mkwhp8vvhajij29jk3w4rkgcfh8d8waf908drh3076k70hb6i8y"))) - (origin - (method url-fetch) - (uri (string-append "https://github.com/libimobiledevice/libimobiledevice" - "/commit/eea4f1be9107c8ab621fd71460e47d0d38e55d71.patch")) - (file-name "libimobiledevice-python-3.8-compat.patch") - (sha256 - (base32 - "1zz8v7kgwyq5ck1qp03l29pcmljygnjwls9d6q28nv5pkwa6848w"))))) - (define-public libimobiledevice (package (name "libimobiledevice") - (version "1.2.0") + (version "1.3.0") (source (origin (method url-fetch) - (uri (string-append "https://www.libimobiledevice.org/downloads/" - "libimobiledevice-" version ".tar.bz2")) - ;; Note: Remove the 'force-bootstrap' phase and the autoconf - ;; inputs below when removing these patches. - (patches %libimobiledevice-patches) + (uri (string-append "https://github.com/libimobiledevice" + "/libimobiledevice/releases/download/" + version "/libimobiledevice-" version + ".tar.bz2")) (sha256 (base32 - "0dqhy4qwj30mw8pwckvjmgnj1qqrh6p8c6jknmhvylshhzh0ssvq")))) + "1xmhfnypg6j7shl73wfkrrn4mj9dh8qzaj3258q9zkb5cc669wjk")))) (build-system gnu-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (add-before 'bootstrap 'force-bootstrap - (lambda _ - (delete-file "configure") - #t))))) + '(#:configure-flags '("PYTHON_VERSION=3"))) (propagated-inputs - `(("openssl" ,openssl-1.0) + `(("openssl" ,openssl) ("libplist" ,libplist) ("libusbmuxd" ,libusbmuxd))) (inputs `(("python" ,python))) (native-inputs `(("pkg-config" ,pkg-config) - ("python-cython" ,python-cython) - - ;; These are required because we patch and bootstrap the build system. - ("autoconf" ,autoconf) - ("automake" ,automake) - ("libtool" ,libtool))) - (home-page "https://www.libimobiledevice.org/") + ("python-cython" ,python-cython))) + (home-page "https://libimobiledevice.org/") (synopsis "Protocol library and tools to communicate with Apple devices") (description "libimobiledevice is a software library that talks the protocols to support Apple devices. It allows other software to easily access From c0d0688edbf593db786d6f525c4e207e1d2403a5 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Mon, 27 Jul 2020 13:34:35 -0400 Subject: [PATCH 57/63] gnu: ifuse: Update to 1.1.4. * gnu/packages/libusb.scm (ifuse): Update to 1.1.4. [source, home-page]: Update URL. --- gnu/packages/libusb.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index 19f3b81c6e..324adce001 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -441,21 +441,22 @@ music and video to the device.") (define-public ifuse (package (name "ifuse") - (version "1.1.3") + (version "1.1.4") (source (origin (method url-fetch) - (uri (string-append "https://www.libimobiledevice.org/downloads/" - "ifuse-" version ".tar.bz2")) + (uri (string-append "https://github.com/libimobiledevice" + "/ifuse/releases/download/" version + "/ifuse-" version ".tar.bz2")) (sha256 (base32 - "1p9a4n36jb194cnp6v57cz2bggwbywaz8pbpb95ch83pzdkdx257")))) + "11wdv44qwia77sh38n36809ysaib52rwd4fvqwb5ybsbz4p70l1m")))) (inputs `(("fuse" ,fuse) ("libimobiledevice" ,libimobiledevice))) (native-inputs `(("pkg-config" ,pkg-config))) (build-system gnu-build-system) - (home-page "https://www.libimobiledevice.org/") + (home-page "https://libimobiledevice.org/") (synopsis "Mount iOS devices") (description "This package provides @command{ifuse}, a command to mount iOS devices and access their contents.") From 4de6f4d7a5093caba7be6d7316a2a4fd153ad350 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Mon, 27 Jul 2020 13:36:36 -0400 Subject: [PATCH 58/63] gnu: usbmuxd: Update to 1.1.1. * gnu/packages/libusb.scm (usbmuxd): Update to 1.1.1. [source, home-page]: Update URLs. --- gnu/packages/libusb.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index 324adce001..5ebc066ac8 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -465,14 +465,15 @@ iOS devices and access their contents.") (define-public usbmuxd (package (name "usbmuxd") - (version "1.1.0") + (version "1.1.1") (source (origin (method url-fetch) - (uri (string-append "https://www.libimobiledevice.org/downloads/" - "usbmuxd-" version ".tar.bz2")) + (uri (string-append "https://github.com/libimobiledevice" + "/usbmuxd/releases/download/" version + "/usbmuxd-" version ".tar.bz2")) (sha256 (base32 - "0bdlc7a8plvglqqx39qqampqm6y0hcdws76l9dffwl22zss4i29y")))) + "17idzpxrvkbff0jpynf35df95lh7wsm8vndynp63bxib2w09gv60")))) (inputs `(("libplist" ,libplist) ("libusb" ,libusb) @@ -480,7 +481,7 @@ iOS devices and access their contents.") (native-inputs `(("pkg-config" ,pkg-config))) (build-system gnu-build-system) - (home-page "https://www.libimobiledevice.org/") + (home-page "https://libimobiledevice.org/") (synopsis "Multiplex connections over USB to an iOS device") (description "This package provides the @code{usbmuxd} daemon which multiplexes connections over USB to an iOS device. To From 2b4dc589e9ee3d9f65ecc0a4a598283771d4f456 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 15 Aug 2020 02:25:17 +0200 Subject: [PATCH 59/63] gnu: acpica: Update to 20200717. * gnu/packages/admin.scm (acpica): Update to 20200717. --- gnu/packages/admin.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index f0bd22aa19..e56ae24905 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1859,7 +1859,7 @@ module slots, and the list of I/O ports (e.g. serial, parallel, USB).") (define-public acpica (package (name "acpica") - (version "20200528") + (version "20200717") (source (origin (method url-fetch) (uri (string-append @@ -1867,7 +1867,7 @@ module slots, and the list of I/O ports (e.g. serial, parallel, USB).") version ".tar.gz")) (sha256 (base32 - "01ajxnz9dpnvdbib7yv20dw21a1yyfgwiw3whg0xi57cf4app2md")))) + "0jyy71szjr40c8v40qqw6yh3gfk8d6sl3nay69zrn5d88i3r0jca")))) (build-system gnu-build-system) (native-inputs `(("flex" ,flex) ("bison" ,bison))) From 492ad09f413e477ec7eea22a52424472498c4f9e Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 15 Aug 2020 03:16:16 +0200 Subject: [PATCH 60/63] gnu: gfbgraph: Remove obsolete configure flag. * gnu/packages/gnome.scm (gfbgraph)[arguments]: Build gtk-doc documentation. [native-inputs]: Add gtk-doc. --- gnu/packages/gnome.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index dce9639cb8..6c7406d3f1 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -8655,14 +8655,14 @@ compiled.") "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs")))) (build-system glib-or-gtk-build-system) (arguments - `(#:tests? #f ; Tests appear to require the network. - ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input. - #:configure-flags '("--disable-gtk-doc" - "--disable-static" + `(#:tests? #f ; tests appear to require the network + #:configure-flags '("--disable-static" + "--enable-gtk-doc" "--enable-introspection"))) (native-inputs - `(("pkg-config" ,pkg-config) - ("gobject-introspection" ,gobject-introspection))) + `(("gobject-introspection" ,gobject-introspection) + ("gtk-doc" ,gtk-doc) + ("pkg-config" ,pkg-config))) (inputs `(("json-glib" ,json-glib) ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") From 556e33c80548c014ab1e277a2404d5b6bea1db8a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 15 Aug 2020 03:19:35 +0200 Subject: [PATCH 61/63] gnu: gfbgraph: Update to 0.2.4. * gnu/packages/gnome.scm (gfbgraph): Update to 0.2.4. [native-inputs]: Add autoconf, automake, libtool, and which. --- gnu/packages/gnome.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 6c7406d3f1..dffcd697d7 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -8643,7 +8643,7 @@ compiled.") (define-public gfbgraph (package (name "gfbgraph") - (version "0.2.3") + (version "0.2.4") (source (origin (method url-fetch) (uri (string-append @@ -8652,7 +8652,7 @@ compiled.") "gfbgraph-" version ".tar.xz")) (sha256 (base32 - "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs")))) + "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0")))) (build-system glib-or-gtk-build-system) (arguments `(#:tests? #f ; tests appear to require the network @@ -8662,7 +8662,13 @@ compiled.") (native-inputs `(("gobject-introspection" ,gobject-introspection) ("gtk-doc" ,gtk-doc) - ("pkg-config" ,pkg-config))) + ("pkg-config" ,pkg-config) + + ;; The 0.2.4 ‘release’ tarball isn't bootstrapped. + ("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("which" ,which))) (inputs `(("json-glib" ,json-glib) ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") From 0d0c51857b575f881fad4890f5382bb09d9dc7f4 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 15 Aug 2020 03:23:54 +0200 Subject: [PATCH 62/63] gnu: man-pages: Update to 5.08. * gnu/packages/man.scm (man-pages): Update to 5.08. --- gnu/packages/man.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index 21d7ba63f6..1335c24fa0 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -164,7 +164,7 @@ the traditional flat-text whatis databases.") (define-public man-pages (package (name "man-pages") - (version "5.07") + (version "5.08") (source (origin (method url-fetch) @@ -174,7 +174,7 @@ the traditional flat-text whatis databases.") (string-append "mirror://kernel.org/linux/docs/man-pages/Archive/" "man-pages-" version ".tar.xz"))) (sha256 - (base32 "13b3q7c67r0wkla4pdihl1qh09k67ms2z5jgzfqgpdqqy6mgziwd")))) + (base32 "1xzp3f6wvw3wplk1a1x09zfv0jp0pdc9wh95czndh3h8z0qwv9yf")))) (build-system gnu-build-system) (arguments '(#:phases (modify-phases %standard-phases (delete 'configure)) From 1a275962302fa18e54da790e89e2c826e6b60b53 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sat, 15 Aug 2020 08:09:25 +0300 Subject: [PATCH 63/63] gnu: emacs-esup: Update to 0.7. * gnu/packages/emacs-xyz.scm (emacs-esup): Update to 0.7. [arguments]: Add check phase after install. --- gnu/packages/emacs-xyz.scm | 51 ++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3fc08971fe..d5596baa9b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -14887,29 +14887,36 @@ macro takes a first argument (whose value must be an alist) and a body.") (license license:gpl3+))) (define-public emacs-esup - (let ((commit "a589005a9a888537deef94d6fe38a9b8790c97c7") - (revision "1")) - (package - (name "emacs-esup") - (version (string-append "0.6" "-" revision "." - (string-take commit 7))) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jschaf/esup") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "04lxmd0h7mfjjl0qghrycgff0vcv950j1wqv0dbkr61jxp64n5fv")))) - ;; TODO: Add tests - (build-system emacs-build-system) - (home-page "https://github.com/jschaf/esup") - (synopsis "Emacs start up profiler") - (description "Benchmark Emacs Startup time without ever leaving + (package + (name "emacs-esup") + (version "0.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jschaf/esup") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "100w28n3qb3s5b18vvqpwmijdjnjazawn38i0pjbpxz5llhqgl1g")))) + (build-system emacs-build-system) + (native-inputs + `(("emacs-noflet" ,emacs-noflet) + ("emacs-el-mock" ,emacs-el-mock))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'check + (lambda* (#:key inputs #:allow-other-keys) + (invoke "emacs" "--batch" "-L" "." + "-l" "test/esup-test.el" + "-f" "ert-run-tests-batch-and-exit")))))) + (home-page "https://github.com/jschaf/esup") + (synopsis "Emacs start up profiler") + (description "Benchmark Emacs Startup time without ever leaving your Emacs.") - (license license:gpl2+)))) + (license license:gpl2+))) (define-public emacs-restart-emacs (let ((commit "9aa90d3df9e08bc420e1c9845ee3ff568e911bd9")