diff mbox series

[meta-oe] ttf-noto-emoji: upgrade 20200916 -> 2.051

Message ID 20260706083734.171406-1-ecordonnier@snap.com
State New
Headers show
Series [meta-oe] ttf-noto-emoji: upgrade 20200916 -> 2.051 | expand

Commit Message

Etienne Cordonnier July 6, 2026, 8:37 a.m. UTC
From: Etienne Cordonnier <ecordonnier@snap.com>

- NotoEmoji-Regular.ttf was removed upstream in https://github.com/googlefonts/noto-emoji/commit/1442f6acc8463c428c8b38fc558e87c28d8efa5b
- A new COLRv1 format is provided, with a smaller file-size

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 .../packagegroups/packagegroup-meta-oe.bb     |  4 +++-
 .../ttf-fonts/ttf-noto-emoji_2.051.bb         | 22 +++++++++++++++++++
 .../ttf-fonts/ttf-noto-emoji_20200916.bb      | 18 ---------------
 3 files changed, 25 insertions(+), 19 deletions(-)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_2.051.bb
 delete mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb

Comments

Yoann Congal July 6, 2026, 8:49 a.m. UTC | #1
Le lun. 6 juil. 2026 à 10:37, Etienne Cordonnier via lists.openembedded.org
<ecordonnier=snap.com@lists.openembedded.org> a écrit :

> From: Etienne Cordonnier <ecordonnier@snap.com>
>
> - NotoEmoji-Regular.ttf was removed upstream in
> https://github.com/googlefonts/noto-emoji/commit/1442f6acc8463c428c8b38fc558e87c28d8efa5b
> - A new COLRv1 format is provided, with a smaller file-size
>
> Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
> ---
>  .../packagegroups/packagegroup-meta-oe.bb     |  4 +++-
>  .../ttf-fonts/ttf-noto-emoji_2.051.bb         | 22 +++++++++++++++++++
>  .../ttf-fonts/ttf-noto-emoji_20200916.bb      | 18 ---------------
>

Hello,

Does that change in versioning format need a PE increase?
If I remember correctly, we got some builds with buildhistory enabled, and
this patch might trigger:
https://docs.yoctoproject.org/ref-manual/qa-checks.html#version-going-backwards

Thanks!


