Github messages for voidlinux
 help / color / mirror / Atom feed
From: mobinmob <mobinmob@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] anydesk: fix eula checksum.
Date: Sun, 27 Mar 2022 21:50:46 +0200	[thread overview]
Message-ID: <20220327195046.Pi7_aNw1OZWXViaWnZoDM9EcawzcIQbbcQOAzL73HZk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36381@inbox.vuxu.org>

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

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

https://github.com/mobinmob/void-packages anydesk
https://github.com/void-linux/void-packages/pull/36381

anydesk: fix eula checksum.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- 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/36381.patch is attached

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

From 7d001d1d008072bc57c2f7948f78797a0ef43a90 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Sun, 27 Mar 2022 21:26:45 +0300
Subject: [PATCH] anydesk: use the generic upstream tarball.

That fixes the issue with the eula checksums,
thanks @tibequadorian.
---
 srcpkgs/anydesk/template | 36 +++++++++++++++---------------------
 1 file changed, 15 insertions(+), 21 deletions(-)

diff --git a/srcpkgs/anydesk/template b/srcpkgs/anydesk/template
index ba95d8775fe1..cbbe8b7a66e7 100644
--- a/srcpkgs/anydesk/template
+++ b/srcpkgs/anydesk/template
@@ -1,10 +1,10 @@
 # Template file for 'anydesk'
 pkgname=anydesk
 version=6.1.1
-revision=1
+revision=2
 archs="x86_64"
-create_wrksrc=yes
-hostmakedepends="patchelf rpmextract w3m"
+hostmakedepends="patchelf"
+depends="hicolor-icon-theme"
 short_desc="Fast remote desktop application"
 maintainer="mobinmob <mobinmob@disroot.org>"
 license="custom:Proprietary"
@@ -13,28 +13,22 @@ homepage="https://anydesk.com/remote-desktop"
 nopie=yes
 restricted=yes
 
-distfiles="https://download.anydesk.com/linux/anydesk_$version-1_x86_64.rpm"
-checksum=93f8ffb2ec46b7601be7682a4096a23ac19768bc5bcd88afb28a88c90f38867a
+distfiles="https://download.anydesk.com/linux/anydesk-${version}-amd64.tar.gz"
+checksum=102e72c75502a4779083320322dd047e2b0c00a25ead7444a00aad1db54325aa
 
-_eula_digest=cf42c51d94d40c5890b103a1b2c5b62b5faad7af1e14933cab98dea8066175e8
-
-post_extract() {
-	$XBPS_FETCH_CMD -o eula.html https://anydesk.com/en/terms
-	< eula.html w3m -dump -I utf-8 -T text/html |
-	sed -n '/envelope.p/q;/Terms [&] Conditions/,$p' >eula.txt
-
-	filesum="$($XBPS_DIGEST_CMD eula.txt)"
-	if [ "$filesum" != $_eula_digest ]; then
-		msg_error "EULA changed, new digest: $filesum\n"
-	fi
-}
 
 do_build() {
-	patchelf --remove-needed libpangox-1.0.so.0 usr/bin/anydesk
+	patchelf --remove-needed libpangox-1.0.so.0 anydesk
 }
 
 do_install() {
-	vcopy usr/share usr
-	vbin usr/bin/anydesk
-	vlicense eula.txt
+	vbin anydesk
+	vmkdir usr/share/applications
+	vinstall anydesk.desktop 644 usr/share/applications/
+	vcopy icons  usr/share
+	vcopy polkit-1 usr/share
+	vmkdir /usr/share/pixmaps
+	vinstall icons/hicolor/256x256/apps/anydesk.png 644 usr/share/pixmaps/
+	vinstall "${FILESDIR}"/anydesk.xpm 644 usr/share/pixmaps/
+	vlicense copyright
 }

  parent reply	other threads:[~2022-03-27 19:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-27 18:27 [PR PATCH] " mobinmob
2022-03-27 18:57 ` tibequadorian
2022-03-27 19:00 ` mobinmob
2022-03-27 19:00 ` mobinmob
2022-03-27 19:50 ` mobinmob [this message]
2022-03-27 19:52 ` [PR PATCH] [Updated] " mobinmob
2022-03-27 19:56 ` mobinmob
2022-03-30 18:26 ` [PR REVIEW] " Chocimier
2022-04-02  5:45 ` mobinmob
2022-05-07  7:16 ` [PR PATCH] [Updated] " mobinmob
2022-05-07  7:17 ` [PR REVIEW] " mobinmob
2022-05-07 17:50 ` [PR PATCH] [Merged]: " Chocimier
  -- strict thread matches above, loose matches on Subject: below --
2021-10-23 14:26 [PR PATCH] " mobinmob
2021-10-24 11:39 ` [PR PATCH] [Updated] " mobinmob

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=20220327195046.Pi7_aNw1OZWXViaWnZoDM9EcawzcIQbbcQOAzL73HZk@z \
    --to=mobinmob@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).