Hi Karl,

I would expect the Debian folks don’t want any libraries in there, pure-Perl or 
otherwise, that don’t work, and P:G:PGPLOT won’t without PGPLOT, which it seems 
they don’t want there.

As I tried to indicate before: I know as much as you do about how to make 
Debian etc packages. That was why I suggested sending them an email (presumably 
web-searching would also show up a tutorial). As far as I know, Ubuntu is a 
derivative of Debian, using largely the same packaging code and indeed 
package-wrappers, but rebuilt and released according to Canonical’s (who make 
Ubuntu) schedule rather than Debian’s, which is “stately”. You might even call 
Debian “stable” 😉

Best regards,
Ed

From: Karl Glazebrook<mailto:kglazebr...@swin.edu.au>
Sent: 17 August 2021 02:32
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

Hi all,

Yes I can confirm that ‘pgplot5’ is real - I just checked it by building a 
fortran pgplot program in ubuntu. Thanks Ed, I missed that.

Regarding the perl package, I suppose one could make two debs one which 
depended on pgplot5 (real) and one which depended on libpgplot0 (giza) and give 
users a choice? The debian people seemed politically determined against the 
real pgplot as a default when I last discussed this with them.

So if I did that - I don’t know how to make debs or where to “register” or 
“upload” them? If there is an “idiots guide” that would be most welcome? That 
would explain things like what is the relationship between an ubuntu package 
and a debian one?

Regarding the PDL::Graphics::PGPLOT, surely this can be put back in to the PDL 
deb? This would make things less complicated, it is after all a tiny pure perl 
package?

Ed please let me know what you think about all these.

Diab:

- I agree Alien::PGPLOT might be a good way to go. Happy to help, I have some 
hard won expertise in building the library. Note I have been working with 
PGPLOT v5.3.1 that was never released! It has some macos improvements, what 
version is the autotools?

- definitely you can draw a million lines in a blink with pgplot, no hope of 
doing that with matplotlib as a ‘line’ is a heavy object

cheers

Karl



> On 17 Aug 2021, at 3:09 am, Ed . <ej...@hotmail.com> wrote:
>
> As far as I can tell, latest Debian/Ubuntu still has “real” PGPLOT in the 
> “pgplot5” package, so there’s no thought of “unofficial”.
>
>
>
> However, the current Ubuntu libpgplot-perl does depend on libpgplot0, the 
> Giza replacement, so you might want to update that to still depend on 
> “pgplot5” to make it the real, full-fat thing. I’d suggest that as the 
> creator of the Perl library that libpgplot-perl packages, you’d be 
> immediately accepted as new maintainer of it (or at least they’d happily 
> accept changes from you), and the change ought to be trivial. If the Giza 
> replacement worked sufficiently well for your purposes, you could leave this 
> step out and just accept it instead of “real” pgplot.
>
>
>
> You’d then make the libpdl-* package which depended on (the possibly-updated) 
> libpgplot-perl, and bundle in the appropriate code from the appropriate 
> version of PDL that is in the relevant Debian etc version (I think 2.020).
>
>
>
> Zooming out a bit, while I respect the effort and completeness in the Perl 
> and PDL PGPLOT stuff, I would ask you to consider this: given 
> PDL::Graphics::Simple appears (on my reading) to offer an API that is a 
> drop-in replacement for P:G:PGPLOT, could you have a go at converting a 
> couple of your scripts that use P:G:PGPLOT over to using P:G:Simple, and let 
> me/us know what pain points there were? Or even just share with me/us those 
> scripts so I can have a go myself.
>
>
>
> Fundamentally, I am questioning the value of effort invested in keeping 
> PGPLOT going, when it seems to me that e.g. Gnuplot is so much more capable 
> (3D plots! The ability to literally zoom in and out!). What do you think?
>
>
>
> Best regards,
>
> Ed
>
>
>
> From: Karl Glazebrook <kglazebr...@swin.edu.au>
> Sent: Monday, August 16, 2021 1:24:17 PM
> To: Ed . <ej...@hotmail.com>
> Cc: pdl-devel@lists.sourceforge.net <pdl-devel@lists.sourceforge.net>
> Subject: Re: [Pdl-devel] Ubuntu/debian PDL packages & pgplot
>
> 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> wrote:
>>
>> I did a bit of reading around, and 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
>> Sent: 14 August 2021 08:31
>> To: Ed .
>> Cc: 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> 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
>> Sent: 02 August 2021 00:12
>> To: Ed .
>> Cc: pdl-devel@lists.sourceforge.net
>> Subject: Re: Ubuntu/debian PDL packages & pgplot
>>
>>
>>
>>
>>
>> On 2 Aug 2021, at 2:28 am, Ed . <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 at 
>> https://packages.ubuntu.com/hirsute/amd64/pdl/filelist implies that there is 
>> indeed no 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
>>  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)
>>
>> 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 the 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
>> 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

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

Reply via email to