summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-07-11 05:03:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-07-11 05:03:53 +0000
commite66ccb97502f3dcd62f8c194651c62d3a3de5264 (patch)
tree1772a57381750a342970ec3435101a9d52283b47
parentUpdating vcs fields. (diff)
downloadsimile-timeline-e66ccb97502f3dcd62f8c194651c62d3a3de5264.tar.xz
simile-timeline-e66ccb97502f3dcd62f8c194651c62d3a3de5264.zip
Removing visually disturbing copyright images.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0001-copyright-images.patch32
-rw-r--r--debian/patches/series1
2 files changed, 33 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-copyright-images.patch b/debian/patches/progress-linux/0001-copyright-images.patch
new file mode 100644
index 0000000..f67958c
--- /dev/null
+++ b/debian/patches/progress-linux/0001-copyright-images.patch
@@ -0,0 +1,32 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Removing visually disturbing copyright images.
+
+diff -Naurp simile-timeline.orig/build.xml simile-timeline/build.xml
+--- simile-timeline.orig/build.xml
++++ simile-timeline/build.xml
+@@ -97,7 +97,7 @@
+ <copy file="LICENSE.txt" todir="timeline_${version}" />
+
+ <copy todir="timeline_${version}/timeline_js/images">
+- <fileset dir="${webapp_api}images" excludes="**/.svn/**, **/*.bak" />
++ <fileset dir="${webapp_api}images" excludes="**/.svn/**, **/*.bak, **/copyright*.png" />
+ </copy>
+
+ <copy todir="timeline_${version}/timeline_js/scripts/l10n">
+diff -Naurp simile-timeline.orig/src/webapp/api/scripts/timeline.js simile-timeline/src/webapp/api/scripts/timeline.js
+--- simile-timeline.orig/src/webapp/api/scripts/timeline.js
++++ simile-timeline/src/webapp/api/scripts/timeline.js
+@@ -482,11 +482,13 @@ Timeline._Impl.prototype._initialize = f
+ /*
+ * inserting copyright and link to simile
+ */
++ /*
+ var elmtCopyright = SimileAjax.Graphics.createTranslucentImage(Timeline.urlPrefix + (this.isHorizontal() ? "images/copyright-vertical.png" : "images/copyright.png"));
+ elmtCopyright.className = "timeline-copyright";
+ elmtCopyright.title = "Timeline copyright SIMILE - www.code.google.com/p/simile-widgets/";
+ SimileAjax.DOM.registerEvent(elmtCopyright, "click", function() { window.location = "http://code.google.com/p/simile-widgets/"; });
+ containerDiv.appendChild(elmtCopyright);
++ */
+
+ /*
+ * creating bands
diff --git a/debian/patches/series b/debian/patches/series
index 758dc75..d94af5f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
ant-build-xml.patch
prevent-negative-height.patch
reiwa.diff
+progress-linux/0001-copyright-images.patch