"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "usr/xb-6.2.3/COPYING_LIB" of archive xbasic-6.2.3-linux-i386.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 
    2  0. This License Agreement applies to any software library or other
    3  program which contains a notice placed by the copyright holder or
    4  other authorized party saying it may be distributed under the terms
    5  of this Lesser General Public License (also called "this License").
    6  Each licensee is addressed as "you".
    7 
    8  A "library" means a collection of software functions and/or data
    9  prepared so as to be conveniently linked with application programs
   10  (which use some of those functions and data) to form executables.
   11 
   12  The "Library", below, refers to any such software library or work
   13  which has been distributed under these terms.  A "work based on the
   14  Library" means either the Library or any derivative work under
   15  copyright law: that is to say, a work containing the Library or
   16  a portion of it, either verbatim or with modifications and/or
   17  translated straightforwardly into another language.  (Hereinafter,
   18  translation is included without limitation in the term "modification".)
   19 
   20  "Source code" for a work means the preferred form of the work for
   21  making modifications to it. For a library, complete source code
   22  means all the source code for all modules it contains, plus any
   23  associated interface definition files, plus the scripts used to
   24  control compilation and installation of the library. 
   25 
   26  Activities other than copying, distribution and modification are
   27  not covered by this License; they are outside its scope.  The act
   28  of running a program using the Library is not restricted, and output
   29  from such a program is covered only if its contents constitute a work
   30  based on the Library (independent of the use of the Library in a
   31  tool for writing it).  Whether that is true depends on what the
   32  Library does and what the program that uses the Library does. 
   33 
   34  1. You may copy and distribute verbatim copies of the Library's
   35  complete source code as you receive it, in any medium, provided
   36  that you conspicuously and appropriately publish on each copy an
   37  appropriate copyright notice and disclaimer of warranty; keep
   38  intact all the notices that refer to this License and to the
   39  absence of any warranty; and distribute a copy of this License
   40  along with the Library. 
   41 
   42  You may charge a fee for the physical act of transferring a copy,
   43  and you may at your option offer warranty protection in exchange
   44  for a fee.
   45 
   46  2. You may modify your copy or copies of the Library or any portion
   47  of it, thus forming a work based on the Library, and copy and
   48  distribute such modifications or work under the terms of Section 1
   49  above, provided that you also meet all of these conditions: 
   50 
   51  a) The modified work must itself be a software library.
   52  b) You must cause the files modified to carry prominent
   53     notices stating that you changed the files and the date
   54     of any change. 
   55  c) You must cause the whole of the work to be licensed
   56     at no charge to all third parties under the terms of
   57     this License. 
   58  d) If a facility in the modified Library refers to a
   59     function or a table of data to be supplied by an
   60     application program that uses the facility, other
   61     than as an argument passed when the facility is invoked,
   62     then you must make a good faith effort to ensure that,
   63     in the event an application does not supply such function
   64     or table, the facility still operates, and performs whatever
   65     part of its purpose remains meaningful.  (For example, a
   66     function in a library to compute square roots has a purpose
   67     that is entirely well-defined independent of the application.
   68     Therefore, Subsection 2d requires that any application-supplied
   69     function or table used by this function must be optional:
   70     if the application does not supply it, the square root
   71     function must still compute square roots.) 
   72 
   73  These requirements apply to the modified work as a whole.
   74  If identifiable sections of that work are not derived from
   75  the Library, and can be reasonably considered independent
   76  and separate works in themselves, then this License, and
   77  its terms, do not apply to those sections when you distribute
   78  them as separate works.  But when you distribute the same
   79  sections as part of a whole which is a work based on the
   80  Library, the distribution of the whole must be on the terms
   81  of this License, whose permissions for other licensees extend
   82  to the entire whole, and thus to each and every part
   83  regardless of who wrote it. 
   84 
   85  Thus, it is not the intent of this section to claim rights
   86  or contest your rights to work written entirely by you;
   87  rather, the intent is to exercise the right to control the
   88  distribution of derivative or collective works based on
   89  the Library. 
   90 
   91  In addition, mere aggregation of another work not based on
   92  the Library with the Library (or with a work based on the
   93  Library) on a volume of a storage or distribution medium
   94  does not bring the other work under the scope of this License. 
   95 
   96  3. You may opt to apply the terms of the ordinary
   97  GNU General Public License instead of this License
   98  to a given copy of the Library.  To do this, you must
   99  alter all the notices that refer to this License, so
  100  that they refer to the ordinary GNU General Public License,
  101  version 2, instead of to this License.  (If a newer version
  102  than version 2 of the ordinary GNU General Public License
  103  has appeared, then you can specify that version instead
  104  if you wish).  Do not make any other change in these notices.
  105 
  106  Once this change is made in a given copy, it is irreversible
  107  for that copy, so the ordinary GNU General Public License
  108  applies to all subsequent copies and derivative works made
  109  from that copy. 
  110 
  111  This option is useful when you wish to copy part of the
  112  code of the Library into a program that is not a library. 
  113 
  114  4. You may copy and distribute the Library (or a portion
  115  or derivative of it, under Section 2) in object code or
  116  executable form under the terms of Sections 1 and 2 above
  117  provided that you accompany it with the complete corresponding
  118  machine-readable source code, which must be distributed under
  119  the terms of Sections 1 and 2 above on a medium customarily
  120  used for software interchange. 
  121 
  122  If distribution of object code is made by offering access
  123  to copy from a designated place, then offering equivalent
  124  access to copy the source code from the same place satisfies
  125  the requirement to distribute the source code, even though
  126  third parties are not compelled to copy the source along
  127  with the object code. 
  128 
  129  5. A program that contains no derivative of any portion
  130  of the Library, but is designed to work with the Library
  131  by being compiled or linked with it, is called a "work that
  132  uses the Library".  Such a work, in isolation, is not a
  133  derivative work of the Library, and therefore falls
  134  outside the scope of this License. 
  135 
  136  However, linking a "work that uses the Library" with the
  137  Library creates an executable that is a derivative of the
  138  Library (because it contains portions of the Library),
  139  rather than a "work that uses the library".  The executable
  140  is therefore covered by this License.  Section 6 states
  141  terms for distribution of such executables. 
  142 
  143  When a "work that uses the Library" uses material from
  144  a header file that is part of the Library, the object code
  145  for the work may be a derivative work of the Library even
  146  though the source code is not.  Whether this is true is
  147  especially significant if the work can be linked without
  148  the Library, or if the work is itself a library.
  149  The threshold for this to be true is not precisely
  150  defined by law. 
  151 
  152  If such an object file uses only numerical parameters,
  153  data structure layouts and accessors, and small macros
  154  and small inline functions (ten lines or less in length),
  155  then the use of the object file is unrestricted, regardless
  156  of whether it is legally a derivative work.  (Executables
  157  containing this object code plus portions of the Library
  158  will still fall under Section 6.) 
  159 
  160  Otherwise, if the work is a derivative of the Library,
  161  you may distribute the object code for the work under
  162  the terms of Section 6.  Any executables containing
  163  that work also fall under Section 6, whether or not
  164  they are linked directly with the Library itself. 
  165 
  166  6. As an exception to the Sections above, you may also
  167  combine or link a "work that uses the Library" with the
  168  Library to produce a work containing portions of the
  169  Library, and distribute that work under terms of your
  170  choice, provided that the terms permit modification
  171  of the work for the customer's own use and reverse
  172  engineering for debugging such modifications. 
  173 
  174  You must give prominent notice with each copy of the work
  175  that the Library is used in it and that the Library and its
  176  use are covered by this License.  You must supply a copy of
  177  this License.  If the work during execution displays copyright
  178  notices, you must include the copyright notice for the Library
  179  among them, as well as a reference directing the user to the
  180  copy of this License.  Also, you must do one of these things: 
  181 
  182  a) Accompany the work with the complete corresponding
  183     machine-readable source code for the Library including
  184     whatever changes were used in the work (which must be
  185     distributed under Sections 1 and 2 above); and, if the
  186     work is an executable linked with the Library, with the
  187     complete machine-readable "work that uses the Library",
  188     as object code and/or source code, so that the user can
  189     modify the Library and then relink to produce a modified
  190     executable containing the modified Library.
  191     (It is understood that the user who changes the contents
  192     of definitions files in the Library will not necessarily
  193     be able to recompile the application to use the modified
  194     definitions.) 
  195  b) Use a suitable shared library mechanism for linking with
  196     the Library.  A suitable mechanism is one that (1) uses
  197     at run time a copy of the library already present on the
  198     user's computer system, rather than copying library functions
  199     into the executable, and (2) will operate properly with a
  200     modified version of the library, if the user installs one,
  201     as long as the modified version is interface-compatible
  202     with the version that the work was made with. 
  203  c) Accompany the work with a written offer, valid for at
  204     least three years, to give the same user the materials
  205     specified in Subsection 6a, above, for a charge no more
  206     than the cost of performing this distribution. 
  207  d) If distribution of the work is made by offering access
  208     to copy from a designated place, offer equivalent access
  209     to copy the above specified materials from the same place. 
  210  e) Verify that the user has already received a copy of these
  211     materials or that you have already sent this user a copy. 
  212 
  213  For an executable, the required form of the "work that uses
  214  the Library" must include any data and utility programs needed
  215  for reproducing the executable from it.  However, as a special
  216  exception, the materials to be distributed need not include
  217  anything that is normally distributed (in either source or
  218  binary form) with the major components (compiler, kernel,
  219  and so on) of the operating system on which the executable
  220  runs, unless that component itself accompanies the executable. 
  221 
  222  It may happen that this requirement contradicts the license
  223  restrictions of other proprietary libraries that do not normally
  224  accompany the operating system.  Such a contradiction means you
  225  cannot use both them and the Library together in an executable
  226  that you distribute. 
  227 
  228  7. You may place library facilities that are a work based on
  229  the Library side-by-side in a single library together with
  230  other library facilities not covered by this License, and
  231  distribute such a combined library, provided that the
  232  separate distribution of the work based on the Library
  233  and of the other library facilities is otherwise permitted,
  234  and provided that you do these two things: 
  235 
  236  a) Accompany the combined library with a copy of the
  237     same work based on the Library, uncombined with any
  238     other library facilities.  This must be distributed
  239     under the terms of the Sections above.
  240  b) Give prominent notice with the combined library of
  241     the fact that part of it is a work based on the Library,
  242     and explaining where to find the accompanying uncombined
  243     form of the same work.
  244 
  245  8. You may not copy, modify, sublicense, link with, or
  246  distribute the Library except as expressly provided
  247  under this License.  Any attempt otherwise to copy,
  248  modify, sublicense, link with, or distribute the
  249  Library is void, and will automatically terminate
  250  your rights under this License.  However, parties
  251  who have received copies, or rights, from you under
  252  this License will not have their licenses terminated
  253  so long as such parties remain in full compliance. 
  254 
  255  9. You are not required to accept this License, since you
  256  have not signed it.  However, nothing else grants you
  257  permission to modify or distribute the Library or its
  258  derivative works.  These actions are prohibited by law
  259  if you do not accept this License.  Therefore, by
  260  modifying or distributing the Library (or any work
  261  based on the Library), you indicate your acceptance
  262  of this License to do so, and all its terms and
  263  conditions for copying, distributing or modifying
  264  the Library or works based on it. 
  265 
  266  10. Each time you redistribute the Library (or any work
  267  based on the Library), the recipient automatically
  268  receives a license from the original licensor to copy,
  269  distribute, link with or modify the Library subject
  270  to these terms and conditions.  You may not impose
  271  any further restrictions on the recipients' exercise
  272  of the rights granted herein.  You are not responsible
  273  for enforcing compliance by third parties with
  274  this License.
  275 
  276  11. If, as a consequence of a court judgment or allegation
  277  of patent infringement or for any other reason (not
  278  limited to patent issues), conditions are imposed on
  279  you (whether by court order, agreement or otherwise)
  280  that contradict the conditions of this License, they
  281  do not excuse you from the conditions of this License.
  282  If you cannot distribute so as to satisfy simultaneously
  283  your obligations under this License and any other pertinent
  284  obligations, then as a consequence you may not distribute
  285  the Library at all.  For example, if a patent license
  286  would not permit royalty-free redistribution of the
  287  Library by all those who receive copies directly or
  288  indirectly through you, then the only way you could
  289  satisfy both it and this License would be to refrain
  290  entirely from distribution of the Library.
  291 
  292  If any portion of this section is held invalid or
  293  unenforceable under any particular circumstance,
  294  the balance of the section is intended to apply,
  295  and the section as a whole is intended to apply
  296  in other circumstances. 
  297 
  298  It is not the purpose of this section to induce you
  299  to infringe any patents or other property right claims
  300  or to contest validity of any such claims; this section
  301  has the sole purpose of protecting the integrity of the
  302  free software distribution system which is implemented
  303  by public license practices.  Many people have made
  304  generous contributions to the wide range of software
  305  distributed through that system in reliance on consistent
  306  application of that system; it is up to the author/donor
  307  to decide if he or she is willing to distribute software
  308  through any other system and a licensee cannot impose
  309  that choice. 
  310 
  311  This section is intended to make thoroughly clear what
  312  is believed to be a consequence of the rest of this License. 
  313 
  314  12. If the distribution and/or use of the Library is
  315  restricted in certain countries either by patents or
  316  by copyrighted interfaces, the original copyright holder
  317  who places the Library under this License may add an
  318  explicit geographical distribution limitation excluding
  319  those countries, so that distribution is permitted only
  320  in or among countries not thus excluded.  In such case,
  321  this License incorporates the limitation as if written
  322  in the body of this License. 
  323 
  324  13. The Free Software Foundation may publish revised
  325  and/or new versions of the Lesser General Public License
  326  from time to time.  Such new versions will be similar
  327  in spirit to the present version, but may differ in
  328  detail to address new problems or concerns. 
  329 
  330  Each version is given a distinguishing version number.
  331  If the Library specifies a version number of this
  332  License which applies to it and "any later version",
  333  you have the option of following the terms and conditions
  334  either of that version or of any later version published
  335  by the Free Software Foundation.  If the Library does not
  336  specify a license version number, you may choose any version
  337  ever published by the Free Software Foundation. 
  338 
  339  14. If you wish to incorporate parts of the Library into
  340  other free programs whose distribution conditions are
  341  incompatible with these, write to the author to ask for
  342  permission.  For software which is copyrighted by the
  343  Free Software Foundation, write to the Free Software
  344  Foundation; we sometimes make exceptions for this.
  345  Our decision will be guided by the two goals of
  346  preserving the free status of all derivatives of
  347  our free software and of promoting the sharing and
  348  reuse of software generally. 
  349 
  350  NO WARRANTY 
  351 
  352  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE,
  353  THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT
  354  PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN OTHERWISE
  355  STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
  356  PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY
  357  OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
  358  BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  359  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  360  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
  361  THE LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE
  362  DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  363  SERVICING, REPAIR OR CORRECTION.
  364 
  365  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR
  366  AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY
  367  OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
  368  LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  369  INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
  370  DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  371  LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR
  372  DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  373  YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO
  374  OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER
  375  OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY
  376  OF SUCH DAMAGES.