Package: plplot / 5.15.0+dfsg2-15

Metadata

Package Version Patches format
plplot 5.15.0+dfsg2-15 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Remove nondfsg dirs.patch | (download)

CMakeLists.txt | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 remove nondfsg dirs
Disable octave UTF 8 tests.patch | (download)

plplot_test/test_octave.sh.in | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 disable octave utf-8 tests

They faile due to a bug in octave's UTF-8 handling

Disable failing ocaml tests.patch | (download)

plplot_test/test_ocaml.sh.in | 12 3 + 9 - 0 !
1 file changed, 3 insertions(+), 9 deletions(-)

 don't fail on failing ocaml tests

The ocaml tests often fail on on-x86 platforms; mainly with
segmentation faults. The cause of this is still unclear.

To investigate this further (and to build plplot on all platforms),
all tests are run, but failures will not lead to stopping the build.

Additionally, the tests sometimes hang on MIPS platforms, so we
disable them there completely.

Fix build with OCaml 4.06.patch | (download)

examples/ocaml/x20.ml | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix build with ocaml 4.06

Fedora patch to fix build with OCaml 4.0.6.

i386 mieee fp.patch | (download)

cmake/modules/csiro.cmake | 6 2 + 4 - 0 !
1 file changed, 2 insertions(+), 4 deletions(-)

 fix ftbfs on i386, workaround for #901836
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

The -mieee-fp flag, that is used to test the NaN awareness of the compiler,
is broken on i386. As a consequence, plplot FTBFS, because it does not compile
csiro, see e.g.:
https://buildd.debian.org/status/fetch.php?pkg=plplot&arch=i386&ver=5.13.0%2Bdfsg-7%2Bb1&stamp=1529312616&raw=0

This patch simply removes the -mieee-fp flag, which is not needed on i386 to
pass the NaN awareness test.
Bug-Debian: https://bugs.debian.org/901836
Build with Itcl4.patch | (download)

cmake/modules/tcl-related.cmake | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 enable itcl 4 for the build

This includes switching ON variable USE_INCRTCL_VERSION_4 and adding
the itcl suffix to the include search paths because for tcl-itcl4 the
headers are placed in /usr/include/itcl.

Don t misdetect compiler on Alpha as not supporting NaN.patch | (download)

cmake/modules/csiro.cmake | 6 1 + 5 - 0 !
1 file changed, 1 insertion(+), 5 deletions(-)

 don't misdetect compiler on alpha as not supporting nan

Closes: #901920

plplot FTBFS on Alpha [1] with missing libcsirocsa.so files at the
install stage.  One can trace this back to the cmake configure at
the start which misdetects the compiler as not supporting NaNs
(from the build log):

-- Check for NaN awareness in C compiler
-- Check for NaN awareness in C compiler - not found
-- WARNING: Setting PL_HAVE_QHULL and WITH_CSA to OFF.

In cmake/modules/csiro.cmake is:

  if(CMAKE_SYSTEM_PROCESSOR MATCHES "alpha.*")
    if(CMAKE_C_COMPILER MATCHES "gcc")
      set(NAN_CFLAGS "${NAN_CFLAGS} -mieee")
    else(CMAKE_C_COMPILER MATCHES "gcc")
      set(NAN_CFLAGS "${NAN_CFLAGS} -ieee")
    endif(CMAKE_C_COMPILER MATCHES "gcc")

In the build CMAKE_C_COMPILER gets set to /usr/bin/cc which is gcc
on Debian Linux but does not match "gcc" in the test and thus the
test proceeds with the compiler option "-ieee" intended for the
Compaq C compiler, not for gcc.

A simple fix for Debian Linux would be to eliminate the test for
gcc (as the Compaq C Compiler for Alpha Linux has not been runnable
under Linux for quite a few years so there is no point in testing
for it) and just use the -mieee command line argument, i.e.,

  if(CMAKE_SYSTEM_PROCESSOR MATCHES "alpha.*")
     set(NAN_CFLAGS "${NAN_CFLAGS} -mieee")
  endif(CMAKE_SYSTEM_PROCESSOR MATCHES "alpha.*")

I suspect this fix might not be acceptable to upstream as it
potentially breaks the build on Tru64 Unix with the Compaq C
compiler.

Cheers,
Michael.

Remove dependency of examples from python shared libs.patch | (download)

examples/CMakeLists.txt | 4 0 + 4 - 0 !
examples/python/CMakeLists.txt | 2 0 + 2 - 0 !
2 files changed, 6 deletions(-)

 remove dependency of examples from python shared libs

They are there if the packages are installed, and their names change
during package creation.

replace gdc extensions.patch | (download)

bindings/d/plplot.d | 6 3 + 3 - 0 !
examples/d/x01d.d | 4 2 + 2 - 0 !
examples/d/x08d.d | 6 3 + 3 - 0 !
examples/d/x11d.d | 14 7 + 7 - 0 !
examples/d/x15d.d | 12 6 + 6 - 0 !
examples/d/x16d.d | 4 2 + 2 - 0 !
examples/d/x17d.d | 2 1 + 1 - 0 !
examples/d/x18d.d | 8 4 + 4 - 0 !
examples/d/x19d.d | 24 12 + 12 - 0 !
examples/d/x23d.d | 4 2 + 2 - 0 !
examples/d/x33d.d | 88 44 + 44 - 0 !
11 files changed, 86 insertions(+), 86 deletions(-)

 replace gdc extensions in d binding and examples source code with equivalent standard d source code
 This patch is needed to avoid FTBFS with recent gdc versions.
Change install tree location of wxPLViewer.patch | (download)

drivers/wxwidgets_dev.cpp | 32 6 + 26 - 0 !
include/plplotP.h | 2 0 + 2 - 0 !
src/plcore.c | 5 1 + 4 - 0 !
utils/CMakeLists.txt | 6 5 + 1 - 0 !
4 files changed, 12 insertions(+), 33 deletions(-)

 change install-tree location of wxplviewer

The wxPLViewer application is only used internally by the wxwidgets

This is based on commit 4e9679b22 in upstream git,
author Alan W. Irwin <airwin@users.sourceforge.net>

https://sourceforge.net/p/plplot/plplot/ci/4e9679b2266e190f66969f21392cdcf9766a58c9

Closes: #944579

pyqt5 sip path.patch | (download)

cmake/modules/qt.cmake | 146 84 + 62 - 0 !
1 file changed, 84 insertions(+), 62 deletions(-)

 fix path of sip files for pyqt5
 The path for the *.sip files changed in version 5.15.1 of the
 pyqt5-dev package.
build against qt 5.15.patch | (download)

include/qt.h | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 fix build against qt 5.15
allow setting ada soversion.diff | (download)

cmake/modules/plplot_version.cmake | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 allow override of libplotada shared object version
 The SOVersion sometimes needs to evolve independently of the API (and
 thus, is unrelated with semantic versioning), or even without
 knowledge by the upstream author.  For example, a rebuild of the
install ada project.diff | (download)

bindings/ada/CMakeLists.txt | 5 5 + 0 - 0 !
bindings/ada/plplotada.gpr.in | 11 11 + 0 - 0 !
cmake/modules/ada.cmake | 10 10 + 0 - 0 !
3 files changed, 26 insertions(+)

 install a convenience gnat project for the ada binding
 It is more and more common to build Ada sources with gprbuild.
python3 interpreter in examples.patch | (download)

examples/python/plplot_logo.py | 2 1 + 1 - 0 !
examples/python/pyqt4_example.py | 2 1 + 1 - 0 !
examples/python/pyqt5_example.py | 2 1 + 1 - 0 !
examples/python/pythondemos.py | 2 1 + 1 - 0 !
examples/python/pytkdemo | 2 1 + 1 - 0 !
examples/python/test_axis_precision.py | 2 1 + 1 - 0 !
examples/python/test_circle.py | 2 1 + 1 - 0 !
examples/python/test_fill.py | 2 1 + 1 - 0 !
examples/python/test_gradient.py | 2 1 + 1 - 0 !
examples/python/test_hebrew_diacritic.py | 2 1 + 1 - 0 !
examples/python/test_linebreak.py | 2 1 + 1 - 0 !
examples/python/test_plplot_encodings.py | 2 1 + 1 - 0 !
examples/python/test_plsmem.py.in | 2 1 + 1 - 0 !
examples/python/test_style.py | 2 1 + 1 - 0 !
examples/python/test_superscript_subscript.py | 2 1 + 1 - 0 !
examples/python/test_symbol_clip.py | 2 1 + 1 - 0 !
examples/python/test_type1.py | 2 1 + 1 - 0 !
examples/python/testh.py | 2 1 + 1 - 0 !
examples/python/tutor.py | 2 1 + 1 - 0 !
examples/python/x00 | 2 1 + 1 - 0 !
examples/python/x01 | 2 1 + 1 - 0 !
examples/python/x02 | 2 1 + 1 - 0 !
examples/python/x03 | 2 1 + 1 - 0 !
examples/python/x04 | 2 1 + 1 - 0 !
examples/python/x05 | 2 1 + 1 - 0 !
examples/python/x06 | 2 1 + 1 - 0 !
examples/python/x07 | 2 1 + 1 - 0 !
examples/python/x08 | 2 1 + 1 - 0 !
examples/python/x09 | 2 1 + 1 - 0 !
examples/python/x10 | 2 1 + 1 - 0 !
examples/python/x11 | 2 1 + 1 - 0 !
examples/python/x12 | 2 1 + 1 - 0 !
examples/python/x13 | 2 1 + 1 - 0 !
examples/python/x14 | 2 1 + 1 - 0 !
examples/python/x14.py | 2 1 + 1 - 0 !
examples/python/x15 | 2 1 + 1 - 0 !
examples/python/x16 | 2 1 + 1 - 0 !
examples/python/x17 | 2 1 + 1 - 0 !
examples/python/x17.py | 2 1 + 1 - 0 !
examples/python/x18 | 2 1 + 1 - 0 !
examples/python/x19 | 2 1 + 1 - 0 !
examples/python/x20 | 2 1 + 1 - 0 !
examples/python/x21 | 2 1 + 1 - 0 !
examples/python/x22 | 2 1 + 1 - 0 !
examples/python/x23 | 2 1 + 1 - 0 !
examples/python/x24 | 2 1 + 1 - 0 !
examples/python/x25 | 2 1 + 1 - 0 !
examples/python/x26 | 2 1 + 1 - 0 !
examples/python/x27 | 2 1 + 1 - 0 !
examples/python/x28 | 2 1 + 1 - 0 !
examples/python/x29 | 2 1 + 1 - 0 !
examples/python/x30 | 2 1 + 1 - 0 !
examples/python/x31 | 2 1 + 1 - 0 !
examples/python/x31.py | 2 1 + 1 - 0 !
examples/python/x33 | 2 1 + 1 - 0 !
examples/python/xtkpy | 2 1 + 1 - 0 !
56 files changed, 56 insertions(+), 56 deletions(-)

 use python3 instead of python as the interpreter for the examples
 This avoids the numerous Litian warnings example-unusual-interpreter.
