#37 enhance pgplot/plplot/gnuplot/prima buildability

open
nobody
None
1
2013-02-20
2011-01-24
Chris Marshall
No

I recently had to go through a full, clean install for PDL on cygwin
and ran into a couple of issues relating to getting PGPLOT up:

(1) Had to build the patched pgplot which I needed to hand
edit to add PNG support to the build

(2) Then I needed to use the patched PGPLOT-2.19-CD.tar.gz
rather than the stock PGPLOT release.

I would like to see the patches to the pgplot library
updated so these fixes aren't required and for the
modifications needed for rgbi support folded into
the main PGPLOT module tree (in such a way that
it would work with or without the patched pgplot
library).

At that point, it should be possible to implement
an Alien::PGPLOT module to take care of the
patching and building.

Discussion

  • Tim Jenness
    Tim Jenness
    2011-01-24

    The Starlink release solves some of these problems since it uses autoconf and will build PNG support automatically. It's also an avenue for adding thirdparty patches to the release. The problem is that PGPLOT is private software and it's impossible to get patches into the official distribution. Starlink gets away with it because they did a deal with Tim Pearson about 20 years ago to allow redistribution of PGPLOT in the Starlink software.

     
  • Chris Marshall
    Chris Marshall
    2011-01-28

    I would like to see external dependencies for PDL
    not to require unix developers framework to build.
    Ideally, it would only use perl and the compiler.
    For Alien::PGPLOT, a source build could go as
    follows:

    (1) get pgplot official source
    (2) get pgplot patch to source
    (3) appy pgplot patch to source
    (4) build/test/install pgplot
    (5) done!

    Alien::PNG could be used to determine
    if there was a libpng available to link against.

     
  • Chris Marshall
    Chris Marshall
    2013-02-20

    • summary: enhance PGPLOT/pgplot buildability --> enhance pgplot/plplot/gnuplot/prima buildability
    • priority: 3 --> 1
     
  • Chris Marshall
    Chris Marshall
    2013-02-20

    Improving ease of install is important for the success of PDL.
    Adjusting priority but leaving open as a reminder for
    development going forward.