From 7f101e7ceb869882b9a959cb7801aea64c26704d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 4 Aug 2020 10:07:47 +0300 Subject: gnu: catch-framework2: Update to 2.13.0. * gnu/packages/check.scm (catch-framework2): Update to 2.13.0. * gnu/packages/engineering.scm (libfive)[arguments]: Adjust custom 'find-catch phase for updated include path. * gnu/packages/xdisorg.scm (j4-dmenu-desktop)[arguments]: Add custom 'find-catch phase to search for updated catch2 include directory. --- gnu/packages/check.scm | 6 +++--- gnu/packages/engineering.scm | 2 +- gnu/packages/xdisorg.scm | 7 ++++++- 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index eb12383887..e9fecff03d 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2015, 2017 Cyril Roelandt ;;; Copyright © 2015 Federico Beffa ;;; Copyright © 2015 Andreas Enge -;;; Copyright © 2015, 2016, 2018, 2019 Efraim Flashner +;;; Copyright © 2015, 2016, 2018, 2019, 2020 Efraim Flashner ;;; Copyright © 2016, 2017 Leo Famulari ;;; Copyright © 2016 Christopher Allan Webber ;;; Copyright © 2016, 2017 Danny Milosavljevic @@ -286,7 +286,7 @@ a multi-paradigm automated test framework for C++ and Objective-C.") (define-public catch-framework2 (package (name "catch2") - (version "2.1.2") + (version "2.13.0") (home-page "https://github.com/catchorg/Catch2") (source (origin (method git-fetch) @@ -296,7 +296,7 @@ a multi-paradigm automated test framework for C++ and Objective-C.") (file-name (git-file-name name version)) (sha256 (base32 - "14vcckqmbydjsg40ngi6iv999zimysh2l7fmrqj1d7xl990qz233")))) + "0i4w0c9280a5fyi00mvvf13wlnfzyifr487n1iyr30zvvj5s5f1h")))) (build-system cmake-build-system) (inputs `(("python" ,python-wrapper))) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index b34eb415d5..a227fdbdad 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -782,7 +782,7 @@ fonts to gEDA.") (lambda* (#:key inputs #:allow-other-keys) (setenv "CPLUS_INCLUDE_PATH" (string-append (assoc-ref inputs "catch") - "/include/catch:" + "/include/catch2:" (or (getenv "CPLUS_INCLUDE_PATH") ""))) #t))))) (native-inputs diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 20702c3a4f..3baeea32df 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2015 Florian Paul Schmidt ;;; Copyright © 2016 Christopher Allan Webber ;;; Copyright © 2016, 2018 Ricardo Wurmus -;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner +;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner ;;; Copyright © 2016 Leo Famulari ;;; Copyright © 2016 Alex Kost ;;; Copyright © 2016, 2017, 2019, 2020 Marius Bakke @@ -2470,6 +2470,11 @@ create layout indicator widgets.") `(#:configure-flags '("-DWITH_GIT_CATCH=off") #:phases (modify-phases %standard-phases + (add-after 'unpack 'find-catch + (lambda _ + (substitute* "CMakeLists.txt" + (("PATH_SUFFIXES catch") "PATH_SUFFIXES catch2")) + #t)) (replace 'check (lambda _ (invoke "./j4-dmenu-tests" "exclude:SearchPath/XDG_DATA_HOME")))))) -- cgit v1.2.3