Description of problem:
FreeType has supported some OpenType related features since 2.5.3 by linking HarfBuzz at the build time, and continue growing more since then.
Although our build keeps disabling this feature, we have Bug#1853937 now and it is hard to fix without enabling HarfBuzz in FreeType. it may be time to enable it in Fedora too because it may be stable enough that they spent 6 years or so since 2.5.3 has been released.
I'm filing this RFE separetely because it would be better informing this as a f34 Changes proposal and good to keep it on track.
I agree with the change. But I'm lost with the bootstrap process (I'm sorry about that, I didn't need it until now). I understand how should the changes look in the spec file thanks to you but the process of rebuilding freetype isn't clear to me.
I think it should go this way:
1) bump release
2) build freetype with bootrap on (== without harfbuzz and the build has ~bootstrap suffix)
3) build harfbuzz with the previously build freetype
4) build freetype without bootstrap which will use the previously built harfbuzz
I'm not sure how to execute 4). Is it by changing the bcond in the spec file to "without" instead of "with" or by passing a parameter to the build?
Does it need to be manual or do we have an automation for this?
Do we need to do this every time we need to build freetype or harfbuzz?
Actually I have same question and not exactly sure how that will be done. but after looking at some packages that support bootstrap like glibc, I see they didn't touch a flag in spec file since it has been added. they disable bootstrap by default and looks like expecting enabling boostrap by --with bootstrap from rpmbuild side.
I'll ask some of my colleagues then. Regards
I think that I've figured the process out thanks to Jan Grulich and https://docs.fedoraproject.org/en-US/packaging-guidelines/#bootstrapping. However I'm not sure whether it is needed to track this as a proposal but if you think that it is needed we can do this at January as there is time for these until 19th of January (I don't consider this a System Wide change).
Thank you for working on this. I hope this wouldn't negatively affect too much but that would be nice if we can get more testers and feedback on it by advertising this with Change proposal since users is somewhat sensitive on the changes in freetype and rendering.
I've proposed this at https://fedoraproject.org/wiki/Changes/EnableHarfBuzzInFreeType.
Thank you so much. that looks good to me.
I've built the freetype with enabled HarfBuzz support successfully in rawhide.
Perhaps this is causing the issue: bug 1925922
*** Bug 1136522 has been marked as a duplicate of this bug. ***