drop libmng

Asked by Dikkie Dikker on 2018-11-01

Maybe you could drop libmng, it was great but super unsafe.

Question information

English Edit question
Ubuntu qtimageformats-opensource-src Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:
Manfred Hampl (m-hampl) said : #1

What exactly do you want to suggest?
Totally abandoning the package libmng, or just dropping the dependency of qtimageformats-opensource-src on libmng?

Do you have a proposal how the functionality can be replaced by some other package?

Dikkie Dikker (dikkiedikker) said : #2

Well I don't have any replacement package for it. But I would suggest drop it as dependency.

If I read the webpage from Qt Image formats http://doc.qt.io/qt-5/qtimageformats-index.html

"Note: Some bundled third party codecs are not maintained anymore. They are provided for manual builds only, and not used as a fallback in case system libraries are unavailable."

Well the bundled libmng is eventually as unmantained as the system version of libmng. So I'm not really sure how to give people the choice of using libmng then when really needed if it was dropped as dependency. (Well, compile your own I guess)

Best Manfred Hampl (m-hampl) said : #3

It seems that libmng has not been maintained for quite a while.
In Debian it is orphaned, see also https://bugs.debian.org/831389
There are some bug reports in Ubuntu, https://bugs.launchpad.net/ubuntu/+source/libmng

Which problems do you see in qtimageformats-opensource-src with libmng?
If these can be corrected by modifying libmng, then this would (in my opinion) be the better way.
But if weaknesses in libmng prevent qtimageformats-opensource-src from correctly working, and if they are not tackled in time, then the use of libmng in qtimageformats-opensource-src should be stopped and the dependency dropped.

Dikkie Dikker (dikkiedikker) said : #4

Thanks Manfred Hampl, that solved my question.