Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] add ttf-vista-fonts package (nonfree)
@ 2024-04-23  9:10 FoggyMtnDrifter
  2024-04-23  9:12 ` FoggyMtnDrifter
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: FoggyMtnDrifter @ 2024-04-23  9:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/FoggyMtnDrifter/void-packages ttf-vista-fonts
https://github.com/void-linux/void-packages/pull/49996

add ttf-vista-fonts package (nonfree)
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ttf-vista-fonts-49996.patch --]
[-- Type: text/x-diff, Size: 2322 bytes --]

From 5f8a50f6198e9725d61660aea16358aff1e8bbeb Mon Sep 17 00:00:00 2001
From: Michael Kinder <michael@foggymtndrifter.com>
Date: Tue, 23 Apr 2024 05:06:24 -0400
Subject: [PATCH] add ttf-vista-fonts package (nonfree)

---
 srcpkgs/ttf-vista-fonts/template | 41 ++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 srcpkgs/ttf-vista-fonts/template

diff --git a/srcpkgs/ttf-vista-fonts/template b/srcpkgs/ttf-vista-fonts/template
new file mode 100644
index 00000000000000..2e988ce12ed46b
--- /dev/null
+++ b/srcpkgs/ttf-vista-fonts/template
@@ -0,0 +1,41 @@
+pkgname=ttf-vista-fonts
+version=1.0.0
+revision=1
+short_desc="Microsoft Vista and Office 2007 True Type Fonts"
+maintainer="Michael Kinder <michael@foggymtndrifter.com>"
+# Referenced to the PowerPointViewer.exe, the template and mechanism are custom.
+# The fonts are licensed under a Microsoft-specific license included with this
+# package as filename "EULA".
+license="custom:microsoft"
+homepage="https://docs.microsoft.com/en-us/typography/fonts/font-faq"
+distfiles="https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe>${pkgname}.cab"
+checksum=249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423
+makedepends="fontforge fontconfig cabextract"
+nocross=yes
+
+# While it is fine to distribute the templates that build packages
+# containing the Vista and Office 2007 fonts, they must not distribute the fonts
+# themselves (this would constitute changing or otherwise
+# encapsulating the filename which is not permitted).
+restricted=yes
+repository=nonfree
+
+# They're just fonts...
+
+# Tell XBPS that these are fonts
+font_dirs="/usr/share/fonts/TTF"
+
+do_extract() {
+    mkdir -p ${wrksrc}
+    cabextract --lowercase ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}.cab -d ${wrksrc}
+    cabextract --lowercase -F '*.tt[fc]' ${wrksrc}/ppviewer.cab -d ${wrksrc}
+}
+
+do_install() {
+    vmkdir usr/share/fonts/TTF
+    # Use find command to correctly handle and copy each font file
+    find ${wrksrc} -iname "*.ttf" -o -iname "*.ttc" | while read fontfile; do
+        vcopy "$(basename ${fontfile})" usr/share/fonts/TTF/
+    done
+    vinstall ${wrksrc}/eula 644 usr/share/licenses/${pkgname}/EULA
+}

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

* Re: add ttf-vista-fonts package (nonfree)
  2024-04-23  9:10 [PR PATCH] add ttf-vista-fonts package (nonfree) FoggyMtnDrifter
@ 2024-04-23  9:12 ` FoggyMtnDrifter
  2024-04-23 12:00 ` chrysos349
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: FoggyMtnDrifter @ 2024-04-23  9:12 UTC (permalink / raw)
  To: ml

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

New comment by FoggyMtnDrifter on void-packages repository

https://github.com/void-linux/void-packages/pull/49996#issuecomment-2071808315

Comment:
This package namely allows the installation of the Calibri, Cambria, and a few other more modern Microsoft Office fonts that will be used for better Microsoft Office compatibility.

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

* Re: add ttf-vista-fonts package (nonfree)
  2024-04-23  9:10 [PR PATCH] add ttf-vista-fonts package (nonfree) FoggyMtnDrifter
  2024-04-23  9:12 ` FoggyMtnDrifter
@ 2024-04-23 12:00 ` chrysos349
  2024-04-23 14:22 ` [PR PATCH] [Updated] " FoggyMtnDrifter
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: chrysos349 @ 2024-04-23 12:00 UTC (permalink / raw)
  To: ml

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

New comment by chrysos349 on void-packages repository

https://github.com/void-linux/void-packages/pull/49996#issuecomment-2072119197

