debian/0000755000000000000000000000000012257572266007204 5ustar debian/patches/0000755000000000000000000000000012257567343010633 5ustar debian/patches/series0000644000000000000000000000000012235271174012024 0ustar debian/control0000644000000000000000000000376312257572030010605 0ustar Source: requirejs Section: web Priority: extra Maintainer: Georges Khaznadar Build-Depends: debhelper (>= 8.0.0), node-uglify Standards-Version: 3.9.5 Homepage: https://github.com/jrburke/requirejs/ #Vcs-Git: git://git.debian.org/collab-maint/requirejs.git #Vcs-Browser: http://git.debian.org/?p=collab-maint/requirejs.git;a=summary Package: node-requirejs Architecture: all Depends: ${misc:Depends} Description: JavaScript file and module loader RequireJS loads plain JavaScript files as well as more defined modules. It is optimized for in-browser use, including in a Web Worker, but it can be used in other JavaScript environments, like Rhino and Node. It implements the Asynchronous Module API . RequireJS uses plain script tags to load modules/files, so it should allow for easy debugging. It can be used simply to load existing JavaScript files, so you can add it to your existing project without having to re-write your JavaScript files. . RequireJS includes an optimization tool you can run as part of your packaging steps for deploying your code. The optimization tool can combine and minify your JavaScript files to allow for better performance. . If the JavaScript file defines a JavaScript module via define(), then there are other benefits RequireJS can offer: improvements over traditional CommonJS modules and loading multiple versions of a module in a page. RequireJS also has a plugin system that supports features like i18n string bundles, and text file dependencies. . RequireJS does not have any dependencies on a JavaScript framework. It is dual-licensed -- new BSD or MIT. . The standard require.js file is around 5.5KB when minified via Closure Compiler and gzipped. . RequireJS works in IE 6+, Firefox 2+, Safari 3.2+, Chrome 3+, and Opera 10+. . This package also provides a script r.js, that has two major functions: * Run AMD-based projects in Node and Rhino. * Includes the RequireJS Optimizer that combines scripts for optimal browser delivery. debian/mkCopyright.sh0000755000000000000000000000132212235300660012020 0ustar #!/bin/sh echo "This script helps you to find files which are not documented" echo "in debian/copyright. When a set of files has been documented," echo "please write a short regexp into $0's source." # write the regexps of already documented files there: alreadyOKpatterns='uglifyjs2|uglify|source-map|esprima|opto.build|blank|xpconnect|/node|/browser|/rhino' for f in $(find build/jslib -name "*.js"| grep -Ev "$alreadyOKpatterns"); do if !(cat $f | head -n 10 | grep -q "The Dojo Foundation All Rights Reserved"); then echo "============= $f ================" l="$(cat $f | head -n 10 | grep -i license)" c="$(cat $f | head -n 10 | grep -Ei 'copyright|\(c\)')" echo "License: $l" echo "©: $c" fi done debian/compat0000644000000000000000000000000212235241210010354 0ustar 8 debian/watch0000644000000000000000000000016712235242507010225 0ustar version=3 opts=dversionmangle=s/requirejs-// \ https://github.com/jrburke/requirejs /jrburke/requirejs/tree/([.0-9]*)debian/node-requirejs.install0000644000000000000000000000011412235271611013506 0ustar require.js usr/lib/nodejs require.min.js usr/lib/nodejs r.js usr/lib/nodejs debian/copyright0000644000000000000000000002347512251132351011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: requirejs Source: https://github.com/jrburke/r.js/archive/2.1.9.tar.gz Files: * Copyright: 2010-2012, The Dojo Foundation 2010-2013 James Burke License: dual license, new BSD, MIT almond is released under two licenses: new BSD, and MIT. You may pick the license that best suits your development needs. The text of both licenses are provided below. . The "New" BSD License: . 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 the Dojo Foundation nor the names of its 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. . MIT License . 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. Files: debian/* Copyright: 2013 Georges Khaznadar License: GPL-2+ This package 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, or (at your option) any later version. . This package 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 . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Files: build/jslib/uglifyjs2.js build/jslib/uglifyjs2/* Copyright: 2012-2013 Mihai Bazon License: BSD-3 Files: build/jslib/uglifyjs/* Copyright: 2012 Robert Gust-Bardon License: BSD-like 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 HOLDER "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 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. Files: build/jslib/source-map.js build/jslib/source-map/* Copyright: 2009-2011 Mozilla Foundation and contributors License: BSD-3 Files: build/tests/lib/comments/noPartialDupe/* build/tests/parse/comments/expected/multiSingleLine.js build/tests/parse/comments/multiSingleLine.js Copyright: 2009-2012 Jeremy Ashkenas, DocumentCloud Inc. License: MIT Files: tests/node/pluginLocalId/lib/coffee-script.js Copyright: 2011 Jeremy Ashkenas License: MIT Files: build/jslib/esprima.js Copyright: 2012 Ariya Hidayat 2012 Mathias Bynens 2012 Joost-Wim Boekesteijn 2012 Kris Kowal 2012 Yusuke Suzuki 2012 Arpad Borsos 2011 Ariya Hidayat License: BSD-like 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 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: BSD-3 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 the nor the names of its 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 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. License: MIT 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. debian/source/0000755000000000000000000000000012235241210010456 5ustar debian/source/format0000644000000000000000000000001412235241210011664 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000034012257567554011364 0ustar requirejs for Debian -------------------- Upstream source is downloaded from https://github.com/jrburke/r.js th directories tests and build/tests are removed as they contain many sourceless minified javascript files. debian/docs0000644000000000000000000000001212235242337010035 0ustar README.md debian/changelog0000644000000000000000000000127712257572140011054 0ustar requirejs (2.1.9-1) unstable; urgency=low * Initial release (Closes: #673725) * created a script to check the numerous copyright notices, and ran it to update debian/copyright. This makes easier to manage the licenses which cover parts of the compiled file r.js * fixed debian/copyright which missed mentions about Jeremy Ashkenas; thanks to Luca Falavigna for pointing out this bug. * removed directories tests and build/tests which are not used to build the debian package and come with many sourceless javascript minified files. Thanks to Paul Richards Tagliamonte for pointing this issue -- Georges Khaznadar Sat, 02 Nov 2013 19:20:54 +0100 debian/rules0000755000000000000000000000113312235271374010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: uglifyjs -o require.min.js require.js nodejs dist.js override_dh_auto_clean: rm -rf dist rm -f require.min.js r.js *~ dh_auto_clean