src/hidapi/LICENSE-gpl3.txt
author Ryan C. Gordon
Tue, 07 Apr 2020 14:03:13 -0400
changeset 13704 25edf3df6e51
parent 12098 8eb14aba4e87
permissions -rw-r--r--
emscripten: support KaiOS's Left Soft Key and Right Soft Key (thanks, pelya!).

Fixes Bugzilla #5027.
slouken@12098
     1
                    GNU GENERAL PUBLIC LICENSE
slouken@12098
     2
                       Version 3, 29 June 2007
slouken@12098
     3
slouken@12098
     4
 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
slouken@12098
     5
 Everyone is permitted to copy and distribute verbatim copies
slouken@12098
     6
 of this license document, but changing it is not allowed.
slouken@12098
     7
slouken@12098
     8
                            Preamble
slouken@12098
     9
slouken@12098
    10
  The GNU General Public License is a free, copyleft license for
slouken@12098
    11
software and other kinds of works.
slouken@12098
    12
slouken@12098
    13
  The licenses for most software and other practical works are designed
slouken@12098
    14
to take away your freedom to share and change the works.  By contrast,
slouken@12098
    15
the GNU General Public License is intended to guarantee your freedom to
slouken@12098
    16
share and change all versions of a program--to make sure it remains free
slouken@12098
    17
software for all its users.  We, the Free Software Foundation, use the
slouken@12098
    18
GNU General Public License for most of our software; it applies also to
slouken@12098
    19
any other work released this way by its authors.  You can apply it to
slouken@12098
    20
your programs, too.
slouken@12098
    21
slouken@12098
    22
  When we speak of free software, we are referring to freedom, not
slouken@12098
    23
price.  Our General Public Licenses are designed to make sure that you
slouken@12098
    24
have the freedom to distribute copies of free software (and charge for
slouken@12098
    25
them if you wish), that you receive source code or can get it if you
slouken@12098
    26
want it, that you can change the software or use pieces of it in new
slouken@12098
    27
free programs, and that you know you can do these things.
slouken@12098
    28
slouken@12098
    29
  To protect your rights, we need to prevent others from denying you
slouken@12098
    30
these rights or asking you to surrender the rights.  Therefore, you have
slouken@12098
    31
certain responsibilities if you distribute copies of the software, or if
slouken@12098
    32
you modify it: responsibilities to respect the freedom of others.
slouken@12098
    33
slouken@12098
    34
  For example, if you distribute copies of such a program, whether
slouken@12098
    35
gratis or for a fee, you must pass on to the recipients the same
slouken@12098
    36
freedoms that you received.  You must make sure that they, too, receive
slouken@12098
    37
or can get the source code.  And you must show them these terms so they
slouken@12098
    38
know their rights.
slouken@12098
    39
slouken@12098
    40
  Developers that use the GNU GPL protect your rights with two steps:
slouken@12098
    41
(1) assert copyright on the software, and (2) offer you this License
slouken@12098
    42
giving you legal permission to copy, distribute and/or modify it.
slouken@12098
    43
slouken@12098
    44
  For the developers' and authors' protection, the GPL clearly explains
slouken@12098
    45
that there is no warranty for this free software.  For both users' and
slouken@12098
    46
authors' sake, the GPL requires that modified versions be marked as
slouken@12098
    47
changed, so that their problems will not be attributed erroneously to
slouken@12098
    48
authors of previous versions.
slouken@12098
    49
slouken@12098
    50
  Some devices are designed to deny users access to install or run
slouken@12098
    51
modified versions of the software inside them, although the manufacturer
slouken@12098
    52
can do so.  This is fundamentally incompatible with the aim of
slouken@12098
    53
protecting users' freedom to change the software.  The systematic
slouken@12098
    54
pattern of such abuse occurs in the area of products for individuals to
slouken@12098
    55
use, which is precisely where it is most unacceptable.  Therefore, we
slouken@12098
    56
have designed this version of the GPL to prohibit the practice for those
slouken@12098
    57
products.  If such problems arise substantially in other domains, we
slouken@12098
    58
stand ready to extend this provision to those domains in future versions
slouken@12098
    59
of the GPL, as needed to protect the freedom of users.
slouken@12098
    60
slouken@12098
    61
  Finally, every program is threatened constantly by software patents.
slouken@12098
    62
States should not allow patents to restrict development and use of
slouken@12098
    63
software on general-purpose computers, but in those that do, we wish to
slouken@12098
    64
avoid the special danger that patents applied to a free program could
slouken@12098
    65
make it effectively proprietary.  To prevent this, the GPL assures that
slouken@12098
    66
patents cannot be used to render the program non-free.
slouken@12098
    67
slouken@12098
    68
  The precise terms and conditions for copying, distribution and
slouken@12098
    69
modification follow.
slouken@12098
    70
slouken@12098
    71
                       TERMS AND CONDITIONS
slouken@12098
    72
slouken@12098
    73
  0. Definitions.
slouken@12098
    74
slouken@12098
    75
  "This License" refers to version 3 of the GNU General Public License.
slouken@12098
    76
slouken@12098
    77
  "Copyright" also means copyright-like laws that apply to other kinds of
slouken@12098
    78
works, such as semiconductor masks.
slouken@12098
    79
