Budbrain's Mahjong (jsMahjong) — Third Party Licenses
=====================================================

Budbrain's Mahjong is proprietary software, (c) 2026 Josef Sejrek /
Budbrain Software. It dynamically links against, or ships, the following
third-party components. Their respective licenses apply to those components
only.

Sources for all LGPL components below are available from the upstream projects
linked, and from the Ubuntu/Debian source archives.

This file is checked against the binary by scripts/gen_licenses.py before a
release: a library that is linked but not listed here fails the build.

--------------------------------------------------------------------------------
LINKED LIBRARIES
--------------------------------------------------------------------------------
SDL2                             zlib                                  https://www.libsdl.org/
SDL2_mixer                       zlib                                  https://github.com/libsdl-org/SDL_mixer
Cairo                            LGPL-2.1 or MPL-1.1                   https://www.cairographics.org/
Pango                            LGPL-2.1-or-later                     https://pango.gnome.org/
GLib / GObject / GIO             LGPL-2.1-or-later                     https://gitlab.gnome.org/GNOME/glib
HarfBuzz                         MIT                                   https://harfbuzz.github.io/
FreeType                         FTL or GPL-2-or-later                 https://freetype.org/
Fontconfig                       MIT-style (fontconfig)                https://www.freedesktop.org/wiki/Software/fontconfig/
FriBidi                          LGPL-2.1-or-later                     https://github.com/fribidi/fribidi
Graphite2                        LGPL-2.1-or-later or MPL-1.1          https://graphite.sil.org/
libthai / libdatrie              LGPL-2.1-or-later                     https://linux.thai.net/projects/libthai
Pixman                           MIT                                   https://www.pixman.org/
libpng                           libpng license                        http://www.libpng.org/
zlib                             zlib                                  https://zlib.net/
libogg / libvorbis               BSD-3-Clause                          https://xiph.org/vorbis/
Opus / opusfile                  BSD-3-Clause                          https://opus-codec.org/
FLAC                             BSD-3-Clause                          https://xiph.org/flac/
mpg123 / LAME                    LGPL-2.1 / LGPL-2.0                   https://www.mpg123.de/
libsndfile                       LGPL-2.1-or-later                     https://libsndfile.github.io/libsndfile/
FluidSynth / libinstpatch        LGPL-2.1-or-later                     https://www.fluidsynth.org/
libmodplug                       Public domain                         https://github.com/Konstanty/libmodplug
libsamplerate                    BSD-2-Clause                          https://libsndfile.github.io/libsamplerate/
PulseAudio (client)              LGPL-2.1-or-later                     https://www.freedesktop.org/wiki/Software/PulseAudio/
PipeWire (client)                MIT                                   https://pipewire.org/
ALSA (libasound)                 LGPL-2.1-or-later                     https://www.alsa-project.org/
JACK (libjack)                   LGPL-2.1-or-later                     https://jackaudio.org/
libasyncns                       LGPL-2.1-or-later                     https://0pointer.de/lennart/projects/libasyncns/
Wayland client libraries         MIT (X11 style)                       https://wayland.freedesktop.org/
libdecor                         MIT                                   https://gitlab.freedesktop.org/libdecor/libdecor
libxkbcommon                     MIT                                   https://xkbcommon.org/
X.Org client libraries           MIT / X11                             https://www.x.org/
libdrm / libgbm (Mesa)           MIT                                   https://mesa3d.org/
systemd / libudev                LGPL-2.1-or-later                     https://systemd.io/
D-Bus (libdbus-1)                AFL-2.1 or GPL-2-or-later             https://www.freedesktop.org/wiki/Software/dbus/
libbsd / libmd                   BSD-3-Clause                          https://libbsd.freedesktop.org/
libcap                           BSD-3-Clause or GPL-2                 https://sites.google.com/site/fullycapable/
libgcrypt / libgpg-error         LGPL-2.1-or-later                     https://gnupg.org/software/libgcrypt/
libselinux / libapparmor         Public domain / LGPL-2.1              https://selinuxproject.org/
util-linux (libblkid, libmount)  LGPL-2.1-or-later                     https://github.com/util-linux/util-linux
PCRE2                            BSD-3-Clause                          https://www.pcre.org/
libffi                           MIT                                   https://sourceware.org/libffi/
expat                            MIT                                   https://libexpat.github.io/
brotli                           MIT                                   https://github.com/google/brotli
bzip2 / xz / zstd / lz4          BSD-like / public domain              https://tukaani.org/xz/
Berkeley DB (libdb)              Sleepycat / AGPL-3                    https://www.oracle.com/database/berkeley-db/
readline / ncurses (libtinfo)    GPL-3-or-later / MIT-style            https://tiswww.case.edu/php/chet/readline/
GCC runtime (libstdc++, libgcc,  GPL-3 with Runtime Library Exception  https://gcc.gnu.org/
  libgomp)
GNU C Library (glibc)            LGPL-2.1-or-later                     https://www.gnu.org/software/libc/

--------------------------------------------------------------------------------
SHIPPED ASSETS
--------------------------------------------------------------------------------
Budbrain Mahjong Glyphs (font)   SIL Open Font License 1.1             assets/fonts/OFL-Noto.txt
  — a 17-character subset of Noto Serif CJK, renamed as the OFL requires
  for a modified face. It carries only the Han characters printed on the
  tiles; a sandbox has no CJK font of its own.
Kenney Audio (part of the SFX)   CC0 1.0                               assets/audio/Kenney_License.txt
"Dream keeper" von zero-project  CC BY 4.0 — Namensnennung mit Link      https://zero-project.gr
  (Hintergrundmusik)             erforderlich, kommerzielle Nutzung
                                 ausdruecklich erlaubt
Remaining sound effects          generated with ffmpeg (LGPL-2.1)      https://ffmpeg.org
