browsercms 3.3.0.beta → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +5 -0
- data/README.markdown +11 -11
- data/app/helpers/cms/page_helper.rb +1 -1
- data/app/models/page_route.rb +9 -0
- data/app/models/portlet.rb +2 -2
- data/app/models/section.rb +1 -1
- data/app/views/cms/form_builder/_cms_text_area.html.erb +2 -5
- data/app/views/cms/form_builder/_cms_text_editor.html.erb +1 -0
- data/app/views/cms/pages/_form.html.erb +2 -10
- data/bin/bcms +114 -3
- data/bin/browsercms +3 -72
- data/browsercms.gemspec +4 -2
- data/lib/cms/behaviors/soft_deleting.rb +4 -5
- data/lib/cms/extensions/active_record/base.rb +22 -1
- data/lib/cms/routes.rb +2 -5
- data/lib/cms/version.rb +1 -1
- data/lib/generators/browser_cms/cms/cms_generator.rb +1 -0
- data/lib/generators/browser_cms/demo_site/demo_site_generator.rb +1 -1
- data/lib/generators/browser_cms/demo_site/templates/demo_site.rake +3 -0
- data/lib/generators/cms/upgrade_module/templates/COPYRIGHT.txt +23 -0
- data/{templates/module.rb → lib/generators/cms/upgrade_module/templates/GPL.txt} +2 -223
- data/lib/generators/cms/upgrade_module/templates/LICENSE.txt +165 -0
- data/lib/tasks/db.rake +3 -0
- data/public/stylesheets/cms/sitemap.css +5 -5
- metadata +8 -74
- data/doc/guides/html/authentication.html +0 -457
- data/doc/guides/html/build_it_yourself.html +0 -457
- data/doc/guides/html/building_modules.html +0 -480
- data/doc/guides/html/building_templates.html +0 -457
- data/doc/guides/html/content_blocks.html +0 -457
- data/doc/guides/html/customizing_browsercms.html +0 -457
- data/doc/guides/html/deployment_guide.html +0 -568
- data/doc/guides/html/files/bcmsorg.js +0 -28
- data/doc/guides/html/files/clearfix.css +0 -8
- data/doc/guides/html/files/cufon.js +0 -7
- data/doc/guides/html/files/global.css +0 -190
- data/doc/guides/html/files/helvetica.js +0 -91
- data/doc/guides/html/files/javascripts/code_highlighter.js +0 -188
- data/doc/guides/html/files/javascripts/guides.js +0 -7
- data/doc/guides/html/files/javascripts/highlighters.js +0 -90
- data/doc/guides/html/files/jquery.js +0 -11
- data/doc/guides/html/files/stylesheets/main.css +0 -441
- data/doc/guides/html/files/stylesheets/reset.css +0 -43
- data/doc/guides/html/files/stylesheets/style.css +0 -13
- data/doc/guides/html/files/stylesheets/syntax.css +0 -31
- data/doc/guides/html/getting_started.html +0 -457
- data/doc/guides/html/images/bg.png +0 -0
- data/doc/guides/html/images/bottom_cap.png +0 -0
- data/doc/guides/html/images/browsercms_logo.png +0 -0
- data/doc/guides/html/images/content_blocks/add_field_to_form.png +0 -0
- data/doc/guides/html/images/content_blocks/add_second_block.png +0 -0
- data/doc/guides/html/images/dot.png +0 -0
- data/doc/guides/html/images/icons/README +0 -5
- data/doc/guides/html/images/icons/callouts/1.png +0 -0
- data/doc/guides/html/images/icons/callouts/10.png +0 -0
- data/doc/guides/html/images/icons/callouts/11.png +0 -0
- data/doc/guides/html/images/icons/callouts/12.png +0 -0
- data/doc/guides/html/images/icons/callouts/13.png +0 -0
- data/doc/guides/html/images/icons/callouts/14.png +0 -0
- data/doc/guides/html/images/icons/callouts/15.png +0 -0
- data/doc/guides/html/images/icons/callouts/2.png +0 -0
- data/doc/guides/html/images/icons/callouts/3.png +0 -0
- data/doc/guides/html/images/icons/callouts/4.png +0 -0
- data/doc/guides/html/images/icons/callouts/5.png +0 -0
- data/doc/guides/html/images/icons/callouts/6.png +0 -0
- data/doc/guides/html/images/icons/callouts/7.png +0 -0
- data/doc/guides/html/images/icons/callouts/8.png +0 -0
- data/doc/guides/html/images/icons/callouts/9.png +0 -0
- data/doc/guides/html/images/icons/caution.png +0 -0
- data/doc/guides/html/images/icons/example.png +0 -0
- data/doc/guides/html/images/icons/home.png +0 -0
- data/doc/guides/html/images/icons/important.png +0 -0
- data/doc/guides/html/images/icons/next.png +0 -0
- data/doc/guides/html/images/icons/note.png +0 -0
- data/doc/guides/html/images/icons/prev.png +0 -0
- data/doc/guides/html/images/icons/tip.png +0 -0
- data/doc/guides/html/images/icons/up.png +0 -0
- data/doc/guides/html/images/icons/warning.png +0 -0
- data/doc/guides/html/images/nfl_sitemap.png +0 -0
- data/doc/guides/html/images/top_cap.png +0 -0
- data/doc/guides/html/images/top_cap_content.png +0 -0
- data/doc/guides/html/index.html +0 -457
- data/doc/guides/html/installing_modules.html +0 -457
- data/doc/guides/html/portlets.html +0 -457
- data/doc/guides/html/user_guide.html +0 -457
- data/doc/guides/html/writing_guides.html +0 -457
- data/lib/initial_data.rb +0 -30
- data/lib/tasks/build_gem.rake +0 -1
- data/lib/tasks/cms.rake +0 -69
- data/lib/tasks/cucumber.rake +0 -53
- data/lib/tasks/dev.rake +0 -20
- data/templates/blank.rb +0 -48
- data/templates/demo.rb +0 -48
data/lib/cms/version.rb
CHANGED
@@ -15,7 +15,7 @@ module BrowserCms
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
copy_file 'lib/generators/browser_cms/demo_site/templates/demo_site.rake', '
|
18
|
+
copy_file 'lib/generators/browser_cms/demo_site/templates/demo_site.rake', 'lib/tasks/demo_site.rake'
|
19
19
|
|
20
20
|
template templates_dir('migration.erb'), 'db/demo_site_seeds.rb', :assigns => {
|
21
21
|
:data => data,
|
@@ -2,6 +2,9 @@ require 'find'
|
|
2
2
|
|
3
3
|
namespace :db do
|
4
4
|
|
5
|
+
desc 'Override db:install to include demo seed data.'
|
6
|
+
task :install => ["db:create", "db:migrate", "db:seed", 'db:seed_demo_site']
|
7
|
+
|
5
8
|
desc 'Load the demo site seed data from db/seeds.rb'
|
6
9
|
task :seed_demo_site => 'db:abort_if_pending_migrations' do
|
7
10
|
demo_seed_file = File.join(Rails.root, 'db', 'demo_site_seeds.rb')
|
@@ -0,0 +1,23 @@
|
|
1
|
+
All BrowserCMS code is Copyright (C) 1998-2011 by BrowserMedia, LLC.
|
2
|
+
|
3
|
+
This program is free software: you can redistribute it and/or modify
|
4
|
+
it under the terms of the GNU Lesser General Public License as published by
|
5
|
+
the Free Software Foundation, either version 3 of the License, or
|
6
|
+
(at your option) any later version.
|
7
|
+
|
8
|
+
This program is distributed in the hope that it will be useful,
|
9
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
+
GNU Lesser General Public License for more details.
|
12
|
+
|
13
|
+
You should have received a copy of the GNU Lesser General Public License
|
14
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
|
+
|
16
|
+
BrowserCMS is a registered trademark of BrowserMedia, LLC.
|
17
|
+
|
18
|
+
BrowserCMS includes works under other copyright notices and distributed
|
19
|
+
according to the terms of the GNU Lesser Public License or a compatible
|
20
|
+
license, including:
|
21
|
+
|
22
|
+
- jQuery - Copyright (C) 2009 John Resig
|
23
|
+
- CKEditor - Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
@@ -1,220 +1,4 @@
|
|
1
|
-
|
2
|
-
remove_file 'db/seeds.rb'
|
3
|
-
|
4
|
-
# Loads the version, so we can explicitly set in the generated cms project.
|
5
|
-
template_root = File.dirname(__FILE__)
|
6
|
-
require File.join(template_root, '..', 'lib', 'cms', 'version.rb')
|
7
|
-
gem "browsercms", :version=>Cms::VERSION
|
8
|
-
|
9
|
-
rake "db:create"
|
10
|
-
route "routes_for_browser_cms"
|
11
|
-
generate 'browser_cms:cms'
|
12
|
-
|
13
|
-
generate 'cms:upgrade_module', app_name
|
14
|
-
|
15
|
-
environment 'SITE_DOMAIN="localhost:3000"', :env => "development"
|
16
|
-
environment 'SITE_DOMAIN="localhost:3000"', :env => "test"
|
17
|
-
environment 'SITE_DOMAIN="localhost:3000"', :env => "production"
|
18
|
-
environment 'config.action_view.cache_template_loading = false', :env => "production"
|
19
|
-
environment 'config.action_controller.page_cache_directory = Rails.root + "/public/cache/"', :env => "production"
|
20
|
-
rake "db:migrate db:seed"
|
21
|
-
|
22
|
-
file "LICENSE.txt", <<-CODE
|
23
|
-
GNU LESSER GENERAL PUBLIC LICENSE
|
24
|
-
Version 3, 29 June 2007
|
25
|
-
|
26
|
-
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
27
|
-
Everyone is permitted to copy and distribute verbatim copies
|
28
|
-
of this license document, but changing it is not allowed.
|
29
|
-
|
30
|
-
|
31
|
-
This version of the GNU Lesser General Public License incorporates
|
32
|
-
the terms and conditions of version 3 of the GNU General Public
|
33
|
-
License, supplemented by the additional permissions listed below.
|
34
|
-
|
35
|
-
0. Additional Definitions.
|
36
|
-
|
37
|
-
As used herein, "this License" refers to version 3 of the GNU Lesser
|
38
|
-
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
39
|
-
General Public License.
|
40
|
-
|
41
|
-
"The Library" refers to a covered work governed by this License,
|
42
|
-
other than an Application or a Combined Work as defined below.
|
43
|
-
|
44
|
-
An "Application" is any work that makes use of an interface provided
|
45
|
-
by the Library, but which is not otherwise based on the Library.
|
46
|
-
Defining a subclass of a class defined by the Library is deemed a mode
|
47
|
-
of using an interface provided by the Library.
|
48
|
-
|
49
|
-
A "Combined Work" is a work produced by combining or linking an
|
50
|
-
Application with the Library. The particular version of the Library
|
51
|
-
with which the Combined Work was made is also called the "Linked
|
52
|
-
Version".
|
53
|
-
|
54
|
-
The "Minimal Corresponding Source" for a Combined Work means the
|
55
|
-
Corresponding Source for the Combined Work, excluding any source code
|
56
|
-
for portions of the Combined Work that, considered in isolation, are
|
57
|
-
based on the Application, and not on the Linked Version.
|
58
|
-
|
59
|
-
The "Corresponding Application Code" for a Combined Work means the
|
60
|
-
object code and/or source code for the Application, including any data
|
61
|
-
and utility programs needed for reproducing the Combined Work from the
|
62
|
-
Application, but excluding the System Libraries of the Combined Work.
|
63
|
-
|
64
|
-
1. Exception to Section 3 of the GNU GPL.
|
65
|
-
|
66
|
-
You may convey a covered work under sections 3 and 4 of this License
|
67
|
-
without being bound by section 3 of the GNU GPL.
|
68
|
-
|
69
|
-
2. Conveying Modified Versions.
|
70
|
-
|
71
|
-
If you modify a copy of the Library, and, in your modifications, a
|
72
|
-
facility refers to a function or data to be supplied by an Application
|
73
|
-
that uses the facility (other than as an argument passed when the
|
74
|
-
facility is invoked), then you may convey a copy of the modified
|
75
|
-
version:
|
76
|
-
|
77
|
-
a) under this License, provided that you make a good faith effort to
|
78
|
-
ensure that, in the event an Application does not supply the
|
79
|
-
function or data, the facility still operates, and performs
|
80
|
-
whatever part of its purpose remains meaningful, or
|
81
|
-
|
82
|
-
b) under the GNU GPL, with none of the additional permissions of
|
83
|
-
this License applicable to that copy.
|
84
|
-
|
85
|
-
3. Object Code Incorporating Material from Library Header Files.
|
86
|
-
|
87
|
-
The object code form of an Application may incorporate material from
|
88
|
-
a header file that is part of the Library. You may convey such object
|
89
|
-
code under terms of your choice, provided that, if the incorporated
|
90
|
-
material is not limited to numerical parameters, data structure
|
91
|
-
layouts and accessors, or small macros, inline functions and templates
|
92
|
-
(ten or fewer lines in length), you do both of the following:
|
93
|
-
|
94
|
-
a) Give prominent notice with each copy of the object code that the
|
95
|
-
Library is used in it and that the Library and its use are
|
96
|
-
covered by this License.
|
97
|
-
|
98
|
-
b) Accompany the object code with a copy of the GNU GPL and this license
|
99
|
-
document.
|
100
|
-
|
101
|
-
4. Combined Works.
|
102
|
-
|
103
|
-
You may convey a Combined Work under terms of your choice that,
|
104
|
-
taken together, effectively do not restrict modification of the
|
105
|
-
portions of the Library contained in the Combined Work and reverse
|
106
|
-
engineering for debugging such modifications, if you also do each of
|
107
|
-
the following:
|
108
|
-
|
109
|
-
a) Give prominent notice with each copy of the Combined Work that
|
110
|
-
the Library is used in it and that the Library and its use are
|
111
|
-
covered by this License.
|
112
|
-
|
113
|
-
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
114
|
-
document.
|
115
|
-
|
116
|
-
c) For a Combined Work that displays copyright notices during
|
117
|
-
execution, include the copyright notice for the Library among
|
118
|
-
these notices, as well as a reference directing the user to the
|
119
|
-
copies of the GNU GPL and this license document.
|
120
|
-
|
121
|
-
d) Do one of the following:
|
122
|
-
|
123
|
-
0) Convey the Minimal Corresponding Source under the terms of this
|
124
|
-
License, and the Corresponding Application Code in a form
|
125
|
-
suitable for, and under terms that permit, the user to
|
126
|
-
recombine or relink the Application with a modified version of
|
127
|
-
the Linked Version to produce a modified Combined Work, in the
|
128
|
-
manner specified by section 6 of the GNU GPL for conveying
|
129
|
-
Corresponding Source.
|
130
|
-
|
131
|
-
1) Use a suitable shared library mechanism for linking with the
|
132
|
-
Library. A suitable mechanism is one that (a) uses at run time
|
133
|
-
a copy of the Library already present on the user's computer
|
134
|
-
system, and (b) will operate properly with a modified version
|
135
|
-
of the Library that is interface-compatible with the Linked
|
136
|
-
Version.
|
137
|
-
|
138
|
-
e) Provide Installation Information, but only if you would otherwise
|
139
|
-
be required to provide such information under section 6 of the
|
140
|
-
GNU GPL, and only to the extent that such information is
|
141
|
-
necessary to install and execute a modified version of the
|
142
|
-
Combined Work produced by recombining or relinking the
|
143
|
-
Application with a modified version of the Linked Version. (If
|
144
|
-
you use option 4d0, the Installation Information must accompany
|
145
|
-
the Minimal Corresponding Source and Corresponding Application
|
146
|
-
Code. If you use option 4d1, you must provide the Installation
|
147
|
-
Information in the manner specified by section 6 of the GNU GPL
|
148
|
-
for conveying Corresponding Source.)
|
149
|
-
|
150
|
-
5. Combined Libraries.
|
151
|
-
|
152
|
-
You may place library facilities that are a work based on the
|
153
|
-
Library side by side in a single library together with other library
|
154
|
-
facilities that are not Applications and are not covered by this
|
155
|
-
License, and convey such a combined library under terms of your
|
156
|
-
choice, if you do both of the following:
|
157
|
-
|
158
|
-
a) Accompany the combined library with a copy of the same work based
|
159
|
-
on the Library, uncombined with any other library facilities,
|
160
|
-
conveyed under the terms of this License.
|
161
|
-
|
162
|
-
b) Give prominent notice with the combined library that part of it
|
163
|
-
is a work based on the Library, and explaining where to find the
|
164
|
-
accompanying uncombined form of the same work.
|
165
|
-
|
166
|
-
6. Revised Versions of the GNU Lesser General Public License.
|
167
|
-
|
168
|
-
The Free Software Foundation may publish revised and/or new versions
|
169
|
-
of the GNU Lesser General Public License from time to time. Such new
|
170
|
-
versions will be similar in spirit to the present version, but may
|
171
|
-
differ in detail to address new problems or concerns.
|
172
|
-
|
173
|
-
Each version is given a distinguishing version number. If the
|
174
|
-
Library as you received it specifies that a certain numbered version
|
175
|
-
of the GNU Lesser General Public License "or any later version"
|
176
|
-
applies to it, you have the option of following the terms and
|
177
|
-
conditions either of that published version or of any later version
|
178
|
-
published by the Free Software Foundation. If the Library as you
|
179
|
-
received it does not specify a version number of the GNU Lesser
|
180
|
-
General Public License, you may choose any version of the GNU Lesser
|
181
|
-
General Public License ever published by the Free Software Foundation.
|
182
|
-
|
183
|
-
If the Library as you received it specifies that a proxy can decide
|
184
|
-
whether future versions of the GNU Lesser General Public License shall
|
185
|
-
apply, that proxy's public statement of acceptance of any version is
|
186
|
-
permanent authorization for you to choose that version for the
|
187
|
-
Library.
|
188
|
-
CODE
|
189
|
-
|
190
|
-
file "COPYRIGHT.txt", <<-CODE
|
191
|
-
All BrowserCMS code is Copyright (C) 1998-2010 by BrowserMedia, LLC.
|
192
|
-
|
193
|
-
This program is free software: you can redistribute it and/or modify
|
194
|
-
it under the terms of the GNU Lesser General Public License as published by
|
195
|
-
the Free Software Foundation, either version 3 of the License, or
|
196
|
-
(at your option) any later version.
|
197
|
-
|
198
|
-
This program is distributed in the hope that it will be useful,
|
199
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
200
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
201
|
-
GNU Lesser General Public License for more details.
|
202
|
-
|
203
|
-
You should have received a copy of the GNU Lesser General Public License
|
204
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
205
|
-
|
206
|
-
BrowserCMS is a registered trademark of BrowserMedia, LLC.
|
207
|
-
|
208
|
-
BrowserCMS includes works under other copyright notices and distributed
|
209
|
-
according to the terms of the GNU Lesser Public License or a compatible
|
210
|
-
license, including:
|
211
|
-
|
212
|
-
- jQuery - Copyright (C) 2009 John Resig
|
213
|
-
- CKEditor - Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
214
|
-
CODE
|
215
|
-
|
216
|
-
file "GPL.txt", <<-CODE
|
217
|
-
GNU GENERAL PUBLIC LICENSE
|
1
|
+
GNU GENERAL PUBLIC LICENSE
|
218
2
|
Version 3, 29 June 2007
|
219
3
|
|
220
4
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
@@ -887,9 +671,4 @@ into proprietary programs. If your program is a subroutine library, you
|
|
887
671
|
may consider it more useful to permit linking proprietary applications with
|
888
672
|
the library. If this is what you want to do, use the GNU Lesser General
|
889
673
|
Public License instead of this License. But first, please read
|
890
|
-
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
891
|
-
CODE
|
892
|
-
|
893
|
-
git :init
|
894
|
-
git :add => "."
|
895
|
-
git :commit => "-a -m 'New Module'"
|
674
|
+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
@@ -0,0 +1,165 @@
|
|
1
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
2
|
+
Version 3, 29 June 2007
|
3
|
+
|
4
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5
|
+
Everyone is permitted to copy and distribute verbatim copies
|
6
|
+
of this license document, but changing it is not allowed.
|
7
|
+
|
8
|
+
|
9
|
+
This version of the GNU Lesser General Public License incorporates
|
10
|
+
the terms and conditions of version 3 of the GNU General Public
|
11
|
+
License, supplemented by the additional permissions listed below.
|
12
|
+
|
13
|
+
0. Additional Definitions.
|
14
|
+
|
15
|
+
As used herein, "this License" refers to version 3 of the GNU Lesser
|
16
|
+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
17
|
+
General Public License.
|
18
|
+
|
19
|
+
"The Library" refers to a covered work governed by this License,
|
20
|
+
other than an Application or a Combined Work as defined below.
|
21
|
+
|
22
|
+
An "Application" is any work that makes use of an interface provided
|
23
|
+
by the Library, but which is not otherwise based on the Library.
|
24
|
+
Defining a subclass of a class defined by the Library is deemed a mode
|
25
|
+
of using an interface provided by the Library.
|
26
|
+
|
27
|
+
A "Combined Work" is a work produced by combining or linking an
|
28
|
+
Application with the Library. The particular version of the Library
|
29
|
+
with which the Combined Work was made is also called the "Linked
|
30
|
+
Version".
|
31
|
+
|
32
|
+
The "Minimal Corresponding Source" for a Combined Work means the
|
33
|
+
Corresponding Source for the Combined Work, excluding any source code
|
34
|
+
for portions of the Combined Work that, considered in isolation, are
|
35
|
+
based on the Application, and not on the Linked Version.
|
36
|
+
|
37
|
+
The "Corresponding Application Code" for a Combined Work means the
|
38
|
+
object code and/or source code for the Application, including any data
|
39
|
+
and utility programs needed for reproducing the Combined Work from the
|
40
|
+
Application, but excluding the System Libraries of the Combined Work.
|
41
|
+
|
42
|
+
1. Exception to Section 3 of the GNU GPL.
|
43
|
+
|
44
|
+
You may convey a covered work under sections 3 and 4 of this License
|
45
|
+
without being bound by section 3 of the GNU GPL.
|
46
|
+
|
47
|
+
2. Conveying Modified Versions.
|
48
|
+
|
49
|
+
If you modify a copy of the Library, and, in your modifications, a
|
50
|
+
facility refers to a function or data to be supplied by an Application
|
51
|
+
that uses the facility (other than as an argument passed when the
|
52
|
+
facility is invoked), then you may convey a copy of the modified
|
53
|
+
version:
|
54
|
+
|
55
|
+
a) under this License, provided that you make a good faith effort to
|
56
|
+
ensure that, in the event an Application does not supply the
|
57
|
+
function or data, the facility still operates, and performs
|
58
|
+
whatever part of its purpose remains meaningful, or
|
59
|
+
|
60
|
+
b) under the GNU GPL, with none of the additional permissions of
|
61
|
+
this License applicable to that copy.
|
62
|
+
|
63
|
+
3. Object Code Incorporating Material from Library Header Files.
|
64
|
+
|
65
|
+
The object code form of an Application may incorporate material from
|
66
|
+
a header file that is part of the Library. You may convey such object
|
67
|
+
code under terms of your choice, provided that, if the incorporated
|
68
|
+
material is not limited to numerical parameters, data structure
|
69
|
+
layouts and accessors, or small macros, inline functions and templates
|
70
|
+
(ten or fewer lines in length), you do both of the following:
|
71
|
+
|
72
|
+
a) Give prominent notice with each copy of the object code that the
|
73
|
+
Library is used in it and that the Library and its use are
|
74
|
+
covered by this License.
|
75
|
+
|
76
|
+
b) Accompany the object code with a copy of the GNU GPL and this license
|
77
|
+
document.
|
78
|
+
|
79
|
+
4. Combined Works.
|
80
|
+
|
81
|
+
You may convey a Combined Work under terms of your choice that,
|
82
|
+
taken together, effectively do not restrict modification of the
|
83
|
+
portions of the Library contained in the Combined Work and reverse
|
84
|
+
engineering for debugging such modifications, if you also do each of
|
85
|
+
the following:
|
86
|
+
|
87
|
+
a) Give prominent notice with each copy of the Combined Work that
|
88
|
+
the Library is used in it and that the Library and its use are
|
89
|
+
covered by this License.
|
90
|
+
|
91
|
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
92
|
+
document.
|
93
|
+
|
94
|
+
c) For a Combined Work that displays copyright notices during
|
95
|
+
execution, include the copyright notice for the Library among
|
96
|
+
these notices, as well as a reference directing the user to the
|
97
|
+
copies of the GNU GPL and this license document.
|
98
|
+
|
99
|
+
d) Do one of the following:
|
100
|
+
|
101
|
+
0) Convey the Minimal Corresponding Source under the terms of this
|
102
|
+
License, and the Corresponding Application Code in a form
|
103
|
+
suitable for, and under terms that permit, the user to
|
104
|
+
recombine or relink the Application with a modified version of
|
105
|
+
the Linked Version to produce a modified Combined Work, in the
|
106
|
+
manner specified by section 6 of the GNU GPL for conveying
|
107
|
+
Corresponding Source.
|
108
|
+
|
109
|
+
1) Use a suitable shared library mechanism for linking with the
|
110
|
+
Library. A suitable mechanism is one that (a) uses at run time
|
111
|
+
a copy of the Library already present on the user's computer
|
112
|
+
system, and (b) will operate properly with a modified version
|
113
|
+
of the Library that is interface-compatible with the Linked
|
114
|
+
Version.
|
115
|
+
|
116
|
+
e) Provide Installation Information, but only if you would otherwise
|
117
|
+
be required to provide such information under section 6 of the
|
118
|
+
GNU GPL, and only to the extent that such information is
|
119
|
+
necessary to install and execute a modified version of the
|
120
|
+
Combined Work produced by recombining or relinking the
|
121
|
+
Application with a modified version of the Linked Version. (If
|
122
|
+
you use option 4d0, the Installation Information must accompany
|
123
|
+
the Minimal Corresponding Source and Corresponding Application
|
124
|
+
Code. If you use option 4d1, you must provide the Installation
|
125
|
+
Information in the manner specified by section 6 of the GNU GPL
|
126
|
+
for conveying Corresponding Source.)
|
127
|
+
|
128
|
+
5. Combined Libraries.
|
129
|
+
|
130
|
+
You may place library facilities that are a work based on the
|
131
|
+
Library side by side in a single library together with other library
|
132
|
+
facilities that are not Applications and are not covered by this
|
133
|
+
License, and convey such a combined library under terms of your
|
134
|
+
choice, if you do both of the following:
|
135
|
+
|
136
|
+
a) Accompany the combined library with a copy of the same work based
|
137
|
+
on the Library, uncombined with any other library facilities,
|
138
|
+
conveyed under the terms of this License.
|
139
|
+
|
140
|
+
b) Give prominent notice with the combined library that part of it
|
141
|
+
is a work based on the Library, and explaining where to find the
|
142
|
+
accompanying uncombined form of the same work.
|
143
|
+
|
144
|
+
6. Revised Versions of the GNU Lesser General Public License.
|
145
|
+
|
146
|
+
The Free Software Foundation may publish revised and/or new versions
|
147
|
+
of the GNU Lesser General Public License from time to time. Such new
|
148
|
+
versions will be similar in spirit to the present version, but may
|
149
|
+
differ in detail to address new problems or concerns.
|
150
|
+
|
151
|
+
Each version is given a distinguishing version number. If the
|
152
|
+
Library as you received it specifies that a certain numbered version
|
153
|
+
of the GNU Lesser General Public License "or any later version"
|
154
|
+
applies to it, you have the option of following the terms and
|
155
|
+
conditions either of that published version or of any later version
|
156
|
+
published by the Free Software Foundation. If the Library as you
|
157
|
+
received it does not specify a version number of the GNU Lesser
|
158
|
+
General Public License, you may choose any version of the GNU Lesser
|
159
|
+
General Public License ever published by the Free Software Foundation.
|
160
|
+
|
161
|
+
If the Library as you received it specifies that a proxy can decide
|
162
|
+
whether future versions of the GNU Lesser General Public License shall
|
163
|
+
apply, that proxy's public statement of acceptance of any version is
|
164
|
+
permanent authorization for you to choose that version for the
|
165
|
+
Library.
|