bio-samtools-wrapper 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +7 -0
  2. data/.document +5 -0
  3. data/.travis.yml +27 -0
  4. data/Gemfile +20 -0
  5. data/LICENSE.txt +702 -0
  6. data/README.md +501 -0
  7. data/Rakefile +73 -0
  8. data/VERSION +1 -0
  9. data/bin/bam_consensus.rb +85 -0
  10. data/bio-samtools-wrapper.gemspec +181 -0
  11. data/doc/Bio/DB/Alignment.html +552 -0
  12. data/doc/Bio/DB/Pileup.html +711 -0
  13. data/doc/Bio/DB/SAM/Library.html +167 -0
  14. data/doc/Bio/DB/SAM/Tools.html +109 -0
  15. data/doc/Bio/DB/SAM.html +1853 -0
  16. data/doc/Bio/DB/Tag.html +208 -0
  17. data/doc/Bio/DB/Vcf.html +431 -0
  18. data/doc/Bio/DB.html +105 -0
  19. data/doc/Bio.html +175 -0
  20. data/doc/LICENSE_txt.html +846 -0
  21. data/doc/created.rid +9 -0
  22. data/doc/fonts/Lato-Light.ttf +0 -0
  23. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  24. data/doc/fonts/Lato-Regular.ttf +0 -0
  25. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  26. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  27. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  28. data/doc/fonts.css +167 -0
  29. data/doc/images/add.png +0 -0
  30. data/doc/images/arrow_up.png +0 -0
  31. data/doc/images/brick.png +0 -0
  32. data/doc/images/brick_link.png +0 -0
  33. data/doc/images/bug.png +0 -0
  34. data/doc/images/bullet_black.png +0 -0
  35. data/doc/images/bullet_toggle_minus.png +0 -0
  36. data/doc/images/bullet_toggle_plus.png +0 -0
  37. data/doc/images/date.png +0 -0
  38. data/doc/images/delete.png +0 -0
  39. data/doc/images/find.png +0 -0
  40. data/doc/images/loadingAnimation.gif +0 -0
  41. data/doc/images/macFFBgHack.png +0 -0
  42. data/doc/images/package.png +0 -0
  43. data/doc/images/page_green.png +0 -0
  44. data/doc/images/page_white_text.png +0 -0
  45. data/doc/images/page_white_width.png +0 -0
  46. data/doc/images/plugin.png +0 -0
  47. data/doc/images/ruby.png +0 -0
  48. data/doc/images/tag_blue.png +0 -0
  49. data/doc/images/tag_green.png +0 -0
  50. data/doc/images/transparent.png +0 -0
  51. data/doc/images/wrench.png +0 -0
  52. data/doc/images/wrench_orange.png +0 -0
  53. data/doc/images/zoom.png +0 -0
  54. data/doc/index.html +106 -0
  55. data/doc/js/darkfish.js +140 -0
  56. data/doc/js/jquery.js +18 -0
  57. data/doc/js/navigation.js +142 -0
  58. data/doc/js/search.js +109 -0
  59. data/doc/js/search_index.js +1 -0
  60. data/doc/js/searcher.js +228 -0
  61. data/doc/rdoc.css +580 -0
  62. data/doc/table_of_contents.html +305 -0
  63. data/ext/Makefile-bioruby.patch +12 -0
  64. data/ext/Makefile-suse.patch +11 -0
  65. data/ext/mkrf_conf.rb +118 -0
  66. data/lib/bio/BIOExtensions.rb +89 -0
  67. data/lib/bio/db/alignment.rb +64 -0
  68. data/lib/bio/db/fastadb.rb +320 -0
  69. data/lib/bio/db/pileup.rb +273 -0
  70. data/lib/bio/db/sam/external/COPYING +21 -0
  71. data/lib/bio/db/sam/external/VERSION +1 -0
  72. data/lib/bio/db/sam/library.rb +32 -0
  73. data/lib/bio/db/sam.rb +778 -0
  74. data/lib/bio/db/vcf.rb +105 -0
  75. data/lib/bio-samtools-wrapper.rb +9 -0
  76. data/test/.gitignore +1 -0
  77. data/test/helper.rb +18 -0
  78. data/test/sample.vcf +24 -0
  79. data/test/samples/.gitignore +1 -0
  80. data/test/samples/LCI/NC_001988.ffn +2 -0
  81. data/test/samples/LCI/test.bam +0 -0
  82. data/test/samples/LCI/test.bam.bai +0 -0
  83. data/test/samples/small/dupes.bam +0 -0
  84. data/test/samples/small/dupes.sam +274 -0
  85. data/test/samples/small/ids2.txt +1 -0
  86. data/test/samples/small/map_for_reheader.sam +8 -0
  87. data/test/samples/small/map_to_merge1.bam +0 -0
  88. data/test/samples/small/map_to_merge1.bam.bai +0 -0
  89. data/test/samples/small/map_to_merge1.sam +8 -0
  90. data/test/samples/small/map_to_merge2.bam +0 -0
  91. data/test/samples/small/map_to_merge2.bam.bai +0 -0
  92. data/test/samples/small/map_to_merge2.sam +8 -0
  93. data/test/samples/small/no_md.sam +8 -0
  94. data/test/samples/small/sorted.bam +0 -0
  95. data/test/samples/small/sorted.bam.bai +0 -0
  96. data/test/samples/small/test.sai +0 -0
  97. data/test/samples/small/test.tam +10 -0
  98. data/test/samples/small/test_chr.fasta +1000 -0
  99. data/test/samples/small/test_chr.fasta.1.bt2 +0 -0
  100. data/test/samples/small/test_chr.fasta.2.bt2 +0 -0
  101. data/test/samples/small/test_chr.fasta.3.bt2 +0 -0
  102. data/test/samples/small/test_chr.fasta.4.bt2 +0 -0
  103. data/test/samples/small/test_chr.fasta.amb +2 -0
  104. data/test/samples/small/test_chr.fasta.ann +3 -0
  105. data/test/samples/small/test_chr.fasta.bwt +0 -0
  106. data/test/samples/small/test_chr.fasta.pac +0 -0
  107. data/test/samples/small/test_chr.fasta.rbwt +0 -0
  108. data/test/samples/small/test_chr.fasta.rev.1.bt2 +0 -0
  109. data/test/samples/small/test_chr.fasta.rev.2.bt2 +0 -0
  110. data/test/samples/small/test_chr.fasta.rpac +0 -0
  111. data/test/samples/small/test_chr.fasta.rsa +0 -0
  112. data/test/samples/small/test_chr.fasta.sa +0 -0
  113. data/test/samples/small/test_cov.svg +273 -0
  114. data/test/samples/small/test_fastadb.fasta +34 -0
  115. data/test/samples/small/testu.bam +0 -0
  116. data/test/samples/small/testu.bed +2 -0
  117. data/test/test_bio-samtools-wrapper.rb +1 -0
  118. data/test/test_fastadb.rb +89 -0
  119. data/test/test_pileup.rb +90 -0
  120. data/test/test_sam.rb +421 -0
  121. data/test/test_vcf.rb +79 -0
  122. data/tutorial/tutorial.html +474 -0
  123. data/tutorial/tutorial.md +424 -0
  124. data/tutorial/tutorial.pdf +0 -0
  125. metadata +254 -0
