Sorry, but it is not easy.
Hugin needs libjpeg indirect. The libraries libpano, libvigraimpex and libwx_* 
(and maybe others also) depends on libjpeg.
So when building a static variant the libjpeg is needed for compiling.
And on Windows you need to install the dynamic jpeg library, so that Hugin runs 
- so you can't simply remove it.

So I had to rework the patch and comitted to repository.

PS: Why only libjpeg? The same applies to libpng, which does not matter
you?

** Changed in: hugin
       Status: New => Fix Committed

** Changed in: hugin
    Milestone: None => 2025.0beta1

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/2125936

Title:
  The libjpeg dependency is not used

Status in Hugin:
  Fix Committed

Bug description:
  The CMake configuration requires libjpeg, however it seems like it is
  not actually needed by Hugin, this seems to be confirmed by the list
  of sonames provided below.

  I'm attaching a patch to remove the requirement.

  $ readelf -d /redacted/hugin/usr/bin/* | grep NEEDED | sort -u
   0x0000000000000001 (NEEDED)             Shared library: [libGLEW.so.2.2]
   0x0000000000000001 (NEEDED)             Shared library: [libGLU.so.1]
   0x0000000000000001 (NEEDED)             Shared library: [libGLX.so.0]
   0x0000000000000001 (NEEDED)             Shared library: [libImath-3_2.so.30]
   0x0000000000000001 (NEEDED)             Shared library: 
[libOpenEXR-3_4.so.33]
   0x0000000000000001 (NEEDED)             Shared library: [libOpenGL.so.0]
   0x0000000000000001 (NEEDED)             Shared library: 
[libboost_filesystem.so.1.88.0]
   0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
   0x0000000000000001 (NEEDED)             Shared library: [libceleste.so.0.0]
   0x0000000000000001 (NEEDED)             Shared library: [libexiv2.so.28]
   0x0000000000000001 (NEEDED)             Shared library: [libfftw3.so.3]
   0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
   0x0000000000000001 (NEEDED)             Shared library: [libgomp.so.1]
   0x0000000000000001 (NEEDED)             Shared library: [libhuginbase.so.0.0]
   0x0000000000000001 (NEEDED)             Shared library: 
[libhuginbasewx.so.0.0]
   0x0000000000000001 (NEEDED)             Shared library: 
[libicpfindlib.so.0.0]
   0x0000000000000001 (NEEDED)             Shared library: [liblcms2.so.2]
   0x0000000000000001 (NEEDED)             Shared library: 
[liblocalfeatures.so.0.0]
   0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
   0x0000000000000001 (NEEDED)             Shared library: [libpano13.so.3]
   0x0000000000000001 (NEEDED)             Shared library: [libsqlite3.so.0]
   0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
   0x0000000000000001 (NEEDED)             Shared library: [libtiff.so.6]
   0x0000000000000001 (NEEDED)             Shared library: [libvigraimpex.so.11]
   0x0000000000000001 (NEEDED)             Shared library: 
[libwx_baseu-3.2.so.0]
   0x0000000000000001 (NEEDED)             Shared library: 
[libwx_baseu_net-3.2.so.0]
   0x0000000000000001 (NEEDED)             Shared library: 
[libwx_baseu_xml-3.2.so.0]
   0x0000000000000001 (NEEDED)             Shared library: 
[libwx_gtk3u_aui-3.2.so.0]
   0x0000000000000001 (NEEDED)             Shared library: 
[libwx_gtk3u_core-3.2.so.0]
   0x0000000000000001 (NEEDED)             Shared library: 
[libwx_gtk3u_gl-3.2.so.0]
   0x0000000000000001 (NEEDED)             Shared library: 
[libwx_gtk3u_html-3.2.so.0]
   0x0000000000000001 (NEEDED)             Shared library: 
[libwx_gtk3u_propgrid-3.2.so.0]
   0x0000000000000001 (NEEDED)             Shared library: 
[libwx_gtk3u_xrc-3.2.so.0]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/2125936/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~hugin-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to