~ubuntu-branches/ubuntu/lucid/ocamlgraph/lucid

« back to all changes in this revision

Viewing changes to LICENSE

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Le Gall, Sylvain Le Gall, Stephane Glondu, Stefano Zacchiroli
  • Date: 2009-03-20 12:42:55 UTC
  • mfrom: (1.1.6 upstream) (3.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090320124255-iail4ozyjoz9pqyi
Tags: 1.0-1
[ Sylvain Le Gall ]
* New upstream release:
  * Don't ship viewgraph which is segfaulting
  * Update 01_makefile.dpatch
  * Don't use upstream documentation, since there is a bug in viewgraph
    that prevent generating it
* Update copyright file to something more compliant with
  http://wiki.debian.org/Proposals/CopyrightFormat
* Add build-dependency on dh-ocaml
* Upgrade Standards-Version to 3.8.0 (debian/README.source)

[ Stephane Glondu ]
* Switch packaging to git

[ Stefano Zacchiroli ]
* debian/control: add missing ${misc:Depends}
* bump debhelper compatibility level to 7
* debian/rules: use ocaml.mk as a CDBS "rules" snippet

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
The Library is distributed under the terms of the GNU Library General
2
 
Public License version 2 (included below). 
 
2
Public License version 2.1 (included below). 
3
3
 
4
4
As a special exception to the GNU Library General Public License, you
5
5
may link, statically or dynamically, a "work that uses the Library"
16
16
Public License.  
17
17
 
18
18
======================================================================
19
 
                  GNU LIBRARY GENERAL PUBLIC LICENSE
20
 
                       Version 2, June 1991
21
 
 
22
 
 Copyright (C) 1991 Free Software Foundation, Inc.
23
 
                    59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
19
 
 
20
                  GNU LESSER GENERAL PUBLIC LICENSE
 
21
                       Version 2.1, February 1999
 
22
 
 
23
 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
 
24
        51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
24
25
 Everyone is permitted to copy and distribute verbatim copies
25
26
 of this license document, but changing it is not allowed.
26
27
 
27
 
[This is the first released version of the library GPL.  It is
28
 
 numbered 2 because it goes with version 2 of the ordinary GPL.]
 
28
[This is the first released version of the Lesser GPL.  It also counts
 
29
 as the successor of the GNU Library Public License, version 2, hence
 
30
 the version number 2.1.]
29
31
 
30
 
                            Preamble
 
32
                            Preamble
31
33
 
32
34
  The licenses for most software are designed to take away your
33
35
freedom to share and change it.  By contrast, the GNU General Public
34
36
Licenses are intended to guarantee your freedom to share and change
35
37
free software--to make sure the software is free for all its users.
36
38
 
37
 
  This license, the Library General Public License, applies to some
38
 
specially designated Free Software Foundation software, and to any
39
 
other libraries whose authors decide to use it.  You can use it for
40
 
your libraries, too.
 
39
  This license, the Lesser General Public License, applies to some
 
40
specially designated software packages--typically libraries--of the
 
41
Free Software Foundation and other authors who decide to use it.  You
 
42
can use it too, but we suggest you first think carefully about whether
 
43
this license or the ordinary General Public License is the better
 
44
strategy to use in any particular case, based on the explanations
 
45
below.
41
46
 
42
 
  When we speak of free software, we are referring to freedom, not
43
 
price.  Our General Public Licenses are designed to make sure that you
44
 
have the freedom to distribute copies of free software (and charge for
45
 
this service if you wish), that you receive source code or can get it
46
 
if you want it, that you can change the software or use pieces of it
47
 
in new free programs; and that you know you can do these things.
 
47
  When we speak of free software, we are referring to freedom of use,
 
48
not price.  Our General Public Licenses are designed to make sure that
 
49
you have the freedom to distribute copies of free software (and charge
 
50
for this service if you wish); that you receive source code or can get
 
51
it if you want it; that you can change the software and use pieces of
 
52
it in new free programs; and that you are informed that you can do
 
53
these things.
48
54
 
49
55
  To protect your rights, we need to make restrictions that forbid
50
 
anyone to deny you these rights or to ask you to surrender the rights.
51
 
These restrictions translate to certain responsibilities for you if
52
 
you distribute copies of the library, or if you modify it.
 
56
distributors to deny you these rights or to ask you to surrender these
 
57
rights.  These restrictions translate to certain responsibilities for
 
58
you if you distribute copies of the library or if you modify it.
53
59
 
54
60
  For example, if you distribute copies of the library, whether gratis
55
61
or for a fee, you must give the recipients all the rights that we gave
56
62
you.  You must make sure that they, too, receive or can get the source
57
 
code.  If you link a program with the library, you must provide
58
 
complete object files to the recipients so that they can relink them
59
 
with the library, after making changes to the library and recompiling
 
63
code.  If you link other code with the library, you must provide
 
64
complete object files to the recipients, so that they can relink them
 
65
with the library after making changes to the library and recompiling
60
66
it.  And you must show them these terms so they know their rights.
61
67
 
62
 
  Our method of protecting your rights has two steps: (1) copyright
63
 
the library, and (2) offer you this license which gives you legal
 
68
  We protect your rights with a two-step method: (1) we copyright the
 
69
library, and (2) we offer you this license, which gives you legal
64
70
permission to copy, distribute and/or modify the library.
65
71
 
66
 
  Also, for each distributor's protection, we want to make certain
67
 
that everyone understands that there is no warranty for this free
68
 
library.  If the library is modified by someone else and passed on, we
69
 
want its recipients to know that what they have is not the original
70
 
version, so that any problems introduced by others will not reflect on
71
 
the original authors' reputations.
 
72
  To protect each distributor, we want to make it very clear that
 
73
there is no warranty for the free library.  Also, if the library is
 
74
modified by someone else and passed on, the recipients should know
 
75
that what they have is not the original version, so that the original
 
76
author's reputation will not be affected by problems that might be
 
77
introduced by others.
72
78
 
73
 
  Finally, any free program is threatened constantly by software
74
 
patents.  We wish to avoid the danger that companies distributing free
75
 
software will individually obtain patent licenses, thus in effect
76
 
transforming the program into proprietary software.  To prevent this,
77
 
we have made it clear that any patent must be licensed for everyone's
78
 
free use or not licensed at all.
79
 
 
80
 
  Most GNU software, including some libraries, is covered by the ordinary
81
 
GNU General Public License, which was designed for utility programs.  This
82
 
license, the GNU Library General Public License, applies to certain
83
 
designated libraries.  This license is quite different from the ordinary
84
 
one; be sure to read it in full, and don't assume that anything in it is
85
 
the same as in the ordinary license.
86
 
 
87
 
  The reason we have a separate public license for some libraries is that
88
 
they blur the distinction we usually make between modifying or adding to a
89
 
program and simply using it.  Linking a program with a library, without
90
 
changing the library, is in some sense simply using the library, and is
91
 
analogous to running a utility program or application program.  However, in
92
 
a textual and legal sense, the linked executable is a combined work, a
93
 
derivative of the original library, and the ordinary General Public License
94
 
treats it as such.
95
 
 
96
 
  Because of this blurred distinction, using the ordinary General
97
 
Public License for libraries did not effectively promote software
98
 
sharing, because most developers did not use the libraries.  We
99
 
concluded that weaker conditions might promote sharing better.
100
 
 
101
 
  However, unrestricted linking of non-free programs would deprive the
102
 
users of those programs of all benefit from the free status of the
103
 
libraries themselves.  This Library General Public License is intended to
104
 
permit developers of non-free programs to use free libraries, while
105
 
preserving your freedom as a user of such programs to change the free
106
 
libraries that are incorporated in them.  (We have not seen how to achieve
107
 
this as regards changes in header files, but we have achieved it as regards
108
 
changes in the actual functions of the Library.)  The hope is that this
109
 
will lead to faster development of free libraries.
 
79
  Finally, software patents pose a constant threat to the existence of
 
80
any free program.  We wish to make sure that a company cannot
 
81
effectively restrict the users of a free program by obtaining a
 
82
restrictive license from a patent holder.  Therefore, we insist that
 
83
any patent license obtained for a version of the library must be
 
84
consistent with the full freedom of use specified in this license.
 
85
 
 
86
  Most GNU software, including some libraries, is covered by the
 
87
ordinary GNU General Public License.  This license, the GNU Lesser
 
88
General Public License, applies to certain designated libraries, and
 
89
is quite different from the ordinary General Public License.  We use
 
90
this license for certain libraries in order to permit linking those
 
91
libraries into non-free programs.
 
92
 
 
93
  When a program is linked with a library, whether statically or using
 
94
a shared library, the combination of the two is legally speaking a
 
95
combined work, a derivative of the original library.  The ordinary
 
96
General Public License therefore permits such linking only if the
 
97
entire combination fits its criteria of freedom.  The Lesser General
 
98
Public License permits more lax criteria for linking other code with
 
99
the library.
 
100
 
 
101
  We call this license the "Lesser" General Public License because it
 
102
does Less to protect the user's freedom than the ordinary General
 
103
Public License.  It also provides other free software developers Less
 
104
of an advantage over competing non-free programs.  These disadvantages
 
105
are the reason we use the ordinary General Public License for many
 
106
libraries.  However, the Lesser license provides advantages in certain
 
107
special circumstances.
 
108
 
 
109
  For example, on rare occasions, there may be a special need to
 
110
encourage the widest possible use of a certain library, so that it
 
111
becomes a de-facto standard.  To achieve this, non-free programs must
 
112
be allowed to use the library.  A more frequent case is that a free
 
113
library does the same job as widely used non-free libraries.  In this
 
114
case, there is little to gain by limiting the free library to free
 
115
software only, so we use the Lesser General Public License.
 
116
 
 
117
  In other cases, permission to use a particular library in non-free
 
118
programs enables a greater number of people to use a large body of
 
119
free software.  For example, permission to use the GNU C Library in
 
120
non-free programs enables many more people to use the whole GNU
 
121
operating system, as well as its variant, the GNU/Linux operating
 
122
system.
 
123
 
 
124
  Although the Lesser General Public License is Less protective of the
 
125
users' freedom, it does ensure that the user of a program that is
 
126
linked with the Library has the freedom and the wherewithal to run
 
127
that program using a modified version of the Library.
110
128
 
111
129
  The precise terms and conditions for copying, distribution and
112
130
modification follow.  Pay close attention to the difference between a
113
131
"work based on the library" and a "work that uses the library".  The
114
 
former contains code derived from the library, while the latter only
115
 
works together with the library.
116
 
 
117
 
  Note that it is possible for a library to be covered by the ordinary
118
 
General Public License rather than by this special one.
 
132
former contains code derived from the library, whereas the latter must
 
133
be combined with the library in order to run.
119
134
 
120
 
                  GNU LIBRARY GENERAL PUBLIC LICENSE
 
135
                  GNU LESSER GENERAL PUBLIC LICENSE
121
136
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
122
137
 
123
 
  0. This License Agreement applies to any software library which
124
 
contains a notice placed by the copyright holder or other authorized
125
 
party saying it may be distributed under the terms of this Library
126
 
General Public License (also called "this License").  Each licensee is
127
 
addressed as "you".
 
138
  0. This License Agreement applies to any software library or other
 
139
program which contains a notice placed by the copyright holder or
 
140
other authorized party saying it may be distributed under the terms of
 
141
this Lesser General Public License (also called "this License").
 
142
Each licensee is addressed as "you".
128
143
 
129
144
  A "library" means a collection of software functions and/or data
130
145
prepared so as to be conveniently linked with application programs
141
156
  "Source code" for a work means the preferred form of the work for
142
157
making modifications to it.  For a library, complete source code means
143
158
all the source code for all modules it contains, plus any associated
144
 
interface definition files, plus the scripts used to control compilation
145
 
and installation of the library.
 
159
interface definition files, plus the scripts used to control
 
160
compilation and installation of the library.
146
161
 
147
162
  Activities other than copying, distribution and modification are not
148
163
covered by this License; they are outside its scope.  The act of
151
166
on the Library (independent of the use of the Library in a tool for
152
167
writing it).  Whether that is true depends on what the Library does
153
168
and what the program that uses the Library does.
154
 
  
 
169
 
155
170
  1. You may copy and distribute verbatim copies of the Library's
156
171
complete source code as you receive it, in any medium, provided that
157
172
you conspicuously and appropriately publish on each copy an
273
288
Any executables containing that work also fall under Section 6,
274
289
whether or not they are linked directly with the Library itself.
275
290
 
276
 
  6. As an exception to the Sections above, you may also compile or
 
291
  6. As an exception to the Sections above, you may also combine or
277
292
link a "work that uses the Library" with the Library to produce a
278
293
work containing portions of the Library, and distribute that work
279
294
under terms of your choice, provided that the terms permit
300
315
    Library will not necessarily be able to recompile the application
301
316
    to use the modified definitions.)
