Github messages for voidlinux
 help / color / mirror / Atom feed
From: 0x5c <0x5c@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] discord-ptb: update to 0.0.26. and unbroke it
Date: Thu, 23 Sep 2021 06:59:33 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33067@inbox.vuxu.org> (raw)

[-- 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

             reply	other threads:[~2021-09-23  4:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23  4:59 0x5c [this message]
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

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33067@inbox.vuxu.org \
    --to=0x5c@users.noreply.github.com \
    --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).