Hugin contains a bundled zthread-2.3.1

Bug #703736 reported by Bruno Postle
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
High
Unassigned

Bug Description

src/foreign/zthread is a bundled version of zthread <http://zthread.sourceforge.net/> This is a problem with some Linux distributions such as Debian and fedora that have policies to not ship multiple versions of the same library.

The solution would be to modify the cmake configuration to allow building against a system version of this library, and/or to remove the bundled library altogether.

Yuv (yuv)
Changed in hugin:
status: New → Confirmed
importance: Undecided → Wishlist
Yuv (yuv)
Changed in hugin:
importance: Wishlist → High
Revision history for this message
Andreas Metzler (k-launchpad-downhill-at-eu-org) wrote :

Please note that zthreads is not yet packaged for Debian. http://bugs.debian.org/579373

Revision history for this message
Andreas Metzler (k-launchpad-downhill-at-eu-org) wrote :

Find attached a patch that changes hugin to use an external zthread if available and fall back to the included copy otherwise. The code does not do any version testing.

I think this should be a a sufficient solution for this issue. Afaiu the big problem is not that hugin source contains a copy of the zthread library, but that it cannot be built against an external version of the library. OTOH removing exotic libraries like zthread from src/foreign can make packaging harder.

Revision history for this message
tmodes (tmodes) wrote :

Thanks Andreas, pushed to repository.

Changed in hugin:
status: Confirmed → Fix Committed
Yuv (yuv)
Changed in hugin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.