slouken@12098
    80
  "The Program" refers to any copyrightable work licensed under this
slouken@12098
    81
License.  Each licensee is addressed as "you".  "Licensees" and
slouken@12098
    82
"recipients" may be individuals or organizations.
slouken@12098
    83
slouken@12098
    84
  To "modify" a work means to copy from or adapt all or part of the work
slouken@12098
    85
in a fashion requiring copyright permission, other than the making of an
slouken@12098
    86
exact copy.  The resulting work is called a "modified version" of the
slouken@12098
    87
earlier work or a work "based on" the earlier work.
slouken@12098
    88
slouken@12098
    89
  A "covered work" means either the unmodified Program or a work based
slouken@12098
    90
on the Program.
slouken@12098
    91
slouken@12098
    92
  To "propagate" a work means to do anything with it that, without
slouken@12098
    93
permission, would make you directly or secondarily liable for
slouken@12098
    94
infringement under applicable copyright law, except executing it on a
slouken@12098
    95
computer or modifying a private copy.  Propagation includes copying,
slouken@12098
    96
distribution (with or without modification), making available to the
slouken@12098
    97
public, and in some countries other activities as well.
slouken@12098
    98
slouken@12098
    99
  To "convey" a work means any kind of propagation that enables other
slouken@12098
   100
parties to make or receive copies.  Mere interaction with a user through
slouken@12098
   101
a computer network, with no transfer of a copy, is not conveying.
slouken@12098
   102
slouken@12098
   103
  An interactive user interface displays "Appropriate Legal Notices"
slouken@12098
   104
to the extent that it includes a convenient and prominently visible
slouken@12098
   105
feature that (1) displays an appropriate copyright notice, and (2)
slouken@12098
   106
tells the user that there is no warranty for the work (except to the
slouken@12098
   107
extent that warranties are provided), that licensees may convey the
slouken@12098
   108
work under this License, and how to view a copy of this License.  If
slouken@12098
   109
the interface presents a list of user commands or options, such as a
slouken@12098
   110
menu, a prominent item in the list meets this criterion.
slouken@12098
   111
slouken@12098
   112
  1. Source Code.
slouken@12098
   113
slouken@12098
   114
  The "source code" for a work means the preferred form of the work
slouken@12098
   115
for making modifications to it.  "Object code" means any non-source
slouken@12098
   116
form of a work.
slouken@12098
   117
slouken@12098
   118
  A "Standard Interface" means an interface that either is an official
slouken@12098
   119
standard defined by a recognized standards body, or, in the case of
slouken@12098
   120
interfaces specified for a particular programming language, one that
slouken@12098
   121
is widely used among developers working in that language.
slouken@12098
   122
slouken@12098
   123
  The "System Libraries" of an executable work include anything, other
slouken@12098
   124
than the work as a whole, that (a) is included in the normal form of
slouken@12098
   125
packaging a Major Component, but which is not part of that Major
slouken@12098
   126
Component, and (b) serves only to enable use of the work with that
slouken@12098
   127
Major Component, or to implement a Standard Interface for which an
slouken@12098
   128
implementation is available to the public in source code form.  A
slouken@12098
   129
"Major Component", in this context, means a major essential component
slouken@12098
   130
(kernel, window system, and so on) of the specific operating system
slouken@12098
   131
(if any) on which the executable work runs, or a compiler used to
slouken@12098
   132
produce the work, or an object code interpreter used to run it.
slouken@12098
   133
slouken@12098
   134
  The "Corresponding Source" for a work in object code form means all
slouken@12098
   135
the source code needed to generate, install, and (for an executable
slouken@12098
   136
work) run the object code and to modify the work, including scripts to
slouken@12098
   137
control those activities.  However, it does not include the work's
slouken@12098
   138
System Libraries, or general-purpose tools or generally available free
slouken@12098
   139
programs which are used unmodified in performing those activities but
slouken@12098
   140
which are not part of the work.  For example, Corresponding Source
slouken@12098
   141
includes interface definition files associated with source files for
slouken@12098
   142
the work, and the source code for shared libraries and dynamically
slouken@12098
   143
linked subprograms that the work is specifically designed to require,
slouken@12098
   144
such as by intimate data communication or control flow between those
slouken@12098
   145
subprograms and other parts of the work.
slouken@12098
   146
slouken@12098
   147
  The Corresponding Source need not include anything that users
slouken@12098
   148
can regenerate automatically from other parts of the Corresponding
slouken@12098
   149
Source.
slouken@12098
   150
slouken@12098
   151
  The Corresponding Source for a work in source code form is that
slouken@12098
   152
same work.
slouken@12098
   153
slouken@12098
   154
  2. Basic Permissions.
slouken@12098
   155
slouken@12098
   156
  All rights granted under this License are granted for the term of
slouken@12098
   157
copyright on the Program, and are irrevocable provided the stated
slouken@12098
   158
conditions are met.  This License explicitly affirms your unlimited
slouken@12098
   159
permission to run the unmodified Program.  The output from running a
slouken@12098
   160
covered work is covered by this License only if the output, given its
slouken@12098
   161
content, constitutes a covered work.  This License acknowledges your
slouken@12098
   162
rights of fair use or other equivalent, as provided by copyright law.
slouken@12098
   163
slouken@12098
   164
  You may make, run and propagate covered works that you do not
