Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] discord-ptb: update to 0.0.35.
@ 2022-11-09  1:34 Seltyk
  2022-11-09 14:54 ` 0x5c
  2022-11-10 22:01 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: Seltyk @ 2022-11-09  1:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Seltyk/void-packages dptb-update
https://github.com/void-linux/void-packages/pull/40401

discord-ptb: update to 0.0.35.
#### Testing the changes
- I tested the changes in this PR: **briefly**
---
The EULA hash has been giving me trouble for weeks. Perhaps this is only an issue on my machine? The CI will confirm. Also, there is no need to `cat ` into `w3m`, it can read files directly.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dptb-update-40401.patch --]
[-- Type: text/x-diff, Size: 1525 bytes --]

From 97cc0109abcd5c304c77b77eb0d09b1f1291da6e Mon Sep 17 00:00:00 2001
From: Seltyk <whhacker.dcx@gmail.com>
Date: Tue, 8 Nov 2022 20:33:02 -0500
Subject: [PATCH] discord-ptb: update to 0.0.35.

---
 srcpkgs/discord-ptb/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/discord-ptb/template b/srcpkgs/discord-ptb/template
index b74f2078278f..c62aa25f774d 100644
--- a/srcpkgs/discord-ptb/template
+++ b/srcpkgs/discord-ptb/template
@@ -1,6 +1,6 @@
 # Template file for 'discord-ptb'
 pkgname=discord-ptb
-version=0.0.34
+version=0.0.35
 revision=1
 archs="x86_64"
 hostmakedepends="w3m"
@@ -11,15 +11,15 @@ maintainer="0x5c <dev@0x5c.io>"
 license="custom:Proprietary"
 homepage="https://discord.com/"
 distfiles="https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"
-checksum=083e9d2e806796f869c0415f2c8f4eaa386f8993e3df1343c8f2bda81254a9c9
-_license_checksum=b64b3fdcd86d70df0e4dffa8d4aa4a7aa3e87204059902f1680100f5ee2f2ef4
+checksum=6e7a79c1f711db5b3b2cc3f11608f91b752cc4f5a5163e2de826dea2c8ae7c76
+_license_checksum=45e63af835972e94b311bc44d515ca11a919d6a8f127ec801267b0a8fba10847
 nopie=yes
 restricted=yes
 repository=nonfree
 
 post_extract() {
-	$XBPS_FETCH_CMD -o eula https://discord.com/terms; cat eula |
-		w3m -dump -I utf-8 -T text/html |
+	$XBPS_FETCH_CMD -o eula https://discord.com/terms
+	w3m -dump -I utf-8 -T text/html eula |
 		sed -n '/Discord.s Terms of Service/,/^Imagine a place$/p' > EULA
 
 	filesum="$(xbps-digest EULA)"

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

* Re: discord-ptb: update to 0.0.35.
  2022-11-09  1:34 [PR PATCH] discord-ptb: update to 0.0.35 Seltyk
@ 2022-11-09 14:54 ` 0x5c
  2022-11-10 22:01 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: 0x5c @ 2022-11-09 14:54 UTC (permalink / raw)
  To: ml

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

New comment by 0x5c on void-packages repository

https://github.com/void-linux/void-packages/pull/40401#issuecomment-1308885276

Comment:
> The EULA hash has been giving me trouble for weeks.

They just keep changing formatting, this time it was a single space:
```diff
--- /usr/share/licenses/discord-ptb/EULA        2022-10-20 14:45:47.000000000 -0400
+++ masterdir/destdir/discord-ptb-0.0.34/usr/share/licenses/discord-ptb/EULA    2022-11-09 08:28:35.000000000 -0500
@@ -76,7 +76,7 @@ Together, these rules make Discord possi
 believe others aren<E2><80><99>t following them, please let us know: https://dis.gd/report
 .
 
-<E2><80><8D>IMPORTANT NOTE:The section titled <E2><80><9C>Settling Disputes Between You and Discord<E2><80><9D>
+<E2><80><8D>IMPORTANT NOTE: The section titled <E2><80><9C>Settling Disputes Between You and Discord<E2><80><9D>
 contains an arbitration clause and class-action waiver that applies to all
 U.S.-based Discord users. Please read this section carefully as it may
 significantly affect your legal rights, including your right to file a lawsuit
```

At this point it's starting look like convincing them to add the EULA in the distfile would be easier than playing wack-a-mole with formatting changes that happen in-between template updates.

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

* Re: [PR PATCH] [Merged]: discord-ptb: update to 0.0.35.
  2022-11-09  1:34 [PR PATCH] discord-ptb: update to 0.0.35 Seltyk
  2022-11-09 14:54 ` 0x5c
@ 2022-11-10 22:01 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-11-10 22:01 UTC (permalink / raw)
  To: ml

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

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

discord-ptb: update to 0.0.35.
https://github.com/void-linux/void-packages/pull/40401

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**
---
The EULA hash has been giving me trouble for weeks. Perhaps this is only an issue on my machine? The CI will confirm. Also, there is no need to `cat` into `w3m`, it can read files directly.

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

end of thread, other threads:[~2022-11-10 22:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-09  1:34 [PR PATCH] discord-ptb: update to 0.0.35 Seltyk
2022-11-09 14:54 ` 0x5c
2022-11-10 22:01 ` [PR PATCH] [Merged]: " classabbyamp

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