Red Hat Bugzilla – Bug 1284810
mingw-gnutls links with unneeded libraries
Last modified: 2015-12-08 14:53:23 EST
Created attachment 1098097 [details]
Description of problem:
I realized that libgnutls-30.dll links to iconv.dll and libintl.dll which are not necessary, and in fact they only drag unneeded stuff. gnutls supports the windows UCS conversion functions thus iconv shouldn't be used. I attach a patch which reduces the dependencies without reducing functionality.
I have not managed to remove libwinpthread.dll as a dependency even though gnutls doesn't use posix threads in windows, but rather uses the native threads.
If you're a packager, apply for co-maintainership for the package,
then you'll be able to apply the fix yourself.
I am a packager but I don't want to get to maintain this package if that's what you mean.
Richard, Nikos, I've been primarily maintaining this package for a while and I can continue to do so. I will review the gnutls/p11-kit patches soon.
One other option I noticed is passing to configure the
It is questionable whether it is needed. It will set p11-kit trust module the primary trust store for windows, but I have never seen a p11-kit trust module setup for windows. By default (if this option is not given) gnutls uses the windows trust store which is a much more reliable location for both wine and native windows programs to consult.
mingw-gnutls-3.4.7-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-5d92f6481b
mingw-gnutls-3.4.7-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update mingw-gnutls'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-5d92f6481b
mingw-gnutls-3.4.7-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.