From owner-svn-ports-head@freebsd.org Sun Sep 8 07:27:32 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7D2C4EAE5D; Sun, 8 Sep 2019 07:27:32 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46R2tr2lmyz4bHG; Sun, 8 Sep 2019 07:27:32 +0000 (UTC) (envelope-from pi@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 431371A882; Sun, 8 Sep 2019 07:27:32 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x887RWTM066134; Sun, 8 Sep 2019 07:27:32 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x887RVLH066133; Sun, 8 Sep 2019 07:27:31 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201909080727.x887RVLH066133@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 8 Sep 2019 07:27:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r511553 - in head/java/eclipse: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/java/eclipse: . files X-SVN-Commit-Revision: 511553 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Sep 2019 07:27:32 -0000 Author: pi Date: Sun Sep 8 07:27:31 2019 New Revision: 511553 URL: https://svnweb.freebsd.org/changeset/ports/511553 Log: java/eclipse: usablity patch for webkit2-gtk3 issues - usability patch for PR:238844 (not a fix, but keeps Eclipse usable) - use github.com servers in preference to git.eclipse.org for distfiles PR: 240383 Submitted by: Jonathan Chen (maintainer) Modified: head/java/eclipse/Makefile head/java/eclipse/files/patch-eclipse.platform.swt Modified: head/java/eclipse/Makefile ============================================================================== --- head/java/eclipse/Makefile Sun Sep 8 06:47:43 2019 (r511552) +++ head/java/eclipse/Makefile Sun Sep 8 07:27:31 2019 (r511553) @@ -3,6 +3,7 @@ PORTNAME= eclipse PORTVERSION= 4.12 +PORTREVISION= 1 CATEGORIES= java devel # Update to git-tag on git.eclipse.org @@ -37,8 +38,8 @@ ECLIPSE_MODULES=jdt/eclipse.jdt \ equinox/rt.equinox.p2 # Each Eclipse module has its own MASTER_SITE .for M in ${ECLIPSE_MODULES} -MASTER_SITES+= https://git.eclipse.org/c/${M}.git/snapshot/:${M:C/[\.\/]//g} \ - https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${PORTVERSION}/:${M:C/[\.\/]//g} +MASTER_SITES+= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${PORTVERSION}/:${M:C/[\.\/]//g} \ + https://git.eclipse.org/c/${M}.git/snapshot/:${M:C/[\.\/]//g} DISTFILES+= ${M:C/.*\///}-${ECLIPSE_SUFX}:${M:C/[\.\/]//g} .endfor Modified: head/java/eclipse/files/patch-eclipse.platform.swt ============================================================================== --- head/java/eclipse/files/patch-eclipse.platform.swt Sun Sep 8 06:47:43 2019 (r511552) +++ head/java/eclipse/files/patch-eclipse.platform.swt Sun Sep 8 07:27:31 2019 (r511553) @@ -159,6 +159,18 @@ diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/ if (osName.startsWith("Windows")) isWin32 = true; IsLinux = isLinux; IsWin32 = isWin32; +diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java +--- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java 0000-00-00 00:00:00.000000000 +0000 ++++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java 0000-00-00 00:00:00.000000000 +0000 +@@ -155,7 +155,7 @@ + * https://www.nczonline.net/blog/2009/01/05/what-determines-that-a-script-is-long-running/ + * https://stackoverflow.com/questions/3030024/maximum-execution-time-for-javascript + */ +- static final int ASYNC_EXEC_TIMEOUT_MS = 10000; // Webkit2. ++ static final int ASYNC_EXEC_TIMEOUT_MS = 100; // Dirty hack for webkit issues on FreeBSD + + static boolean bug522733FirstInstanceCreated = false; //Webkit2 workaround for Bug 522733 + diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf --- eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf 0000-00-00 00:00:00.000000000 +0000 +++ eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf 0000-00-00 00:00:00.000000000 +0000