[neon/qt/qtwebengine/Neon/testing] debian: disable jstemplate_compiled building
Harald Sitter
null at kde.org
Wed May 19 11:53:43 BST 2021
Git commit ccb0992ba64e45480b5038765012b10a5eec23c8 by Harald Sitter.
Committed on 19/05/2021 at 10:52.
Pushed by sitter into branch 'Neon/testing'.
disable jstemplate_compiled building
it's stumbles over supposedly wrong syntax which may simply have to do
with the closure-compiler version we have in focal. since there's not
much we can do about that we'll simply have to live with this delta to
debian
M +9 -9 debian/rules
https://invent.kde.org/neon/qt/qtwebengine/commit/ccb0992ba64e45480b5038765012b10a5eec23c8
diff --git a/debian/rules b/debian/rules
index 9f737fe..420ea9b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,7 +56,7 @@ override_dh_auto_clean:
rm -rf $(CURDIR)/test_root
rm -rf $(CURDIR)/docs
rm -rf $(CURDIR)/.local
- rm -f $(CURDIR)/src/3rdparty/chromium/third_party/jstemplate/jstemplate_compiled.js
+ #rm -f $(CURDIR)/src/3rdparty/chromium/third_party/jstemplate/jstemplate_compiled.js
rm -f $(CURDIR)/src/3rdparty/chromium/third_party/mocha/mocha.js
rm -f $(CURDIR)/examples/webenginewidgets/contentmanipulation/jquery*.js
@@ -121,14 +121,14 @@ endif
# Run qmake again now with the proper values.
qmake QT_BUILD_PARTS+=tests QMAKE_EXTRA_ARGS+="$(config_args)" QMAKE_PYTHON2=python2
- # Create js files, that are needed for building step for arch and indep builds
- cd $(CURDIR)/src/3rdparty/chromium/third_party/jstemplate/; \
- closure-compiler --compilation_level ADVANCED_OPTIMIZATIONS \
- --js util.js \
- --js jsevalcontext.js \
- --js jstemplate.js \
- --js exports.js \
- --js_output_file jstemplate_compiled.js
+ # # Create js files, that are needed for building step for arch and indep builds
+ # cd $(CURDIR)/src/3rdparty/chromium/third_party/jstemplate/; \
+ # closure-compiler --compilation_level ADVANCED_OPTIMIZATIONS \
+ # --js util.js \
+ # --js jsevalcontext.js \
+ # --js jstemplate.js \
+ # --js exports.js \
+ # --js_output_file jstemplate_compiled.js
>examples/webenginewidgets/contentmanipulation/jquery.js cat debian/missing-sources/jquery-*.js
yui-compressor --type js "examples/webenginewidgets/contentmanipulation/jquery.js" -o "examples/webenginewidgets/contentmanipulation/jquery.min.js"
More information about the Neon-commits
mailing list