Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: ttf-opensans-3.000_1
@ 2021-08-02  3:49 hervyqa
  2021-08-09  5:14 ` hervyqa
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hervyqa @ 2021-08-02  3:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hervyqa/void-packages ttf-opensans-3.000
https://github.com/void-linux/void-packages/pull/32291

New package: ttf-opensans-3.000_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-musl)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ttf-opensans-3.000-32291.patch --]
[-- Type: text/x-diff, Size: 1261 bytes --]

From 00b70bafb169e3e9cf7164b7616b36a74d4711f9 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@pm.me>
Date: Mon, 2 Aug 2021 10:46:53 +0700
Subject: [PATCH] New package: ttf-opensans-3.000_1

---
 srcpkgs/ttf-opensans/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/ttf-opensans/template

diff --git a/srcpkgs/ttf-opensans/template b/srcpkgs/ttf-opensans/template
new file mode 100644
index 000000000000..b42ce1f43d6f
--- /dev/null
+++ b/srcpkgs/ttf-opensans/template
@@ -0,0 +1,19 @@
+# Template file for 'ttf-opensans'
+pkgname=ttf-opensans
+version=3.000
+revision=1
+_githash=c071e9696751f2d69925d66f3b8c581f2dc041c2
+wrksrc="opensans-${_githash}"
+depends="font-util"
+short_desc="Clean and modern sans-serif typeface"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@pm.me>"
+license="Apache-2.0"
+homepage="https://fonts.google.com/specimen/Open+Sans"
+distfiles="https://github.com/googlefonts/opensans/archive/${_githash}.tar.gz"
+checksum=fcbeae8c630a9afe2b6722c86a77788e549c353bea8cf7fbbc2e3f2fdacabcb7
+font_dirs="/usr/share/fonts/TTF"
+
+do_install() {
+	vmkdir usr/share/fonts/TTF
+	find fonts/ttf/ -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \;
+}

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

* Re: New package: ttf-opensans-3.000_1
  2021-08-02  3:49 [PR PATCH] New package: ttf-opensans-3.000_1 hervyqa
@ 2021-08-09  5:14 ` hervyqa
  2021-08-10 19:17 ` Chocimier
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hervyqa @ 2021-08-09  5:14 UTC (permalink / raw)
  To: ml

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

New comment by hervyqa on void-packages repository

https://github.com/void-linux/void-packages/pull/32291#issuecomment-894957063

Comment:
any suggestions about this PR?
because `telegram-desktop` requires `ttf-opensans` to display fonts properly.

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

* Re: New package: ttf-opensans-3.000_1
  2021-08-02  3:49 [PR PATCH] New package: ttf-opensans-3.000_1 hervyqa
  2021-08-09  5:14 ` hervyqa
@ 2021-08-10 19:17 ` Chocimier
  2021-08-10 22:29 ` hervyqa
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Chocimier @ 2021-08-10 19:17 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/32291#issuecomment-896250070

Comment:
> `telegram-desktop` requires `ttf-opensans` to display fonts properly.

Any more details? Telegram is used and nobody complained yet. And if so, telegram should be updated to depend on font.

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

* Re: New package: ttf-opensans-3.000_1
  2021-08-02  3:49 [PR PATCH] New package: ttf-opensans-3.000_1 hervyqa
  2021-08-09  5:14 ` hervyqa
  2021-08-10 19:17 ` Chocimier
@ 2021-08-10 22:29 ` hervyqa
  2021-08-21  9:28 ` [PR PATCH] [Updated] " Johnnynator
  2021-08-21  9:29 ` [PR PATCH] [Merged]: " Johnnynator
  4 siblings, 0 replies; 6+ messages in thread
From: hervyqa @ 2021-08-10 22:29 UTC (permalink / raw)
  To: ml

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

New comment by hervyqa on void-packages repository

https://github.com/void-linux/void-packages/pull/32291#issuecomment-896353767

Comment:
> Any more details? Telegram is used and nobody complained yet. And if so, telegram should be updated to depend on font.

`telegram-desktop` is not built with embed fonts by default. when i open in terminal the result is like this:
```
➜  ~ telegram-desktop

