[Pkg-javascript-commits] [node-ifvisible.js] 01/03: Import Debian changes 1.0.6+dfsg-1

Daniel Ring techwolf-guest at moszumanska.debian.org
Sun Dec 24 11:02:07 UTC 2017


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

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

commit b03bc92d660344df6f30eff8f7a7a4a9547d781e
Author: Daniel Ring <dring at wolfishly.me>
Date:   Fri Dec 22 22:57:03 2017 -0800

    Import Debian changes 1.0.6+dfsg-1
    
    node-ifvisible.js (1.0.6+dfsg-1) unstable; urgency=low
    
      * Initial release (Closes: #885065)
---
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 27 +++++++++++++++++++++++++++
 debian/copyright           | 34 ++++++++++++++++++++++++++++++++++
 debian/docs                |  1 +
 debian/gbp.conf            |  3 +++
 debian/install             |  4 ++++
 debian/patches/grunt.patch | 16 ++++++++++++++++
 debian/patches/series      |  1 +
 debian/rules               | 17 +++++++++++++++++
 debian/source/format       |  1 +
 debian/watch               |  5 +++++
 12 files changed, 115 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4b8fd2c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-ifvisible.js (1.0.6+dfsg-1) unstable; urgency=low
+
+  * Initial release (Closes: #885065)
+
+ -- Daniel Ring <dring at wolfishly.me>  Fri, 22 Dec 2017 22:21:56 -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..cc027af
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: node-ifvisible.js
+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-contrib-coffee
+ , node-grunt-contrib-uglify
+Standards-Version: 4.1.2
+Homepage: https://github.com/serkanyersen/ifvisible.js
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-ifvisible.js.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-ifvisible.js.git
+
+Package: node-ifvisible.js
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+Description: Determine if a webpage is visible in the browser
+ Ifvisible.js provides a cross-browser and lightweight method of determining
+ whether a user is currently looking at or interacting with a webpage.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e8f84c9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ifvisible.js
+Upstream-Contact: https://github.com/serkanyersen/ifvisible.js/issues
+Source: https://github.com/serkanyersen/ifvisible.js
+
+Files: *
+Copyright: 2017 Serkan Yersen <serkanyersen at gmail.com>
+License: Expat
+
+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.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..fb5d3d4
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[import-orig]
+filter = ['docs']
+filter-pristine-tar = True
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..812ff41
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,4 @@
+src/ifvisible.js usr/lib/nodejs/ifvisible.js/
+src/ifvisible.js.map usr/lib/nodejs/ifvisible.js/
+src/ifvisible.min.js usr/lib/nodejs/ifvisible.js/
+package.json usr/lib/nodejs/ifvisible.js/
diff --git a/debian/patches/grunt.patch b/debian/patches/grunt.patch
new file mode 100644
index 0000000..f704f34
--- /dev/null
+++ b/debian/patches/grunt.patch
@@ -0,0 +1,16 @@
+--- a/Gruntfile.js
++++ b/Gruntfile.js
+@@ -45,10 +45,10 @@
+ 
+     grunt.loadNpmTasks('grunt-contrib-coffee');
+     grunt.loadNpmTasks('grunt-contrib-uglify');
+-    grunt.loadNpmTasks('grunt-contrib-watch');
+-    grunt.loadNpmTasks('grunt-docco');
++    //grunt.loadNpmTasks('grunt-contrib-watch');
++    //grunt.loadNpmTasks('grunt-docco');
+ 
+     grunt.registerTask('default', function (spec) {
+-        grunt.task.run(['coffee:compile', 'uglify:build', 'docco:build']);
++        grunt.task.run(['coffee:compile', 'uglify:build']);
+     });
+ };
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f40daac
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+grunt.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1f046d5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	grunt
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f src/ifvisible.js.map src/ifvisible.min.js
+
+#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..5f97925
--- /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-ifvisible.js-$1.tar.gz/ \
+ https://github.com/serkanyersen/ifvisible.js/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list