Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] font-sarasa-gothic: use correct path
@ 2025-01-20  2:11 Vinfall
  2025-01-21 15:37 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: Vinfall @ 2025-01-20  2:11 UTC (permalink / raw)
  To: ml

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

There is a new pull request by Vinfall against master on the void-packages repository

https://github.com/Vinfall/void-packages font-sarasa-gothic
https://github.com/void-linux/void-packages/pull/54042

font-sarasa-gothic: use correct path
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

The path (TTC vs. TTF) mismatch finally bothers me enough to make a fix.


A patch file from https://github.com/void-linux/void-packages/pull/54042.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-font-sarasa-gothic-54042.patch --]
[-- Type: text/x-diff, Size: 1339 bytes --]

From bbe7cd9d3a0c7e7767e4fb55d7a929e7e05f23bf Mon Sep 17 00:00:00 2001
From: Vinfall <neptuniah@riseup.net>
Date: Mon, 20 Jan 2025 10:07:18 +0800
Subject: [PATCH] font-sarasa-gothic: use correct path

---
 srcpkgs/font-sarasa-gothic/template | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/font-sarasa-gothic/template b/srcpkgs/font-sarasa-gothic/template
index 0032d49d66dd70..997e296b66f4d8 100644
--- a/srcpkgs/font-sarasa-gothic/template
+++ b/srcpkgs/font-sarasa-gothic/template
@@ -1,7 +1,7 @@
 # Template file for 'font-sarasa-gothic'
 pkgname=font-sarasa-gothic
 version=1.0.27
-revision=1
+revision=2
 depends="font-util"
 short_desc="CJK programming font based on Iosevka and Source Han Sans"
 maintainer="B. Wilson <x@wilsonb.com>"
@@ -9,11 +9,9 @@ license="OFL-1.1"
 homepage="https://github.com/be5invis/Sarasa-Gothic"
 distfiles="https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/Sarasa-TTC-${version}.7z"
 checksum=9eecd0122fa546d9a5f8d4b9b7fc6f9ddc41ca107b6f2990ae68456da80d61a6
-font_dirs="/usr/share/fonts/TTF"
+font_dirs="/usr/share/fonts/TTC/sarasa-gothic"
 
 do_install() {
-	local file
-	for file in *.ttc; do
-		vinstall $file 0644 usr/share/fonts/TTF
-	done
+	vmkdir usr/share/fonts/TTC/sarasa-gothic
+	vcopy "*.ttc" usr/share/fonts/TTC/sarasa-gothic
 }

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

* Re: [PR PATCH] [Merged]: font-sarasa-gothic: use correct path
  2025-01-20  2:11 [PR PATCH] font-sarasa-gothic: use correct path Vinfall
@ 2025-01-21 15:37 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2025-01-21 15:37 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

font-sarasa-gothic: use correct path
https://github.com/void-linux/void-packages/pull/54042

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

The path (TTC vs. TTF) mismatch finally bothers me enough to make a fix.


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

end of thread, other threads:[~2025-01-21 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-20  2:11 [PR PATCH] font-sarasa-gothic: use correct path Vinfall
2025-01-21 15:37 ` [PR PATCH] [Merged]: " classabbyamp

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 NNTP newsgroup(s).