Comment:
Cleaned up a bit.
```sh
# Template file for 'ttf-vista-fonts'
pkgname=ttf-vista-fonts
version=1.0.0
revision=1
hostmakedepends="cabextract"
short_desc="Microsoft Vista and Office 2007 True Type Fonts"
maintainer="Michael Kinder <michael@foggymtndrifter.com>"
license="custom:microsoft"
homepage="https://docs.microsoft.com/en-us/typography/fonts/font-faq"
distfiles="https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe>${pkgname}.cab"
checksum=249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423
font_dirs="/usr/share/fonts/TTF"
restricted=yes
repository=nonfree
skip_extraction="${pkgname}.cab"

do_install() {
	vsrccopy ${pkgname}.cab .
	cabextract ${pkgname}.cab
	cabextract --lowercase -F '*.tt[fc]' ppviewer.cab \
		-d ${DESTDIR}/usr/share/fonts/TTF
	vlicense EULA
}
```

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

* Re: [PR PATCH] [Updated] add ttf-vista-fonts package (nonfree)
  2024-04-23  9:10 [PR PATCH] add ttf-vista-fonts package (nonfree) FoggyMtnDrifter
  2024-04-23  9:12 ` FoggyMtnDrifter
  2024-04-23 12:00 ` chrysos349
@ 2024-04-23 14:22 ` FoggyMtnDrifter
  2024-04-23 14:39 ` FoggyMtnDrifter
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: FoggyMtnDrifter @ 2024-04-23 14:22 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by FoggyMtnDrifter against master on the void-packages repository

https://github.com/FoggyMtnDrifter/void-packages ttf-vista-fonts
https://github.com/void-linux/void-packages/pull/49996

add ttf-vista-fonts package (nonfree)
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ttf-vista-fonts-49996.patch --]
[-- Type: text/x-diff, Size: 4906 bytes --]

From 5f8a50f6198e9725d61660aea16358aff1e8bbeb Mon Sep 17 00:00:00 2001
From: Michael Kinder <michael@foggymtndrifter.com>
Date: Tue, 23 Apr 2024 05:06:24 -0400
Subject: [PATCH 1/2] add ttf-vista-fonts package (nonfree)

---
 srcpkgs/ttf-vista-fonts/template | 41 ++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 srcpkgs/ttf-vista-fonts/template

diff --git a/srcpkgs/ttf-vista-fonts/template b/srcpkgs/ttf-vista-fonts/template
new file mode 100644
index 00000000000000..2e988ce12ed46b
--- /dev/null
+++ b/srcpkgs/ttf-vista-fonts/template
@@ -0,0 +1,41 @@
+pkgname=ttf-vista-fonts
+version=1.0.0
+revision=1
+short_desc="Microsoft Vista and Office 2007 True Type Fonts"
+maintainer="Michael Kinder <michael@foggymtndrifter.com>"
+# Referenced to the PowerPointViewer.exe, the template and mechanism are custom.
+# The fonts are licensed under a Microsoft-specific license included with this
+# package as filename "EULA".
+license="custom:microsoft"
+homepage="https://docs.microsoft.com/en-us/typography/fonts/font-faq"
+distfiles="https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe>${pkgname}.cab"
+checksum=249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423
+makedepends="fontforge fontconfig cabextract"
+nocross=yes
+
+# While it is fine to distribute the templates that build packages
+# containing the Vista and Office 2007 fonts, they must not distribute the fonts
+# themselves (this would constitute changing or otherwise
+# encapsulating the filename which is not permitted).
+restricted=yes
+repository=nonfree
+
+# They're just fonts...
+
+# Tell XBPS that these are fonts
+font_dirs="/usr/share/fonts/TTF"
+
+do_extract() {
+    mkdir -p ${wrksrc}
+    cabextract --lowercase ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}.cab -d ${wrksrc}
+    cabextract --lowercase -F '*.tt[fc]' ${wrksrc}/ppviewer.cab -d ${wrksrc}
+}
+
+do_install() {
+    vmkdir usr/share/fonts/TTF
+    # Use find command to correctly handle and copy each font file
+    find ${wrksrc} -iname "*.ttf" -o -iname "*.ttc" | while read fontfile; do
+        vcopy "$(basename ${fontfile})" usr/share/fonts/TTF/
+    done
+    vinstall ${wrksrc}/eula 644 usr/share/licenses/${pkgname}/EULA
+}

