Drop patches accepted upstream Drop previously backported patches Unbundle jsroot in root-net-http Add hack to work around broken charmaps in StandardSymbolsPS.otf Use local static script and style files for JupyROOT Fix some javascript errors Fix build rules for test binaries so that they are not installed Address memory usage issue for ARM build Drop pre-minified javascript and style files (Fedora packaging guidelines) Enable builds on ppc/ppc64/ppc64le (do not pass all tests, but the list of failing tests is much shorter with this release) Add dependency on python[23]-jsmva to python[23]-jupyroot New sub-packages: root-gui-canvaspainter, root-gui-webdisplay and root-hist-draw (not for EPEL 7 since they are root7 specific and require c++-14)
36 lines
1.6 KiB
Diff
36 lines
1.6 KiB
Diff
diff -ur root-6.12.04.orig/bindings/pyroot/JsMVA/JPyInterface.py root-6.12.04/bindings/pyroot/JsMVA/JPyInterface.py
|
|
--- root-6.12.04.orig/bindings/pyroot/JsMVA/JPyInterface.py 2017-12-13 08:27:42.000000000 +0100
|
|
+++ root-6.12.04/bindings/pyroot/JsMVA/JPyInterface.py 2018-01-08 13:07:08.088711528 +0100
|
|
@@ -188,7 +188,7 @@
|
|
## Class for creating the output scripts and inserting them to cell output
|
|
class JsDraw:
|
|
## Base repository
|
|
- __jsMVARepo = "https://root.cern.ch/js/jsmva/latest"
|
|
+ __jsMVARepo = "/static/JsMVA"
|
|
|
|
## String containing the link to JavaScript files
|
|
__jsMVASourceDir = __jsMVARepo + "/js"
|
|
diff -ur root-6.12.04.orig/bindings/pyroot/JupyROOT/utils.py root-6.12.04/bindings/pyroot/JupyROOT/utils.py
|
|
--- root-6.12.04.orig/bindings/pyroot/JupyROOT/utils.py 2017-12-13 08:27:42.000000000 +0100
|
|
+++ root-6.12.04/bindings/pyroot/JupyROOT/utils.py 2018-01-08 13:13:40.857391851 +0100
|
|
@@ -39,7 +39,7 @@
|
|
_jsNotDrawableClassesPatterns = ["TEve*","TF3","TPolyLine3D"]
|
|
|
|
|
|
-_jsROOTSourceDir = "https://root.cern.ch/js/notebook/"
|
|
+_jsROOTSourceDir = "/static/jsroot/"
|
|
_jsCanvasWidth = 800
|
|
_jsCanvasHeight = 600
|
|
|
|
diff -ur root-6.12.04.orig/etc/notebook/JsMVA/js/JsMVA.js root-6.12.04/etc/notebook/JsMVA/js/JsMVA.js
|
|
--- root-6.12.04.orig/etc/notebook/JsMVA/js/JsMVA.js 2017-12-13 08:27:42.000000000 +0100
|
|
+++ root-6.12.04/etc/notebook/JsMVA/js/JsMVA.js 2018-01-08 13:20:04.248138322 +0100
|
|
@@ -16,7 +16,7 @@
|
|
|
|
(function(factory){
|
|
|
|
- var JSROOT_source_dir = "https://root.cern.ch/js/notebook/scripts/";
|
|
+ var JSROOT_source_dir = "/static/jsroot/scripts/";
|
|
|
|
var url = "";
|
|
if (requirejs.s.contexts.hasOwnProperty("_")) {
|