Source code for the TitleDesk Agent 0.16.2 for macOS ====================================================== This folder offers the source code that the licences of some of the Agent's open-source components ask for: its LGPL libraries and its MPL-2.0 Python packages. (TitleDesk's own code is proprietary.) LGPL libraries -------------- The TitleDesk Agent 0.16.2 for macOS includes the libraries below as separate shared libraries, in TitleDeskAgent.app/Contents/Resources/agent/. They were built by Homebrew (the recipes below), bundled into the pikepdf Python package's macOS wheel by its build (.github/workflows/build.yml in the pikepdf source distribution, also in this folder), and then given new install names and re-signed by TitleDesk's release build; their code is unchanged. This folder (https://get.titledesk.ai/source/agent-0.16.2/) holds their complete corresponding source: * the upstream release archive of each, exactly as its project publishes it (the SHA-256 values in SHA256SUMS match the ones Homebrew's recipes pin); * the Homebrew recipe that built each one (recipes/), and the one patch that recipe applies (to GnuTLS). libgmp.10.dylib gmp 6.3.0 — LGPL-3.0-or-later OR GPL-2.0-or-later source: gmp-6.3.0.tar.xz recipe: recipes/gmp.rb libgnutls.30.dylib gnutls 3.8.13_2 — LGPL-2.1-or-later source: gnutls-3.8.13.tar.xz recipe: recipes/gnutls.rb libhogweed.7.0.dylib, libnettle.9.0.dylib nettle 4.0 — LGPL-3.0-or-later OR GPL-2.0-or-later source: nettle-4.0.tar.gz recipe: recipes/nettle.rb libidn2.0.dylib libidn2 2.3.8 — LGPL-3.0-or-later OR GPL-2.0-or-later source: libidn2-2.3.8.tar.gz recipe: recipes/libidn2.rb libintl.8.dylib gettext 1.0 — LGPL-2.1-or-later (libintl) source: gettext-1.0.tar.gz recipe: recipes/gettext.rb libtasn1.6.dylib libtasn1 4.21.0 — LGPL-2.1-or-later source: libtasn1-4.21.0.tar.gz recipe: recipes/libtasn1.rb libunistring.5.dylib libunistring 1.4.2 — LGPL-3.0-or-later OR GPL-2.0-or-later source: libunistring-1.4.2.tar.gz recipe: recipes/libunistring.rb Rebuilding: each recipe lists the configure options and steps used; use these recipes (Homebrew's current formulae may since have moved on). By hand: unpack the archive, apply the patch for GnuTLS (`patch -p1 < gnutls-3.8.13-homebrew-patch-29c2027c.diff`), then run `./configure --disable-debug --disable-dependency-tracking --disable-silent-rules --prefix=` (what the recipes' std_configure_args expand to) plus the recipe's own options, then `make && make install`. Build for arm64, macOS 14 or later. With Homebrew, a recipe file builds from source with `brew install --build-from-source ./recipes/.rb`. Replacing a library in the Agent (your right under the LGPL): 1. Quit TitleDesk Agent (menu bar icon > Quit TitleDesk Agent). 2. Copy your build over the file of the same name in /Applications/TitleDeskAgent.app/Contents/Resources/agent/ (keep the file name, e.g. libgnutls.30.dylib). 3. Re-sign the app for your own Mac: codesign --force --sign - /Applications/TitleDeskAgent.app and, if macOS then calls the app damaged: xattr -dr com.apple.quarantine /Applications/TitleDeskAgent.app 4. Open TitleDesk Agent again. macOS will ask again for the folder permissions you had granted (they belong to the original signature). Python packages under the Mozilla Public License 2.0, compiled into the Agent; their source code, as published on PyPI at the version the Agent includes: pikepdf 10.11.0 (MPL-2.0) — source distribution: pikepdf-10.11.0.tar.gz The licences (LGPL-2.1, LGPL-3.0 and the GPL-3.0 it builds on, MPL-2.0) are in THIRD_PARTY_NOTICES.txt inside the app and on the disk image, and in each source archive. Questions: support@titledesk.ai