It seems no one on the debian-perl mailing list bothered to reply to me. It has 
now been a month.

Any advice?

Karl


> On 25 May 2018, at 1:39 pm, Peter Ratzlaff <pratzl...@gmail.com> wrote:
> 
> To follow up, in order to keep libpgplot-perl from being upgraded (along with 
> the giza replacement of pgplot),
> 
> echo 'libpgplot-perl hold' | sudo dpkg --set-selections
> 
> On 05/24/2018 10:40 PM, Peter Ratzlaff wrote:
>> I'm not an expert in Ubuntu packaging, but was at least able to revert to 
>> the Xenial packages with the following steps.
>> mkdir libpgplot-perl
>> cd libpgplot-perl
>> wget 
>> http://archive.ubuntu.com/ubuntu/pool/multiverse/libp/libpgplot-perl/libpgplot-perl_2.21.orig.tar.gz
>>  wget 
>> http://archive.ubuntu.com/ubuntu/pool/multiverse/libp/libpgplot-perl/libpgplot-perl_2.21-5build1.dsc
>>  wget 
>> http://archive.ubuntu.com/ubuntu/pool/multiverse/libp/libpgplot-perl/libpgplot-perl_2.21-5build1.debian.tar.xz
>>  dpkg-source -x libpgplot-perl_2.21-5build1.dsc
>> cd libpgplot-perl-2.21
>> perl -pi -e s/libpng12/libpng/ debian/control
>> # some additional packages my system needed for debuild to work
>> sudo apt-get install gfortran libextutils-f77-perl pgplot5 chrpath debhelper
>> # will end with a fatal error, but the deb is built successfully
>> debuild
>> cd ../..
>> sudo apt-get purge libcpgplot0 libpgplot0 -y
>> sudo apt-get install ./libpgplot-perl/libpgplot-perl_2.21-5build1_amd64.deb
>> On 05/24/2018 07:18 PM, Karl Glazebrook wrote:
>>> Hi there PDL folk,
>>> I want to bring up an issue with the perl PGPLOT package on debian/Ubuntu. 
>>> The apt package is ‘libpgplot-perl’.
>>> (This came up when installing PDL on Ubuntu and getting an unexpected 
>>> graphics library instead of pgplot.)
>>> In the latest version of Ubuntu (>=17) someone has replaced the dependency 
>>> on the pgplot5 package with one on libcpgplot0.
>>> Seehttps://packages.ubuntu.com/search?keywords=pgplot
>>> libcpgplot0 replaces the true pgplot library with a supposedly API 
>>> compatible library provided by the giza package 
>>> (seehttp://giza.sourceforge.net/documentation/pgplot.shtml). I can imagine 
>>> that someone though this was a good idea as it is newer, C based, etc.
>>> Unfortunately this is not a good idea. It is not a full replacement, yet. I 
>>> am actually quite familiar with giza. The giza library does NOT implement 
>>> all pgplot functions and some of them work differently to the true pgplot 
>>> library. (I know as I have tested this and have also corresponded with the 
>>> developers who are also astronomers just down the road at Monash Uni). Also 
>>> this is clearly documented on the above web page.
>>> Also I do not think it should be done this way. Obviously giza provides a 
>>> drop in replacement for those who wants to use it, really  whomever is 
>>> doing this should try and make a ‘libpgplotgiza-perl’ instead to provide 
>>> the option.
>>> I wish someone had asked me, after all I am the owner still of the CPAN 
>>> PGPLOT package.
>>> Does anyone know how I would go about getting this reversed? It is quite 
>>> unclear to me who is making these decisions, I am not familiar with the 
>>> Debian packaging universe.
>>> Also I am a bit confused about the relation between Ubuntu and Debian. 
>>> According to the debian pages these changes are part of the 
>>> unstable/testing distributions?
>>> Any advice and pointers appreciated!
>>> Also anyone know any quick fixes? E.g. how to unstall the Ubuntu 16 version 
>>> in Ubuntu 18?
>>> Karl
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>>  
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> pdl-general mailing list
>>> pdl-gene...@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pdl-general
>>> 
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to