Mercurial > kallithea
comparison LICENSE.md @ 4131:31f510a88584 rhodecode-2.2.5-gpl
Update minified YUI to version 2.9 built from Source.
yui.2.9.js used to be a minified version of YUI 2.9 until 5143b8df576c updated
it to something else and applied more aggresive minification. We stick to a
clean but minified version 2.9.
The license of YUI is BSD 3-clause, as described on
http://yuilibrary.com/license/ .
Since the minified version combines with GPLv3'd Javascript, it is only GPLv3'd
compliant to distribute this Object Code version with the Corresponding Source
(or offer therefor).
This yui.2.9.js is built from Source this way:
git clone https://github.com/yui/builder
git clone https://github.com/yui/yui2
cd yui2/
git checkout hudson-yui2-2800
ln -sf JumpToPageDropDown.js src/paginator/js/JumpToPageDropdown.js # work around inconsistent casing
rm -f tmp.js
for m in yahoo event dom connection animation dragdrop element datasource autocomplete container event-delegate json datatable paginator; do
rm -f build/$m/$m.js; ( cd src/$m && ant build deploybuild ) && sed -e 's,@VERSION@,2.9.0,g' -e 's,@BUILD@,2800,g' build/$m/$m.js >> tmp.js
done
java -jar ../builder/componentbuild/lib/yuicompressor/yuicompressor-2.4.4.jar tmp.js -o yui.2.9.js
The source is mirrored and available on https://kallithea-scm.org/repos/mirror .
author | Bradley M. Kuhn <bkuhn@sfconservancy.org> |
---|---|
date | Wed, 02 Jul 2014 19:03:18 -0400 |
parents | 15e507047bae |
children | a1738072f2f6 |
comparison
equal
deleted
inserted
replaced
4130:15e507047bae | 4131:31f510a88584 |
---|---|
119 and licensed under the MIT-permissive license, which is | 119 and licensed under the MIT-permissive license, which is |
120 [included in this distribution](MIT-Permissive-License.txt). | 120 [included in this distribution](MIT-Permissive-License.txt). |
121 | 121 |
122 | 122 |
123 | 123 |
124 YUI | |
125 --- | |
126 | |
127 Kallithea incorporates parts of the Javascript system called | |
128 [YUI 2 — Yahoo! User Interface Library](http://yui.github.io/yui2/docs/yui_2.9.0_full/), | |
129 which is made available under the [BSD License](http://yuilibrary.com/license/): | |
130 | |
131 Copyright © 2013 Yahoo! Inc. All rights reserved. | |
132 | |
133 Redistribution and use of this software in source and binary forms, with or | |
134 without modification, are permitted provided that the following conditions are | |
135 met: | |
136 | |
137 * Redistributions of source code must retain the above copyright notice, this | |
138 list of conditions and the following disclaimer. | |
139 | |
140 * Redistributions in binary form must reproduce the above copyright notice, | |
141 this list of conditions and the following disclaimer in the documentation | |
142 and/or other materials provided with the distribution. | |
143 | |
144 * Neither the name of Yahoo! Inc. nor the names of YUI's contributors may be | |
145 used to endorse or promote products derived from this software without | |
146 specific prior written permission of Yahoo! Inc. | |
147 | |
148 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | |
149 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
150 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
151 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | |
152 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | |
153 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
154 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | |
155 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
156 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
157 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
158 | |
159 | |
160 Kallithea includes a minified version of YUI 2.9. To build yui.2.9.js: | |
161 | |
162 git clone https://github.com/yui/builder | |
163 git clone https://github.com/yui/yui2 | |
164 cd yui2/ | |
165 git checkout hudson-yui2-2800 | |
166 ln -sf JumpToPageDropDown.js src/paginator/js/JumpToPageDropdown.js # work around inconsistent casing | |
167 rm -f tmp.js | |
168 for m in yahoo event dom connection animation dragdrop element datasource autocomplete container event-delegate json datatable paginator; do | |
169 rm -f build/\$m/\$m.js | |
170 ( cd src/\$m && ant build deploybuild ) && sed -e 's,@VERSION@,2.9.0,g' -e 's,@BUILD@,2800,g' build/\$m/\$m.js >> tmp.js | |
171 done | |
172 java -jar ../builder/componentbuild/lib/yuicompressor/yuicompressor-2.4.4.jar tmp.js -o yui.2.9.js | |
173 | |
174 In compliance with GPLv3 the Corresponding Source for this Object Code is made | |
175 available on | |
176 [https://kallithea-scm.org/repos/mirror](https://kallithea-scm.org/repos/mirror). | |
177 | |
178 | |
179 | |
124 EOF | 180 EOF |