svn commit: r445500 - in branches/2017Q3/java/openjfx8-devel: . files

Tobias Kortkamp tobik at FreeBSD.org
Tue Jul 11 14:14:04 UTC 2017


Author: tobik
Date: Tue Jul 11 14:14:02 2017
New Revision: 445500
URL: https://svnweb.freebsd.org/changeset/ports/445500

Log:
  MFH: r445497
  
  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
  
  Approved by:	ports-secteam (blanket)

Added:
  branches/2017Q3/java/openjfx8-devel/files/patch-modules_graphics_src_main_native-font_pango.c
     - copied unchanged from r445497, head/java/openjfx8-devel/files/patch-modules_graphics_src_main_native-font_pango.c
Modified:
  branches/2017Q3/java/openjfx8-devel/Makefile
Directory Properties:
  branches/2017Q3/   (props changed)

Modified: branches/2017Q3/java/openjfx8-devel/Makefile
==============================================================================
--- branches/2017Q3/java/openjfx8-devel/Makefile	Tue Jul 11 14:08:24 2017	(r445499)
+++ branches/2017Q3/java/openjfx8-devel/Makefile	Tue Jul 11 14:14:02 2017	(r445500)
@@ -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/

Copied: branches/2017Q3/java/openjfx8-devel/files/patch-modules_graphics_src_main_native-font_pango.c (from r445497, 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)
+++ branches/2017Q3/java/openjfx8-devel/files/patch-modules_graphics_src_main_native-font_pango.c	Tue Jul 11 14:14:02 2017	(r445500, copy of r445497, head/java/openjfx8-devel/files/patch-modules_graphics_src_main_native-font_pango.c)
@@ -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-all mailing list