GNU bug report logs - #60684
[PATCH 0/1] Add font-google-noto-emoji

Previous Next

Package: guix-patches;

Reported by: Fredrik Salomonsson <plattfot <at> posteo.net>

Date: Mon, 9 Jan 2023 01:01:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60684 in the body.
You can then email your comments to 60684 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#60684; Package guix-patches. (Mon, 09 Jan 2023 01:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fredrik Salomonsson <plattfot <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 09 Jan 2023 01:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Fredrik Salomonsson <plattfot <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Fredrik Salomonsson <plattfot <at> posteo.net>
Subject: [PATCH 0/1] Add font-google-noto-emoji
Date: Mon,  9 Jan 2023 01:00:31 +0000
Hi,

I ventured down a black hole trying to get emacs render colored emojis with
OpenMoji. But whatever I tried they were still black and white. I noticed
though that using font-google-noto instead rendered emojis just fine in
color. It is really heavy and it's missing some emojis though. Therefore I
ended up package a newer version of Noto Color Emoji. It weights in at ~10MB
when built and covers the Unicode 15.0 standard.

Fredrik Salomonsson (1):
  gnu: Add font-google-noto-emoji.

 gnu/packages/fonts.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)


base-commit: 2463e9f1fe10a1d7e02dff76f200da69cd3f24d1
-- 
2.38.1





Information forwarded to guix-patches <at> gnu.org:
bug#60684; Package guix-patches. (Mon, 09 Jan 2023 01:06:02 GMT) Full text and rfc822 format available.

Message #8 received at 60684 <at> debbugs.gnu.org (full text, mbox):

From: Fredrik Salomonsson <plattfot <at> posteo.net>
To: 60684 <at> debbugs.gnu.org
Cc: Fredrik Salomonsson <plattfot <at> posteo.net>
Subject: [PATCH 1/1] gnu: Add font-google-noto-emoji.
Date: Mon,  9 Jan 2023 01:05:04 +0000
* gnu/packages/fonts.scm (font-google-noto-emoji): New variable.
---
 gnu/packages/fonts.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 95e99d5a73..c489e9891c 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -939,6 +939,36 @@ (define-public font-google-noto
 display all Unicode symbols.")
     (license license:silofl1.1)))
 
+(define-public font-google-noto-emoji
+  (package
+    (name "font-google-noto-emoji")
+    (version "2.038")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://github.com/googlefonts/noto-emoji/archive/refs/tags/v"
+                       version".tar.gz"))
+       (sha256
+        (base32
+         "15bi08nv5fwssm2cmhqd2mdj07dk1kirdvkxxpy2xs516fbv7n27"))))
+    (build-system font-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-unsupported
+            (lambda* _
+              (delete-file "fonts/NotoColorEmoji_WindowsCompatible.ttf")
+              (delete-file "fonts/Noto-COLRv1-noflags.ttf")
+              (delete-file "fonts/Noto-COLRv1.ttf"))))))
+    (home-page "https://fonts.google.com/noto/specimen/Noto+Color+Emoji")
+    (synopsis "Font for rendering color emoji characters")
+    (description
+     "This package provides the color emoji font from the Google Noto font
+family.")
+    (license license:silofl1.1)))
+
 (define-public font-google-noto-sans-cjk
   (package
     (name "font-google-noto-sans-cjk")
-- 
2.38.1





Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Sat, 28 Jan 2023 02:57:01 GMT) Full text and rfc822 format available.

Notification sent to Fredrik Salomonsson <plattfot <at> posteo.net>:
bug acknowledged by developer. (Sat, 28 Jan 2023 02:57:01 GMT) Full text and rfc822 format available.

Message #13 received at 60684-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Fredrik Salomonsson <plattfot <at> posteo.net>
Cc: 60684-done <at> debbugs.gnu.org
Subject: Re: bug#60684: [PATCH 0/1] Add font-google-noto-emoji
Date: Sat, 28 Jan 2023 10:56:41 +0800
Fredrik Salomonsson <plattfot <at> posteo.net> writes:

> * gnu/packages/fonts.scm (font-google-noto-emoji): New variable.
> ---
>  gnu/packages/fonts.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)

Applied with fetching source via git, as the github generated tarballs
for tags maybe unstable.  Thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 25 Feb 2023 12:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 53 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.