slouken@12098
   165
convey, without conditions so long as your license otherwise remains
slouken@12098
   166
in force.  You may convey covered works to others for the sole purpose
slouken@12098
   167
of having them make modifications exclusively for you, or provide you
slouken@12098
   168
with facilities for running those works, provided that you comply with
slouken@12098
   169
the terms of this License in conveying all material for which you do
slouken@12098
   170
not control copyright.  Those thus making or running the covered works
slouken@12098
   171
for you must do so exclusively on your behalf, under your direction
slouken@12098
   172
and control, on terms that prohibit them from making any copies of
slouken@12098
   173
your copyrighted material outside their relationship with you.
slouken@12098
   174
slouken@12098
   175
  Conveying under any other circumstances is permitted solely under
slouken@12098
   176
the conditions stated below.  Sublicensing is not allowed; section 10
slouken@12098
   177
makes it unnecessary.
slouken@12098
   178
slouken@12098
   179
  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
slouken@12098
   180
slouken@12098
   181
  No covered work shall be deemed part of an effective technological
slouken@12098
   182
measure under any applicable law fulfilling obligations under article
slouken@12098
   183
11 of the WIPO copyright treaty adopted on 20 December 1996, or
slouken@12098
   184
similar laws prohibiting or restricting circumvention of such
slouken@12098
   185
measures.
slouken@12098
   186
slouken@12098
   187
  When you convey a covered work, you waive any legal power to forbid
slouken@12098
   188
circumvention of technological measures to the extent such circumvention
slouken@12098
   189
is effected by exercising rights under this License with respect to
slouken@12098
   190
the covered work, and you disclaim any intention to limit operation or
slouken@12098
   191
modification of the work as a means of enforcing, against the work's
slouken@12098
   192
users, your or third parties' legal rights to forbid circumvention of
slouken@12098
   193
technological measures.
slouken@12098
   194
slouken@12098
   195
  4. Conveying Verbatim Copies.
slouken@12098
   196
slouken@12098
   197
  You may convey verbatim copies of the Program's source code as you
slouken@12098
   198
receive it, in any medium, provided that you conspicuously and
slouken@12098
   199
appropriately publish on each copy an appropriate copyright notice;
slouken@12098
   200
keep intact all notices stating that this License and any
slouken@12098
   201
non-permissive terms added in accord with section 7 apply to the code;
slouken@12098
   202
keep intact all notices of the absence of any warranty; and give all
slouken@12098
   203
recipients a copy of this License along with the Program.
slouken@12098
   204
slouken@12098
   205
  You may charge any price or no price for each copy that you convey,
slouken@12098
   206
and you may offer support or warranty protection for a fee.
slouken@12098
   207
slouken@12098
   208
  5. Conveying Modified Source Versions.
slouken@12098
   209
slouken@12098
   210
  You may convey a work based on the Program, or the modifications to
slouken@12098
   211
produce it from the Program, in the form of source code under the
slouken@12098
   212
terms of section 4, provided that you also meet all of these conditions:
slouken@12098
   213
slouken@12098
   214
    a) The work must carry prominent notices stating that you modified
slouken@12098
   215
    it, and giving a relevant date.
slouken@12098
   216
slouken@12098
   217
    b) The work must carry prominent notices stating that it is
slouken@12098
   218
    released under this License and any conditions added under section
slouken@12098
   219
    7.  This requirement modifies the requirement in section 4 to
slouken@12098
   220
    "keep intact all notices".
slouken@12098
   221
slouken@12098
   222
    c) You must license the entire work, as a whole, under this
slouken@12098
   223
    License to anyone who comes into possession of a copy.  This
slouken@12098
   224
    License will therefore apply, along with any applicable section 7
slouken@12098
   225
    additional terms, to the whole of the work, and all its parts,
slouken@12098
   226
    regardless of how they are packaged.  This License gives no
slouken@12098
   227
    permission to license the work in any other way, but it does not
slouken@12098
   228
    invalidate such permission if you have separately received it.
slouken@12098
   229
slouken@12098
   230
    d) If the work has interactive user interfaces, each must display
slouken@12098
   231
    Appropriate Legal Notices; however, if the Program has interactive
slouken@12098
   232
    interfaces that do not display Appropriate Legal Notices, your
slouken@12098
   233
    work need not make them do so.
slouken@12098
   234
slouken@12098
   235
  A compilation of a covered work with other separate and independent
slouken@12098
   236
works, which are not by their nature extensions of the covered work,
slouken@12098
   237
and which are not combined with it such as to form a larger program,
slouken@12098
   238
in or on a volume of a storage or distribution medium, is called an
slouken@12098
   239
"aggregate" if the compilation and its resulting copyright are not
slouken@12098
   240
used to limit the access or legal rights of the compilation's users
slouken@12098
   241
beyond what the individual works permit.  Inclusion of a covered work
slouken@12098
   242
in an aggregate does not cause this License to apply to the other
slouken@12098
   243
parts of the aggregate.
slouken@12098
   244
slouken@12098
   245
  6. Conveying Non-Source Forms.
slouken@12098
   246
slouken@12098
   247
  You may convey a covered work in object code form under the terms
slouken@12098
   248
of sections 4 and 5, provided that you also convey the
slouken@12098
   249
