* [ISSUE] Package request: font-inter
@ 2020-08-26 5:27 harrisonthorne
2020-08-26 5:56 ` flexibeast
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: harrisonthorne @ 2020-08-26 5:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]
New issue by harrisonthorne on void-packages repository
https://github.com/void-linux/void-packages/issues/24477
Description:
I've got a template in progress for this one, but with one major issue. I'm having a hard time copying the font files because the archive/distfiles have directories with spaces in them and I haven't found out yet how to circumvent this.
This is the directory structure of the zip file ([from this release](https://github.com/rsms/inter/releases/tag/v3.15)):
![Directory structure of Inter zip file](https://user-images.githubusercontent.com/33523827/91258620-05ca2d00-e72a-11ea-8ea6-929e5bc51c80.png)
We're supposed to copy the files from "Inter Desktop" into our font directories. I've tried a number of things to try and solve the whitespace-in-wrksrc problem, but no luck yet. What's the right way to go about this?
```
# Template file for 'font-inter'
pkgname=font-inter
version=3.15
revision=1
archs="noarch"
hostmakedepends=""
makedepends=""
depends="font-util"
short_desc="Typeface specially designed for user interfaces"
maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
license="OFL-1.1"
homepage="https://rsms.me/inter/"
distfiles="https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip"
checksum=1534288eb599f57acbf2c5ac0010da9495c2ee53116e08d799555c6f8ee22156
wrksrc="Inter Desktop"
font_dirs="/usr/share/fonts/Inter/"
do_install() {
ls
vmkdir usr/share/fonts/Inter
vcopy * usr/share/fonts/Inter
}
```
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Package request: font-inter
2020-08-26 5:27 [ISSUE] Package request: font-inter harrisonthorne
@ 2020-08-26 5:56 ` flexibeast
2020-08-27 5:35 ` harrisonthorne
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: flexibeast @ 2020-08-26 5:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 401 bytes --]
New comment by flexibeast on void-packages repository
https://github.com/void-linux/void-packages/issues/24477#issuecomment-680673290
Comment:
Does this font provide glyphs that aren't otherwise provided by fonts in the repos? If not, this package is unlikely to be accepted, due to our [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality_requirements).
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Package request: font-inter
2020-08-26 5:27 [ISSUE] Package request: font-inter harrisonthorne
2020-08-26 5:56 ` flexibeast
@ 2020-08-27 5:35 ` harrisonthorne
2020-08-27 9:34 ` How to set wrksrc with whitespace? Anachron
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: harrisonthorne @ 2020-08-27 5:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
New comment by harrisonthorne on void-packages repository
https://github.com/void-linux/void-packages/issues/24477#issuecomment-681546565
Comment:
Fair enough, but how would I go about this anyways if I wanted to make my own local template?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to set wrksrc with whitespace?
2020-08-26 5:27 [ISSUE] Package request: font-inter harrisonthorne
2020-08-26 5:56 ` flexibeast
2020-08-27 5:35 ` harrisonthorne
@ 2020-08-27 9:34 ` Anachron
2020-08-27 9:50 ` ericonr
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Anachron @ 2020-08-27 9:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/24477#issuecomment-681838363
Comment:
What's the issue when you try to build the package? If your template doesn't work then something in `xbps-src` is broken when quoting `wrksrc`.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to set wrksrc with whitespace?
2020-08-26 5:27 [ISSUE] Package request: font-inter harrisonthorne
` (2 preceding siblings ...)
2020-08-27 9:34 ` How to set wrksrc with whitespace? Anachron
@ 2020-08-27 9:50 ` ericonr
2020-08-27 9:57 ` Anachron
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2020-08-27 9:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/24477#issuecomment-681846324
Comment:
xbps-src really doesn't do a lot of quoting. Best course of action might be to `mv "folder with spaces" folder-without-spaces` in `post_extract`
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to set wrksrc with whitespace?
2020-08-26 5:27 [ISSUE] Package request: font-inter harrisonthorne
` (3 preceding siblings ...)
2020-08-27 9:50 ` ericonr
@ 2020-08-27 9:57 ` Anachron
2020-08-27 10:00 ` Anachron
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Anachron @ 2020-08-27 9:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/24477#issuecomment-681849970
Comment:
@ericonr found at least these places where quoting is wrong:
https://github.com/void-linux/void-packages/blob/e06efd6bbb32d9261c0e4b09c46adbe7b6de5873/common/hooks/do-extract/00-distfiles.sh#L10
https://github.com/void-linux/void-packages/blob/e06efd6bbb32d9261c0e4b09c46adbe7b6de5873/common/hooks/do-extract/00-distfiles.sh#L24
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to set wrksrc with whitespace?
2020-08-26 5:27 [ISSUE] Package request: font-inter harrisonthorne
` (4 preceding siblings ...)
2020-08-27 9:57 ` Anachron
@ 2020-08-27 10:00 ` Anachron
2020-09-03 19:03 ` [ISSUE] [CLOSED] " Chocimier
2020-09-03 19:04 ` Chocimier
7 siblings, 0 replies; 9+ messages in thread
From: Anachron @ 2020-08-27 10:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/24477#issuecomment-681849970
Comment:
@ericonr found at least these places where quoting is wrong:
https://github.com/void-linux/void-packages/blob/e06efd6bbb32d9261c0e4b09c46adbe7b6de5873/common/hooks/do-extract/00-distfiles.sh#L10
https://github.com/void-linux/void-packages/blob/e06efd6bbb32d9261c0e4b09c46adbe7b6de5873/common/hooks/do-extract/00-distfiles.sh#L24
Edit: Here too
https://github.com/void-linux/void-packages/blob/a79ded1977a50f8eec4a150235142f9e030c9a13/common/xbps-src/shutils/common.sh#L33
The quoting in xbps-src is very randomly.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ISSUE] [CLOSED] How to set wrksrc with whitespace?
2020-08-26 5:27 [ISSUE] Package request: font-inter harrisonthorne
` (5 preceding siblings ...)
2020-08-27 10:00 ` Anachron
@ 2020-09-03 19:03 ` Chocimier
2020-09-03 19:04 ` Chocimier
7 siblings, 0 replies; 9+ messages in thread
From: Chocimier @ 2020-09-03 19:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1707 bytes --]
Closed issue by harrisonthorne on void-packages repository
https://github.com/void-linux/void-packages/issues/24477
Description:
I've got a template in progress for this one, but with one major issue. I'm having a hard time copying the font files because the archive/distfiles have directories with spaces in them and I haven't found out yet how to circumvent this.
This is the directory structure of the zip file ([from this release](https://github.com/rsms/inter/releases/tag/v3.15)):
![Directory structure of Inter zip file](https://user-images.githubusercontent.com/33523827/91258620-05ca2d00-e72a-11ea-8ea6-929e5bc51c80.png)
We're supposed to copy the files from "Inter Desktop" into our font directories. I've tried a number of things to try and solve the whitespace-in-wrksrc problem, but no luck yet. What's the right way to go about this?
```
# Template file for 'font-inter'
pkgname=font-inter
version=3.15
revision=1
archs="noarch"
hostmakedepends=""
makedepends=""
depends="font-util"
short_desc="Typeface specially designed for user interfaces"
maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
license="OFL-1.1"
homepage="https://rsms.me/inter/"
distfiles="https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip"
checksum=1534288eb599f57acbf2c5ac0010da9495c2ee53116e08d799555c6f8ee22156
wrksrc="Inter Desktop"
font_dirs="/usr/share/fonts/Inter/"
do_install() {
ls
vmkdir usr/share/fonts/Inter
vcopy * usr/share/fonts/Inter
vlicense LICENSE # ??? added in with edit below
}
```
Edit: About the `LICENSE` file too, will `wrksrc` then have to be `.`? I'm confused about how all of this will work :P
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to set wrksrc with whitespace?
2020-08-26 5:27 [ISSUE] Package request: font-inter harrisonthorne
` (6 preceding siblings ...)
2020-09-03 19:03 ` [ISSUE] [CLOSED] " Chocimier
@ 2020-09-03 19:04 ` Chocimier
7 siblings, 0 replies; 9+ messages in thread
From: Chocimier @ 2020-09-03 19:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/issues/24477#issuecomment-686699024
Comment:
Works now with updated xbps-src.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-09-03 19:04 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26 5:27 [ISSUE] Package request: font-inter harrisonthorne
2020-08-26 5:56 ` flexibeast
2020-08-27 5:35 ` harrisonthorne
2020-08-27 9:34 ` How to set wrksrc with whitespace? Anachron
2020-08-27 9:50 ` ericonr
2020-08-27 9:57 ` Anachron
2020-08-27 10:00 ` Anachron
2020-09-03 19:03 ` [ISSUE] [CLOSED] " Chocimier
2020-09-03 19:04 ` Chocimier
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).