| 1 |
IUPAC/InChI-Trust Licence for the International Chemical Identifier (InChI)
|
| 2 |
Software version 1.04, September 2011
|
| 3 |
("IUPAC/InChI-Trust InChI Licence No. 1.0")
|
| 4 |
|
| 5 |
|
| 6 |
Copyright (C) IUPAC and InChI Trust Limited
|
| 7 |
This library is free software; you can redistribute it and/or modify it under
|
| 8 |
the terms of the IUPAC/InChI Trust InChI Licence No. 1.0), or (at your option)
|
| 9 |
any later version.
|
| 10 |
|
| 11 |
Terms and Conditions for Copying, Distribution and Modification of the InChI
|
| 12 |
Software
|
| 13 |
|
| 14 |
0. This Licence Agreement applies to any software library or other program
|
| 15 |
which contains a notice placed by the copyright holder or other authorized
|
| 16 |
party saying it may be distributed under the terms of this Licence. The
|
| 17 |
Licensee is addressed as "you".
|
| 18 |
|
| 19 |
'IUPAC' means the International Union of Pure and Applied Chemistry.
|
| 20 |
|
| 21 |
A "library" means a collection of software functions and/or data prepared so
|
| 22 |
as to be conveniently linked with application programs (which use some of
|
| 23 |
those functions and data) to form executables.
|
| 24 |
|
| 25 |
The "Library", below, refers to any such software library or work which has
|
| 26 |
been distributed under these terms. A "work based on the Library" means either
|
| 27 |
the Library or any derivative work under copyright law: that is to say, a work
|
| 28 |
containing the Library or a portion of it, either verbatim or with modifications
|
| 29 |
and/or translated straightforwardly into another language. (Hereinafter,
|
| 30 |
translation is included without limitation in the term "modification".)
|
| 31 |
|
| 32 |
"Source code" for a work means the preferred form of the work for making
|
| 33 |
modifications to it. For a library, complete source code means all the source
|
| 34 |
code for all modules it contains, plus any associated interface definition
|
| 35 |
files, plus the scripts used to control compilation and installation of the
|
| 36 |
library.
|
| 37 |
|
| 38 |
Activities other than copying, distribution and modification are not covered
|
| 39 |
by this Licence; they are outside its scope. The act of running a program using
|
| 40 |
the Library is not restricted, and output from such a program is covered only
|
| 41 |
if its contents constitute a work based on the Library (independent of the use
|
| 42 |
of the Library in a tool for writing it). Whether that is true depends on what
|
| 43 |
the Library does and what the program that uses the Library does.
|
| 44 |
|
| 45 |
1. You may copy and distribute verbatim copies of the Library's complete source
|
| 46 |
code as you receive it, in any medium, provided that you conspicuously and
|
| 47 |
appropriately publish on each copy an appropriate copyright notice and
|
| 48 |
disclaimer of warranty; keep intact all the notices that refer to this Licence
|
| 49 |
and to the absence of any warranty; and distribute a copy of this Licence
|
| 50 |
along with the Library.
|
| 51 |
|
| 52 |
You may charge a fee for the physical act of transferring a copy, and you may at
|
| 53 |
your option offer warranty protection in exchange for a fee.
|
| 54 |
|
| 55 |
2. You may modify your copy or copies of the Library or any portion of it, thus
|
| 56 |
forming a work based on the Library, and copy and distribute such modifications
|
| 57 |
or work under the terms of Section 1 above, provided that you also meet all
|
| 58 |
of these conditions:
|
| 59 |
|
| 60 |
a) The modified work must itself be a software library.
|
| 61 |
|
| 62 |
b) You must cause the files modified to carry prominent notices stating that you
|
| 63 |
changed the files and the date of any change.
|
| 64 |
|
| 65 |
c) You must cause the whole of the work to be licensed at no charge to all third
|
| 66 |
parties under the terms of this Licence. This requirement does not extend to
|
| 67 |
any "work that uses the Library" that might also be compiled or linked against
|
| 68 |
the "work based on the Library."
|
| 69 |
|
| 70 |
d) If a facility in the modified Library refers to a function or a table of data
|
| 71 |
to be supplied by an application program that uses the facility, other than as
|
| 72 |
an argument passed when the facility is invoked, then you must make a good faith
|
| 73 |
effort to ensure that, in the event an application does not supply such function
|
| 74 |
or table, the facility still operates, and performs whatever part of its purpose
|
| 75 |
remains meaningful.
|
| 76 |
|
| 77 |
(For example, a function in a library to compute square roots has a purpose that
|
| 78 |
is entirely well-defined independent of the application. Therefore, Subsection
|
| 79 |
2d requires that any application-supplied function or table used by this
|
| 80 |
function must be optional: if the application does not supply it, the square
|
| 81 |
root function must still compute square roots.)
|
| 82 |
|
| 83 |
These requirements apply to the modified work as a whole. If identifiable
|
| 84 |
sections of that work are not derived from the Library, and can be reasonably
|
| 85 |
considered independent and separate works in themselves, then this Licence, and
|
| 86 |
its terms, do not apply to those sections when you distribute them as separate
|
| 87 |
works. But when you distribute the same sections as part of a whole which is a
|
| 88 |
work based on the Library, the distribution of the whole must be on the terms of
|
| 89 |
this Licence, whose permissions for other Licensees extend to the entire whole,
|
| 90 |
and thus to each and every part regardless of who wrote it.
|
| 91 |
|
| 92 |
Thus, it is not the intent of this section to claim rights or contest your
|
| 93 |
rights to work written entirely by you; rather, the intent is to exercise the
|
| 94 |
right to control the distribution of derivative or collective works based on
|
| 95 |
the Library.
|
| 96 |
|
| 97 |
In addition, mere aggregation of another work not based on the Library with the
|
| 98 |
Library (or with a work based on the Library) on a volume of a storage or
|
| 99 |
distribution medium does not bring the other work under the scope of
|
| 100 |
this Licence.
|
| 101 |
|
| 102 |
3. You may opt to apply the terms of the ordinary GNU General Public Licence
|
| 103 |
instead of this Licence to a given copy of the Library. To do this, you must
|
| 104 |
alter all the notices that refer to this Licence, so that they refer to the
|
| 105 |
ordinary GNU General Public Licence, version 2, instead of to this Licence.
|
| 106 |
(If a newer version than version 2 of the ordinary GNU General Public Licence
|
| 107 |
has appeared, then you can specify that version instead if you wish.)
|
| 108 |
Do not make any other change in these notices.
|
| 109 |
|
| 110 |
Once this change is made in a given copy, it is irreversible for that copy, so
|
| 111 |
the ordinary GNU General Public Licence applies to all subsequent copies and
|
| 112 |
derivative works made from that copy.
|
| 113 |
|
| 114 |
This option is useful when you wish to copy part of the code of the Library into
|
| 115 |
a program that is not a library.
|
| 116 |
|
| 117 |
4. You may copy and distribute the Library (or a portion or derivative of it,
|
| 118 |
under Section 2) in object code or executable form under the terms of Sections 1
|
| 119 |
and 2 above provided that you accompany it with the complete corresponding
|
| 120 |
machine-readable source code, which must be distributed under the terms of
|
| 121 |
Sections 1 and 2 above on a medium customarily used for software interchange.
|
| 122 |
|
| 123 |
If distribution of object code is made by offering access to copy from a
|
| 124 |
designated place, then offering equivalent access to copy the source code from
|
| 125 |
the same place satisfies the requirement to distribute the source code, even
|
| 126 |
though third parties are not compelled to copy the source along with the object
|
| 127 |
code.
|
| 128 |
|
| 129 |
5. A program that contains no derivative of any portion of the Library, but is
|
| 130 |
designed to work with the Library by being compiled or linked with it, is called
|
| 131 |
a "work that uses the Library". Such a work, in isolation, is not a derivative
|
| 132 |
work of the Library, and therefore falls outside the scope of this Licence.
|
| 133 |
|
| 134 |
6. You may combine or link a "work that uses the Library" with the Library to
|
| 135 |
produce a work containing portions of the Library, and distribute that work
|
| 136 |
under terms of your choice.
|
| 137 |
|
| 138 |
You must give prominent notice with each copy of the work that the Library is
|
| 139 |
used in it and that the Library and its use are covered by this Licence.
|
| 140 |
You must supply a copy of this Licence. If the work during execution displays
|
| 141 |
copyright notices, you must include the copyright notice for the Library among
|
| 142 |
them, as well as a reference directing the user to the copy of this Licence.
|
| 143 |
Also, you must do one of these things:
|
| 144 |
|
| 145 |
a) Accompany the work with the complete corresponding machine-readable source
|
| 146 |
code for the Library including whatever changes to the Library were used in the
|
| 147 |
work (which must be distributed under Sections 1 and 2 above).
|
| 148 |
|
| 149 |
b) Use a suitable shared library mechanism for linking with the Library.
|
| 150 |
A suitable mechanism is one that (1) uses at run time a copy of the library
|
| 151 |
already present on the user's computer system, rather than copying library
|
| 152 |
functions into the executable, and (2) will operate properly with a modified
|
| 153 |
version of the library, if the user installs one, as long as the modified
|
| 154 |
version is interface-compatible with the version that the work was made with.
|
| 155 |
|
| 156 |
c) Accompany the work with a written offer, valid for at least three years, to
|
| 157 |
give the same user the materials specified in Subsection 6a, above, for a charge
|
| 158 |
no more than the cost of performing this distribution.
|
| 159 |
|
| 160 |
d) If distribution of the work is made by offering access to copy from a
|
| 161 |
designated place, offer equivalent access to copy the above specified materials
|
| 162 |
from the same place.
|
| 163 |
|
| 164 |
e) Verify that the user has already received a copy of these materials or that
|
| 165 |
you have already sent this user a copy.
|
| 166 |
|
| 167 |
7. You may place library facilities that are a work based on the Library
|
| 168 |
side-by-side in a single library together with other library facilities not
|
| 169 |
covered by this Licence, and distribute such a combined library, provided that
|
| 170 |
the separate distribution of the work based on the Library and of the other
|
| 171 |
library facilities is otherwise permitted, and provided that you do these two
|
| 172 |
things:
|
| 173 |
|
| 174 |
a) Accompany the combined library with a copy of the same work based on the
|
| 175 |
Library, uncombined with any other library facilities. This must be distributed
|
| 176 |
under the terms of the Sections above.
|
| 177 |
|
| 178 |
b) Give prominent notice with the combined library of the fact that part of it
|
| 179 |
is a work based on the Library, and explaining where to find the accompanying
|
| 180 |
uncombined form of the same work.
|
| 181 |
|
| 182 |
8. You may not copy, modify, sublicense, link with, or distribute the Library
|
| 183 |
except as expressly provided under this Licence. Any attempt otherwise to copy,
|
| 184 |
modify, sublicense, link with, or distribute the Library is void, and will
|
| 185 |
automatically terminate your rights under this Licence. However, parties who
|
| 186 |
have received copies, or rights, from you under this Licence will not have their
|
| 187 |
Licences terminated so long as such parties remain in full compliance.
|
| 188 |
|
| 189 |
9. You are not required to accept this Licence, since you have not signed it.
|
| 190 |
However, nothing else grants you permission to modify or distribute the Library
|
| 191 |
or its derivative works. These actions are prohibited by law if you do not
|
| 192 |
accept this Licence. Therefore, by modifying or distributing the Library (or
|
| 193 |
any work based on the Library), you indicate your acceptance of this Licence to
|
| 194 |
do so, and all its terms and conditions for copying, distributing or modifying
|
| 195 |
the Library or works based on it.
|
| 196 |
|
| 197 |
10. Each time you redistribute the Library (or any work based on the Library),
|
| 198 |
the recipient automatically receives a Licence from the original licensor to
|
| 199 |
copy, distribute, link with or modify the Library subject to these terms and
|
| 200 |
conditions. You may not impose any further restrictions on the recipients'
|
| 201 |
exercise of the rights granted herein. You are not responsible for enforcing
|
| 202 |
compliance by third parties with this Licence.
|
| 203 |
|
| 204 |
11. If, as a consequence of a court judgment or allegation of patent
|
| 205 |
infringement or for any other reason (not limited to patent issues), conditions
|
| 206 |
are imposed on you (whether by court order, agreement or otherwise) that
|
| 207 |
contradict the conditions of this Licence, they do not excuse you from the
|
| 208 |
conditions of this Licence. If you cannot distribute so as to satisfy
|
| 209 |
simultaneously your obligations under this
|
| 210 |
Licence and any other pertinent obligations, then as a consequence you may not
|
| 211 |
distribute the Library at all. For example, if a patent Licence would not
|
| 212 |
permit royalty-free redistribution of the Library by all those who receive
|
| 213 |
copies directly or indirectly through you, then the only way you could satisfy
|
| 214 |
both it and this Licence would be to refrain entirely from distribution of the
|
| 215 |
Library.
|
| 216 |
|
| 217 |
If any portion of this section is held invalid or unenforceable under any
|
| 218 |
particular circumstance, the balance of the section is intended to apply, and
|
| 219 |
the section as a whole is intended to apply in other circumstances.
|
| 220 |
|
| 221 |
It is not the purpose of this section to induce you to infringe any patents or
|
| 222 |
other property right claims or to contest validity of any such claims; this
|
| 223 |
section has the sole purpose of protecting the integrity of the free software
|
| 224 |
distribution system which is implemented by public Licence practices. Many
|
| 225 |
people have made generous contributions to the wide range of software
|
| 226 |
distributed through that system in reliance on consistent application of that
|
| 227 |
system; it is up to the author/donor to decide if he or she is willing to
|
| 228 |
distribute software through any other system and a licensee cannot impose that
|
| 229 |
choice.
|
| 230 |
|
| 231 |
This section is intended to make thoroughly clear what is believed to be a
|
| 232 |
consequence of the rest of this Licence.
|
| 233 |
|
| 234 |
12. If the distribution and/or use of the Library is restricted in certain
|
| 235 |
countries either by patents or by copyrighted interfaces, the original copyright
|
| 236 |
holder who places the Library under this Licence may add an explicit
|
| 237 |
geographical distribution limitation excluding those countries, so that
|
| 238 |
distribution is permitted only in or among countries not thus excluded. In such
|
| 239 |
case, this Licence incorporates the limitation as if written in the body of this
|
| 240 |
Licence.
|
| 241 |
|
| 242 |
13. IUPAC and the InChI Trust Limited may publish revised and/or new versions of
|
| 243 |
the IUPAC/InChI Trust Licence for the International Chemical Identifier (InChI)
|
| 244 |
Software from time to time. Such new versions will be similar in spirit to the
|
| 245 |
present version, but may differ in detail to address new problems or concerns.
|
| 246 |
|
| 247 |
Each version is given a distinguishing version number. If the Library specifies
|
| 248 |
a version number of this Licence which applied to it and "any later version",
|
| 249 |
you have the option of following the terms and conditions either of that version
|
| 250 |
or of any later version published by IUPAC and the InChI Trust Limited.
|
| 251 |
|
| 252 |
14. If you wish to incorporate parts of the Library into other free programs
|
| 253 |
whose distribution conditions are incompatible with these, write to the author
|
| 254 |
to ask for permission.
|
| 255 |
|
| 256 |
15. If you modify the Library in any way whatsoever, the output from any such
|
| 257 |
modified Library may not be referred to as 'InChI' or any similar name. Any
|
| 258 |
attempt to refer to such output as 'InChI' will automatically terminate your
|
| 259 |
rights under this Licence.
|
| 260 |
|
| 261 |
NO WARRANTY
|
| 262 |
|
| 263 |
15. Because the Library is licensed free of charge, there is no warranty for the
|
| 264 |
Library, to the extent permitted by applicable law. Except when otherwise stated
|
| 265 |
in writing the copyright holders and other parties provide the Library "as is"
|
| 266 |
without warranty of any kind, either expressed or implied, including, but not
|
| 267 |
limited to, the implied warranties of merchantability and fitness for a
|
| 268 |
particular purpose. The entire risk as to the quality and performance of the
|
| 269 |
Library is with you. Should the Library prove defective, you assume the cost of
|
| 270 |
all necessary servicing, repair or correction.
|
| 271 |
|
| 272 |
16. In no event unless required by applicable law or agreed to in writing will
|
| 273 |
any copyright holder, or any party who may modify and/or redistribute the
|
| 274 |
Library as permitted above, be liable to you for damages, including any general,
|
| 275 |
special, incidental or consequential damages arising out of the use or inability
|
| 276 |
to use the Library (including but not limited to loss of data or data being
|
| 277 |
rendered inaccurate or losses sustained by you or third parties or a failure of
|
| 278 |
the Library to operate with any other software), even if such holder or other
|
| 279 |
party has been advised of the possibility of such damages.
|
| 280 |
|
| 281 |
END OF TERMS AND CONDITIONS
|
| 282 |
|
| 283 |
Instructions for Use
|
| 284 |
|
| 285 |
You must attach the following notices to the library at the beginning of each
|
| 286 |
source file - as a minimum each file needs to contain the "copyright" line and
|
| 287 |
a link to the full notice.
|
| 288 |
|
| 289 |
[INSERT YOUR LIBRARY'S NAME AND ITS PURPOSE]
|
| 290 |
Copyright (C) [YEAR][COPYRIGHT OWNER]
|
| 291 |
This library is free software; you can redistribute it and/or modify it under
|
| 292 |
the terms of the IUPAC/InChI Trust InChI Licence 1.0, or any later version.
|
| 293 |
|
| 294 |
Please note that this library is distributed WITHOUT ANY WARRANTIES whatsoever,
|
| 295 |
whether expressed or implied. See the IUPAC/InChI Trust Licence for the
|
| 296 |
International Chemical Identifier (InChI) Software version 1.04, October 2011
|
| 297 |
("IUPAC/InChI-Trust InChI Licence No. 1.0") for more details.
|
| 298 |
|
| 299 |
You should have received a copy of the IUPAC/InChI Trust InChI Licence No. 1.0
|
| 300 |
with this library; if not, please write to:
|
| 301 |
|
| 302 |
The InChI Trust
|
| 303 |
c/o FIZ CHEMIE Berlin
|
| 304 |
Franklinstrasse 11
|
| 305 |
10587 Berlin
|
| 306 |
GERMANY
|
| 307 |
|
| 308 |
or email to: ulrich@inchi-trust.org.
|
| 309 |
|
| 310 |
In the event that you require anything else or have any questions,
|
| 311 |
please write to:
|
| 312 |
|
| 313 |
[INSERT COPYRIGHT OWNERS DETAILS]
|
| 314 |
[INSERT ADDRESS]
|
| 315 |
|
| 316 |
or contact us via email at: [INSERT EMAIL ADDRESS]
|
| 317 |
|
| 318 |
|
| 319 |
(C) 2011 IUPAC and InChI Trust Limited
|
| 320 |
|