Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: font-office-code-pro-1.004
Date: Mon, 29 Jul 2019 19:17:08 +0200	[thread overview]
Message-ID: <20190729171708.-zvJXO0c4TYe3nJkBo8aTrJ4FOsbWT_PNCAvqmCyRS4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13402@inbox.vuxu.org>

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

There is an updated pull request by maybe-one-day-ubermensch against master on the void-packages repository

https://github.com/maybe-one-day-ubermensch/void-packages font-office-code-pro
https://github.com/void-linux/void-packages/pull/13402

New package: font-office-code-pro-1.004


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-font-office-code-pro-13402.patch --]
[-- Type: text/x-diff, Size: 10492 bytes --]

From b03f5fb6aae9c6ca035a98fdeec33c4d4c24116d Mon Sep 17 00:00:00 2001
From: Jony <maybe-one-day-ubermensch@protonmail.com>
Date: Mon, 29 Jul 2019 02:45:13 -0700
Subject: [PATCH 1/2] New package: font-office-code-pro-1.004

---
 srcpkgs/font-office-code-pro-dz-eot   |   1 +
 srcpkgs/font-office-code-pro-dz-otf   |   1 +
 srcpkgs/font-office-code-pro-dz-ttf   |   1 +
 srcpkgs/font-office-code-pro-dz-woff  |   1 +
 srcpkgs/font-office-code-pro-dz-woff2 |   1 +
 srcpkgs/font-office-code-pro-sz-eot   |   1 +
 srcpkgs/font-office-code-pro-sz-otf   |   1 +
 srcpkgs/font-office-code-pro-sz-ttf   |   1 +
 srcpkgs/font-office-code-pro-sz-woff  |   1 +
 srcpkgs/font-office-code-pro-sz-woff2 |   1 +
 srcpkgs/font-office-code-pro/template | 196 ++++++++++++++++++++++++++
 11 files changed, 206 insertions(+)
 create mode 120000 srcpkgs/font-office-code-pro-dz-eot
 create mode 120000 srcpkgs/font-office-code-pro-dz-otf
 create mode 120000 srcpkgs/font-office-code-pro-dz-ttf
 create mode 120000 srcpkgs/font-office-code-pro-dz-woff
 create mode 120000 srcpkgs/font-office-code-pro-dz-woff2
 create mode 120000 srcpkgs/font-office-code-pro-sz-eot
 create mode 120000 srcpkgs/font-office-code-pro-sz-otf
 create mode 120000 srcpkgs/font-office-code-pro-sz-ttf
 create mode 120000 srcpkgs/font-office-code-pro-sz-woff
 create mode 120000 srcpkgs/font-office-code-pro-sz-woff2
 create mode 100644 srcpkgs/font-office-code-pro/template