302
317
 
303
 
    b) Accompany the work with a written offer, valid for at
304
 
    least three years, to give the same user the materials
305
 
    specified in Subsection 6a, above, for a charge no more
306
 
    than the cost of performing this distribution.
307
 
 
308
 
    c) If distribution of the work is made by offering access to copy
 
318
    b) Use a suitable shared library mechanism for linking with the
 
319
    Library.  A suitable mechanism is one that (1) uses at run time a
 
320
    copy of the library already present on the user's computer system,
 
321
    rather than copying library functions into the executable, and (2)
 
322
    will operate properly with a modified version of the library, if
 
323
    the user installs one, as long as the modified version is
 
324
    interface-compatible with the version that the work was made with.
 
325
 
 
326
    c) Accompany the work with a written offer, valid for at least
 
327
    three years, to give the same user the materials specified in
 
328
    Subsection 6a, above, for a charge no more than the cost of
 
329
    performing this distribution.
 
330
 
 
331
    d) If distribution of the work is made by offering access to copy
309
332
    from a designated place, offer equivalent access to copy the above
310
333
    specified materials from the same place.
311
334
 
312
 
    d) Verify that the user has already received a copy of these
 
335
    e) Verify that the user has already received a copy of these
313
336
    materials or that you have already sent this user a copy.
