unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#61253] [PATCH core-updates 00/19] Add license files missing from font packages
@ 2023-02-03 12:38 Simon South
  2023-02-03 12:42 ` [bug#61253] [PATCH core-updates 01/19] build-system/font: Add #:license-file-regexp argument Simon South
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: Simon South @ 2023-02-03 12:38 UTC (permalink / raw)
  To: 61253

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





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

end of thread, other threads:[~2024-01-22  4:39 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-03 12:38 [bug#61253] [PATCH core-updates 00/19] Add license files missing from font packages Simon South
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

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).