From e1b039fc8c16958ee48af4d2661b4c7ef56065fd Mon Sep 17 00:00:00 2001
From: Michael Kinder <michael@foggymtndrifter.com>
Date: Tue, 23 Apr 2024 10:22:25 -0400
Subject: [PATCH 2/2] update template

---
 srcpkgs/ttf-vista-fonts/template | 36 ++++++++------------------------
 1 file changed, 9 insertions(+), 27 deletions(-)

diff --git a/srcpkgs/ttf-vista-fonts/template b/srcpkgs/ttf-vista-fonts/template
index 2e988ce12ed46b..22444afda864d7 100644
--- a/srcpkgs/ttf-vista-fonts/template
+++ b/srcpkgs/ttf-vista-fonts/template
@@ -1,41 +1,23 @@
+# Template file for 'ttf-vista-fonts'
 pkgname=ttf-vista-fonts
 version=1.0.0
 revision=1
+hostmakedepends="cabextract"
 short_desc="Microsoft Vista and Office 2007 True Type Fonts"
 maintainer="Michael Kinder <michael@foggymtndrifter.com>"
-# Referenced to the PowerPointViewer.exe, the template and mechanism are custom.
-# The fonts are licensed under a Microsoft-specific license included with this
-# package as filename "EULA".
 license="custom:microsoft"
 homepage="https://docs.microsoft.com/en-us/typography/fonts/font-faq"
 distfiles="https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe>${pkgname}.cab"
 checksum=249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423
-makedepends="fontforge fontconfig cabextract"
-nocross=yes
-
-# While it is fine to distribute the templates that build packages
-# containing the Vista and Office 2007 fonts, they must not distribute the fonts
-# themselves (this would constitute changing or otherwise
-# encapsulating the filename which is not permitted).
+font_dirs="/usr/share/fonts/TTF"
 restricted=yes
 repository=nonfree
-
-# They're just fonts...
-
-# Tell XBPS that these are fonts
-font_dirs="/usr/share/fonts/TTF"
-
-do_extract() {
-    mkdir -p ${wrksrc}
-    cabextract --lowercase ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}.cab -d ${wrksrc}
-    cabextract --lowercase -F '*.tt[fc]' ${wrksrc}/ppviewer.cab -d ${wrksrc}
-}
+skip_extraction="${pkgname}.cab"
 
 do_install() {
-    vmkdir usr/share/fonts/TTF
-    # Use find command to correctly handle and copy each font file
-    find ${wrksrc} -iname "*.ttf" -o -iname "*.ttc" | while read fontfile; do
-        vcopy "$(basename ${fontfile})" usr/share/fonts/TTF/
-    done
-    vinstall ${wrksrc}/eula 644 usr/share/licenses/${pkgname}/EULA
+	vsrccopy ${pkgname}.cab .
+	cabextract ${pkgname}.cab
+	cabextract --lowercase -F '*.tt[fc]' ppviewer.cab \
+		-d ${DESTDIR}/usr/share/fonts/TTF
+	vlicense EULA
 }

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

* Re: add ttf-vista-fonts package (nonfree)
  2024-04-23  9:10 [PR PATCH] add ttf-vista-fonts package (nonfree) FoggyMtnDrifter
                   ` (2 preceding siblings ...)
  2024-04-23 14:22 ` [PR PATCH] [Updated] " FoggyMtnDrifter
@ 2024-04-23 14:39 ` FoggyMtnDrifter
  2024-04-24 18:58 ` fanyx
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: FoggyMtnDrifter @ 2024-04-23 14:39 UTC (permalink / raw)
  To: ml

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

New comment by FoggyMtnDrifter on void-packages repository

https://github.com/void-linux/void-packages/pull/49996#issuecomment-2072513411

Comment:
Updated, changes have been tested and verified. Thanks!

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

* Re: add ttf-vista-fonts package (nonfree)
  2024-04-23  9:10 [PR PATCH] add ttf-vista-fonts package (nonfree) FoggyMtnDrifter
                   ` (3 preceding siblings ...)
  2024-04-23 14:39 ` FoggyMtnDrifter
@ 2024-04-24 18:58 ` fanyx
  2024-04-24 21:52 ` [PR PATCH] [Updated] " FoggyMtnDrifter
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fanyx @ 2024-04-24 18:58 UTC (permalink / raw)
  To: ml

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

New comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/49996#issuecomment-2075626025

Comment:
squash the commits into: "New package: ttf-vista-fonts-1.0.0"

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

