Package: openscad / 2021.01-9

Metadata

Package Version Patches format
openscad 2021.01-9 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
patch out test for mcad.patch | (download)

tests/CMakeLists.txt | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 patch out test for mcad

don t override OPENSCADPATH.patch | (download)

tests/CMakeLists.txt | 2 1 + 1 - 0 !
tests/CTestCustom.template | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 don't override openscadpath

the debian tests scripts already set an adaequate OPENSCADPATH; the
overrides in the test scripts would set that wrongly again (because
openscad and mcad are not built in the same tree in debian)

for a cleaner solution, the library path should be respected
unconditionally, removing the necessity for debian to specify a path at
all.

Report Debian versions in test_pretty_print.patch | (download)

tests/test_pretty_print.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 report debian versions in test_pretty_print

The git repository the test_pretty_print.py script tries to read is
available neither at build time nor when run as openscad-testrun; this
provides the relevant information for the latter case.

test_pretty_print remove a pathname normalization st.patch | (download)

tests/test_pretty_print.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 test_pretty_print: remove a pathname normalization step

with absolute paths replaced by relative ones in debian (see
debian/rules), what's done in test_pretty_print.py by replacing the
build dir with nothing causes all '.' characters to be removed again.

for a cleaner solution, absolute path removal should be upstremed.

test_pretty_print drop file name munging.patch | (download)

tests/test_pretty_print.py | 5 2 + 3 - 0 !
1 file changed, 2 insertions(+), 3 deletions(-)

 test_pretty_print: drop file name munging

forcibly joining the paths breaks the test suite when run out-of-tree
(as it is run when using debhelper)

Use_python3.patch | (download)

scripts/git-archive-all.py | 2 1 + 1 - 0 !
scripts/macosx-sanity-check.py | 2 1 + 1 - 0 !
scripts/makereleasejson.py | 2 1 + 1 - 0 !
tests/cgalstlsanitytest | 2 1 + 1 - 0 !
tests/export_import_pngtest.py | 2 1 + 1 - 0 !
tests/export_pngtest.py | 2 1 + 1 - 0 !
tests/mingw_convert_ctest.py | 2 1 + 1 - 0 !
tests/shouldfail.py | 2 1 + 1 - 0 !
tests/test_cmdline_tool.py | 2 1 + 1 - 0 !
tests/test_pretty_print.py | 2 1 + 1 - 0 !
tests/validatestl.py | 2 1 + 1 - 0 !
11 files changed, 11 insertions(+), 11 deletions(-)

 use #!/usr/bin/python3 shebang

Following Debian Pyhthon policy, use #!/usr/bin/python3 in executable python
scripts over #!/usr/bin/env python.

cgal_ftbfs.patch | (download)

src/cgalutils-polyhedron.cc | 13 0 + 13 - 0 !
src/cgalutils.h | 1 0 + 1 - 0 !
2 files changed, 14 deletions(-)

 fix ftbfs with newer cgal

Cherry-pick of upstream commit cc49ad8dac24309f5452d5dea9abd406615a52d9:
"Fix build failure with "generic_print_polyhedron" on CGAL-5.3."

fix_nonplanar_tests.patch | (download)

testdata/scad/3D/features/polyhedron-nonplanar-tests.scad | 12 0 + 12 - 0 !
tests/regression/dumptest/polyhedron-nonplanar-tests-expected.csg | 3 0 + 3 - 0 !
2 files changed, 15 deletions(-)

 fix nonplanar tests

Cherry-pick of upstream commit eae34435e4d3a6a71c5bca37b91bbc83ae527920:
"Remove invalid polyhedron test that fails with CGAL >= 5.3 (fixes #3840)."

Add file bounds check to comment parser.patch | (download)

src/comment.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 add file bounds check to comment parser

Backported patch from upstream.

add safety to line lookups in DXF import fixes 4037.patch | (download)

src/dxfdata.cc | 27 23 + 4 - 0 !
1 file changed, 23 insertions(+), 4 deletions(-)

 add safety to line lookups in dxf import, fixes #4037

Backported patch from upstream.

Backport from upstream compile fixes for CGAL 5.4.patch | (download)

src/cgalutils-tess.cc | 9 5 + 4 - 0 !
1 file changed, 5 insertions(+), 4 deletions(-)

 backport from upstream compile fixes for cgal 5.4.

Backport upstream patch to fix a FTBFS in sid.patch | (download)

src/openscad.cc | 11 5 + 6 - 0 !
1 file changed, 5 insertions(+), 6 deletions(-)

 backport upstream patch to fix a ftbfs in sid.

Add CGAL set_warning_behaviour for issue 3935.patch | (download)

src/openscad.cc | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 add-cgal-set_warning_behaviour-for-issue-3935

Backport an upstream patch to work with newer CGAL. This is necessary
due to a security fix for CGAL, which changed behaviour for invalid
input that are tested in the OpenSCAD testsuite.

Remove double quoting of the output file parameter for gh.patch | (download)

tests/export_pngtest.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 remove double quoting of the output file parameter for ghostscript

Apply upstream patch for this to fix #1009682.

Fix uninitialized class member.patch | (download)

src/mainwin.cc | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 fix uninitialized class member

This patch can be dropped when importing next upstream release, as the
associated code is gone/rewritten upstream.

Cherry pick upstream fix for use after free crash at exit.patch | (download)

src/openscad.cc | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 cherry-pick upstream fix for use-after-free crash at exit

This patch can be dropped when importing next upstream release.

Fix appdata issues.patch | (download)

openscad.appdata.xml.in | 13 9 + 4 - 0 !
1 file changed, 9 insertions(+), 4 deletions(-)

 fix appdata issues

Fixes deprecated <mimetypes> tag and sorts release list.
Patch taken from upstream, no need to keep after importing next upstream release.

Attempt to work around awk returning negative number from.patch | (download)

tests/virtualfb.sh | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 attempt to work-around awk returning negative number from rand()

This was seen in the reproducible build CI, breaking the tests and
presumed to be the cause of extra test artifacts in the package.

Fix build with newer CGAL.patch | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
c++std.pri | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 fix build with newer cgal.

Thanks to Joachim Reichel for the patch.

Fix build with newer boost. Cherry picked from upstream d.patch | (download)

src/FileModule.cc | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix build with newer boost. cherry-picked from upstream,
 drop for next Openscad upstream release.

Fix build with cmake 4. Cherry picked from upstream drop .patch | (download)

tests/CMakeLists.txt | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix build with cmake 4. cherry-picked from upstream,
 drop for next Openscad upstream release.