diff --git a/srcpkgs/font-office-code-pro-dz-eot b/srcpkgs/font-office-code-pro-dz-eot
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-dz-eot
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-dz-otf b/srcpkgs/font-office-code-pro-dz-otf
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-dz-otf
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-dz-ttf b/srcpkgs/font-office-code-pro-dz-ttf
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-dz-ttf
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-dz-woff b/srcpkgs/font-office-code-pro-dz-woff
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-dz-woff
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-dz-woff2 b/srcpkgs/font-office-code-pro-dz-woff2
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-dz-woff2
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-sz-eot b/srcpkgs/font-office-code-pro-sz-eot
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-sz-eot
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-sz-otf b/srcpkgs/font-office-code-pro-sz-otf
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-sz-otf
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-sz-ttf b/srcpkgs/font-office-code-pro-sz-ttf
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-sz-ttf
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-sz-woff b/srcpkgs/font-office-code-pro-sz-woff
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-sz-woff
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-sz-woff2 b/srcpkgs/font-office-code-pro-sz-woff2
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-sz-woff2
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro/template b/srcpkgs/font-office-code-pro/template
new file mode 100644
index 00000000000..72262fc84d9
--- /dev/null
+++ b/srcpkgs/font-office-code-pro/template
@@ -0,0 +1,196 @@
+# Template file for 'font-office-code-pro'
+pkgname=font-office-code-pro
+version=1.004
+revision=1
+wrksrc="Office-Code-Pro-${version}"
+short_desc="Monospaced sans-serif font for text editors and coding environments"
+maintainer="Jony <maybe-one-day-ubermensch@protonmail.com>"
+license="OFL-1.1"
+homepage="https://github.com/nathco/Office-Code-Pro"
+distfiles="https://github.com/nathco/Office-Code-Pro/archive/${version}.tar.gz"
+checksum="9bca923d17f6c47a586d8e4567d46ccfa58fb8b8e2247b5ee2a19da1597c58f6"
+tags="monospaced sans-serif "
+
+__sz_eot_path="/usr/share/fonts/office-code-pro/slashed-zero/EOT"
+__sz_otf_path="/usr/share/fonts/office-code-pro/slashed-zero/OTF"
+__sz_ttf_path="/usr/share/fonts/office-code-pro/slashed-zero/TTF"
+__sz_woff_path="/usr/share/fonts/office-code-pro/slashed-zero/WOFF"
+__sz_woff2_path="/usr/share/fonts/office-code-pro/slashed-zero/WOFF2"
+
+__dz_eot_path="/usr/share/fonts/office-code-pro/dotted-zero/EOT"
+__dz_otf_path="/usr/share/fonts/office-code-pro/dotted-zero/OTF"
+__dz_ttf_path="/usr/share/fonts/office-code-pro/dotted-zero/TTF"
+__dz_woff_path="/usr/share/fonts/office-code-pro/dotted-zero/WOFF"
+__dz_woff2_path="/usr/share/fonts/office-code-pro/dotted-zero/WOFF2"
+
+# font specific variables
+archs=noarch
+depends="font-util"
+font_dirs="$__sz_eot_path $__sz_otf_path $__sz_ttf_path $__sz_woff_path $__sz_woff2_path "
+font_dirs+="$__dz_eot_path $__dz_otf_path $__dz_ttf_path $__dz_woff_path $__dz_woff2_path"
+
+do_install() {
+	tags="slashed-zero dotted-zero"
+
+	# slashed zero fonts
+	vmkdir ${__sz_eot_path:1}
+	install -Dm644 Fonts/'Office Code Pro'/EOT/*.eot ${DESTDIR}/${__sz_eot_path:1}
+
+	vmkdir ${__sz_otf_path:1}
+	install -Dm644 Fonts/'Office Code Pro'/OTF/*.otf ${DESTDIR}/${__sz_otf_path:1}
+
+	vmkdir ${__sz_ttf_path:1}
+	install -Dm644 Fonts/'Office Code Pro'/TTF/*.ttf ${DESTDIR}/${__sz_ttf_path:1}
+
+	vmkdir ${__sz_woff_path:1}
+	install -Dm644 Fonts/'Office Code Pro'/WOFF/*.woff ${DESTDIR}/${__sz_woff_path:1}
+
+	vmkdir ${__sz_woff2_path:1}
+	install -Dm644 Fonts/'Office Code Pro'/WOFF2/*.woff2 ${DESTDIR}/${__sz_woff2_path:1}
+
+	# dotted zero fonts
+	vmkdir ${__dz_eot_path:1}
+	install -Dm644 Fonts/'Office Code Pro D'/EOT/*.eot ${DESTDIR}/${__dz_eot_path:1}
+
+	vmkdir ${__dz_otf_path:1}
+	install -Dm644 Fonts/'Office Code Pro D'/OTF/*.otf ${DESTDIR}/${__dz_otf_path:1}
+
+	vmkdir ${__dz_ttf_path:1}
+	install -Dm644 Fonts/'Office Code Pro D'/TTF/*.ttf ${DESTDIR}/${__dz_ttf_path:1}
+
+	vmkdir ${__dz_woff_path:1}
+	install -Dm644 Fonts/'Office Code Pro D'/WOFF/*.woff ${DESTDIR}/${__dz_woff_path:1}
+
+	vmkdir ${__dz_woff2_path:1}
+	install -Dm644 Fonts/'Office Code Pro D'/WOFF2/*.woff2 ${DESTDIR}/${__dz_woff2_path:1}
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+do_clean() {
+	unset __sz_{eot,otf,ttf,woff,woff2}_path
+	unset __dz_{eot,otf,ttf,woff,woff2}_path
+}
+
+font-office-code-pro-sz-eot_package() {
+	depends="font-util"
+	font_dirs=${__sz_eot_path}
+
+	tags+="slashed-zero"
+
+	pkg_install() {
+		vmkdir ${__sz_eot_path:1}
+		cp -a ${DESTDIR}/${__sz_eot_path:1} ${PKGDESTDIR}/${__sz_eot_path:1}
+	}
+}
+
+font-office-code-pro-sz-otf_package() {
+	depends="font-util"
+	font_dirs=${__sz_otf_path}
+
+	tags+="slashed-zero"
+
+	pkg_install() {
+		vmkdir ${__sz_otf_path:1}
+		cp -a ${DESTDIR}/${__sz_otf_path:1} ${PKGDESTDIR}/${__sz_otf_path:1}
+	}
+}
+
+font-office-code-pro-sz-ttf_package() {
+	depends="font-util"
+	font_dirs=${__sz_ttf_path}
+
+	tags+="slashed-zero"
+
+	pkg_install() {
+		vmkdir ${__sz_ttf_path:1}
+		cp -a ${DESTDIR}/${__sz_ttf_path:1} ${PKGDESTDIR}/${__sz_ttf_path:1}
+	}
+}
+
+font-office-code-pro-sz-woff_package() {
+	depends="font-util"
+	font_dirs=${__sz_woff_path}
+
+	tags+="slashed-zero"
+
+	pkg_install() {
+		vmkdir ${__sz_woff_path:1}
+		cp -a ${DESTDIR}/${__sz_woff_path:1} ${PKGDESTDIR}/${__sz_woff_path:1}
+	}
+}
+
+font-office-code-pro-sz-woff2_package() {
+	depends="font-util"
+	font_dirs=${__sz_woff2_path}
+
+	tags+="slashed-zero"
+
+	pkg_install() {
+		vmkdir ${__sz_woff2_path:1}
+		cp -a ${DESTDIR}/${__sz_woff2_path:1} ${PKGDESTDIR}/${__sz_woff2_path:1}
+	}
+}
+
+font-office-code-pro-dz-eot_package() {
+	depends="font-util"
+	font_dirs=${__dz_eot_path}
+
+	tags+="dotted-zero"
+
+	pkg_install() {
+		vmkdir ${__dz_eot_path:1}
+		cp -a ${DESTDIR}/${__dz_eot_path:1} ${PKGDESTDIR}/${__dz_eot_path:1}
+	}
+}
+
+font-office-code-pro-dz-otf_package() {
+	depends="font-util"
+	font_dirs=${__dz_otf_path}
+
+	tags+="dotted-zero"
+
+	pkg_install() {
+		vmkdir ${__dz_otf_path:1}
+		cp -a ${DESTDIR}/${__dz_otf_path:1} ${PKGDESTDIR}/${__dz_otf_path:1}
+	}
+}
+
+font-office-code-pro-dz-ttf_package() {
+	depends="font-util"
+	font_dirs=${__dz_ttf_path}
+
+	tags+="dotted-zero"
+
+	pkg_install() {
+		vmkdir ${__dz_ttf_path:1}
+		cp -a ${DESTDIR}/${__dz_ttf_path:1} ${PKGDESTDIR}/${__dz_ttf_path:1}
+	}
+}
+
+font-office-code-pro-dz-woff_package() {
+	depends="font-util"
+	font_dirs=${__dz_woff_path}
+
+	tags+="dotted-zero"
+
+	pkg_install() {
+		vmkdir ${__dz_woff_path:1}
+		cp -a ${DESTDIR}/${__dz_woff_path:1} ${PKGDESTDIR}/${__dz_woff_path:1}
+	}
+}
+
+font-office-code-pro-dz-woff2_package() {
+	depends="font-util"
+	font_dirs=${__dz_woff2_path}
+
+	tags+="dotted-zero"
+
+	pkg_install() {
+		vmkdir ${__dz_woff2_path:1}
+		cp -a ${DESTDIR}/${__dz_woff2_path:1} ${PKGDESTDIR}/${__dz_woff2_path:1}
+	}
+}
+

From 0f2fef6140b0733a93c1ad4f60fbe3ae0c459118 Mon Sep 17 00:00:00 2001
From: maybe-one-day-ubermensch <maybe-one-day-ubermensch@protonmail.com>
Date: Mon, 29 Jul 2019 10:17:05 -0700
Subject: [PATCH 2/2] added a missing +

---
 srcpkgs/font-office-code-pro/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/font-office-code-pro/template b/srcpkgs/font-office-code-pro/template
index 72262fc84d9..0dc2f7beb90 100644
--- a/srcpkgs/font-office-code-pro/template
+++ b/srcpkgs/font-office-code-pro/template
@@ -30,7 +30,7 @@ font_dirs="$__sz_eot_path $__sz_otf_path $__sz_ttf_path $__sz_woff_path $__sz_wo
 font_dirs+="$__dz_eot_path $__dz_otf_path $__dz_ttf_path $__dz_woff_path $__dz_woff2_path"
 
 do_install() {
-	tags="slashed-zero dotted-zero"
+	tags+="slashed-zero dotted-zero"
 
 	# slashed zero fonts
 	vmkdir ${__sz_eot_path:1}

  reply	other threads:[~2019-07-29 17:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-29 16:58 [PR PATCH] " voidlinux-github
2019-07-29 17:17 ` voidlinux-github [this message]
2019-07-29 17:17 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-30 14:34 ` voidlinux-github

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

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

  git send-email \
    --in-reply-to=20190729171708.-zvJXO0c4TYe3nJkBo8aTrJ4FOsbWT_PNCAvqmCyRS4@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.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.
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).