* Re: [PR PATCH] [Updated] add ttf-vista-fonts package (nonfree)
  2024-04-23  9:10 [PR PATCH] add ttf-vista-fonts package (nonfree) FoggyMtnDrifter
                   ` (4 preceding siblings ...)
  2024-04-24 18:58 ` fanyx
@ 2024-04-24 21:52 ` FoggyMtnDrifter
  2024-04-24 23:55 ` 0x5c
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: FoggyMtnDrifter @ 2024-04-24 21:52 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by FoggyMtnDrifter against master on the void-packages repository

https://github.com/FoggyMtnDrifter/void-packages ttf-vista-fonts
https://github.com/void-linux/void-packages/pull/49996

add ttf-vista-fonts package (nonfree)
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ttf-vista-fonts-49996.patch --]
[-- Type: text/x-diff, Size: 6366 bytes --]

From 5f8a50f6198e9725d61660aea16358aff1e8bbeb Mon Sep 17 00:00:00 2001
From: Michael Kinder <michael@foggymtndrifter.com>
Date: Tue, 23 Apr 2024 05:06:24 -0400
Subject: [PATCH 1/3] add ttf-vista-fonts package (nonfree)

---
 srcpkgs/ttf-vista-fonts/template | 41 ++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 srcpkgs/ttf-vista-fonts/template

diff --git a/srcpkgs/ttf-vista-fonts/template b/srcpkgs/ttf-vista-fonts/template
new file mode 100644
index 00000000000000..2e988ce12ed46b
--- /dev/null
+++ b/srcpkgs/ttf-vista-fonts/template
@@ -0,0 +1,41 @@
+pkgname=ttf-vista-fonts
+version=1.0.0
+revision=1
+short_desc="Microsoft Vista and Office 2007 True Type Fonts"
+maintainer="Michael Kinder <michael@foggymtndrifter.com>"
+# Referenced to the PowerPointViewer.exe, the template and mechanism are custom.
+# The fonts are licensed under a Microsoft-specific license included with this
+# package as filename "EULA".
+license="custom:microsoft"
+homepage="https://docs.microsoft.com/en-us/typography/fonts/font-faq"
+distfiles="https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe>${pkgname}.cab"
+checksum=249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423
+makedepends="fontforge fontconfig cabextract"
+nocross=yes
+
+# While it is fine to distribute the templates that build packages
+# containing the Vista and Office 2007 fonts, they must not distribute the fonts
+# themselves (this would constitute changing or otherwise
+# encapsulating the filename which is not permitted).
+restricted=yes
+repository=nonfree
+
+# They're just fonts...
+
+# Tell XBPS that these are fonts
+font_dirs="/usr/share/fonts/TTF"
+
+do_extract() {
+    mkdir -p ${wrksrc}
+    cabextract --lowercase ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}.cab -d ${wrksrc}
+    cabextract --lowercase -F '*.tt[fc]' ${wrksrc}/ppviewer.cab -d ${wrksrc}
+}
+
+do_install() {
+    vmkdir usr/share/fonts/TTF
+    # Use find command to correctly handle and copy each font file
+    find ${wrksrc} -iname "*.ttf" -o -iname "*.ttc" | while read fontfile; do
+        vcopy "$(basename ${fontfile})" usr/share/fonts/TTF/
+    done
+    vinstall ${wrksrc}/eula 644 usr/share/licenses/${pkgname}/EULA
+}

From e1b039fc8c16958ee48af4d2661b4c7ef56065fd Mon Sep 17 00:00:00 2001
From: Michael Kinder <michael@foggymtndrifter.com>
Date: Tue, 23 Apr 2024 10:22:25 -0400
Subject: [PATCH 2/3] update template

---
 srcpkgs/ttf-vista-fonts/template | 36 ++++++++------------------------
 1 file changed, 9 insertions(+), 27 deletions(-)

diff --git a/srcpkgs/ttf-vista-fonts/template b/srcpkgs/ttf-vista-fonts/template
index 2e988ce12ed46b..22444afda864d7 100644
--- a/srcpkgs/ttf-vista-fonts/template
+++ b/srcpkgs/ttf-vista-fonts/template
@@ -1,41 +1,23 @@
+# Template file for 'ttf-vista-fonts'
 pkgname=ttf-vista-fonts
 version=1.0.0
 revision=1
+hostmakedepends="cabextract"
 short_desc="Microsoft Vista and Office 2007 True Type Fonts"
 maintainer="Michael Kinder <michael@foggymtndrifter.com>"
