Third-party notices for CCG Laser Studio
=======================================

CCG Laser Studio is a modified version of Rayforge, plus other
open-source components bundled in the Windows build. This file is
meant to ship with the installer. See also NOTICE and LICENSE in the
source repository, and the third-party-licenses folder in the bundle
where individual package license texts are collected. SOURCE-OFFER.txt
contains the written offer of source code for the LGPL libraries.

This software does not include MuPDF or PyMuPDF.

---------------------------------------------------------------------------
Rayforge (MIT License)
Copyright (c) Samuel Abels (barebaric) and the Rayforge contributors.
Upstream: https://github.com/barebaric/rayforge

CCG Laser Studio is not affiliated with or endorsed by the Rayforge
project. "Rayforge" is used only to identify the upstream origin of
this software.

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.

---------------------------------------------------------------------------
GTK, libadwaita, cairo, pycairo, libvips and other LGPL libraries
(GNU Lesser General Public License, version 2.1 or later)
Copyright the GTK and libadwaita contributors (GNOME).
Copyright the cairo contributors (cairo: LGPL-2.1 or MPL-1.1; used under
the LGPL-2.1).
Copyright the pycairo contributors (pycairo: LGPL-2.1 or MPL-1.1; used
under the LGPL-2.1). Cairo and pycairo also write the camera calibration
card PDF.
Copyright the libvips contributors (libvips: LGPL-2.1 or later).
https://gitlab.gnome.org/GNOME/gtk
https://gitlab.gnome.org/GNOME/libadwaita
https://cairographics.org/  https://github.com/pygobject/pycairo
https://github.com/libvips/libvips

The Windows build compiles libvips 8.18.7, libtiff 4.7.2 and cairo
1.18.4's script interpreter (libcairo-script-interpreter) itself,
without their optional GPL dependencies (fftw, libimagequant, jbigkit,
lzo2). libvips and libtiff are built from the unmodified upstream
release tarballs with different configure options only. cairo is the
upstream 1.18.4 release with the two patches MSYS2 applies to it
(0030-ucrt-clang-fixes.patch and
0001-DWrite-Get-glyph-bitmap-with-D2D-in-selected-cases.patch); the
patches are unchanged copies of MSYS2's. The source tarballs, SHA-256
checksums, patches, configure options and the build script
(scripts/win/ccg/rebuild-without-gpl.sh) are the corresponding source for
these three libraries; the checksums and options of each build are
recorded in the build evidence (gpl-free-rebuilds.txt).

Corresponding source for every LGPL library in CCG Laser Studio
(including the three above, the MSYS2 source packages of the others and
the FFmpeg source) is available for at least three years from the date
of distribution, and for as long as the version is offered, at
https://createcutgrow.com/source or on request from Mad Town Enterprises
LLC, 2520 S College Hills Dr, Hanover, IN 47243, USA
(hello@createcutgrow.com). See SOURCE-OFFER.txt for the full written
offer.

These libraries are licensed under the GNU LGPL. Nothing in the CCG Laser
Studio EULA limits your rights under the LGPL, including the right to
obtain the corresponding source and to replace or relink those libraries
as the LGPL allows. The full LGPL 2.1 text is at:

https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html

Copies are also included in the Windows build's third-party-licenses
folder where available.

---------------------------------------------------------------------------
PDFium (BSD-3-Clause) and pypdfium2 (used under BSD-3-Clause)
PDF reading, rendering and vector-path extraction use PDFium, accessed
through the pypdfium2 Python bindings.

PDFium: https://pdfium.googlesource.com/pdfium/
pypdfium2: https://github.com/pypdfium2-team/pypdfium2

Copyright 2014 The PDFium Authors

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
in the documentation and/or other materials provided with the
distribution.
   * Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

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.

pypdfium2 is used under the BSD-3-Clause license (it is also offered
under Apache-2.0, which CCG Laser Studio does not elect).

Copyright (c) geisserml <geisserml@gmail.com> and the pypdfium2
contributors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

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
HOLDER 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.

The PDFium library in the pypdfium2 wheel statically includes other
open-source components, among them FreeType, ICU, libjpeg-turbo,
libpng, zlib, OpenJPEG, Little CMS (LCMS2), Abseil, Anti-Grain
Geometry (AGG), HarfBuzz, libtiff and fast_float. Their license texts
ship in the bundle's third-party-licenses/python/pypdfium2-* folder
(the wheel's BUILD_LICENSES tree); the build fails if they are missing.

Portions of this software are copyright (c) The FreeType Project
(www.freetype.org). All rights reserved.

This software is based in part on the work of the Independent JPEG
Group.

---------------------------------------------------------------------------
OpenCV (Apache License 2.0) and FFmpeg (GNU LGPL, version 2.1 or later)
https://opencv.org/  https://github.com/opencv/opencv-python
https://ffmpeg.org/

Camera support uses OpenCV through the opencv-python wheel. OpenCV is
copyright the OpenCV Team and licensed under the Apache License 2.0; its
license text and the third-party license file shipped with the wheel are
copied into the bundle's third-party-licenses/python/opencv-python-*
folder.

The wheel's cv2 folder also contains the FFmpeg library
opencv_videoio_ffmpeg*.dll, which OpenCV uses for video and camera
capture. FFmpeg is copyright the FFmpeg developers and is licensed under
the GNU LGPL version 2.1 or later; the opencv-python project builds it
without the GPL options (no --enable-gpl, --enable-nonfree). CCG Laser
Studio does not modify it, and you may replace the DLL with another
build of FFmpeg that provides the same interface. The FFmpeg source and
build scripts that correspond to the shipped DLL are tracked in OpenCV's
opencv_3rdparty repository (https://github.com/opencv/opencv_3rdparty,
branch ffmpeg/4.x_20240522, used by OpenCV 4.10.0) and are included in
the source archive offered in SOURCE-OFFER.txt (at least three years,
https://createcutgrow.com/source).
The LGPL 2.1 text is at
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html

---------------------------------------------------------------------------
PyInstaller bootloader (GPL-2.0-or-later with the PyInstaller exception)
https://pyinstaller.org/

ccg-laser-studio.exe starts from the PyInstaller bootloader. PyInstaller's
license (GPL-2.0-or-later) carries an exception that expressly permits
bundling any program, including proprietary ones, with the bootloader;
the bundled program is not covered by the GPL. The license is at
https://pyinstaller.org/en/stable/license.html

---------------------------------------------------------------------------
pypdf (BSD 3-Clause License)
https://github.com/py-pdf/pypdf

pypdf is used to read a PDF's optional-content groups (layers).
The license text shipped with the pypdf distribution is also copied
into the bundle's third-party-licenses folder.

Copyright (c) 2006-2008, Mathieu Fenniak
Some contributions copyright (c) 2007, Ashish Kulkarni <kulkarni.ashish@gmail.com>
Some contributions copyright (c) 2014, Steve Witham <switham_github@mac-guyver.com>

All rights reserved.

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 in the documentation
and/or other materials provided with the distribution.
* The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.

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.

---------------------------------------------------------------------------
Other bundled components

Binary builds also bundle Python packages, MSYS2 libraries and other
components under their own licenses. Their license texts are collected
in the third-party-licenses folder of the bundle where available, and
listed in the build SBOM.