machine-readable Corresponding Source under the terms of this License,
slouken@12098
   250
in one of these ways:
slouken@12098
   251
slouken@12098
   252
    a) Convey the object code in, or embodied in, a physical product
slouken@12098
   253
    (including a physical distribution medium), accompanied by the
slouken@12098
   254
    Corresponding Source fixed on a durable physical medium
slouken@12098
   255
    customarily used for software interchange.
slouken@12098
   256
slouken@12098
   257
    b) Convey the object code in, or embodied in, a physical product
slouken@12098
   258
    (including a physical distribution medium), accompanied by a
slouken@12098
   259
    written offer, valid for at least three years and valid for as
slouken@12098
   260
    long as you offer spare parts or customer support for that product
slouken@12098
   261
    model, to give anyone who possesses the object code either (1) a
slouken@12098
   262
    copy of the Corresponding Source for all the software in the
slouken@12098
   263
    product that is covered by this License, on a durable physical
slouken@12098
   264
    medium customarily used for software interchange, for a price no
slouken@12098
   265
    more than your reasonable cost of physically performing this
slouken@12098
   266
    conveying of source, or (2) access to copy the
slouken@12098
   267
    Corresponding Source from a network server at no charge.
slouken@12098
   268
slouken@12098
   269
    c) Convey individual copies of the object code with a copy of the
slouken@12098
   270
    written offer to provide the Corresponding Source.  This
slouken@12098
   271
    alternative is allowed only occasionally and noncommercially, and
slouken@12098
   272
    only if you received the object code with such an offer, in accord
slouken@12098
   273
    with subsection 6b.
slouken@12098
   274
slouken@12098
   275
    d) Convey the object code by offering access from a designated
slouken@12098
   276
    place (gratis or for a charge), and offer equivalent access to the
slouken@12098
   277
    Corresponding Source in the same way through the same place at no
slouken@12098
   278
    further charge.  You need not require recipients to copy the
slouken@12098
   279
    Corresponding Source along with the object code.  If the place to
slouken@12098
   280
    copy the object code is a network server, the Corresponding Source
slouken@12098
   281
    may be on a different server (operated by you or a third party)
slouken@12098
   282
    that supports equivalent copying facilities, provided you maintain
slouken@12098
   283
    clear directions next to the object code saying where to find the
slouken@12098
   284
    Corresponding Source.  Regardless of what server hosts the
slouken@12098
   285
    Corresponding Source, you remain obligated to ensure that it is
slouken@12098
   286
    available for as long as needed to satisfy these requirements.
slouken@12098
   287
slouken@12098
   288
    e) Convey the object code using peer-to-peer transmission, provided
slouken@12098
   289
    you inform other peers where the object code and Corresponding
slouken@12098
   290
    Source of the work are being offered to the general public at no
slouken@12098
   291
    charge under subsection 6d.
slouken@12098
   292
slouken@12098
   293
  A separable portion of the object code, whose source code is excluded
slouken@12098
   294
from the Corresponding Source as a System Library, need not be
slouken@12098
   295
included in conveying the object code work.
slouken@12098
   296
slouken@12098
   297
  A "User Product" is either (1) a "consumer product", which means any
slouken@12098
   298
tangible personal property which is normally used for personal, family,
slouken@12098
   299
or household purposes, or (2) anything designed or sold for incorporation
slouken@12098
   300
into a dwelling.  In determining whether a product is a consumer product,
slouken@12098
   301
doubtful cases shall be resolved in favor of coverage.  For a particular
slouken@12098
   302
product received by a particular user, "normally used" refers to a
slouken@12098
   303
typical or common use of that class of product, regardless of the status
slouken@12098
   304
of the particular user or of the way in which the particular user
slouken@12098
   305
actually uses, or expects or is expected to use, the product.  A product
slouken@12098
   306
is a consumer product regardless of whether the product has substantial
slouken@12098
   307
commercial, industrial or non-consumer uses, unless such uses represent
slouken@12098
   308
the only significant mode of use of the product.
slouken@12098
   309
slouken@12098
   310
  "Installation Information" for a User Product means any methods,
slouken@12098
   311
procedures, authorization keys, or other information required to install
slouken@12098
   312
and execute modified versions of a covered work in that User Product from
slouken@12098
   313
a modified version of its Corresponding Source.  The information must
slouken@12098
   314
suffice to ensure that the continued functioning of the modified object
slouken@12098
   315
code is in no case prevented or interfered with solely because
slouken@12098
   316
modification has been made.
slouken@12098
   317
slouken@12098
   318
  If you convey an object code work under this section in, or with, or
slouken@12098
   319
specifically for use in, a User Product, and the conveying occurs as
slouken@12098
   320
part of a transaction in which the right of possession and use of the
slouken@12098
   321
User Product is transferred to the recipient in perpetuity or for a
slouken@12098
   322
fixed term (regardless of how the transaction is characterized), the
slouken@12098
   323
Corresponding Source conveyed under this section must be accompanied
slouken@12098
   324
by the Installation Information.  But this requirement does not apply
slouken@12098
   325
if neither you nor any third party retains the ability to install
slouken@12098
   326
modified object code on the User Product (for example, the work has
slouken@12098
   327
been installed in ROM).
slouken@12098
   328
slouken@12098
   329
  The requirement to provide Installation Information does not include a
