setup 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. data/COPYING +515 -0
  2. data/HISTORY +7 -0
  3. data/MANIFEST +231 -0
  4. data/METADATA +25 -0
  5. data/NEWS +21 -0
  6. data/README +110 -0
  7. data/bin/setup.rb +7 -0
  8. data/doc/manual/doc.en/devel.html +208 -0
  9. data/doc/manual/doc.en/hookapi.html +91 -0
  10. data/doc/manual/doc.en/index.html +28 -0
  11. data/doc/manual/doc.en/metaconfapi.html +79 -0
  12. data/doc/manual/doc.en/news.html +189 -0
  13. data/doc/manual/doc.en/usage.html +297 -0
  14. data/doc/manual/doc.ja/devel.html +301 -0
  15. data/doc/manual/doc.ja/hookapi.html +84 -0
  16. data/doc/manual/doc.ja/index.html +28 -0
  17. data/doc/manual/doc.ja/metaconfapi.html +80 -0
  18. data/doc/manual/doc.ja/news.html +186 -0
  19. data/doc/manual/doc.ja/usage.html +319 -0
  20. data/doc/rdoc/classes/Errno.html +89 -0
  21. data/doc/rdoc/classes/Errno/ENOTEMPTY.html +92 -0
  22. data/doc/rdoc/classes/File.html +134 -0
  23. data/doc/rdoc/classes/Setup.html +107 -0
  24. data/doc/rdoc/classes/Setup/Command.html +276 -0
  25. data/doc/rdoc/classes/Setup/ConfigTable.html +622 -0
  26. data/doc/rdoc/classes/Setup/Installer.html +2454 -0
  27. data/doc/rdoc/classes/Setup/Installer/Shebang.html +187 -0
  28. data/doc/rdoc/classes/SetupError.html +92 -0
  29. data/doc/rdoc/created.rid +1 -0
  30. data/doc/rdoc/files/COPYING.html +759 -0
  31. data/doc/rdoc/files/HISTORY.html +104 -0
  32. data/doc/rdoc/files/METADATA.html +92 -0
  33. data/doc/rdoc/files/NEWS.html +113 -0
  34. data/doc/rdoc/files/README.html +214 -0
  35. data/doc/rdoc/files/bin/setup_rb.html +96 -0
  36. data/doc/rdoc/files/lib/setup/build_rb.html +96 -0
  37. data/doc/rdoc/files/lib/setup/command_rb.html +98 -0
  38. data/doc/rdoc/files/lib/setup/config_rb.html +98 -0
  39. data/doc/rdoc/files/lib/setup/error_rb.html +92 -0
  40. data/doc/rdoc/files/lib/setup/install_rb.html +116 -0
  41. data/doc/rdoc/files/lib/setup/rake_rb.html +97 -0
  42. data/doc/rdoc/files/lib/setup/rubyver_rb.html +96 -0
  43. data/doc/rdoc/files/lib/setup_rb.html +92 -0
  44. data/doc/rdoc/fr_class_index.html +55 -0
  45. data/doc/rdoc/fr_file_index.html +60 -0
  46. data/doc/rdoc/fr_method_index.html +182 -0
  47. data/doc/rdoc/index.html +26 -0
  48. data/doc/rdoc/rdoc-style.css +177 -0
  49. data/doc/ri/Errno/ENOTEMPTY/cdesc-ENOTEMPTY.yaml +15 -0
  50. data/doc/ri/Errno/cdesc-Errno.yaml +15 -0
  51. data/doc/ri/File/cdesc-File.yaml +18 -0
  52. data/doc/ri/File/dir%3f-c.yaml +12 -0
  53. data/doc/ri/File/read-c.yaml +10 -0
  54. data/doc/ri/Setup/Command/cdesc-Command.yaml +28 -0
  55. data/doc/ri/Setup/Command/help-i.yaml +12 -0
  56. data/doc/ri/Setup/Command/run-c.yaml +11 -0
  57. data/doc/ri/Setup/Command/run-i.yaml +11 -0
  58. data/doc/ri/Setup/ConfigTable/%5b%5d%3d-i.yaml +12 -0
  59. data/doc/ri/Setup/ConfigTable/%5b%5d-i.yaml +12 -0
  60. data/doc/ri/Setup/ConfigTable/attr_accessor-c.yaml +12 -0
  61. data/doc/ri/Setup/ConfigTable/attr_boolean-c.yaml +12 -0
  62. data/doc/ri/Setup/ConfigTable/attr_pathlist-c.yaml +12 -0
  63. data/doc/ri/Setup/ConfigTable/attr_pathname-c.yaml +12 -0
  64. data/doc/ri/Setup/ConfigTable/cdesc-ConfigTable.yaml +66 -0
  65. data/doc/ri/Setup/ConfigTable/compiles%3f-i.yaml +10 -0
  66. data/doc/ri/Setup/ConfigTable/env_config-i.yaml +12 -0
  67. data/doc/ri/Setup/ConfigTable/extconfs-i.yaml +11 -0
  68. data/doc/ri/Setup/ConfigTable/extensions-i.yaml +10 -0
  69. data/doc/ri/Setup/ConfigTable/initialize_defaults-i.yaml +14 -0
  70. data/doc/ri/Setup/ConfigTable/installdirs%3d-i.yaml +12 -0
  71. data/doc/ri/Setup/ConfigTable/load_config-i.yaml +12 -0
  72. data/doc/ri/Setup/ConfigTable/new-c.yaml +12 -0
  73. data/doc/ri/Setup/ConfigTable/save_config-i.yaml +12 -0
  74. data/doc/ri/Setup/ConfigTable/shebang%3d-i.yaml +12 -0
  75. data/doc/ri/Setup/ConfigTable/show-i.yaml +10 -0
  76. data/doc/ri/Setup/Installer/Shebang/cdesc-Shebang.yaml +28 -0
  77. data/doc/ri/Setup/Installer/Shebang/load-c.yaml +10 -0
  78. data/doc/ri/Setup/Installer/Shebang/new-c.yaml +10 -0
  79. data/doc/ri/Setup/Installer/Shebang/parse-c.yaml +10 -0
  80. data/doc/ri/Setup/Installer/Shebang/to_s-i.yaml +10 -0
  81. data/doc/ri/Setup/Installer/binread-i.yaml +14 -0
  82. data/doc/ri/Setup/Installer/cdesc-Installer.yaml +281 -0
  83. data/doc/ri/Setup/Installer/clean_dir_bin-i.yaml +12 -0
  84. data/doc/ri/Setup/Installer/clean_dir_data-i.yaml +12 -0
  85. data/doc/ri/Setup/Installer/clean_dir_doc-i.yaml +12 -0
  86. data/doc/ri/Setup/Installer/clean_dir_etc-i.yaml +12 -0
  87. data/doc/ri/Setup/Installer/clean_dir_ext-i.yaml +10 -0
  88. data/doc/ri/Setup/Installer/clean_dir_lib-i.yaml +12 -0
  89. data/doc/ri/Setup/Installer/clean_dir_man-i.yaml +12 -0
  90. data/doc/ri/Setup/Installer/command-i.yaml +10 -0
  91. data/doc/ri/Setup/Installer/compiles%3f-i.yaml +10 -0
  92. data/doc/ri/Setup/Installer/config_dir_bin-i.yaml +12 -0
  93. data/doc/ri/Setup/Installer/config_dir_data-i.yaml +12 -0
  94. data/doc/ri/Setup/Installer/config_dir_doc-i.yaml +12 -0
  95. data/doc/ri/Setup/Installer/config_dir_etc-i.yaml +12 -0
  96. data/doc/ri/Setup/Installer/config_dir_ext-i.yaml +10 -0
  97. data/doc/ri/Setup/Installer/config_dir_lib-i.yaml +12 -0
  98. data/doc/ri/Setup/Installer/config_dir_man-i.yaml +12 -0
  99. data/doc/ri/Setup/Installer/curr_objdir-i.yaml +10 -0
  100. data/doc/ri/Setup/Installer/curr_srcdir-i.yaml +12 -0
  101. data/doc/ri/Setup/Installer/diff%3f-i.yaml +10 -0
  102. data/doc/ri/Setup/Installer/directories_of-i.yaml +10 -0
  103. data/doc/ri/Setup/Installer/distclean_dir_bin-i.yaml +12 -0
  104. data/doc/ri/Setup/Installer/distclean_dir_data-i.yaml +12 -0
  105. data/doc/ri/Setup/Installer/distclean_dir_doc-i.yaml +10 -0
  106. data/doc/ri/Setup/Installer/distclean_dir_etc-i.yaml +12 -0
  107. data/doc/ri/Setup/Installer/distclean_dir_ext-i.yaml +10 -0
  108. data/doc/ri/Setup/Installer/distclean_dir_lib-i.yaml +12 -0
  109. data/doc/ri/Setup/Installer/distclean_dir_man-i.yaml +12 -0
  110. data/doc/ri/Setup/Installer/dive_into-i.yaml +10 -0
  111. data/doc/ri/Setup/Installer/dllext-i.yaml +10 -0
  112. data/doc/ri/Setup/Installer/exec_all-i.yaml +12 -0
  113. data/doc/ri/Setup/Installer/exec_clean-i.yaml +12 -0
  114. data/doc/ri/Setup/Installer/exec_config-i.yaml +12 -0
  115. data/doc/ri/Setup/Installer/exec_distclean-i.yaml +12 -0
  116. data/doc/ri/Setup/Installer/exec_doc-i.yaml +11 -0
  117. data/doc/ri/Setup/Installer/exec_install-i.yaml +12 -0
  118. data/doc/ri/Setup/Installer/exec_rdoc-i.yaml +14 -0
  119. data/doc/ri/Setup/Installer/exec_ri-i.yaml +12 -0
  120. data/doc/ri/Setup/Installer/exec_setup-i.yaml +14 -0
  121. data/doc/ri/Setup/Installer/exec_show-i.yaml +12 -0
  122. data/doc/ri/Setup/Installer/exec_task_traverse-i.yaml +12 -0
  123. data/doc/ri/Setup/Installer/exec_test-i.yaml +14 -0
  124. data/doc/ri/Setup/Installer/exec_uninstall-i.yaml +12 -0
  125. data/doc/ri/Setup/Installer/existfiles-i.yaml +10 -0
  126. data/doc/ri/Setup/Installer/extconf-i.yaml +10 -0
  127. data/doc/ri/Setup/Installer/extdir%3f-i.yaml +10 -0
  128. data/doc/ri/Setup/Installer/extensions-i.yaml +12 -0
  129. data/doc/ri/Setup/Installer/files_of-i.yaml +10 -0
  130. data/doc/ri/Setup/Installer/force_remove_file-i.yaml +10 -0
  131. data/doc/ri/Setup/Installer/get_config-i.yaml +11 -0
  132. data/doc/ri/Setup/Installer/glob_reject-i.yaml +10 -0
  133. data/doc/ri/Setup/Installer/glob_select-i.yaml +10 -0
  134. data/doc/ri/Setup/Installer/globs2re-i.yaml +10 -0
  135. data/doc/ri/Setup/Installer/hookfiles-i.yaml +10 -0
  136. data/doc/ri/Setup/Installer/inspect-i.yaml +10 -0
  137. data/doc/ri/Setup/Installer/install-i.yaml +10 -0
  138. data/doc/ri/Setup/Installer/install_dir_bin-i.yaml +10 -0
  139. data/doc/ri/Setup/Installer/install_dir_data-i.yaml +10 -0
  140. data/doc/ri/Setup/Installer/install_dir_doc-i.yaml +12 -0
  141. data/doc/ri/Setup/Installer/install_dir_etc-i.yaml +10 -0
  142. data/doc/ri/Setup/Installer/install_dir_ext-i.yaml +10 -0
  143. data/doc/ri/Setup/Installer/install_dir_lib-i.yaml +10 -0
  144. data/doc/ri/Setup/Installer/install_dir_man-i.yaml +10 -0
  145. data/doc/ri/Setup/Installer/install_files-i.yaml +10 -0
  146. data/doc/ri/Setup/Installer/installation%21-i.yaml +10 -0
  147. data/doc/ri/Setup/Installer/installation%3f-i.yaml +12 -0
  148. data/doc/ri/Setup/Installer/libfiles-i.yaml +10 -0
  149. data/doc/ri/Setup/Installer/make-i.yaml +10 -0
  150. data/doc/ri/Setup/Installer/mapdir-i.yaml +10 -0
  151. data/doc/ri/Setup/Installer/mkdir_p-i.yaml +10 -0
  152. data/doc/ri/Setup/Installer/move_file-i.yaml +10 -0
  153. data/doc/ri/Setup/Installer/new-c.yaml +12 -0
  154. data/doc/ri/Setup/Installer/new_shebang-i.yaml +10 -0
  155. data/doc/ri/Setup/Installer/no_harm%3f-i.yaml +10 -0
  156. data/doc/ri/Setup/Installer/noop-i.yaml +54 -0
  157. data/doc/ri/Setup/Installer/objdir_root-i.yaml +10 -0
  158. data/doc/ri/Setup/Installer/open_atomic_writer-i.yaml +10 -0
  159. data/doc/ri/Setup/Installer/quiet%3f-i.yaml +10 -0
  160. data/doc/ri/Setup/Installer/record_installation-i.yaml +10 -0
  161. data/doc/ri/Setup/Installer/relpath-i.yaml +10 -0
  162. data/doc/ri/Setup/Installer/remove_file-i.yaml +10 -0
  163. data/doc/ri/Setup/Installer/remove_tree-i.yaml +10 -0
  164. data/doc/ri/Setup/Installer/remove_tree0-i.yaml +10 -0
  165. data/doc/ri/Setup/Installer/report_header-i.yaml +11 -0
  166. data/doc/ri/Setup/Installer/rm_f-i.yaml +10 -0
  167. data/doc/ri/Setup/Installer/rm_rf-i.yaml +10 -0
  168. data/doc/ri/Setup/Installer/rmdir-i.yaml +10 -0
  169. data/doc/ri/Setup/Installer/ruby-i.yaml +10 -0
  170. data/doc/ri/Setup/Installer/rubyextentions-i.yaml +10 -0
  171. data/doc/ri/Setup/Installer/run_hook-i.yaml +10 -0
  172. data/doc/ri/Setup/Installer/set_config-i.yaml +12 -0
  173. data/doc/ri/Setup/Installer/setup_dir_bin-i.yaml +10 -0
  174. data/doc/ri/Setup/Installer/setup_dir_data-i.yaml +12 -0
  175. data/doc/ri/Setup/Installer/setup_dir_doc-i.yaml +12 -0
  176. data/doc/ri/Setup/Installer/setup_dir_etc-i.yaml +12 -0
  177. data/doc/ri/Setup/Installer/setup_dir_ext-i.yaml +10 -0
  178. data/doc/ri/Setup/Installer/setup_dir_lib-i.yaml +12 -0
  179. data/doc/ri/Setup/Installer/setup_dir_man-i.yaml +12 -0
  180. data/doc/ri/Setup/Installer/srcdir_root-i.yaml +12 -0
  181. data/doc/ri/Setup/Installer/srcdirectories-i.yaml +10 -0
  182. data/doc/ri/Setup/Installer/srcdirectory%3f-i.yaml +10 -0
  183. data/doc/ri/Setup/Installer/srcentries-i.yaml +10 -0
  184. data/doc/ri/Setup/Installer/srcexist%3f-i.yaml +10 -0
  185. data/doc/ri/Setup/Installer/srcfile%3f-i.yaml +10 -0
  186. data/doc/ri/Setup/Installer/srcfile-i.yaml +10 -0
  187. data/doc/ri/Setup/Installer/srcfiles-i.yaml +10 -0
  188. data/doc/ri/Setup/Installer/targetfiles-i.yaml +10 -0
  189. data/doc/ri/Setup/Installer/traverse-i.yaml +10 -0
  190. data/doc/ri/Setup/Installer/update_shebang_line-i.yaml +10 -0
  191. data/doc/ri/Setup/Installer/verbose%3f-i.yaml +10 -0
  192. data/doc/ri/Setup/Installer/verbose_off-i.yaml +10 -0
  193. data/doc/ri/Setup/cdesc-Setup.yaml +15 -0
  194. data/doc/ri/SetupError/cdesc-SetupError.yaml +15 -0
  195. data/doc/ri/created.rid +1 -0
  196. data/lib/setup.rb +5 -0
  197. data/lib/setup/build.rb +2 -0
  198. data/lib/setup/command.rb +169 -0
  199. data/lib/setup/config.rb +339 -0
  200. data/lib/setup/error.rb +1 -0
  201. data/lib/setup/install.rb +915 -0
  202. data/lib/setup/rake.rb +62 -0
  203. data/lib/setup/rubyver.rb +25 -0
  204. data/script/install +6 -0
  205. metadata +293 -0