@@ -0,0 +1,846 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>LICENSE - Pileup</title>
8
+
9
+ <link href="./fonts.css" rel="stylesheet">
10
+ <link href="./rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "./";
14
+ </script>
15
+
16
+ <script src="./js/jquery.js"></script>
17
+ <script src="./js/navigation.js"></script>
18
+ <script src="./js/search_index.js"></script>
19
+ <script src="./js/search.js"></script>
20
+ <script src="./js/searcher.js"></script>
21
+ <script src="./js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="file">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="./index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="./table_of_contents.html#pages">Pages</a>
34
+ <a href="./table_of_contents.html#classes">Classes</a>
35
+ <a href="./table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="project-metadata">
59
+ <div id="fileindex-section" class="nav-section">
60
+ <h3>Pages</h3>
61
+
62
+ <ul class="link-list">
63
+
64
+ <li><a href="./LICENSE_txt.html">LICENSE</a>
65
+
66
+ </ul>
67
+ </div>
68
+
69
+ </div>
70
+ </nav>
71
+
72
+ <main role="main" aria-label="Page LICENSE.txt">
73
+
74
+ <p>Copyright © 2011 Raoul J.P. Bonnal</p>
75
+
76
+ <p>Permission is hereby granted, free of charge, to any person obtaining a
77
+ copy of this software and associated documentation files (the “Software”),
78
+ to deal in the Software without restriction, including without limitation
79
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
80
+ and/or sell copies of the Software, and to permit persons to whom the
81
+ Software is furnished to do so, subject to the following conditions:</p>
82
+
83
+ <p>The above copyright notice and this permission notice shall be included in
84
+ all copies or substantial portions of the Software.</p>
85
+
86
+ <p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
87
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
88
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
89
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
90
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
91
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
92
+ DEALINGS IN THE SOFTWARE.</p>
93
+
94
+ <p>#———– Original License #———–</p>
95
+
96
+ <pre> GNU GENERAL PUBLIC LICENSE
97
+ Version 3, 29 June 2007
98
+
99
+ Copyright (C) 2007 Free Software Foundation, Inc. &lt;http://fsf.org/&gt;
100
+ Everyone is permitted to copy and distribute verbatim copies
101
+ of this license document, but changing it is not allowed.
102
+
103
+ Preamble
104
+
105
+ The GNU General Public License is a free, copyleft license for</pre>
106
+
107
+ <p>software and other kinds of works.</p>
108
+
109
+ <pre>The licenses for most software and other practical works are designed</pre>
110
+
111
+ <p>to take away your freedom to share and change the works. By contrast, the
112
+ GNU General Public License is intended to guarantee your freedom to share
113
+ and change all versions of a program–to make sure it remains free software
114
+ for all its users. We, the Free Software Foundation, use the GNU General
115
+ Public License for most of our software; it applies also to any other work
116
+ released this way by its authors. You can apply it to your programs, too.</p>
117
+
118
+ <pre>When we speak of free software, we are referring to freedom, not</pre>
119
+
120
+ <p>price. Our General Public Licenses are designed to make sure that you have
121
+ the freedom to distribute copies of free software (and charge for them if
122
+ you wish), that you receive source code or can get it if you want it, that
123
+ you can change the software or use pieces of it in new free programs, and
124
+ that you know you can do these things.</p>
125
+
126
+ <pre>To protect your rights, we need to prevent others from denying you</pre>
127
+
128
+ <p>these rights or asking you to surrender the rights. Therefore, you have
129
+ certain responsibilities if you distribute copies of the software, or if
130
+ you modify it: responsibilities to respect the freedom of others.</p>
131
+
132
+ <pre>For example, if you distribute copies of such a program, whether</pre>
133
+
134
+ <p>gratis or for a fee, you must pass on to the recipients the same freedoms
135
+ that you received. You must make sure that they, too, receive or can get
136
+ the source code. And you must show them these terms so they know their
137
+ rights.</p>
138
+
139
+ <pre>Developers that use the GNU GPL protect your rights with two steps:</pre>
140
+
141
+ <p>(1) assert copyright on the software, and (2) offer you this License giving
142
+ you legal permission to copy, distribute and/or modify it.</p>
143
+
144
+ <pre>For the developers&#39; and authors&#39; protection, the GPL clearly explains</pre>
145
+
146
+ <p>that there is no warranty for this free software. For both users&#39; and
147
+ authors&#39; sake, the GPL requires that modified versions be marked as
148
+ changed, so that their problems will not be attributed erroneously to
149
+ authors of previous versions.</p>
150
+
151
+ <pre>Some devices are designed to deny users access to install or run</pre>
152
+
153
+ <p>modified versions of the software inside them, although the manufacturer
154
+ can do so. This is fundamentally incompatible with the aim of protecting
155
+ users&#39; freedom to change the software. The systematic pattern of such
156
+ abuse occurs in the area of products for individuals to use, which is
157
+ precisely where it is most unacceptable. Therefore, we have designed this
158
+ version of the GPL to prohibit the practice for those products. If such
159
+ problems arise substantially in other domains, we stand ready to extend
160
+ this provision to those domains in future versions of the GPL, as needed to
161
+ protect the freedom of users.</p>
162
+
163
+ <pre>Finally, every program is threatened constantly by software patents.</pre>
164
+
165
+ <p>States should not allow patents to restrict development and use of software
166
+ on general-purpose computers, but in those that do, we wish to avoid the
167
+ special danger that patents applied to a free program could make it
168
+ effectively proprietary. To prevent this, the GPL assures that patents
169
+ cannot be used to render the program non-free.</p>
170
+
171
+ <pre>The precise terms and conditions for copying, distribution and</pre>
172
+
173
+ <p>modification follow.</p>
174
+
175
+ <pre> TERMS AND CONDITIONS
176
+
177
+ 0. Definitions.
178
+
179
+ &quot;This License&quot; refers to version 3 of the GNU General Public License.
180
+
181
+ &quot;Copyright&quot; also means copyright-like laws that apply to other kinds of</pre>
182
+
183
+ <p>works, such as semiconductor masks.</p>
184
+
185
+ <pre>&quot;The Program&quot; refers to any copyrightable work licensed under this</pre>
186
+
187
+ <p>License. Each licensee is addressed as “you”. “Licensees” and
188
+ “recipients” may be individuals or organizations.</p>
189
+
190
+ <pre>To &quot;modify&quot; a work means to copy from or adapt all or part of the work</pre>
191
+
192
+ <p>in a fashion requiring copyright permission, other than the making of an
193
+ exact copy. The resulting work is called a “modified version” of the
194
+ earlier work or a work “based on” the earlier work.</p>
195
+
196
+ <pre>A &quot;covered work&quot; means either the unmodified Program or a work based</pre>
197
+
198
+ <p>on the Program.</p>
199
+
200
+ <pre>To &quot;propagate&quot; a work means to do anything with it that, without</pre>
201
+
202
+ <p>permission, would make you directly or secondarily liable for infringement
203
+ under applicable copyright law, except executing it on a computer or
204
+ modifying a private copy. Propagation includes copying, distribution (with
205
+ or without modification), making available to the public, and in some
206
+ countries other activities as well.</p>
207
+
208
+ <pre>To &quot;convey&quot; a work means any kind of propagation that enables other</pre>
209
+
210
+ <p>parties to make or receive copies. Mere interaction with a user through a
211
+ computer network, with no transfer of a copy, is not conveying.</p>
212
+
213
+ <pre>An interactive user interface displays &quot;Appropriate Legal Notices&quot;</pre>
214
+
215
+ <p>to the extent that it includes a convenient and prominently visible feature
216
+ that (1) displays an appropriate copyright notice, and (2) tells the user
217
+ that there is no warranty for the work (except to the extent that
218
+ warranties are provided), that licensees may convey the work under this
219
+ License, and how to view a copy of this License. If the interface presents
220
+ a list of user commands or options, such as a menu, a prominent item in the
221
+ list meets this criterion.</p>
222
+
223
+ <pre>1. Source Code.
224
+
225
+ The &quot;source code&quot; for a work means the preferred form of the work</pre>
226
+
227
+ <p>for making modifications to it. “Object code” means any non-source form of
228
+ a work.</p>
229
+
230
+ <pre>A &quot;Standard Interface&quot; means an interface that either is an official</pre>
231
+
232
+ <p>standard defined by a recognized standards body, or, in the case of
233
+ interfaces specified for a particular programming language, one that is
234
+ widely used among developers working in that language.</p>
235
+
236
+ <pre>The &quot;System Libraries&quot; of an executable work include anything, other</pre>
237
+
238
+ <p>than the work as a whole, that (a) is included in the normal form of
239
+ packaging a Major Component, but which is not part of that Major Component,
240
+ and (b) serves only to enable use of the work with that Major Component, or
241
+ to implement a Standard Interface for which an implementation is available
242
+ to the public in source code form. A “Major Component”, in this context,
243
+ means a major essential component (kernel, window system, and so on) of the
244
+ specific operating system (if any) on which the executable work runs, or a
245
+ compiler used to produce the work, or an object code interpreter used to
246
+ run it.</p>
247
+
248
+ <pre>The &quot;Corresponding Source&quot; for a work in object code form means all</pre>
249
+
250
+ <p>the source code needed to generate, install, and (for an executable work)
251
+ run the object code and to modify the work, including scripts to control
252
+ those activities. However, it does not include the work&#39;s System
253
+ Libraries, or general-purpose tools or generally available free programs
254
+ which are used unmodified in performing those activities but which are not
255
+ part of the work. For example, Corresponding Source includes interface
256
+ definition files associated with source files for the work, and the source
257
+ code for shared libraries and dynamically linked subprograms that the work
258
+ is specifically designed to require, such as by intimate data communication
259
+ or control flow between those subprograms and other parts of the work.</p>
260
+
261
+ <pre>The Corresponding Source need not include anything that users</pre>
262
+
263
+ <p>can regenerate automatically from other parts of the Corresponding Source.</p>
264
+
265
+ <pre>The Corresponding Source for a work in source code form is that</pre>
266
+
267
+ <p>same work.</p>
268
+
269
+ <pre>2. Basic Permissions.
270
+
271
+ All rights granted under this License are granted for the term of</pre>
272
+
273
+ <p>copyright on the Program, and are irrevocable provided the stated
274
+ conditions are met. This License explicitly affirms your unlimited
275
+ permission to run the unmodified Program. The output from running a
276
+ covered work is covered by this License only if the output, given its
277
+ content, constitutes a covered work. This License acknowledges your rights
278
+ of fair use or other equivalent, as provided by copyright law.</p>
279
+
280
+ <pre>You may make, run and propagate covered works that you do not</pre>
281
+
282
+ <p>convey, without conditions so long as your license otherwise remains in
283
+ force. You may convey covered works to others for the sole purpose of
284
+ having them make modifications exclusively for you, or provide you with
285
+ facilities for running those works, provided that you comply with the terms
286
+ of this License in conveying all material for which you do not control
287
+ copyright. Those thus making or running the covered works for you must do
288
+ so exclusively on your behalf, under your direction and control, on terms
289
+ that prohibit them from making any copies of your copyrighted material
290
+ outside their relationship with you.</p>
291
+
292
+ <pre>Conveying under any other circumstances is permitted solely under</pre>
293
+
294
+ <p>the conditions stated below. Sublicensing is not allowed; section 10 makes
295
+ it unnecessary.</p>
296
+
297
+ <pre>3. Protecting Users&#39; Legal Rights From Anti-Circumvention Law.
298
+
299
+ No covered work shall be deemed part of an effective technological</pre>
300
+
301
+ <p>measure under any applicable law fulfilling obligations under article 11 of
302
+ the WIPO copyright treaty adopted on 20 December 1996, or similar laws
303
+ prohibiting or restricting circumvention of such measures.</p>
304
+
305
+ <pre>When you convey a covered work, you waive any legal power to forbid</pre>
306
+
307
+ <p>circumvention of technological measures to the extent such circumvention is
308
+ effected by exercising rights under this License with respect to the
309
+ covered work, and you disclaim any intention to limit operation or
310
+ modification of the work as a means of enforcing, against the work&#39;s
311
+ users, your or third parties&#39; legal rights to forbid circumvention of
312
+ technological measures.</p>
313
+
314
+ <pre>4. Conveying Verbatim Copies.
315
+
316
+ You may convey verbatim copies of the Program&#39;s source code as you</pre>
317
+
318
+ <p>receive it, in any medium, provided that you conspicuously and
319
+ appropriately publish on each copy an appropriate copyright notice; keep
320
+ intact all notices stating that this License and any non-permissive terms
321
+ added in accord with section 7 apply to the code; keep intact all notices
322
+ of the absence of any warranty; and give all recipients a copy of this
323
+ License along with the Program.</p>
324
+
325
+ <pre>You may charge any price or no price for each copy that you convey,</pre>
326
+
327
+ <p>and you may offer support or warranty protection for a fee.</p>
328
+
329
+ <pre>5. Conveying Modified Source Versions.
330
+
331
+ You may convey a work based on the Program, or the modifications to</pre>
332
+
333
+ <p>produce it from the Program, in the form of source code under the terms of
334
+ section 4, provided that you also meet all of these conditions:</p>
335
+
336
+ <pre> a) The work must carry prominent notices stating that you modified
337
+ it, and giving a relevant date.
338
+
339
+ b) The work must carry prominent notices stating that it is
340
+ released under this License and any conditions added under section
341
+ 7. This requirement modifies the requirement in section 4 to
342
+ &quot;keep intact all notices&quot;.
343
+
344
+ c) You must license the entire work, as a whole, under this
345
+ License to anyone who comes into possession of a copy. This
346
+ License will therefore apply, along with any applicable section 7
347
+ additional terms, to the whole of the work, and all its parts,
348
+ regardless of how they are packaged. This License gives no
349
+ permission to license the work in any other way, but it does not
350
+ invalidate such permission if you have separately received it.
351
+
352
+ d) If the work has interactive user interfaces, each must display
353
+ Appropriate Legal Notices; however, if the Program has interactive
354
+ interfaces that do not display Appropriate Legal Notices, your
355
+ work need not make them do so.
356
+
357
+ A compilation of a covered work with other separate and independent</pre>
358
+
359
+ <p>works, which are not by their nature extensions of the covered work, and
360
+ which are not combined with it such as to form a larger program, in or on a
361
+ volume of a storage or distribution medium, is called an “aggregate” if the
362
+ compilation and its resulting copyright are not used to limit the access or
363
+ legal rights of the compilation&#39;s users beyond what the individual
364
+ works permit. Inclusion of a covered work in an aggregate does not cause
365
+ this License to apply to the other parts of the aggregate.</p>
366
+
367
+ <pre>6. Conveying Non-Source Forms.
368
+
369
+ You may convey a covered work in object code form under the terms</pre>
370
+
371
+ <p>of sections 4 and 5, provided that you also convey the machine-readable
372
+ Corresponding Source under the terms of this License, in one of these ways:</p>
373
+
374
+ <pre class="ruby"> <span class="ruby-identifier">a</span>) <span class="ruby-constant">Convey</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span> <span class="ruby-keyword">in</span>, <span class="ruby-keyword">or</span> <span class="ruby-identifier">embodied</span> <span class="ruby-keyword">in</span>, <span class="ruby-identifier">a</span> <span class="ruby-identifier">physical</span> <span class="ruby-identifier">product</span>
375
+ (<span class="ruby-identifier">including</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">physical</span> <span class="ruby-identifier">distribution</span> <span class="ruby-identifier">medium</span>), <span class="ruby-identifier">accompanied</span> <span class="ruby-identifier">by</span> <span class="ruby-identifier">the</span>
376
+ <span class="ruby-constant">Corresponding</span> <span class="ruby-constant">Source</span> <span class="ruby-identifier">fixed</span> <span class="ruby-identifier">on</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">durable</span> <span class="ruby-identifier">physical</span> <span class="ruby-identifier">medium</span>
377
+ <span class="ruby-identifier">customarily</span> <span class="ruby-identifier">used</span> <span class="ruby-keyword">for</span> <span class="ruby-identifier">software</span> <span class="ruby-identifier">interchange</span>.
378
+
379
+ <span class="ruby-identifier">b</span>) <span class="ruby-constant">Convey</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span> <span class="ruby-keyword">in</span>, <span class="ruby-keyword">or</span> <span class="ruby-identifier">embodied</span> <span class="ruby-keyword">in</span>, <span class="ruby-identifier">a</span> <span class="ruby-identifier">physical</span> <span class="ruby-identifier">product</span>
380
+ (<span class="ruby-identifier">including</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">physical</span> <span class="ruby-identifier">distribution</span> <span class="ruby-identifier">medium</span>), <span class="ruby-identifier">accompanied</span> <span class="ruby-identifier">by</span> <span class="ruby-identifier">a</span>
381
+ <span class="ruby-identifier">written</span> <span class="ruby-identifier">offer</span>, <span class="ruby-identifier">valid</span> <span class="ruby-keyword">for</span> <span class="ruby-identifier">at</span> <span class="ruby-identifier">least</span> <span class="ruby-identifier">three</span> <span class="ruby-identifier">years</span> <span class="ruby-keyword">and</span> <span class="ruby-identifier">valid</span> <span class="ruby-keyword">for</span> <span class="ruby-identifier">as</span>
382
+ <span class="ruby-identifier">long</span> <span class="ruby-identifier">as</span> <span class="ruby-identifier">you</span> <span class="ruby-identifier">offer</span> <span class="ruby-identifier">spare</span> <span class="ruby-identifier">parts</span> <span class="ruby-keyword">or</span> <span class="ruby-identifier">customer</span> <span class="ruby-identifier">support</span> <span class="ruby-keyword">for</span> <span class="ruby-identifier">that</span> <span class="ruby-identifier">product</span>
383
+ <span class="ruby-identifier">model</span>, <span class="ruby-identifier">to</span> <span class="ruby-identifier">give</span> <span class="ruby-identifier">anyone</span> <span class="ruby-identifier">who</span> <span class="ruby-identifier">possesses</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span> <span class="ruby-identifier">either</span> (<span class="ruby-value">1</span>) <span class="ruby-identifier">a</span>
384
+ <span class="ruby-identifier">copy</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">the</span> <span class="ruby-constant">Corresponding</span> <span class="ruby-constant">Source</span> <span class="ruby-keyword">for</span> <span class="ruby-identifier">all</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">software</span> <span class="ruby-keyword">in</span> <span class="ruby-identifier">the</span>
385
+ <span class="ruby-identifier">product</span> <span class="ruby-identifier">that</span> <span class="ruby-identifier">is</span> <span class="ruby-identifier">covered</span> <span class="ruby-identifier">by</span> <span class="ruby-identifier">this</span> <span class="ruby-constant">License</span>, <span class="ruby-identifier">on</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">durable</span> <span class="ruby-identifier">physical</span>
386
+ <span class="ruby-identifier">medium</span> <span class="ruby-identifier">customarily</span> <span class="ruby-identifier">used</span> <span class="ruby-keyword">for</span> <span class="ruby-identifier">software</span> <span class="ruby-identifier">interchange</span>, <span class="ruby-keyword">for</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">price</span> <span class="ruby-identifier">no</span>
387
+ <span class="ruby-identifier">more</span> <span class="ruby-identifier">than</span> <span class="ruby-identifier">your</span> <span class="ruby-identifier">reasonable</span> <span class="ruby-identifier">cost</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">physically</span> <span class="ruby-identifier">performing</span> <span class="ruby-identifier">this</span>
388
+ <span class="ruby-identifier">conveying</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">source</span>, <span class="ruby-keyword">or</span> (<span class="ruby-value">2</span>) <span class="ruby-identifier">access</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">copy</span> <span class="ruby-identifier">the</span>
389
+ <span class="ruby-constant">Corresponding</span> <span class="ruby-constant">Source</span> <span class="ruby-identifier">from</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">network</span> <span class="ruby-identifier">server</span> <span class="ruby-identifier">at</span> <span class="ruby-identifier">no</span> <span class="ruby-identifier">charge</span>.
390
+
391
+ <span class="ruby-identifier">c</span>) <span class="ruby-constant">Convey</span> <span class="ruby-identifier">individual</span> <span class="ruby-identifier">copies</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span> <span class="ruby-identifier">with</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">copy</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">the</span>
392
+ <span class="ruby-identifier">written</span> <span class="ruby-identifier">offer</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">provide</span> <span class="ruby-identifier">the</span> <span class="ruby-constant">Corresponding</span> <span class="ruby-constant">Source</span>. <span class="ruby-constant">This</span>
393
+ <span class="ruby-identifier">alternative</span> <span class="ruby-identifier">is</span> <span class="ruby-identifier">allowed</span> <span class="ruby-identifier">only</span> <span class="ruby-identifier">occasionally</span> <span class="ruby-keyword">and</span> <span class="ruby-identifier">noncommercially</span>, <span class="ruby-keyword">and</span>
394
+ <span class="ruby-identifier">only</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">you</span> <span class="ruby-identifier">received</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span> <span class="ruby-identifier">with</span> <span class="ruby-identifier">such</span> <span class="ruby-identifier">an</span> <span class="ruby-identifier">offer</span>, <span class="ruby-keyword">in</span> <span class="ruby-identifier">accord</span>
395
+ <span class="ruby-identifier">with</span> <span class="ruby-identifier">subsection</span> <span class="ruby-value">6</span><span class="ruby-identifier">b</span>.
396
+
397
+ <span class="ruby-identifier">d</span>) <span class="ruby-constant">Convey</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span> <span class="ruby-identifier">by</span> <span class="ruby-identifier">offering</span> <span class="ruby-identifier">access</span> <span class="ruby-identifier">from</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">designated</span>
398
+ <span class="ruby-identifier">place</span> (<span class="ruby-identifier">gratis</span> <span class="ruby-keyword">or</span> <span class="ruby-keyword">for</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">charge</span>), <span class="ruby-keyword">and</span> <span class="ruby-identifier">offer</span> <span class="ruby-identifier">equivalent</span> <span class="ruby-identifier">access</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">the</span>
399
+ <span class="ruby-constant">Corresponding</span> <span class="ruby-constant">Source</span> <span class="ruby-keyword">in</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">same</span> <span class="ruby-identifier">way</span> <span class="ruby-identifier">through</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">same</span> <span class="ruby-identifier">place</span> <span class="ruby-identifier">at</span> <span class="ruby-identifier">no</span>
400
+ <span class="ruby-identifier">further</span> <span class="ruby-identifier">charge</span>. <span class="ruby-constant">You</span> <span class="ruby-identifier">need</span> <span class="ruby-keyword">not</span> <span class="ruby-identifier">require</span> <span class="ruby-identifier">recipients</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">copy</span> <span class="ruby-identifier">the</span>
401
+ <span class="ruby-constant">Corresponding</span> <span class="ruby-constant">Source</span> <span class="ruby-identifier">along</span> <span class="ruby-identifier">with</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span>. <span class="ruby-constant">If</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">place</span> <span class="ruby-identifier">to</span>
402
+ <span class="ruby-identifier">copy</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span> <span class="ruby-identifier">is</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">network</span> <span class="ruby-identifier">server</span>, <span class="ruby-identifier">the</span> <span class="ruby-constant">Corresponding</span> <span class="ruby-constant">Source</span>
403
+ <span class="ruby-identifier">may</span> <span class="ruby-identifier">be</span> <span class="ruby-identifier">on</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">different</span> <span class="ruby-identifier">server</span> (<span class="ruby-identifier">operated</span> <span class="ruby-identifier">by</span> <span class="ruby-identifier">you</span> <span class="ruby-keyword">or</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">third</span> <span class="ruby-identifier">party</span>)
404
+ <span class="ruby-identifier">that</span> <span class="ruby-identifier">supports</span> <span class="ruby-identifier">equivalent</span> <span class="ruby-identifier">copying</span> <span class="ruby-identifier">facilities</span>, <span class="ruby-identifier">provided</span> <span class="ruby-identifier">you</span> <span class="ruby-identifier">maintain</span>
405
+ <span class="ruby-identifier">clear</span> <span class="ruby-identifier">directions</span> <span class="ruby-keyword">next</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span> <span class="ruby-identifier">saying</span> <span class="ruby-identifier">where</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">find</span> <span class="ruby-identifier">the</span>
406
+ <span class="ruby-constant">Corresponding</span> <span class="ruby-constant">Source</span>. <span class="ruby-constant">Regardless</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">what</span> <span class="ruby-identifier">server</span> <span class="ruby-identifier">hosts</span> <span class="ruby-identifier">the</span>
407
+ <span class="ruby-constant">Corresponding</span> <span class="ruby-constant">Source</span>, <span class="ruby-identifier">you</span> <span class="ruby-identifier">remain</span> <span class="ruby-identifier">obligated</span> <span class="ruby-identifier">to</span> <span class="ruby-keyword">ensure</span> <span class="ruby-identifier">that</span> <span class="ruby-identifier">it</span> <span class="ruby-identifier">is</span>
408
+ <span class="ruby-identifier">available</span> <span class="ruby-keyword">for</span> <span class="ruby-identifier">as</span> <span class="ruby-identifier">long</span> <span class="ruby-identifier">as</span> <span class="ruby-identifier">needed</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">satisfy</span> <span class="ruby-identifier">these</span> <span class="ruby-identifier">requirements</span>.
409
+
410
+ <span class="ruby-identifier">e</span>) <span class="ruby-constant">Convey</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span> <span class="ruby-identifier">using</span> <span class="ruby-identifier">peer</span><span class="ruby-operator">-</span><span class="ruby-identifier">to</span><span class="ruby-operator">-</span><span class="ruby-identifier">peer</span> <span class="ruby-identifier">transmission</span>, <span class="ruby-identifier">provided</span>
411
+ <span class="ruby-identifier">you</span> <span class="ruby-identifier">inform</span> <span class="ruby-identifier">other</span> <span class="ruby-identifier">peers</span> <span class="ruby-identifier">where</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span> <span class="ruby-keyword">and</span> <span class="ruby-constant">Corresponding</span>
412
+ <span class="ruby-constant">Source</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">work</span> <span class="ruby-identifier">are</span> <span class="ruby-identifier">being</span> <span class="ruby-identifier">offered</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">general</span> <span class="ruby-identifier">public</span> <span class="ruby-identifier">at</span> <span class="ruby-identifier">no</span>
413
+ <span class="ruby-identifier">charge</span> <span class="ruby-identifier">under</span> <span class="ruby-identifier">subsection</span> <span class="ruby-value">6</span><span class="ruby-identifier">d</span>.
414
+
415
+ <span class="ruby-constant">A</span> <span class="ruby-identifier">separable</span> <span class="ruby-identifier">portion</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">object</span> <span class="ruby-identifier">code</span>, <span class="ruby-identifier">whose</span> <span class="ruby-identifier">source</span> <span class="ruby-identifier">code</span> <span class="ruby-identifier">is</span> <span class="ruby-identifier">excluded</span>
416
+ </pre>
417
+
418
+ <p>from the Corresponding Source as a System Library, need not be included in
419
+ conveying the object code work.</p>
420
+
421
+ <pre>A &quot;User Product&quot; is either (1) a &quot;consumer product&quot;, which means any</pre>
422
+
423
+ <p>tangible personal property which is normally used for personal, family, or
424
+ household purposes, or (2) anything designed or sold for incorporation into
425
+ a dwelling. In determining whether a product is a consumer product,
426
+ doubtful cases shall be resolved in favor of coverage. For a particular
427
+ product received by a particular user, “normally used” refers to a typical
428
+ or common use of that class of product, regardless of the status of the
429
+ particular user or of the way in which the particular user actually uses,
430
+ or expects or is expected to use, the product. A product is a consumer
431
+ product regardless of whether the product has substantial commercial,
432
+ industrial or non-consumer uses, unless such uses represent the only
433
+ significant mode of use of the product.</p>
434
+
435
+ <pre>&quot;Installation Information&quot; for a User Product means any methods,</pre>
436
+
437
+ <p>procedures, authorization keys, or other information required to install
438
+ and execute modified versions of a covered work in that User Product from a
439
+ modified version of its Corresponding Source. The information must suffice
440
+ to ensure that the continued functioning of the modified object code is in
441
+ no case prevented or interfered with solely because modification has been
442
+ made.</p>
443
+
444
+ <pre>If you convey an object code work under this section in, or with, or</pre>
445
+
446
+ <p>specifically for use in, a User Product, and the conveying occurs as part
447
+ of a transaction in which the right of possession and use of the User
448
+ Product is transferred to the recipient in perpetuity or for a fixed term
449
+ (regardless of how the transaction is characterized), the Corresponding
450
+ Source conveyed under this section must be accompanied by the Installation
451
+ Information. But this requirement does not apply if neither you nor any
452
+ third party retains the ability to install modified object code on the User
453
+ Product (for example, the work has been installed in ROM).</p>
454
+
455
+ <pre>The requirement to provide Installation Information does not include a</pre>
456
+
457
+ <p>requirement to continue to provide support service, warranty, or updates
458
+ for a work that has been modified or installed by the recipient, or for the
459
+ User Product in which it has been modified or installed. Access to a
460
+ network may be denied when the modification itself materially and adversely
461
+ affects the operation of the network or violates the rules and protocols
462
+ for communication across the network.</p>
463
+
464
+ <pre>Corresponding Source conveyed, and Installation Information provided,</pre>
465
+
466
+ <p>in accord with this section must be in a format that is publicly documented
467
+ (and with an implementation available to the public in source code form),
468
+ and must require no special password or key for unpacking, reading or
469
+ copying.</p>
470
+
471
+ <pre>7. Additional Terms.
472
+
473
+ &quot;Additional permissions&quot; are terms that supplement the terms of this</pre>
474
+
475
+ <p>License by making exceptions from one or more of its conditions. Additional
476
+ permissions that are applicable to the entire Program shall be treated as
477
+ though they were included in this License, to the extent that they are
478
+ valid under applicable law. If additional permissions apply only to part
479
+ of the Program, that part may be used separately under those permissions,
480
+ but the entire Program remains governed by this License without regard to
481
+ the additional permissions.</p>
482
+
483
+ <pre>When you convey a copy of a covered work, you may at your option</pre>
484
+
485
+ <p>remove any additional permissions from that copy, or from any part of it.
486
+ (Additional permissions may be written to require their own removal in
487
+ certain cases when you modify the work.) You may place additional
488
+ permissions on material, added by you to a covered work, for which you have
489
+ or can give appropriate copyright permission.</p>
490
+
491
+ <pre>Notwithstanding any other provision of this License, for material you</pre>
492
+
493
+ <p>add to a covered work, you may (if authorized by the copyright holders of
494
+ that material) supplement the terms of this License with terms:</p>
495
+
496
+ <pre> a) Disclaiming warranty or limiting liability differently from the
497
+ terms of sections 15 and 16 of this License; or
498
+
499
+ b) Requiring preservation of specified reasonable legal notices or
500
+ author attributions in that material or in the Appropriate Legal
501
+ Notices displayed by works containing it; or
502
+
503
+ c) Prohibiting misrepresentation of the origin of that material, or
504
+ requiring that modified versions of such material be marked in
505
+ reasonable ways as different from the original version; or
506
+
507
+ d) Limiting the use for publicity purposes of names of licensors or
508
+ authors of the material; or
509
+
510
+ e) Declining to grant rights under trademark law for use of some
511
+ trade names, trademarks, or service marks; or
512
+
513
+ f) Requiring indemnification of licensors and authors of that
514
+ material by anyone who conveys the material (or modified versions of
515
+ it) with contractual assumptions of liability to the recipient, for
516
+ any liability that these contractual assumptions directly impose on
517
+ those licensors and authors.
518
+
519
+ All other non-permissive additional terms are considered &quot;further</pre>
520
+
521
+ <p>restrictions“ within the meaning of section 10. If the Program as you
522
+ received it, or any part of it, contains a notice stating that it is
523
+ governed by this License along with a term that is a further restriction,
524
+ you may remove that term. If a license document contains a further
525
+ restriction but permits relicensing or conveying under this License, you
526
+ may add to a covered work material governed by the terms of that license
527
+ document, provided that the further restriction does not survive such
528
+ relicensing or conveying.</p>
529
+
530
+ <pre>If you add terms to a covered work in accord with this section, you</pre>
531
+
532
+ <p>must place, in the relevant source files, a statement of the additional
533
+ terms that apply to those files, or a notice indicating where to find the
534
+ applicable terms.</p>
535
+
536
+ <pre>Additional terms, permissive or non-permissive, may be stated in the</pre>
537
+
538
+ <p>form of a separately written license, or stated as exceptions; the above
539
+ requirements apply either way.</p>
540
+
541
+ <pre>8. Termination.
542
+
543
+ You may not propagate or modify a covered work except as expressly</pre>
544
+
545
+ <p>provided under this License. Any attempt otherwise to propagate or modify
546
+ it is void, and will automatically terminate your rights under this License
547
+ (including any patent licenses granted under the third paragraph of section
548
+ 11).</p>
549
+
550
+ <pre>However, if you cease all violation of this License, then your</pre>
551
+
552
+ <p>license from a particular copyright holder is reinstated (a) provisionally,
553
+ unless and until the copyright holder explicitly and finally terminates
554
+ your license, and (b) permanently, if the copyright holder fails to notify
555
+ you of the violation by some reasonable means prior to 60 days after the
556
+ cessation.</p>
557
+
558
+ <pre>Moreover, your license from a particular copyright holder is</pre>
559
+
560
+ <p>reinstated permanently if the copyright holder notifies you of the
561
+ violation by some reasonable means, this is the first time you have
562
+ received notice of violation of this License (for any work) from that
563
+ copyright holder, and you cure the violation prior to 30 days after your
564
+ receipt of the notice.</p>
565
+
566
+ <pre>Termination of your rights under this section does not terminate the</pre>
567
+
568
+ <p>licenses of parties who have received copies or rights from you under this
569
+ License. If your rights have been terminated and not permanently
570
+ reinstated, you do not qualify to receive new licenses for the same
571
+ material under section 10.</p>
572
+
573
+ <pre>9. Acceptance Not Required for Having Copies.
574
+
575
+ You are not required to accept this License in order to receive or</pre>
576
+
577
+ <p>run a copy of the Program. Ancillary propagation of a covered work
578
+ occurring solely as a consequence of using peer-to-peer transmission to
579
+ receive a copy likewise does not require acceptance. However, nothing
580
+ other than this License grants you permission to propagate or modify any
581
+ covered work. These actions infringe copyright if you do not accept this
582
+ License. Therefore, by modifying or propagating a covered work, you
583
+ indicate your acceptance of this License to do so.</p>
584
+
585
+ <pre>10. Automatic Licensing of Downstream Recipients.
586
+
587
+ Each time you convey a covered work, the recipient automatically</pre>
588
+
589
+ <p>receives a license from the original licensors, to run, modify and
590
+ propagate that work, subject to this License. You are not responsible for
591
+ enforcing compliance by third parties with this License.</p>
592
+
593
+ <pre>An &quot;entity transaction&quot; is a transaction transferring control of an</pre>
594
+
595
+ <p>organization, or substantially all assets of one, or subdividing an
596
+ organization, or merging organizations. If propagation of a covered work
597
+ results from an entity transaction, each party to that transaction who
598
+ receives a copy of the work also receives whatever licenses to the work the
599
+ party&#39;s predecessor in interest had or could give under the previous
600
+ paragraph, plus a right to possession of the Corresponding Source of the
601
+ work from the predecessor in interest, if the predecessor has it or can get
602
+ it with reasonable efforts.</p>
603
+
604
+ <pre>You may not impose any further restrictions on the exercise of the</pre>
605
+
606
+ <p>rights granted or affirmed under this License. For example, you may not
607
+ impose a license fee, royalty, or other charge for exercise of rights
608
+ granted under this License, and you may not initiate litigation (including
609
+ a cross-claim or counterclaim in a lawsuit) alleging that any patent claim
610
+ is infringed by making, using, selling, offering for sale, or importing the
611
+ Program or any portion of it.</p>
612
+
613
+ <pre>11. Patents.
614
+
615
+ A &quot;contributor&quot; is a copyright holder who authorizes use under this</pre>
616
+
617
+ <p>License of the Program or a work on which the Program is based. The work
618
+ thus licensed is called the contributor&#39;s “contributor version”.</p>
619
+
620
+ <pre>A contributor&#39;s &quot;essential patent claims&quot; are all patent claims</pre>
621
+
622
+ <p>owned or controlled by the contributor, whether already acquired or
623
+ hereafter acquired, that would be infringed by some manner, permitted by
624
+ this License, of making, using, or selling its contributor version, but do
625
+ not include claims that would be infringed only as a consequence of further
626
+ modification of the contributor version. For purposes of this definition,
627
+ “control” includes the right to grant patent sublicenses in a manner
628
+ consistent with the requirements of this License.</p>
629
+
630
+ <pre>Each contributor grants you a non-exclusive, worldwide, royalty-free</pre>
631
+
632
+ <p>patent license under the contributor&#39;s essential patent claims, to
633
+ make, use, sell, offer for sale, import and otherwise run, modify and
634
+ propagate the contents of its contributor version.</p>
635
+
636
+ <pre>In the following three paragraphs, a &quot;patent license&quot; is any express</pre>
637
+
638
+ <p>agreement or commitment, however denominated, not to enforce a patent (such
639
+ as an express permission to practice a patent or covenant not to sue for
640
+ patent infringement). To “grant” such a patent license to a party means to
641
+ make such an agreement or commitment not to enforce a patent against the
642
+ party.</p>
643
+
644
+ <pre>If you convey a covered work, knowingly relying on a patent license,</pre>
645
+
646
+ <p>and the Corresponding Source of the work is not available for anyone to
647
+ copy, free of charge and under the terms of this License, through a
648
+ publicly available network server or other readily accessible means, then
649
+ you must either (1) cause the Corresponding Source to be so available, or
650
+ (2) arrange to deprive yourself of the benefit of the patent license for
651
+ this particular work, or (3) arrange, in a manner consistent with the
652
+ requirements of this License, to extend the patent license to downstream
653
+ recipients. “Knowingly relying” means you have actual knowledge that, but
654
+ for the patent license, your conveying the covered work in a country, or
655
+ your recipient&#39;s use of the covered work in a country, would infringe
656
+ one or more identifiable patents in that country that you have reason to
657
+ believe are valid.</p>
658
+
659
+ <pre>If, pursuant to or in connection with a single transaction or</pre>
660
+
661
+ <p>arrangement, you convey, or propagate by procuring conveyance of, a covered
662
+ work, and grant a patent license to some of the parties receiving the
663
+ covered work authorizing them to use, propagate, modify or convey a
664
+ specific copy of the covered work, then the patent license you grant is
665
+ automatically extended to all recipients of the covered work and works
666
+ based on it.</p>
667
+
668
+ <pre>A patent license is &quot;discriminatory&quot; if it does not include within</pre>
669
+
670
+ <p>the scope of its coverage, prohibits the exercise of, or is conditioned on
671
+ the non-exercise of one or more of the rights that are specifically granted
672
+ under this License. You may not convey a covered work if you are a party
673
+ to an arrangement with a third party that is in the business of
674
+ distributing software, under which you make payment to the third party
675
+ based on the extent of your activity of conveying the work, and under which
676
+ the third party grants, to any of the parties who would receive the covered
677
+ work from you, a discriminatory patent license (a) in connection with
678
+ copies of the covered work conveyed by you (or copies made from those
679
+ copies), or (b) primarily for and in connection with specific products or
680
+ compilations that contain the covered work, unless you entered into that
681
+ arrangement, or that patent license was granted, prior to 28 March 2007.</p>
682
+
683
+ <pre>Nothing in this License shall be construed as excluding or limiting</pre>
684
+
685
+ <p>any implied license or other defenses to infringement that may otherwise be
686
+ available to you under applicable patent law.</p>
687
+
688
+ <pre>12. No Surrender of Others&#39; Freedom.
689
+
690
+ If conditions are imposed on you (whether by court order, agreement or</pre>
691
+
692
+ <p>otherwise) that contradict the conditions of this License, they do not
693
+ excuse you from the conditions of this License. If you cannot convey a
694
+ covered work so as to satisfy simultaneously your obligations under this
695
+ License and any other pertinent obligations, then as a consequence you may
696
+ not convey it at all. For example, if you agree to terms that obligate you
697
+ to collect a royalty for further conveying from those to whom you convey
698
+ the Program, the only way you could satisfy both those terms and this
699
+ License would be to refrain entirely from conveying the Program.</p>
700
+
701
+ <pre>13. Use with the GNU Affero General Public License.
702
+
703
+ Notwithstanding any other provision of this License, you have</pre>
704
+
705
+ <p>permission to link or combine any covered work with a work licensed under
706
+ version 3 of the GNU Affero General Public License into a single combined
707
+ work, and to convey the resulting work. The terms of this License will
708
+ continue to apply to the part which is the covered work, but the special
709
+ requirements of the GNU Affero General Public License, section 13,
710
+ concerning interaction through a network will apply to the combination as
711
+ such.</p>
712
+
713
+ <pre>14. Revised Versions of this License.
714
+
715
+ The Free Software Foundation may publish revised and/or new versions of</pre>
716
+
717
+ <p>the GNU General Public License from time to time. Such new versions will
718
+ be similar in spirit to the present version, but may differ in detail to
719
+ address new problems or concerns.</p>
720
+
721
+ <pre>Each version is given a distinguishing version number. If the</pre>
722
+
723
+ <p>Program specifies that a certain numbered version of the GNU General Public
724
+ License “or any later version” applies to it, you have the option of
725
+ following the terms and conditions either of that numbered version or of
726
+ any later version published by the Free Software Foundation. If the
727
+ Program does not specify a version number of the GNU General Public
728
+ License, you may choose any version ever published by the Free Software
729
+ Foundation.</p>
730
+
731
+ <pre>If the Program specifies that a proxy can decide which future</pre>
732
+
733
+ <p>versions of the GNU General Public License can be used, that proxy&#39;s
734
+ public statement of acceptance of a version permanently authorizes you to
735
+ choose that version for the Program.</p>
736
+
737
+ <pre>Later license versions may give you additional or different</pre>
738
+
739
+ <p>permissions. However, no additional obligations are imposed on any author
740
+ or copyright holder as a result of your choosing to follow a later version.</p>
741
+
742
+ <pre>15. Disclaimer of Warranty.
743
+
744
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY</pre>
745
+
746
+ <p>APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
747
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY
748
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
749
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
750
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
751
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
752
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p>
753
+
754
+ <pre>16. Limitation of Liability.
755
+
756
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING</pre>
757
+
758
+ <p>WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
759
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
760
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
761
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
762
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
763
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
764
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
765
+ SUCH DAMAGES.</p>
766
+
767
+ <pre>17. Interpretation of Sections 15 and 16.
768
+
769
+ If the disclaimer of warranty and limitation of liability provided</pre>
770
+
771
+ <p>above cannot be given local legal effect according to their terms,
772
+ reviewing courts shall apply local law that most closely approximates an
773
+ absolute waiver of all civil liability in connection with the Program,
774
+ unless a warranty or assumption of liability accompanies a copy of the
775
+ Program in return for a fee.</p>
776
+
777
+ <pre> END OF TERMS AND CONDITIONS
778
+
779
+ How to Apply These Terms to Your New Programs
780
+
781
+ If you develop a new program, and you want it to be of the greatest</pre>
782
+
783
+ <p>possible use to the public, the best way to achieve this is to make it free
784
+ software which everyone can redistribute and change under these terms.</p>
785
+
786
+ <pre>To do so, attach the following notices to the program. It is safest</pre>
787
+
788
+ <p>to attach them to the start of each source file to most effectively state
789
+ the exclusion of warranty; and each file should have at least the
790
+ “copyright” line and a pointer to where the full notice is found.</p>
791
+
792
+ <pre>&lt;one line to give the program&#39;s name and a brief idea of what it does.&gt;
793
+ Copyright (C) &lt;year&gt; &lt;name of author&gt;
794
+
795
+ This program is free software: you can redistribute it and/or modify
796
+ it under the terms of the GNU General Public License as published by
797
+ the Free Software Foundation, either version 3 of the License, or
798
+ (at your option) any later version.
799
+
800
+ This program is distributed in the hope that it will be useful,
801
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
802
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
803
+ GNU General Public License for more details.
804
+
805
+ You should have received a copy of the GNU General Public License
806
+ along with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.</pre>
807
+
808
+ <p>Also add information on how to contact you by electronic and paper mail.</p>
809
+
810
+ <pre>If the program does terminal interaction, make it output a short</pre>
811
+
812
+ <p>notice like this when it starts in an interactive mode:</p>
813
+
814
+ <pre>&lt;program&gt; Copyright (C) &lt;year&gt; &lt;name of author&gt;
815
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w&#39;.
816
+ This is free software, and you are welcome to redistribute it
817
+ under certain conditions; type `show c&#39; for details.</pre>
818
+
819
+ <p>The hypothetical commands `show w&#39; and `show c&#39; should show the
820
+ appropriate parts of the General Public License. Of course, your
821
+ program&#39;s commands might be different; for a GUI interface, you would
822
+ use an “about box”.</p>
823
+
824
+ <pre>You should also get your employer (if you work as a programmer) or school,</pre>
825
+
826
+ <p>if any, to sign a “copyright disclaimer” for the program, if necessary. For
827
+ more information on this, and how to apply and follow the GNU GPL, see
828
+ &lt;<a href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/&gt;.</p>
829
+
830
+ <pre>The GNU General Public License does not permit incorporating your program</pre>
831
+
832
+ <p>into proprietary programs. If your program is a subroutine library, you
833
+ may consider it more useful to permit linking proprietary applications with
834
+ the library. If this is what you want to do, use the GNU Lesser General
835
+ Public License instead of this License. But first, please read &lt;<a
836
+ href="http://www.gnu.org/philosophy/why-not-lgpl.html">www.gnu.org/philosophy/why-not-lgpl.html</a>&gt;.</p>
837
+ </main>
838
+
839
+
840
+
841
+ <footer id="validator-badges" role="contentinfo">
842
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
843
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
844
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
845
+ </footer>
846
+