Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] discord-ptb: update to 0.0.26. and unbroke it
@ 2021-09-23  4:59 0x5c
  2021-09-24  7:58 ` [PR PATCH] [Updated] " 0x5c
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: 0x5c @ 2021-09-23  4:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/0x5c/void-packages discord-ptbfix
https://github.com/void-linux/void-packages/pull/33067

discord-ptb: update to 0.0.26. and unbroke it
- Fixed the dependencies (based on the discord package)
- Fixed the EULA check (the terms webpage text was cut based on Discord's previous tagline)
- Fixed a typo in the pixmap installation
- Updated the EULA checksum
- Changed the description based on the discord package

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

#### General
- [ ] 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-glibc)
- [ ] 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/33067.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-discord-ptbfix-33067.patch --]
[-- Type: text/x-diff, Size: 2921 bytes --]

From f9a2350b28fa2d1375fea675f2d88bbf7e92ec51 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Thu, 23 Sep 2021 00:42:03 -0400
Subject: [PATCH] discord-ptb: update to 0.0.26. and unbroke it

- Fixed the dependencies (based on the discord package)
- Fixed the EULA check (the terms webpage text was cut based on Discord's previous tagline)
- Fixed a typo in the pixmap installation
- Updated the EULA checksum
- Changed the description based on the discord package
---
 srcpkgs/discord-ptb/template | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/discord-ptb/template b/srcpkgs/discord-ptb/template
index b1467a7dc267..0566ab33dc62 100644
--- a/srcpkgs/discord-ptb/template
+++ b/srcpkgs/discord-ptb/template
@@ -1,18 +1,19 @@
 # Template file for 'discord-ptb'
 pkgname=discord-ptb
-version=0.0.25
+version=0.0.26
 revision=1
 archs="x86_64"
 wrksrc="DiscordPTB"
 hostmakedepends="w3m"
-depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic"
-short_desc="Proprietary freeware VoIP application"
+depends="alsa-lib dbus-glib gtk+3 libnotify nss libXtst libcxx libatomic
+ xdg-utils webrtc-audio-processing"
+short_desc="Chat and VoIP application (preview version)"
 maintainer="Abel Graham <abel@abelgraham.com>"
 license="custom:Proprietary"
 homepage="https://discord.com/"
 distfiles="https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"
-checksum=41ac91f87651361816fa49e07c1f25334f9907df03e8b2e76d8d45e6757d5e20
-_license_checksum=9abbd207c86f76a59c0017c131dc7a30089c40b4dacb54a0f339272468344e1e
+checksum=04b33c73a4d55c476c8332bd86e50add6d984c965f0d4b5b759ccb0ebd3992e6
+_license_checksum=03580ea1297c38f31c4437555f2dbf9dae25a91c9e61391d7141cf8cc036aeff
 nopie=yes
 restricted=yes
 repository=nonfree
@@ -20,7 +21,7 @@ repository=nonfree
 post_extract() {
 	$XBPS_FETCH_CMD -o eula https://discord.com/terms; cat eula |
 		w3m -dump -I utf-8 -T text/html |
-		sed -n '/Discord Terms of Service/,/^Your place to talk$/p' > EULA
+		sed -n '/Discord Terms of Service/,/^Imagine a place$/p' > EULA
 
 	filesum="$(xbps-digest EULA)"
 	if [ "$filesum" != "$_license_checksum" ]; then
@@ -31,14 +32,14 @@ post_extract() {
 do_install() {
 	local package_location="usr/lib/$pkgname" item
 	vmkdir usr/share/pixmaps
-	vinstall discord.png 644 /usr/share/pixmap/ discord-ptb.png
+	vinstall discord.png 644 /usr/share/pixmaps/ discord-ptb.png
 	vmkdir usr/share/applications
 	vcopy discord-ptb.desktop /usr/share/applications/
 	vmkdir ${package_location}
 	for item in DiscordPTB chrome_100_percent.pak chrome_200_percent.pak \
 	icudtl.dat libEGL.so libGLESv2.so libffmpeg.so locales resources \
 	resources.pak snapshot_blob.bin swiftshader v8_context_snapshot.bin \
-	discord.png; do
+	discord.png chrome-sandbox libvk_swiftshader.so postinst.sh ; do
 		vcopy "${item}" "${package_location}"
 	done
 	vmkdir usr/bin

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

* Re: [PR PATCH] [Updated] discord-ptb: update to 0.0.26. and unbroke it
  2021-09-23  4:59 [PR PATCH] discord-ptb: update to 0.0.26. and unbroke it 0x5c
@ 2021-09-24  7:58 ` 0x5c
  2021-09-24  8:10 ` [PR PATCH] [Updated] discord-ptb: unbreak and update to 0.0.26 0x5c
  2021-09-25  6:15 ` [PR PATCH] [Merged]: " abenson
  2 siblings, 0 replies; 4+ messages in thread
From: 0x5c @ 2021-09-24  7:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/0x5c/void-packages discord-ptbfix
https://github.com/void-linux/void-packages/pull/33067

