all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* font-packaging guidelines
@ 2024-05-02 10:26 not emma
  2024-05-14  9:37 ` Hartmut Goebel
  0 siblings, 1 reply; 2+ messages in thread
From: not emma @ 2024-05-02 10:26 UTC (permalink / raw)
  To: guix-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 2328 bytes --]

Hi !

I hope this is the right place to send this. First off, I've only been using Guix for a month now but wow I love it! After getting the hangs of the basics I managed to create a working package for the JetBrainsMono Nerd Font that's based off the code from this patch:

https://issues.guix.gnu.org/44476

However, rather than lumping all the fonts into a single package, I'm planning to package each one independently, and have them exist as part of a nerd-fonts module. I'd like to submit this package as a contribution so that others can use it too, but wanted some clarification on packaging guidelines before i started to write out the bulk of the code.

Currently, it's formatted like so:

> 1 │ (define-module (bugchan packages font-nerd-fonts)
> 2 │ #:use-module (guix packages)
> 3 │ #:use-module (guix download)
> 4 │ #:use-module (guix build-system font)
> 5 │ #:use-module ((guix licenses) #:prefix license:))
> 6 │
> 7 │ (define-public font-jetbrainsmono-nerd-font
> 8 │ (let ((version "v3.2.1"))
> 9 │ (package
> 10 │ (name "font-jetbrainsmono-nerd-font")
> 11 │ (version version)
> 12 │ (source (origin
> 13 │ (method url-fetch)
> 14 │ (uri (string-append "https://github.com/ryanoasis/nerd-fonts/releases/down
> │ load/" version "/JetBrainsMono.tar.xz"))
> 15 │ (sha256
> 16 │ (base32
> 17 │ "01j0rkgrix7mdp9fx0y8zzk1kh40yfcp932p0r5y666aq4mq5y3c"))))
> 18 │ (build-system font-build-system)
> 19 │ (arguments
> 20 │ `(#:phases
> 21 │ (modify-phases %standard-phases
> 22 │ (add-before 'install 'make-files-writable
> 23 │ (lambda _
> 24 │ (for-each
> 25 │ make-file-writable
> 26 │ (find-files "." ".*\\.(oft|otc|ttf|ttc) $"))
> 27 │ #t)))))
> 28 │ (home-page "https://www.nerdfonts.com/")
> 29 │ (synopsis "Iconic font aggregator, collection, and patcher")
> 30 │ (description
> 31 │ "Nerd Fonts patches developer targeted fonts with a high number
> 32 │ of glyphs (icons). Specifically to add a high number of extra glyphs
> 33 │ from popular ‘iconic fonts’ such as Font Awesome, Devicons, Octicons,
> and others.")
> (license license:expat))))

I followed the packaging guidelines from the manual, but wanted to double check still just in case I missed anything.

Thank you!

Sent with [Proton Mail](https://proton.me/) secure email.

[-- Attachment #2: Type: text/html, Size: 6762 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: font-packaging guidelines
  2024-05-02 10:26 font-packaging guidelines not emma
@ 2024-05-14  9:37 ` Hartmut Goebel
  0 siblings, 0 replies; 2+ messages in thread
From: Hartmut Goebel @ 2024-05-14  9:37 UTC (permalink / raw)
  To: guix-devel

Hi,

not sure what your question is.

The code formatting style can be checked with "guix lint".


Am 02.05.24 um 12:26 schrieb not emma:
>   29   │    (synopsis "Iconic font aggregator, collection, and patcher")
>   30   │    (description
>   31   │     "Nerd Fonts patches developer targeted fonts with a high 
> number
>   32   │ of glyphs (icons). Specifically to add a high number of extra 
> glyphs
>   33   │ from popular ‘iconic fonts’ such as Font Awesome, Devicons, 
> Octicons,
>  and others.")

Reading this, I do not understand what this package is. "patcher" sounds 
like a tool, and the description says "patches". But you are talking 
about fonts, and the package is called "font-…".

Collection of 'iconic' fonts?

Font containing icons collected from may other icon fonts?


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-14  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-02 10:26 font-packaging guidelines not emma
2024-05-14  9:37 ` Hartmut Goebel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.