Debian Patches

Status for plplot/5.15.0+dfsg2-6

Patch Description Author Forwarded Bugs Origin Last update
Remove-nondfsg-dirs.patch Remove nondfsg dirs Andrew Ross <andrewross@users.sourceforge.net> not-needed 2017-07-03
Disable-octave-UTF-8-tests.patch Disable octave UTF-8 tests
They faile due to a bug in octave's UTF-8 handling
Ole Streicher <olebole@debian.org> no 2017-07-19
Disable-failing-ocaml-tests.patch 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.
Ole Streicher <olebole@debian.org> no 2017-09-20
Fix-build-with-OCaml-4.06.patch Fix build with OCaml 4.06
Fedora patch to fix build with OCaml 4.0.6.
Orion Poplawski <orion@nwra.com> no 2017-11-20
i386-mieee-fp.patch Fix FTBFS on i386, workaround for #901836
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.
=?utf-8?q?S=C3=A9bastien_Villemot?= <sebastien@debian.org> no debian 2018-06-20
Build-with-Itcl4.patch 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.
Sergei Golovan <sgolovan@nes.ru> no 2018-03-18
Don-t-misdetect-compiler-on-Alpha-as-not-supporting-NaN.patch Don't misdetect compiler on Alpha as not supporting NaN

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.
Michael Cree <mcree@orcon.net.nz> no 2018-06-20
Remove-dependency-of-examples-from-python-shared-libs.patch Remove dependency of examples from python shared libs
They are there if the packages are installed, and their names change
during package creation.
Ole Streicher <olebole@debian.org> no 2018-11-27
replace-gdc-extensions.patch 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. not-needed upstream, https://sourceforge.net/p/plplot/plplot/ci/74799e02c5435e491b46dfc1fd053753105c3441/ 2019-10-08
Change-install-tree-location-of-wxPLViewer.patch 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
Ole Streicher <olebole@debian.org> no 2019-11-20
pyqt5-sip-path.patch Fix path of SIP files for PyQT5 The path for the *.sip files changed in version 5.15.1 of the
pyqt5-dev package.
Alan W. Irwin <airwin@users.sf.net> no debian upstream, https://sourceforge.net/p/plplot/plplot/ci/61e41ac6a3f1114696168bb6d08d70dc70e6784c/ 2020-10-06
build-against-qt-5.15.patch Fix build against Qt 5.15 Antnio Rodrigues Tom not-needed upstream, https://sourceforge.net/p/plplot/plplot/ci/2aa2e1bdae9f75dbf74dc970e80834081fb3d0de/ 2020-11-05
allow-setting-ada-soversion.diff 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
library with a different compiler may break its ABI.
.
This patch provides redistributors like Debian an easy way to set the
libplplotada_SOVERSION on the CMake command line, without patching
CMake files.
.
This patch only affects the Ada library, but the suggestion applies
to any language allowing dynamic linking.
.
As far as I know, the part added by _VERSION and the related symbolic
links are a complexity added by CMake (probably in order to follow
the GNU libtool conventions), but the linker only cares about the
SOVERSION.
Nicolas Boulenguez <nicolas@debian.org> yes 2020-11-15
install-ada-project.diff install a convenience GNAT project for the Ada binding It is more and more common to build Ada sources with gprbuild. Nicolas Boulenguez <nicolas@debian.org> yes 2022-11-30
python3-interpreter-in-examples.patch Use python3 instead of python as the interpreter for the examples This avoids the numerous Litian warnings example-unusual-interpreter. Rafael Laboissire <rafael@debian.org> not-needed 2020-11-21
show-freetype-fonts.patch Show the FreeType fonts found Rafael Laboissire <rafael@debian.org> yes 2020-12-13
sip-build-support.patch Port to SIP 5/6 Dmitry Shachnev <mitya57@debian.org> not-needed debian upstream 2021-06-18
reentrant-qhull.patch 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.
Stefan Bns <stefan.bruens@rwth-aachen.de> not-needed debian upstream other, https://sourceforge.net/p/plplot/bugs/196/attachment/0001-Use-reentrant-libqhull_r-instead-of-deprecated-libqh.patch 2021-07-03
sip-include-dirs.patch Add SIP include directory in configuration file Rafael Laboissire <rafael@debian.org> yes debian 2021-11-03
build-static-ada-library.patch Compile a static library for the Ada binding Rafael Laboissire <rafael@debian.org> yes 2022-11-29
gfortran-divide-by-zero.patch Avoid FPE during check of NaN for gfortran Rafael Laboissire <rafael@debian.org> yes 2022-11-28
path-for-bash.patch 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.
Rafael Laboissire <rafael@debian.org> not-needed 2022-12-03
octave-deprecated-operator.patch Do not use deprecated operators .- and .+ Rafael Laboissire <rafael@debian.org> yes 2022-12-26
octave-no-gui-test.patch Run Octave non-interactive tests without graphical interface Rafael Laboissire <rafael@debian.org> yes 2023-01-04

All known versions for source package 'plplot'

Links