>  3 files changed, 25 insertions(+), 19 deletions(-)
>  create mode 100644 meta-oe/recipes-graphics/ttf-fonts/
> ttf-noto-emoji_2.051.bb
>  delete mode 100644 meta-oe/recipes-graphics/ttf-fonts/
> ttf-noto-emoji_20200916.bb
>
> diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> index a4b03e2a88..c3600d5c95 100644
> --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> @@ -556,7 +556,9 @@ RDEPENDS:packagegroup-meta-oe-graphics = "\
>      ttf-lklug \
>      ttf-lohit \
>      ttf-noto-emoji-color \
> -    ttf-noto-emoji-regular \
> +    ttf-noto-emoji-color-noflags \
> +    ttf-noto-emoji-colrv1 \
> +    ttf-noto-emoji-colrv1-noflags \
>      ttf-pt-sans \
>      ttf-roboto \
>      ttf-sazanami-gothic \
> diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_2.051.bb
> b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_2.051.bb
> new file mode 100644
> index 0000000000..215ec9d14d
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_2.051.bb
> @@ -0,0 +1,22 @@
> +require ttf.inc
> +
> +SUMMARY = "Google noto emoji font pack"
> +HOMEPAGE = "https://github.com/googlefonts/noto-emoji"
> +LICENSE = "OFL-1.1"
> +LIC_FILES_CHKSUM =
> "file://fonts/LICENSE;md5=55719faa0112708e946b820b24b14097"
> +
> +SRC_URI = "git://
> github.com/googlefonts/noto-emoji;branch=main;protocol=https"
> +SRCREV = "8998f5dd683424a73e2314a8c1f1e359c19e8742"
> +
> +PACKAGES =+ "${PN}-color ${PN}-color-noflags ${PN}-colrv1
> ${PN}-colrv1-noflags"
> +FONT_PACKAGES = "${PN} ${PN}-color ${PN}-color-noflags ${PN}-colrv1
> ${PN}-colrv1-noflags"
> +
> +FILES:${PN} = "${datadir}/fonts/truetype/*.ttf"
> +FILES:${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
> +FILES:${PN}-color-noflags =
> "${datadir}/fonts/truetype/NotoColorEmoji-noflags.ttf"
> +# The COLRv1 format is a color scalable font compared with the previous
> color bitmap fonts.
> +# COLRv1 is significantly smaller than the color bitmap format (~5MB vs
> ~11MB).
> +FILES:${PN}-colrv1 = "${datadir}/fonts/truetype/Noto-COLRv1.ttf"
> +FILES:${PN}-colrv1-noflags =
> "${datadir}/fonts/truetype/Noto-COLRv1-noflags.ttf"
> +
> +do_compile[noexec] = "1"
> diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb
> b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb
> deleted file mode 100644
> index b5dae22a9d..0000000000
> --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb
> +++ /dev/null
> @@ -1,18 +0,0 @@
> -require ttf.inc
> -
> -SUMMARY = "Google noto emoji font pack"
> -HOMEPAGE = "https://github.com/googlefonts/noto-emoji"
> -LICENSE = "OFL-1.1"
> -LIC_FILES_CHKSUM =
> "file://fonts/LICENSE;md5=55719faa0112708e946b820b24b14097"
> -
> -SRC_URI = "git://
> github.com/googlefonts/noto-emoji;branch=main;protocol=https"
> -SRCREV = "aac7ccaa4d1dea4543453b96f7d6fc47066a57ff"
> -
> -PACKAGES = "${PN}-color ${PN}-regular"
> -FONT_PACKAGES = "${PN}-color ${PN}-regular"
> -
> -
> -FILES:${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
> -FILES:${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf"
> -
> -do_compile[noexec] = "1"
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#128028):
> https://lists.openembedded.org/g/openembedded-devel/message/128028
> Mute This Topic: https://lists.openembedded.org/mt/120136605/4316185
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> yoann.congal@smile.fr]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index a4b03e2a88..c3600d5c95 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -556,7 +556,9 @@  RDEPENDS:packagegroup-meta-oe-graphics = "\
     ttf-lklug \
     ttf-lohit \
     ttf-noto-emoji-color \
-    ttf-noto-emoji-regular \
+    ttf-noto-emoji-color-noflags \
+    ttf-noto-emoji-colrv1 \
+    ttf-noto-emoji-colrv1-noflags \
     ttf-pt-sans \
     ttf-roboto \
     ttf-sazanami-gothic \
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_2.051.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_2.051.bb
new file mode 100644
index 0000000000..215ec9d14d
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_2.051.bb
@@ -0,0 +1,22 @@ 
+require ttf.inc
+
+SUMMARY = "Google noto emoji font pack"
+HOMEPAGE = "https://github.com/googlefonts/noto-emoji"
+LICENSE = "OFL-1.1"
+LIC_FILES_CHKSUM = "file://fonts/LICENSE;md5=55719faa0112708e946b820b24b14097"
+
+SRC_URI = "git://github.com/googlefonts/noto-emoji;branch=main;protocol=https"
+SRCREV = "8998f5dd683424a73e2314a8c1f1e359c19e8742"
+
+PACKAGES =+ "${PN}-color ${PN}-color-noflags ${PN}-colrv1 ${PN}-colrv1-noflags"
+FONT_PACKAGES = "${PN} ${PN}-color ${PN}-color-noflags ${PN}-colrv1 ${PN}-colrv1-noflags"
+
+FILES:${PN} = "${datadir}/fonts/truetype/*.ttf"
+FILES:${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
+FILES:${PN}-color-noflags = "${datadir}/fonts/truetype/NotoColorEmoji-noflags.ttf"
+# The COLRv1 format is a color scalable font compared with the previous color bitmap fonts.
+# COLRv1 is significantly smaller than the color bitmap format (~5MB vs ~11MB).
+FILES:${PN}-colrv1 = "${datadir}/fonts/truetype/Noto-COLRv1.ttf"
+FILES:${PN}-colrv1-noflags = "${datadir}/fonts/truetype/Noto-COLRv1-noflags.ttf"
+
+do_compile[noexec] = "1"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb
deleted file mode 100644
index b5dae22a9d..0000000000
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb
+++ /dev/null
@@ -1,18 +0,0 @@ 
-require ttf.inc
-
-SUMMARY = "Google noto emoji font pack"
-HOMEPAGE = "https://github.com/googlefonts/noto-emoji"
-LICENSE = "OFL-1.1"
-LIC_FILES_CHKSUM = "file://fonts/LICENSE;md5=55719faa0112708e946b820b24b14097"
-
-SRC_URI = "git://github.com/googlefonts/noto-emoji;branch=main;protocol=https"
-SRCREV = "aac7ccaa4d1dea4543453b96f7d6fc47066a57ff"
-
-PACKAGES = "${PN}-color ${PN}-regular"
-FONT_PACKAGES = "${PN}-color ${PN}-regular"
-
-
-FILES:${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
-FILES:${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf"
-
-do_compile[noexec] = "1"