From 592c858d07528b32b6aec75503ae5ba39da54b63 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 29 Jul 2026 02:19:59 +0000 Subject: [PATCH] ttf-tlwg: upgrade 0.6.1 -> 0.7.4 Changes across the 0.7.x series: - 0.7.0: build fonts reproducibly (source restructuring, hence the major version bump); generate OTF by default instead of TTF; provide LaTeX OpenType fonts for XeTeX. - 0.7.1 - 0.7.3: further reproducibility fixes; make Purisa/Sawasdee embeddable-as-installable in PDF; glyph-width and PANOSE fixes; normalize OS/2 Typo metrics for consistent line spacing. - 0.7.4: fix parallel-build failure and a Type1 reproducibility issue; add a Stylistic Set 1 (ss01) lookup for descenderless YO YING and THO THAN; balance Kinnari/Norasi cubic splines. - The 'ttf' tarball moved upstream from .../software/ttf-tlwg/ to .../software/fonts-tlwg/fonts/ (old path 404s for this version); SRC_URI updated accordingly. - 0.7.4 relocated the fontconfig .conf files into the source tarball at fonts-tlwg-${PV}/fontconfig/, so do_install:append now iterates that path (58 ttf + 14 conf files installed). - Updated LIC_FILES_CHKSUM md5 for COPYING: upstream additively added a "LaTeX Supports" LPPL section (merged fonts-tlwg LaTeX package); no existing license text removed, declared LICENSE unchanged. Signed-off-by: Khem Raj --- .../{ttf-tlwg_0.6.1.bb => ttf-tlwg_0.7.4.bb} | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) rename meta-oe/recipes-graphics/ttf-fonts/{ttf-tlwg_0.6.1.bb => ttf-tlwg_0.7.4.bb} (52%) diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.7.4.bb similarity index 52% rename from meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb rename to meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.7.4.bb index c55a810af1..403231a483 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.7.4.bb @@ -3,19 +3,19 @@ require ttf.inc SUMMARY = "Thai Linux Working Group Fonts" HOMEPAGE = "http://linux.thai.net/projects/fonts-tlwg" LICENSE = "GPL-2.0-only AND LicenseRef-TLWG" -LIC_FILES_CHKSUM = "file://${UNPACKDIR}/fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd" +LIC_FILES_CHKSUM = "file://${UNPACKDIR}/fonts-tlwg-${PV}/COPYING;md5=166297e03f25f65003b290136b7287f7" SRC_URI = "http://linux.thai.net/pub/ThaiLinux/software/fonts-tlwg/fonts-tlwg-${PV}.tar.xz;name=source \ - http://linux.thai.net/pub/ThaiLinux/software/ttf-tlwg/ttf-tlwg-${PV}.tar.xz;name=ttf" -SRC_URI[source.md5sum] = "5ea5bc964d992df0428f2e0b85f48400" -SRC_URI[source.sha256sum] = "77fb9832221fde60c9f683ac3fdce7d45ab6e9c0d83df83da969a3fe9faba537" -SRC_URI[ttf.md5sum] = "1bc51f45a7b661404a944fab6911261c" -SRC_URI[ttf.sha256sum] = "aa9cd68969b6f704df3e5b1a2e11204c47f118c8ab052f04c111bd5f299f77c8" + http://linux.thai.net/pub/ThaiLinux/software/fonts-tlwg/fonts/ttf-tlwg-${PV}.tar.xz;name=ttf" +SRC_URI[source.md5sum] = "dc05ef81ce6b9dd5edc87f83065dbbf4" +SRC_URI[source.sha256sum] = "2531d3e02de1d293e4a9f8527ac4d3d044a845f49dc2d314c5766b4f68730735" +SRC_URI[ttf.md5sum] = "621c0ecf4f7338e2390d3cd0deb00c00" +SRC_URI[ttf.sha256sum] = "e1afa592660a48234051a8c6b54aff36b85db8da0299878ed4d1668a2bda3c57" do_install:append () { install -d ${D}${sysconfdir}/fonts/conf.d - for x in ${S}/etc/fonts/conf.avail/*.conf; do + for x in ${UNPACKDIR}/fonts-tlwg-${PV}/fontconfig/*.conf; do install -m 0644 $x ${D}${sysconfdir}/fonts/conf.d/ done }