[meta-oe][PATCH 007/109] source-code-pro-fonts: upgrade 2.030_1.050 -> 2.042_1.062

Khem Raj <[email protected]>
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
Adobe's 2.042R-u/1.062R-i/1.026R-vf release re-compiles all fonts so
that the static instances correspond to the variable-font versions;
uprights are at 2.042 and italics at 1.062.

Upstream also reorganised the release assets: instead of a single
all-formats source-code-pro-<ver>.zip containing a top-level versioned
directory (plus EOT/OTF/TTF/WOFF trees and a bundled LICENSE.txt), each
format is now published as its own archive that unpacks a bare OTF/
directory with no license file.  So SRC_URI now fetches
OTF-source-code-pro-2.042R-u_1.062R-i.zip with ;subdir=${BP}, S points
at that subdir, and LIC_FILES_CHKSUM references the common OFL-1.1 text
(the repository's LICENSE.md is the verbatim SIL OFL 1.1, only the
copyright year and Adobe notice differ, and it is no longer shipped in
the font archive).  UPSTREAM_CHECK_REGEX is adjusted for the new
"R-u" tag suffix.  All 14 OTF faces are packaged as before.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <[email protected]>
---
 ...0_1.050.bb => source-code-pro-fonts_2.042_1.062.bb} | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-graphics/ttf-fonts/{source-code-pro-fonts_2.030_1.050.bb => source-code-pro-fonts_2.042_1.062.bb} (67%)

diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb b/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.042_1.062.bb
similarity index 67%
rename from meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb
rename to meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.042_1.062.bb
index 38a5126eea..069b290436 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.042_1.062.bb
@@ -3,19 +3,19 @@ require ttf.inc
 SUMMARY = "Adobe Source Code Pro"
 HOMEPAGE = "https://github.com/adobe-fonts/source-code-pro"
 LICENSE = "OFL-1.1"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c7c16bdc2c96af797293d68503e5c65c"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90"
 
 inherit allarch fontcache
 
 SRC_URI = " \
-    https://github.com/adobe-fonts/source-code-pro/releases/download/2.030R-ro/1.050R-it/source-code-pro-2.030R-ro-1.050R-it.zip \
+    https://github.com/adobe-fonts/source-code-pro/releases/download/2.042R-u/1.062R-i/1.026R-vf/OTF-source-code-pro-2.042R-u_1.062R-i.zip;subdir=${BP} \
     file://44-source-code-pro-fonts-fontconfig.conf \
 "
-SRC_URI[sha256sum] = "da2ac159497d31b0c6d9daa8fc390fb8252e75b4a9805ace6a2c9cccaed4932e"
-S = "${UNPACKDIR}/source-code-pro-2.030R-ro-1.050R-it"
+SRC_URI[sha256sum] = "754a2e3ebb945ae905d720ac5896b3b34acc9546dd6551ef9536869788629dae"
+S = "${UNPACKDIR}/${BP}"
 
 UPSTREAM_CHECK_URI = "https://github.com/adobe-fonts/source-code-pro/tags"
-UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+\.\d+)R"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+\.\d+)R-u"
 
 do_install() {
     install -d ${D}${sysconfdir}/fonts/conf.d/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.