@@ -0,0 +1,187 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+ <html>
6
+ <head>
7
+ <title>Class: Setup::Installer::Shebang</title>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
10
+
11
+ <script language="JavaScript" type="text/javascript">
12
+ // <![CDATA[
13
+
14
+ function toggleSource( id )
15
+ {
16
+ var elem
17
+ var link
18
+
19
+ if( document.getElementById )
20
+ {
21
+ elem = document.getElementById( id )
22
+ link = document.getElementById( "l_" + id )
23
+ }
24
+ else if ( document.all )
25
+ {
26
+ elem = eval( "document.all." + id )
27
+ link = eval( "document.all.l_" + id )
28
+ }
29
+ else
30
+ return false;
31
+
32
+ if( elem.style.display == "block" )
33
+ {
34
+ elem.style.display = "none"
35
+ link.innerHTML = "+"
36
+ }
37
+ else
38
+ {
39
+ elem.style.display = "block"
40
+ link.innerHTML = "-"
41
+ }
42
+ }
43
+
44
+ function openCode( url )
45
+ {
46
+ window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
47
+ }
48
+ // ]]>
49
+ </script>
50
+ </head>
51
+
52
+ <body>
53
+ <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
54
+ <td class="file-title"><span class="file-title-prefix">Class</span><br />Setup::Installer::Shebang</td>
55
+ <td align="right">
56
+ <table cellspacing="0" cellpadding="2">
57
+ <tr valign="top">
58
+ <td>In:</td>
59
+ <td>
60
+ <a href="../../../files/lib/setup/install_rb.html">lib/setup/install.rb</a>
61
+ </td>
62
+ </tr>
63
+ <tr>
64
+ <td>Parent:</td>
65
+ <td>
66
+ Object
67
+ </td>
68
+ </tr>
69
+ </table>
70
+ </td>
71
+ </tr>
72
+ </table>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+ <div id="content">
77
+
78
+
79
+
80
+
81
+ <div class="sectiontitle">Methods</div>
82
+ <span style="padding-right: 5px;"><a href="#M000133">load</a></span>
83
+ <span style="padding-right: 5px;"><a href="#M000135">new</a></span>
84
+ <span style="padding-right: 5px;"><a href="#M000134">parse</a></span>
85
+ <span style="padding-right: 5px;"><a href="#M000136">to_s</a></span>
86
+
87
+
88
+
89
+
90
+
91
+ <div class="sectiontitle">Attributes</div>
92
+ <table border='0' cellpadding='5'>
93
+ <tr valign='top'>
94
+ <td class='attr-rw'>
95
+ [R]
96
+ </td>
97
+ <td class='attr-name'>args</td>
98
+ <td class='attr-desc'></td>
99
+ </tr>
100
+ <tr valign='top'>
101
+ <td class='attr-rw'>
102
+ [R]
103
+ </td>
104
+ <td class='attr-name'>cmd</td>
105
+ <td class='attr-desc'></td>
106
+ </tr>
107
+ </table>
108
+
109
+ <div class="sectiontitle">Public Class methods</div>
110
+ <div class="method">
111
+ <div class="title">
112
+ <a name="M000133"></a><b>load</b>(path)
113
+ </div>
114
+ <div class="sourcecode">
115
+ <p class="source-link">[ <a href="javascript:toggleSource('M000133_source')" id="l_M000133_source">+</a> ]</p>
116
+ <div id="M000133_source" class="dyn-source">
117
+ <pre>
118
+ <span class="ruby-comment cmt"># File lib/setup/install.rb, line 244</span>
119
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Shebang</span>.<span class="ruby-identifier">load</span>(<span class="ruby-identifier">path</span>)
120
+ <span class="ruby-identifier">line</span> = <span class="ruby-keyword kw">nil</span>
121
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">path</span>) {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
122
+ <span class="ruby-identifier">line</span> = <span class="ruby-identifier">f</span>.<span class="ruby-identifier">gets</span>
123
+ }
124
+ <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-regexp re">/\A#!/</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">line</span>
125
+ <span class="ruby-identifier">parse</span>(<span class="ruby-identifier">line</span>)
126
+ <span class="ruby-keyword kw">end</span>
127
+ </pre>
128
+ </div>
129
+ </div>
130
+ </div>
131
+ <div class="method">
132
+ <div class="title">
133
+ <a name="M000135"></a><b>new</b>(cmd, args = [])
134
+ </div>
135
+ <div class="sourcecode">
136
+ <p class="source-link">[ <a href="javascript:toggleSource('M000135_source')" id="l_M000135_source">+</a> ]</p>
137
+ <div id="M000135_source" class="dyn-source">
138
+ <pre>
139
+ <span class="ruby-comment cmt"># File lib/setup/install.rb, line 258</span>
140
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">cmd</span>, <span class="ruby-identifier">args</span> = [])
141
+ <span class="ruby-ivar">@cmd</span> = <span class="ruby-identifier">cmd</span>
142
+ <span class="ruby-ivar">@args</span> = <span class="ruby-identifier">args</span>
143
+ <span class="ruby-keyword kw">end</span>
144
+ </pre>
145
+ </div>
146
+ </div>
147
+ </div>
148
+ <div class="method">
149
+ <div class="title">
150
+ <a name="M000134"></a><b>parse</b>(line)
151
+ </div>
152
+ <div class="sourcecode">
153
+ <p class="source-link">[ <a href="javascript:toggleSource('M000134_source')" id="l_M000134_source">+</a> ]</p>
154
+ <div id="M000134_source" class="dyn-source">
155
+ <pre>
156
+ <span class="ruby-comment cmt"># File lib/setup/install.rb, line 253</span>
157
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Shebang</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">line</span>)
158
+ <span class="ruby-identifier">cmd</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> = <span class="ruby-operator">*</span><span class="ruby-identifier">line</span>.<span class="ruby-identifier">strip</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">/\A\#!/</span>, <span class="ruby-value str">''</span>).<span class="ruby-identifier">split</span>(<span class="ruby-value str">' '</span>)
159
+ <span class="ruby-identifier">new</span>(<span class="ruby-identifier">cmd</span>, <span class="ruby-identifier">args</span>)
160
+ <span class="ruby-keyword kw">end</span>
161
+ </pre>
162
+ </div>
163
+ </div>
164
+ </div>
165
+ <div class="sectiontitle">Public Instance methods</div>
166
+ <div class="method">
167
+ <div class="title">
168
+ <a name="M000136"></a><b>to_s</b>()
169
+ </div>
170
+ <div class="sourcecode">
171
+ <p class="source-link">[ <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">+</a> ]</p>
172
+ <div id="M000136_source" class="dyn-source">
173
+ <pre>
174
+ <span class="ruby-comment cmt"># File lib/setup/install.rb, line 266</span>
175
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
176
+ <span class="ruby-node">&quot;#! #{@cmd}&quot;</span> <span class="ruby-operator">+</span> (<span class="ruby-ivar">@args</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-value str">''</span> <span class="ruby-operator">:</span> <span class="ruby-node">&quot; #{@args.join(' ')}&quot;</span>)
177
+ <span class="ruby-keyword kw">end</span>
178
+ </pre>
179
+ </div>
180
+ </div>
181
+ </div>
182
+ </div>
183
+
184
+ </div>
185
+
186
+ </body>
187
+ </html>
@@ -0,0 +1,92 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+ <html>
6
+ <head>
7
+ <title>Class: SetupError</title>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
10
+
11
+ <script language="JavaScript" type="text/javascript">
12
+ // <![CDATA[
13
+
14
+ function toggleSource( id )
15
+ {
16
+ var elem
17
+ var link
18
+
19
+ if( document.getElementById )
20
+ {
21
+ elem = document.getElementById( id )
22
+ link = document.getElementById( "l_" + id )
23
+ }
24
+ else if ( document.all )
25
+ {
26
+ elem = eval( "document.all." + id )
27
+ link = eval( "document.all.l_" + id )
28
+ }
29
+ else
30
+ return false;
31
+
32
+ if( elem.style.display == "block" )
33
+ {
34
+ elem.style.display = "none"
35
+ link.innerHTML = "+"
36
+ }
37
+ else
38
+ {
39
+ elem.style.display = "block"
40
+ link.innerHTML = "-"
41
+ }
42
+ }
43
+
44
+ function openCode( url )
45
+ {
46
+ window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
47
+ }
48
+ // ]]>
49
+ </script>
50
+ </head>
51
+
52
+ <body>
53
+ <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
54
+ <td class="file-title"><span class="file-title-prefix">Class</span><br />SetupError</td>
55
+ <td align="right">
56
+ <table cellspacing="0" cellpadding="2">
57
+ <tr valign="top">
58
+ <td>In:</td>
59
+ <td>
60
+ <a href="../files/lib/setup/error_rb.html">lib/setup/error.rb</a>
61
+ </td>
62
+ </tr>
63
+ <tr>
64
+ <td>Parent:</td>
65
+ <td>
66
+ StandardError
67
+ </td>
68
+ </tr>
69
+ </table>
70
+ </td>
71
+ </tr>
72
+ </table>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+ <div id="content">
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+ </div>
88
+
89
+ </div>
90
+
91
+ </body>
92
+ </html>
@@ -0,0 +1 @@
1
+ Sat, 16 Aug 2008 17:37:09 -0400
@@ -0,0 +1,759 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+ <html>
6
+ <head>
7
+ <title>File: COPYING</title>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
10
+
11
+ <script language="JavaScript" type="text/javascript">
12
+ // <![CDATA[
13
+
14
+ function toggleSource( id )
15
+ {
16
+ var elem
17
+ var link
18
+
19
+ if( document.getElementById )
20
+ {
21
+ elem = document.getElementById( id )
22
+ link = document.getElementById( "l_" + id )
23
+ }
24
+ else if ( document.all )
25
+ {
26
+ elem = eval( "document.all." + id )
27
+ link = eval( "document.all.l_" + id )
28
+ }
29
+ else
30
+ return false;
31
+
32
+ if( elem.style.display == "block" )
33
+ {
34
+ elem.style.display = "none"
35
+ link.innerHTML = "+"
36
+ }
37
+ else
38
+ {
39
+ elem.style.display = "block"
40
+ link.innerHTML = "-"
41
+ }
42
+ }
43
+
44
+ function openCode( url )
45
+ {
46
+ window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
47
+ }
48
+ // ]]>
49
+ </script>
50
+ </head>
51
+
52
+ <body>
53
+ <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'>
54
+ <tr><td>
55
+ <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr>
56
+ <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />COPYING</td>
57
+ <td align="right">
58
+ <table border='0' cellspacing="0" cellpadding="2">
59
+ <tr>
60
+ <td>Path:</td>
61
+ <td>COPYING
62
+ </td>
63
+ </tr>
64
+ <tr>
65
+ <td>Modified:</td>
66
+ <td>Fri Aug 15 11:24:59 -0400 2008</td>
67
+ </tr>
68
+ </table>
69
+ </td></tr>
70
+ </table>
71
+ </td></tr>
72
+ </table><br />
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+ <div id="content">
77
+
78
+ <div class="description"><pre>
79
+ GNU LESSER GENERAL PUBLIC LICENSE
80
+ Version 2.1, February 1999
81
+
82
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
83
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
84
+ Everyone is permitted to copy and distribute verbatim copies
85
+ of this license document, but changing it is not allowed.
86
+ </pre>
87
+ <p>
88
+ [This is the first released version of the Lesser GPL. It also counts
89
+ </p>
90
+ <pre>
91
+ as the successor of the GNU Library Public License, version 2, hence
92
+ the version number 2.1.]
93
+
94
+ Preamble
95
+
96
+ The licenses for most software are designed to take away your
97
+ </pre>
98
+ <p>
99
+ freedom to share and change it. By contrast, the GNU General Public
100
+ Licenses are intended to guarantee your freedom to share and change free
101
+ software&#8212;to make sure the software is free for all its users.
102
+ </p>
103
+ <pre>
104
+ This license, the Lesser General Public License, applies to some
105
+ </pre>
106
+ <p>
107
+ specially designated software packages&#8212;typically libraries&#8212;of
108
+ the Free Software Foundation and other authors who decide to use it. You
109
+ can use it too, but we suggest you first think carefully about whether this
110
+ license or the ordinary General Public License is the better strategy to
111
+ use in any particular case, based on the explanations below.
112
+ </p>
113
+ <pre>
114
+ When we speak of free software, we are referring to freedom of use,
115
+ </pre>
116
+ <p>
117
+ not price. Our General Public Licenses are designed to make sure that you
118
+ have the freedom to distribute copies of free software (and charge for this
119
+ service if you wish); that you receive source code or can get it if you
120
+ want it; that you can change the software and use pieces of it in new free
121
+ programs; and that you are informed that you can do these things.
122
+ </p>
123
+ <pre>
124
+ To protect your rights, we need to make restrictions that forbid
125
+ </pre>
126
+ <p>
127
+ distributors to deny you these rights or to ask you to surrender these
128
+ rights. These restrictions translate to certain responsibilities for you if
129
+ you distribute copies of the library or if you modify it.
130
+ </p>
131
+ <pre>
132
+ For example, if you distribute copies of the library, whether gratis
133
+ </pre>
134
+ <p>
135
+ or for a fee, you must give the recipients all the rights that we gave you.
136
+ You must make sure that they, too, receive or can get the source code. If
137
+ you link other code with the library, you must provide complete object
138
+ files to the recipients, so that they can relink them with the library
139
+ after making changes to the library and recompiling it. And you must show
140
+ them these terms so they know their rights.
141
+ </p>
142
+ <pre>
143
+ We protect your rights with a two-step method: (1) we copyright the
144
+ </pre>
145
+ <p>
146
+ library, and (2) we offer you this license, which gives you legal
147
+ permission to copy, distribute and/or modify the library.
148
+ </p>
149
+ <pre>
150
+ To protect each distributor, we want to make it very clear that
151
+ </pre>
152
+ <p>
153
+ there is no warranty for the free library. Also, if the library is modified
154
+ by someone else and passed on, the recipients should know that what they
155
+ have is not the original version, so that the original author&#8216;s
156
+ reputation will not be affected by problems that might be introduced by
157
+ others. ^L
158
+ </p>
159
+ <pre>
160
+ Finally, software patents pose a constant threat to the existence of
161
+ </pre>
162
+ <p>
163
+ any free program. We wish to make sure that a company cannot effectively
164
+ restrict the users of a free program by obtaining a restrictive license
165
+ from a patent holder. Therefore, we insist that any patent license obtained
166
+ for a version of the library must be consistent with the full freedom of
167
+ use specified in this license.
168
+ </p>
169
+ <pre>
170
+ Most GNU software, including some libraries, is covered by the
171
+ </pre>
172
+ <p>
173
+ ordinary GNU General Public License. This license, the GNU Lesser General
174
+ Public License, applies to certain designated libraries, and is quite
175
+ different from the ordinary General Public License. We use this license for
176
+ certain libraries in order to permit linking those libraries into non-free
177
+ programs.
178
+ </p>
179
+ <pre>
180
+ When a program is linked with a library, whether statically or using
181
+ </pre>
182
+ <p>
183
+ a shared library, the combination of the two is legally speaking a combined
184
+ work, a derivative of the original library. The ordinary General Public
185
+ License therefore permits such linking only if the entire combination fits
186
+ its criteria of freedom. The Lesser General Public License permits more lax
187
+ criteria for linking other code with the library.
188
+ </p>
189
+ <pre>
190
+ We call this license the &quot;Lesser&quot; General Public License because it
191
+ </pre>
192
+ <p>
193
+ does Less to protect the user&#8216;s freedom than the ordinary General
194
+ Public License. It also provides other free software developers Less of an
195
+ advantage over competing non-free programs. These disadvantages are the
196
+ reason we use the ordinary General Public License for many libraries.
197
+ However, the Lesser license provides advantages in certain special
198
+ circumstances.
199
+ </p>
200
+ <pre>
201
+ For example, on rare occasions, there may be a special need to
202
+ </pre>
203
+ <p>
204
+ encourage the widest possible use of a certain library, so that it becomes
205
+ a de-facto standard. To achieve this, non-free programs must be allowed to
206
+ use the library. A more frequent case is that a free library does the same
207
+ job as widely used non-free libraries. In this case, there is little to
208
+ gain by limiting the free library to free software only, so we use the
209
+ Lesser General Public License.
210
+ </p>
211
+ <pre>
212
+ In other cases, permission to use a particular library in non-free
213
+ </pre>
214
+ <p>
215
+ programs enables a greater number of people to use a large body of free
216
+ software. For example, permission to use the GNU C Library in non-free
217
+ programs enables many more people to use the whole GNU operating system, as
218
+ well as its variant, the GNU/Linux operating system.
219
+ </p>
220
+ <pre>
221
+ Although the Lesser General Public License is Less protective of the
222
+ </pre>
223
+ <p>
224
+ users&#8217; freedom, it does ensure that the user of a program that is
225
+ linked with the Library has the freedom and the wherewithal to run that
226
+ program using a modified version of the Library.
227
+ </p>
228
+ <pre>
229
+ The precise terms and conditions for copying, distribution and
230
+ </pre>
231
+ <p>
232
+ modification follow. Pay close attention to the difference between a
233
+ &quot;work based on the library&quot; and a &quot;work that uses the
234
+ library&quot;. The former contains code derived from the library, whereas
235
+ the latter must be combined with the library in order to run. ^L
236
+ </p>
237
+ <pre>
238
+ GNU LESSER GENERAL PUBLIC LICENSE
239
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
240
+
241
+ 0. This License Agreement applies to any software library or other
242
+ </pre>
243
+ <p>
244
+ program which contains a notice placed by the copyright holder or other
245
+ authorized party saying it may be distributed under the terms of this
246
+ Lesser General Public License (also called &quot;this License&quot;). Each
247
+ licensee is addressed as &quot;you&quot;.
248
+ </p>
249
+ <pre>
250
+ A &quot;library&quot; means a collection of software functions and/or data
251
+ </pre>
252
+ <p>
253
+ prepared so as to be conveniently linked with application programs (which
254
+ use some of those functions and data) to form executables.
255
+ </p>
256
+ <pre>
257
+ The &quot;Library&quot;, below, refers to any such software library or work
258
+ </pre>
259
+ <p>
260
+ which has been distributed under these terms. A &quot;work based on the
261
+ Library&quot; means either the Library or any derivative work under
262
+ copyright law: that is to say, a work containing the Library or a portion
263
+ of it, either verbatim or with modifications and/or translated
264
+ straightforwardly into another language. (Hereinafter, translation is
265
+ included without limitation in the term &quot;modification&quot;.)
266
+ </p>
267
+ <pre>
268
+ &quot;Source code&quot; for a work means the preferred form of the work for
269
+ </pre>
270
+ <p>
271
+ making modifications to it. For a library, complete source code means all
272
+ the source code for all modules it contains, plus any associated interface
273
+ definition files, plus the scripts used to control compilation and
274
+ installation of the library.
275
+ </p>
276
+ <pre>
277
+ Activities other than copying, distribution and modification are not
278
+ </pre>
279
+ <p>
280
+ covered by this License; they are outside its scope. The act of running a
281
+ program using the Library is not restricted, and output from such a program
282
+ is covered only if its contents constitute a work based on the Library
283
+ (independent of the use of the Library in a tool for writing it). Whether
284
+ that is true depends on what the Library does and what the program that
285
+ uses the Library does.
286
+ </p>
287
+ <pre>
288
+ 1. You may copy and distribute verbatim copies of the Library's
289
+ </pre>
290
+ <p>
291
+ complete source code as you receive it, in any medium, provided that you
292
+ conspicuously and appropriately publish on each copy an appropriate
293
+ copyright notice and disclaimer of warranty; keep intact all the notices
294
+ that refer to this License and to the absence of any warranty; and
295
+ distribute a copy of this License along with the Library.
296
+ </p>
297
+ <pre>
298
+ You may charge a fee for the physical act of transferring a copy,
299
+ </pre>
300
+ <p>
301
+ and you may at your option offer warranty protection in exchange for a fee.
302
+ </p>
303
+ <pre>
304
+ 2. You may modify your copy or copies of the Library or any portion
305
+ </pre>
306
+ <p>
307
+ of it, thus forming a work based on the Library, and copy and distribute
308
+ such modifications or work under the terms of Section 1 above, provided
309
+ that you also meet all of these conditions:
310
+ </p>
311
+ <pre>
312
+ a) The modified work must itself be a software library.
313
+
314
+ b) You must cause the files modified to carry prominent notices
315
+ stating that you changed the files and the date of any change.
316
+
317
+ c) You must cause the whole of the work to be licensed at no
318
+ charge to all third parties under the terms of this License.
319
+
320
+ d) If a facility in the modified Library refers to a function or a
321
+ table of data to be supplied by an application program that uses
322
+ the facility, other than as an argument passed when the facility
323
+ is invoked, then you must make a good faith effort to ensure that,
324
+ in the event an application does not supply such function or
325
+ table, the facility still operates, and performs whatever part of
326
+ its purpose remains meaningful.
327
+
328
+ (For example, a function in a library to compute square roots has
329
+ a purpose that is entirely well-defined independent of the
330
+ application. Therefore, Subsection 2d requires that any
331
+ application-supplied function or table used by this function must
332
+ be optional: if the application does not supply it, the square
333
+ root function must still compute square roots.)
334
+ </pre>
335
+ <p>
336
+ These requirements apply to the modified work as a whole. If identifiable
337
+ sections of that work are not derived from the Library, and can be
338
+ reasonably considered independent and separate works in themselves, then
339
+ this License, and its terms, do not apply to those sections when you
340
+ distribute them as separate works. But when you distribute the same
341
+ sections as part of a whole which is a work based on the Library, the
342
+ distribution of the whole must be on the terms of this License, whose
343
+ permissions for other licensees extend to the entire whole, and thus to
344
+ each and every part regardless of who wrote it.
345
+ </p>
346
+ <p>
347
+ Thus, it is not the intent of this section to claim rights or contest your
348
+ rights to work written entirely by you; rather, the intent is to exercise
349
+ the right to control the distribution of derivative or collective works
350
+ based on the Library.
351
+ </p>
352
+ <p>
353
+ In addition, mere aggregation of another work not based on the Library with
354
+ the Library (or with a work based on the Library) on a volume of a storage
355
+ or distribution medium does not bring the other work under the scope of
356
+ this License.
357
+ </p>
358
+ <pre>
359
+ 3. You may opt to apply the terms of the ordinary GNU General Public
360
+ </pre>
361
+ <p>
362
+ License instead of this License to a given copy of the Library. To do this,
363
+ you must alter all the notices that refer to this License, so that they
364
+ refer to the ordinary GNU General Public License, version 2, instead of to
365
+ this License. (If a newer version than version 2 of the ordinary GNU
366
+ General Public License has appeared, then you can specify that version
367
+ instead if you wish.) Do not make any other change in these notices. ^L
368
+ </p>
369
+ <pre>
370
+ Once this change is made in a given copy, it is irreversible for
371
+ </pre>
372
+ <p>
373
+ that copy, so the ordinary GNU General Public License applies to all
374
+ subsequent copies and derivative works made from that copy.
375
+ </p>
376
+ <pre>
377
+ This option is useful when you wish to copy part of the code of
378
+ </pre>
379
+ <p>
380
+ the Library into a program that is not a library.
381
+ </p>
382
+ <pre>
383
+ 4. You may copy and distribute the Library (or a portion or
384
+ </pre>
385
+ <p>
386
+ derivative of it, under Section 2) in object code or executable form under
387
+ the terms of Sections 1 and 2 above provided that you accompany it with the
388
+ complete corresponding machine-readable source code, which must be
389
+ distributed under the terms of Sections 1 and 2 above on a medium
390
+ customarily used for software interchange.
391
+ </p>
392
+ <pre>
393
+ If distribution of object code is made by offering access to copy
394
+ </pre>
395
+ <p>
396
+ from a designated place, then offering equivalent access to copy the source
397
+ code from the same place satisfies the requirement to distribute the source
398
+ code, even though third parties are not compelled to copy the source along
399
+ with the object code.
400
+ </p>
401
+ <pre>
402
+ 5. A program that contains no derivative of any portion of the
403
+ </pre>
404
+ <p>
405
+ Library, but is designed to work with the Library by being compiled or
406
+ linked with it, is called a &quot;work that uses the Library&quot;. Such a
407
+ work, in isolation, is not a derivative work of the Library, and therefore
408
+ falls outside the scope of this License.
409
+ </p>
410
+ <pre>
411
+ However, linking a &quot;work that uses the Library&quot; with the Library
412
+ </pre>
413
+ <p>
414
+ creates an executable that is a derivative of the Library (because it
415
+ contains portions of the Library), rather than a &quot;work that uses the
416
+ library&quot;. The executable is therefore covered by this License. Section
417
+ 6 states terms for distribution of such executables.
418
+ </p>
419
+ <pre>
420
+ When a &quot;work that uses the Library&quot; uses material from a header file
421
+ </pre>
422
+ <p>
423
+ that is part of the Library, the object code for the work may be a
424
+ derivative work of the Library even though the source code is not. Whether
425
+ this is true is especially significant if the work can be linked without
426
+ the Library, or if the work is itself a library. The threshold for this to
427
+ be true is not precisely defined by law.
428
+ </p>
429
+ <pre>
430
+ If such an object file uses only numerical parameters, data
431
+ </pre>
432
+ <p>
433
+ structure layouts and accessors, and small macros and small inline
434
+ functions (ten lines or less in length), then the use of the object file is
435
+ unrestricted, regardless of whether it is legally a derivative work.
436
+ (Executables containing this object code plus portions of the Library will
437
+ still fall under Section 6.)
438
+ </p>
439
+ <pre>
440
+ Otherwise, if the work is a derivative of the Library, you may
441
+ </pre>
442
+ <p>
443
+ distribute the object code for the work under the terms of Section 6. Any
444
+ executables containing that work also fall under Section 6, whether or not
445
+ they are linked directly with the Library itself. ^L
446
+ </p>
447
+ <pre>
448
+ 6. As an exception to the Sections above, you may also combine or
449
+ </pre>
450
+ <p>
451
+ link a &quot;work that uses the Library&quot; with the Library to produce a
452
+ work containing portions of the Library, and distribute that work under
453
+ terms of your choice, provided that the terms permit modification of the
454
+ work for the customer&#8216;s own use and reverse engineering for debugging
455
+ such modifications.
456
+ </p>
457
+ <pre>
458
+ You must give prominent notice with each copy of the work that the
459
+ </pre>
460
+ <p>
461
+ Library is used in it and that the Library and its use are covered by this
462
+ License. You must supply a copy of this License. If the work during
463
+ execution displays copyright notices, you must include the copyright notice
464
+ for the Library among them, as well as a reference directing the user to
465
+ the copy of this License. Also, you must do one of these things:
466
+ </p>
467
+ <pre>
468
+ a) Accompany the work with the complete corresponding
469
+ machine-readable source code for the Library including whatever
470
+ changes were used in the work (which must be distributed under
471
+ Sections 1 and 2 above); and, if the work is an executable linked
472
+ with the Library, with the complete machine-readable &quot;work that
473
+ uses the Library&quot;, as object code and/or source code, so that the
474
+ user can modify the Library and then relink to produce a modified
475
+ executable containing the modified Library. (It is understood
476
+ that the user who changes the contents of definitions files in the
477
+ Library will not necessarily be able to recompile the application
478
+ to use the modified definitions.)
479
+
480
+ b) Use a suitable shared library mechanism for linking with the
481
+ Library. A suitable mechanism is one that (1) uses at run time a
482
+ copy of the library already present on the user's computer system,
483
+ rather than copying library functions into the executable, and (2)
484
+ will operate properly with a modified version of the library, if
485
+ the user installs one, as long as the modified version is
486
+ interface-compatible with the version that the work was made with.
487
+
488
+ c) Accompany the work with a written offer, valid for at
489
+ least three years, to give the same user the materials
490
+ specified in Subsection 6a, above, for a charge no more
491
+ than the cost of performing this distribution.
492
+
493
+ d) If distribution of the work is made by offering access to copy
494
+ from a designated place, offer equivalent access to copy the above
495
+ specified materials from the same place.
496
+
497
+ e) Verify that the user has already received a copy of these
498
+ materials or that you have already sent this user a copy.
499
+
500
+ For an executable, the required form of the &quot;work that uses the
501
+ </pre>
502
+ <p>
503
+ Library&quot; must include any data and utility programs needed for
504
+ reproducing the executable from it. However, as a special exception, the
505
+ materials to be distributed need not include anything that is normally
506
+ distributed (in either source or binary form) with the major components
507
+ (compiler, kernel, and so on) of the operating system on which the
508
+ executable runs, unless that component itself accompanies the executable.
509
+ </p>
510
+ <pre>
511
+ It may happen that this requirement contradicts the license
512
+ </pre>
513
+ <p>
514
+ restrictions of other proprietary libraries that do not normally accompany
515
+ the operating system. Such a contradiction means you cannot use both them
516
+ and the Library together in an executable that you distribute. ^L
517
+ </p>
518
+ <pre>
519
+ 7. You may place library facilities that are a work based on the
520
+ </pre>
521
+ <p>
522
+ Library side-by-side in a single library together with other library
523
+ facilities not covered by this License, and distribute such a combined
524
+ library, provided that the separate distribution of the work based on the
525
+ Library and of the other library facilities is otherwise permitted, and
526
+ provided that you do these two things:
527
+ </p>
528
+ <pre>
529
+ a) Accompany the combined library with a copy of the same work
530
+ based on the Library, uncombined with any other library
531
+ facilities. This must be distributed under the terms of the
532
+ Sections above.
533
+
534
+ b) Give prominent notice with the combined library of the fact
535
+ that part of it is a work based on the Library, and explaining
536
+ where to find the accompanying uncombined form of the same work.
537
+
538
+ 8. You may not copy, modify, sublicense, link with, or distribute
539
+ </pre>
540
+ <p>
541
+ the Library except as expressly provided under this License. Any attempt
542
+ otherwise to copy, modify, sublicense, link with, or distribute the Library
543
+ is void, and will automatically terminate your rights under this License.
544
+ However, parties who have received copies, or rights, from you under this
545
+ License will not have their licenses terminated so long as such parties
546
+ remain in full compliance.
547
+ </p>
548
+ <pre>
549
+ 9. You are not required to accept this License, since you have not
550
+ </pre>
551
+ <p>
552
+ signed it. However, nothing else grants you permission to modify or
553
+ distribute the Library or its derivative works. These actions are
554
+ prohibited by law if you do not accept this License. Therefore, by
555
+ modifying or distributing the Library (or any work based on the Library),
556
+ you indicate your acceptance of this License to do so, and all its terms
557
+ and conditions for copying, distributing or modifying the Library or works
558
+ based on it.
559
+ </p>
560
+ <pre>
561
+ 10. Each time you redistribute the Library (or any work based on the
562
+ </pre>
563
+ <p>
564
+ Library), the recipient automatically receives a license from the original
565
+ licensor to copy, distribute, link with or modify the Library subject to
566
+ these terms and conditions. You may not impose any further restrictions on
567
+ the recipients&#8217; exercise of the rights granted herein. You are not
568
+ responsible for enforcing compliance by third parties with this License. ^L
569
+ </p>
570
+ <pre>
571
+ 11. If, as a consequence of a court judgment or allegation of patent
572
+ </pre>
573
+ <p>
574
+ infringement or for any other reason (not limited to patent issues),
575
+ conditions are imposed on you (whether by court order, agreement or
576
+ otherwise) that contradict the conditions of this License, they do not
577
+ excuse you from the conditions of this License. If you cannot distribute so
578
+ as to satisfy simultaneously your obligations under this License and any
579
+ other pertinent obligations, then as a consequence you may not distribute
580
+ the Library at all. For example, if a patent license would not permit
581
+ royalty-free redistribution of the Library by all those who receive copies
582
+ directly or indirectly through you, then the only way you could satisfy
583
+ both it and this License would be to refrain entirely from distribution of
584
+ the Library.
585
+ </p>
586
+ <p>
587
+ If any portion of this section is held invalid or unenforceable under any
588
+ particular circumstance, the balance of the section is intended to apply,
589
+ and the section as a whole is intended to apply in other circumstances.
590
+ </p>
591
+ <p>
592
+ It is not the purpose of this section to induce you to infringe any patents
593
+ or other property right claims or to contest validity of any such claims;
594
+ this section has the sole purpose of protecting the integrity of the free
595
+ software distribution system which is implemented by public license
596
+ practices. Many people have made generous contributions to the wide range
597
+ of software distributed through that system in reliance on consistent
598
+ application of that system; it is up to the author/donor to decide if he or
599
+ she is willing to distribute software through any other system and a
600
+ licensee cannot impose that choice.
601
+ </p>
602
+ <p>
603
+ This section is intended to make thoroughly clear what is believed to be a
604
+ consequence of the rest of this License.
605
+ </p>
606
+ <pre>
607
+ 12. If the distribution and/or use of the Library is restricted in
608
+ </pre>
609
+ <p>
610
+ certain countries either by patents or by copyrighted interfaces, the
611
+ original copyright holder who places the Library under this License may add
612
+ an explicit geographical distribution limitation excluding those countries,
613
+ so that distribution is permitted only in or among countries not thus
614
+ excluded. In such case, this License incorporates the limitation as if
615
+ written in the body of this License.
616
+ </p>
617
+ <pre>
618
+ 13. The Free Software Foundation may publish revised and/or new
619
+ </pre>
620
+ <p>
621
+ versions of the Lesser General Public License from time to time. Such new
622
+ versions will be similar in spirit to the present version, but may differ
623
+ in detail to address new problems or concerns.
624
+ </p>
625
+ <p>
626
+ Each version is given a distinguishing version number. If the Library
627
+ specifies a version number of this License which applies to it and
628
+ &quot;any later version&quot;, you have the option of following the terms
629
+ and conditions either of that version or of any later version published by
630
+ the Free Software Foundation. If the Library does not specify a license
631
+ version number, you may choose any version ever published by the Free
632
+ Software Foundation. ^L
633
+ </p>
634
+ <pre>
635
+ 14. If you wish to incorporate parts of the Library into other free
636
+ </pre>
637
+ <p>
638
+ programs whose distribution conditions are incompatible with these, write
639
+ to the author to ask for permission. For software which is copyrighted by
640
+ the Free Software Foundation, write to the Free Software Foundation; we
641
+ sometimes make exceptions for this. Our decision will be guided by the two
642
+ goals of preserving the free status of all derivatives of our free software
643
+ and of promoting the sharing and reuse of software generally.
644
+ </p>
645
+ <pre>
646
+ NO WARRANTY
647
+
648
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
649
+ </pre>
650
+ <p>
651
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
652
+ WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
653
+ PROVIDE THE LIBRARY &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND, EITHER
654
+ EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
655
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
656
+ TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE
657
+ LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
658
+ REPAIR OR CORRECTION.
659
+ </p>
660
+ <pre>
661
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
662
+ </pre>
663
+ <p>
664
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
665
+ REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
666
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
667
+ OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED
668
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
669
+ YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER
670
+ SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
671
+ POSSIBILITY OF SUCH DAMAGES.
672
+ </p>
673
+ <pre>
674
+ END OF TERMS AND CONDITIONS
675
+ </pre>
676
+ <p>
677
+ ^L
678
+ </p>
679
+ <pre>
680
+ How to Apply These Terms to Your New Libraries
681
+
682
+ If you develop a new library, and you want it to be of the greatest
683
+ </pre>
684
+ <p>
685
+ possible use to the public, we recommend making it free software that
686
+ everyone can redistribute and change. You can do so by permitting
687
+ redistribution under these terms (or, alternatively, under the terms of the
688
+ ordinary General Public License).
689
+ </p>
690
+ <pre>
691
+ To apply these terms, attach the following notices to the library.
692
+ </pre>
693
+ <p>
694
+ It is safest to attach them to the start of each source file to most
695
+ effectively convey the exclusion of warranty; and each file should have at
696
+ least the &quot;copyright&quot; line and a pointer to where the full notice
697
+ is found.
698
+ </p>
699
+ <pre>
700
+ &lt;one line to give the library's name and a brief idea of what it
701
+ </pre>
702
+ <p>
703
+ does.&gt;
704
+ </p>
705
+ <pre>
706
+ Copyright (C) &lt;year&gt; &lt;name of author&gt;
707
+
708
+ This library is free software; you can redistribute it and/or
709
+ modify it under the terms of the GNU Lesser General Public
710
+ License as published by the Free Software Foundation; either
711
+ version 2 of the License, or (at your option) any later version.
712
+
713
+ This library is distributed in the hope that it will be useful,
714
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
715
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
716
+ Lesser General Public License for more details.
717
+
718
+ You should have received a copy of the GNU Lesser General Public
719
+ License along with this library; if not, write to the Free Software
720
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
721
+ </pre>
722
+ <p>
723
+ Also add information on how to contact you by electronic and paper mail.
724
+ </p>
725
+ <p>
726
+ You should also get your employer (if you work as a programmer) or your
727
+ school, if any, to sign a &quot;copyright disclaimer&quot; for the library,
728
+ if necessary. Here is a sample; alter the names:
729
+ </p>
730
+ <pre>
731
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
732
+ library `Frob' (a library for tweaking knobs) written by James
733
+ </pre>
734
+ <p>
735
+ Random Hacker.
736
+ </p>
737
+ <pre>
738
+ &lt;signature of Ty Coon&gt;, 1 April 1990
739
+ Ty Coon, President of Vice
740
+ </pre>
741
+ <p>
742
+ That&#8216;s all there is to it!
743
+ </p>
744
+ </div>
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+ </div>
755
+
756
+ </div>
757
+
758
+ </body>
759
+ </html>