(telegram-desktop:1416): Telegram-WARNING **: 05:06:09.373: Application was built without embedded fonts, this may lead to font issues.
error: : cannot open
error: : cannot open
error: : cannot open
qt.svg: Error while inflating gzip file: SVG format check failed
```

likewise on archlinux, `telegram-desktop` requires `ttf-opensans`. 

https://archlinux.org/packages/community/any/ttf-opensans/
https://archlinux.org/packages/community/x86_64/telegram-desktop/


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

* Re: [PR PATCH] [Updated] New package: ttf-opensans-3.000_1
  2021-08-02  3:49 [PR PATCH] New package: ttf-opensans-3.000_1 hervyqa
                   ` (2 preceding siblings ...)
  2021-08-10 22:29 ` hervyqa
@ 2021-08-21  9:28 ` Johnnynator
  2021-08-21  9:29 ` [PR PATCH] [Merged]: " Johnnynator
  4 siblings, 0 replies; 6+ messages in thread
From: Johnnynator @ 2021-08-21  9:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hervyqa/void-packages ttf-opensans-3.000
https://github.com/void-linux/void-packages/pull/32291

New package: ttf-opensans-3.000_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-musl)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ttf-opensans-3.000-32291.patch --]
[-- Type: text/x-diff, Size: 2967 bytes --]

From daff8f5fc7383e963add2c2774938e21bfcc54ff Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@pm.me>
Date: Mon, 2 Aug 2021 10:46:53 +0700
Subject: [PATCH 1/2] New package: ttf-opensans-3.000_1

---
 srcpkgs/ttf-opensans/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/ttf-opensans/template

diff --git a/srcpkgs/ttf-opensans/template b/srcpkgs/ttf-opensans/template
new file mode 100644
index 000000000000..b42ce1f43d6f
--- /dev/null
+++ b/srcpkgs/ttf-opensans/template
@@ -0,0 +1,19 @@
+# Template file for 'ttf-opensans'
+pkgname=ttf-opensans
+version=3.000
+revision=1
+_githash=c071e9696751f2d69925d66f3b8c581f2dc041c2
+wrksrc="opensans-${_githash}"
+depends="font-util"
+short_desc="Clean and modern sans-serif typeface"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@pm.me>"
+license="Apache-2.0"
+homepage="https://fonts.google.com/specimen/Open+Sans"
+distfiles="https://github.com/googlefonts/opensans/archive/${_githash}.tar.gz"
+checksum=fcbeae8c630a9afe2b6722c86a77788e549c353bea8cf7fbbc2e3f2fdacabcb7
+font_dirs="/usr/share/fonts/TTF"
+
+do_install() {
+	vmkdir usr/share/fonts/TTF
+	find fonts/ttf/ -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \;
+}

From 79f59ec91d8c274044522c4399685b886ae888b5 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Wed, 11 Aug 2021 23:53:26 +0200
Subject: [PATCH 2/2] telegram-desktop: update to 2.9.3.

---
 srcpkgs/telegram-desktop/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 3b5cd9fcdadf..57bee005ddd2 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -1,6 +1,6 @@
 # Template file for 'telegram-desktop'
 pkgname=telegram-desktop
-version=2.9.0
+version=2.9.3
 revision=1
 wrksrc="tdesktop-${version}-full"
 build_style=cmake
@@ -20,14 +20,14 @@ makedepends="alsa-lib-devel ffmpeg-devel libdbusmenu-glib-devel libopenal-devel
  MesaLib-devel libdbusmenu-qt5-devel qt5-wayland-devel libatomic-devel
  xcb-util-keysyms-devel $(vopt_if spellcheck hunspell-devel)
  kwayland-devel glibmm-devel tg_owt webkit2gtk-devel rnnoise-devel jemalloc-devel"
-depends="qt5-imageformats qt5-core>=5.15.2<5.16.0"
+depends="qt5-imageformats qt5-core>=5.15.2<5.16.0 ttf-opensans"
 short_desc="Telegram Desktop messaging app"
 maintainer="John <me@johnnynator.dev>"
 license="GPL-3.0-or-later, OpenSSL"
 homepage="https://desktop.telegram.org/"
 changelog="https://github.com/telegramdesktop/tdesktop/blob/v${version}/changelog.txt"
 distfiles="https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz"
-checksum=e908b8f479cf1f41892848f3cda1a7b46fca2339ce8980268dd204ff7ba8b6f5
+checksum=8f661157030e776f42f8a2a3a5e1434f22ded78cc6a5d4bce67004d6d79c1a14
 
 build_options="spellcheck"
 build_options_default="spellcheck"

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

* Re: [PR PATCH] [Merged]: New package: ttf-opensans-3.000_1
  2021-08-02  3:49 [PR PATCH] New package: ttf-opensans-3.000_1 hervyqa
                   ` (3 preceding siblings ...)
  2021-08-21  9:28 ` [PR PATCH] [Updated] " Johnnynator
@ 2021-08-21  9:29 ` Johnnynator
  4 siblings, 0 replies; 6+ messages in thread
From: Johnnynator @ 2021-08-21  9:29 UTC (permalink / raw)
  To: ml

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

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

New package: ttf-opensans-3.000_1
https://github.com/void-linux/void-packages/pull/32291

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-musl)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl


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

end of thread, other threads:[~2021-08-21  9:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02  3:49 [PR PATCH] New package: ttf-opensans-3.000_1 hervyqa
2021-08-09  5:14 ` hervyqa
2021-08-10 19:17 ` Chocimier
2021-08-10 22:29 ` hervyqa
2021-08-21  9:28 ` [PR PATCH] [Updated] " Johnnynator
2021-08-21  9:29 ` [PR PATCH] [Merged]: " Johnnynator

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