Лицензия
TERMS AND CONDITIONS FOR COPYING,
DISTRIBUTION AND MODIFICATION
0. ThisLicenseAgreementappliestoanysoftwarelibrary
orother program which contains a notice placed by
thecopyrightholderorotherauthorizedpartysaying
itmay be distributedunder the termsof this Lesser
GeneralPublicLicense(alsocalled“thisLicense”).
Eachlicenseeisaddressedas“you”.
A “library” means a collection of software functions
and/ordatapreparedsoastobeconvenientlylinked
withapplicationprograms(whichusesomeofthose
functionsanddata)toformexecutables.
The “Library”, below, refers to any such software
libraryorworkwhichhasbeendistributedunderthese
terms. A“work basedon theLibrary” meanseither
the Library or any derivative work under copyright
law:thatistosay,aworkcontainingtheLibraryora
portionofit,eitherverbatimorwithmodicationsand/
ortranslatedstraightforwardlyintoanotherlanguage.
(Hereinafter,translationis includedwithout limitation
intheterm“modication”.)
“Sourcecode”foraworkmeansthepreferredformof
theworkformakingmodicationstoit.Foralibrary,
completesourcecodemeansallthesourcecodefor
allmodulesitcontains,plusanyassociatedinterface
denition les, plus the scripts used to control
compilationandinstallationofthelibrary.
Activities other than copying, distribution and
modicationarenotcoveredbythisLicense;theyare
outsideitsscope.Theactofrunningaprogramusing
theLibraryis notrestricted, andoutput fromsucha
program is covered only if its contents constitute a
work based on the Library (independent of the use
oftheLibraryinatoolforwritingit).Whetherthatis
truedependsonwhattheLibrarydoesandwhatthe
programthatusestheLibrarydoes.
1. You may copy and distribute verbatim copies of the
Library’scomplete source code as you receiveit, in
any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep
intactallthenoticesthatrefertothisLicenseandto
theabsenceofanywarranty;anddistributeacopyof
thisLicensealongwiththeLibrary.
Youmaychargeafeeforthephysicalactoftransferring
a copy, and you may at your option offer warranty
protectioninexchangeforafee.
2. YoumaymodifyyourcopyorcopiesoftheLibraryor
anyportion of it, thus forming a work based on the
Library, and copy and distribute such modications
orworkunderthetermsofSection1above,provided
thatyoualsomeetalloftheseconditions:
a)Themodiedworkmustitselfbeasoftwarelibrary.
b)Youmustcausethelesmodiedtocarryprominent
noticesstatingthatyouchangedthelesandthe
dateofanychange.
c)Youmustcausethewholeoftheworktobelicensed
atnochargetoallthirdpartiesunderthetermsof
thisLicense.
d)IfafacilityinthemodiedLibraryreferstoafunction
oratableofdata tobesuppliedbyanapplication
program that uses the facility, other than as an
argumentpassedwhenthefacilityisinvoked,then
youmustmakeagoodfaithefforttoensurethat,in
theeventanapplicationdoesnotsupplysuchfunction
or table, the facility still operates, and performs
whateverpartofitspurposeremainsmeaningful.
(For example, a function in a library to compute
square roots has a purpose that is entirely well-
denedindependentoftheapplication.Therefore,
Subsection2drequiresthatanyapplication-supplied
function or table used by this function must be
optional:if theapplication does notsupply it, the
square root function must still compute square
roots.)
These requirements apply to the modied work
asa whole. If identiable sections of thatworkare
not derived from the Library,and can be reasonably
considered independent and separate works in
themselves,thenthis License,andits terms,do not
applytothosesectionswhenyoudistributethemas
separate works. But when you distribute the same
sectionsaspartofawholewhichisaworkbasedon
theLibrary,thedistributionofthewholemustbeon
thetermsofthisLicense,whosepermissionsforother
licenseesextendtotheentirewhole,andthustoeach
andeverypartregardlessofwhowroteit.
Thus,itisnottheintentofthissectiontoclaimrights
orcontestyourrightstoworkwrittenentirelybyyou;
rather,theintentistoexercisetherighttocontrolthe
distributionofderivativeorcollectiveworksbasedon
theLibrary.
In addition, mere aggregation of another work not
basedontheLibrarywiththeLibrary(orwithawork
based on the Library) on a volume of a storage or
distribution medium does not bring the other work
underthescopeofthisLicense.
3. YoumayopttoapplythetermsoftheordinaryGNU
General Public License instead of this License to a
givencopyoftheLibrary.Todothis,youmustalterall
thenoticesthatrefertothisLicense,sothattheyrefer
tothe ordinary GNU General PublicLicense, version
2,insteadoftothisLicense.(Ifanewerversionthan
version2oftheordinaryGNUGeneralPublicLicense
has appeared, then you can specify that version
insteadifyouwish.)Donotmakeanyotherchangein
thesenotices.
Once this change is made in a given copy, it is
irreversibleforthatcopy,sotheordinaryGNUGeneral
Public License applies to all subsequent copies and
derivativeworksmadefromthatcopy.
Thisoptionisusefulwhenyouwishtocopypartofthe
codeoftheLibraryintoaprogramthatisnotalibrary.
4. YoumaycopyanddistributetheLibrary(oraportion
orderivativeofit,underSection2)inobjectcodeor
executable form under the terms of Sections 1 and
2 above provided that you accompany it with the
complete corresponding machine-readable source
code,which mustbe distributed underthe terms of
Sections1and2aboveonamediumcustomarilyused
forsoftwareinterchange.
If distribution of object code is made by offering
accesstocopyfromadesignatedplace,thenoffering
equivalentaccesstocopy thesourcecodefromthe
same place satises the requirement to distribute
the source code, even though third parties are not
compelledto copy the source along with the object
code.
5. Aprogramthatcontainsnoderivativeofanyportion
oftheLibrary,butisdesignedtoworkwiththeLibrary
bybeingcompiledorlinkedwithit,iscalleda“work
that uses the Library”. Such a work, in isolation, is
notaderivativeworkoftheLibrary,andthereforefalls
outsidethescopeofthisLicense.
However,linking a“work thatuses the Library”with
theLibrarycreates anexecutable thatisa derivative
of the Library (because it contains portions of the
Library),ratherthana“workthatusesthelibrary”.The
executableisthereforecoveredbythisLicense.
Section 6 states terms for distribution of such
executables.
When a “work that uses the Library” uses material
fromaheaderlethatispartoftheLibrary,theobject
code for the work may be a derivative work of the
Libraryeventhoughthesourcecodeisnot.
Whetherthisistrueisespeciallysignicantifthework
can be linked without the Library, or if the work is
itselfalibrary.Thethresholdforthistobetrueisnot
preciselydenedbylaw.
Ifsuchanobjectleusesonlynumericalparameters,
data structure layouts and accessors, and small
macrosandsmallinlinefunctions(tenlinesorlessin
length),thentheuseoftheobjectleisunrestricted,
regardless of whether it is legally a derivative work.
(Executablescontainingthisobjectcodeplusportions
oftheLibrarywillstillfallunderSection6.)
Otherwise,iftheworkisaderivativeoftheLibrary,you
maydistributetheobjectcodefortheworkunderthe
terms of Section 6. Any executables containing that
workalsofallunderSection6,whetherornottheyare
linkeddirectlywiththeLibraryitself.
6. AsanexceptiontotheSectionsabove,youmayalso
combineorlinka“workthatusestheLibrary”withthe
Librarytoproduceawork containingportionsofthe
Library,anddistributethatworkundertermsofyour
choice, provided that the terms permit modication
oftheworkforthecustomer’sownuseandreverse
engineeringfordebuggingsuchmodications.
You must give prominent notice with each copy of
the work that the Library is used in it and that the
LibraryanditsusearecoveredbythisLicense.You
mustsupplyacopyofthisLicense.Iftheworkduring
executiondisplayscopyrightnotices,youmustinclude
thecopyright notice for the Library among them, as
wellasareferencedirectingtheusertothecopyof
thisLicense.Also,youmustdooneofthesethings:
a)Accompany the work with the complete
corresponding machine-readable source code
for the Library including whatever changes were
usedinthework(whichmustbedistributedunder
Sections 1 and 2 above); and, if the work is an
executablelinkedwiththeLibrary,withthecomplete
machine-readable“workthatusestheLibrary”,as
object code and/or source code, so that the user
canmodifytheLibrary andthenrelinktoproduce
a modied executable containing the modied
Library.(Itisunderstoodthattheuserwhochanges
thecontentsofdenitionslesintheLibrarywillnot
necessarilybeabletorecompiletheapplicationto
usethemodieddenitions.)
b)Useasuitablesharedlibrarymechanismforlinking
withtheLibrary.Asuitablemechanismisonethat
(1) uses at run time a copy of the library already
presentontheuser’scomputersystem,ratherthan
copying library functions into the executable, and
(2)willoperateproperlywithamodiedversionof
thelibrary,if the user installs one, as long as the
modied version is interface-compatible with the
versionthattheworkwasmadewith.
c)Accompany the work with a written offer, valid
foratleastthreeyears,togivethesameuserthe
materials specied in Subsection 6a, above, for a
charge no more than the cost of performing this
distribution.
d)Ifdistributionoftheworkismadebyofferingaccess
tocopy from a designated place, offer equivalent
accesstocopytheabovespeciedmaterialsfrom
thesameplace.
e)Verifythattheuserhasalreadyreceivedacopyof
thesematerials orthat youhave alreadysent this
useracopy.
Foranexecutable,therequiredformofthe“workthat
uses the Library” must include any data and utility
programsneededforreproducingtheexecutablefrom
it.However,asaspecialexception,thematerialstobe
distributedneednotincludeanythingthatisnormally
distributed(in either source or binary form)withthe
majorcomponents(compiler,kernel,andsoon)ofthe
operatingsystemonwhichtheexecutableruns,unless
thatcomponentitselfaccompaniestheexecutable.
It may happen that this requirement contradicts the
license restrictions of other proprietary libraries that
do not normally accompany the operating system.
Suchacontradictionmeansyoucannotuseboththem
and the Library together in an executable that you
distribute.
7. Youmayplacelibraryfacilitiesthatareaworkbasedon
theLibraryside-by-sideinasinglelibrarytogetherwith
otherlibraryfacilitiesnotcoveredbythisLicense,and
distributesuch acombined library, providedthat the
separatedistributionoftheworkbasedontheLibrary
andoftheotherlibraryfacilitiesisotherwisepermitted,
andprovidedthatyoudothesetwothings:
a)Accompanythecombinedlibrarywithacopyofthe
sameworkbasedontheLibrary,uncombinedwith
anyotherlibraryfacilities.Thismustbedistributed
underthetermsoftheSectionsabove.
b)Giveprominentnoticewiththecombinedlibraryof
thefactthatpartofitisaworkbasedontheLibrary,
and explaining where to nd the accompanying
uncombinedformofthesamework.
8. You may not copy, modify, sublicense, link with, or
distribute the Library except as expressly provided
underthis License. Any attempt otherwiseto copy,
modify,sublicense,linkwith,ordistributetheLibraryis
void,andwillautomaticallyterminateyourrightsunder
this License. However, parties who have received
copies,orrights,fromyouunderthisLicensewillnot
havetheirlicensesterminatedsolongassuchparties
remaininfullcompliance.
Comments to this Manuals