svn commit: r445497 - in head/java/openjfx8-devel: . files
Tobias Kortkamp
tobik at FreeBSD.org
Tue Jul 11 13:20:19 UTC 2017
Author: tobik
Date: Tue Jul 11 13:20:17 2017
New Revision: 445497
URL: https://svnweb.freebsd.org/changeset/ports/445497
Log:
Add missing Pango symbols
Currently Pango functions are hidden behind __linux__ and not compiled
in as part of the build. Not all JavaFX applications are affected by
this, but applications that do advanced text layout that require Pango
internally cause an UnsatisfiedLinkError at runtime.
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 at gmx.net>
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D11545
MFH: 2017Q3
Added:
head/java/openjfx8-devel/files/patch-modules_graphics_src_main_native-font_pango.c (contents, props changed)
Modified:
head/java/openjfx8-devel/Makefile
Modified: head/java/openjfx8-devel/Makefile
==============================================================================
--- head/java/openjfx8-devel/Makefile Tue Jul 11 12:14:32 2017 (r445496)
+++ head/java/openjfx8-devel/Makefile Tue Jul 11 13:20:17 2017 (r445497)
@@ -3,7 +3,7 @@
PORTNAME= openjfx8
PORTVERSION= 20160228
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= java x11-toolkits devel
MASTER_SITES= https://bitbucket.org/tobik/openjfx-rt/get/ \
http://bitbucket.org/tobik/openjfx-rt/get/
Added: head/java/openjfx8-devel/files/patch-modules_graphics_src_main_native-font_pango.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/java/openjfx8-devel/files/patch-modules_graphics_src_main_native-font_pango.c Tue Jul 11 13:20:17 2017 (r445497)
@@ -0,0 +1,11 @@
+--- modules/graphics/src/main/native-font/pango.c.orig 2017-07-08 13:12:21 UTC
++++ modules/graphics/src/main/native-font/pango.c
+@@ -23,7 +23,7 @@
+ * questions.
+ */
+
+-#if defined __linux__
++#if defined __linux__ || defined(__FreeBSD__)
+ #if defined _ENABLE_PANGO
+
+ #include <jni.h>
More information about the svn-ports-head
mailing list