diff options
Diffstat (limited to 'dev-util')
3 files changed, 47 insertions, 3 deletions
diff --git a/dev-util/netbeans-standalone/Manifest b/dev-util/netbeans-standalone/Manifest index ba860d73b..46fc27373 100644 --- a/dev-util/netbeans-standalone/Manifest +++ b/dev-util/netbeans-standalone/Manifest @@ -1,6 +1,7 @@ +AUX fix-private-debugger-access.patch 1621 BLAKE2B f3124edee73f31445a6093129a1de8a614991115dc5df39b794fbaad09ec64f7b7114faf4057906da4a0b5a17911e30ab774e6e49e14a3ee46dccbed13735f57 SHA512 b2fe14770733c5b9c53f18fdc5c001add901ff1b28755ae960ffb72ae6106fd930a832f2857e00e96c88f58d3339223b0321ee6474507b6c3c3b3739a807df19 DIST netbeans-standalone-11.1.zip 145993657 BLAKE2B 0c4fc85771e34749b6937dd57d000899a596aa78955b063e404362f3f5c25cd97ebd8b932da6f426e3676a00cafda5ac6c31e18144cbf2a81483a8cdf1780f8d SHA512 acf971177d506535d66c0cb93c702c13eeae567bb387d50d7b9e5950d9e7909708868b76868b7ce0b664513f52b4af782bc12db66c61496abcbb3058cff7dc4f DIST netbeans-standalone-11.2.zip 147105686 BLAKE2B e418e37ddeea20b0eac257c6a1bbfece14a1f04a6e94b8cb1810f695ad97e6b9377956191b0a2f6030edbe08673cfc9b1af10be2a3c02fb37d2a0afbd922628c SHA512 ae7bc4a5752a49e04dd9d668af9c7d2f7e73b227d6251995c51dbd713fa01e9604f54bcc1aafd084639473c28d20fb56e8e69b296e961a763ee2f365d65245cd -EBUILD netbeans-standalone-11.1.ebuild 5141 BLAKE2B d8750749a1e819c32fe32cefe392aecc6573e5832fe1076159f68e373449867a62de47e072e9c7ccf9b3d51d41b4a1d7ed7ee9973005c5274d73c75a73b16df4 SHA512 160cb1761550749b6c0038670c92174cfe154cff0f28e4a142b5052fd682730a4997e37031e4bfce1006cd100d560f3a294505f21ee94786848b966598ac09b0 -EBUILD netbeans-standalone-11.2.ebuild 5141 BLAKE2B d8750749a1e819c32fe32cefe392aecc6573e5832fe1076159f68e373449867a62de47e072e9c7ccf9b3d51d41b4a1d7ed7ee9973005c5274d73c75a73b16df4 SHA512 160cb1761550749b6c0038670c92174cfe154cff0f28e4a142b5052fd682730a4997e37031e4bfce1006cd100d560f3a294505f21ee94786848b966598ac09b0 -EBUILD netbeans-standalone-9999.ebuild 5141 BLAKE2B d8750749a1e819c32fe32cefe392aecc6573e5832fe1076159f68e373449867a62de47e072e9c7ccf9b3d51d41b4a1d7ed7ee9973005c5274d73c75a73b16df4 SHA512 160cb1761550749b6c0038670c92174cfe154cff0f28e4a142b5052fd682730a4997e37031e4bfce1006cd100d560f3a294505f21ee94786848b966598ac09b0 +EBUILD netbeans-standalone-11.1.ebuild 5230 BLAKE2B 89d6748d67191bbfb23e8de29d4384206dda7a29ac036ceb3b291c400beb0f496a2154f8a7cf08e7fef92b6ce58017b3d8bfb3b180facb3ba360ce1da1c09325 SHA512 2fd57aef7cfa7a31fe89abdf123fe3a9a295f65d3e0b30f95ef2126d90abf1f093b3ba4c6c926d6f51d4c57ab4417a202bf081d29201cf6f89300cdf04b15a0b +EBUILD netbeans-standalone-11.2.ebuild 5230 BLAKE2B 89d6748d67191bbfb23e8de29d4384206dda7a29ac036ceb3b291c400beb0f496a2154f8a7cf08e7fef92b6ce58017b3d8bfb3b180facb3ba360ce1da1c09325 SHA512 2fd57aef7cfa7a31fe89abdf123fe3a9a295f65d3e0b30f95ef2126d90abf1f093b3ba4c6c926d6f51d4c57ab4417a202bf081d29201cf6f89300cdf04b15a0b +EBUILD netbeans-standalone-9999.ebuild 5230 BLAKE2B 89d6748d67191bbfb23e8de29d4384206dda7a29ac036ceb3b291c400beb0f496a2154f8a7cf08e7fef92b6ce58017b3d8bfb3b180facb3ba360ce1da1c09325 SHA512 2fd57aef7cfa7a31fe89abdf123fe3a9a295f65d3e0b30f95ef2126d90abf1f093b3ba4c6c926d6f51d4c57ab4417a202bf081d29201cf6f89300cdf04b15a0b MISC metadata.xml 338 BLAKE2B 25922d9e4c7c4cd111db8b96e1dcb3cf026d9262b9d0861a4bcd49009303fc8535afd370e301d3f51f3127516c3b2561d6d6f56de0433a835f85fa15d1ab5012 SHA512 b7525dac3a4947550c33f096550e82644ed8a790e915a66ee627f81727f58fcbf0a055f298f8b45ee8d08da747fec79a8276a96ce0dcc43b847341166fbea4e9 diff --git a/dev-util/netbeans-standalone/files/fix-private-debugger-access.patch b/dev-util/netbeans-standalone/files/fix-private-debugger-access.patch new file mode 100644 index 000000000..3999dc0f7 --- /dev/null +++ b/dev-util/netbeans-standalone/files/fix-private-debugger-access.patch @@ -0,0 +1,37 @@ +diff --git a/ide/core.browser.webview/src/org/netbeans/core/browser/webview/ext/WebKitDebuggingTransport.java b/ide/core.browser.webview/src/org/netbeans/core/browser/webview/ext/WebKitDebuggingTransport.java +index d0b5f485e1..512700ddd0 100644 +--- a/ide/core.browser.webview/src/org/netbeans/core/browser/webview/ext/WebKitDebuggingTransport.java ++++ b/ide/core.browser.webview/src/org/netbeans/core/browser/webview/ext/WebKitDebuggingTransport.java +@@ -19,6 +19,7 @@ + package org.netbeans.core.browser.webview.ext; + + import com.sun.javafx.scene.web.Debugger; ++import java.lang.reflect.Field; + import java.net.MalformedURLException; + import java.net.URL; + import java.util.logging.Level; +@@ -54,7 +55,23 @@ public class WebKitDebuggingTransport implements TransportImplementationWithURLT + @Override + @SuppressWarnings("deprecation") + public boolean attach() { +- this.debugger = browserImpl.getEngine().impl_getDebugger(); ++ Class webEngineClass = browserImpl.getClass(); ++ Field debuggerField; ++ ++ try { ++ debuggerField = webEngineClass.getDeclaredField("debugger"); ++ } catch (Throwable t) { ++ throw new RuntimeException("cannot retrieve debugger field"); ++ } ++ ++ debuggerField.setAccessible(true); ++ ++ try { ++ this.debugger = (Debugger) debuggerField.get(browserImpl.getEngine()); ++ } catch (Throwable t) { ++ throw new RuntimeException("cannot retrieve debugger"); ++ } ++ + this.fxCallback = new FXCallback(callback); + Platform.runLater(new Runnable() { + @Override diff --git a/dev-util/netbeans-standalone/netbeans-standalone-9999.ebuild b/dev-util/netbeans-standalone/netbeans-standalone-9999.ebuild index 656df4ef9..2072513bb 100644 --- a/dev-util/netbeans-standalone/netbeans-standalone-9999.ebuild +++ b/dev-util/netbeans-standalone/netbeans-standalone-9999.ebuild @@ -25,6 +25,8 @@ IUSE="" DEPEND=">=virtual/jdk-1.8:*" RDEPEND=">=virtual/jdk-1.8:*" +PATCHES=( "${FILESDIR}"/fix-private-debugger-access.patch ) + JAVA_PKG_BSFIX="off" INSTALL_DIR=/usr/share/${PN}-${SLOT} @@ -43,6 +45,10 @@ pkg_pretend() { fi } +src_prepare() { + default +} + src_compile() { eant -Dcluster.config=full -Dpermit.jdk9.builds=true -Dbinaries.cache="${S}"/.hgexternalcache || die "Failed to compile" } |