slouken@12098
   330
requirement to continue to provide support service, warranty, or updates
slouken@12098
   331
for a work that has been modified or installed by the recipient, or for
slouken@12098
   332
the User Product in which it has been modified or installed.  Access to a
slouken@12098
   333
network may be denied when the modification itself materially and
slouken@12098
   334
adversely affects the operation of the network or violates the rules and
slouken@12098
   335
protocols for communication across the network.
slouken@12098
   336
slouken@12098
   337
  Corresponding Source conveyed, and Installation Information provided,
slouken@12098
   338
in accord with this section must be in a format that is publicly
slouken@12098
   339
documented (and with an implementation available to the public in
slouken@12098
   340
source code form), and must require no special password or key for
slouken@12098
   341
unpacking, reading or copying.
slouken@12098
   342
slouken@12098
   343
  7. Additional Terms.
slouken@12098
   344
slouken@12098
   345
  "Additional permissions" are terms that supplement the terms of this
slouken@12098
   346
License by making exceptions from one or more of its conditions.
slouken@12098
   347
Additional permissions that are applicable to the entire Program shall
slouken@12098
   348
be treated as though they were included in this License, to the extent
slouken@12098
   349
that they are valid under applicable law.  If additional permissions
slouken@12098
   350
apply only to part of the Program, that part may be used separately
slouken@12098
   351
under those permissions, but the entire Program remains governed by
slouken@12098
   352
this License without regard to the additional permissions.
slouken@12098
   353
slouken@12098
   354
  When you convey a copy of a covered work, you may at your option
slouken@12098
   355
remove any additional permissions from that copy, or from any part of
slouken@12098
   356
it.  (Additional permissions may be written to require their own
slouken@12098
   357
removal in certain cases when you modify the work.)  You may place
slouken@12098
   358
additional permissions on material, added by you to a covered work,
slouken@12098
   359
for which you have or can give appropriate copyright permission.
slouken@12098
   360
slouken@12098
   361
  Notwithstanding any other provision of this License, for material you
slouken@12098
   362
add to a covered work, you may (if authorized by the copyright holders of
slouken@12098
   363
that material) supplement the terms of this License with terms:
slouken@12098
   364
slouken@12098
   365
    a) Disclaiming warranty or limiting liability differently from the
slouken@12098
   366
    terms of sections 15 and 16 of this License; or
slouken@12098
   367
slouken@12098
   368
    b) Requiring preservation of specified reasonable legal notices or
slouken@12098
   369
    author attributions in that material or in the Appropriate Legal
slouken@12098
   370
    Notices displayed by works containing it; or
slouken@12098
   371
slouken@12098
   372
    c) Prohibiting misrepresentation of the origin of that material, or
slouken@12098
   373
    requiring that modified versions of such material be marked in
slouken@12098
   374
    reasonable ways as different from the original version; or
slouken@12098
   375
slouken@12098
   376
    d) Limiting the use for publicity purposes of names of licensors or
slouken@12098
   377
    authors of the material; or
slouken@12098
   378
slouken@12098
   379
    e) Declining to grant rights under trademark law for use of some
slouken@12098
   380
    trade names, trademarks, or service marks; or
slouken@12098
   381
slouken@12098
   382
    f) Requiring indemnification of licensors and authors of that
slouken@12098
   383
    material by anyone who conveys the material (or modified versions of
slouken@12098
   384
    it) with contractual assumptions of liability to the recipient, for
slouken@12098
   385
    any liability that these contractual assumptions directly impose on
slouken@12098
   386
    those licensors and authors.
slouken@12098
   387
slouken@12098
   388
  All other non-permissive additional terms are considered "further
slouken@12098
   389
restrictions" within the meaning of section 10.  If the Program as you
slouken@12098
   390
received it, or any part of it, contains a notice stating that it is
slouken@12098
   391
governed by this License along with a term that is a further
slouken@12098
   392
restriction, you may remove that term.  If a license document contains
slouken@12098
   393
a further restriction but permits relicensing or conveying under this
slouken@12098
   394
License, you may add to a covered work material governed by the terms
slouken@12098
   395
of that license document, provided that the further restriction does
slouken@12098
   396
not survive such relicensing or conveying.
slouken@12098
   397
slouken@12098
   398
  If you add terms to a covered work in accord with this section, you
slouken@12098
   399
must place, in the relevant source files, a statement of the
slouken@12098
   400
additional terms that apply to those files, or a notice indicating
slouken@12098
   401
where to find the applicable terms.
slouken@12098
   402
slouken@12098
   403
  Additional terms, permissive or non-permissive, may be stated in the
slouken@12098
   404
form of a separately written license, or stated as exceptions;
slouken@12098
   405
the above requirements apply either way.
slouken@12098
   406
slouken@12098
   407
  8. Termination.
slouken@12098
   408
slouken@12098
   409
  You may not propagate or modify a covered work except as expressly
slouken@12098
   410
provided under this License.  Any attempt otherwise to propagate or
slouken@12098
   411
modify it is void, and will automatically terminate your rights under
slouken@12098
   412
this License (including any patent licenses granted under the third
slouken@12098
   413
paragraph of section 11).
slouken@12098
   414
slouken@12098
   415
  However, if you cease all violation of this License, then your
slouken@12098
   416
