debian/0000755000000000000000000000000012234223032007157 5ustar debian/control0000644000000000000000000000235312234211453010571 0ustar Source: libjs-img.srcset Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: cdbs, devscripts, debhelper, dh-buildinfo, node-uglify | yui-compressor, tofrodos Standards-Version: 3.9.4 Homepage: https://github.com/weblinc/img-srcset Vcs-Git: git://anonscm.debian.org/git/collab-maint/libjs-img.srcset Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libjs-img.srcset.git Package: libjs-img.srcset Architecture: all Depends: ${misc:Depends} Recommends: javascript-common Description: fast JavaScript polyfill for img srcset img.srcset is a lightweight, no nonsense, all browser supporting, fast polyfill for img srcset, allowing for lighter yet backwards-compatible responsive web design. . The srcset attribute is an HTML extension for adaptive (a.k.a. responsive) images. More info at . . A polyfill is (in the context of HTML5) Javascript code implementation of a functionality often available in modern web browsers, allowing web designers to use simpler standards-compliant and declarative code, burdening only older/simpler browsers with these fallback snippets. debian/source/0000755000000000000000000000000012113656616010475 5ustar debian/source/format0000644000000000000000000000001412113656616011703 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000026212234212237011036 0ustar libjs-img.srcset (2.0.0~20131003~dfsg-1) unstable; urgency=low * Initial release. Closes: Bug#727730. -- Jonas Smedegaard Wed, 30 Oct 2013 15:15:57 +0100 debian/README.source0000644000000000000000000000056312121764047011355 0ustar CDBS+git-buildpackage --------------------- This source package uses CDBS and git-buildpackage. NMUs need not (but are encouraged to) make special use of these tools. In particular, the debian/control.in file can be completely ignored. More info here: http://wiki.debian.org/CDBS+git-buildpackage -- Jonas Smedegaard Mon, 18 Feb 2013 12:55:37 +0100 debian/compat0000644000000000000000000000000212113656616010373 0ustar 8 debian/watch0000644000000000000000000000016212234223032010207 0ustar version=3 dversionmangle=s/~dfsg\d*$// \ https://github.com/weblinc/img-srcset/tags .*/archive/v(\d[\d.]+).tar.gz debian/copyright_hints0000644000000000000000000000121012234211716012317 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: README.md debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch test/test.html Copyright: *No copyright* License: UNKNOWN FIXME Files: img.srcset.js img.srcset.min.js Copyright: 2012: WebLinc, David Knight. */ License: UNKNOWN FIXME Files: LICENSE.txt Copyright: 2012, WebLinc LLC License: Expat FIXME Files: debian/rules Copyright: 2013, Jonas Smedegaard License: GPL-3+ FIXME debian/copyright0000644000000000000000000000440212234202210011105 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: img-srcset Upstream-Contact: https://github.com/weblinc/img-srcset/issues Source: https://github.com/weblinc/img-srcset/downloads git://github.com/weblinc/img-srcset Repackaged, excluding copyright-protected images lacking licensing Files-Excluded: test/lib/* Files: * Copyright: 2012, WebLinc LLC License: Expat Files: debian/* Copyright: 2013, Jonas Smedegaard License: GPL-3+ 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-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, 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. . Comment: . On Debian systems the 'GNU General Public License' version 3 is located in '/usr/share/common-licenses/GPL-3'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/gbp.conf0000644000000000000000000000021512113656777010622 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True [git-import-orig] filter = .gitignore debian/rules0000755000000000000000000000400212234212134010234 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2013 Jonas Smedegaard # Description: Debian packaging script for img-srcset # # 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, 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 . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/debhelper.mk pkg = $(DEB_SOURCE_PACKAGE) jspkg = $(pkg) lib = $(pkg:libjs-%=%) DEB_UPSTREAM_URL = http://github.com/weblinc/img-srcset/archive DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION) # exclude copyright-protected images lacking licensing DEB_UPSTREAM_REPACKAGE_EXCLUDES += ./test/lib/ DEB_UPSTREAM_TARBALL_SRCDIR = img-srcset-a967e18941078dd1df1d81ce30d1529b149db3f0 CDBS_RECOMMENDS_$(jspkg) = javascript-common DEB_INSTALL_DOCS_ALL += README.md js-stems = $(lib) js-min = $(js-stems:%=debian/%.min.js) js-destdir = /usr/share/javascript/$(lib) DEB_DH_INSTALL_ARGS = $(addsuffix .js,$(js-stems)) debian/*.min.js $(js-destdir) # Ease backporting (node-uglify is tough to backport) # TODO: drop fallback-dependency when uglifyjs is in oldstable CDBS_BUILD_DEPENDS +=, node-uglify | yui-compressor js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor) build/$(jspkg):: $(js-min) $(js-min): debian/%.min.js: %.js $(js-compressor) -o $@ $< clean:: rm -f debian/*.js # Fix line-ends CDBS_BUILD_DEPENDS +=, tofrodos binary-fixup/$(jspkg):: fromdos $(cdbs_curdestdir)$(js-destdir)/$(lib).js debian/control.in0000644000000000000000000000223312232525535011202 0ustar Source: libjs-img.srcset Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.4 Homepage: https://github.com/weblinc/img-srcset Vcs-Git: git://anonscm.debian.org/git/collab-maint/libjs-img.srcset Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libjs-img.srcset.git Package: libjs-img.srcset Architecture: all Depends: ${misc:Depends} Recommends: javascript-common Description: fast JavaScript polyfill for img srcset img.srcset is a lightweight, no nonsense, all browser supporting, fast polyfill for img srcset, allowing for lighter yet backwards-compatible responsive web design. . The srcset attribute is an HTML extension for adaptive (a.k.a. responsive) images. More info at . . A polyfill is (in the context of HTML5) Javascript code implementation of a functionality often available in modern web browsers, allowing web designers to use simpler standards-compliant and declarative code, burdening only older/simpler browsers with these fallback snippets.