Download Latest Version Mac.apk v1.0.2404 (alpha) source code.zip (44.4 MB)
Home / v1.0.2279
Name Modified Size InfoDownloads / Week
Parent folder
homebrew-glib.rb 2026-10-20 7.8 kB
LGPL-SOURCE-README.txt 2026-10-20 2.4 kB
gettext-1.0.tar.gz 2026-10-20 32.7 MB
glib-2.88.1.tar.xz 2026-10-20 5.8 MB
glib-hardcoded-paths.diff 2026-10-20 1.5 kB
homebrew-gettext.rb 2026-10-20 2.2 kB
macapk.dmg 2026-10-20 104.7 MB
Mac.apk v1.0.2279 (alpha) source code.tar.gz 2026-10-20 32.3 MB
Mac.apk v1.0.2279 (alpha) source code.zip 2026-10-20 34.2 MB
README.md 2026-10-20 5.9 kB
Totals: 10 Items   209.8 MB 0
Mac.apk -- LGPL source for the libraries it ships
================================================

Mac.apk's bundle contains two libraries licensed under the GNU Lesser General
Public License, version 2.1 or (at your option) any later version:

  Contents/Resources/jre/lib/libglib-2.0.0.dylib   GLib
  Contents/Resources/jre/lib/libintl.8.dylib       GNU gettext runtime (libintl)

They are used by the Java runtime's font stack (HarfBuzz uses GLib, GLib uses
libintl). The files attached to this release are the complete corresponding
source for the exact versions shipped: the upstream source tarball, every patch
applied to it, and the build recipe (Homebrew formula) the binaries were built
from. The full LGPL-2.1 text is in THIRD_PARTY_NOTICES.txt.

What Mac.apk changed: nothing in the code. scripts/stage_jre.sh copies each
library unmodified and only rewrites Mach-O load-path metadata (the install
name becomes @rpath/<name>, an @loader_path rpath is added, and references to
sibling libraries become @rpath/<name>), then the bundle is code-signed.

Using a modified version: build an interface-compatible library from this
source, put it in Contents/Resources/jre/lib/ under the same file name, and
re-sign the app (replacing a file invalidates Mac.apk's Developer ID
signature). Mac.apk's runtime is signed with library validation disabled, so
it loads a substituted library. Mac.apk copies its runtime, including these
files, to ~/Library/Application Support/Mac.apk/runtime/ when an app next
starts after Mac.apk changes.

glib 2.88.1 (libglib-2.0.0.dylib)
  source  glib-2.88.1.tar.xz
          sha256 51ab804c56f6eab3e5045c774d1290ac5e4c923d4f9a3d8e33123bee45c1840e
          from https://download.gnome.org/sources/glib/2.88/glib-2.88.1.tar.xz
  patch   glib-hardcoded-paths.diff
          sha256 d846efd0bf62918350da94f850db33b0f8727fece9bfaf8164566e3094e80c97
          from https://raw.githubusercontent.com/Homebrew/homebrew-core/1cf441a0/Patches/glib/hardcoded-paths.diff
  recipe  homebrew-glib.rb (build commands, including any in-place source edits)

gettext 1.0 (libintl.8.dylib)
  source  gettext-1.0.tar.gz
          sha256 85d99b79c981a404874c02e0342176cf75c7698e2b51fe41031cf6526d974f1a
          from https://ftpmirror.gnu.org/gnu/gettext/gettext-1.0.tar.gz
  patches none
  recipe  homebrew-gettext.rb (build commands, including any in-place source edits)

Source: LGPL-SOURCE-README.txt, updated 2026-10-20