license from a particular copyright holder is reinstated (a)
slouken@12098
   417
provisionally, unless and until the copyright holder explicitly and
slouken@12098
   418
finally terminates your license, and (b) permanently, if the copyright
slouken@12098
   419
holder fails to notify you of the violation by some reasonable means
slouken@12098
   420
prior to 60 days after the cessation.
slouken@12098
   421
slouken@12098
   422
  Moreover, your license from a particular copyright holder is
slouken@12098
   423
reinstated permanently if the copyright holder notifies you of the
slouken@12098
   424
violation by some reasonable means, this is the first time you have
slouken@12098
   425
received notice of violation of this License (for any work) from that
slouken@12098
   426
copyright holder, and you cure the violation prior to 30 days after
slouken@12098
   427
your receipt of the notice.
slouken@12098
   428
slouken@12098
   429
  Termination of your rights under this section does not terminate the
slouken@12098
   430
licenses of parties who have received copies or rights from you under
slouken@12098
   431
this License.  If your rights have been terminated and not permanently
slouken@12098
   432
reinstated, you do not qualify to receive new licenses for the same
slouken@12098
   433
material under section 10.
slouken@12098
   434
slouken@12098
   435
  9. Acceptance Not Required for Having Copies.
slouken@12098
   436
slouken@12098
   437
  You are not required to accept this License in order to receive or
slouken@12098
   438
run a copy of the Program.  Ancillary propagation of a covered work
slouken@12098
   439
occurring solely as a consequence of using peer-to-peer transmission
slouken@12098
   440
to receive a copy likewise does not require acceptance.  However,
slouken@12098
   441
nothing other than this License grants you permission to propagate or
slouken@12098
   442
modify any covered work.  These actions infringe copyright if you do
slouken@12098
   443
not accept this License.  Therefore, by modifying or propagating a
slouken@12098
   444
covered work, you indicate your acceptance of this License to do so.
slouken@12098
   445
slouken@12098
   446
  10. Automatic Licensing of Downstream Recipients.
slouken@12098
   447
slouken@12098
   448
  Each time you convey a covered work, the recipient automatically
slouken@12098
   449
receives a license from the original licensors, to run, modify and
slouken@12098
   450
propagate that work, subject to this License.  You are not responsible
slouken@12098
   451
for enforcing compliance by third parties with this License.
slouken@12098
   452
slouken@12098
   453
  An "entity transaction" is a transaction transferring control of an
slouken@12098
   454
organization, or substantially all assets of one, or subdividing an
slouken@12098
   455
organization, or merging organizations.  If propagation of a covered
slouken@12098
   456
work results from an entity transaction, each party to that
slouken@12098
   457
transaction who receives a copy of the work also receives whatever
slouken@12098
   458
licenses to the work the party's predecessor in interest had or could
slouken@12098
   459
give under the previous paragraph, plus a right to possession of the
slouken@12098
   460
Corresponding Source of the work from the predecessor in interest, if
slouken@12098
   461
the predecessor has it or can get it with reasonable efforts.
slouken@12098
   462
slouken@12098
   463
  You may not impose any further restrictions on the exercise of the
slouken@12098
   464
rights granted or affirmed under this License.  For example, you may
slouken@12098
   465
not impose a license fee, royalty, or other charge for exercise of
slouken@12098
   466
rights granted under this License, and you may not initiate litigation
slouken@12098
   467
(including a cross-claim or counterclaim in a lawsuit) alleging that
slouken@12098
   468
any patent claim is infringed by making, using, selling, offering for
slouken@12098
   469
sale, or importing the Program or any portion of it.
slouken@12098
   470
slouken@12098
   471
  11. Patents.
slouken@12098
   472
slouken@12098
   473
  A "contributor" is a copyright holder who authorizes use under this
slouken@12098
   474
License of the Program or a work on which the Program is based.  The
slouken@12098
   475
work thus licensed is called the contributor's "contributor version".
slouken@12098
   476
slouken@12098
   477
  A contributor's "essential patent claims" are all patent claims
slouken@12098
   478
owned or controlled by the contributor, whether already acquired or
slouken@12098
   479
hereafter acquired, that would be infringed by some manner, permitted
slouken@12098
   480
by this License, of making, using, or selling its contributor version,
slouken@12098
   481
but do not include claims that would be infringed only as a
slouken@12098
   482
consequence of further modification of the contributor version.  For
slouken@12098
   483
purposes of this definition, "control" includes the right to grant
slouken@12098
   484
patent sublicenses in a manner consistent with the requirements of
slouken@12098
   485
this License.
slouken@12098
   486
slouken@12098
   487
  Each contributor grants you a non-exclusive, worldwide, royalty-free
slouken@12098
   488
patent license under the contributor's essential patent claims, to
slouken@12098
   489
make, use, sell, offer for sale, import and otherwise run, modify and
slouken@12098
   490
propagate the contents of its contributor version.
slouken@12098
   491
slouken@12098
   492
  In the following three paragraphs, a "patent license" is any express
slouken@12098
   493
agreement or commitment, however denominated, not to enforce a patent
slouken@12098
   494
(such as an express permission to practice a patent or covenant not to
slouken@12098
   495
sue for patent infringement).  To "grant" such a patent license to a
slouken@12098
   496
