@gjsify/gtk-runtime-darwin-arm64 0.40.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -6
- package/gtk/manifest.json +39 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -109,14 +109,24 @@ by the main (ubuntu) release publish. A dedicated macOS job in
|
|
|
109
109
|
1. On `release: published` it checks out the tag (the version `@release-it/bumper`
|
|
110
110
|
already bumped in this package's `package.json`, in lockstep with the train).
|
|
111
111
|
2. `brew install`s the GTK/GI stack as the build-time closure **source**.
|
|
112
|
-
3. Runs `../scripts/build-gtk-runtime-darwin.mjs --windowing --out gtk
|
|
113
|
-
`gtk/` (relocated dylibs + backed typelibs + runtime data + licenses +
|
|
112
|
+
3. Runs `../scripts/build-gtk-runtime-darwin.mjs --windowing --out gtk --addon … --stage …`
|
|
113
|
+
to populate `gtk/` (relocated dylibs + backed typelibs + runtime data + licenses +
|
|
114
114
|
`manifest.json`). The script itself fails on a surviving Homebrew-prefix reference,
|
|
115
|
-
on an unbacked typelib and on an unattributable dylib
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
on an unbacked typelib and on an unattributable dylib — and, under `--windowing`, on
|
|
116
|
+
a bundle that cannot DECODE one of its own icons: it stages a relocated copy of the
|
|
117
|
+
node-gi addon beside a copy of the bundle and loads an `.svg` and a `.png` through
|
|
118
|
+
the bundle's own loader (the bundled PNG when one ships, otherwise the decoded SVG
|
|
119
|
+
saved to a temp PNG and read back), recording the measured pixel sizes as
|
|
120
|
+
`windowingData.decodeProbe` (hence the `--addon`, which is why the job now waits on
|
|
121
|
+
`node-gi-prebuild-darwin`). The probe child runs with the host GTK environment
|
|
122
|
+
scrubbed — no inherited `DYLD_FALLBACK_LIBRARY_PATH`, no Homebrew prefix on PATH —
|
|
123
|
+
and the record states which GTK answered, so a decode Homebrew performed cannot pass
|
|
124
|
+
for the bundle's. The job then
|
|
125
|
+
asserts what the ARTIFACT must contain: `gtk/lib` + `gtk/girepository-1.0` (the two
|
|
126
|
+
dirs [`index.js`](./index.js)'s `isPresent` gate checks), `Adw-1.typelib` beside a
|
|
118
127
|
libadwaita dylib, `gschemas.compiled`, `share/icons`, `THIRD-PARTY-NOTICES.md`, and
|
|
119
|
-
a manifest that says `windowing: true` with non-zero `dataBytes
|
|
128
|
+
a manifest that says `windowing: true` with non-zero `dataBytes` and a PASSING decode
|
|
129
|
+
probe.
|
|
120
130
|
4. OIDC-publishes **only this package** (Trusted Publisher configured for
|
|
121
131
|
`release.yml`), so `files: ["gtk"]` ships the whole bundle recursively (the
|
|
122
132
|
gjsify packer expands a plain-directory `files` entry). Consumers then see
|
package/gtk/manifest.json
CHANGED
|
@@ -325,6 +325,44 @@
|
|
|
325
325
|
"id": "gtksource",
|
|
326
326
|
"files": 6
|
|
327
327
|
}
|
|
328
|
-
]
|
|
328
|
+
],
|
|
329
|
+
"decodeProbe": {
|
|
330
|
+
"ok": true,
|
|
331
|
+
"platform": "darwin",
|
|
332
|
+
"addon": "node_gi.node",
|
|
333
|
+
"loaderCache": "lib/gdk-pixbuf-2.0/2.10.0/loaders.cache",
|
|
334
|
+
"loaderDir": "lib/gdk-pixbuf-2.0/2.10.0/loaders",
|
|
335
|
+
"loaderModules": 13,
|
|
336
|
+
"gtkSource": "bundle",
|
|
337
|
+
"bundleIsProbeTarget": true,
|
|
338
|
+
"svg": {
|
|
339
|
+
"file": "share/icons/Adwaita/scalable/devices/audio-headphones.svg",
|
|
340
|
+
"width": 128,
|
|
341
|
+
"height": 128
|
|
342
|
+
},
|
|
343
|
+
"png": {
|
|
344
|
+
"file": "share/icons/Adwaita/16x16/devices/audio-headphones.png",
|
|
345
|
+
"width": 16,
|
|
346
|
+
"height": 16,
|
|
347
|
+
"source": "bundled"
|
|
348
|
+
},
|
|
349
|
+
"formats": [
|
|
350
|
+
"ani",
|
|
351
|
+
"bmp",
|
|
352
|
+
"gif",
|
|
353
|
+
"icns",
|
|
354
|
+
"ico",
|
|
355
|
+
"pnm",
|
|
356
|
+
"qtif",
|
|
357
|
+
"tga",
|
|
358
|
+
"tiff",
|
|
359
|
+
"xbm",
|
|
360
|
+
"legacy-xpm",
|
|
361
|
+
"svg",
|
|
362
|
+
"svg",
|
|
363
|
+
"png",
|
|
364
|
+
"jpeg"
|
|
365
|
+
]
|
|
366
|
+
}
|
|
329
367
|
}
|
|
330
368
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/gtk-runtime-darwin-arm64",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.42.0",
|
|
4
4
|
"description": "Batteries-included, relocated GTK/GObject-Introspection runtime bundle for macOS arm64 — lets @gjsify/node-gi load gi:// namespaces (GLib/GObject/Gio/cairo/Pango/Graphene/Gdk) with NO Homebrew GTK. Platform-gated (darwin/arm64 only).",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "SEE LICENSE IN gtk/THIRD-PARTY-NOTICES.md",
|
|
7
7
|
"os": [
|
|
8
8
|
"darwin"
|
|
9
9
|
],
|