summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-07-11 05:01:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-07-11 05:01:45 +0000
commit09f479b3e97d33bd41dd31d4b1096b04923d825e (patch)
tree3c4a3e46a43a346f2a5409513ca18beacc5fb63a
parentAdding upstream version 2.3.0. (diff)
downloadsimile-timeline-09f479b3e97d33bd41dd31d4b1096b04923d825e.tar.xz
simile-timeline-09f479b3e97d33bd41dd31d4b1096b04923d825e.zip
Adding debian version 2.3.0+dfsg1-4.debian/2.3.0+dfsg1-4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog51
-rw-r--r--debian/compat1
-rw-r--r--debian/control23
-rw-r--r--debian/copyright98
-rw-r--r--debian/install1
-rw-r--r--debian/patches/ant-build-xml.patch67
-rw-r--r--debian/patches/prevent-negative-height.patch27
-rw-r--r--debian/patches/reiwa.diff18
-rw-r--r--debian/patches/series3
-rwxr-xr-xdebian/rules14
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides7
-rw-r--r--debian/upstream/metadata7
-rw-r--r--debian/watch5
14 files changed, 323 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..933bb5b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,51 @@
+simile-timeline (2.3.0+dfsg1-4) unstable; urgency=medium
+
+ * Team upload
+ * Fix error in reiwa.diff patch
+
+ -- Xavier Guimard <yadd@debian.org> Sun, 14 Apr 2019 23:02:19 +0200
+
+simile-timeline (2.3.0+dfsg1-3) unstable; urgency=medium
+
+ * Team upload
+ * Add Japan's new Reiwa area (Closes: #927034)
+ * Ignore some lintian false positive
+ * Declare compliance with policy 4.3.0
+ * Change section to javascript
+ * Fix VCS fields
+ * Switch debian/copyright to format 1.0
+ * Update debian/watch to new repository
+ * Add upstream/metadata
+
+ -- Xavier Guimard <yadd@debian.org> Sun, 14 Apr 2019 22:50:28 +0200
+
+simile-timeline (2.3.0+dfsg1-2) unstable; urgency=low
+
+ * Re-upload to unstable.
+
+ -- W. Martin Borgert <debacle@debian.org> Thu, 20 Aug 2015 09:50:18 +0000
+
+simile-timeline (2.3.0+dfsg1-1) experimental; urgency=low
+
+ * Use quilt format.
+ * Remove minified jquery from source, recommend it (Closes: #645135).
+ * Apply patch by Laurent Farcy (Closes: #645130).
+ * Add myself to uploaders.
+ * New standards version, no changes.
+ * Use watch file by Bart Martens <bartm@debian.org>.
+
+ -- W. Martin Borgert <debacle@debian.org> Sat, 17 Jan 2015 11:36:10 +0000
+
+simile-timeline (2.3.0+dfsg-0.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Use timeline_source instead of timeline_libraries as orig tarball since
+ the latter contains already-minified scripts (Closes: #645133)
+
+ -- Michael Stapelberg <stapelberg@debian.org> Wed, 05 Dec 2012 20:12:41 +0100
+
+simile-timeline (2.3.0-1) unstable; urgency=low
+
+ * Initial release. (Closes: #511548)
+
+ -- Chris Lamb <lamby@debian.org> Sun, 17 May 2009 23:06:23 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bd0fb56
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: simile-timeline
+Section: javascript
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
+Uploaders: Chris Lamb <lamby@debian.org>, W. Martin Borgert <debacle@debian.org>
+Build-Depends: debhelper (>= 7), ant, yui-compressor
+Standards-Version: 4.3.0
+Vcs-Browser: https://salsa.debian.org/js-team/simile-timeline
+Vcs-Git: https://salsa.debian.org/js-team/simile-timeline.git
+Homepage: https://www.simile-widgets.org/
+
+Package: libjs-simile-timeline
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common, libjs-jquery
+Description: JavaScript library for web-based interactive timelines
+ Timeline is a DHTML-based AJAX-based widget for visualizing time-based
+ events. It uses the "slippy page" concept in a similar way to Google Maps
+ allowing the user to pan the timeline by dragging the page horizontally.
+ .
+ Each timeline can consist of multiple "bands", each with a configurable
+ scale, which can provide useful context when displaying a large number
+ of items. Timelines can be populated directly via XML or JSON.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f7095d8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,98 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: simile-ajax-bundle
+Upstream-Contact: David François Huynh <dfhuynh@csail.mit.edu>
+Source: https://github.com/simile-widgets/timeline
+
+Files: *
+Copyright: © 2006 The SIMILE Project 2006
+License: BSD-3-Clause
+
+Files: src/ajax/api/simile-ajax-bundle.js
+Copyright:
+ © The SIMILE Project 2006. All rights reserved.
+ © 2008 John Resig
+License: BSD-3-Clause or Expat or GPL-2
+Comment: JQuery, www.jquery.com is included in the Ajax section of this
+ distribution. It is covered by its own license
+
+Files: debian/*
+Copyright: © 2009 Chris Lamb <lamby@debian.org>
+License: GPL-3+
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ 3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
+License: GPL-2
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems the full text of the GPL-2 may be found in the file
+ `/usr/share/common-licenses/GPL-2`.
+
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems the full text of the GPL-3 may be found in the file
+ `/usr/share/common-licenses/GPL-3`.
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..34b2207
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+timeline_ajax timeline_js /usr/share/javascript
diff --git a/debian/patches/ant-build-xml.patch b/debian/patches/ant-build-xml.patch
new file mode 100644
index 0000000..0bcfd8c
--- /dev/null
+++ b/debian/patches/ant-build-xml.patch
@@ -0,0 +1,67 @@
+Description: fixes ant build
+Author: Michael Stapelberg <stapelberg@debian.org>
+Origin: vendor
+Last-Update: 2015-01-17
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- simile-timeline-2.3.0/build.xml 2009-03-05 18:06:44.000000000 +0100
++++ O3/build.xml 2012-12-05 21:32:56.223655366 +0100
+@@ -14,15 +14,9 @@
+
+ <target name="all" depends="timeline_source.zip, timeline_libraries.zip" />
+
+- <target name="tasks">
+- <taskdef name="jsmin"
+- classname="edu.mit.simile.jsminTask.JSMinTask"
+- classpath="tools/jsminTask.jar"/>
+- </target>
+-
+- <target name="bundle" depends="tasks">
++ <target name="bundle">
+ <!-- SimileAjax -->
+- <jsmin output="src/ajax/api/simile-ajax-bundle.js">
++ <concat destfile="src/ajax/api/simile-ajax-bundle.uncompressed.js">
+ <fileset dir="src/ajax/api/scripts">
+ <include name="jquery*.js" />
+ <include name="platform.js" />
+@@ -33,15 +27,29 @@
+ <exclude name="jquery*.js" />
+ <exclude name="platform.js" />
+ </fileset>
+- </jsmin>
++ </concat>
+
++ <exec executable="yui-compressor">
++ <arg value="-o"/>
++ <arg value="src/ajax/api/simile-ajax-bundle.js"/>
++ <arg line="src/ajax/api/simile-ajax-bundle.uncompressed.js"/>
++ </exec>
++
+ <!-- Timeline -->
+- <jsmin output="src/webapp/api/timeline-bundle.js">
++ <concat destfile="src/webapp/api/timeline-bundle.uncompressed.js">
+ <fileset dir="src/webapp/api/scripts">
+ <include name="*.js" />
+ </fileset>
+- </jsmin>
++ </concat>
+
++ <exec executable="yui-compressor">
++ <arg value="-o"/>
++ <arg value="src/webapp/api/timeline-bundle.js"/>
++ <arg value="src/webapp/api/timeline-bundle.uncompressed.js"/>
++ </exec>
++
++ <delete file="src/webapp/api/timeline-bundle.uncompressed.js"/>
++
+ <concat destfile="src/webapp/api/timeline-bundle.css">
+ <fileset dir="src/webapp/api/styles">
+ <include name="**/*.css" />
+@@ -136,7 +144,6 @@
+ duplicate="fail"
+ includes="timeline_${version}/**"
+ />
+- <delete dir="timeline_${version}"/>
+ </target>
+
+ </project>
diff --git a/debian/patches/prevent-negative-height.patch b/debian/patches/prevent-negative-height.patch
new file mode 100644
index 0000000..b3b1fd8
--- /dev/null
+++ b/debian/patches/prevent-negative-height.patch
@@ -0,0 +1,27 @@
+Description: Prevent ether highlight from getting a negative height
+Author: Laurent Farcy <laurent.farcy@argyl.fr>
+Origin: vendor
+Last-Update: 2015-01-17
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/webapp/api/scripts/ether-painters.js
++++ b/src/webapp/api/scripts/ether-painters.js
+@@ -563,14 +563,15 @@ Timeline.EtherHighlight = function(timeline, band, theme, backgroundLayer) {
+ var startPixel = Math.round(band.dateToPixelOffset(startDate));
+ var endPixel = Math.round(band.dateToPixelOffset(endDate));
+ var length = Math.max(endPixel - startPixel, 3);
++ var bandWidth = Math.max(band.getViewWidth(), 4);
+ if (horizontal) {
+ this._highlightDiv.style.left = startPixel + "px";
+- this._highlightDiv.style.width = length + "px";
+- this._highlightDiv.style.height = (band.getViewWidth() - 4) + "px";
++ this._highlightDiv.style.width = length + "px";
++ this._highlightDiv.style.height = (bandWidth - 4) + "px";
+ } else {
+ this._highlightDiv.style.top = startPixel + "px";
+ this._highlightDiv.style.height = length + "px";
+- this._highlightDiv.style.width = (band.getViewWidth() - 4) + "px";
++ this._highlightDiv.style.width = (bandWidth - 4) + "px";
+ }
+ }
+ };
diff --git a/debian/patches/reiwa.diff b/debian/patches/reiwa.diff
new file mode 100644
index 0000000..e75bb30
--- /dev/null
+++ b/debian/patches/reiwa.diff
@@ -0,0 +1,18 @@
+Description: Add new Reiwa Era
+Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
+Bug-Debian: https://bugs.debian.org/927034
+Forwarded: no
+Reviewed-By: Xavier Guimard <yadd@debian.org>
+Last-Update: 2019-04-14
+
+--- a/src/webapp/api/scripts/ext/japanese-eras.js
++++ b/src/webapp/api/scripts/ext/japanese-eras.js
+@@ -390,6 +390,7 @@
+ { startingYear: 1868, japaneseName: '明治', romanizedName: "Meiji" },
+ { startingYear: 1912, japaneseName: '大正', romanizedName: "Taishō" },
+ { startingYear: 1926, japaneseName: '昭和', romanizedName: "Shōwa" },
+- { startingYear: 1989, japaneseName: '平成', romanizedName: "Heisei" }
++ { startingYear: 1989, japaneseName: '平成', romanizedName: "Heisei" },
++ { startingYear: 2019, japaneseName: '令和', romanizedName: "Reiwa" }
+ ]
+ );
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..758dc75
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+ant-build-xml.patch
+prevent-negative-height.patch
+reiwa.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4917414
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+override_dh_auto_clean:
+ rm -rf timeline_2.3.0
+ rm -f timeline_libraries.zip
+
+override_dh_auto_build:
+ ant timeline_libraries.zip
+
+override_dh_auto_install:
+ cp -r timeline_2.3.0/* $(CURDIR)/
+
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..9666076
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,7 @@
+# False positive: data
+source-contains-prebuilt-javascript-object src/ajax/api/simile-ajax-bundle.js line length is 557 characters (>512)
+source-is-missing src/ajax/api/simile-ajax-bundle.js line length is 557 characters (>512)
+insane-line-length-in-source-file src/webapp/api/timeline-bundle.js line length is 871 characters (>512)
+source-contains-prebuilt-javascript-object src/webapp/api/timeline-bundle.js line length is 871 characters (>512)
+source-is-missing src/webapp/api/timeline-bundle.js line length is 871 characters (>512)
+insane-line-length-in-source-file src/ajax/api/simile-ajax-bundle.js line length is 557 characters (>512)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..e3bec07
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,7 @@
+---
+Archive: GitHub
+Bug-Database: https://github.com/simile-widgets/timeline/issues
+Contact: https://github.com/simile-widgets/timeline/issues
+Name: timeline
+Repository: https://github.com/simile-widgets/timeline.git
+Repository-Browse: https://github.com/simile-widgets/timeline
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..760c453
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+opts=\
+dversionmangle=auto,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-simile-timeline-$1.tar.gz/ \
+ https://github.com/simile-widgets/timeline/tags .*/archive/v?([\d\.]+).tar.gz