[Pkg-octave-devel] In which package should liboctgui.so be?

Sébastien Villemot sebastien at debian.org
Wed Jan 6 11:06:23 UTC 2016


Le samedi 02 janvier 2016 à 00:58 +0100, Rafael Laboissiere a écrit :
> The liboctgui.so* files are currently included in the the octave package, 
> contrary to the liboctave.so* and liboctinterp.so* files, which are 
> included in liboctave3v5.  This is triggering the Lintian warning:
> 
>     octave: postinst-has-useless-call-to-ldconfig
> 
> I am wondering whether The liboctgui.so* files should go into 
> liboctave3v5.  However, by doing this, we will end up with different 
> libraries with different SOVERSIONs (liboctave and liboctinterp have 3 as 
> SOVERSION, while liboctgui has 1).  I guess that this would be a 
> problem for naming the liboctave* package.  As a matter of fact, after 
> a quick investigation, I found Debian packages containing different 
> libraries, but they all seem to have the same SOVERSION, e.g.:
> 
>     $ dpkg -L libgstreamer-plugins-base1.0-0 | grep '/usr/lib/.*/lib.*.so\.[0-9]$'
>     /usr/lib/x86_64-linux-gnu/libgstallocators-1.0.so.0
>     /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0
>     /usr/lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0
>     /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0
>     /usr/lib/x86_64-linux-gnu/libgsttag-1.0.so.0
>     /usr/lib/x86_64-linux-gnu/libgstapp-1.0.so.0
>     /usr/lib/x86_64-linux-gnu/libgstfft-1.0.so.0
>     /usr/lib/x86_64-linux-gnu/libgstriff-1.0.so.0
>     /usr/lib/x86_64-linux-gnu/libgstsdp-1.0.so.0
>     /usr/lib/x86_64-linux-gnu/libgstrtsp-1.0.so.0
> 
> What should we do?  If we decide to keep liboctgui in the octave package, 
> we might include the following in debian/rules:
> 
>   override_dh_makeshlibs:
>           dh_makeshlibs --package=octave --noscripts
>           dh_makeshlibs --no-package=octave

I'm in favor of keeping liboctgui in the octave package, since it is a
private library not needed by any other external package.

So I'm ok with your proposed change (as long as it does not break
anything! :)

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://sebastien.villemot.name
  `-      GPG Key: 4096R/381A7594



More information about the Pkg-octave-devel mailing list