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:52:48 +0200	[thread overview]
Message-ID: <20220327195248.fZWpRvfbe6TMwih49C7PtcFR0-wLsbzMPZjYUAoKdck@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: 5170 bytes --]

From 865e00d072e330feb3796e2633b22fcccc5c9278 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/files/anydesk.xpm | 116 ++++++++++++++++++++++++++++++
 srcpkgs/anydesk/template          |  36 ++++------
 2 files changed, 131 insertions(+), 21 deletions(-)
 create mode 100644 srcpkgs/anydesk/files/anydesk.xpm

diff --git a/srcpkgs/anydesk/files/anydesk.xpm b/srcpkgs/anydesk/files/anydesk.xpm
new file mode 100644
index 000000000000..e4b2d9301f7a
--- /dev/null
+++ b/srcpkgs/anydesk/files/anydesk.xpm
@@ -0,0 +1,116 @@
+/* XPM */
+static char *anydesk[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 78 1 ",
+"  c #FC4236",
+". c #FC4337",
+"X c #FC4438",
+"o c #FC4539",
+"O c #FC473B",
+"+ c #FC473C",
+"@ c #FC4B3F",
+"# c #FC4B40",
+"$ c #FC4C40",
+"% c #FC4C41",
+"& c #FC554A",
+"* c #FD5B51",
+"= c #FD5C52",
+"- c #FD5D52",
+"; c #FD5D53",
+": c #FD5F54",
+"> c #FD5F55",
+", c #FD6056",
+"< c #FD655B",
+"1 c #FD665C",
+"2 c #FD665D",
+"3 c #FD675D",
+"4 c #FD685E",
+"5 c #FD6960",
+"6 c #FD6A61",
+"7 c #FD6B61",
+"8 c #FD7C74",
+"9 c #FD7D75",
+"0 c #FD7F77",
+"q c #FD8078",
+"w c #FD857D",
+"e c #FD857E",
+"r c #FD867E",
+"t c #FE9C96",
+"y c #FE9D97",
+"u c #FE9E98",
+"i c #FE9F98",
+"p c #FE9F99",
+"a c #FEA099",
+"s c #FEA09A",
+"d c #FEA49D",
+"f c #FEA49E",
+"g c #FEA7A2",
+"h c #FEA8A2",
+"j c #FEA9A3",
+"k c #FEAAA4",
+"l c #FECBC8",
+"z c #FECCC9",
+"x c #FECDCA",
+"c c #FED2D0",
+"v c #FED3D1",
+"b c #FED4D1",
+"n c #FED5D2",
+"m c #FED5D3",
+"M c #FED6D3",
+"N c #FED6D4",
+"B c #FED7D4",
+"V c #FED8D5",
+"C c #FFE5E4",
+"Z c #FFE6E4",
+"A c #FFE8E7",
+"S c #FFE9E8",
+"D c #FFEDEC",
+"F c #FFEEED",
+"G c #FFF0EF",
+"H c #FFF0F0",
+"J c #FFF2F2",
+"K c #FFF3F2",
+"L c #FFF4F3",
+"P c #FFF7F6",
+"I c #FFF7F7",
+"U c #FFF8F7",
+"Y c #FFF8F8",
+"T c #FFFBFB",
+"R c #FFFCFB",
+"E c #FFFEFE",
+"W c white",
+"Q c None",
+/* pixels */
+"QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ",
+"QQQQ                        QQQQ",
+"QQ                            QQ",
+"QQ                            QQ",
+"Q                              Q",
+"Q                              Q",
+"Q                              Q",
+"Q                              Q",
+"Q           &$    %&           Q",
+"Q         .*li$  #sx;.         Q",
+"Q        .5mERk@ 2CEN7.        Q",
+"Q        *mEWWYy#OwDEV;        Q",
+"Q      X1vEWWWWIh%o8DEM4X      Q",
+"Q      <cEWWWWWWTa%owAEn3      Q",
+"Q    .;cEWWWWWWWWLa%O0JEn>.    Q",
+"Q    ,vEWWWWWWWWWWTf. wGEn,    Q",
+"Q    ,vEWWWWWWWWWWTd. wHEn,    Q",
+"Q    .;cEWWWWWWWWLp%+qKEb:.    Q",
+"Q      <cEWWWWWWTp$oeSEb2      Q",
+"Q      X1vEWWWWPg%o9FEn4X      Q",
+"Q        *mEWWUt#+rFEB-        Q",
+"Q        .5mETj@ 1ZEm6.        Q",
+"Q         .*lu$  @pz=.         Q",
+"Q           &$    %&           Q",
+"Q                              Q",
+"Q                              Q",
+"Q                              Q",
+"Q                              Q",
+"QQ                            QQ",
+"QQ                            QQ",
+"QQQQ                        QQQQ",
+"QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ"
+};
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:52 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 ` [PR PATCH] [Updated] " mobinmob
2022-03-27 19:52 ` mobinmob [this message]
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=20220327195248.fZWpRvfbe6TMwih49C7PtcFR0-wLsbzMPZjYUAoKdck@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).