Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: SAGA GIS
Upstream-Contact: Olaf Conrad <oconrad@saga-gis.org>
Source: http://www.saga-gis.org
Comment: Saga is generally licensed using two licenses:
 LGPL-2.1+ for the libraries and GPL-2+ for the rest of the program.
 Excluded files are non-free (triangle and firelib) or are already packaged 
 in debian (svm and dxflib).
Files-Excluded: src/tools/grid/grid_gridding/nn/triangle.c
 src/tools/grid/grid_gridding/nn/triangle.h
 src/tools/simulation/sim_fire_spreading/fireLib.*
 src/tools/imagery/imagery_svm/svm/svm.cpp
 src/tools/imagery/imagery_svm/svm/svm.h
 src/tools/io/io_shapes_dxf/dxflib/*

Files: *
Copyright: SAGA Development Team
License: GPL-2+

Files: src/saga_core/saga_api/*
Copyright: 2005-2019, Olaf Conrad
License: LGPL-2.1+

Files: src/saga_core/saga_api/mat_formula.cpp
Copyright: 2002, Andre Ringeler
      1993-1998, Harald Helfgott
License: LGPL-2.1+

Files: src/saga_core/saga_api/clipper.cpp
 src/saga_core/saga_api/clipper.hpp
Copyright: 2010-2014, Angus Johnson
License: BSL-1.0

Files: src/saga_core/saga_api/nanoflann.hpp
Copyright: 2008-2009, David G. Lowe (lowe@cs.ubc.ca).
           2008-2009, Marius Muja (mariusm@cs.ubc.ca).
            2011-2016, Jose Luis Blanco (joseluisblancoc@gmail.com).
License: BSD-2-clause

Files: src/saga_core/saga_cmd/*
Copyright: 2005, 2017, Olaf Conrad
License: GPL-2+

Files: src/saga_core/saga_gdi/*
Copyright: 2008-2009, 2014, Olaf Conrad
License: GPL-2+

Files: src/saga_core/saga_gdi/saga_gdi.cpp
Copyright: 2009, Olaf Conrad
License: GPL-2

Files: src/saga_core/saga_gui/*
Copyright: 2005-2009, Olaf Conrad
License: GPL-2+

Files: src/saga_core/saga_gui/data_source_files.cpp
 src/saga_core/saga_gui/data_source_files.h
Copyright: 2010, Sun Zhuo
License: GPL-2+

Files: src/saga_core/saga_gui/res/org.saga-gis.saga-gui.appdata.xml
Copyright: 2018, SAGA Development Team
License: CC0-1.0

Files: src/tools/climate/*
Copyright: 2011-2019, Olaf Conrad
License: GPL-2+

Files: src/tools/contrib/contrib_perego/*
Copyright: Alessandro Perego
License: GPL-2

Files: src/tools/db/*
Copyright: 2004-2013, Olaf Conrad
License: GPL-2+

Files: src/tools/db/db_odbc/otlv4.h
Copyright: 1996-2010, Sergei Kuchin <skuchin@gmail.com>
License: OpenBSD-License
 This library is free software. Permission to use, copy, modify,
 and/or distribute this software for any purpose with or without fee
 is hereby granted, provided that the above copyright notice and
 this permission notice appear in all copies.
 .
 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Files: src/tools/docs/*
Copyright: 2005, Victor Olaya
           2010, Olaf Conrad
License: GPL-2+

Files: src/tools/docs/docs_html/doc_html.cpp
 src/tools/docs/docs_html/doc_html.h
 src/tools/docs/docs_html/doc_svg.cpp
 src/tools/docs/docs_html/doc_svg.h
 src/tools/docs/docs_pdf/doc_pdf.cpp
 src/tools/docs/docs_pdf/doc_pdf.h
Copyright: 2005, Victor Olaya
           2005, Olaf Conrad
License: LGPL-2.1

Files: src/tools/garden/*
Copyright: 2003-2018, Olaf Conrad
                2006, Victor Olaya
                2003, Andre Ringeler
License: GPL-2+

Files: src/tools/grid/*
Copyright: 2003-2019, Olaf Conrad
                2015, Johan Van de Wauw
           2005-2014, Volker Wichmann
                2013, HfT Stuttgart
                2012, Magnus Bremer
           2003-2010, Victor Olaya
           2003-2007, Antonio Boggia and Gianluca Massei
                2003, Andre Ringeler
                2003, SAGA User Group Associaton
License: GPL-2+

Files: src/tools/grid/grid_gridding/nn/*
 src/tools/grid/grid_spline/csa.*
Copyright: 2000-2008, Pavel Sakov and CSIRO
License: BSD-2-clause

Files: src/tools/imagery/*
Copyright: 2003-2016, Olaf Conrad
     2008, 2012-2013, Benjamin Bechtel
                2013, HfT Stuttgart
                2009, SAGA User Group Assoc.
                      Victor Olaya
License: GPL-2+

Files: src/tools/imagery/imagery_maxent/me.cpp
 src/tools/imagery/imagery_maxent/me.h
Copyright: 2003, Dekang Lin <lindek@cs.ualberta.ca>
License: maxent
 Permission to use, copy, modify, and distribute this software for any
 purpose is hereby granted without fee, provided that the above
 copyright notice appear in all copies and that both that copyright
 notice and this permission notice appear in supporting documentation.
 No representations about the suitability of this software for any
 purpose is made. It is provided "as is" without express or implied
 warranty.

Files: src/tools/imagery/imagery_tools/landsat_toar_core.cpp
Copyright: 2000-2005, Liam Girdwood
                2006, E. Jorge Tizado
Comment: Contains code modified from libnova-0.12, grass
License: GPL-2+

Files: src/tools/io/*
Copyright: 2003-2018, Olaf Conrad
           2009-2014, Volker Wichmann
                      Victor Olaya
License: GPL-2+

Files: src/tools/io/io_esri_e00/e00compr/cpl_conv.c
 src/tools/io/io_esri_e00/e00compr/cpl_conv.h
 src/tools/io/io_esri_e00/e00compr/cpl_error.c
 src/tools/io/io_esri_e00/e00compr/cpl_error.h
 src/tools/io/io_esri_e00/e00compr/cpl_port.h
 src/tools/io/io_esri_e00/e00compr/cpl_vsi.h
 src/tools/io/io_esri_e00/e00compr/cpl_vsisimple.c
Copyright: 1998, Daniel Morissette
           1998, Frank Warmerdam
License: Expat

Files: src/tools/io/io_esri_e00/e00compr/e00compr.h
 src/tools/io/io_esri_e00/e00compr/e00read.c
 src/tools/io/io_esri_e00/e00compr/e00write.c
Copyright: 1998-1999, Daniel Morissette
License: e00compr
 All rights reserved.  This software may be copied or reproduced, in
 all or in part, without the prior written consent of its author,
 Daniel Morissette (danmo@videotron.ca).  However, any material copied
 or reproduced must bear the original copyright notice (above), this
 original paragraph, and the original disclaimer (below).
 .
 The entire risk as to the results and performance of the software,
 supporting text and other information contained in this file
 (collectively called the "Software") is with the user.  Although
 considerable efforts have been used in preparing the Software, the
 author does not warrant the accuracy or completeness of the Software.
 In no event will the author be liable for damages, including loss of
 profits or consequential damages, arising out of the use of the
 Software.

Files: src/tools/pointcloud/*
Copyright: 2003-2009, Olaf Conrad
                2012, Magnus Bremer
           2009-2014, Volker Wichmann
                      Victor Olaya
License: GPL-2+

Files: src/tools/projection/*
Copyright: 2003-2018, Olaf Conrad
License: GPL-2+

Files: src/tools/shapes/*
Copyright: 2003-2019, Olaf Conrad
           2012-2016, Volker Wichmann
           2007-2009, Johan Van de Wauw
           2004-2005, Victor Olaya
License: GPL-2+

Files: src/tools/shapes/shapes_tools/quadtree_structure.cpp
 src/tools/shapes/shapes_tools/quadtree_structure.h
Copyright: 2009, Olaf Conrad
License: LGPL-2.1

Files: src/tools/simulation/*
Copyright: 2002-2017, Olaf Conrad
                2016, Volker Wichmann
           2006-2008, Stefan Liersch
                      Victor Olaya
License: GPL-2+

Files: src/tools/statistics/*
Copyright: 2003-2016, Olaf Conrad
                2009, Andre Ringeler
License: GPL-2+

Files: src/tools/table/*
Copyright: 2003-2019, Olaf Conrad
           2013-2014, Volker Wichmann
                2010, Jan Papmeier
                2005, Victor Olaya
           2003-2005, SAGA User Group Associaton
                2003, Andre Ringeler
License: GPL-2+

Files: src/tools/terrain_analysis/*
Copyright: 2003-2019, Olaf Conrad
           2012-2013, Andreas Günther
           2003-2013, Volker Wichmann
                2015, Paolo Gandelli
                2008, Andre Ringeler
                      Victor Olaya
License: GPL-2+

Files: src/tools/tin/*
Copyright: 2003-2011, Olaf Conrad
License: GPL-2+

Files: debian/*
Copyright: 2010-2014 Johan Van de Wauw <johan.vandewauw@gmail.com>
License: LGPL-2.1+

License: GPL-2
 This program is free software; you can redistribute it
 and/or modify it under the terms of the GNU General Public
 License as published by the Free Software Foundation; either
 version 2 of the License.
 .
 This program is distributed in the hope that it will be
 useful, but WITHOUT ANY WARRANTY; without even the implied
 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.  See the GNU General Public License for more
 details.
 .
 You should have received a copy of the GNU General Public
 License along with this package; if not, write to the Free
 Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 Boston, MA  02110-1301 USA
 .
 On Debian systems, the full text of the GNU General Public
 License version 2 can be found in the file
 `/usr/share/common-licenses/GPL-2'.

License: GPL-2+
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License along
 with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 .
 On Debian systems, the complete text of version 2 of the GNU General
 Public License can be found in `/usr/share/common-licenses/GPL-2'.

License: LGPL-2.1
 This library is free software; you can redistribute
 it and/or modify it under the terms of the GNU Lesser
 General Public License as published by the Free
 Software Foundation, version 2.1 of the License.
 .
 This library is distributed in the hope that it will
 be useful, but WITHOUT ANY WARRANTY; without even the
 implied warranty of MERCHANTABILITY or FITNESS FOR A
 PARTICULAR PURPOSE. See the GNU Lesser General Public
 License for more details.
 .
 You should have received a copy of the GNU Lesser
 General Public License along with this program; if
 not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, 5th Floor, Boston, MA 02110-1301,
 USA.
 .
 On Debian systems, the full text of the GNU General Public
 License version 2 can be found in the file
 `/usr/share/common-licenses/LGPL-2.1'.

License: LGPL-2.1+
 This library is free software; you can redistribute
 it and/or modify it under the terms of the GNU Lesser
 General Public License as published by the Free
 Software Foundation, version 2.1 of the License, or (at your
 option) any later version..
 .
 This library is distributed in the hope that it will
 be useful, but WITHOUT ANY WARRANTY; without even the
 implied warranty of MERCHANTABILITY or FITNESS FOR A
 PARTICULAR PURPOSE. See the GNU Lesser General Public
 License for more details.
 .
 You should have received a copy of the GNU Lesser
 General Public License along with this program; if
 not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, 5th Floor, Boston, MA 02110-1301,
 USA.
 .
 On Debian systems, the full text of the GNU General Public
 License version 2 can be found in the file
 `/usr/share/common-licenses/LGPL-2.1'.

License: BSD-2-clause
 Redistribution and use of material from the package `nn', with or without
 modification, are permitted provided that the following conditions are
 met:
 .
    1. Redistributions of material must retain the above copyright notice, this
       list of conditions and the following disclaimer.
    2. The names of the authors may not be used to endorse or promote products
       derived from this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
 EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
 OF SUCH DAMAGE.

License: BSL-1.0
 Boost Software License - Version 1.0 - August 17th, 2003
 .
 Permission is hereby granted, free of charge, to any person or organization
 obtaining a copy of the software and accompanying documentation covered by
 this license (the "Software") to use, reproduce, display, distribute,
 execute, and transmit the Software, and to prepare derivative works of the
 Software, and to permit third-parties to whom the Software is furnished to
 do so, all subject to the following:
 .
 The copyright notices in the Software and this entire statement, including
 the above license grant, this restriction and the following disclaimer,
 must be included in all copies of the Software, in whole or in part, and
 all derivative works of the Software, unless such copies or derivative
 works are solely in the form of machine-executable object code generated by
 a source language processor.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
 SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
 FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 DEALINGS IN THE SOFTWARE.

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
 to deal in the Software without restriction, including without limitation
 the rights to use, copy, modify, merge, publish, distribute, sublicense,
 and/or sell copies of the Software, and to permit persons to whom the
 Software is furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included
 in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 DEALINGS IN THE SOFTWARE.

License: CC0-1.0
 Creative Commons Legal Code
 CC0 1.0 Universal
 .
    CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
    LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
    ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
    INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO
    WARRANTIES REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR
    WORKS PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES
    RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
    PROVIDED HEREUNDER.
 .
 Statement of Purpose
 .
 The laws of most jurisdictions throughout the world automatically confer
 exclusive Copyright and Related Rights (defined below) upon the creator
 and subsequent owner(s) (each and all, an "owner") of an original work
 of authorship and/or a database (each, a "Work").
 .
 Certain owners wish to permanently relinquish those rights to a Work for
 the purpose of contributing to a commons of creative, cultural and
 scientific works ("Commons") that the public can reliably and without
 fear of later claims of infringement build upon, modify, incorporate in
 other works, reuse and redistribute as freely as possible in any form
 whatsoever and for any purposes, including without limitation commercial
 purposes. These owners may contribute to the Commons to promote the
 ideal of a free culture and the further production of creative, cultural
 and scientific works, or to gain reputation or greater distribution for
 their Work in part through the use and efforts of others.
 .
 For these and/or other purposes and motivations, and without any
 expectation of additional consideration or compensation, the person
 associating CC0 with a Work (the "Affirmer"), to the extent that he or
 she is an owner of Copyright and Related Rights in the Work, voluntarily
 elects to apply CC0 to the Work and publicly distribute the Work under
 its terms, with knowledge of his or her Copyright and Related Rights in
 the Work and the meaning and intended legal effect of CC0 on those
 rights.
 .
 1. Copyright and Related Rights. A Work made available under CC0 may be
    protected by copyright and related or neighboring rights ("Copyright
    and Related Rights"). Copyright and Related Rights include, but are not
    limited to, the following:
 .
    i.   the right to reproduce, adapt, distribute, perform, display,
         communicate, and translate a Work;
 .
    ii.  moral rights retained by the original author(s) and/or
         performer(s);
 .
    iii. publicity and privacy rights pertaining to a person's image or
         likeness depicted in a Work;
 .
    iv.  rights protecting against unfair competition in regards to a
         Work, subject to the limitations in paragraph 4(a), below;
 .
    v.   rights protecting the extraction, dissemination, use and reuse
         of data in a Work;
 .
    vi.  database rights (such as those arising under Directive 96/9/EC
         of the European Parliament and of the Council of 11 March 1996 on
         the legal protection of databases, and under any national
         implementation thereof, including any amended or successor version
         of such directive); and
 .
    vii. other similar, equivalent or corresponding rights throughout
         the world based on applicable law or treaty, and any national
         implementations thereof.
 .
 2. Waiver. To the greatest extent permitted by, but not in
 contravention of, applicable law, Affirmer hereby overtly, fully,
 permanently, irrevocably and unconditionally waives, abandons, and
 surrenders all of Affirmer's Copyright and Related Rights and
 associated claims and causes of action, whether now known or unknown
 (including existing as well as future claims and causes of action), in
 the Work (i) in all territories worldwide, (ii) for the maximum
 duration provided by applicable law or treaty (including future time
 extensions), (iii) in any current or future medium and for any number
 of copies, and (iv) for any purpose whatsoever, including without
 limitation commercial, advertising or promotional purposes (the
 "Waiver"). Affirmer makes the Waiver for the benefit of each member of
 the public at large and to the detriment of Affirmer's heirs and
 successors, fully intending that such Waiver shall not be subject to
 revocation, rescission, cancellation, termination, or any other legal
 or equitable action to disrupt the quiet enjoyment of the Work by the
 public as contemplated by Affirmer's express Statement of Purpose.
 .
 3. Public License Fallback. Should any part of the Waiver for any
 reason be judged legally invalid or ineffective under applicable law,
 then the Waiver shall be preserved to the maximum extent permitted
 taking into account Affirmer's express Statement of Purpose. In
 addition, to the extent the Waiver is so judged Affirmer hereby grants
 to each affected person a royalty-free, non transferable, non
 sublicensable, non exclusive, irrevocable and unconditional license to
 exercise Affirmer's Copyright and Related Rights in the Work (i) in all
 territories worldwide, (ii) for the maximum duration provided by
 applicable law or treaty (including future time extensions), (iii) in
 any current or future medium and for any number of copies, and (iv) for
 any purpose whatsoever, including without limitation commercial,
 advertising or promotional purposes (the "License"). The License shall
 be deemed effective as of the date CC0 was applied by Affirmer to the
 Work. Should any part of the License for any reason be judged legally
 invalid or ineffective under applicable law, such partial invalidity or
 ineffectiveness shall not invalidate the remainder of the License, and
 in such case Affirmer hereby affirms that he or she will not (i)
 exercise any of his or her remaining Copyright and Related Rights in
 the Work or (ii) assert any associated claims and causes of action with
 respect to the Work, in either case contrary to Affirmer's express
 Statement of Purpose.
 .
 4. Limitations and Disclaimers.
 .
    a. No trademark or patent rights held by Affirmer are waived,
       abandoned, surrendered, licensed or otherwise affected by this
       document.
 .
    b. Affirmer offers the Work as-is and makes no representations or
       warranties of any kind concerning the Work, express, implied,
       statutory or otherwise, including without limitation warranties of
       title, merchantability, fitness for a particular purpose, non
       infringement, or the absence of latent or other defects, accuracy,
       or the present or absence of errors, whether or not discoverable,
       all to the greatest extent permissible under applicable law.
 .
    c. Affirmer disclaims responsibility for clearing rights of other
       persons that may apply to the Work or any use thereof, including
       without limitation any person's Copyright and Related Rights in the
       Work. Further, Affirmer disclaims responsibility for obtaining any
       necessary consents, permissions or other rights required for any use
       of the Work.
 .
    d. Affirmer understands and acknowledges that Creative Commons is
       not a party to this document and has no duty or obligation with
       respect to this CC0 or use of the Work.
 .
 https://creativecommons.org/choose/zero/