party means to make such an agreement or commitment not to enforce a
slouken@12098
   497
patent against the party.
slouken@12098
   498
slouken@12098
   499
  If you convey a covered work, knowingly relying on a patent license,
slouken@12098
   500
and the Corresponding Source of the work is not available for anyone
slouken@12098
   501
to copy, free of charge and under the terms of this License, through a
slouken@12098
   502
publicly available network server or other readily accessible means,
slouken@12098
   503
then you must either (1) cause the Corresponding Source to be so
slouken@12098
   504
available, or (2) arrange to deprive yourself of the benefit of the
slouken@12098
   505
patent license for this particular work, or (3) arrange, in a manner
slouken@12098
   506
consistent with the requirements of this License, to extend the patent
slouken@12098
   507
license to downstream recipients.  "Knowingly relying" means you have
slouken@12098
   508
actual knowledge that, but for the patent license, your conveying the
slouken@12098
   509
covered work in a country, or your recipient's use of the covered work
slouken@12098
   510
in a country, would infringe one or more identifiable patents in that
slouken@12098
   511
country that you have reason to believe are valid.
slouken@12098
   512
slouken@12098
   513
  If, pursuant to or in connection with a single transaction or
slouken@12098
   514
arrangement, you convey, or propagate by procuring conveyance of, a
slouken@12098
   515
covered work, and grant a patent license to some of the parties
slouken@12098
   516
receiving the covered work authorizing them to use, propagate, modify
slouken@12098
   517
or convey a specific copy of the covered work, then the patent license
slouken@12098
   518
you grant is automatically extended to all recipients of the covered
slouken@12098
   519
work and works based on it.
slouken@12098
   520
slouken@12098
   521
  A patent license is "discriminatory" if it does not include within
slouken@12098
   522
the scope of its coverage, prohibits the exercise of, or is
slouken@12098
   523
conditioned on the non-exercise of one or more of the rights that are
slouken@12098
   524
specifically granted under this License.  You may not convey a covered
slouken@12098
   525
work if you are a party to an arrangement with a third party that is
slouken@12098
   526
in the business of distributing software, under which you make payment
slouken@12098
   527
to the third party based on the extent of your activity of conveying
slouken@12098
   528
the work, and under which the third party grants, to any of the
slouken@12098
   529
parties who would receive the covered work from you, a discriminatory
slouken@12098
   530
patent license (a) in connection with copies of the covered work
slouken@12098
   531
conveyed by you (or copies made from those copies), or (b) primarily
slouken@12098
   532
for and in connection with specific products or compilations that
slouken@12098
   533
contain the covered work, unless you entered into that arrangement,
slouken@12098
   534
or that patent license was granted, prior to 28 March 2007.
slouken@12098
   535
slouken@12098
   536
  Nothing in this License shall be construed as excluding or limiting
slouken@12098
   537
any implied license or other defenses to infringement that may
slouken@12098
   538
otherwise be available to you under applicable patent law.
slouken@12098
   539
slouken@12098
   540
  12. No Surrender of Others' Freedom.
slouken@12098
   541
slouken@12098
   542
  If conditions are imposed on you (whether by court order, agreement or
slouken@12098
   543
otherwise) that contradict the conditions of this License, they do not
slouken@12098
   544
excuse you from the conditions of this License.  If you cannot convey a
slouken@12098
   545
covered work so as to satisfy simultaneously your obligations under this
slouken@12098
   546
License and any other pertinent obligations, then as a consequence you may
slouken@12098
   547
not convey it at all.  For example, if you agree to terms that obligate you
slouken@12098
   548
to collect a royalty for further conveying from those to whom you convey
slouken@12098
   549
the Program, the only way you could satisfy both those terms and this
slouken@12098
   550
License would be to refrain entirely from conveying the Program.
slouken@12098
   551
slouken@12098
   552
  13. Use with the GNU Affero General Public License.
slouken@12098
   553
slouken@12098
   554
  Notwithstanding any other provision of this License, you have
slouken@12098
   555
permission to link or combine any covered work with a work licensed
slouken@12098
   556
under version 3 of the GNU Affero General Public License into a single
slouken@12098
   557
combined work, and to convey the resulting work.  The terms of this
slouken@12098
   558
License will continue to apply to the part which is the covered work,
slouken@12098
   559
but the special requirements of the GNU Affero General Public License,
slouken@12098
   560
section 13, concerning interaction through a network will apply to the
slouken@12098
   561
combination as such.
slouken@12098
   562
slouken@12098
   563
  14. Revised Versions of this License.
slouken@12098
   564
slouken@12098
   565
  The Free Software Foundation may publish revised and/or new versions of
slouken@12098
   566
the GNU General Public License from time to time.  Such new versions will
slouken@12098
   567
be similar in spirit to the present version, but may differ in detail to
slouken@12098
   568
address new problems or concerns.
slouken@12098
   569
slouken@12098
   570
  Each version is given a distinguishing version number.  If the
slouken@12098
   571
Program specifies that a certain numbered version of the GNU General
slouken@12098
   572
Public License "or any later version" applies to it, you have the
slouken@12098
   573
option of following the terms and conditions either of that numbered
slouken@12098
   574
version or of any later version published by the Free Software
slouken@12098
   575
Foundation.  If the Program does not specify a version number of the
slouken@12098
   576
