[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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

Any objection?

Rafael



Reply to: