Package: openscad / 2015.03-2+dfsg-2

Metadata

Package Version Patches format
openscad 2015.03-2+dfsg-2 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 (beause
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.

Add missing X11 libraries when using GLX.patch | (download)

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

 add missing x11 libraries when using glx

remove OPENSCAD_TESTING/add float normalization to test_cmdline_tool.patch | (download)

tests/test_cmdline_tool.py | 26 26 + 0 - 0 !
1 file changed, 26 insertions(+)

 add float normalization to test_cmdline_tool

this helps removing the need for OPENSCAD_TESTING

remove OPENSCAD_TESTING/drop OPENSCAD_TESTING definition.patch | (download)

src/import.cc | 3 0 + 3 - 0 !
src/linearextrude.cc | 3 0 + 3 - 0 !
src/openscad.cc | 6 2 + 4 - 0 !
src/parsersettings.cc | 2 0 + 2 - 0 !
src/rotateextrude.cc | 3 0 + 3 - 0 !
src/surface.cc | 3 0 + 3 - 0 !
src/value.cc | 21 0 + 21 - 0 !
src/version_check.h | 2 1 + 1 - 0 !
8 files changed, 3 insertions(+), 40 deletions(-)

 drop openscad_testing definition

for cases when a binary without gui / qt should be built, OPENSCAD_NOGUI
can now be defined. all the other uses for OPENSCAD_TESTING are now
covered by the unit test framework.

remove OPENSCAD_TESTING/don t build openscad_nogui any more.patch | (download)

tests/CMakeLists.txt | 13 2 + 11 - 0 !
1 file changed, 2 insertions(+), 11 deletions(-)

 don't build openscad_nogui any more


remove OPENSCAD_TESTING/fix building of remaining binaries.patch | (download)

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

 fix building of remaining binaries

the previous patch has removed the -DENABLE_EXPERIMENTAL flag, assuming
that it is not required any more without openscad_nogui being built.
while that is sufficient for the test suite, other binaries built in the
tests/ directory would still use those flags.

in order to make them buildable again, the -DOPENSCAD_NOGUI compile time
option is added (as the resulting binaries are command-line-only tools,
which was previously implicit by setting -DOPENSCAD_TESTING), and
-DENABLE_EXPERIMENTAL is restored.

remove OPENSCAD_TESTING/use qmake in travis to build gui free openscad binar.patch | (download)

scripts/travis-ci.sh | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 use qmake in travis to build gui-free openscad binary

with OPENSCAD_TESTING gone, the openscad binary (even in a non-gui
version) is easiest made using qmake.

remove OPENSCAD_TESTING/pack OPENSCAD_NOGUI in qmake nogui config.patch | (download)

openscad.pro | 8 7 + 1 - 0 !
scripts/travis-ci.sh | 2 1 + 1 - 0 !
2 files changed, 8 insertions(+), 2 deletions(-)

 pack openscad_nogui in qmake nogui config

thus, scintilla can be kept from being built at all, slimming down the
build dependencies for the nogui build

remove OPENSCAD_TESTING/fix font directory discovery in export_import_pngtes.patch | (download)

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

 fix font directory discovery in export_import_pngtest

the old way of constructing the font path from the openscad binary
has failed since the binary built outside testing has been used.
building the path from the test script works with any openscad binary.

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)

Fix path discovery for fonts.patch | (download)

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

 fix path discovery for fonts

When the path to the openscad binary changed in [1], the relative path
was not changed and therefore led into the void, falling back to system
paths.

[1] https://github.com/openscad/openscad/issues/1362

QOpenGLWidget/Remove un used constructor.patch | (download)

src/QGLView.cc | 5 0 + 5 - 0 !
src/QGLView.h | 1 0 + 1 - 0 !
2 files changed, 6 deletions(-)

 remove un-used constructor.


QOpenGLWidget/Use QOpenGLWidget when Qt Version 5.4.patch | (download)

src/QGLView.cc | 11 10 + 1 - 0 !
src/QGLView.h | 19 17 + 2 - 0 !
src/openscad.cc | 4 4 + 0 - 0 !
3 files changed, 31 insertions(+), 3 deletions(-)

 use qopenglwidget when qt version >= 5.4


QOpenGLWidget/Ensure UpdateGL is available as a slot.patch | (download)

src/QGLView.h | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 ensure updategl is available as a slot.


QOpenGLWidget/Introduce a USE_QOPENGLWIDGET define added qopenglwidget .patch | (download)

openscad.pro | 6 6 + 0 - 0 !
src/QGLView.cc | 6 3 + 3 - 0 !
src/QGLView.h | 8 4 + 4 - 0 !
3 files changed, 13 insertions(+), 7 deletions(-)

 introduce a use_qopenglwidget define,
 added qopenglwidget CONFIG to qmake


QOpenGLWidget/Ensure running_under_wine is not referenced in init for Q.patch | (download)

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

 ensure running_under_wine is not referenced in init() for
 QOpenGLWidget.


QOpenGLWidget/Improved some USE_QOPENGLWIDGET defines.patch | (download)

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

 improved some use_qopenglwidget defines


QOpenGLWidget/Show correct QOpenGLWidget vs. QGLWidget in Library Info.patch | (download)

src/QGLView.cc | 8 7 + 1 - 0 !
1 file changed, 7 insertions(+), 1 deletion(-)

 show correct qopenglwidget vs. qglwidget in library info


UIC gettext interoperability.patch | (download)

openscad.pro | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 uic gettext interoperability

Recent UIC versions seem to have changed their ways of invoking custom
helper functions. This is a quick fix, better workarounds are in
discussion with upstream.