-# Referenced to the PowerPointViewer.exe, the template and mechanism are custom.
-# The fonts are licensed under a Microsoft-specific license included with this
-# package as filename "EULA".
 license="custom:microsoft"
 homepage="https://docs.microsoft.com/en-us/typography/fonts/font-faq"
 distfiles="https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe>${pkgname}.cab"
 checksum=249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423
-makedepends="fontforge fontconfig cabextract"
-nocross=yes
-
-# While it is fine to distribute the templates that build packages
-# containing the Vista and Office 2007 fonts, they must not distribute the fonts
-# themselves (this would constitute changing or otherwise
-# encapsulating the filename which is not permitted).
+font_dirs="/usr/share/fonts/TTF"
 restricted=yes
 repository=nonfree
-
-# They're just fonts...
-
-# Tell XBPS that these are fonts
-font_dirs="/usr/share/fonts/TTF"
-
-do_extract() {
-    mkdir -p ${wrksrc}
-    cabextract --lowercase ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}.cab -d ${wrksrc}
-    cabextract --lowercase -F '*.tt[fc]' ${wrksrc}/ppviewer.cab -d ${wrksrc}
-}
+skip_extraction="${pkgname}.cab"
 
 do_install() {
-    vmkdir usr/share/fonts/TTF
-    # Use find command to correctly handle and copy each font file
-    find ${wrksrc} -iname "*.ttf" -o -iname "*.ttc" | while read fontfile; do
-        vcopy "$(basename ${fontfile})" usr/share/fonts/TTF/
-    done
-    vinstall ${wrksrc}/eula 644 usr/share/licenses/${pkgname}/EULA
+	vsrccopy ${pkgname}.cab .
+	cabextract ${pkgname}.cab
+	cabextract --lowercase -F '*.tt[fc]' ppviewer.cab \
+		-d ${DESTDIR}/usr/share/fonts/TTF
+	vlicense EULA
 }

From 97a297b0da81e80713951deba1cebf7bfcd92b1e Mon Sep 17 00:00:00 2001
From: Michael Kinder <michael@foggymtndrifter.com>
Date: Tue, 23 Apr 2024 05:06:24 -0400
Subject: [PATCH 3/3] New package: ttf-vista-fonts-1.0.0

---
 srcpkgs/ttf-vista-fonts/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/ttf-vista-fonts/template

diff --git a/srcpkgs/ttf-vista-fonts/template b/srcpkgs/ttf-vista-fonts/template
new file mode 100644
index 00000000000000..22444afda864d7
--- /dev/null
+++ b/srcpkgs/ttf-vista-fonts/template
@@ -0,0 +1,23 @@
+# Template file for 'ttf-vista-fonts'
+pkgname=ttf-vista-fonts
+version=1.0.0
+revision=1
+hostmakedepends="cabextract"
+short_desc="Microsoft Vista and Office 2007 True Type Fonts"
+maintainer="Michael Kinder <michael@foggymtndrifter.com>"
+license="custom:microsoft"
+homepage="https://docs.microsoft.com/en-us/typography/fonts/font-faq"
+distfiles="https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe>${pkgname}.cab"
+checksum=249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423
+font_dirs="/usr/share/fonts/TTF"
+restricted=yes
+repository=nonfree
+skip_extraction="${pkgname}.cab"
+
+do_install() {
+	vsrccopy ${pkgname}.cab .
+	cabextract ${pkgname}.cab
+	cabextract --lowercase -F '*.tt[fc]' ppviewer.cab \
+		-d ${DESTDIR}/usr/share/fonts/TTF
+	vlicense EULA
+}

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

* Re: add ttf-vista-fonts package (nonfree)
  2024-04-23  9:10 [PR PATCH] add ttf-vista-fonts package (nonfree) FoggyMtnDrifter
                   ` (5 preceding siblings ...)
  2024-04-24 21:52 ` [PR PATCH] [Updated] " FoggyMtnDrifter
