Page MenuHomeFreeBSD

java/openjfx8-devel: Fix Pango support
ClosedPublic

Authored by tobik on Jul 9 2017, 10:20 AM.

Details

Summary
Fix Pango support

Currently Pango functions are hidden behind __linux__ and Java programs
requiring Pango cause an UnsatisfiedLinkError

Caused by: java.lang.UnsatisfiedLinkError: com.sun.javafx.font.freetype.OSPango.pango_ft2_font_map_new()J
	at com.sun.javafx.font.freetype.OSPango.pango_ft2_font_map_new(Native Method)
	at com.sun.javafx.font.freetype.PangoGlyphLayout.layout(PangoGlyphLayout.java:88)
	at com.sun.javafx.text.PrismTextLayout.shape(PrismTextLayout.java:834)
	at com.sun.javafx.text.PrismTextLayout.layout(PrismTextLayout.java:1064)
	at com.sun.javafx.text.PrismTextLayout.ensureLayout(PrismTextLayout.java:223)
	...

PR:		220566
Submitted by:	Stefan Ehmann <shoesoft@gmx.net>
Approved by:	??? (mentor)
Differential Revision:	https://reviews.freebsd.org/D?????
MFH:	2017Q3

Diff Detail

Repository
rP 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

tobik created this revision.Jul 9 2017, 10:20 AM
mat accepted this revision.Jul 11 2017, 12:00 PM

As a side note, it is not clear what is broken. If this port does not build with the PANGO option, then bumping PORTREVISION is not needed.

This revision is now accepted and ready to land.Jul 11 2017, 12:00 PM
This revision was automatically updated to reflect the committed changes.