Etapa G (GUI): fontconfig — agrega libpng+zlib a build-deps (dep transitiva de freetype2.pc)
freetype se compila --with-png ⇒ freetype2.pc trae `Requires: libpng` (y libpng→zlib). Sin esos .pc en el sandbox, pkg-config no resuelve freetype2 y ./configure aborta con "freetype2 >= 21.0.15 not met". Reproducible sólo al rebuildear freetype canónica (antes tapado por cache-hit). fontconfig vuelve a construir desde fuente. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -12,5 +12,7 @@ link = "static"
|
||||
configure = "./configure --prefix=/usr --sysconfdir=/etc --disable-shared --enable-static --disable-docs"
|
||||
compile = "make"
|
||||
install = "make install DESTDIR=/out"
|
||||
# libpng+zlib: freetype se compila --with-png, así que freetype2.pc trae `Requires: libpng`
|
||||
# (y libpng.pc → zlib); sin ellos pkg-config no resuelve freetype2 y ./configure aborta.
|
||||
[deps]
|
||||
build = ["freetype", "expat", "pkgconf", "gperf", "python3"]
|
||||
build = ["freetype", "expat", "pkgconf", "gperf", "python3", "libpng", "zlib"]
|
||||
|
||||
Reference in New Issue
Block a user