GNU General Public License, you may choose any version ever published
slouken@12098
   577
by the Free Software Foundation.
slouken@12098
   578
slouken@12098
   579
  If the Program specifies that a proxy can decide which future
slouken@12098
   580
versions of the GNU General Public License can be used, that proxy's
slouken@12098
   581
public statement of acceptance of a version permanently authorizes you
slouken@12098
   582
to choose that version for the Program.
slouken@12098
   583
slouken@12098
   584
  Later license versions may give you additional or different
slouken@12098
   585
permissions.  However, no additional obligations are imposed on any
slouken@12098
   586
author or copyright holder as a result of your choosing to follow a
slouken@12098
   587
later version.
slouken@12098
   588
slouken@12098
   589
  15. Disclaimer of Warranty.
slouken@12098
   590
slouken@12098
   591
  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
slouken@12098
   592
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
slouken@12098
   593
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
slouken@12098
   594
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
slouken@12098
   595
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
slouken@12098
   596
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
slouken@12098
   597
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
slouken@12098
   598
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
slouken@12098
   599
slouken@12098
   600
  16. Limitation of Liability.
slouken@12098
   601
slouken@12098
   602
  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
slouken@12098
   603
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
slouken@12098
   604
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
slouken@12098
   605
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
slouken@12098
   606
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
slouken@12098
   607
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
slouken@12098
   608
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
slouken@12098
   609
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
slouken@12098
   610
SUCH DAMAGES.
slouken@12098
   611
slouken@12098
   612
  17. Interpretation of Sections 15 and 16.
slouken@12098
   613
slouken@12098
   614
  If the disclaimer of warranty and limitation of liability provided
slouken@12098
   615
above cannot be given local legal effect according to their terms,
slouken@12098
   616
reviewing courts shall apply local law that most closely approximates
slouken@12098
   617
an absolute waiver of all civil liability in connection with the
slouken@12098
   618
Program, unless a warranty or assumption of liability accompanies a
slouken@12098
   619
copy of the Program in return for a fee.
slouken@12098
   620
slouken@12098
   621
                     END OF TERMS AND CONDITIONS
slouken@12098
   622
slouken@12098
   623
            How to Apply These Terms to Your New Programs
slouken@12098
   624
slouken@12098
   625
  If you develop a new program, and you want it to be of the greatest
slouken@12098
   626
possible use to the public, the best way to achieve this is to make it
slouken@12098
   627
free software which everyone can redistribute and change under these terms.
slouken@12098
   628
slouken@12098
   629
  To do so, attach the following notices to the program.  It is safest
slouken@12098
   630
to attach them to the start of each source file to most effectively
slouken@12098
   631
state the exclusion of warranty; and each file should have at least
slouken@12098
   632
the "copyright" line and a pointer to where the full notice is found.
slouken@12098
   633
slouken@12098
   634
    <one line to give the program's name and a brief idea of what it does.>
slouken@12098
   635
    Copyright (C) <year>  <name of author>
slouken@12098
   636
slouken@12098
   637
    This program is free software: you can redistribute it and/or modify
slouken@12098
   638
    it under the terms of the GNU General Public License as published by
slouken@12098
   639
    the Free Software Foundation, either version 3 of the License, or
slouken@12098
   640
    (at your option) any later version.
slouken@12098
   641
slouken@12098
   642
    This program is distributed in the hope that it will be useful,
slouken@12098
   643
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@12098
   644
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
slouken@12098
   645
    GNU General Public License for more details.
slouken@12098
   646
slouken@12098
   647
    You should have received a copy of the GNU General Public License
slouken@12098
   648
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
slouken@12098
   649
slouken@12098
   650
Also add information on how to contact you by electronic and paper mail.
slouken@12098
   651
slouken@12098
   652
  If the program does terminal interaction, make it output a short
slouken@12098
   653
notice like this when it starts in an interactive mode:
slouken@12098
   654
slouken@12098
   655
    <program>  Copyright (C) <year>  <name of author>
slouken@12098
   656
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
slouken@12098
   657
    This is free software, and you are welcome to redistribute it
slouken@12098
   658
    under certain conditions; type `show c' for details.
slouken@12098
   659
slouken@12098
   660
The hypothetical commands `show w' and `show c' should show the appropriate
slouken@12098
   661
parts of the General Public License.  Of course, your program's commands
slouken@12098
   662
might be different; for a GUI interface, you would use an "about box".
slouken@12098
   663
slouken@12098
   664
  You should also get your employer (if you work as a programmer) or school,
slouken@12098
   665
if any, to sign a "copyright disclaimer" for the program, if necessary.
slouken@12098
   666
For more information on this, and how to apply and follow the GNU GPL, see
slouken@12098
   667
<http://www.gnu.org/licenses/>.
slouken@12098
   668
slouken@12098
   669
  The GNU General Public License does not permit incorporating your program
slouken@12098
   670
into proprietary programs.  If your program is a subroutine library, you
slouken@12098
   671
may consider it more useful to permit linking proprietary applications with
slouken@12098
   672
the library.  If this is what you want to do, use the GNU Lesser General
slouken@12098
   673
Public License instead of this License.  But first, please read
slouken@12098
   674
<http://www.gnu.org/philosophy/why-not-lgpl.html>.