From owner-svn-ports-all@freebsd.org Thu Aug 24 17:48:56 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90B53DE4EB8; Thu, 24 Aug 2017 17:48:56 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A136D75; Thu, 24 Aug 2017 17:48:56 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7OHmt0N003460; Thu, 24 Aug 2017 17:48:55 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7OHmt2A003457; Thu, 24 Aug 2017 17:48:55 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201708241748.v7OHmt2A003457@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 24 Aug 2017 17:48:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448699 - in head/java/openjfx8-devel: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/java/openjfx8-devel: . files X-SVN-Commit-Revision: 448699 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 17:48:56 -0000 Author: tobik Date: Thu Aug 24 17:48:55 2017 New Revision: 448699 URL: https://svnweb.freebsd.org/changeset/ports/448699 Log: java/openjfx8-devel - Enable OpenGL Prism backend by default on FreeBSD too - Add missing platform check. FreeBSD is "a form of Linux or Solaris" too. Submitted by: Gareth Wyn Roberts (via mail) Added: head/java/openjfx8-devel/files/patch-modules_base_src_main_java_com_sun_javafx_PlatformUtil.java (contents, props changed) head/java/openjfx8-devel/files/patch-modules_graphics_src_main_java_com_sun_prism_impl_PrismSettings.java (contents, props changed) Modified: head/java/openjfx8-devel/Makefile Modified: head/java/openjfx8-devel/Makefile ============================================================================== --- head/java/openjfx8-devel/Makefile Thu Aug 24 17:20:17 2017 (r448698) +++ head/java/openjfx8-devel/Makefile Thu Aug 24 17:48:55 2017 (r448699) @@ -3,6 +3,7 @@ PORTNAME= openjfx8 PORTVERSION= 20170722 +PORTREVISION= 1 CATEGORIES= java x11-toolkits devel MASTER_SITES= https://bitbucket.org/tobik/openjfx-rt/get/freebsd${PORTVERSION}${EXTRACT_SUFX}?dummy=/ PKGNAMESUFFIX= -devel Added: head/java/openjfx8-devel/files/patch-modules_base_src_main_java_com_sun_javafx_PlatformUtil.java ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/java/openjfx8-devel/files/patch-modules_base_src_main_java_com_sun_javafx_PlatformUtil.java Thu Aug 24 17:48:55 2017 (r448699) @@ -0,0 +1,15 @@ +--- modules/base/src/main/java/com/sun/javafx/PlatformUtil.java.orig 2017-07-22 15:59:03 UTC ++++ modules/base/src/main/java/com/sun/javafx/PlatformUtil.java +@@ -158,10 +158,10 @@ public class PlatformUtil { + } + + /** +- * Returns true if the operating system is a form of Linux or Solaris ++ * Returns true if the operating system is a form of Unix + */ + public static boolean isUnix(){ +- return LINUX || SOLARIS; ++ return LINUX || SOLARIS || FREEBSD; + } + + /** Added: head/java/openjfx8-devel/files/patch-modules_graphics_src_main_java_com_sun_prism_impl_PrismSettings.java ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/java/openjfx8-devel/files/patch-modules_graphics_src_main_java_com_sun_prism_impl_PrismSettings.java Thu Aug 24 17:48:55 2017 (r448699) @@ -0,0 +1,11 @@ +--- modules/graphics/src/main/java/com/sun/prism/impl/PrismSettings.java.orig 2017-07-22 15:59:03 UTC ++++ modules/graphics/src/main/java/com/sun/prism/impl/PrismSettings.java +@@ -212,6 +212,8 @@ public final class PrismSettings { + tryOrderArr = new String[] { "es2" }; + } else if (PlatformUtil.isLinux()) { + tryOrderArr = new String[] { "es2", "sw" }; ++ } else if (PlatformUtil.isFreeBSD()) { ++ tryOrderArr = new String[] { "es2", "sw" }; + } else { + tryOrderArr = new String[] { "sw" }; + }