[Pkg-javascript-commits] [node-opentip] 02/02: Import Debian changes 2.4.6-1

Daniel Ring techwolf-guest at moszumanska.debian.org
Mon Jan 1 09:00:46 UTC 2018


This is an automated email from the git hooks/post-receive script.

techwolf-guest pushed a commit to branch master
in repository node-opentip.

commit 101ae66472acffbf081ee8e87ca243a548810b98
Author: Daniel Ring <dring at wolfishly.me>
Date:   Sun Dec 31 18:57:24 2017 -0800

    Import Debian changes 2.4.6-1
    
    node-opentip (2.4.6-1) unstable; urgency=low
    
      * Initial release (Closes: #885972)
---
 debian/changelog               |  5 +++
 debian/compat                  |  1 +
 debian/control                 | 31 +++++++++++++++++
 debian/copyright               | 79 ++++++++++++++++++++++++++++++++++++++++++
 debian/docs                    |  3 ++
 debian/install                 |  6 ++++
 debian/patches/css.patch       |  9 +++++
 debian/patches/gruntfile.patch | 46 ++++++++++++++++++++++++
 debian/patches/series          |  2 ++
 debian/rules                   | 14 ++++++++
 debian/source/format           |  1 +
 debian/watch                   |  5 +++
 12 files changed, 202 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6432b52
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-opentip (2.4.6-1) unstable; urgency=low
+
+  * Initial release (Closes: #885972)
+
+ -- Daniel Ring <dring at wolfishly.me>  Sun, 31 Dec 2017 18:57:24 -0800
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a35203a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: node-opentip
+Section: javascript
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Daniel Ring <dring at wolfishly.me>
+Build-Depends:
+ debhelper (>= 9)
+ , dh-buildinfo
+ , nodejs
+ , grunt
+ , node-grunt-cli
+ , node-grunt-contrib-coffee
+ , node-grunt-contrib-concat
+ , node-grunt-contrib-uglify
+ , node-stylus
+ , libjs-excanvas
+Standards-Version: 4.1.3
+Homepage: http://www.opentip.org
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-opentip.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-opentip.git
+
+Package: node-opentip
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+Description: JavaScript tooltip class
+ Opentip is a free open-source JavaScript tooltip class. It supports stems,
+ automatic content download with AJAX, styling, automatic repositioning to
+ remain within the browser viewport, user-defined triggers, and CSS3
+ animations.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bf949ef
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,79 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: opentip
+Upstream-Contact: Matias Meno <m at tias.me>
+Source: http://www.opentip.org
+
+Files: *
+Copyright: 2009-2013 Matias Meno <m at tias.me>
+License: Expat
+
+Files: docs/docco.css
+Copyright: 2013 Jeremy Ashkenas
+License: Expat
+
+Files: test/ender.js
+Copyright: 2011-2012 Dustin Diaz & Jacob Thornton
+License: Expat
+
+Files: test/vendor/jquery-1.9.1.js
+Copyright: 2005-2013 jQuery Foundation, Inc. and other contributors
+License: Expat
+
+Files: test/vendor/prototype-1.7.1.js
+Copyright: 2005-2010 Sam Stephenson
+License: Expat
+
+Files: test/vendor/sinon-1.6.0.js
+Copyright: 2010-2013 Christian Johansen
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2017 Daniel Ring <dring at wolfishly.me>
+License: Expat
+
+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: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+  * Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+  * 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.
+  * Neither the name of Christian Johansen nor the names of his contributors
+    may be used to endorse or promote products derived from this
+    software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT
+ OWNER OR CONTRIBUTORS 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.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..986af7f
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+README.md
+docs
+files
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..1f0a2c2
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,6 @@
+index.js usr/lib/nodejs/opentip/
+component.json usr/lib/nodejs/opentip/
+package.json usr/lib/nodejs/opentip/
+css/opentip.css usr/lib/nodejs/opentip/css/
+downloads usr/lib/nodejs/opentip/
+lib usr/lib/nodejs/opentip/
diff --git a/debian/patches/css.patch b/debian/patches/css.patch
new file mode 100644
index 0000000..2afdc75
--- /dev/null
+++ b/debian/patches/css.patch
@@ -0,0 +1,9 @@
+--- a/css/stylus/opentip.styl
++++ b/css/stylus/opentip.styl
+@@ -1,6 +1,3 @@
+- at import "nib"
+-
+-
+ @keyframes otloading
+   from
+     transform rotate(0deg)
diff --git a/debian/patches/gruntfile.patch b/debian/patches/gruntfile.patch
new file mode 100644
index 0000000..c34f61a
--- /dev/null
+++ b/debian/patches/gruntfile.patch
@@ -0,0 +1,46 @@
+--- a/Gruntfile.coffee
++++ b/Gruntfile.coffee
+@@ -55,19 +55,19 @@
+       js:
+         files:
+           "downloads/opentip-jquery.js": [ "lib/opentip.js", "lib/adapter-jquery.js" ]
+-          "downloads/opentip-jquery-excanvas.js": [ "downloads/opentip-jquery.js", ".tmp-excanvas.js" ]
++          "downloads/opentip-jquery-excanvas.js": [ "downloads/opentip-jquery.js", "/usr/share/javascript/excanvas/excanvas.js" ]
+ 
+           "downloads/opentip-prototype.js": [ "lib/opentip.js", "lib/adapter-prototype.js" ]
+-          "downloads/opentip-prototype-excanvas.js": [ "downloads/opentip-prototype.js", ".tmp-excanvas.js" ]
++          "downloads/opentip-prototype-excanvas.js": [ "downloads/opentip-prototype.js", "/usr/share/javascript/excanvas/excanvas.js" ]
+ 
+-          "downloads/opentip-native.js": [ "lib/opentip.js", "lib/adapter-native.js", ".tmp-classlist.js", ".tmp-addeventlistener.js" ]
+-          "downloads/opentip-native-excanvas.js": [ "downloads/opentip-native.js", ".tmp-excanvas.js" ]
++          "downloads/opentip-native.js": [ "lib/opentip.js", "lib/adapter-native.js" ]
++          "downloads/opentip-native-excanvas.js": [ "downloads/opentip-native.js", "/usr/share/javascript/excanvas/excanvas.js" ]
+ 
+ 
+     uglify:
+       options:
+         banner: """
+-                // Opentip v2.4.6
++                // Opentip v2.4.3
+                 // Copyright (c) 2009-2012
+                 // www.opentip.org
+                 // MIT Licensed
+@@ -85,12 +85,8 @@
+ 
+ 
+   grunt.loadNpmTasks "grunt-contrib-coffee"
+-  grunt.loadNpmTasks "grunt-contrib-stylus"
+   grunt.loadNpmTasks "grunt-contrib-concat"
+-  grunt.loadNpmTasks "grunt-contrib-watch"
+   grunt.loadNpmTasks "grunt-contrib-uglify"
+-  grunt.loadNpmTasks "grunt-contrib-clean"
+-  grunt.loadNpmTasks "grunt-curl"
+ 
+   # Default tasks
+   grunt.registerTask "default", [ "downloads" ]
+@@ -99,4 +95,4 @@
+ 
+   grunt.registerTask "js", "Compile coffeescript and create all download files", [ "coffee" ]
+ 
+-  grunt.registerTask "downloads", [ "css", "js", "curl", "concat", "clean", "uglify" ]
++  grunt.registerTask "downloads", [ "js", "concat", "uglify" ]
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e155ab9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+gruntfile.patch
+css.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fa4db35
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	grunt
+	stylus <css/stylus/opentip.styl >css/opentip.css
+
+#override_dh_auto_test:
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/watch b/debian/watch
new file mode 100644
index 0000000..f936a9f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-opentip-$1.tar.gz/ \
+ https://github.com/enyo/opentip/tags .*/archive/v?([\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-opentip.git



More information about the Pkg-javascript-commits mailing list