Opened 6 years ago

Closed 6 years ago

#57054 closed update (fixed)

freetype: please upgrade to 2.9.1

Reported by: pmetzger (Perry E. Metzger) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ctreleaven (Craig Treleaven), dbevans (David B. Evans)
Port: freetype

Description

freetype's released version is now 2.9.1

Change History (6)

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Status: assignedaccepted

Right. It has been pointed out to me that freetype 2.9 removes the old freetype-config script, which may affect other ports that have not yet switched to using the freetype2.pc pkg-config file, so we'll have to watch out for that.

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ctreleaven added

Specifically I was advised of this problem in regard to MythTV: https://code.mythtv.org/trac/ticket/13262. They have fixed it, but we don't have the fix in MacPorts yet. Craig, can you update the MythTV ports and/or backport the fix?

There are almost 200 ports that depend on freetype. I'll try to identify which of them might use freetype-config and see if any patches are needed.

comment:3 Changed 6 years ago by ctreleaven (Craig Treleaven)

Ryan, I'll have a look at applying this to the other versions of Myth but it may be a few days.

comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dbevans added

Supersedes #55976.

comment:5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Here is the PR that updates freetype to 2.9.1, for you to test with: https://github.com/macports/macports-ports/pull/2484

comment:6 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In a55a097cad6edd1c7c4b17e918999729b559b21b/macports-ports (master):

freetype: Update to 2.9.1

Closes: #57054

Add pkgconfig build dependency since the configure script prefers to use
pkg-config to find libraries.

The freetype-config script is now deprecated in favor of pkg-config, but
we still have ports that rely on it so continue to install it. Add a
no_freetype_config variant to allow maintainers to test their ports for
compatibility with a future version of the freetype port that removes
this script.

The freetype-config script uses pkg-config if available, but seems to
give reasonable answers even if it's not available. Since we don't
declare a runtime dependency on the pkgconfig port and there doesn't
appear to be a compelling reason to do so, patch freetype-config so it
never uses pkg-config, so that it always gives the same answers.

Note: See TracTickets for help on using tickets.