314
337
 
315
338
  For an executable, the required form of the "work that uses the
316
339
Library" must include any data and utility programs needed for
317
340
reproducing the executable from it.  However, as a special exception,
318
 
the source code distributed need not include anything that is normally
319
 
distributed (in either source or binary form) with the major
 
341
the materials to be distributed need not include anything that is
 
342
normally distributed (in either source or binary form) with the major
320
343
components (compiler, kernel, and so on) of the operating system on
321
344
which the executable runs, unless that component itself accompanies
322
345
the executable.
365
388
original licensor to copy, distribute, link with or modify the Library
366
389
subject to these terms and conditions.  You may not impose any further
367
390
restrictions on the recipients' exercise of the rights granted herein.
368
 
You are not responsible for enforcing compliance by third parties to
 
391
You are not responsible for enforcing compliance by third parties with
369
392
this License.
370
393
 
371
394
  11. If, as a consequence of a court judgment or allegation of patent
381
404
the only way you could satisfy both it and this License would be to
382
405
refrain entirely from distribution of the Library.
383
406
 
384
 
If any portion of this section is held invalid or unenforceable under any
385
 
particular circumstance, the balance of the section is intended to apply,
386
 
and the section as a whole is intended to apply in other circumstances.
 
407
If any portion of this section is held invalid or unenforceable under
 
408
any particular circumstance, the balance of the section is intended to
 
409
apply, and the section as a whole is intended to apply in other
 
410
circumstances.
387
411
 
388
412
It is not the purpose of this section to induce you to infringe any
389
413
patents or other property right claims or to contest validity of any
401
425
 
402
426
  12. If the distribution and/or use of the Library is restricted in
403
427
certain countries either by patents or by copyrighted interfaces, the
404
 
original copyright holder who places the Library under this License may add
405
 
an explicit geographical distribution limitation excluding those countries,
406
 
so that distribution is permitted only in or among countries not thus
407
 
excluded.  In such case, this License incorporates the limitation as if
408
 
written in the body of this License.
 
428
original copyright holder who places the Library under this License
 
429
may add an explicit geographical distribution limitation excluding those
 
430
countries, so that distribution is permitted only in or among
 
431
countries not thus excluded.  In such case, this License incorporates
 
432
the limitation as if written in the body of this License.
409
433
 
410
434
  13. The Free Software Foundation may publish revised and/or new
411
 
versions of the Library General Public License from time to time.
 
435
versions of the Lesser General Public License from time to time.
412
436
Such new versions will be similar in spirit to the present version,
413
437
but may differ in detail to address new problems or concerns.
414
438
 
429
453
of all derivatives of our free software and of promoting the sharing
430
454
and reuse of software generally.
431
455
 
