1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
4
The GNU Public License 2 in DocBook
5
Markup by Eric Baudais <baudais@okstate.edu>
6
Maintained by the GNOME Documentation Project
7
http://developer.gnome.org/projects/gdp
9
Last Modified: Feb. 5, 2001
11
<article id="index" lang="ar">
13
<title>GNU Lesser General Public License</title>
16
<holder>Free Software Foundation, Inc.</holder>
19
<surname>مؤسسة البرمجيات الحرة</surname>
21
<publisher role="maintainer">
22
<publishername>مشروع توثيق جنوم</publishername>
26
<revnumber>2.1</revnumber>
30
<legalnotice id="gpl-legalnotice">
32
<address>Free Software Foundation, Inc.
33
<street>51 Franklin Street, Fifth Floor</street>,
35
<state>MA</state> <postcode>02110-1301</postcode>
36
<country>USA</country>
40
Everyone is permitted to copy and distribute verbatim copies
41
of this license document, but changing it is not allowed.
45
Version 2.1, February 1999
47
<abstract role="description"><para>
48
The licenses for most software are designed to take away your
49
freedom to share and change it. By contrast, the GNU General Public
50
Licenses are intended to guarantee your freedom to share and change
51
free software - to make sure the software is free for all its users.
56
<sect1 id="preamble" label="none">
57
<title>Preamble</title>
60
The licenses for most software are designed to take away your
61
freedom to share and change it. By contrast, the GNU General Public
62
Licenses are intended to guarantee your freedom to share and change
63
free software--to make sure the software is free for all its users.
67
When we speak of free software, we are referring to freedom, not price.
68
Our General Public Licenses are designed to make sure that you have the
69
freedom to distribute copies of free software (and charge for this
70
service if you wish), that you receive source code or can get it if you
71
want it, that you can change the software or use pieces of it in new free
72
programs; and that you know you can do these things.
76
This license, the Lesser General Public License, applies to some
77
specially designated software packages--typically libraries--of the
78
Free Software Foundation and other authors who decide to use it. You
79
can use it too, but we suggest you first think carefully about whether
80
this license or the ordinary General Public License is the better
81
strategy to use in any particular case, based on the explanations below.
85
When we speak of free software, we are referring to freedom of use,
86
not price. Our General Public Licenses are designed to make sure that
87
you have the freedom to distribute copies of free software (and charge
88
for this service if you wish); that you receive source code or can get
89
it if you want it; that you can change the software and use pieces of
90
it in new free programs; and that you are informed that you can do
95
To protect your rights, we need to make restrictions that forbid
96
distributors to deny you these rights or to ask you to surrender these
97
rights. These restrictions translate to certain responsibilities for
98
you if you distribute copies of the library or if you modify it.
102
For example, if you distribute copies of the library, whether gratis
103
or for a fee, you must give the recipients all the rights that we gave
104
you. You must make sure that they, too, receive or can get the source
105
code. If you link other code with the library, you must provide
106
complete object files to the recipients, so that they can relink them
107
with the library after making changes to the library and recompiling
108
it. And you must show them these terms so they know their rights.
112
We protect your rights with a two-step method: (1) we copyright the
113
library, and (2) we offer you this license, which gives you legal
114
permission to copy, distribute and/or modify the library.
118
To protect each distributor, we want to make it very clear that
119
there is no warranty for the free library. Also, if the library is
120
modified by someone else and passed on, the recipients should know
121
that what they have is not the original version, so that the original
122
author's reputation will not be affected by problems that might be
123
introduced by others.
127
Finally, software patents pose a constant threat to the existence of
128
any free program. We wish to make sure that a company cannot
129
effectively restrict the users of a free program by obtaining a
130
restrictive license from a patent holder. Therefore, we insist that
131
any patent license obtained for a version of the library must be
132
consistent with the full freedom of use specified in this license.
136
Most GNU software, including some libraries, is covered by the
137
ordinary GNU General Public License. This license, the GNU Lesser
138
General Public License, applies to certain designated libraries, and
139
is quite different from the ordinary General Public License. We use
140
this license for certain libraries in order to permit linking those
141
libraries into non-free programs.
145
When a program is linked with a library, whether statically or using
146
a shared library, the combination of the two is legally speaking a
147
combined work, a derivative of the original library. The ordinary
148
General Public License therefore permits such linking only if the
149
entire combination fits its criteria of freedom. The Lesser General
150
Public License permits more lax criteria for linking other code with
155
We call this license the <quote>Lesser</quote> General Public License
156
because it does Less to protect the user's freedom than the ordinary
157
General Public License. It also provides other free software developers
158
Less of an advantage over competing non-free programs. These
159
disadvantages are the reason we use the ordinary General Public License
160
for many libraries. However, the Lesser license provides advantages in
161
certain special circumstances.
165
For example, on rare occasions, there may be a special need to
166
encourage the widest possible use of a certain library, so that it becomes
167
a de-facto standard. To achieve this, non-free programs must be
168
allowed to use the library. A more frequent case is that a free
169
library does the same job as widely used non-free libraries. In this
170
case, there is little to gain by limiting the free library to free
171
software only, so we use the Lesser General Public License.
175
In other cases, permission to use a particular library in non-free
176
programs enables a greater number of people to use a large body of
177
free software. For example, permission to use the GNU C Library in
178
non-free programs enables many more people to use the whole GNU
179
operating system, as well as its variant, the GNU/Linux operating
184
Although the Lesser General Public License is Less protective of the
185
users' freedom, it does ensure that the user of a program that is
186
linked with the Library has the freedom and the wherewithal to run
187
that program using a modified version of the Library.
191
The precise terms and conditions for copying, distribution and
192
modification follow. Pay close attention to the difference between a
193
<quote>work based on the library</quote> and a <quote>work that uses the
194
library</quote>. The former contains code derived from the library,
195
whereas the latter must be combined with the library in order to run.
200
<sect1 id="terms" label="none">
201
<title>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</title>
203
<sect2 id="sect0" label="0">
204
<title>Section 0</title>
206
This License Agreement applies to any software library or other
207
program which contains a notice placed by the copyright holder or
208
other authorized party saying it may be distributed under the terms of
209
this Lesser General Public License (also called <quote>this License</quote>).
210
Each licensee is addressed as <quote>you</quote>.
214
A <quote>library</quote> means a collection of software functions and/or data
215
prepared so as to be conveniently linked with application programs
216
(which use some of those functions and data) to form executables.
220
The <quote>Library</quote>, below, refers to any such software library or work
221
which has been distributed under these terms. A <quote>work based on the
222
Library</quote> means either the Library or any derivative work under
223
copyright law: that is to say, a work containing the Library or a
224
portion of it, either verbatim or with modifications and/or translated
225
straightforwardly into another language. (Hereinafter, translation is
226
included without limitation in the term <quote>modification</quote>.)
230
<quote>Source code</quote> for a work means the preferred form of the work for
231
making modifications to it. For a library, complete source code means
232
all the source code for all modules it contains, plus any associated
233
interface definition files, plus the scripts used to control compilation
234
and installation of the library.
238
Activities other than copying, distribution and modification are not
239
covered by this License; they are outside its scope. The act of
240
running a program using the Library is not restricted, and output from
241
such a program is covered only if its contents constitute a work based
242
on the Library (independent of the use of the Library in a tool for
243
writing it). Whether that is true depends on what the Library does
244
and what the program that uses the Library does.
249
<sect2 id="sect1" label="1">
250
<title>Section 1</title>
252
You may copy and distribute verbatim copies of the Library's
253
complete source code as you receive it, in any medium, provided that
254
you conspicuously and appropriately publish on each copy an
255
appropriate copyright notice and disclaimer of warranty; keep intact
256
all the notices that refer to this License and to the absence of any
257
warranty; and distribute a copy of this License along with the
262
You may charge a fee for the physical act of transferring a copy,
263
and you may at your option offer warranty protection in exchange for a
268
<sect2 id="sect2" label="2">
269
<title>Section 2</title>
271
You may modify your copy or copies of the Library or any portion
272
of it, thus forming a work based on the Library, and copy and
273
distribute such modifications or work under the terms of
274
<link linkend="sect1">Section 1</link> above, provided that
275
you also meet all of these conditions:
277
<orderedlist numeration="loweralpha">
280
The modified work must itself be a software library.
285
You must cause the files modified to carry prominent notices
286
stating that you changed the files and the date of any change.
291
You must cause the whole of the work to be licensed at no
292
charge to all third parties under the terms of this License.
297
If a facility in the modified Library refers to a function or a
298
table of data to be supplied by an application program that uses
299
the facility, other than as an argument passed when the facility
300
is invoked, then you must make a good faith effort to ensure that,
301
in the event an application does not supply such function or
302
table, the facility still operates, and performs whatever part of
303
its purpose remains meaningful.
307
(For example, a function in a library to compute square roots has
308
a purpose that is entirely well-defined independent of the
309
application. Therefore, Subsection 2d requires that any
310
application-supplied function or table used by this function must
311
be optional: if the application does not supply it, the square
312
root function must still compute square roots.)
316
These requirements apply to the modified work as a whole. If
317
identifiable sections of that work are not derived from the Library,
318
and can be reasonably considered independent and separate works in
319
themselves, then this License, and its terms, do not apply to those
320
sections when you distribute them as separate works. But when you
321
distribute the same sections as part of a whole which is a work based
322
on the Library, the distribution of the whole must be on the terms of
323
this License, whose permissions for other licensees extend to the
324
entire whole, and thus to each and every part regardless of who wrote
329
Thus, it is not the intent of this section to claim rights or contest
330
your rights to work written entirely by you; rather, the intent is to
331
exercise the right to control the distribution of derivative or
332
collective works based on the Library.
336
In addition, mere aggregation of another work not based on the Library
337
with the Library (or with a work based on the Library) on a volume of
338
a storage or distribution medium does not bring the other work under
339
the scope of this License.
347
<sect2 id="sect3" label="3">
348
<title>Section 3</title>
351
You may opt to apply the terms of the ordinary GNU General Public
352
License instead of this License to a given copy of the Library. To do
353
this, you must alter all the notices that refer to this License, so
354
that they refer to the ordinary GNU General Public License, version 2,
355
instead of to this License. (If a newer version than version 2 of the
356
ordinary GNU General Public License has appeared, then you can specify
357
that version instead if you wish.) Do not make any other change in
362
Once this change is made in a given copy, it is irreversible for
363
that copy, so the ordinary GNU General Public License applies to all
364
subsequent copies and derivative works made from that copy.
368
This option is useful when you wish to copy part of the code of
369
the Library into a program that is not a library.
373
<sect2 id="sect4" label="4">
374
<title>Section 4</title>
377
You may copy and distribute the Library (or a portion or
378
derivative of it, under <link linkend="sect2">Section 2</link>
379
) in object code or executable form under the terms of Sections
380
<link linkend="sect1">1</link> and
381
<link linkend="sect2">2</link> above provided that you accompany
382
it with the complete corresponding machine-readable source code, which
383
must be distributed under the terms of Sections <link linkend="sect1">1</link>
384
and <link linkend="sect2">2</link> above on a
385
medium customarily used for software interchange.
389
If distribution of object code is made by offering access to copy
390
from a designated place, then offering equivalent access to copy the
391
source code from the same place satisfies the requirement to
392
distribute the source code, even though third parties are not
393
compelled to copy the source along with the object code.
398
<sect2 id="sect5" label="5">
399
<title>Section 5</title>
402
A program that contains no derivative of any portion of the
403
Library, but is designed to work with the Library by being compiled or
404
linked with it, is called a <quote>work that uses the Library</quote>.
405
Such a work, in isolation, is not a derivative work of the Library, and
406
therefore falls outside the scope of this License.
410
However, linking a <quote>work that uses the Library</quote> with the Library
411
creates an executable that is a derivative of the Library (because it
412
contains portions of the Library), rather than a <quote>work that uses the
413
library</quote>. The executable is therefore covered by this License.
414
<link linkend="sect6">Section 6</link> states terms for distribution
419
When a <quote>work that uses the Library</quote> uses material from a
420
header file that is part of the Library, the object code for the work
421
may be a derivative work of the Library even though the source code is not.
422
Whether this is true is especially significant if the work can be
423
linked without the Library, or if the work is itself a library. The
424
threshold for this to be true is not precisely defined by law.
428
If such an object file uses only numerical parameters, data
429
structure layouts and accessors, and small macros and small inline
430
functions (ten lines or less in length), then the use of the object
431
file is unrestricted, regardless of whether it is legally a derivative
432
work. (Executables containing this object code plus portions of the
433
Library will still fall under <link linkend="sect6">Section 6</link>.)
437
Otherwise, if the work is a derivative of the Library, you may
438
distribute the object code for the work under the terms of
439
<link linkend="sect6">Section 6</link>.
440
Any executables containing that work also fall under
441
<link linkend="sect6">Section 6</link>,
442
whether or not they are linked directly with the Library itself.
446
<sect2 id="sect6" label="6">
447
<title>Section 6</title>
450
As an exception to the Sections above, you may also combine or
451
link a <quote>work that uses the Library</quote> with the Library to
452
produce a work containing portions of the Library, and distribute that
453
work under terms of your choice, provided that the terms permit
454
modification of the work for the customer's own use and reverse
455
engineering for debugging such modifications.
459
You must give prominent notice with each copy of the work that the
460
Library is used in it and that the Library and its use are covered by
461
this License. You must supply a copy of this License. If the work
462
during execution displays copyright notices, you must include the
463
copyright notice for the Library among them, as well as a reference
464
directing the user to the copy of this License. Also, you must do one
467
<orderedlist numeration="loweralpha">
470
Accompany the work with the complete corresponding
471
machine-readable source code for the Library including whatever
472
changes were used in the work (which must be distributed under
473
Sections <link linkend="sect1">1</link> and
474
<link linkend="sect2">2</link> above); and, if the work is an
475
executable linked with the Library, with the complete machine-readable
476
<quote>work that uses the Library</quote>, as object code and/or source
477
code, so that the user can modify the Library and then relink to
478
produce a modified executable containing the modified Library. (It is
479
understood that the user who changes the contents of definitions files
480
in the Library will not necessarily be able to recompile the application
481
to use the modified definitions.)
486
Use a suitable shared library mechanism for linking with the
487
Library. A suitable mechanism is one that (1) uses at run time a
488
copy of the library already present on the user's computer system,
489
rather than copying library functions into the executable, and (2)
490
will operate properly with a modified version of the library, if
491
the user installs one, as long as the modified version is
492
interface-compatible with the version that the work was made with.
497
Accompany the work with a written offer, valid for at
498
least three years, to give the same user the materials
499
specified in <link linkend="sect6a">Subsection 6a</link>
500
, above, for a charge no more than the cost of performing
506
If distribution of the work is made by offering access to copy
507
from a designated place, offer equivalent access to copy the above
508
specified materials from the same place.
513
Verify that the user has already received a copy of these
514
materials or that you have already sent this user a copy.
521
For an executable, the required form of the <quote>work that uses the
522
Library</quote> must include any data and utility programs needed for
523
reproducing the executable from it. However, as a special exception,
524
the materials to be distributed need not include anything that is
525
normally distributed (in either source or binary form) with the major
526
components (compiler, kernel, and so on) of the operating system on
527
which the executable runs, unless that component itself accompanies
532
It may happen that this requirement contradicts the license
533
restrictions of other proprietary libraries that do not normally
534
accompany the operating system. Such a contradiction means you cannot
535
use both them and the Library together in an executable that you
541
<sect2 id="sect7" label="7">
542
<title>Section 7</title>
545
You may place library facilities that are a work based on the
546
Library side-by-side in a single library together with other library
547
facilities not covered by this License, and distribute such a combined
548
library, provided that the separate distribution of the work based on
549
the Library and of the other library facilities is otherwise
550
permitted, and provided that you do these two things:
553
<orderedlist numeration="loweralpha">
556
Accompany the combined library with a copy of the same work
557
based on the Library, uncombined with any other library
558
facilities. This must be distributed under the terms of the
564
Give prominent notice with the combined library of the fact
565
that part of it is a work based on the Library, and explaining
566
where to find the accompanying uncombined form of the same work.
572
<sect2 id="sect8" label="8">
573
<title>Section 8</title>
576
You may not copy, modify, sublicense, link with, or distribute
577
the Library except as expressly provided under this License. Any
578
attempt otherwise to copy, modify, sublicense, link with, or
579
distribute the Library is void, and will automatically terminate your
580
rights under this License. However, parties who have received copies,
581
or rights, from you under this License will not have their licenses
582
terminated so long as such parties remain in full compliance.
586
<sect2 id="sect9" label="9">
587
<title>Section 9</title>
590
You are not required to accept this License, since you have not
591
signed it. However, nothing else grants you permission to modify or
592
distribute the Library or its derivative works. These actions are
593
prohibited by law if you do not accept this License. Therefore, by
594
modifying or distributing the Library (or any work based on the
595
Library), you indicate your acceptance of this License to do so, and
596
all its terms and conditions for copying, distributing or modifying
597
the Library or works based on it.
601
<sect2 id="sect10" label="10">
602
<title>Section 10</title>
605
Each time you redistribute the Library (or any work based on the
606
Library), the recipient automatically receives a license from the
607
original licensor to copy, distribute, link with or modify the Library
608
subject to these terms and conditions. You may not impose any further
609
restrictions on the recipients' exercise of the rights granted herein.
610
You are not responsible for enforcing compliance by third parties with
615
<sect2 id="sect11" label="11">
616
<title>Section 11</title>
619
If, as a consequence of a court judgment or allegation of patent
620
infringement or for any other reason (not limited to patent issues),
621
conditions are imposed on you (whether by court order, agreement or
622
otherwise) that contradict the conditions of this License, they do not
623
excuse you from the conditions of this License. If you cannot
624
distribute so as to satisfy simultaneously your obligations under this
625
License and any other pertinent obligations, then as a consequence you
626
may not distribute the Library at all. For example, if a patent
627
license would not permit royalty-free redistribution of the Library by
628
all those who receive copies directly or indirectly through you, then
629
the only way you could satisfy both it and this License would be to
630
refrain entirely from distribution of the Library.
634
If any portion of this section is held invalid or unenforceable under any
635
particular circumstance, the balance of the section is intended to apply,
636
and the section as a whole is intended to apply in other circumstances.
640
It is not the purpose of this section to induce you to infringe any
641
patents or other property right claims or to contest validity of any
642
such claims; this section has the sole purpose of protecting the
643
integrity of the free software distribution system which is
644
implemented by public license practices. Many people have made
645
generous contributions to the wide range of software distributed
646
through that system in reliance on consistent application of that
647
system; it is up to the author/donor to decide if he or she is willing
648
to distribute software through any other system and a licensee cannot
653
This section is intended to make thoroughly clear what is believed to
654
be a consequence of the rest of this License.
658
<sect2 id="sect12" label="12">
659
<title>Section 12</title>
662
If the distribution and/or use of the Library is restricted in
663
certain countries either by patents or by copyrighted interfaces, the
664
original copyright holder who places the Library under this License may add
665
an explicit geographical distribution limitation excluding those countries,
666
so that distribution is permitted only in or among countries not thus
667
excluded. In such case, this License incorporates the limitation as if
668
written in the body of this License.
672
<sect2 id="sect13" label="13">
673
<title>Section 13</title>
676
The Free Software Foundation may publish revised and/or new
677
versions of the Lesser General Public License from time to time.
678
Such new versions will be similar in spirit to the present version,
679
but may differ in detail to address new problems or concerns.
683
Each version is given a distinguishing version number. If the Library
684
specifies a version number of this License which applies to it and
685
<quote>any later version</quote>, you have the option of following the terms and
686
conditions either of that version or of any later version published by
687
the Free Software Foundation. If the Library does not specify a
688
license version number, you may choose any version ever published by
689
the Free Software Foundation.
693
<sect2 id="sect14" label="14">
694
<title>Section 14</title>
697
If you wish to incorporate parts of the Library into other free
698
programs whose distribution conditions are incompatible with these,
699
write to the author to ask for permission. For software which is
700
copyrighted by the Free Software Foundation, write to the Free
701
Software Foundation; we sometimes make exceptions for this. Our
702
decision will be guided by the two goals of preserving the free status
703
of all derivatives of our free software and of promoting the sharing
704
and reuse of software generally.
708
<sect2 id="sect15" label="15">
709
<title>NO WARRANTY</title>
710
<subtitle>Section 15</subtitle>
713
BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
714
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
715
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
716
OTHER PARTIES PROVIDE THE LIBRARY <quote>AS IS</quote> WITHOUT WARRANTY
717
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED
718
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
719
PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
720
OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU
721
ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
725
<sect2 id="sect16" label="16">
726
<title>Section 16</title>
729
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
730
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
731
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
732
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
733
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
734
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
735
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
736
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
737
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH