Package Details: plplot 5.15.0-9

Git Clone URL: https://aur.archlinux.org/plplot.git (read-only, click to copy)
Package Base: plplot
Description: A cross-platform software package for creating scientific plots
Upstream URL: http://plplot.sourceforge.net/
Licenses: GPL-2.0-or-later, LGPL-2.0-or-later, LicenseRef-custom
Submitter: None
Maintainer: jankoh
Last Packager: jankoh
Votes: 48
Popularity: 0.000000
First Submitted: 2005-06-08 03:23 (UTC)
Last Updated: 2024-07-15 08:06 (UTC)

Dependencies (26)

Sources (3)

Latest Comments

1 2 3 4 Next › Last »

vickysharma0812 commented on 2024-03-14 03:24 (UTC)

Currently ENABLE_fortran is set to OFF. Can we set it to ON so that we can use this repo to build plplot with fortran binding.

Otherwise we should create plplot-fortran to build plplot with fortran bindings.

Regards Vikas

MarsSeed commented on 2023-10-14 13:42 (UTC)

'qt4' optdepends should also be deleted. Not used by this build. (It is already configured to support Gtk3 GUI toolkit. Also the source code supports Qt5, so if Qt is needed, the build should be set to enable Qt5.)

MarsSeed commented on 2023-10-13 16:25 (UTC)

Also please remove optdepends=agg. Not supported anymore.

MarsSeed commented on 2023-10-02 00:40 (UTC)

wxgtk optdepend should be changed to wxwidgets-gtk3.

Universebenzene commented on 2023-07-07 12:58 (UTC) (edited on 2023-07-07 12:58 (UTC) by Universebenzene)

Could you please add -DENABLE_wxwidgets=ON and -DPLD_wxwidgets=ON to the cmake options? The gnudatalanguage 1.0.2 needs plplot to be compiled with these options, or the compilation will fail like this issue.

jvfaegje commented on 2022-08-10 10:57 (UTC)

I solved the problem. If you are using nvcc compilers for c, add the lines:

CC=/usr/bin/gcc CXX=/usr/bin/g++

In the build function of the pkgbuild file for Plplot, making it:

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  if [ -d build ]; then
      rm -r build
  fi
  mkdir build
  cd build
  CC=/usr/bin/gcc
  CXX=/usr/bin/g++
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DENABLE_octave=off \
      -DENABLE_tcl=ON \
      -DENABLE_tk=ON \
      -DPLPLOT_USE_QT5=1 \
      -DPL_FREETYPE_FONT_PATH=/usr/share/fonts/TTF ..
  find . -name '*.make' -exec sed -i 's|-isystem /usr/include ||g' '{}' ';'
  make 
}

With this configuration, I was able to build the AUR.

jvfaegje commented on 2022-08-08 03:45 (UTC)

Hey everyone, I recently tried installing this aur and in the build phase, it has tried to use nvc to make the software in vain:

CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message):
  The C compiler

    "/opt/nvidia/hpc_sdk/Linux_x86_64/22.7/compilers/bin/nvc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/make -f Makefile cmTC_bdbc2/fast && /usr/bin/make  -f CMakeFiles/cmTC_bdbc2.dir/build.make CMakeFiles/cmTC_bdbc2.dir/build
    make[1]: Entering directory '/var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_bdbc2.dir/testCCompiler.c.o
    /opt/nvidia/hpc_sdk/Linux_x86_64/22.7/compilers/bin/nvc   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -MD -MT CMakeFiles/cmTC_bdbc2.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_bdbc2.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_bdbc2.dir/testCCompiler.c.o -c /var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeTmp/testCCompiler.c
    nvc-Error-Switch -tp with unknown keyword x86-64
    -tp=px|bulldozer|piledriver|zen|zen2|zen3|sandybridge|haswell|skylake|host|native
                        Select target processor
        px              Generic Linux/Windows x86_64 Processor.
        bulldozer       AMD Bulldozer processor
        piledriver      AMD Piledriver processor
        zen             AMD Zen architecture (Epyc, Ryzen)
        zen2            AMD Zen 2 architecture (Ryzen 2)
        zen3            AMD Zen 3 architecture (Ryzen 3)
        sandybridge     Intel SandyBridge processor
        haswell         Intel Haswell processor
        skylake         Intel Skylake Xeon processor
        host            Link native version of HPC SDK cpu math library
        native          Alias for -tp host
    make[1]: *** [CMakeFiles/cmTC_bdbc2.dir/build.make:79: CMakeFiles/cmTC_bdbc2.dir/testCCompiler.c.o] Error 1
    make[1]: Leaving directory '/var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeTmp'
    make: *** [Makefile:127: cmTC_bdbc2/fast] Error 2





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:110 (enable_language)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...

It looks like pyplot is not engaging nvc with the right switches. Not sure how to fix this as I am somewhat of an amateur here.

James-T commented on 2021-08-11 14:34 (UTC) (edited on 2021-08-11 14:35 (UTC) by James-T)

I was looking around the plplot site the other day, and saw that it can be built with qt5 rather than qt4 by specifying -DPLPLOT_USE_QT5=1 on the cmake line.

Updating to use QT5 would remove the dependency on qt4 which is no longer in the repositories.

The only significant drawback I can see is that there is no QT5 ps driver. I'm not sure whether there is any dependency beyond qt5-base as I have a full qt5 install on my KDE-based system.

Thoughts...

gypaetus commented on 2020-08-25 10:28 (UTC)

Thank you. Adding a patch to the PKGBUILD to solve this issue.

mazzarino commented on 2020-08-18 17:05 (UTC) (edited on 2020-08-18 17:21 (UTC) by mazzarino)

@Cjen1 It seems to be plplot issue. Similar nextcloud-client issue: https://bugs.gentoo.org/727474

https://github.com/nextcloud/desktop/commit/0fe7a657386b107ae498e7749ff4c20116b9752a

I've succeeded to solve the problem by adding

'#include <QPainterPath>'

to the file /plplot-5.15.0/bindings/qt_gui/plqt.cpp