show freetype fonts.patch | (download)

cmake/modules/freetype.cmake | 8 5 + 3 - 0 !
1 file changed, 5 insertions(+), 3 deletions(-)

 show the freetype fonts found
sip build support.patch | (download)

bindings/qt_gui/pyqt5/CMakeLists.txt | 27 23 + 4 - 0 !
bindings/qt_gui/pyqt5/pyproject.toml | 13 13 + 0 - 0 !
cmake/modules/qt.cmake | 25 22 + 3 - 0 !
3 files changed, 58 insertions(+), 7 deletions(-)

 port to sip 5/6
reentrant qhull.patch | (download)

cmake/modules/FindQHULL.cmake | 14 7 + 7 - 0 !
cmake/modules/csiro.cmake | 6 1 + 5 - 0 !
lib/nn/delaunay.c | 21 10 + 11 - 0 !
src/CMakeLists.txt | 4 2 + 2 - 0 !
src/plgridd.c | 27 13 + 14 - 0 !
5 files changed, 33 insertions(+), 39 deletions(-)

 use reentrant libqhull_r instead of deprecated libqh
 The non-reentrant version has been deprecated by upstream and is no
 longer built by default.
 .
 The reentrant version is available since qhull 2015.1. As the
 old-style qhull/* headers were removed with qhull 2011.1 these are no
 longer relevant.
sip include dirs.patch | (download)

bindings/qt_gui/pyqt5/pyproject.toml | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 add sip include directory in configuration file
build static ada library.patch | (download)

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

 compile a static library for the ada binding
gfortran divide by zero.patch | (download)

cmake/modules/TestFortranIsnan.f | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 avoid fpe during check of nan for gfortran
path for bash.patch | (download)

cmake/modules/plplot.cmake | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 give priority to /bin/ over /usr/bin/ as path for bash
 This is a Debian-specific change to avoid Lintian warning
 example-wrong-path-for-interpreter and there is no need to forward
 this patch upstream.
octave deprecated operator.patch | (download)

bindings/octave/PLplot/support/__pl_plotit.m | 4 2 + 2 - 0 !
examples/octave/p14.m | 2 1 + 1 - 0 !
examples/octave/p5.m | 2 1 + 1 - 0 !
examples/octave/x09c.m | 8 4 + 4 - 0 !
examples/octave/x16c.m | 16 8 + 8 - 0 !
5 files changed, 16 insertions(+), 16 deletions(-)

 do not use deprecated operators .- and .+
octave no gui test.patch | (download)

plplot_test/test_octave.sh.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 run octave non-interactive tests without graphical interface
build against python 3.13.patch | (download)

bindings/python/plplotc.i | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 replace pyeval_callobject with pyobject_callobject deprecated in python 3.9 and removed in python 3.13
build against swig 4.3.patch | (download)

bindings/java/plplotjavac.i | 4 2 + 2 - 0 !
bindings/octave/plplot_octave.i | 4 2 + 2 - 0 !
bindings/python/fragments.i | 29 1 + 28 - 0 !
bindings/python/plplotc.i | 10 5 + 5 - 0 !
4 files changed, 10 insertions(+), 37 deletions(-)

 adjust code for building agaisnt swig 4.3
build against numpy 2.patch | (download)

bindings/python/Pltk_init.i | 2 1 + 1 - 0 !
bindings/python/plplotc.i | 2 1 + 1 - 0 !
cmake/modules/python.cmake | 4 2 + 2 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 fix includes for numpy 2
minimum maximum numpy2.patch | (download)

examples/python/x08.py | 8 4 + 4 - 0 !
examples/python/x21.py | 8 4 + 4 - 0 !
examples/python/x33.py | 22 11 + 11 - 0 !
3 files changed, 19 insertions(+), 19 deletions(-)

 cope with changes in min and max functions in numpy 2