Bug 247901 - java/openjdk14: Add fontconfig support
Summary: java/openjdk14: Add fontconfig support
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: freebsd-java (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2020-07-10 22:03 UTC by Dmitri Goutnik
Modified: 2020-07-11 18:29 UTC (History)
1 user (show)

See Also:
glewis: maintainer-feedback+
dmgk: maintainer-feedback?


Attachments
patch file (9.51 KB, patch)
2020-07-10 22:03 UTC, Dmitri Goutnik
no flags Details | Diff
patch file v2 (9.85 KB, patch)
2020-07-11 17:26 UTC, Dmitri Goutnik
dmgk: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Goutnik freebsd_committer 2020-07-10 22:03:08 UTC
Created attachment 216368 [details]
patch file

Add support for fontconfig to openjdk14, similar to what was done in bug #247238

poudriere builds OK on 121a, 114i; "works for me" with various JetBrains IDEs on 12.1-STABLE amd64.
Comment 1 Greg Lewis freebsd_committer 2020-07-11 16:47:58 UTC
I suspect that this change also requires an additional dependency.  See https://svnweb.freebsd.org/ports/head/java/openjdk11/Makefile?r1=541062&r2=541730&pathrev=541730 and the associated bug
Comment 2 Dmitri Goutnik freebsd_committer 2020-07-11 17:26:44 UTC
Created attachment 216382 [details]
patch file v2

Added x11-fonts/xorg-fonts-truetype to RUN_DEPENDS.
Comment 3 Greg Lewis freebsd_committer 2020-07-11 17:55:17 UTC
Thanks, please go ahead and commit this
Comment 4 commit-hook freebsd_committer 2020-07-11 18:29:12 UTC
A commit references this bug:

Author: dmgk
Date: Sat Jul 11 18:28:56 UTC 2020
New revision: 542040
URL: https://svnweb.freebsd.org/changeset/ports/542040

Log:
  java/openjdk14: Add fontconfig support

  PR:		247901
  Approved by:	java (glewis)

Changes:
  head/java/openjdk14/Makefile
  head/java/openjdk14/files/patch-make_lib_Awt2dLibraries.gmk
  head/java/openjdk14/files/patch-src_java.desktop_share_native_libfontmanager_freetypeScaler.c
Comment 5 Dmitri Goutnik freebsd_committer 2020-07-11 18:29:45 UTC
Thanks for the approval.