unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon South <simon@simonsouth.net>
To: 61253@debbugs.gnu.org
Subject: [bug#61253] [PATCH core-updates 00/19] Add license files missing from font packages
Date: Fri,  3 Feb 2023 07:38:52 -0500	[thread overview]
Message-ID: <cover.1675425307.git.simon@simonsouth.net> (raw)

This patch series adds license files missing from 29 font packages[0] that use
font-build-system.  It also modifies font-build-system to expose the
#:license-file-regexp argument it inherits and provide a custom, more specific
default value for it, both of which should help future font-package authors
ensure license files are installed correctly.

For testing, note you may need to first apply the patches attached to issues
61039, 61119 and 61120[1] to avoid unrelated build failures.  In preparing
this current set of patches I considered a license file "missing" if it is the
only relevant file in the source package, is referred to by another license
file or qualifies the license in some way (for instance, a README file
specifying an exception to the GPL).

In cases where I've changed a package source's fetch method (such as from
"url-fetch/zipbomb" to "url-fetch") this was done to ensure the correct
working directory is selected when the install-license-files build phase runs,
and is related to the unpack phase's magical behaviour of choosing an
arbitrary subdirectory to enter before it completes[2].

I've tested these changes on x86-64 and AArch64 and everything seems fine.

--
Simon South
simon@simonsouth.net

[0] font-anonymous-pro, font-anonymous-pro-minus, font-artifika,
    font-bitstream-vera, font-canada1500, font-catamaran, font-charter,
    font-comic-neue, font-cormorant, font-culmus, font-dosis, font-dseg,
    font-fira-go, font-fira-mono, font-fira-sans,
    font-fontna-yasashisa-antique, font-gfs-ambrosia, font-go,
    font-ipa-mj-mincho, font-lato, font-libertinus, font-linuxlibertine,
    font-lohit, font-montserrat, font-sil-andika, font-sil-charis,
    font-sil-gentium, font-wqy-microhei and font-wqy-zenhei.

[1] https://issues.guix.gnu.org/61039
    https://issues.guix.gnu.org/61119
    https://issues.guix.gnu.org/61120

[2] https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/gnu-build-system.scm?h=core-updates&id=70b7d19ecf35ec27b169ea1ccc772d4a9ff7df93#n179


Simon South (19):
  build-system/font: Add #:license-file-regexp argument.
  build-system/font: Customize %license-file-regexp.
  gnu: font-canada1500: Install license file.
  gnu: font-lato: Install license file.
  gnu: font-linuxlibertine: Install all license files.
  gnu: font-wqy-zenhei: Install all license files.
  gnu: font-wqy-microhei: Install all license files.
  gnu: font-fira-sans: Install license file.
  gnu: font-fira-go: Install license file.
  gnu: font-comic-neue: Install license file.
  gnu: font-space-grotesk: Remove obsolete phase.
  gnu: font-go: Install license files.
  gnu: font-dosis: Remove extraneous files; install license file.
  gnu: font-culmus: Install all license files.
  gnu: font-dseg: Simplify "install" phase.
  gnu: font-dseg: Install license file.
  gnu: font-jetbrains-mono: Remove obsolete phase.
  gnu: font-fontna-yasashisa-antique: Install license file.
  gnu: font-charter: Install license file.

 gnu/packages/fonts.scm           | 83 ++++++++++++++++++--------------
 guix/build-system/font.scm       |  2 +
 guix/build/font-build-system.scm |  6 +++
 3 files changed, 55 insertions(+), 36 deletions(-)


base-commit: 70b7d19ecf35ec27b169ea1ccc772d4a9ff7df93
prerequisite-patch-id: 418e6f2f834e0f77d4da64e48bf654d610fbfe80
prerequisite-patch-id: 7c9321685c0c33cb9d1438797d2cb2bb540276c4
prerequisite-patch-id: 2920d2816c4bcf6e7774b35efd49990aef2d76c9
--
2.39.1





             reply	other threads:[~2023-02-03 12:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03 12:38 Simon South [this message]
2023-02-03 12:42 ` [bug#61253] [PATCH core-updates 01/19] build-system/font: Add #:license-file-regexp argument Simon South
2023-02-03 12:42 ` [bug#61253] [PATCH core-updates 02/19] build-system/font: Customize %license-file-regexp Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 03/19] gnu: font-canada1500: Install license file Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 04/19] gnu: font-lato: " Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 05/19] gnu: font-linuxlibertine: Install all license files Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 06/19] gnu: font-wqy-zenhei: " Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 07/19] gnu: font-wqy-microhei: " Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 08/19] gnu: font-fira-sans: Install license file Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 09/19] gnu: font-fira-go: " Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 10/19] gnu: font-comic-neue: " Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 11/19] gnu: font-space-grotesk: Remove obsolete phase Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 12/19] gnu: font-go: Install license files Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 13/19] gnu: font-dosis: Remove extraneous files; install license file Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 14/19] gnu: font-culmus: Install all license files Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 15/19] gnu: font-dseg: Simplify "install" phase Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 16/19] gnu: font-dseg: Install license file Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 17/19] gnu: font-jetbrains-mono: Remove obsolete phase Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 18/19] gnu: font-fontna-yasashisa-antique: Install license file Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 19/19] gnu: font-charter: " Simon South
2024-01-22  4:37 ` bug#61253: [PATCH core-updates 00/19] Add license files missing from font packages Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1675425307.git.simon@simonsouth.net \
    --to=simon@simonsouth.net \
    --cc=61253@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).