discord-ptb: update to 0.0.26. and unbroke it
- Fixed the dependencies (based on the discord package)
- Fixed the EULA check (the terms webpage text was cut based on Discord's previous tagline)
- Fixed a typo in the pixmap installation
- Updated the EULA checksum
- Changed the description based on the discord package

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

#### General
- [ ] 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-glibc)
- [ ] 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/33067.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-discord-ptbfix-33067.patch --]
[-- Type: text/x-diff, Size: 2919 bytes --]

From 8bf0e70ed5573d85e90039c88531f1cb5c5f63e0 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Fri, 24 Sep 2021 03:57:47 -0400
Subject: [PATCH] discord-ptb: unbreak and update to 0.0.26

- Fixed the dependencies (based on the discord package)
- Fixed the EULA check (the terms webpage text was cut
  based on Discord's previous tagline)
- Fixed a typo in the pixmap installation
- Updated the EULA checksum
- Changed the description based on the discord package
---
 srcpkgs/discord-ptb/template | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/discord-ptb/template b/srcpkgs/discord-ptb/template
index b1467a7dc267..0566ab33dc62 100644
--- a/srcpkgs/discord-ptb/template
+++ b/srcpkgs/discord-ptb/template
@@ -1,18 +1,19 @@
 # Template file for 'discord-ptb'
 pkgname=discord-ptb
-version=0.0.25
+version=0.0.26
 revision=1
 archs="x86_64"
 wrksrc="DiscordPTB"
 hostmakedepends="w3m"
-depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic"
-short_desc="Proprietary freeware VoIP application"
+depends="alsa-lib dbus-glib gtk+3 libnotify nss libXtst libcxx libatomic
+ xdg-utils webrtc-audio-processing"
+short_desc="Chat and VoIP application (preview version)"
 maintainer="Abel Graham <abel@abelgraham.com>"
 license="custom:Proprietary"
 homepage="https://discord.com/"
 distfiles="https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"
-checksum=41ac91f87651361816fa49e07c1f25334f9907df03e8b2e76d8d45e6757d5e20
-_license_checksum=9abbd207c86f76a59c0017c131dc7a30089c40b4dacb54a0f339272468344e1e
+checksum=04b33c73a4d55c476c8332bd86e50add6d984c965f0d4b5b759ccb0ebd3992e6
+_license_checksum=03580ea1297c38f31c4437555f2dbf9dae25a91c9e61391d7141cf8cc036aeff
 nopie=yes
 restricted=yes
 repository=nonfree
@@ -20,7 +21,7 @@ repository=nonfree
 post_extract() {
 	$XBPS_FETCH_CMD -o eula https://discord.com/terms; cat eula |
 		w3m -dump -I utf-8 -T text/html |
-		sed -n '/Discord Terms of Service/,/^Your place to talk$/p' > EULA
+		sed -n '/Discord Terms of Service/,/^Imagine a place$/p' > EULA
 
 	filesum="$(xbps-digest EULA)"
 	if [ "$filesum" != "$_license_checksum" ]; then
@@ -31,14 +32,14 @@ post_extract() {
 do_install() {
 	local package_location="usr/lib/$pkgname" item
 	vmkdir usr/share/pixmaps
-	vinstall discord.png 644 /usr/share/pixmap/ discord-ptb.png
+	vinstall discord.png 644 /usr/share/pixmaps/ discord-ptb.png
 	vmkdir usr/share/applications
 	vcopy discord-ptb.desktop /usr/share/applications/
 	vmkdir ${package_location}
 	for item in DiscordPTB chrome_100_percent.pak chrome_200_percent.pak \
 	icudtl.dat libEGL.so libGLESv2.so libffmpeg.so locales resources \
 	resources.pak snapshot_blob.bin swiftshader v8_context_snapshot.bin \
-	discord.png; do
+	discord.png chrome-sandbox libvk_swiftshader.so postinst.sh ; do
 		vcopy "${item}" "${package_location}"
 	done
 	vmkdir usr/bin

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

* Re: [PR PATCH] [Updated] discord-ptb: unbreak and update to 0.0.26
  2021-09-23  4:59 [PR PATCH] discord-ptb: update to 0.0.26. and unbroke it 0x5c
  2021-09-24  7:58 ` [PR PATCH] [Updated] " 0x5c
@ 2021-09-24  8:10 ` 0x5c
  2021-09-25  6:15 ` [PR PATCH] [Merged]: " abenson
  2 siblings, 0 replies; 4+ messages in thread
From: 0x5c @ 2021-09-24  8:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/0x5c/void-packages discord-ptbfix
https://github.com/void-linux/void-packages/pull/33067

discord-ptb: unbreak and update to 0.0.26
- Fixed the dependencies (based on the discord package)
- Fixed the EULA check (the terms webpage text was cut based on Discord's previous tagline)
- Fixed a typo in the pixmap installation
- Updated the EULA checksum
- Changed the description based on the discord package

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

#### General
- [ ] 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-glibc)
- [ ] 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/33067.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-discord-ptbfix-33067.patch --]
[-- Type: text/x-diff, Size: 2911 bytes --]

From f844d55191966347d5d95c28803e8bdc104c655b Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Fri, 24 Sep 2021 04:09:59 -0400
Subject: [PATCH] discord-ptb: unbreak and update to 0.0.26

- Fix the dependencies (based on the discord package)
- Fix the EULA check (the terms webpage text was cut
  based on Discord's previous tagline)
- Fix a typo in the pixmap installation
- Update the EULA checksum
- Change the description based on the discord package
---
 srcpkgs/discord-ptb/template | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/discord-ptb/template b/srcpkgs/discord-ptb/template
index b1467a7dc267..0566ab33dc62 100644
--- a/srcpkgs/discord-ptb/template
+++ b/srcpkgs/discord-ptb/template
@@ -1,18 +1,19 @@
 # Template file for 'discord-ptb'
 pkgname=discord-ptb
-version=0.0.25
+version=0.0.26
 revision=1
 archs="x86_64"
 wrksrc="DiscordPTB"
 hostmakedepends="w3m"
-depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic"
-short_desc="Proprietary freeware VoIP application"
+depends="alsa-lib dbus-glib gtk+3 libnotify nss libXtst libcxx libatomic
+ xdg-utils webrtc-audio-processing"
+short_desc="Chat and VoIP application (preview version)"
 maintainer="Abel Graham <abel@abelgraham.com>"
 license="custom:Proprietary"
 homepage="https://discord.com/"
 distfiles="https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"
-checksum=41ac91f87651361816fa49e07c1f25334f9907df03e8b2e76d8d45e6757d5e20
-_license_checksum=9abbd207c86f76a59c0017c131dc7a30089c40b4dacb54a0f339272468344e1e
+checksum=04b33c73a4d55c476c8332bd86e50add6d984c965f0d4b5b759ccb0ebd3992e6
+_license_checksum=03580ea1297c38f31c4437555f2dbf9dae25a91c9e61391d7141cf8cc036aeff
 nopie=yes
 restricted=yes
 repository=nonfree
@@ -20,7 +21,7 @@ repository=nonfree
 post_extract() {
 	$XBPS_FETCH_CMD -o eula https://discord.com/terms; cat eula |
 		w3m -dump -I utf-8 -T text/html |
-		sed -n '/Discord Terms of Service/,/^Your place to talk$/p' > EULA
+		sed -n '/Discord Terms of Service/,/^Imagine a place$/p' > EULA
 
 	filesum="$(xbps-digest EULA)"
 	if [ "$filesum" != "$_license_checksum" ]; then
@@ -31,14 +32,14 @@ post_extract() {
 do_install() {
 	local package_location="usr/lib/$pkgname" item
 	vmkdir usr/share/pixmaps
-	vinstall discord.png 644 /usr/share/pixmap/ discord-ptb.png
+	vinstall discord.png 644 /usr/share/pixmaps/ discord-ptb.png
 	vmkdir usr/share/applications
 	vcopy discord-ptb.desktop /usr/share/applications/
 	vmkdir ${package_location}
 	for item in DiscordPTB chrome_100_percent.pak chrome_200_percent.pak \
 	icudtl.dat libEGL.so libGLESv2.so libffmpeg.so locales resources \
 	resources.pak snapshot_blob.bin swiftshader v8_context_snapshot.bin \
-	discord.png; do
+	discord.png chrome-sandbox libvk_swiftshader.so postinst.sh ; do
 		vcopy "${item}" "${package_location}"
 	done
 	vmkdir usr/bin

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

* Re: [PR PATCH] [Merged]: discord-ptb: unbreak and update to 0.0.26
  2021-09-23  4:59 [PR PATCH] discord-ptb: update to 0.0.26. and unbroke it 0x5c
  2021-09-24  7:58 ` [PR PATCH] [Updated] " 0x5c
  2021-09-24  8:10 ` [PR PATCH] [Updated] discord-ptb: unbreak and update to 0.0.26 0x5c
@ 2021-09-25  6:15 ` abenson
  2 siblings, 0 replies; 4+ messages in thread
From: abenson @ 2021-09-25  6:15 UTC (permalink / raw)
  To: ml

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

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

discord-ptb: unbreak and update to 0.0.26
https://github.com/void-linux/void-packages/pull/33067

Description:
- Fix the dependencies (based on the discord package)
- Fix the EULA check (the terms webpage text was cut based on Discord's previous tagline)
- Fix a typo in the pixmap installation
- Update the EULA checksum
- Change the description based on the discord package

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

#### General
- [ ] 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-glibc)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl


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

end of thread, other threads:[~2021-09-25  6:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23  4:59 [PR PATCH] discord-ptb: update to 0.0.26. and unbroke it 0x5c
2021-09-24  7:58 ` [PR PATCH] [Updated] " 0x5c
2021-09-24  8:10 ` [PR PATCH] [Updated] discord-ptb: unbreak and update to 0.0.26 0x5c
2021-09-25  6:15 ` [PR PATCH] [Merged]: " abenson

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