crafter-build cross-compiles the executable for aarch64, which on an x86_64 machine needs no emulation, and flatpak's build commands assemble the flatpak; there is no flatpak-builder manifest. make-flatpak-sysroot.sh makes the sysroot: the aarch64 Freedesktop Sdk 26.08 with LLVM's libc++ of the release crafter-build carries (23.1.2, the tarball and hash of Crafter.Build's manifest), built for aarch64. build-flatpak.sh builds the executable against it for generic armv8-a and assembles it on the Platform 26.08 with that libc++, libc++abi and LLVM's libunwind in /app/lib: the Platform has no libc++, and its libunwind is libunwind 8. It fails when the executable or a bundled library needs a library neither the Platform nor /app/lib has, and when one of them links libunwind 8, which libc++'s -lunwind found first until the sysroot dropped its link name. The executable it packages is the build it just ran: the output directory's name ends in a hash of the configuration, so an older variant (another sysroot, --debug, --local) left in bin/ is removed first. make-flatpak-sysroot.sh tries each download five times, 30 s apart: Flathub's CDN answers 502 now and then. The sandbox gets Wayland, the GPU, net.catcrafts.IMS1 on the system bus and org.freedesktop.Notifications on the session bus. The metainfo's content rating declares the app's chat (OARS social-chat intense: uncontrolled texting between users), as the baseline Chatty's does, for the software centres and parental controls that read it, and recommends a display of 360 logical pixels or more — the phone screen the window is drawn for; a recommendation, not a requirement. The metainfo's one release is 0.0.0, and the app's version, 0.1.0 in the skeleton, is set to it: the version's comment in Model.cppm says a release moves the two together. AGENTS.md's SPDX rule says what the metainfo carries instead of the two SPDX lines: AppStream's single CC0-1.0 line. The flatpak carries the licences of what it ships under /app/share/licenses/net.catcrafts.ImsdMessages: the app's and the font's, those of the Crafter libraries it links statically and of the code they bring along (packaging/licenses/, with a NOTICE naming what each text covers), and LLVM's for its runtime libraries, which make-flatpak-sysroot.sh keeps beside libc++.
26 lines
1.4 KiB
Text
26 lines
1.4 KiB
Text
/app/share/licenses/net.catcrafts.ImsdMessages in the flatpak holds the
|
|
licences of what it carries:
|
|
|
|
- LICENSE: imsd-messages (GPL-3.0-only).
|
|
- OFL.txt: the Noto Sans font (the SIL Open Font License 1.1).
|
|
- Crafter-LGPL-3.0-only.txt: the Crafter libraries, linked in statically
|
|
(Crafter.Graphics with Crafter.Event, Crafter.Math and Crafter.Asset,
|
|
and Crafter.DB): the GNU LGPL version 3, which adds its permissions to
|
|
the GPL in LICENSE. Their source:
|
|
https://forgejo.catcrafts.net/Catcrafts/<name>.
|
|
- stb-LICENSE.txt: stb_truetype and stb_image_write, which
|
|
Crafter.Graphics carries and compiles in.
|
|
- wayland-protocols-NOTICE.txt: the code wayland-scanner generated for
|
|
the xdg-shell, xdg-decoration-unstable-v1, fractional-scale-v1,
|
|
viewporter and text-input-unstable-v3 protocols, which Crafter.Graphics
|
|
carries and compiles in.
|
|
- Vulkan-Utility-Libraries-Apache-2.0.txt: vk_enum_string_helper.h of the
|
|
Vulkan Utility Libraries (Copyright 2023-2025 The Khronos Group Inc.,
|
|
Valve Corporation, LunarG, Inc.), which Crafter.Graphics compiles in:
|
|
the Apache License 2.0.
|
|
- libevdev-COPYING.txt: libevdev, which Crafter.Graphics carries and
|
|
builds as a static library (MIT).
|
|
- libcxx-LICENSE.TXT, libcxxabi-LICENSE.TXT and libunwind-LICENSE.TXT:
|
|
LLVM's libc++, libc++abi and libunwind in /app/lib (the Apache License
|
|
2.0 with LLVM Exceptions, and for older code the University of
|
|
Illinois/NCSA licence).
|