1 This is the Debian package of the Cairo multi-platform 2D graphics library
3 Packaged by Dave Beckett <dajobe@debian.org>
5 It was downloaded from http://cairographics.org/snapshots/
7 ----------------------------------------------------------------------
8 Copyright 1999 Tom Tromey
9 Copyright 2002, 2003 University of Southern California, Information
10 Sciences Institute (ISI)
11 Copyright 2000, 2002, 2004, 2005 Keith Packard
12 Copyright 2004 Calum Robinson
13 Copyright 2004 Richard D. Worth
14 Copyright 2004, 2005 Red Hat, Inc.
16 Copyright 2004 David Reveman
17 Permission to use, copy, modify, distribute, and sell this software
18 and its documentation for any purpose is hereby granted without
19 fee, provided that the above copyright notice appear in all copies
20 and that both that copyright notice and this permission notice
21 appear in supporting documentation, and that the name of David
22 Reveman not be used in advertising or publicity pertaining to
23 distribution of the software without specific, written prior
24 permission. David Reveman makes no representations about the
25 suitability of this software for any purpose. It is provided "as
26 is" without express or implied warranty.
28 DAVID REVEMAN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
29 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
30 FITNESS, IN NO EVENT SHALL DAVID REVEMAN BE LIABLE FOR ANY SPECIAL,
31 INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
32 RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
33 OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
34 IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
36 Author: David Reveman <davidr@novell.com>
38 ----------------------------------------------------------------------
40 Cairo is free software.
42 Every source file in the implementation of cairo is available to be
43 redistributed and/or modified under the terms of either the GNU Lesser
44 General Public License (LPGL) version 2.1 or the Mozilla Public
45 License (MPL) version 1.1. Some files are available under more
46 liberal terms, but we believe that in all cases, each file may be used
47 under either the LGPL or the MPL.
49 See the following files in this directory for the precise terms and
50 conditions of either license:
55 Please see each file in the implementation for Copyright and licensing
58 ----------------------------------------------------------------------
59 On Debian systems, the complete text of the GNU General Lesser Public
60 License 2.1 can be found in /usr/share/common-licenses/LGPL-2.1
62 The Mozilla Public License 1.1 (COPYING-MPL-1.1 above) follows:
64 MOZILLA PUBLIC LICENSE
71 1.0.1. "Commercial Use" means distribution or otherwise making the
72 Covered Code available to a third party.
74 1.1. "Contributor" means each entity that creates or contributes to
75 the creation of Modifications.
77 1.2. "Contributor Version" means the combination of the Original
78 Code, prior Modifications used by a Contributor, and the Modifications
79 made by that particular Contributor.
81 1.3. "Covered Code" means the Original Code or Modifications or the
82 combination of the Original Code and Modifications, in each case
83 including portions thereof.
85 1.4. "Electronic Distribution Mechanism" means a mechanism generally
86 accepted in the software development community for the electronic
89 1.5. "Executable" means Covered Code in any form other than Source
92 1.6. "Initial Developer" means the individual or entity identified
93 as the Initial Developer in the Source Code notice required by Exhibit
96 1.7. "Larger Work" means a work which combines Covered Code or
97 portions thereof with code not governed by the terms of this License.
99 1.8. "License" means this document.
101 1.8.1. "Licensable" means having the right to grant, to the maximum
102 extent possible, whether at the time of the initial grant or
103 subsequently acquired, any and all of the rights conveyed herein.
105 1.9. "Modifications" means any addition to or deletion from the
106 substance or structure of either the Original Code or any previous
107 Modifications. When Covered Code is released as a series of files, a
109 A. Any addition to or deletion from the contents of a file
110 containing Original Code or previous Modifications.
112 B. Any new file that contains any part of the Original Code or
113 previous Modifications.
115 1.10. "Original Code" means Source Code of computer software code
116 which is described in the Source Code notice required by Exhibit A as
117 Original Code, and which, at the time of its release under this
118 License is not already Covered Code governed by this License.
120 1.10.1. "Patent Claims" means any patent claim(s), now owned or
121 hereafter acquired, including without limitation, method, process,
122 and apparatus claims, in any patent Licensable by grantor.
124 1.11. "Source Code" means the preferred form of the Covered Code for
125 making modifications to it, including all modules it contains, plus
126 any associated interface definition files, scripts used to control
127 compilation and installation of an Executable, or source code
128 differential comparisons against either the Original Code or another
129 well known, available Covered Code of the Contributor's choice. The
130 Source Code can be in a compressed or archival form, provided the
131 appropriate decompression or de-archiving software is widely available
134 1.12. "You" (or "Your") means an individual or a legal entity
135 exercising rights under, and complying with all of the terms of, this
136 License or a future version of this License issued under Section 6.1.
137 For legal entities, "You" includes any entity which controls, is
138 controlled by, or is under common control with You. For purposes of
139 this definition, "control" means (a) the power, direct or indirect,
140 to cause the direction or management of such entity, whether by
141 contract or otherwise, or (b) ownership of more than fifty percent
142 (50%) of the outstanding shares or beneficial ownership of such
145 2. Source Code License.
147 2.1. The Initial Developer Grant.
148 The Initial Developer hereby grants You a world-wide, royalty-free,
149 non-exclusive license, subject to third party intellectual property
151 (a) under intellectual property rights (other than patent or
152 trademark) Licensable by Initial Developer to use, reproduce,
153 modify, display, perform, sublicense and distribute the Original
154 Code (or portions thereof) with or without Modifications, and/or
155 as part of a Larger Work; and
157 (b) under Patents Claims infringed by the making, using or
158 selling of Original Code, to make, have made, use, practice,
159 sell, and offer for sale, and/or otherwise dispose of the
160 Original Code (or portions thereof).
162 (c) the licenses granted in this Section 2.1(a) and (b) are
163 effective on the date Initial Developer first distributes
164 Original Code under the terms of this License.
166 (d) Notwithstanding Section 2.1(b) above, no patent license is
167 granted: 1) for code that You delete from the Original Code; 2)
168 separate from the Original Code; or 3) for infringements caused
169 by: i) the modification of the Original Code or ii) the
170 combination of the Original Code with other software or devices.
172 2.2. Contributor Grant.
173 Subject to third party intellectual property claims, each Contributor
174 hereby grants You a world-wide, royalty-free, non-exclusive license
176 (a) under intellectual property rights (other than patent or
177 trademark) Licensable by Contributor, to use, reproduce, modify,
178 display, perform, sublicense and distribute the Modifications
179 created by such Contributor (or portions thereof) either on an
180 unmodified basis, with other Modifications, as Covered Code
181 and/or as part of a Larger Work; and
183 (b) under Patent Claims infringed by the making, using, or
184 selling of Modifications made by that Contributor either alone
185 and/or in combination with its Contributor Version (or portions
186 of such combination), to make, use, sell, offer for sale, have
187 made, and/or otherwise dispose of: 1) Modifications made by that
188 Contributor (or portions thereof); and 2) the combination of
189 Modifications made by that Contributor with its Contributor
190 Version (or portions of such combination).
192 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
193 effective on the date Contributor first makes Commercial Use of
196 (d) Notwithstanding Section 2.2(b) above, no patent license is
197 granted: 1) for any code that Contributor has deleted from the
198 Contributor Version; 2) separate from the Contributor Version;
199 3) for infringements caused by: i) third party modifications of
200 Contributor Version or ii) the combination of Modifications made
201 by that Contributor with other software (except as part of the
202 Contributor Version) or other devices; or 4) under Patent Claims
203 infringed by Covered Code in the absence of Modifications made by
206 3. Distribution Obligations.
208 3.1. Application of License.
209 The Modifications which You create or to which You contribute are
210 governed by the terms of this License, including without limitation
211 Section 2.2. The Source Code version of Covered Code may be
212 distributed only under the terms of this License or a future version
213 of this License released under Section 6.1, and You must include a
214 copy of this License with every copy of the Source Code You
215 distribute. You may not offer or impose any terms on any Source Code
216 version that alters or restricts the applicable version of this
217 License or the recipients' rights hereunder. However, You may include
218 an additional document offering the additional rights described in
221 3.2. Availability of Source Code.
222 Any Modification which You create or to which You contribute must be
223 made available in Source Code form under the terms of this License
224 either on the same media as an Executable version or via an accepted
225 Electronic Distribution Mechanism to anyone to whom you made an
226 Executable version available; and if made available via Electronic
227 Distribution Mechanism, must remain available for at least twelve (12)
228 months after the date it initially became available, or at least six
229 (6) months after a subsequent version of that particular Modification
230 has been made available to such recipients. You are responsible for
231 ensuring that the Source Code version remains available even if the
232 Electronic Distribution Mechanism is maintained by a third party.
234 3.3. Description of Modifications.
235 You must cause all Covered Code to which You contribute to contain a
236 file documenting the changes You made to create that Covered Code and
237 the date of any change. You must include a prominent statement that
238 the Modification is derived, directly or indirectly, from Original
239 Code provided by the Initial Developer and including the name of the
240 Initial Developer in (a) the Source Code, and (b) in any notice in an
241 Executable version or related documentation in which You describe the
242 origin or ownership of the Covered Code.
244 3.4. Intellectual Property Matters
245 (a) Third Party Claims.
246 If Contributor has knowledge that a license under a third party's
247 intellectual property rights is required to exercise the rights
248 granted by such Contributor under Sections 2.1 or 2.2,
249 Contributor must include a text file with the Source Code
250 distribution titled "LEGAL" which describes the claim and the
251 party making the claim in sufficient detail that a recipient will
252 know whom to contact. If Contributor obtains such knowledge after
253 the Modification is made available as described in Section 3.2,
254 Contributor shall promptly modify the LEGAL file in all copies
255 Contributor makes available thereafter and shall take other steps
256 (such as notifying appropriate mailing lists or newsgroups)
257 reasonably calculated to inform those who received the Covered
258 Code that new knowledge has been obtained.
260 (b) Contributor APIs.
261 If Contributor's Modifications include an application programming
262 interface and Contributor has knowledge of patent licenses which
263 are reasonably necessary to implement that API, Contributor must
264 also include this information in the LEGAL file.
267 Contributor represents that, except as disclosed pursuant to
268 Section 3.4(a) above, Contributor believes that Contributor's
269 Modifications are Contributor's original creation(s) and/or
270 Contributor has sufficient rights to grant the rights conveyed by
273 3.5. Required Notices.
274 You must duplicate the notice in Exhibit A in each file of the Source
275 Code. If it is not possible to put such notice in a particular Source
276 Code file due to its structure, then You must include such notice in a
277 location (such as a relevant directory) where a user would be likely
278 to look for such a notice. If You created one or more Modification(s)
279 You may add your name as a Contributor to the notice described in
280 Exhibit A. You must also duplicate this License in any documentation
281 for the Source Code where You describe recipients' rights or ownership
282 rights relating to Covered Code. You may choose to offer, and to
283 charge a fee for, warranty, support, indemnity or liability
284 obligations to one or more recipients of Covered Code. However, You
285 may do so only on Your own behalf, and not on behalf of the Initial
286 Developer or any Contributor. You must make it absolutely clear than
287 any such warranty, support, indemnity or liability obligation is
288 offered by You alone, and You hereby agree to indemnify the Initial
289 Developer and every Contributor for any liability incurred by the
290 Initial Developer or such Contributor as a result of warranty,
291 support, indemnity or liability terms You offer.
293 3.6. Distribution of Executable Versions.
294 You may distribute Covered Code in Executable form only if the
295 requirements of Section 3.1-3.5 have been met for that Covered Code,
296 and if You include a notice stating that the Source Code version of
297 the Covered Code is available under the terms of this License,
298 including a description of how and where You have fulfilled the
299 obligations of Section 3.2. The notice must be conspicuously included
300 in any notice in an Executable version, related documentation or
301 collateral in which You describe recipients' rights relating to the
302 Covered Code. You may distribute the Executable version of Covered
303 Code or ownership rights under a license of Your choice, which may
304 contain terms different from this License, provided that You are in
305 compliance with the terms of this License and that the license for the
306 Executable version does not attempt to limit or alter the recipient's
307 rights in the Source Code version from the rights set forth in this
308 License. If You distribute the Executable version under a different
309 license You must make it absolutely clear that any terms which differ
310 from this License are offered by You alone, not by the Initial
311 Developer or any Contributor. You hereby agree to indemnify the
312 Initial Developer and every Contributor for any liability incurred by
313 the Initial Developer or such Contributor as a result of any such
317 You may create a Larger Work by combining Covered Code with other code
318 not governed by the terms of this License and distribute the Larger
319 Work as a single product. In such a case, You must make sure the
320 requirements of this License are fulfilled for the Covered Code.
322 4. Inability to Comply Due to Statute or Regulation.
324 If it is impossible for You to comply with any of the terms of this
325 License with respect to some or all of the Covered Code due to
326 statute, judicial order, or regulation then You must: (a) comply with
327 the terms of this License to the maximum extent possible; and (b)
328 describe the limitations and the code they affect. Such description
329 must be included in the LEGAL file described in Section 3.4 and must
330 be included with all distributions of the Source Code. Except to the
331 extent prohibited by statute or regulation, such description must be
332 sufficiently detailed for a recipient of ordinary skill to be able to
335 5. Application of this License.
337 This License applies to code to which the Initial Developer has
338 attached the notice in Exhibit A and to related Covered Code.
340 6. Versions of the License.
343 Netscape Communications Corporation ("Netscape") may publish revised
344 and/or new versions of the License from time to time. Each version
345 will be given a distinguishing version number.
347 6.2. Effect of New Versions.
348 Once Covered Code has been published under a particular version of the
349 License, You may always continue to use it under the terms of that
350 version. You may also choose to use such Covered Code under the terms
351 of any subsequent version of the License published by Netscape. No one
352 other than Netscape has the right to modify the terms applicable to
353 Covered Code created under this License.
355 6.3. Derivative Works.
356 If You create or use a modified version of this License (which you may
357 only do in order to apply it to code which is not already Covered Code
358 governed by this License), You must (a) rename Your license so that
359 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
360 "MPL", "NPL" or any confusingly similar phrase do not appear in your
361 license (except to note that your license differs from this License)
362 and (b) otherwise make it clear that Your version of the license
363 contains terms which differ from the Mozilla Public License and
364 Netscape Public License. (Filling in the name of the Initial
365 Developer, Original Code or Contributor in the notice described in
366 Exhibit A shall not of themselves be deemed to be modifications of
369 7. DISCLAIMER OF WARRANTY.
371 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
372 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
373 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
374 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
375 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
376 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
377 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
378 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
379 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
380 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
384 8.1. This License and the rights granted hereunder will terminate
385 automatically if You fail to comply with terms herein and fail to cure
386 such breach within 30 days of becoming aware of the breach. All
387 sublicenses to the Covered Code which are properly granted shall
388 survive any termination of this License. Provisions which, by their
389 nature, must remain in effect beyond the termination of this License
392 8.2. If You initiate litigation by asserting a patent infringement
393 claim (excluding declatory judgment actions) against Initial Developer
394 or a Contributor (the Initial Developer or Contributor against whom
395 You file such action is referred to as "Participant") alleging that:
397 (a) such Participant's Contributor Version directly or indirectly
398 infringes any patent, then any and all rights granted by such
399 Participant to You under Sections 2.1 and/or 2.2 of this License
400 shall, upon 60 days notice from Participant terminate prospectively,
401 unless if within 60 days after receipt of notice You either: (i)
402 agree in writing to pay Participant a mutually agreeable reasonable
403 royalty for Your past and future use of Modifications made by such
404 Participant, or (ii) withdraw Your litigation claim with respect to
405 the Contributor Version against such Participant. If within 60 days
406 of notice, a reasonable royalty and payment arrangement are not
407 mutually agreed upon in writing by the parties or the litigation claim
408 is not withdrawn, the rights granted by Participant to You under
409 Sections 2.1 and/or 2.2 automatically terminate at the expiration of
410 the 60 day notice period specified above.
412 (b) any software, hardware, or device, other than such Participant's
413 Contributor Version, directly or indirectly infringes any patent, then
414 any rights granted to You by such Participant under Sections 2.1(b)
415 and 2.2(b) are revoked effective as of the date You first made, used,
416 sold, distributed, or had made, Modifications made by that
419 8.3. If You assert a patent infringement claim against Participant
420 alleging that such Participant's Contributor Version directly or
421 indirectly infringes any patent where such claim is resolved (such as
422 by license or settlement) prior to the initiation of patent
423 infringement litigation, then the reasonable value of the licenses
424 granted by such Participant under Sections 2.1 or 2.2 shall be taken
425 into account in determining the amount or value of any payment or
428 8.4. In the event of termination under Sections 8.1 or 8.2 above,
429 all end user license agreements (excluding distributors and resellers)
430 which have been validly granted by You or any distributor hereunder
431 prior to termination shall survive termination.
433 9. LIMITATION OF LIABILITY.
435 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
436 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
437 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
438 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
439 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
440 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
441 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
442 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
443 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
444 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
445 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
446 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
447 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
448 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
450 10. U.S. GOVERNMENT END USERS.
452 The Covered Code is a "commercial item," as that term is defined in
453 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
454 software" and "commercial computer software documentation," as such
455 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
456 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
457 all U.S. Government End Users acquire Covered Code with only those
458 rights set forth herein.
462 This License represents the complete agreement concerning subject
463 matter hereof. If any provision of this License is held to be
464 unenforceable, such provision shall be reformed only to the extent
465 necessary to make it enforceable. This License shall be governed by
466 California law provisions (except to the extent applicable law, if
467 any, provides otherwise), excluding its conflict-of-law provisions.
468 With respect to disputes in which at least one party is a citizen of,
469 or an entity chartered or registered to do business in the United
470 States of America, any litigation relating to this License shall be
471 subject to the jurisdiction of the Federal Courts of the Northern
472 District of California, with venue lying in Santa Clara County,
473 California, with the losing party responsible for costs, including
474 without limitation, court costs and reasonable attorneys' fees and
475 expenses. The application of the United Nations Convention on
476 Contracts for the International Sale of Goods is expressly excluded.
477 Any law or regulation which provides that the language of a contract
478 shall be construed against the drafter shall not apply to this
481 12. RESPONSIBILITY FOR CLAIMS.
483 As between Initial Developer and the Contributors, each party is
484 responsible for claims and damages arising, directly or indirectly,
485 out of its utilization of rights under this License and You agree to
486 work with Initial Developer and Contributors to distribute such
487 responsibility on an equitable basis. Nothing herein is intended or
488 shall be deemed to constitute any admission of liability.
490 13. MULTIPLE-LICENSED CODE.
492 Initial Developer may designate portions of the Covered Code as
493 "Multiple-Licensed". "Multiple-Licensed" means that the Initial
494 Developer permits you to utilize portions of the Covered Code under
495 Your choice of the NPL or the alternative licenses, if any, specified
496 by the Initial Developer in the file described in Exhibit A.
498 EXHIBIT A -Mozilla Public License.
500 ``The contents of this file are subject to the Mozilla Public License
501 Version 1.1 (the "License"); you may not use this file except in
502 compliance with the License. You may obtain a copy of the License at
503 http://www.mozilla.org/MPL/
505 Software distributed under the License is distributed on an "AS IS"
506 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
507 License for the specific language governing rights and limitations
510 The Original Code is ______________________________________.
512 The Initial Developer of the Original Code is ________________________.
513 Portions created by ______________________ are Copyright (C) ______
514 _______________________. All Rights Reserved.
516 Contributor(s): ______________________________________.
518 Alternatively, the contents of this file may be used under the terms
519 of the _____ license (the "[___] License"), in which case the
520 provisions of [______] License are applicable instead of those
521 above. If you wish to allow use of your version of this file only
522 under the terms of the [____] License and not to allow others to use
523 your version of this file under the MPL, indicate your decision by
524 deleting the provisions above and replace them with the notice and
525 other provisions required by the [___] License. If you do not delete
526 the provisions above, a recipient may use your version of this file
527 under either the MPL or the [___] License."
529 [NOTE: The text of this Exhibit A may differ slightly from the text of
530 the notices in the Source Code files of the Original Code. You should
531 use the text of this Exhibit A rather than the text found in the
532 Original Code Source Code for Your Modifications.]