Commit adb2b9c8 authored by Ying-Chun Liu's avatar Ying-Chun Liu

Import Debian changes 1.0.3+dfsg.1-1

node-headjs (1.0.3+dfsg.1-1) unstable; urgency=low

  * Initial release (Closes: #920603)
parent 2f692491
node-headjs (1.0.3+dfsg.1-1) unstable; urgency=low
* Initial release (Closes: #920603)
-- Ying-Chun Liu (PaulLiu) <paulliu@debian.org> Mon, 28 Jan 2019 03:23:40 +0800
Source: node-headjs
Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Build-Depends: debhelper (>= 11), nodejs (>= 6)
Standards-Version: 4.3.0
Homepage: http://headjs.com
Vcs-Git: https://salsa.debian.org/js-team/node-headjs.git
Vcs-Browser: https://salsa.debian.org/js-team/node-headjs
Package: libjs-headjs
Architecture: all
Depends: nodejs (>= 6), ${misc:Depends}
Recommends: javascript-common
Description: javascript libraryt for resource loading
headjs is a javascript library that has the following features:
* Speed up your apps: Load JS & CSS asynchronously and in parallel, but
execute them in order
* Load one asset if a condition is met, else fallback and load a different
one
* Manage script dependencies, and execute callbacks once they are loaded
* Cross-browser compatible <<pseudo media-queries>> let you code against
different resolutions & devices
* Fix quirks in specific browsers by quickly applying dedicated CSS/JS logic
* Detect various browsers & their versions
* Check if the client supports a certain Browser, HTML5, or CSS3 feature
* Automatically generates JS and CSS classes for browsers & features that
where detected
* Automatically generates CSS classes, to know what page or section a user
is viewing
* Know if the user is in landscape or portrait mode
* Or whether the client is using a mobile or desktop device
* Get old browsers to support HTML5 elements like nav, sidebar, header,
footer
.
Node.js is an event-based server-side JavaScript engine.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: headjs
Upstream-Contact: https://github.com/headjs/headjs/issues
Source: http://headjs.com
Files-Excluded: site/assets/libs/packer/base2.js
site/assets/libs/packer/base2.min.js
Files: *
Copyright: 2019 Tero Piirainen <tipiirai+headjs@gmail.com>
2019 Various contributors (http://headjs.com)
License: Expat
Files: site/assets/libs/packer/packer.js
Copyright: 2004-2007 Dean Edwards
License: Expat
Files: site/assets/libs/jquery/jquery.js site/assets/libs/qunit/qunit.css
Copyright: 2005-2013 jQuery Foundation, Inc. and other contributors
License: Expat
Files: site/assets/libs/qunit/qunit.js
Copyright: 2013 jQuery Foundation and other contributors
2008 Ariel Flesler <aflesler@gmail.com>
License: Expat and BSD-2-clause
Comment:
License:
Released under the MIT license. http://jquery.org/license
.
and
.
Licensed under BSD (http://www.opensource.org/licenses/bsd-license.php)
.
Comment:
.
Referenced URLs indicate that licenses are Expat and BSD-2-clause.
Files: debian/*
Copyright: 2019 Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
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-2-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.
.
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
HOLDER 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.
README.md
jekyll-windows.txt
dist/1.0.0/* usr/share/javascript/headjs
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
#override_dh_auto_build:
#override_dh_auto_test:
Tests: load-jquery-test
Depends: libjs-headjs, libjs-jquery, phantomjs, xvfb, dbus-x11
Restrictions: allow-stderr
#!/bin/sh
set -e
# start X
D1=`date +'%S'`
D2=`expr 2000 + $D1`
(Xvfb -screen 0 1024x768x24 :$D2 >/dev/null 2>&1 &)
XVFB_PID=$!
export DISPLAY=:$D2
echo "DISPLAY = "$DISPLAY
sleep 5
# start local session D-BUS
eval `dbus-launch`
trap "kill $DBUS_SESSION_BUS_PID $XVFB_PID" 0 TERM QUIT INT
export DBUS_SESSION_BUS_ADDRESS
export XAUTHORITY=/dev/null
sleep 1
phantomjs --local-url-access=true debian/tests/load-jquery-test.js
var headjs = require('/usr/share/javascript/headjs/head.js');
function libjquery() {
return "file:///usr/share/javascript/jquery/jquery.js";
}
head.load(libjquery(), function foo1() { var jQueryVersion = jQuery().jquery;
console.log("jQuery Version: "+jQueryVersion);
if (jQueryVersion.length <= 2) {
console.log("test failed");
phantom.exit(1);
} else {
console.log("ok");
phantom.exit(0);
}
});
# Compulsory line, this is a version 4 file
version=4
# GitHub hosted projects
opts=\
dversionmangle=auto,\
repacksuffix=+dfsg.1,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-headjs-$1.tar.gz/ \
https://github.com/headjs/headjs/releases .*/archive/v?([\d\.]+).tar.gz \
debian uupdate
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment