From a3732fc9645c510286a9f56f51dcab8cd7dbfdbc Mon Sep 17 00:00:00 2001 From: sergio Date: Thu, 2 Jul 2026 11:09:17 -0400 Subject: [PATCH] =?UTF-8?q?Etapa=20G=20(GUI):=20harfbuzz=20=E2=80=94=20agr?= =?UTF-8?q?ega=20libpng=20a=20build-deps=20(dep=20transitiva=20de=20freety?= =?UTF-8?q?pe2.pc)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit freetype se compila --with-png ⇒ freetype2.pc trae Requires: zlib, libpng. harfbuzz tenía zlib pero no libpng ⇒ pkg-config no resolvía freetype2 y meson setup abortaba ('freetype2 required but not found'). Mismo patrón que fontconfig (80a9cac). Con cairo ya construyendo (patch ctime_r), esto destraba harfbuzz→pango (ambos sellan). Co-Authored-By: Claude Opus 4.8 --- recipes/harfbuzz.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/harfbuzz.toml b/recipes/harfbuzz.toml index d2fae44d..8b49aa73 100644 --- a/recipes/harfbuzz.toml +++ b/recipes/harfbuzz.toml @@ -12,5 +12,7 @@ link = "static" configure = "PKG_CONFIG_PATH=/usr/lib/pkgconfig PYTHONPATH=/usr/lib/python3.12/site-packages meson setup output --prefix=/usr --buildtype=release -Ddefault_library=static -Dglib=enabled -Dgobject=disabled -Dcairo=disabled -Dicu=disabled -Dgraphite=disabled -Dfreetype=enabled -Dtests=disabled -Ddocs=disabled -Dintrospection=disabled -Dutilities=disabled" 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" +# libpng: freetype se compila --with-png ⇒ freetype2.pc trae `Requires: zlib, libpng`; sin libpng.pc +# en el sandbox, pkg-config no resuelve freetype2 y `meson setup` aborta (mismo patrón que fontconfig). [deps] -build = ["meson", "samurai", "python3", "pkgconf", "freetype", "glib", "pcre2", "libffi", "zlib"] +build = ["meson", "samurai", "python3", "pkgconf", "freetype", "glib", "pcre2", "libffi", "zlib", "libpng"]