Red Hat Bugzilla – Bug 866032
configure --disable-static prevents building of freetype static library
Last modified: 2012-12-20 11:19:50 EST
Back in 2008 static libraries were stripped from the final package. The relevant commit does not explain why:
Actually they are disabled at configure level with --disable-static. I'd like to know the rationale behind this.
If that reason still stands a comment should be added to the spec (or I can provide a git patch myself... I don't know if this is common practice here) otherwise adding --enable-static can be considered. I didn't find anything in favor or against it in the wild.
The commit your referring to dates back from the time when the Fedora MinGW toolchain was in its initial development phase where there was still quite of lot of experimenting going on and packaging guidelines were yet to be written. Back then the packages weren't added to Fedora yet.
As far as I know there hasn't been any real rationale for disabling the static libraries in this case so I don't see any problems with re-adding the static libraries for freetype in a separate subpackage (as is also done with various other mingw packages)
Created attachment 632911 [details]
Added static subpackage
I used mingw-glib2 and mingw-fontconfig as templates to add the static subpackage.
Keep in mind I'm *not* using Fedora (I rather ported some of its MinGW packages to Arch linux) so the patch is not tested. Anyway I can confirm the static library does not need any special treatment to be built.
Thank you very much for the patch! I just applied it to the package and the builds are currently being performed
mingw-freetype-2.4.10-2.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mingw-freetype-2.4.10-2.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
mingw-freetype-2.4.10-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.