Here's an alternative (more general issue of PGPLOT support, not necessarily to solve the Ubuntu/Debian problem).

There's an autotooled version of PGPLOT here:

https://github.com/djerius/pgplot-autotool

1. Create an Alien::PGPLOT module
2. Make the CPAN PGPLOT package depend on that,
3. Move PDL::Graphics:: PGPLOT out of PDL core.


On 8/16/21 8:24 AM, Karl Glazebrook wrote:
Hi Ed

OK I will start there, your help would be most welcome.

Last time I tried Giza was two years ago, it worked OK for most simple pgplot things but most of the tests in my perl5-PGPLOT module failed! Mainly because I wrote those tests (back in the last millennium) to test edge cases to ensure functional completeness. There is a bunch of stuff one would not ’normally’ use. Still I don’t want to remove tests!

It must be worth taking another look.

I’d like to understand debian packaging enough to be able to offer a package that would deploy real pgplot as an unofficial alternative.

Karl


On 15 Aug 2021, at 1:41 am, Ed . <ej...@hotmail.com <mailto:ej...@hotmail.com>> wrote:

I did a bit of reading around, andhttps://packages.ubuntu.com/focal/pdl <https://packages.ubuntu.com/focal/pdl>makes it look like the “asking a question” or “filing a bug” links would be a starting point. Generally, I believe that reaching out and offer to package a libpdl-graphics-pgplot-perl (checking I got the right one this time :-) and asking for pointers will be the way forward. I gather from the -plplot entry that would create a new “package” with ITP (intent to package) status. My feeling is it wouldn’t be lots of effort. If you’re happy to take the lead and initiate comms and get their steers on tools and things one needs to sign up for, I’m very happy to support. With the knowledge gained with that, we could then package up things like PDL::Graphics::Simple, which I feel would make users’ lives a lot easier on the interactive front. I want to add a 3D capability to it, in imitation of MATLAB’s “surf” function. By the way, I read up a little on the Giza implementation of the PGPLOT interface; does it work sufficiently for your purposes as a PGPLOT replacement?
Best regards,
Ed
*From:*Karl Glazebrook <mailto:kglazebr...@swin.edu.au>
*Sent:*14 August 2021 08:31
*To:*Ed . <mailto:ej...@hotmail.com>
*Cc:*pdl-devel@lists.sourceforge.net <mailto:pdl-devel@lists.sourceforge.net>
*Subject:*Re: [Pdl-devel] Ubuntu/debian PDL packages & pgplot
Anyone have an idea where to start?
Karl


    On 2 Aug 2021, at 9:19 am, Ed . <ej...@hotmail.com
    <mailto:ej...@hotmail.com>> wrote:
    Hi Karl,
    Ha, indeed I did link to results for PLplot, not PGPLOT. I would
    be quite interested in the results of asking Ubuntu/Debian folks
    about this!
    Best regards,
    Ed
    *From:*Karl Glazebrook <mailto:kglazebr...@swin.edu.au>
    *Sent:*02 August 2021 00:12
    *To:*Ed . <mailto:ej...@hotmail.com>
    *Cc:*pdl-devel@lists.sourceforge.net
    <mailto:pdl-devel@lists.sourceforge.net>
    *Subject:*Re: Ubuntu/debian PDL packages & pgplot



        On 2 Aug 2021, at 2:28 am, Ed . <ej...@hotmail.com
        <mailto:ej...@hotmail.com>> wrote:
        Hi Karl,
        I might have missed something, but when you say
        “PDL::Graphics::PDL” did you mean “PDL::Graphics::PGPLOT”?

    Hi Ed, you are absolutely right! Oops. I’ve rewritten the email
    again below as correctness is critical due to the multiple
    similar names,


        In any case, looking
        athttps://packages.ubuntu.com/hirsute/amd64/pdl/filelist
        <https://packages.ubuntu.com/hirsute/amd64/pdl/filelist>implies
        that there is indeed noPGPLOT.pm <http://pgplot.pm/>(though
        the demos are present).
        
https://wnpp.debian.net/?type%5B%5D=RFP&project=libpdl-graphics-plplot-perl&description=&owner%5B%5D=yes&owner%5B%5D=no&col%5B%5D=description&sort=project%3Bdesc
        
<https://wnpp.debian.net/?type%5B%5D=RFP&project=libpdl-graphics-plplot-perl&description=&owner%5B%5D=yes&owner%5B%5D=no&col%5B%5D=description&sort=project%3Bdesc>implies
        there is an open “RFP” (request for packaging) for
        libpdl-graphics-plplot-perl, which in turn implies that if
        someone did create a package, they would accept it.

    Yes, but this is for the PLPLOT interface not the PGPLOT
    interface. I was wondering if this was a typo and more generally
    if anyone on the dev list here new what the plan was for the
    package refactoring on debian. I can take this to the Ubuntu or
    Debian lists but thought I would start here first
    ---
    Hi there devs,
    Does anyone know what is going on in the Ubuntu/debian packges
    for PDL and the PGPLOT interface?
    If I do ‘apt install pdl’ then running pdl and doing ‘use
    PDL::Graphics::PGPLOT’ gives a missing package error.
    There is a message during the apt install that says:
    /sudo apt install pdl/
    /.../
    /Suggested packages:/
    /  gsl-ref-psdoc | gsl-doc-pdf | gsl-doc-info | gsl-ref-html
    libhdf4-doc/
    /  libhdf4-alt-dev hdf4-tools doc-base libastro-fits-header-perl/
    /  libdevel-repl-perl libextutils-f77-perl libfile-map-perl
    libinline-perl/
    /  libinline-c-perl libmodule-compile-perl libopengl-perl
    libpdl-fftw-perl/
    /libpdl-graphics-plplot-perl libpgplot-perl netpbm | imagemagick
    proj-bin/
    If I then install libpgplot-perl then ‘use PGPLOT’ works but not
     ‘use PDL::Graphics::PGPLOT’.
    (I note that libpdl-graphics-plplot-perl does not seem to exist,
    logically one might think there should be a
    libpdl-graphics-pgplot-perl but that is not even mentioned -
    seehttps://packages.ubuntu.com/hirsute/pdl
    <https://packages.ubuntu.com/hirsute/pdl>)
    The module PDL::Graphics::PGPLOT is pure perl, so there is no
    harm in including it in the pdl package. I am guessing someone
    removed it from the debian(?) package and intended to create
    libpdl-graphics-pgplot-perl as part of a package refactoring, but
    did not. It almost looks like libpdl-graphics-plplot-perl is a typo?
    I am not sure if this is an Ubuntu issue or a Debian one, and I
    don’t really following all the naming conventions of the
    metapackages and how Ubuntu packages relate to Debian ones
    Note thepdl.perl.org <http://pdl.perl.org/>easy install page
    recommendation for Ubuntu/debian no longer works!
    best
    Karl
    p.s. not relevant but  the libpgplot-perl package actually gives
    a re-implementation of pgplot using giza,
    _______________________________________________
    pdl-devel mailing list
    pdl-devel@lists.sourceforge.net
    <mailto:pdl-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/pdl-devel
    <https://lists.sourceforge.net/lists/listinfo/pdl-devel>

_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net <mailto:pdl-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/pdl-devel <https://lists.sourceforge.net/lists/listinfo/pdl-devel>



_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel


_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to