Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PGOPHER Upstream-Contact: Cyril Richard Source: https://gitlab.com/labicb/pgopher https://sourceforge.net/projects/lazarus-ccr/files/FPSpreadsheet/ Comment: The main tarball is repacked to leave out four files that contain code PGOPHER cannot distribute under its license: - utils/Interp.pas is a translation of the spline routines of contour.c of gnuplot, whose license does not allow distributing modified sources; - utils/SavitzkyGolay.pas follows the savgol routine of Numerical Recipes; - utils/EigLA.pas and utils/MatrixOps.pas contain, in code that is not compiled (no LAPACK), the tred2, tqli and gaussj routines of Numerical Recipes. debian/patches/replace-non-free-code.patch adds them back: new implementations of the first two, and the last two without those routines. . The fpspreadsheet component, FPSpreadsheet, is repacked to leave out the parts PGOPHER does not use (other Lazarus packages, examples, unit tests), and the compiled documentation and resources, which come without their source. Files-Excluded: utils/EigLA.pas utils/Interp.pas utils/MatrixOps.pas utils/SavitzkyGolay.pas Files-Excluded-fpspreadsheet: docs examples fps_all.lpg images languages laz_fpspreadsheet_*.lpk laz_fpspreadsheetexport_visual.lpk reference resource source/crypto source/dataset source/design source/export source/visual unit-tests Files: * Copyright: 2005-2018 C. M. Western 2026 Cyril Richard 2026 PGOPHER contributors License: LGPL-2.1+ Files: utils/Contour.pas Copyright: 2005-2018 C. M. Western License: LGPL-2.1+ Comment: The header says "based on routines from Gnuplot". The contour tracing in this file is an implementation of its own (its data structures and code have nothing in common with contour.c of gnuplot); the gnuplot code it relied on, the spline routines of utils/Interp.pas, is removed from the tarball and replaced (see the header). Files: lutils/SVD.pas Copyright: 2005-2018 C. M. Western License: LGPL-2.1+ Comment: SV_Decompose, not compiled, is a translation of svd.f of the SLATEC library, which is in the public domain. Files: utils/LSQSpline.pas utils/PiecewisePoly.pas utils/SmoothSpline.pas Copyright: 2005-2018 C. M. Western License: LGPL-2.1+ Comment: Translations of routines of PPPACK, the Fortran package of C. de Boor, "A Practical Guide to Splines" (Springer, 1978), distributed by netlib (https://www.netlib.org/pppack/) with no restriction; GSL, in Debian main, carries routines adapted from PPPACK in the same way (bspline/bspline.c). Files: utils/nj.pas Copyright: 2005-2018 C. M. Western License: LGPL-2.1+ Comment: The 3j and 6j coefficients are computed with the recursion published by K. Schulten and R. G. Gordon, J. Math. Phys. 16, 1961 (1975), following a program by D. E. Fitz (1979). Files: wutils/MDIFix.pas wutils/NGrid.pas utils/Sysinfo.pas Copyright: 2005-2018 C. M. Western License: LGPL-2.1+ Comment: MDIFix.pas follows the algorithm used by Wine to tile MDI windows (the code is not taken from Wine). NGrid.pas and Sysinfo.pas contain a few lines copied from the LCL of Lazarus (TDrawGrid, CocoaUtils), which is licensed under the LGPL-2+ with the static linking exception (see "LGPL-2+ with staticLink exception" below). Files: utils/blas/*.f utils/blas/dgemm.nonblocked utils/lapack/complex16/* utils/lapack/double/* utils/lapack/svd/* utils/lapack/twostage/* utils/lapack/util/* utils/lapack/LAPACK-LICENSE.txt Copyright: 1992-2013 The University of Tennessee and The University of Tennessee Research Foundation 2000-2013 The University of California Berkeley 2006-2013 The University of Colorado Denver 2005-2018 C. M. Western License: BSD-3-clause Comment: Subset of BLAS and LAPACK 3.7.1, modified by C. M. Western as described in utils/lapack/lapack.patch. Files: utils/blas/mschkstk.s Copyright: Free Software Foundation, Inc. License: GPL-3+ with GCC-Runtime-Library exception Comment: ___chkstk_ms, taken from libgcc; only used on Windows. Files: utils/xml/pgDOM.pas utils/xml/pgXMLRead.pas utils/xml/pgXMLWrite.pas Copyright: 1999-2000 Sebastian Guenther 2005-2018 C. M. Western License: LGPL-2+ with staticLink exception Comment: Copies of units of the Free Component Library of Free Pascal, licensed by COPYING.FPC. Files: pgopher/PDFReader/pgmd5.pas Copyright: 1999-2006 the Free Pascal development team License: LGPL-2+ with staticLink exception Comment: Copy of a unit of the Free Pascal packages, licensed by COPYING.FPC. Files: utils/SPEcopy.pas Copyright: 1986-2000 Kees van Ginneken, Wil Kortsmit and Loek van Reij, Eindhoven University of Technology 2005-2018 C. M. Western License: LGPL-2+ with staticLink exception Comment: Taken from the numlib package of Free Pascal. Files: utils/xml/pgAVL_Tree.pas Copyright: Mattias Gaertner 2005-2018 C. M. Western License: GPL-2+ Files: pgopher/PDFReader/CCITT.pas pgopher/PDFReader/Flate.pas Copyright: Glyph & Cog, LLC 2011 C. M. Western License: GPL-2 Comment: Translated from the decoders of xpdf. Files: tests/samples/H2OCAS.out tests/samples/H2OplusCAS.out Copyright: 2005-2018 C. M. Western License: LGPL-2.1+ Comment: XML output of the MOLPRO quantum chemistry program, produced by C. M. Western and used as test input for the MOLPRO importer. The line "Copyright, University College Cardiff Consultants Limited, 2004" is part of the banner that MOLPRO prints in all its output: it refers to the MOLPRO program itself, not to these computed results, and no MOLPRO code is included. Files: data/linux/io.gitlab.labicb.pgopher.metainfo.xml Copyright: 2026 PGOPHER contributors License: CC0-1.0 Files: fpspreadsheet/* Copyright: Felipe Monteiro de Carvalho Reinier Olislagers Werner Pamler José Mejuto Porral Jose Luis Jurado Rincon License: LGPL-2+ with staticLink exception Comment: The units refer to the file COPYING.modifiedLGPL.txt of Lazarus. Files: fpspreadsheet/source/common/fpscsvdocument.pas Copyright: 2010-2014 Vladimir Zhirov License: LGPL-2+ with staticLink exception Files: fpspreadsheet/source/common/fpsexprparser.pas Copyright: 2008 Michael Van Canneyt License: LGPL-2+ with staticLink exception Comment: From the Free Component Library of Free Pascal, licensed by COPYING.FPC. Files: fpspreadsheet/source/common/fpszipper.pp Copyright: 1999-2014 the Free Pascal development team License: LGPL-2+ with staticLink exception Comment: From the Free Component Library of Free Pascal, licensed by COPYING.FPC. Files: debian/* Copyright: 2026 Cyril Richard License: LGPL-2.1+ Files: debian/patches/replace-non-free-code.patch Copyright: 2005-2018 C. M. Western 2026 Cyril Richard License: LGPL-2.1+ Comment: New utils/Interp.pas and utils/SavitzkyGolay.pas, written for Debian from the textbook definitions (Cyril Richard), and utils/EigLA.pas and utils/MatrixOps.pas of C. M. Western without the routines of Numerical Recipes. 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; either 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. . On Debian systems, the complete text of version 2.1 of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2.1". License: LGPL-2+ with staticLink exception This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version with the following modification: . As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your 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 Library General Public License for more details. . On Debian systems, the complete text of version 2 of the GNU Library General Public License can be found in "/usr/share/common-licenses/LGPL-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. . 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: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. . 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. . 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: GPL-3+ with GCC-Runtime-Library exception This file 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 3, or (at your option) any later version. . This file 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. . Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. . On Debian systems, the complete text of version 3 of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-3". . The text of the GCC Runtime Library Exception follows: . GCC RUNTIME LIBRARY EXCEPTION . Version 3.1, 31 March 2009 . Copyright (C) 2009 Free Software Foundation, Inc. . Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. . This GCC Runtime Library Exception ("Exception") is an additional permission under section 7 of the GNU General Public License, version 3 ("GPLv3"). It applies to a given file (the "Runtime Library") that bears a notice placed by the copyright holder of the file stating that the file is governed by GPLv3 along with this Exception. . When you use GCC to compile a program, GCC may combine portions of certain GCC header files and runtime libraries with the compiled program. The purpose of this Exception is to allow compilation of non-GPL (including proprietary) programs to use, in this way, the header files and runtime libraries covered by this Exception. . 0. Definitions. . A file is an "Independent Module" if it either requires the Runtime Library for execution after a Compilation Process, or makes use of an interface provided by the Runtime Library, but is not otherwise based on the Runtime Library. . "GCC" means a version of the GNU Compiler Collection, with or without modifications, governed by version 3 (or a specified later version) of the GNU General Public License (GPL) with the option of using any subsequent versions published by the FSF. . "GPL-compatible Software" is software whose conditions of propagation, modification and use would permit combination with GCC in accord with the license of GCC. . "Target Code" refers to output from any compiler for a real or virtual target processor architecture, in executable form or suitable for input to an assembler, loader, linker and/or execution phase. Notwithstanding that, Target Code does not include data in any format that is used as a compiler intermediate representation, or used for producing a compiler intermediate representation. . The "Compilation Process" transforms code entirely represented in non-intermediate languages designed for human-written code, and/or in Java Virtual Machine byte code, into Target Code. Thus, for example, use of source code generators and preprocessors need not be considered part of the Compilation Process, since the Compilation Process can be understood as starting with the output of the generators or preprocessors. . A Compilation Process is "Eligible" if it is done using GCC, alone or with other GPL-compatible software, or if it is done without using any work based on GCC. For example, using non-GPL-compatible Software to optimize any GCC intermediate representations would not qualify as an Eligible Compilation Process. . 1. Grant of Additional Permission. . You have permission to propagate a work of Target Code formed by combining the Runtime Library with Independent Modules, even if such propagation would otherwise violate the terms of GPLv3, provided that all Target Code was generated by Eligible Compilation Processes. You may then convey such a combination under terms of your choice, consistent with the licensing of the Independent Modules. . 2. No Weakening of GCC Copyleft. . The availability of this Exception does not imply any general presumption that third-party software is unaffected by the copyleft requirements of the license of GCC. License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer listed in this license in the documentation and/or other materials provided with the distribution. . - Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . The copyright holders provide no reassurances that the source code provided does not infringe any patent, copyright, or any other intellectual property rights of third parties. The copyright holders disclaim any liability to any recipient for claims brought against recipient by any third party for infringement of that parties intellectual property rights. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER OR CONTRIBUTORS 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: CC0-1.0 To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. . On Debian systems, the complete text of the CC0 1.0 Universal license can be found in "/usr/share/common-licenses/CC0-1.0".