gnome onda 2: islas dinámicas del stack GUI + gjs
Autoría Fase 1 (laptop, cero compute) de la onda 2 GNOME (gjs → gnome-shell). Patrón isla dinámica (SHADOW del corpus estático, resolver hermano→padre): link=dynamic, default_library=both (.a interno + .so p/ scanner/gjs), introspection=enabled ⇒ producen su typelib. Todas hashean limpio. - gjs: declara glib-introspected (su g-ir-scanner sobre GjsPrivate necesita los .gir CORE; hidratación directa, no transitiva). Deps ya TODAS selladas ⇒ listo para construir — primer nodo de onda 2, no necesita gtk4. - graphene/pango/gdk-pixbuf: islas + Graphene-1.0/Pango-1.0/GdkPixbuf-2.0.typelib. - gtk4: isla + Gtk-4.0/Gdk-4.0/Gsk-4.0.typelib. Revierte los hacks del mundo estático (sed libgtk_dep, fat-archive). ITERATIVA: el scan arrastra el cierre transitivo (wayland/mesa/libdrm/epoxy) aún estático — walls esperados en worker. Deuda de alcance declarada: sub-deps C (cairo/harfbuzz/etc.) siguen corpus estáticas embebidas; si duplican estado en runtime se escalan a isla puntual. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# gdk-pixbuf 2.44.6 — VARIANTE ISLA DINÁMICA (SHADOW de recipes/gdk-pixbuf.toml estática).
|
||||
# Carga/escala de imágenes (loader de GTK4). gtk4 declara GdkPixbuf-2.0 en su introspección ⇒ el scan
|
||||
# de gtk4 debe resolver GdkPixbuf-2.0.typelib + libgdk_pixbuf-2.0.so. Ver [[gnome-introspection-dinamica]].
|
||||
#
|
||||
# vs corpus: link=dynamic, default_library=both, introspection=ENABLED, SIN --prefer-static.
|
||||
# Mantengo el resto de flags de la corpus (leaf PNG-only, -Dgio_sniffing=false esquiva shared-mime-info).
|
||||
name = "gdk-pixbuf"
|
||||
version = "2.44.6"
|
||||
|
||||
[source]
|
||||
tarball = "https://download.gnome.org/sources/gdk-pixbuf/2.44/gdk-pixbuf-2.44.6.tar.xz"
|
||||
sha256 = "140c2d0b899fcf853ee92b26373c9dc228dbcde0820a4246693f4328a27466fa"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "dynamic"
|
||||
|
||||
[build.phases]
|
||||
configure = "PKG_CONFIG_PATH=/usr/lib/pkgconfig PYTHONPATH=/usr/lib/python3.12/site-packages meson setup output --prefix=/usr --buildtype=release --wrap-mode=nodownload -Ddefault_library=both -Dpng=enabled -Djpeg=disabled -Dtiff=disabled -Dothers=disabled -Dglycin=disabled -Dbuiltin_loaders=png -Dgio_sniffing=false -Dman=false -Dintrospection=enabled -Dtests=false -Dinstalled_tests=false -Dgtk_doc=false -Dc_args=-Wno-error=date-time"
|
||||
compile = "PYTHONPATH=/usr/lib/python3.12/site-packages ninja -C output"
|
||||
install = "PYTHONPATH=/usr/lib/python3.12/site-packages DESTDIR=/out meson install -C output --no-rebuild"
|
||||
|
||||
# glib(isla) + glib-introspected (GObject-2.0.gir) + gobject-introspection (tools) + libpng (loader PNG).
|
||||
[deps]
|
||||
build = ["meson", "samurai", "python3", "pkgconf", "glib", "glib-introspected", "gobject-introspection", "libpng", "libffi", "pcre2", "zlib"]
|
||||
@@ -30,7 +30,8 @@ install = "PYTHONPATH=/usr/lib/python3.12/site-packages DESTDIR=/out meson ins
|
||||
[deps]
|
||||
# spidermonkey → mozjs-128.pc (sellado); glib → glib-2.0/gobject-2.0/gio-2.0/gthread-2.0; cairo →
|
||||
# cairo + cairo-gobject; libffi, readline, pkgconf existen en el corpus. meson/samurai/python3 = tooling.
|
||||
# FRONTERA: gobject-introspection sin receta AÚN (lo autora otro agente en paralelo hacia
|
||||
# recipes/incoming-gnome/gobject-introspection.toml). gjs lo pide en build (g-ir-scanner ⇒ typelib
|
||||
# GjsPrivate) y en link (gobject-introspection-1.0.pc). Se declara igual para dejar el edge cableado.
|
||||
build = ["spidermonkey", "glib", "cairo", "libffi", "readline", "gobject-introspection", "meson", "samurai", "python3", "pkgconf"]
|
||||
# gobject-introspection: g-ir-scanner ⇒ typelib GjsPrivate + gobject-introspection-1.0.pc en link.
|
||||
# glib-introspected: gjs escanea GjsPrivate, que referencia GObject/GLib ⇒ el scan necesita los .gir
|
||||
# CORE (GObject-2.0.gir/GLib-2.0.gir) que SÓLO produce glib-introspected. hammer hidrata deps DIRECTAS,
|
||||
# no transitivas de g-i ⇒ hay que declararla aquí (misma lección del keystone [[gnome-introspection-dinamica]]).
|
||||
build = ["spidermonkey", "glib", "glib-introspected", "cairo", "libffi", "readline", "gobject-introspection", "meson", "samurai", "python3", "pkgconf"]
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
# graphene 1.10.8 — VARIANTE ISLA DINÁMICA (SHADOW de recipes/graphene.toml estática).
|
||||
# Tipos/álgebra de vectores y matrices (GTK4/GSK). La isla GNOME la necesita como .so real CON
|
||||
# typelib: gtk4 declara Graphene-1.0 en su introspección (Gsk expone tipos graphene) ⇒ el scan de
|
||||
# gtk4 tiene que resolver Graphene-1.0.typelib + libgraphene-1.0.so. Ver [[gnome-introspection-dinamica]].
|
||||
#
|
||||
# vs corpus: link=dynamic (no static), default_library=both (.a p/ consumidores estáticos internos +
|
||||
# .so p/ el scanner/gjs), introspection=ENABLED (produce el typelib). SIN --prefer-static (queremos el
|
||||
# .so). Sombrea la corpus SÓLO para la cola GNOME (resolver hermano→padre); el resto del árbol sigue
|
||||
# con la estática.
|
||||
name = "graphene"
|
||||
version = "1.10.8"
|
||||
|
||||
[source]
|
||||
tarball = "https://download.gnome.org/sources/graphene/1.10/graphene-1.10.8.tar.xz"
|
||||
sha256 = "a37bb0e78a419dcbeaa9c7027bcff52f5ec2367c25ec859da31dfde2928f279a"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "dynamic"
|
||||
|
||||
[build.phases]
|
||||
configure = "PKG_CONFIG_PATH=/usr/lib/pkgconfig PYTHONPATH=/usr/lib/python3.12/site-packages meson setup output --prefix=/usr --buildtype=release --wrap-mode=nodownload -Ddefault_library=both -Dtests=false -Dinstalled_tests=false -Dgtk_doc=false -Dintrospection=enabled"
|
||||
compile = "PYTHONPATH=/usr/lib/python3.12/site-packages ninja -C output"
|
||||
install = "PYTHONPATH=/usr/lib/python3.12/site-packages DESTDIR=/out meson install -C output --no-rebuild"
|
||||
|
||||
# glib(isla dinámica) + glib-introspected (GObject-2.0.gir que referencia el typelib) +
|
||||
# gobject-introspection (g-ir-scanner/compiler). Graphene-1.0 referencia GObject ⇒ necesita el .gir CORE.
|
||||
[deps]
|
||||
build = ["meson", "samurai", "python3", "pkgconf", "glib", "glib-introspected", "gobject-introspection", "libffi", "pcre2", "zlib"]
|
||||
@@ -0,0 +1,36 @@
|
||||
# gtk4 4.18.6 — VARIANTE ISLA DINÁMICA (SHADOW de recipes/gtk4.toml estática).
|
||||
# El toolkit. gnome-shell/mutter lo usan y su JS (gjs) dlopea Gtk-4.0/Gdk-4.0/Gsk-4.0.typelib en runtime
|
||||
# ⇒ gtk4 DEBE producir esos typelibs + libgtk-4.so real. Es la receta más dura de onda 2: introspection
|
||||
# arrastra el cierre transitivo entero (wayland/libdrm/mesa/libepoxy). Ver [[gnome-introspection-dinamica]].
|
||||
#
|
||||
# vs corpus (mundo estático), REVERTIDO:
|
||||
# · SIN el sed `libgtk_dep→libgtk_static_dep`: en la isla las tools linkean libgtk-4.so (natural).
|
||||
# · SIN el fat-archive de install: era un hack para que `-static -lgtk-4` linkeara; los consumidores de
|
||||
# la isla (mutter/gnome-shell) toman la .so. meson instala libgtk-4.so directo.
|
||||
# · link=dynamic, default_library=both, introspection=ENABLED, SIN --prefer-static.
|
||||
# · deps pango/gdk-pixbuf/graphene resuelven a las ISLAS (shadow) ⇒ sus typelibs+.so visibles al scan.
|
||||
#
|
||||
# ⚠ ITERATIVA: el scanner construye un dumper que linkea libgtk-4.so + todo su cierre. Las libs C del
|
||||
# corpus (cairo/harfbuzz/wayland/libdrm/mesa/libepoxy) siguen ESTÁTICAS embebidas — si el scan falla por
|
||||
# símbolo/estado duplicado, escalar la lib culpable a su propia isla. Esperar walls en el worker.
|
||||
name = "gtk4"
|
||||
version = "4.18.6"
|
||||
|
||||
[source]
|
||||
tarball = "https://download.gnome.org/sources/gtk/4.18/gtk-4.18.6.tar.xz"
|
||||
sha256 = "e1817c650ddc3261f9a8345b3b22a26a5d80af154630dedc03cc7becefffd0fa"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "dynamic"
|
||||
|
||||
[build.phases]
|
||||
configure = "PKG_CONFIG_PATH=/usr/lib/pkgconfig PYTHONPATH=/usr/lib/python3.12/site-packages meson setup output --prefix=/usr --buildtype=release --wrap-mode=nodownload -Ddefault_library=both -Dwayland-backend=true -Dx11-backend=false -Dbroadway-backend=false -Dwin32-backend=false -Dmacos-backend=false -Dvulkan=disabled -Dintrospection=enabled -Dbuild-demos=false -Dbuild-testsuite=false -Dbuild-tests=false -Dbuild-examples=false -Dmedia-gstreamer=disabled -Dprint-cups=disabled -Dprint-cpdb=disabled -Dcloudproviders=disabled -Dsysprof=disabled -Dtracker=disabled -Dcolord=disabled -Df16c=disabled -Ddocumentation=false -Dman-pages=false -Dc_args=-Wno-error=date-time"
|
||||
compile = "PYTHONPATH=/usr/lib/python3.12/site-packages ninja -C output"
|
||||
install = "PYTHONPATH=/usr/lib/python3.12/site-packages DESTDIR=/out meson install -C output --no-rebuild"
|
||||
|
||||
# glib-introspected + gobject-introspection = la maquinaria de typelibs. pango/gdk-pixbuf/graphene =
|
||||
# ISLAS (shadow) con sus typelibs. El resto = cierre C estático del corpus (wayland/mesa/libdrm/etc.).
|
||||
[deps]
|
||||
build = ["meson", "samurai", "python3", "pkgconf", "glib", "glib-introspected", "gobject-introspection", "cairo", "pango", "gdk-pixbuf", "graphene", "libepoxy", "wayland", "wayland-protocols", "libxkbcommon", "libdrm", "fontconfig", "harfbuzz", "fribidi", "libpng", "pixman", "freetype", "expat", "libffi", "pcre2", "zlib", "libjpeg-turbo", "libtiff", "mesa"]
|
||||
@@ -0,0 +1,32 @@
|
||||
# pango 1.57.1 — VARIANTE ISLA DINÁMICA (SHADOW de recipes/pango.toml estática).
|
||||
# Layout/render de texto i18n (base de GTK4). gtk4 declara Pango-1.0 en su introspección ⇒ el scan de
|
||||
# gtk4 debe resolver Pango-1.0.typelib + libpango-1.0.so. Ver [[gnome-introspection-dinamica]].
|
||||
#
|
||||
# vs corpus: link=dynamic, default_library=both, introspection=ENABLED, SIN --prefer-static.
|
||||
#
|
||||
# ALCANCE (deuda declarada): sus sub-deps (cairo/harfbuzz/fribidi/freetype/fontconfig/pixman/libpng/
|
||||
# expat) siguen siendo corpus ESTÁTICAS — se embeben en libpango-1.0.so vía default_library=both. Riesgo
|
||||
# a medir en el worker: si dos .so de la isla embeben la MISMA lib estática (p.ej. cairo en libpango Y en
|
||||
# libgtk-4), hay doble estado en runtime (misma clase de bug que el SIGSEGV de glib). Si aparece, se
|
||||
# escala cairo/etc. a su propia isla dinámica. NO persigo el cierre dinámico transitivo completo a ciegas.
|
||||
name = "pango"
|
||||
version = "1.57.1"
|
||||
|
||||
[source]
|
||||
tarball = "https://download.gnome.org/sources/pango/1.57/pango-1.57.1.tar.xz"
|
||||
sha256 = "e65d6d117080dc3aeeb7d8b4b3b518f7383aa2e6cfce23117c623cd624764c2f"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "dynamic"
|
||||
|
||||
[build.phases]
|
||||
configure = "PKG_CONFIG_PATH=/usr/lib/pkgconfig PYTHONPATH=/usr/lib/python3.12/site-packages meson setup output --prefix=/usr --buildtype=release --wrap-mode=nodownload -Ddefault_library=both -Dc_args=-Wno-error=date-time -Dintrospection=enabled -Dgtk_doc=false -Dbuild-testsuite=false -Dbuild-examples=false"
|
||||
compile = "PYTHONPATH=/usr/lib/python3.12/site-packages ninja -C output"
|
||||
install = "PYTHONPATH=/usr/lib/python3.12/site-packages DESTDIR=/out meson install -C output --no-rebuild"
|
||||
|
||||
# glib(isla) + glib-introspected (GObject-2.0.gir) + gobject-introspection (tools). El resto = cierre .pc
|
||||
# estático del corpus (cairo/harfbuzz/fribidi/freetype/fontconfig/pixman/libpng/expat).
|
||||
[deps]
|
||||
build = ["meson", "samurai", "python3", "pkgconf", "glib", "glib-introspected", "gobject-introspection", "cairo", "harfbuzz", "fribidi", "freetype", "fontconfig", "pixman", "libpng", "expat", "libffi", "pcre2", "zlib"]
|
||||
Reference in New Issue
Block a user