Page MenuHomeFreeBSD

print/freetype2: Update to 2.11.0, convert to CMake and rearrange Makefile
ClosedPublic

Authored by diizzy on Sat, Sep 11, 7:23 AM.

Details

Summary
  • Convert to CMake, reduces patching and builds faster
  • Clean up MASTER_SITES and use SAVANNAH alias
  • Rearrange Makefile to make it easier to read and follow
  • Patch CMake(Lists.txt) to mimic GNU Autotools

This change removes freetype-config which isn't a default option and majority of distros does not ship it and static library.
PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251512

Test Plan

Compile tested on FreeBSD 13.0-CURRENT r368713 (amd64) with fontconfig
Poudriere testport OK 12.2-RELEASE (amd64) with fontconfig
Poudriere testport OK 11.4-RELEASE (amd64) with fontconfig

exp-run by antoine@ (many thanks to tcbnerner@ for patching broken ports)
ft2demos are ok by bofh@ to temporary mark as broken (private email)

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

diizzy created this revision.

Macro stlgtm:

Make sure to include the following in your commit message:

PR:          251512
Exp-run by:  antoine
Differential Revision: https://reviews.freebsd.org/D31909

A changelog of freetype in the message body would also be good, be it verbatim, or as a Changelog: ${URL}.

This revision is now accepted and ready to land.Tue, Sep 21, 2:20 PM
This revision was automatically updated to reflect the committed changes.