Bug 252112 - print/libotf: Don't use freetype-config
Summary: print/libotf: Don't use freetype-config
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks: 251512
  Show dependency treegraph
 
Reported: 2020-12-24 17:19 UTC by Daniel Engberg
Modified: 2021-01-01 16:34 UTC (History)
2 users (show)

See Also:
nikola.lecic: maintainer-feedback+


Attachments
Patch for libotf (2.24 KB, patch)
2020-12-24 17:19 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2020-12-24 17:19:50 UTC
Created attachment 220895 [details]
Patch for libotf

freetype-config is deprecated and shouldn't be used to detect freetype(2).
Import patch from Archlinux to fix this issue

Ref:
https://www.freetype.org/freetype2/docs/tutorial/step1.html
https://github.com/archlinux/svntogit-packages/blob/packages/libotf/trunk/replace-freetype-config.patch

Compile tested on FreeBSD 13.0-CURRENT r368713 (amd64)
Poudriere testport OK 12.2-RELEASE (amd64)
Comment 1 Nikola Lečić 2020-12-26 01:43:24 UTC
Approved, thank you very much.
Comment 2 Nikola Lečić 2020-12-26 01:44:11 UTC
Comment on attachment 220895 [details]
Patch for libotf

Approved, thank you very much.
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2021-01-01 16:33:33 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-01-01 16:34:04 UTC
A commit references this bug:

Author: pi
Date: Fri Jan  1 16:33:22 UTC 2021
New revision: 559849
URL: https://svnweb.freebsd.org/changeset/ports/559849

Log:
  print/libotf: Don't use freetype-config

  - freetype-config is deprecated and shouldn't be used to detect freetype(2)
    Import patch from Archlinux to fix this issue

  PR:		252112
  Submitted by:	daniel.engberg.lists@pyret.net
  Approved by:	nikola.lecic@anthesphoria.net (maintainer)

Changes:
  head/print/libotf/Makefile
  head/print/libotf/files/
  head/print/libotf/files/patch-configure.ac