@ 2024-04-24 23:55 ` 0x5c
  2024-04-25  1:19 ` [PR PATCH] [Updated] " FoggyMtnDrifter
  2024-04-25  1:20 ` FoggyMtnDrifter
  8 siblings, 0 replies; 10+ messages in thread
From: 0x5c @ 2024-04-24 23:55 UTC (permalink / raw)
  To: ml

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

New comment by 0x5c on void-packages repository

https://github.com/void-linux/void-packages/pull/49996#issuecomment-2076063291

Comment:
https://github.com/void-linux/void-packages/pull/49996/commits/e3d280f9cf334fe8c8fad4cc06116ac7671a4752

Don't use merge commits, use rebase instead.

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

* Re: [PR PATCH] [Updated] add ttf-vista-fonts package (nonfree)
  2024-04-23  9:10 [PR PATCH] add ttf-vista-fonts package (nonfree) FoggyMtnDrifter
                   ` (6 preceding siblings ...)
  2024-04-24 23:55 ` 0x5c
@ 2024-04-25  1:19 ` FoggyMtnDrifter
  2024-04-25  1:20 ` FoggyMtnDrifter
  8 siblings, 0 replies; 10+ messages in thread
From: FoggyMtnDrifter @ 2024-04-25  1:19 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by FoggyMtnDrifter against master on the void-packages repository

https://github.com/FoggyMtnDrifter/void-packages ttf-vista-fonts
https://github.com/void-linux/void-packages/pull/49996

add ttf-vista-fonts package (nonfree)
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ttf-vista-fonts-49996.patch --]
[-- Type: text/x-diff, Size: 1455 bytes --]

From 97a297b0da81e80713951deba1cebf7bfcd92b1e Mon Sep 17 00:00:00 2001
From: Michael Kinder <michael@foggymtndrifter.com>
Date: Tue, 23 Apr 2024 05:06:24 -0400
Subject: [PATCH] New package: ttf-vista-fonts-1.0.0

---
 srcpkgs/ttf-vista-fonts/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/ttf-vista-fonts/template

diff --git a/srcpkgs/ttf-vista-fonts/template b/srcpkgs/ttf-vista-fonts/template
new file mode 100644
index 00000000000000..22444afda864d7
--- /dev/null
+++ b/srcpkgs/ttf-vista-fonts/template
@@ -0,0 +1,23 @@
+# Template file for 'ttf-vista-fonts'
+pkgname=ttf-vista-fonts
+version=1.0.0
+revision=1
+hostmakedepends="cabextract"
+short_desc="Microsoft Vista and Office 2007 True Type Fonts"
+maintainer="Michael Kinder <michael@foggymtndrifter.com>"
+license="custom:microsoft"
+homepage="https://docs.microsoft.com/en-us/typography/fonts/font-faq"
+distfiles="https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe>${pkgname}.cab"
+checksum=249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423
+font_dirs="/usr/share/fonts/TTF"
+restricted=yes
+repository=nonfree
+skip_extraction="${pkgname}.cab"
+
+do_install() {
+	vsrccopy ${pkgname}.cab .
+	cabextract ${pkgname}.cab
+	cabextract --lowercase -F '*.tt[fc]' ppviewer.cab \
+		-d ${DESTDIR}/usr/share/fonts/TTF
+	vlicense EULA
+}

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

* Re: add ttf-vista-fonts package (nonfree)
  2024-04-23  9:10 [PR PATCH] add ttf-vista-fonts package (nonfree) FoggyMtnDrifter
                   ` (7 preceding siblings ...)
  2024-04-25  1:19 ` [PR PATCH] [Updated] " FoggyMtnDrifter
@ 2024-04-25  1:20 ` FoggyMtnDrifter
  8 siblings, 0 replies; 10+ messages in thread
From: FoggyMtnDrifter @ 2024-04-25  1:20 UTC (permalink / raw)
  To: ml

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

New comment by FoggyMtnDrifter on void-packages repository

https://github.com/void-linux/void-packages/pull/49996#issuecomment-2076133699

Comment:
Sorry about that, should be all good now.

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

end of thread, other threads:[~2024-04-25  1:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-23  9:10 [PR PATCH] add ttf-vista-fonts package (nonfree) FoggyMtnDrifter
2024-04-23  9:12 ` FoggyMtnDrifter
2024-04-23 12:00 ` chrysos349
2024-04-23 14:22 ` [PR PATCH] [Updated] " FoggyMtnDrifter
2024-04-23 14:39 ` FoggyMtnDrifter
2024-04-24 18:58 ` fanyx
2024-04-24 21:52 ` [PR PATCH] [Updated] " FoggyMtnDrifter
2024-04-24 23:55 ` 0x5c
2024-04-25  1:19 ` [PR PATCH] [Updated] " FoggyMtnDrifter
2024-04-25  1:20 ` FoggyMtnDrifter

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