1.YoumaycopyanddistributeverbatimcopiesoftheLibrary'scompletesourcecodeas
youreceiveit,inanymedium,providedthatyouconspicuouslyandappropriatelypublish
oneachcopyanappropriatecopyrightnoticeanddisclaimerofwarranty;keepintactall
thenoticesthatrefertothisLicenseandtotheabsenceofanywarranty;anddistributea
copyofthisLicensealongwiththeLibrary.
Youmaychargeafeeforthephysicalactoftransferringacopy,andyoumayatyouroption
offerwarrantyprotectioninexchangeforafee.
2.YoumaymodifyyourcopyorcopiesoftheLibraryoranyportionofit,thusforminga
workbasedontheLibrary,andcopyanddistributesuchmodificationsorworkunderthe
termsofSection1above,providedthatyoualsomeetalloftheseconditions:
a)Themodifiedworkmustitselfbeasoftwarelibrary.
b)Youmustcausethefilesmodifiedtocarryprominentnoticesstatingthatyouchanged
thefilesandthedateofanychange.
c)Youmustcausethewholeoftheworktobelicensedatnochargetoallthirdparties
underthetermsofthisLicense.
d)IfafacilityinthemodifiedLibraryreferstoafunctionoratableofdatatobesuppliedby
anapplicationprogramthatusesthefacility,otherthanasanargumentpassedwhenthe
facilityisinvoked,thenyoumustmakeagoodfaithefforttoensurethat,intheeventan
applicationdoesnotsupplysuchfunctionortable,thefacilitystilloperates,andperforms
whateverpartofitspurposeremainsmeaningful.
(Forexample,afunctioninalibrarytocomputesquarerootshasapurposethatisentirely
well-definedindependentoftheapplication.Therefore,Subsection2drequiresthatany
application-suppliedfunctionortableusedbythisfunctionmustbeoptional:ifthe
applicationdoesnotsupplyit,thesquarerootfunctionmuststillcomputesquareroots.)
Theserequirementsapplytothemodifiedworkasawhole.Ifidentifiablesectionsofthat
workarenotderivedfromtheLibrary,andcanbereasonablyconsideredindependentand
separateworksinthemselves,thenthisLicense,anditsterms,donotapplytothose
sectionswhenyoudistributethemasseparateworks.Butwhenyoudistributethesame
sectionsaspartofawholewhichisaworkbasedontheLibrary,thedistributionofthe
wholemustbeonthetermsofthisLicense,whosepermissionsforotherlicenseesextend
totheentirewhole,andthustoeachandeverypartregardlessofwhowroteit.
Thus,itisnottheintentofthissectiontoclaimrightsorcontestyourrightstoworkwritten
entirelybyyou;rather,theintentistoexercisetherighttocontrolthedistributionof
derivativeorcollectiveworksbasedontheLibrary.
Inaddition,mereaggregationofanotherworknotbasedontheLibrarywiththeLibrary(or