mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: openscad: Update to 2021.01 [maybe fixes TALOS-2020-1222, TALOS-2020-1223].
TALOS-2020-1222 has yet to be disclosed and has no known CVE number. TALOS-2020-1223 has CVE-2020-28599 assigned. * gnu/packages/engineering.scm (openscad): Update to 2021.01. [patches]: Remove. Boost 1.72 is supported now upstream. [arguments]: In replacement 'check phase, disable some tests requiring experimental "lazy-union" feature. Also disable PDF-related tests requiring ghostscript and failing either way. * gnu/local.mk (dist_patch_DATA): Remove patch. * gnu/packages/patches/openscad-parser-boost-1.72.patch: Ditto.
This commit is contained in:
parent
3d5c5cf611
commit
3505d86502
3 changed files with 13 additions and 32 deletions
|
@ -2476,7 +2476,7 @@ specification can be downloaded at @url{http://3mf.io/specification/}.")
|
|||
(define-public openscad
|
||||
(package
|
||||
(name "openscad")
|
||||
(version "2019.05")
|
||||
(version "2021.01")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -2484,9 +2484,7 @@ specification can be downloaded at @url{http://3mf.io/specification/}.")
|
|||
".src.tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0nbgk5q5pgnw53la0kccdcpz2f4xf6d6076rkn0q08z57hkc85ha"))
|
||||
(patches (search-patches
|
||||
"openscad-parser-boost-1.72.patch"))))
|
||||
"0n83szr88h8snccjrslr96mgw3f65x3sq726n6x5vxp5wybw4f6r"))))
|
||||
(build-system cmake-build-system)
|
||||
(inputs
|
||||
`(("boost" ,boost)
|
||||
|
@ -2529,7 +2527,17 @@ specification can be downloaded at @url{http://3mf.io/specification/}.")
|
|||
(with-directory-excursion "tests"
|
||||
(invoke "cmake" ".")
|
||||
(invoke "make")
|
||||
(invoke "ctest"))
|
||||
(invoke "ctest" "--exclude-regex"
|
||||
(string-join
|
||||
(list
|
||||
"astdumptest_allexpressions"
|
||||
"echotest_function-literal-compare"
|
||||
"echotest_function-literal-tests"
|
||||
"echotest_allexpressions"
|
||||
"lazyunion-*"
|
||||
"pdfexporttest_centered"
|
||||
"pdfexporttest_simple-pdf")
|
||||
"|")))
|
||||
;; strip python test files since lib dir ends up in out/share
|
||||
(for-each delete-file
|
||||
(find-files "libraries/MCAD" ".*\\.py"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue