11965
|
1 |
For the avoidance of doubt, except that if any license choice other
|
|
2 |
than GPL or LGPL is available it will apply instead, Sun elects to
|
|
3 |
use only the General Public License version 2 (GPLv2) at this time
|
|
4 |
for any software where a choice of GPL license versions is made
|
|
5 |
available with the language indicating that GPLv2 or any later
|
|
6 |
version may be used, or where a choice of which version of the GPL
|
|
7 |
is applied is otherwise unspecified.
|
|
8 |
|
|
9 |
--------------------------------------------------------------------
|
|
10 |
|
|
11 |
Copyright (C) 1991-1998, Thomas G. Lane.
|
|
12 |
This file is part of the Independent JPEG Group's software.
|
|
13 |
For conditions of distribution and use, see the accompanying README file.
|
|
14 |
|
|
15 |
The authors make NO WARRANTY or representation, either express or implied,
|
|
16 |
with respect to this software, its quality, accuracy, merchantability, or
|
|
17 |
fitness for a particular purpose. This software is provided "AS IS", and you,
|
|
18 |
its user, assume the entire risk as to its quality and accuracy.
|
|
19 |
|
|
20 |
This software is copyright (C) 1991-1998, Thomas G. Lane.
|
|
21 |
All Rights Reserved except as specified below.
|
|
22 |
|
|
23 |
Permission is hereby granted to use, copy, modify, and distribute this
|
|
24 |
software (or portions thereof) for any purpose, without fee, subject to these
|
|
25 |
conditions:
|
|
26 |
(1) If any part of the source code for this software is distributed, then this
|
|
27 |
README file must be included, with this copyright and no-warranty notice
|
|
28 |
unaltered; and any additions, deletions, or changes to the original files
|
|
29 |
must be clearly indicated in accompanying documentation.
|
|
30 |
(2) If only executable code is distributed, then the accompanying
|
|
31 |
documentation must state that "this software is based in part on the work of
|
|
32 |
the Independent JPEG Group".
|
|
33 |
(3) Permission for use of this software is granted only if the user accepts
|
|
34 |
full responsibility for any undesirable consequences; the authors accept
|
|
35 |
NO LIABILITY for damages of any kind.
|
|
36 |
|
|
37 |
These conditions apply to any software derived from or based on the IJG code,
|
|
38 |
not just to the unmodified library. If you use our work, you ought to
|
|
39 |
acknowledge us.
|
|
40 |
|
|
41 |
Permission is NOT granted for the use of any IJG author's name or company name
|
|
42 |
in advertising or publicity relating to this software or products derived from
|
|
43 |
it. This software may be referred to only as "the Independent JPEG Group's
|
|
44 |
software".
|
|
45 |
|
|
46 |
We specifically permit and encourage the use of this software as the basis of
|
|
47 |
commercial products, provided that all warranty or liability claims are
|
|
48 |
assumed by the product vendor.
|
|
49 |
|
|
50 |
ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
|
|
51 |
sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
|
|
52 |
ansi2knr.c is NOT covered by the above copyright and conditions, but instead
|
|
53 |
by the usual distribution terms of the Free Software Foundation; principally,
|
|
54 |
that you must include source code if you redistribute it. (See the file
|
|
55 |
ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part
|
|
56 |
of any program generated from the IJG code, this does not limit you more than
|
|
57 |
the foregoing paragraphs do.
|
|
58 |
|
|
59 |
The Unix configuration script "configure" was produced with GNU Autoconf.
|
|
60 |
It is copyright by the Free Software Foundation but is freely distributable.
|
|
61 |
The same holds for its supporting scripts (config.guess, config.sub,
|
|
62 |
ltconfig, ltmain.sh). Another support script, install-sh, is copyright
|
|
63 |
by M.I.T. but is also freely distributable.
|
|
64 |
|
|
65 |
It appears that the arithmetic coding option of the JPEG spec is covered by
|
|
66 |
patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot
|
|
67 |
legally be used without obtaining one or more licenses. For this reason,
|
|
68 |
support for arithmetic coding has been removed from the free JPEG software.
|
|
69 |
(Since arithmetic coding provides only a marginal gain over the unpatented
|
|
70 |
Huffman mode, it is unlikely that very many implementations will support it.)
|
|
71 |
So far as we are aware, there are no patent restrictions on the remaining
|
|
72 |
code.
|
|
73 |
|
|
74 |
The IJG distribution formerly included code to read and write GIF files.
|
|
75 |
To avoid entanglement with the Unisys LZW patent, GIF reading support has
|
|
76 |
been removed altogether, and the GIF writer has been simplified to produce
|
|
77 |
"uncompressed GIFs". This technique does not use the LZW algorithm; the
|
|
78 |
resulting GIF files are larger than usual, but are readable by all standard
|
|
79 |
GIF decoders.
|
|
80 |
|
|
81 |
We are required to state that
|
|
82 |
"The Graphics Interchange Format(c) is the Copyright property of
|
|
83 |
CompuServe Incorporated. GIF(sm) is a Service Mark property of
|
|
84 |
CompuServe Incorporated."
|
|
85 |
|
|
86 |
--------------------------------------------------------------------
|
|
87 |
|
|
88 |
jpeg-6b/ansi2knr.c:
|
|
89 |
|
|
90 |
Convert ANSI C function definitions to K&R ("traditional C") syntax
|
|
91 |
|
|
92 |
|
|
93 |
ansi2knr is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
94 |
WARRANTY. No author or distributor accepts responsibility to anyone for the
|
|
95 |
consequences of using it or for whether it serves any particular purpose or
|
|
96 |
works at all, unless he says so in writing. Refer to the GNU General Public
|
|
97 |
License (the "GPL") for full details.
|
|
98 |
|
|
99 |
Everyone is granted permission to copy, modify and redistribute ansi2knr,
|
|
100 |
but only under the conditions described in the GPL. A copy of this license
|
|
101 |
is supposed to have been given to you along with ansi2knr so you can know
|
|
102 |
your rights and responsibilities. It should be in a file named COPYLEFT.
|
|
103 |
[In the IJG distribution, the GPL appears below, not in a separate file.]
|
|
104 |
Among other things, the copyright notice and this notice must be preserved
|
|
105 |
on all copies.
|
|
106 |
|
|
107 |
We explicitly state here what we believe is already implied by the GPL: if
|
|
108 |
the ansi2knr program is distributed as a separate set of sources and a
|
|
109 |
separate executable file which are aggregated on a storage medium together
|
|
110 |
with another program, this in itself does not bring the other program under
|
|
111 |
the GPL, nor does the mere fact that such a program or the procedures for
|
|
112 |
constructing it invoke the ansi2knr executable bring any other part of the
|
|
113 |
program under the GPL.
|
|
114 |
|
|
115 |
---------- Here is the GNU GPL file COPYLEFT, referred to above ----------
|
|
116 |
----- These terms do NOT apply to the JPEG software itself; see README ------
|
|
117 |
|
|
118 |
GHOSTSCRIPT GENERAL PUBLIC LICENSE
|
|
119 |
(Clarified 11 Feb 1988)
|
|
120 |
|
|
121 |
Copyright (C) 1988 Richard M. Stallman
|
|
122 |
Everyone is permitted to copy and distribute verbatim copies of this
|
|
123 |
license, but changing it is not allowed. You can also use this wording
|
|
124 |
to make the terms for other programs.
|
|
125 |
|
|
126 |
The license agreements of most software companies keep you at the
|
|
127 |
mercy of those companies. By contrast, our general public license is
|
|
128 |
intended to give everyone the right to share Ghostscript. To make sure
|
|
129 |
that you get the rights we want you to have, we need to make
|
|
130 |
restrictions that forbid anyone to deny you these rights or to ask you
|
|
131 |
to surrender the rights. Hence this license agreement.
|
|
132 |
|
|
133 |
Specifically, we want to make sure that you have the right to give
|
|
134 |
away copies of Ghostscript, that you receive source code or else can get
|
|
135 |
it if you want it, that you can change Ghostscript or use pieces of it
|
|
136 |
in new free programs, and that you know you can do these things.
|
|
137 |
|
|
138 |
To make sure that everyone has such rights, we have to forbid you to
|
|
139 |
deprive anyone else of these rights. For example, if you distribute
|
|
140 |
copies of Ghostscript, you must give the recipients all the rights that
|
|
141 |
you have. You must make sure that they, too, receive or can get the
|
|
142 |
source code. And you must tell them their rights.
|
|
143 |
|
|
144 |
Also, for our own protection, we must make certain that everyone finds
|
|
145 |
out that there is no warranty for Ghostscript. If Ghostscript is
|
|
146 |
modified by someone else and passed on, we want its recipients to know
|
|
147 |
that what they have is not what we distributed, so that any problems
|
|
148 |
introduced by others will not reflect on our reputation.
|
|
149 |
|
|
150 |
Therefore we (Richard M. Stallman and the Free Software Foundation,
|
|
151 |
Inc.) make the following terms which say what you must do to be allowed
|
|
152 |
to distribute or change Ghostscript.
|
|
153 |
|
|
154 |
|
|
155 |
COPYING POLICIES
|
|
156 |
|
|
157 |
1. You may copy and distribute verbatim copies of Ghostscript source
|
|
158 |
code as you receive it, in any medium, provided that you conspicuously
|
|
159 |
and appropriately publish on each copy a valid copyright and license
|
|
160 |
notice "Copyright (C) 1989 Aladdin Enterprises. All rights reserved.
|
|
161 |
Distributed by Free Software Foundation, Inc." (or with whatever year is
|
|
162 |
appropriate); keep intact the notices on all files that refer to this
|
|
163 |
License Agreement and to the absence of any warranty; and give any other
|
|
164 |
recipients of the Ghostscript program a copy of this License Agreement
|
|
165 |
along with the program. You may charge a distribution fee for the
|
|
166 |
physical act of transferring a copy.
|
|
167 |
|
|
168 |
2. You may modify your copy or copies of Ghostscript or any portion of
|
|
169 |
it, and copy and distribute such modifications under the terms of
|
|
170 |
Paragraph 1 above, provided that you also do the following:
|
|
171 |
|
|
172 |
a) cause the modified files to carry prominent notices stating
|
|
173 |
that you changed the files and the date of any change; and
|
|
174 |
|
|
175 |
b) cause the whole of any work that you distribute or publish,
|
|
176 |
that in whole or in part contains or is a derivative of Ghostscript
|
|
177 |
or any part thereof, to be licensed at no charge to all third
|
|
178 |
parties on terms identical to those contained in this License
|
|
179 |
Agreement (except that you may choose to grant more extensive
|
|
180 |
warranty protection to some or all third parties, at your option).
|
|
181 |
|
|
182 |
c) You may charge a distribution fee for the physical act of
|
|
183 |
transferring a copy, and you may at your option offer warranty
|
|
184 |
protection in exchange for a fee.
|
|
185 |
|
|
186 |
Mere aggregation of another unrelated program with this program (or its
|
|
187 |
derivative) on a volume of a storage or distribution medium does not bring
|
|
188 |
the other program under the scope of these terms.
|
|
189 |
|
|
190 |
3. You may copy and distribute Ghostscript (or a portion or derivative
|
|
191 |
of it, under Paragraph 2) in object code or executable form under the
|
|
192 |
terms of Paragraphs 1 and 2 above provided that you also do one of the
|
|
193 |
following:
|
|
194 |
|
|
195 |
a) accompany it with the complete corresponding machine-readable
|
|
196 |
source code, which must be distributed under the terms of
|
|
197 |
Paragraphs 1 and 2 above; or,
|
|
198 |
|
|
199 |
b) accompany it with a written offer, valid for at least three
|
|
200 |
years, to give any third party free (except for a nominal
|
|
201 |
shipping charge) a complete machine-readable copy of the
|
|
202 |
corresponding source code, to be distributed under the terms of
|
|
203 |
Paragraphs 1 and 2 above; or,
|
|
204 |
|
|
205 |
c) accompany it with the information you received as to where the
|
|
206 |
corresponding source code may be obtained. (This alternative is
|
|
207 |
allowed only for noncommercial distribution and only if you
|
|
208 |
received the program in object code or executable form alone.)
|
|
209 |
|
|
210 |
For an executable file, complete source code means all the source code for
|
|
211 |
all modules it contains; but, as a special exception, it need not include
|
|
212 |
source code for modules which are standard libraries that accompany the
|
|
213 |
operating system on which the executable file runs.
|
|
214 |
|
|
215 |
4. You may not copy, sublicense, distribute or transfer Ghostscript
|
|
216 |
except as expressly provided under this License Agreement. Any attempt
|
|
217 |
otherwise to copy, sublicense, distribute or transfer Ghostscript is
|
|
218 |
void and your rights to use the program under this License agreement
|
|
219 |
shall be automatically terminated. However, parties who have received
|
|
220 |
computer software programs from you with this License Agreement will not
|
|
221 |
have their licenses terminated so long as such parties remain in full
|
|
222 |
compliance.
|
|
223 |
|
|
224 |
5. If you wish to incorporate parts of Ghostscript into other free
|
|
225 |
programs whose distribution conditions are different, write to the Free
|
|
226 |
Software Foundation at 675 Mass Ave, Cambridge, MA 02139. We have not
|
|
227 |
yet worked out a simple rule that can be stated here, but we will often
|
|
228 |
permit this. We will be guided by the two goals of preserving the free
|
|
229 |
status of all derivatives of our free software and of promoting the
|
|
230 |
sharing and reuse of software.
|
|
231 |
|
|
232 |
Your comments and suggestions about our licensing policies and our
|
|
233 |
software are welcome! Please contact the Free Software Foundation,
|
|
234 |
Inc., 675 Mass Ave, Cambridge, MA 02139, or call (617) 876-3296.
|
|
235 |
|
|
236 |
NO WARRANTY
|
|
237 |
|
|
238 |
BECAUSE GHOSTSCRIPT IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY
|
|
239 |
NO WARRANTY, TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW. EXCEPT
|
|
240 |
WHEN OTHERWISE STATED IN WRITING, FREE SOFTWARE FOUNDATION, INC, RICHARD
|
|
241 |
M. STALLMAN, ALADDIN ENTERPRISES, L. PETER DEUTSCH, AND/OR OTHER PARTIES
|
|
242 |
PROVIDE GHOSTSCRIPT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
243 |
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
244 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
|
|
245 |
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF GHOSTSCRIPT IS WITH
|
|
246 |
YOU. SHOULD GHOSTSCRIPT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
|
|
247 |
NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
248 |
|
|
249 |
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL RICHARD M.
|
|
250 |
STALLMAN, THE FREE SOFTWARE FOUNDATION, INC., L. PETER DEUTSCH, ALADDIN
|
|
251 |
ENTERPRISES, AND/OR ANY OTHER PARTY WHO MAY MODIFY AND REDISTRIBUTE
|
|
252 |
GHOSTSCRIPT AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING
|
|
253 |
ANY LOST PROFITS, LOST MONIES, OR OTHER SPECIAL, INCIDENTAL OR
|
|
254 |
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
|
|
255 |
(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
|
|
256 |
INACCURATE OR LOSSES SUSTAINED BY THIRD PARTIES OR A FAILURE OF THE
|
|
257 |
PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS) GHOSTSCRIPT, EVEN IF YOU
|
|
258 |
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM
|
|
259 |
BY ANY OTHER PARTY.
|
|
260 |
|
|
261 |
-------------------- End of file COPYLEFT ------------------------------
|