432
 
                            NO WARRANTY
 
456
                            NO WARRANTY
433
457
 
434
458
  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
435
459
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
452
476
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
453
477
DAMAGES.
454
478
 
455
 
                     END OF TERMS AND CONDITIONS
 
479
                     END OF TERMS AND CONDITIONS
456
480
 
457
481
           How to Apply These Terms to Your New Libraries
458
482
 
459
483
  If you develop a new library, and you want it to be of the greatest
460
484
possible use to the public, we recommend making it free software that
461
485
everyone can redistribute and change.  You can do so by permitting
462
 
redistribution under these terms (or, alternatively, under the terms of the
463
 
ordinary General Public License).
464
 
 
465
 
  To apply these terms, attach the following notices to the library.  It is
466
 
safest to attach them to the start of each source file to most effectively
467
 
convey the exclusion of warranty; and each file should have at least the
468
 
"copyright" line and a pointer to where the full notice is found.
 
486
redistribution under these terms (or, alternatively, under the terms
 
487
of the ordinary General Public License).
 
488
 
 
489
  To apply these terms, attach the following notices to the library.
 
490
It is safest to attach them to the start of each source file to most
 
491
effectively convey the exclusion of warranty; and each file should
 
492
have at least the "copyright" line and a pointer to where the full
 
493
notice is found.
 
494
 
469
495
 
470
496
    <one line to give the library's name and a brief idea of what it does.>
471
497
    Copyright (C) <year>  <name of author>
472
498
 
473
499
    This library is free software; you can redistribute it and/or
474
 
    modify it under the terms of the GNU Library General Public
 
500
    modify it under the terms of the GNU Lesser General Public
475
501
    License as published by the Free Software Foundation; either
476
 
    version 2 of the License, or (at your option) any later version.
 
502
    version 2.1 of the License, or (at your option) any later version.
477
503
 
478
504
    This library is distributed in the hope that it will be useful,
479
505
    but WITHOUT ANY WARRANTY; without even the implied warranty of
480
506
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
481
 
    Library General Public License for more details.
 
507
    Lesser General Public License for more details.
482
508
 
483
 
    You should have received a copy of the GNU Library General Public
484
 
    License along with this library; if not, write to the Free
485
 
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
509
    You should have received a copy of the GNU Lesser General Public
 
510
    License along with this library; if not, write to the Free Software
 
511
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
486
512
 
487
513
Also add information on how to contact you by electronic and paper mail.
488
514
 
489
 
You should also get your employer (if you work as a programmer) or your
490
 
school, if any, to sign a "copyright disclaimer" for the library, if
491
 
necessary.  Here is a sample; alter the names:
 
515
You should also get your employer (if you work as a programmer) or
 
516
your school, if any, to sign a "copyright disclaimer" for the library,
 
517
if necessary.  Here is a sample; alter the names:
492
518
 
493
519
  Yoyodyne, Inc., hereby disclaims all copyright interest in the
494
 
  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
 
520
  library `Frob' (a library for tweaking knobs) written by James
 
521
  Random Hacker.
495
522
 
496
523
  <signature of Ty Coon>, 1 April 1990
497
524
  Ty Coon, President of Vice
498
525
 
499
526
That's all there is to it!
 
527
 
 
528