root/root-jupyroot-static.patch
Mattias Ellert b8c8500439 Update to 6.16.00
Drop patches accepted upstream:
  root-adjust-allowed-test-difference-for-32-bit-ix86.patch
  root-crypto.patch
  root-js-syntax.patch
  root-missing-header.patch
  root-set-cache-file-dir.patch
  root-stressgraphics-ref.patch
  root-test-compilation-epel7.patch
  root-test-subdirs.patch
  root-unique-filenames.patch
Dropped subpackages:
  root-rootd (obsolete - use xrootd)
  root-proofd (obsolete - use root-xproofd)
  root-proof-pq2
New ROOT 7 subpackage:
  root-graf3d-eve7
  root-gui-webgui6
Make tutorial/v7/line.cxx run in batch mode
2019-02-15 12:57:22 +01:00

36 lines
1.7 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/helpers/utils.py root-6.12.04/bindings/pyroot/JupyROOT/helpers/utils.py
--- root-6.12.04.orig/bindings/pyroot/JupyROOT/helpers/utils.py 2017-12-13 08:27:42.000000000 +0100
+++ root-6.12.04/bindings/pyroot/JupyROOT/helpers/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("_")) {