GNU bug report logs - #57675
[PATCH v2 0/5] gnu: telegram-desktop: Update to 4.1.1.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Hilton Chain <hako@HIDDEN>; Keywords: patch; dated Thu, 8 Sep 2022 12:40:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:34:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 09:34:18 2022
Received: from localhost ([127.0.0.1]:49708 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocoFV-0005pV-LI
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:34:18 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:55568)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocoFP-0005ou-HV
 for 57675 <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:34:13 -0400
Date: Mon, 26 Sep 2022 21:33:46 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664199245;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=O4TE4xkNh2+b/ZstO6Bv4HnSs+FP3wVS1xNtX41VpTY=;
 b=IgPCtrKrGq2P+/2EXNEu5ZW4PZYR2/yY45JCTzqwNPItHbaDe5DMr0x3a89JN/nWApkfQF
 NWHUsYgplusLdkCnbGjeGlBcCs+7D3D/8gl0R0qSjSSXxCjiI5x6Akc52OVWXDLbEAvXuZ
 ow2juh7ABXMcANLmSGWsg9at9I7SccHQmSsknfqJtJnkfZH9BWfyZfQZc3etyU4jRDqx5t
 Y1Zyqn+eaZe4LyjibyzzDcSgrsyZF6xJkkqPMk7p3oG0VXbo8TWl2aTESVHJ5w7NzaznBd
 p6NJMgXuPCGQ6BWJd7zFK/LiggHi5600yZIB5VIHdBsvlyYCai6xpz6nb7TRXA==
Message-ID: <y76h70ui7k5.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 10/10] gnu: telegram: Remove unused variables.
In-Reply-To: <y76illai7km.wl-hako@HIDDEN>
References: <y76v8pai7sf.wl-hako@HIDDEN>
 <y76tu4ui7qn.wl-hako@HIDDEN>
 <y76sfkei7pr.wl-hako@HIDDEN>
 <y76r0zyi7p2.wl-hako@HIDDEN>
 <y76pmfii7of.wl-hako@HIDDEN>
 <y76o7v2i7mx.wl-hako@HIDDEN>
 <y76mtami7mb.wl-hako@HIDDEN>
 <y76leq6i7lq.wl-hako@HIDDEN>
 <y76k05qi7l9.wl-hako@HIDDEN>
 <y76illai7km.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (lib-rlottie-for-telegram-desktop)
(lib-waylandshells-for-telegram-desktop,libtgvoip-for-telegram-desktop):
Remove variables.
---
 gnu/packages/telegram.scm | 65 ---------------------------------------
 1 file changed, 65 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index f55f2c446f..3f612e902b 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -168,18 +168,6 @@ (define lib-qr-for-telegram-desktop
      (base32
       "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f"))))
 
-(define lib-rlottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rlottie.git")
-          (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
-    (file-name
-     (git-file-name "lib-rlottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
-
 (define lib-rpl-for-telegram-desktop
   (origin
     (method git-fetch)
@@ -240,18 +228,6 @@ (define lib-ui-for-telegram-desktop
      (base32
       "0kyrgxi202xwy14mnx62h1kny0434f5fxqns1ydp24q2c2cr1cxn"))))
 
-(define lib-waylandshells-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_waylandshells.git")
-          (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
-    (file-name
-     (git-file-name "lib-waylandshells-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
-
 (define lib-webrtc-for-telegram-desktop
   (origin
     (method git-fetch)
@@ -406,47 +382,6 @@ (define-public rlottie-for-telegram-desktop
                (substitute* "meson.build"
                  (("werror=true") "werror=false"))))))))))
 
-(define-public libtgvoip-for-telegram-desktop
-  (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
-        (revision "88"))
-    (hidden-package
-     (package
-       (inherit libtgvoip)
-       (version
-        (git-version "2.4.4" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/telegramdesktop/libtgvoip.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "libtgvoip-for-telegram-desktop" version))
-          (sha256
-           (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "--disable-static"
-           "--disable-dsp"              ; FIXME
-           "--enable-audio-callback"
-           "--with-alsa"
-           "--with-pulse")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-linkers
-              (lambda _
-                (substitute* "Makefile.am"
-                  (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
-                   "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)"))
-                (substitute* "tgvoip.pc.in"
-                  (("libcrypto opus")
-                   "libcrypto opus alsa libpulse"))
-                #t)))))
-       (native-inputs
-        (list autoconf automake libtool pkg-config))))))
-
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:33:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 09:33:56 2022
Received: from localhost ([127.0.0.1]:49693 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocoFA-0005nh-Fp
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:33:56 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:42666)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocoF9-0005nU-00
 for 57675 <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:33:55 -0400
Date: Mon, 26 Sep 2022 21:33:29 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664199229;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=XmYF/ALBLzCb97f/S23XCOZNqSeis+cCX4pLnLye+KE=;
 b=sfWmSi8uONDYnLRG9T4QYTbDIHNx6lWtOXhAWzGgHtS+wN1+x9/GSNzGISa+CAEmX4v0dh
 1LPLRyKU+88A6DOm/vHRhuNZFBqKSJAZvvnRQ2krctw9sQS+6pRfaVFHk8xO9a0upIlkXW
 JkAICpPunS8gV1mNfSOS9J2L7iL8mbNeeNH6gMSmjBwpM7gs694N4JmYKcto/hHeuQjZfR
 Xq32s54sVcml8Dz1kAaiM1ba8hfwU5TverOobKp1OTYKsdf6WzGUteekiJgUdbCZR/lr3b
 FV2RibI3o/2NeVJmeRyh0nluwzcUe/birQiXNkj8jC7lptQtv7HKgAXVdJ1BfQ==
Message-ID: <y76illai7km.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 09/10] gnu: telegram-desktop: Order inputs alphabetically.
In-Reply-To: <y76k05qi7l9.wl-hako@HIDDEN>
References: <y76v8pai7sf.wl-hako@HIDDEN>
 <y76tu4ui7qn.wl-hako@HIDDEN>
 <y76sfkei7pr.wl-hako@HIDDEN>
 <y76r0zyi7p2.wl-hako@HIDDEN>
 <y76pmfii7of.wl-hako@HIDDEN>
 <y76o7v2i7mx.wl-hako@HIDDEN>
 <y76mtami7mb.wl-hako@HIDDEN>
 <y76leq6i7lq.wl-hako@HIDDEN>
 <y76k05qi7l9.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (telegram-desktop)[inputs]: Order inputs
alphabetically.
---
 gnu/packages/telegram.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 1f0d6f3056..f55f2c446f 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -539,10 +539,9 @@ (define-public telegram-desktop
            pkg-config
            python-wrapper))
     (inputs
-     (list alsa-lib
-           abseil-cpp-cxxstd17
+     (list abseil-cpp-cxxstd17
+           alsa-lib
            c++-gsl
-           libexpected
            fcitx-qt5
            fcitx5-qt
            ffmpeg
@@ -554,8 +553,10 @@ (define-public telegram-desktop
            jemalloc
            kcoreaddons
            libdispatch
+           libexpected
            libjpeg-turbo
            libvpx
+           libxcb
            lz4
            minizip
            nimf
@@ -565,8 +566,8 @@ (define-public telegram-desktop
            pulseaudio
            qrcodegen-cpp
            qtbase-5
-           qtsvg-5
            qtimageformats
+           qtsvg-5
            qtwayland
            range-v3
            rlottie-for-telegram-desktop
@@ -574,7 +575,6 @@ (define-public telegram-desktop
            wayland
            webkitgtk
            webrtc-for-telegram-desktop
-           libxcb
            xcb-util-keysyms
            xxhash
            zlib))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:33:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 09:33:34 2022
Received: from localhost ([127.0.0.1]:49688 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocoEn-0005n5-2o
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:33:34 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:42130)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocoEk-0005ms-P8
 for 57675 <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:33:32 -0400
Date: Mon, 26 Sep 2022 21:33:06 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664199205;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=AkR5rQikncoeee/Ych6/A1QPAlO/3vFjR/rMesa2LpE=;
 b=SmzsHQSmzyLE9xWJTzgsswaGKVmrczLy5YQG7k57b4w1webJWDT5mfVc5VHJXShEQWLLKQ
 ugC2nzp1NAuljaZImp0aYCL/qKugY7x2X1hQ5FFBPn6F7+NzQfGnCuDF0IbJ9e2zdNW4tx
 anAYWzLR5M93x2CkzS0CZSGafWcObpXHEFqO7JJiAj28sNh2zmSN8fbNMhw8/YGv8Sny4T
 U777Ny1kzEe3NNmv7qZLkz8lBF2WTz+/kkXaXR0PI2gWwMGWTlAYYLbaI/cMVTxKQxhzUv
 L+i+9m2Vw9jiL2v8VNTnj7uhb8wyFabhVAQXEB7d6weCD489x7ftB6j/DGvjaA==
Message-ID: <y76k05qi7l9.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 08/10] gnu: telegram-desktop: Update to 4.2.2.
In-Reply-To: <y76leq6i7lq.wl-hako@HIDDEN>
References: <y76v8pai7sf.wl-hako@HIDDEN>
 <y76tu4ui7qn.wl-hako@HIDDEN>
 <y76sfkei7pr.wl-hako@HIDDEN>
 <y76r0zyi7p2.wl-hako@HIDDEN>
 <y76pmfii7of.wl-hako@HIDDEN>
 <y76o7v2i7mx.wl-hako@HIDDEN>
 <y76mtami7mb.wl-hako@HIDDEN>
 <y76leq6i7lq.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (tgcalls-for-telegram-desktop)
(codegen-for-telegram-desktop,lib-base-for-telegram-desktop)
(lib-crl-for-telegram-desktop,lib-lottie-for-telegram-desktop)
(lib-qr-for-telegram-desktop,lib-rpl-for-telegram-desktop)
(lib-spellcheck-for-telegram-desktop,lib-storage-for-telegram-desktop)
(lib-tl-for-telegram-desktop,lib-ui-for-telegram-desktop)
(lib-webrtc-for-telegram-desktop,lib-webview-for-telegram-desktop)
(cmake-helpers-for-telegram-desktop): Bump to submodule checkout.
(rlottie-for-telegram-desktop): Bump to submodule checkout.
[snippet]: Switch off werror.
[arguments]: Use inherited ones.
(telegram-desktop): Update to 4.2.2.
[patches]: Add telegram-desktop-allow-disable-libtgvoip.patch.
[arguments]<#:configure-flags>: Unbundle rlottie.
<#:phases>: Adjusted accordingly.
[native-inputs]: Add clang-toolchain.
Remove cmake-shared, extra-cmake-modules and qttools-5.
[inputs]: Add abseil-cpp-cxxstd17, kcoreaddons, libdispatch, libvpx, wayland,
webkitgtk.
Remove catch2, kwayland, libdbusmenu-qt, libtgvoip-for-telegram-desktop,
libx11, materialdecoration and qt5ct.
[propagated-inputs]: Remove dconf.
[license]: Adjusted accordingly.
---
 gnu/local.mk                                  |   1 +
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 ++++++++++++++++
 gnu/packages/telegram.scm                     | 140 ++++++++----------
 3 files changed, 190 insertions(+), 76 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index ccb77b50b5..9252782930 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1876,6 +1876,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/teensy-loader-cli-help.patch		\
   %D%/packages/patches/tensorflow-c-api-fix.patch		\
   %D%/packages/patches/texinfo-5-perl-compat.patch		\
+  %D%/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch   \
   %D%/packages/patches/telegram-purple-adjust-test.patch	\
   %D%/packages/patches/texi2html-document-encoding.patch	\
   %D%/packages/patches/texi2html-i18n.patch			\
diff --git a/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
new file mode 100644
index 0000000000..3c062cbd9a
--- /dev/null
+++ b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
@@ -0,0 +1,125 @@
+From 4d1a8351ee82728912fcf7ad0070049b2910c393 Mon Sep 17 00:00:00 2001
+From: Klemens Nanni <klemens@HIDDEN>
+Date: Wed, 2 Mar 2022 01:07:48 +0100
+Subject: [PATCH] Introduce TDESKTOP_DISABLE_LEGACY_TGVOIP
+
+Originally from Alt Linux[0], OpenBSD has so far adapted the removal of
+tgvoip in the official net/tdesktop build.
+
+tgcalls provides everything needed for calls;  audio/video/desktop
+sharing calls have been working fine across different operating systems
+and telegram desktop/mobile versions without problems.
+
+0: http://www.sisyphus.ru/cgi-bin/srpm.pl/Sisyphus/telegram-desktop/getpatch/1
+---
+ Telegram/CMakeLists.txt                   | 6 +++---
+ Telegram/SourceFiles/calls/calls_call.cpp | 6 ++++++
+ Telegram/cmake/lib_tgcalls.cmake          | 4 ++++
+ Telegram/cmake/telegram_options.cmake     | 8 ++++++++
+ 4 files changed, 21 insertions(+), 3 deletions(-)
+
+diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
+index fb2bf370f..5d9578f2d 100644
+--- a/Telegram/CMakeLists.txt
++++ b/Telegram/CMakeLists.txt
+@@ -28,7 +28,9 @@ get_filename_component(res_loc Resources REALPATH)
+ include(cmake/telegram_options.cmake)
+ include(cmake/lib_ffmpeg.cmake)
+ include(cmake/lib_stripe.cmake)
+-include(cmake/lib_tgvoip.cmake)
++if (NOT TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    include(cmake/lib_tgvoip.cmake)
++endif()
+ include(cmake/lib_tgcalls.cmake)
+ include(cmake/td_export.cmake)
+ include(cmake/td_mtproto.cmake)
+@@ -52,9 +54,7 @@ target_prepare_qrc(Telegram)
+ 
+ target_link_libraries(Telegram
+ PRIVATE
+-    tdesktop::lib_tgcalls_legacy
+     tdesktop::lib_tgcalls
+-    tdesktop::lib_tgvoip
+ 
+     # Order in this list defines the order of include paths in command line.
+     # We need to place desktop-app::external_minizip this early to have its
+diff --git a/Telegram/SourceFiles/calls/calls_call.cpp b/Telegram/SourceFiles/calls/calls_call.cpp
+index 6894d5d90..cd03620e7 100644
+--- a/Telegram/SourceFiles/calls/calls_call.cpp
++++ b/Telegram/SourceFiles/calls/calls_call.cpp
+@@ -39,8 +39,10 @@ class InstanceImpl;
+ class InstanceV2Impl;
+ class InstanceV2ReferenceImpl;
+ class InstanceV2_4_0_0Impl;
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ class InstanceImplLegacy;
+ void SetLegacyGlobalServerConfig(const std::string &serverConfig);
++#endif
+ } // namespace tgcalls
+ 
+ namespace Calls {
+@@ -56,7 +58,9 @@ const auto Register = tgcalls::Register<tgcalls::InstanceImpl>();
+ const auto RegisterV2 = tgcalls::Register<tgcalls::InstanceV2Impl>();
+ const auto RegV2Ref = tgcalls::Register<tgcalls::InstanceV2ReferenceImpl>();
+ const auto RegisterV240 = tgcalls::Register<tgcalls::InstanceV2_4_0_0Impl>();
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ const auto RegisterLegacy = tgcalls::Register<tgcalls::InstanceImplLegacy>();
++#endif
+ 
+ [[nodiscard]] base::flat_set<int64> CollectEndpointIds(
+ 		const QVector<MTPPhoneConnection> &list) {
+@@ -1322,7 +1326,9 @@ Call::~Call() {
+ }
+ 
+ void UpdateConfig(const std::string &data) {
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ 	tgcalls::SetLegacyGlobalServerConfig(data);
++#endif
+ }
+ 
+ } // namespace Calls
+diff --git a/Telegram/cmake/lib_tgcalls.cmake b/Telegram/cmake/lib_tgcalls.cmake
+index 34a5ba418..8a784be2c 100644
+--- a/Telegram/cmake/lib_tgcalls.cmake
++++ b/Telegram/cmake/lib_tgcalls.cmake
+@@ -267,6 +267,10 @@ PRIVATE
+     ${tgcalls_loc}
+ )
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    return()
++endif()
++
+ add_library(lib_tgcalls_legacy STATIC)
+ init_target(lib_tgcalls_legacy)
+ 
+diff --git a/Telegram/cmake/telegram_options.cmake b/Telegram/cmake/telegram_options.cmake
+index 1c3c25431..033f2bc95 100644
+--- a/Telegram/cmake/telegram_options.cmake
++++ b/Telegram/cmake/telegram_options.cmake
+@@ -4,7 +4,9 @@
+ # For license and copyright information please follow this link:
+ # https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
+ 
++option(TDESKTOP_DISABLE_LEGACY_TGVOIP "Disable legacy tgvoip support." OFF)
+ option(TDESKTOP_API_TEST "Use test API credentials." OFF)
++
+ set(TDESKTOP_API_ID "0" CACHE STRING "Provide 'api_id' for the Telegram API access.")
+ set(TDESKTOP_API_HASH "" CACHE STRING "Provide 'api_hash' for the Telegram API access.")
+ 
+@@ -40,6 +42,12 @@ if (TDESKTOP_API_ID STREQUAL "0" OR TDESKTOP_API_HASH STREQUAL "")
+     " ")
+ endif()
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_LEGACY_TGVOIP)
++else()
++    target_link_libraries(Telegram PRIVATE tdesktop::lib_tgcalls_legacy tdesktop::lib_tgvoip)
++endif()
++
+ if (DESKTOP_APP_DISABLE_SPELLCHECK)
+     target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_SPELLCHECK)
+ else()
+-- 
+2.37.3
+
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 9bdde49754..1f0d6f3056 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2021 Raghav Gururajan <rg@HIDDEN>
+;;; Copyright © 2022 Hilton Chain <hako@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26,6 +27,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages c)
   #:use-module (gnu packages cpp)
   #:use-module (gnu packages digest)
   #:use-module (gnu packages fcitx)
@@ -43,6 +45,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages lxqt)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages perl)
@@ -60,6 +63,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages webkit)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
@@ -75,7 +79,7 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
 
-(define %telegram-version "2.9.3")
+(define %telegram-version "4.2.2")
 
 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
@@ -97,72 +101,72 @@ (define cmake-helpers-for-telegram-desktop
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/cmake_helpers.git")
-          (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
+          (commit "f49e254d8c5287752b5ed7b86bd84073f584768e")))
     (file-name
      (git-file-name "cmake-helpers-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
+      "0yqib2ndhpaj69z603knpcfga0ni978janb5i8rvhslqddvbzfjv"))))
 
 (define codegen-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/codegen.git")
-          (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
+          (commit "8815d7aec9b901191d08445f29e2edd0aeba7b2c")))
     (file-name
      (git-file-name "codegen-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
+      "1ly958mjk25kfcpa174kvg134p9r751ixi275afj5kr57by9mbq2"))))
 
 (define lib-base-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_base.git")
-          (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
+          (commit "d932f5048317b05dd414116741d995c82a528542")))
     (file-name
      (git-file-name "lib-base-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
+      "1fnirqxj4qq1gzx52rydrc5r6clw3316bh51dfg652jr8hj6wkp2"))))
 
 (define lib-crl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_crl.git")
-          (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
+          (commit "4e620bc383d032aadea8e6af02661f8c76695cec")))
     (file-name
      (git-file-name "lib-crl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
+      "17bngj247qwq0dg4h37xdi5v1mk22y4yp7sp6ph3irmnz4awah0x"))))
 
 (define lib-lottie-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_lottie.git")
-          (commit "0770df009db7928df1d0cad0900dc5110106d229")))
+          (commit "6ed1c22ed60692d2f288c9222fafd7d5cd62f904")))
     (file-name
      (git-file-name "lib-lottie-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
+      "0l57ibfij9xm4ww4s9cc63q1x8xzpc6ablwaji1krrn3xxksqdd4"))))
 
 (define lib-qr-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_qr.git")
-          (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
+          (commit "501f4c3502fd872ab4d777df8911bdac32de7c48")))
     (file-name
      (git-file-name "lib-qr-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
+      "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f"))))
 
 (define lib-rlottie-for-telegram-desktop
   (origin
@@ -181,60 +185,60 @@ (define lib-rpl-for-telegram-desktop
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_rpl.git")
-          (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
+          (commit "fd31f5bf382d2679eccdb1abaf8240a56c6a7abe")))
     (file-name
      (git-file-name "lib-rpl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
+      "1fpq8nyh8wx6zkb3sjjrx9ydqzyhw4483bdk1i9blp0ijn9xxdxf"))))
 
 (define lib-spellcheck-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_spellcheck.git")
-          (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
+          (commit "0e386e22cb6ba8a114b569840a635e096dcb645e")))
     (file-name
      (git-file-name "lib-spellcheck-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
+      "06js7ccv6z3nbd4v2p4hp2prrlmz5ww46y3yb922pp7gm317dwyw"))))
 
 (define lib-storage-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_storage.git")
-          (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
+          (commit "839609369d04615475cb1518636de3619106a917")))
     (file-name
      (git-file-name "lib-storage-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
+      "1l26h2fmqp9dcpr6pfvdd5sjb68j7yh0ms2lnr8na7jf5xqmkwwm"))))
 
 (define lib-tl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_tl.git")
-          (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
+          (commit "36fb95c4de1339d2c8921ad6b2911858c3d0e0fa")))
     (file-name
      (git-file-name "lib-tl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
+      "03rngnssnqwr7ad05qn64mwgji5fb0r3fp5ybkf951p8phr1jvzk"))))
 
 (define lib-ui-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_ui.git")
-          (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
+          (commit "1ceaa0bbcfccb83dbf7f51d7f80a733ff2aa8c22")))
     (file-name
      (git-file-name "lib-ui-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
+      "0kyrgxi202xwy14mnx62h1kny0434f5fxqns1ydp24q2c2cr1cxn"))))
 
 (define lib-waylandshells-for-telegram-desktop
   (origin
@@ -253,36 +257,36 @@ (define lib-webrtc-for-telegram-desktop
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_webrtc.git")
-          (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
+          (commit "9b11599c3c56047cfa4c68b69f1fcc93b602c33a")))
     (file-name
      (git-file-name "lib-webrtc-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
+      "0158jx8hj4fv6qpw5pgcr2mdlihj0dxs060dg3iy61zz6q68z5dq"))))
 
 (define lib-webview-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_webview.git")
-          (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
+          (commit "546df65eb2424550ed84ce14fc9c5d1bb3586f35")))
     (file-name
      (git-file-name "lib-webview-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
+      "0zzjwyw82bggncmmsw969lnjl04pklmqjqm77jjzadinivl52z0l"))))
 
 (define tgcalls-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/TelegramMessenger/tgcalls.git")
-          (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
+          (commit "82c4921045c440b727c38e464f3a0539708423ff")))
     (file-name
      (git-file-name "tgcalls-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
+      "1109r17abh66yz91b65fn2g4ryfybnsr5g6075sjhbah1gccv9mk"))))
 
 (define-public webrtc-for-telegram-desktop
   (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
@@ -378,8 +382,8 @@ (define-public webrtc-for-telegram-desktop
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-  (let ((commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")
-        (revision "671"))
+  (let ((commit "8c69fc20cf2e150db304311f1233a4b55a8892d7")
+        (revision "678"))
     (hidden-package
      (package
        (inherit rlottie)
@@ -395,21 +399,12 @@ (define-public rlottie-for-telegram-desktop
           (file-name
            (git-file-name "rlottie-for-telegram-desktop" version))
           (sha256
-           (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "-Dlog=true"
-           "-Ddumptree=true"
-           "-Dtest=true")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-cxx-flags
-              (lambda _
-                (substitute* "meson.build"
-                  (("werror=true")
-                   "werror=false"))
-                #t)))))))))
+           (base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
+          (modules '((guix build utils)))
+          (snippet
+           #~(begin
+               (substitute* "meson.build"
+                 (("werror=true") "werror=false"))))))))))
 
 (define-public libtgvoip-for-telegram-desktop
   (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
@@ -467,15 +462,19 @@ (define-public telegram-desktop
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0dzf1y3xhqvizg29bd1kya48cjbkq073d2x10ynwcmmx396l4nd8"))
+        (base32 "16mcx4gwkl8s70a8gppxczmjsww1a3vmdrz3snfh986nvid64mq7"))
+       (patches
+        (search-patches
+         ;; https://github.com/telegramdesktop/tdesktop/pull/24126
+         "telegram-desktop-allow-disable-libtgvoip.patch"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
         #~(begin
             (let ((keep
-                   '( ;; Not available in Guix.
-                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+                   '(;; Not available in Guix.
+                     "tgcalls")))
               (with-directory-excursion "Telegram/ThirdParty"
                 (for-each delete-file-recursively
                           (lset-difference string=?
@@ -501,17 +500,15 @@ (define-public telegram-desktop
               ;; also stored in <#$source/snap/snapcraft.yaml>.
               "-DTDESKTOP_API_ID=611335"
               "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
-              ;; Disable WebkitGTK support as it fails to link
-              "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
-              ;; Use bundled fonts as fallback.
-              "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
+              "-DTDESKTOP_DISABLE_LEGACY_TGVOIP=ON"
+              "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
+              "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
+              "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON")
            #:phases
            #~(modify-phases %standard-phases
-               (add-after 'unpack 'make-writable
-                 (lambda _
-                   (for-each make-file-writable (find-files "."))))
-               (add-after 'make-writable 'copy-inputs
+               (add-after 'unpack 'unpack-additional-sources
                  (lambda _
+                   (for-each make-file-writable (find-files "."))
                    (for-each
                     (match-lambda
                       ((dst src)
@@ -523,35 +520,28 @@ (define-public telegram-desktop
                       ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
                       ("Telegram/lib_lottie" #$lib-lottie-for-telegram-desktop)
                       ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
-                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-desktop)
                       ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
                       ("Telegram/lib_spellcheck" #$lib-spellcheck-for-telegram-desktop)
                       ("Telegram/lib_storage" #$lib-storage-for-telegram-desktop)
                       ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
                       ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
-                      ("Telegram/lib_waylandshells" #$lib-waylandshells-for-telegram-desktop)
                       ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-desktop)
                       ("Telegram/lib_webview" #$lib-webview-for-telegram-desktop)
                       ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
-               (add-before 'configure 'patch-cxx-flags
-                 (lambda _
-                   (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
                (add-after 'install 'glib-or-gtk-compile-schemas
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
                (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
     (native-inputs
-     (list cmake-shared
-           extra-cmake-modules
-           `(,glib "bin")
+     (list `(,glib "bin")
            `(,gtk+ "bin")
+           clang-toolchain
            pkg-config
-           python-wrapper
-           qttools-5))
+           python-wrapper))
     (inputs
      (list alsa-lib
+           abseil-cpp-cxxstd17
            c++-gsl
-           catch2
            libexpected
            fcitx-qt5
            fcitx5-qt
@@ -562,12 +552,11 @@ (define-public telegram-desktop
            hime
            hunspell
            jemalloc
-           kwayland
-           libdbusmenu-qt
+           kcoreaddons
+           libdispatch
            libjpeg-turbo
-           libtgvoip-for-telegram-desktop
+           libvpx
            lz4
-           materialdecoration
            minizip
            nimf
            openal
@@ -577,19 +566,18 @@ (define-public telegram-desktop
            qrcodegen-cpp
            qtbase-5
            qtsvg-5
-           qt5ct
            qtimageformats
            qtwayland
            range-v3
            rlottie-for-telegram-desktop
            rnnoise
+           wayland
+           webkitgtk
            webrtc-for-telegram-desktop
-           libx11
            libxcb
            xcb-util-keysyms
            xxhash
            zlib))
-    (propagated-inputs (list dconf))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
@@ -597,7 +585,7 @@ (define-public telegram-desktop
     (license
      (list
       ;; ThirdParty
-      license:lgpl2.1+
+      license:lgpl3
       ;; Others
       license:gpl3+))))
 
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:33:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 09:33:17 2022
Received: from localhost ([127.0.0.1]:49685 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocoEW-0005mX-KA
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:33:16 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:56588)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocoET-0005m3-Vp
 for 57675 <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:33:14 -0400
Date: Mon, 26 Sep 2022 21:32:49 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664199188;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=V5042Dnww6ArvzZQI7Mf14K6zJ6MZrxHnuzUvspIsSM=;
 b=18nKEDFyRyo3POmlTfGBRhThTe/DSqVYzfYD8IxwbXKTmYHTXe8KVoudL6AhDZVh+PEj59
 sIi3Oj5mHDXAKFdIUT18HufcyIqHMnVHgjJcx77iuVpjBiEbDARzb1tI7OT7Clh6zAnyXu
 aCQ+gqQv6jxHV891EfCKYF+8566xaIyaPoGQ6OZShlZBfpVnSy3pWUiCoJ3GALOp/UW3zL
 9vmYjtbYb5ZcnTOefDhqCWpmmL6GGgyBUd7fTud8QVwNAdrPZ/OGzAJv3xM+OAFIvTI7+f
 eWgENaoTm8Xagd6v/pFgp1t8muZwVtJ5urV16IBtFl47uYgDVNrxWamvvOSH7w==
Message-ID: <y76leq6i7lq.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 07/10] gnu: Add libdispatch.
In-Reply-To: <y76mtami7mb.wl-hako@HIDDEN>
References: <y76v8pai7sf.wl-hako@HIDDEN>
 <y76tu4ui7qn.wl-hako@HIDDEN>
 <y76sfkei7pr.wl-hako@HIDDEN>
 <y76r0zyi7p2.wl-hako@HIDDEN>
 <y76pmfii7of.wl-hako@HIDDEN>
 <y76o7v2i7mx.wl-hako@HIDDEN>
 <y76mtami7mb.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/c.scm (libdispatch): New variable.
---
 gnu/packages/c.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 10275970b1..4c183e3b95 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -55,6 +55,7 @@ (define-module (gnu packages c)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages guile)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pcre)
@@ -1258,3 +1259,28 @@ (define-public utest-h
       (description
        "This package provides a header-only unit testing library for C/C++.")
       (license license:unlicense))))
+
+(define-public libdispatch
+  (package
+    (name "libdispatch")
+    (version "5.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/apple/swift-corelibs-libdispatch")
+             (commit (string-append "swift-" version "-RELEASE"))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0skg1azbhbg7y0ql2a5sx6lmfip8l1rajqm95zzf9xv45n4dg9nn"))))
+    (build-system cmake-build-system)
+    (native-inputs (list clang-toolchain))
+    (home-page "https://apple.github.io/swift-corelibs-libdispatch/")
+    (synopsis
+     "Comprehensive support for concurrent code execution on multicore
+hardware")
+    (description
+     "Grand Central Dispatch (GCD or libdispatch) provides comprehensive
+support for concurrent code execution on multicore hardware.")
+    (license license:asl2.0)))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:32:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 09:32:56 2022
Received: from localhost ([127.0.0.1]:49673 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocoEC-0005lP-3k
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:32:56 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:58846)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocoE9-0005lC-T4
 for 57675 <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:32:54 -0400
Date: Mon, 26 Sep 2022 21:32:28 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664199168;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=ipUnQPyOqPtBX5Xj6E1XwmLx3efHzEodm1SHrqkfrlM=;
 b=qlJW0os7fvoELpf0MO1AlZEEFxx3TJnoTSRAGmgYs4dRToTHzKk7wpEo0RR5DkrwM4YDzV
 0EYprl2FxV1YFhpLVatZsYJx6kQ6EGoqMMdzLIcvZqoaxw+7m8zkO51aUJdPnhtifViox/
 4OwQ/kR5ljSym9yqAORkxPF3YcHIA5jJXSsnwlDllEtgJxVdBBJqVdK/ZSUeshjIeTj4Yz
 7vRLafJNxCaopVASsfCu7zC3pyK96DQdRMCSmbc1WnoA439kPOscZuFkCwUpDvhewxTfMn
 PRO3sC0Bc7EiQfRTL9/CauvppvWBHQx/pgVqQbnmBy3FKaYbd7rPhJmsSf/etg==
Message-ID: <y76mtami7mb.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 06/10] gnu: Remove libvpx-for-telegram-desktop.
In-Reply-To: <y76o7v2i7mx.wl-hako@HIDDEN>
References: <y76v8pai7sf.wl-hako@HIDDEN>
 <y76tu4ui7qn.wl-hako@HIDDEN>
 <y76sfkei7pr.wl-hako@HIDDEN>
 <y76r0zyi7p2.wl-hako@HIDDEN>
 <y76pmfii7of.wl-hako@HIDDEN>
 <y76o7v2i7mx.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (libvpx-for-telegram-desktop): Remove variable.
---
 gnu/packages/telegram.scm | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 17bb168b50..9bdde49754 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -77,21 +77,6 @@ (define-module (gnu packages telegram)
 
 (define %telegram-version "2.9.3")
 
-(define libvpx-for-telegram-desktop
-  (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
-        (revision "112"))
-    (origin
-      (method git-fetch)
-      (uri (git-reference
-            (url "https://chromium.googlesource.com/webm/libvpx")
-            (commit commit)))
-      (file-name (git-file-name
-                  "libvpx-for-telegram-desktop"
-                  (git-version "1.9.0" revision commit)))
-      (sha256
-       (base32
-        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
-
 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
         (revision "2211"))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:32:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 09:32:33 2022
Received: from localhost ([127.0.0.1]:49670 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocoDo-0005ko-QM
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:32:33 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:41438)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocoDn-0005kc-Kb
 for 57675 <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:32:32 -0400
Date: Mon, 26 Sep 2022 21:32:06 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664199146;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=jTkunTXjByJTPzWMNvCNEWGu1GxkZn3U9WRM2ANjk9Q=;
 b=H3AxapYKFoe645RykUoilz4OnViHWWYtN92ykkDA5yZoOFOfZ5RravNYcyBPhY0y8K/yhP
 zRiUuiUxteGFckiiYTaQ5xMO2deouokrZLqupELxx41NhkgOLdAPGy/2NN6jtLqFSSaCHz
 SH7X0np8bU01djhxCvuL4hBeVFE/sDhP5dJKWeTGr+qg5f3S2nTc/Bl2+kD5qAcklU6Zh5
 mXgIH8e8pkSq8waTdkBrTtHgwG2KB+/F7pBx6DuKczkmXdhCLyBTa8kJ0l/yT8DlmZWarw
 zWMEBog5p3LUGmp3l8yVfJbV8+60BMJQGKEHGMAJ4bPGemGcKpU7Vc3Th83EAQ==
Message-ID: <y76o7v2i7mx.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 05/10] gnu: webrtc-for-telegram-desktop: Order inputs
 alphabetically.
In-Reply-To: <y76pmfii7of.wl-hako@HIDDEN>
References: <y76v8pai7sf.wl-hako@HIDDEN>
 <y76tu4ui7qn.wl-hako@HIDDEN>
 <y76sfkei7pr.wl-hako@HIDDEN>
 <y76r0zyi7p2.wl-hako@HIDDEN>
 <y76pmfii7of.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (webrtc-for-telegram-desktop)[inputs]: Order
inputs alphabetically.
---
 gnu/packages/telegram.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index e7beab5c51..17bb168b50 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -357,24 +357,24 @@ (define-public webrtc-for-telegram-desktop
        (inputs
         (list abseil-cpp-cxxstd17
               ffmpeg
-              libjpeg-turbo
               glib
               libdrm
               libglvnd
+              libjpeg-turbo
               libvpx
               libxcomposite
               libxdamage
-              libxrender
-              libxrandr
+              libxext
               libxfixes
+              libxrandr
+              libxrender
+              libxtst
               mesa
               openh264
               openssl
               opus
               pipewire-0.3
-              protobuf
-              libxext
-              libxtst))
+              protobuf))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
 Telegram project, for its use in telegram desktop client.")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:31:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 09:31:41 2022
Received: from localhost ([127.0.0.1]:49665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocoCz-0005jP-4q
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:31:41 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:41932)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocoCv-0005jC-Ro
 for 57675 <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:31:39 -0400
Date: Mon, 26 Sep 2022 21:31:12 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664199092;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=U/X+pJb+NnSAaLJHbDOwrkS4EFwnn93CDowSr77OYXk=;
 b=QIz3TczSwi1YG0CwBlBMTWN1XA9nPHFR3Kj8RcQ9Cv0r/87GXhqOZNrW4vy+eoK8IMHWa4
 OThvpc3fOUiScIT961lvDJNTeU2BUV9jdRTV9SJpHADW6M6p9kFD9iZAA4kK3/+WtbMYIb
 ymFIaaZOlCmBRQQVSbHnEZVq1tqWARO/wXhMhSdHBNlTnuvkCHxVECFBLVb8+/LKAd851K
 aqU7ggWdOB18i0OaHr1Dh/D9dtbMxvjiYHaNC40+cb57qNUSAM/xRhuuLT/GhK5R2OI925
 yMzZAGgH9GLJYNMmT6fneTxzgNnC6EZ9Em4+vcdgKiRUv6eog1bIbo4G64Jzmw==
Message-ID: <y76pmfii7of.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 04/10] gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
In-Reply-To: <y76r0zyi7p2.wl-hako@HIDDEN>
References: <y76v8pai7sf.wl-hako@HIDDEN>
 <y76tu4ui7qn.wl-hako@HIDDEN>
 <y76sfkei7pr.wl-hako@HIDDEN>
 <y76r0zyi7p2.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details. Content preview: *
 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
 New file. * gnu/local.mk (dist_patch_DATA): Add patch. *
 gnu/packages/telegram.scm
 (webrtc-for-telegram-desktop): Update to [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: xiretza.xyz (xyz)]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

* gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (webrtc-for-telegram-desktop): Update to 621f3da5.
[patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
[snippet]: Unbundle libvpx and openh264.
[native-inputs]: Remove perl.
[inputs]: Replace pipewire with pipewire-0.3.
Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa, openh264.
Remove alsa-lib, libx11 and pulseaudio.
[arguments<#:phases>,license]: Adjusted accordingly.
---
 gnu/local.mk                                  |  1 +
 ...r-telegram-desktop-fix-gcc12-cstdint.patch | 21 ++++++++
 gnu/packages/telegram.scm                     | 52 +++++++++++--------
 3 files changed, 51 insertions(+), 23 deletions(-)
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 44c13c4744..ccb77b50b5 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1974,6 +1974,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/warsow-qfusion-fix-bool-return-type.patch	\
   %D%/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch	\
   %D%/packages/patches/webrtc-audio-processing-big-endian.patch	\
+  %D%/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch   \
   %D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch	\
   %D%/packages/patches/widelands-add-missing-map-include.patch	\
   %D%/packages/patches/widelands-system-wide_minizip.patch	\
diff --git a/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
new file mode 100644
index 0000000000..f1fd29d0d3
--- /dev/null
+++ b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
@@ -0,0 +1,21 @@
+From 86d2bcd7afb8706663d29e30f65863de5a626142 Mon Sep 17 00:00:00 2001
+From: Xiretza <xiretza@HIDDEN>
+Date: Sun, 15 May 2022 12:47:41 +0200
+Subject: [PATCH] fix(h265_pps_parser): fix missing cstdint include
+
+---
+ src/common_video/h265/h265_pps_parser.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/common_video/h265/h265_pps_parser.h b/src/common_video/h265/h265_pps_parser.h
+index 28c95ea9..c180b1b9 100644
+--- a/src/common_video/h265/h265_pps_parser.h
++++ b/src/common_video/h265/h265_pps_parser.h
+@@ -12,6 +12,7 @@
+ #define COMMON_VIDEO_H265_PPS_PARSER_H_
+
+ #include "absl/types/optional.h"
++#include <cstdint>
+
+ namespace rtc {
+ class BitBuffer;
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 6c9869f93e..e7beab5c51 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -30,6 +30,8 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages digest)
   #:use-module (gnu packages fcitx)
   #:use-module (gnu packages fcitx5)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -58,6 +60,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
@@ -297,8 +300,8 @@ (define tgcalls-for-telegram-desktop
       "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
 
 (define-public webrtc-for-telegram-desktop
-  (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
-        (revision "166"))
+  (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
+        (revision "327"))
     (hidden-package
      (package
        (name "webrtc-for-telegram-desktop")
@@ -314,57 +317,62 @@ (define-public webrtc-for-telegram-desktop
           (file-name
            (git-file-name name version))
           (sha256
-           (base32 "0plwdp6xgxi27hif5j7kpq425cidxyxbbga3z2f64dsninwy5p1x"))
+           (base32 "1ks1572k1jj7pmzwm79p2gdgi31dd4bs761bphnx32zyq4c6skxk"))
+          (patches
+           (search-patches
+            ;; https://github.com/desktop-app/tg_owt/pull/101
+            "webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch"))
           (modules '((guix build utils)
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
            #~(begin
                (let ((keep
-                      '( ;; Custom forks which are incompatible with the ones in Guix.
-                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                      '("abseil-cpp" "libsrtp" "rnnoise"
                         ;; Not available in Guix.
-                        "pffft" "usrsctp"
-                        ;; Has cmake support files for libvpx input.
-                        "libvpx")))
+                        "pffft")))
                  (with-directory-excursion "src/third_party"
                    (for-each delete-file-recursively
                              (lset-difference string=?
                                               (scandir ".")
-                                              (cons* "." ".." keep)))))))))
+                                              (cons* "." ".." keep)))))
+               ;; Unbundle openh264.
+               (substitute* "CMakeLists.txt"
+                 (("\\include\\(cmake\\/libopenh264\\.cmake\\)")""))))))
        (build-system cmake-build-system)
        (arguments
         (list
          #:tests? #f                    ; No target
-         #:configure-flags #~(list "-DCMAKE_C_FLAGS=-fPIC"
-                                   "-DCMAKE_CXX_FLAGS=-fPIC")
          #:phases
          #~(modify-phases %standard-phases
-             (add-after 'unpack 'copy-inputs
+             (add-after 'unpack 'unpack-additional-sources
                (lambda _
                  (let* ((third-party (string-append (getcwd) "/src/third_party"))
-                        (libvpx-to (string-append third-party
-                                                  "/libvpx/source/libvpx"))
+                        (crc32c-to (string-append third-party "/crc32c/src"))
                         (libyuv-to (string-append third-party "/libyuv")))
-                   (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
+                   (copy-recursively #$(package-source crc32c) crc32c-to)
                    (copy-recursively #$libyuv-for-telegram-desktop
                                      libyuv-to)))))))
-       (native-inputs (list perl pkg-config python-wrapper yasm))
+       (native-inputs (list pkg-config python-wrapper yasm))
        (inputs
-        (list alsa-lib
+        (list abseil-cpp-cxxstd17
               ffmpeg
               libjpeg-turbo
               glib
+              libdrm
+              libglvnd
+              libvpx
               libxcomposite
               libxdamage
               libxrender
               libxrandr
+              libxfixes
+              mesa
+              openh264
               openssl
               opus
-              pipewire
+              pipewire-0.3
               protobuf
-              pulseaudio
-              libx11
               libxext
               libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
@@ -377,13 +385,11 @@ (define-public webrtc-for-telegram-desktop
          license:asl2.0
          ;; LibYuv
          (license:non-copyleft "file:///src/third_party/libyuv/LICENSE")
-         ;; OpenH264
-         license:bsd-2
          ;; PFFFT
          (license:non-copyleft "file:///src/third_party/pffft/LICENSE")
          ;; RnNoise
          license:gpl3
-         ;; LibSRTP, LibVPx, UsrSCTP and Others
+         ;; LibSRTP, Crc32c and Others
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:31:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 09:31:16 2022
Received: from localhost ([127.0.0.1]:49662 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocoCZ-0005io-L3
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:31:16 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:58342)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocoCY-0005ib-7y
 for 57675 <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:31:14 -0400
Date: Mon, 26 Sep 2022 21:30:49 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664199068;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=5+GEB4hXt6uW+xDIxCo2RyaY2nkv5Mt4dainrY7aeEk=;
 b=rjGh3QOd8hrndh9scJOu6fFKJ4TiUQwP3nQz4z8yex6B/fPK9sTDKZ6/SH1TZGGCDK1Uh+
 JQ7isKctyFbrQHZenIX+7S1UfMTZMmGk/JP6gWu+gkC2EbhmhjqG9H8jbrXyZ84Zh6rwZ9
 esJ3yo6P/ZaUvIsIFVWkX7l+NkuIX6qkCkZaUFw9SJDPgSCXksTo7kjAO2I29bZ5f1Pu9Q
 CiGCKELpLbrPgDEZU5pvQWS+DhxY6aG5sLx9VwJAWR8Gqmxzbv9XoO4lst+zabqsuuRpyu
 12Acph2qMRXFQH6KX4rjr7AgLxVMxkghfzr/MRTrMFSblPzXOZh1os9fSNY6zw==
Message-ID: <y76r0zyi7p2.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 03/10] gnu: Add crc32c.
In-Reply-To: <y76sfkei7pr.wl-hako@HIDDEN>
References: <y76v8pai7sf.wl-hako@HIDDEN>
 <y76tu4ui7qn.wl-hako@HIDDEN>
 <y76sfkei7pr.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/cpp.scm (crc32c): New variable.
* gnu/packages/patches/crc32c-unbundle-googletest.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
---
 gnu/local.mk                                  |  1 +
 gnu/packages/cpp.scm                          | 30 +++++++++++++++++++
 .../patches/crc32c-unbundle-googletest.patch  | 21 +++++++++++++
 3 files changed, 52 insertions(+)
 create mode 100644 gnu/packages/patches/crc32c-unbundle-googletest.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 4e982dc6e3..44c13c4744 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -997,6 +997,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/cpuinfo-system-libraries.patch		\
   %D%/packages/patches/cpulimit-with-glib-2.32.patch		\
   %D%/packages/patches/crawl-upgrade-saves.patch		\
+  %D%/packages/patches/crc32c-unbundle-googletest.patch		\
   %D%/packages/patches/crda-optional-gcrypt.patch		\
   %D%/packages/patches/clucene-contribs-lib.patch               \
   %D%/packages/patches/cube-nocheck.patch			\
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 5e0646444c..f8b3cd2f23 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1916,3 +1916,33 @@ (define-public cpp-mustache
 templated string type for compatibility with any STL-like string (std::string,
 std::wstring, etc).")
     (license license:boost1.0)))
+
+(define-public crc32c
+  (package
+    (name "crc32c")
+    (version "1.1.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/google/crc32c")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0966lyy3w5cnrs0c0fkma4hga51k54hns72l4n76944awqssap7j"))
+              (patches (search-patches "crc32c-unbundle-googletest.patch"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
+                                     "-DCRC32C_BUILD_BENCHMARKS=OFF"
+                                     "-DCRC32C_USE_GLOG=OFF")))
+    (native-inputs (list googletest))
+    (home-page "https://github.com/google/crc32c")
+    (synopsis
+     "CRC32C implementation with support for CPU-specific acceleration
+ instructions")
+    (description
+     "This project collects a few CRC32C implementations under an umbrella
+that dispatches to a suitable implementation based on the host computer's
+hardware capabilities.")
+    (license license:bsd-3)))
diff --git a/gnu/packages/patches/crc32c-unbundle-googletest.patch b/gnu/packages/patches/crc32c-unbundle-googletest.patch
new file mode 100644
index 0000000000..da513c5d4e
--- /dev/null
+++ b/gnu/packages/patches/crc32c-unbundle-googletest.patch
@@ -0,0 +1,21 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8490728..c7f0952 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -315,15 +315,7 @@ if(CRC32C_BUILD_TESTS)
+   set(install_gmock OFF)
+
+   # This project is tested using GoogleTest.
+-  add_subdirectory("third_party/googletest")
+-
+-  # GoogleTest triggers a missing field initializers warning.
+-  if(CRC32C_HAVE_NO_MISSING_FIELD_INITIALIZERS)
+-    set_property(TARGET gtest
+-        APPEND PROPERTY COMPILE_OPTIONS -Wno-missing-field-initializers)
+-    set_property(TARGET gmock
+-        APPEND PROPERTY COMPILE_OPTIONS -Wno-missing-field-initializers)
+-  endif(CRC32C_HAVE_NO_MISSING_FIELD_INITIALIZERS)
++  find_package(GTest REQUIRED)
+
+   add_executable(crc32c_tests "")
+   target_sources(crc32c_tests
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:30:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 09:30:52 2022
Received: from localhost ([127.0.0.1]:49652 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocoCB-0005dm-T3
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:30:52 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:39690)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocoC9-0005MM-DS
 for 57675 <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:30:49 -0400
Date: Mon, 26 Sep 2022 21:30:24 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664199043;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=rXZf8rx19R2FbzJ4250O2kZ5Z1Em9z5N08Nam0kQIe8=;
 b=a9oJbpuw16XRsBevar3KcgkhmJ0W1MAiFLCxiBHFyMG0j7XGmx0vB8UquNOtm4OXVSAj9N
 StiI4zNvHyRPbNovQUcBlm7Ma8yd61wDacfoKOnverSQPzSM/ErZI6HZq8Q5LH0af4aiHQ
 3UmCv8J1nhz09Prxmuo0S+ekqcobJhb6CfBlpvhqd+zJZbJbXmmDVvhHFG6C/EJpiguXJv
 NDz71sgXwdLjG9vWq3hknewMhuZBeVm44n+RmCeuiSijsiYmWVi8TA45byiN6zs5pIkdWF
 LNUvoYcX2lHmpPUz+NI/XDpGXlom442YRr/IPBWpFmBIaGYYxm2dSfBCm0I/qw==
Message-ID: <y76sfkei7pr.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 02/10] gnu: Add abseil-cpp-cxxstd17.
In-Reply-To: <y76tu4ui7qn.wl-hako@HIDDEN>
References: <y76v8pai7sf.wl-hako@HIDDEN>
 <y76tu4ui7qn.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable.
---
 gnu/packages/cpp.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d03e0bc7e1..5e0646444c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1041,6 +1041,15 @@ (define-public abseil-cpp
           `(cons* "-DBUILD_TESTING=ON"
                   (delete "-DABSL_RUN_TESTS=ON" ,flags))))))))
 
+(define-public abseil-cpp-cxxstd17
+  (let ((base abseil-cpp))
+    (hidden-package
+     (package/inherit base
+       (arguments
+        (substitute-keyword-arguments (package-arguments base)
+          ((#:configure-flags flags)
+           #~(cons* "-DCMAKE_CXX_STANDARD=17" #$flags))))))))
+
 (define-public pegtl
   (package
     (name "pegtl")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:30:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 09:30:19 2022
Received: from localhost ([127.0.0.1]:49649 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocoBf-0004IQ-2S
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:30:19 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:59898)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocoBd-0003vX-En
 for 57675 <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:30:18 -0400
Date: Mon, 26 Sep 2022 21:29:52 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664199011;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=CZcDoAZI+g3ROrEUip5J9nuX3nyQ1O5Qy5926oMGSj4=;
 b=mAopYMsxKfo9K0oe33Dh8foZRWJ1WUzt/AADxyxLYuj0SgBWPUE1H8xJaQN8k1LqSVfUdR
 dc9DNEWkrd0qbOOzt9ponvtoD/bf4ScTmlD7U0T5nlQ5NdZRCCo+B4REvXHw2c7gBVUaXR
 ewrvD9D5BACylmjwfLITN1DiICz8DFcQzIISVt1JE6XD8qAvfPYYLZnXlz2RDDWJjRfq18
 9VYL3PGGokNWEx7Q/B0ef53vYw2gs4cj0/NZxoIlFC3LaO5HeofDvsu0iMAya5sgAFzw1P
 L0qNeKb/8tHZQGrRAIHmiJAYk7C0g6GT1nBh5Vd7TigupDvre/y8SI8Zk4mxOg==
Message-ID: <y76tu4ui7qn.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 01/10] gnu: kcoreaddons: Update to 5.98.0.
In-Reply-To: <y76v8pai7sf.wl-hako@HIDDEN>
References: <y76v8pai7sf.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (kcoreaddons): Update to 5.98.0.
[arguments]<#:phases>: Update blocklist for failing tests.
---
 gnu/packages/kde-frameworks.scm | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 738013fdba..61cbf19bc4 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -88,7 +88,7 @@ (define-module (gnu packages kde-frameworks)
 (define-public extra-cmake-modules
   (package
     (name "extra-cmake-modules")
-    (version "5.91.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -97,7 +97,7 @@ (define-public extra-cmake-modules
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0k65rvxh926ya6qahzk2ns7g1fya1429648mlx7iipxa61g8h5wp"))))
+                "0669m98vqy4hpacfjs7xpgjj1bns24kjybrjipxzp82092g8y69w"))))
     (build-system cmake-build-system)
     (native-inputs
      ;; Add test dependency, except on armhf where building it is too
@@ -574,7 +574,7 @@ (define-public kconfig
 (define-public kcoreaddons
   (package
     (name "kcoreaddons")
-    (version "5.70.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -583,7 +583,7 @@ (define-public kcoreaddons
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "10a7zys3limsawl7lk9ggymk3msk2bp0y8hp0jmsvk3l405pd1ps"))))
+                "0lqmyxqsw7w1qgdgmax63v64cy7dwk7n4zi8k53xmrqjmd9jir52"))))
     (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules qttools-5 shared-mime-info
@@ -602,21 +602,12 @@ (define-public kcoreaddons
                  ;; FIXME: Make it pass.  Test failure caused by stout/stderr
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
-                 ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))
-             #t))
-         ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
-         (add-after 'unpack 'fix-broken-test
-           (lambda _
-             (substitute* "autotests/kdirwatch_unittest.cpp"
-               (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))
-             #t))
+                 ;; FIXME
+                 (display "[test_inheritance]\n*\n")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-             (setenv "TMPDIR" (getcwd))
-             #t)))))
+             (setenv "TMPDIR" (getcwd)))))))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Qt addon library with a collection of non-GUI utilities")
     (description "KCoreAddons provides classes built on top of QtCore to
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:29:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 09:29:38 2022
Received: from localhost ([127.0.0.1]:49644 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocoAz-0003RJ-On
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:29:37 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:45468)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocoAw-0003R4-GX
 for 57675 <at> debbugs.gnu.org; Mon, 26 Sep 2022 09:29:36 -0400
Date: Mon, 26 Sep 2022 21:28:48 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664198967;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type;
 bh=qffeQ5PdM3HtnDfuPJjzQ/zpEqHeXrD4QxJz5zz46QU=;
 b=nAj+qaoh4HqHwr3hOPWvJDmsUjOou7wlTO9gqgv7rukdeb+FwPlV34tD0OufpGt5AHoc9/
 1xOlFzdqEO08GhvjYpUbImWJaAtkCncEHNO6OY++N0IIcxFRTymnefYsFi2rGxW23v9+mm
 tN/wk/lY2Km9HzKPdnHJpvrjgOVJJZicdUwTG/P9v/MH5Lom+fKxKcDkXXyE7pvdRV86cA
 QVPexvyIW3sPHxjmOYekC+aypxqvx4gQagkjtzm55iVJ3QqHeSw2Fja8OCzd1+qjSoONPy
 MMsGPvmsSY52Na0Bt+rmq0p9a3/8Gflxl4Fvj1JE3KwyFf1WVWuLrTKkT69Wgw==
Message-ID: <y76v8pai7sf.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 00/10] gnu: telegram-desktop: Update to 4.2.2.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

v11 -> v12:
1. Update telegram-desktop to 4.2.2.
2. Package crc32c and libdispatch, unbundle the latter one.

Hilton Chain (10):
  gnu: kcoreaddons: Update to 5.98.0.
  gnu: Add abseil-cpp-cxxstd17.
  gnu: Add crc32c.
  gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
  gnu: webrtc-for-telegram-desktop: Order inputs alphabetically.
  gnu: Remove libvpx-for-telegram-desktop.
  gnu: Add libdispatch.
  gnu: telegram-desktop: Update to 4.2.2.
  gnu: telegram-desktop: Order inputs alphabetically.
  gnu: telegram: Remove unused variables.

 gnu/local.mk                                  |   3 +
 gnu/packages/c.scm                            |  26 ++
 gnu/packages/cpp.scm                          |  39 +++
 gnu/packages/kde-frameworks.scm               |  23 +-
 .../patches/crc32c-unbundle-googletest.patch  |  21 ++
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 ++++++++
 ...r-telegram-desktop-fix-gcc12-cstdint.patch |  21 ++
 gnu/packages/telegram.scm                     | 290 ++++++------------
 8 files changed, 344 insertions(+), 204 deletions(-)
 create mode 100644 gnu/packages/patches/crc32c-unbundle-googletest.patch
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch


base-commit: 9e4164c6ffaa8e39e9a15a0cffa9293bfe28e4b9
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 25 Sep 2022 13:11:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 25 09:11:50 2022
Received: from localhost ([127.0.0.1]:46142 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocRQE-0006oB-Es
	for submit <at> debbugs.gnu.org; Sun, 25 Sep 2022 09:11:50 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:57620)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocRQC-0006nw-Dl
 for 57675 <at> debbugs.gnu.org; Sun, 25 Sep 2022 09:11:49 -0400
Date: Sun, 25 Sep 2022 21:11:03 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664111499;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=DOkEIp1aoEJ6HCUCwycjiRTYiD97LtfLedXPCSyNyDs=;
 b=NEk2ToV8w1u7hVBTOgtJQtejlCmRwdpHvYTGp8RLS6dSMBGqfs/m3uP2KKR+uiXWQTTHQv
 8NDg0s1Lre+9MPOCCZuMMUGVkmFhLcchRkxmlSCkfPARM4EeZExthB/85anRAmmcTJiFbO
 nnBAtfKYu46oTgwMGF2bDWZWSp9V+z0j6GPed3/0UXtFo7kyGQbdeLVDJMzhbBSOkPKBTS
 Xf8eln+ZhbsMyD2ggVsWRE3uMHmSArd6FVGHXDDJjzmqKUN+eccd6LZ5yq/aV0us5MvksR
 Hnr8ueMLLeJp4JqVlP4qEkdDWeiYEn02LAYljHuOSwXNH3fUDs655I0LpCAzzA==
Message-ID: <y76a66nr448.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Subject: Re: [PATCH v11 7/8] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <y76o7v4q7i1.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN>
 <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN>
 <y76h70xckoe.wl-hako@HIDDEN>
 <y76fsghcknm.wl-hako@HIDDEN>
 <y76edw1ckms.wl-hako@HIDDEN>
 <y76czblcklw.wl-hako@HIDDEN>
 <aca79d73c382929b091a7430724a64153cb3ddbf.camel@HIDDEN>
 <y7635cggwiz.wl-hako@HIDDEN>
 <dc21102c7f2368d65dbe626d650e29e868156524.camel@HIDDEN>
 <y76o7v40ykl.wl-hako@HIDDEN>
 <dab78f83f85a7e95d4cacfc6fbaed7c47eed04e6.camel@HIDDEN>
 <y76o7v4q7i1.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: 57675 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

It turns out that static or dynamic is actually unrelated.

>+if (NOT Crc32c_FOUND)
>+    list(APPEND export_targets libcrc32c)
>+endif()

Don't know why but Crc32c_FOUND seems to be false here.




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 25 Sep 2022 06:44:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 25 02:44:12 2022
Received: from localhost ([127.0.0.1]:45737 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocLN6-0000oM-G7
	for submit <at> debbugs.gnu.org; Sun, 25 Sep 2022 02:44:12 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:52814)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocLN1-0000nf-Bn
 for 57675 <at> debbugs.gnu.org; Sun, 25 Sep 2022 02:44:11 -0400
Date: Sun, 25 Sep 2022 14:43:18 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664088237;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=+tsyI3GAm9Eg/0Agzq/jJ1xncpS2mx2i0MNhlxLcc0A=;
 b=IuRpJZ1EBQl0MjGE5StzMbgW4p7521n9IF4kWRZ/U6FBgZYuu6OyY0UFL4PpeemD2qhd1H
 wMxoaUU4hC7to0A4eyQzayWlgqEStc25JVJa1qwgmSkZxg/uVbut8giTZ8Bf99XThhPj94
 BcgfAMzMAuJCJr5lXC0/wE0RopUJ0PO7M/x2PG+Pa5l4nUc1FFuTmLPMZFl2oGvBFGskd/
 GThnYzpnPet31P1I8dYbgFgbcA2yYmgyLMuJYRwURTy4qHk7VYXTmQLn4JuSW1cE0Ojjqi
 hQc0sWwT/lUu7SvQ31qY/3hpQbb33gmClMhMwJUhndmWztmn4u7gOuTO/gydJA==
Message-ID: <y76o7v4q7i1.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Subject: Re: [PATCH v11 7/8] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <dab78f83f85a7e95d4cacfc6fbaed7c47eed04e6.camel@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN>
 <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN>
 <y76h70xckoe.wl-hako@HIDDEN>
 <y76fsghcknm.wl-hako@HIDDEN>
 <y76edw1ckms.wl-hako@HIDDEN>
 <y76czblcklw.wl-hako@HIDDEN>
 <aca79d73c382929b091a7430724a64153cb3ddbf.camel@HIDDEN>
 <y7635cggwiz.wl-hako@HIDDEN>
 <dc21102c7f2368d65dbe626d650e29e868156524.camel@HIDDEN>
 <y76o7v40ykl.wl-hako@HIDDEN>
 <dab78f83f85a7e95d4cacfc6fbaed7c47eed04e6.camel@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: 57675 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Sun, 25 Sep 2022 14:31:47 +0800,
Liliana Marie Prikler wrote:
> looks like the culprit, but also sane; maybe your Crc32c "package"
> according to CMake is missing the crc32c library?  Are you actually
> building it as a package and using it as regular input?

Just found out I built it as a static library... Orz




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 25 Sep 2022 06:31:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 25 02:31:58 2022
Received: from localhost ([127.0.0.1]:45719 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocLBG-0000Ui-18
	for submit <at> debbugs.gnu.org; Sun, 25 Sep 2022 02:31:58 -0400
Received: from mail-ej1-f66.google.com ([209.85.218.66]:46675)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1ocLBC-0000UR-8S
 for 57675 <at> debbugs.gnu.org; Sun, 25 Sep 2022 02:31:56 -0400
Received: by mail-ej1-f66.google.com with SMTP id bj12so8121121ejb.13
 for <57675 <at> debbugs.gnu.org>; Sat, 24 Sep 2022 23:31:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date; bh=RaWB5C6pZ9/QgYnLb1vo2dLxvkDJs9fIDHMrrMERHWc=;
 b=gCaTn+RQlTjZceuyJHkvWbkyo6a+eFvomGGSZw9MJ667l3EqkBc6K78SzZe1GJAMSR
 wy1LyulndxXXEopk++8SX5odwcDX5erqQ5rkFSOkYUvbEXLD7Pu3lwTTBhTkib46o/iM
 Rpj+9VQS9JlZ1/wc7p9bPFkHQPTCGb77on6pCrUyf7NYxybSqSpWYb9nziGNBkgYY4NB
 zor5DBIQ0wWIMbJZSfwP306ERYjNkvGEjQRimaJSJppJTEEkj9/vRZe50ulNyIfQLyTE
 4ZK3znuERe4BIBXbA8/WHM4cH0rcesY3CZjuCfqGzXXAgaIgtOhgVCobL2IhybqvcaWZ
 5XSg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date;
 bh=RaWB5C6pZ9/QgYnLb1vo2dLxvkDJs9fIDHMrrMERHWc=;
 b=TQs5IzI7Id9ZRMUcKheBfBoa/nCy1MAmbldiqXu7TCtYSLL7d7+bOYx486Vo7dexL2
 ap8NU/3qxtDfkwnYv2jolBkNUOPyoJEhfJrhmg46BYcwWu/0wRrW/I5COJ90PEUI+b8H
 8nOHU1mJq01WZwdOUZpM935dL8zu7ig9Qr5ZhMcgAxunWC8nPofytK4UQAj4zwXyxJui
 qE37ZOLPWF82QyvsLa0XYrXucUqJfxoRLgVLB7Th2moVwuenNHIgdYKShw1742r8+q4g
 ylp6hXRt7HcCqSZBlwmoW8o2NVsZML3TXskXlbfdJyb7c9bzJyBmgCojJDMnCIO1gPTF
 /tlQ==
X-Gm-Message-State: ACrzQf1hfrqOybB+25YnXNO2n1XZD+8Gdj1nB4XOgIuITIg79U+z5t+w
 yYGW2kIthvrxSoyDe8De/H4=
X-Google-Smtp-Source: AMsMyM6OOt44bCH/ZieLRYtmAHVuvIX0AtGFpigBZG2FBWtvPShzv3LLDCkS04EjONy6v2UDHrypzw==
X-Received: by 2002:a17:906:ee89:b0:73d:70c5:1a4e with SMTP id
 wt9-20020a170906ee8900b0073d70c51a4emr12803370ejb.683.1664087508425; 
 Sat, 24 Sep 2022 23:31:48 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 s14-20020aa7cb0e000000b0044e7862ab3fsm8961423edt.7.2022.09.24.23.31.47
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 24 Sep 2022 23:31:48 -0700 (PDT)
Message-ID: <dab78f83f85a7e95d4cacfc6fbaed7c47eed04e6.camel@HIDDEN>
Subject: Re: [PATCH v11 7/8] gnu: telegram-desktop: Update to 4.2.0.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>
Date: Sun, 25 Sep 2022 08:31:47 +0200
In-Reply-To: <y76o7v40ykl.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN> <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN> <y76h70xckoe.wl-hako@HIDDEN>
 <y76fsghcknm.wl-hako@HIDDEN> <y76edw1ckms.wl-hako@HIDDEN>
 <y76czblcklw.wl-hako@HIDDEN>
 <aca79d73c382929b091a7430724a64153cb3ddbf.camel@HIDDEN>
 <y7635cggwiz.wl-hako@HIDDEN>
 <dc21102c7f2368d65dbe626d650e29e868156524.camel@HIDDEN>
 <y76o7v40ykl.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.0 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: 57675 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Am Sonntag, dem 25.09.2022 um 14:15 +0800 schrieb Hilton Chain:
> On Sun, 25 Sep 2022 13:54:18 +0800,
> Liliana Marie Prikler wrote:
> > Uhm... which patch is "Gentoo's patch"?=C2=A0 I don't see anything
> > relevant
> > here [1].
>=20
> It's here:
> https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/tg_owt/files

This hunk
> function(link_crc32c target_name)
>     if (TG_OWT_PACKAGED_BUILD)
>         find_package(Crc32c)
>         set(Crc32c_FOUND ${Crc32c_FOUND} PARENT_SCOPE)
>         if (Crc32c_FOUND)
>             target_link_libraries(${target_name} PRIVATE
> Crc32c::crc32c)
>         endif()
>     endif()
>     if (NOT Crc32c_FOUND)
>         target_link_libraries(${target_name} PRIVATE
> tg_owt::libcrc32c)
>     endif()
> endfunction()
looks like the culprit, but also sane; maybe your Crc32c "package"
according to CMake is missing the crc32c library?  Are you actually
building it as a package and using it as regular input?

Cheers




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 25 Sep 2022 06:16:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 25 02:16:12 2022
Received: from localhost ([127.0.0.1]:45705 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocKvz-0008WG-Rk
	for submit <at> debbugs.gnu.org; Sun, 25 Sep 2022 02:16:12 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:36856)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocKvx-0008W0-5r
 for 57675 <at> debbugs.gnu.org; Sun, 25 Sep 2022 02:16:10 -0400
Date: Sun, 25 Sep 2022 14:15:22 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664086561;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=zj4kuZS/ZF2wRv/yHvbconGP857RAo7n+SVx4TcwsX4=;
 b=DI9Mt971wmEetXYINBpJmtSQYuwvuJF9U2WOW2kKYSa5bkkJsUTF6+W//Yv/DAyyweKFgn
 UT4EZNDOmGj6M41hx3NHCgK/dIpSDpKZRbVs2Rmd+QhBxJ12S5LW2LiIF+YtGs2qhA6KyM
 mIql4N7zk2eCJiArekx/iTLnn6e8toPd8IxE3CENWxSi/W30ClzJRjIVZzJ0deukgx4cAV
 5jx9yS0RkxQCFXcyiuuAyoc8/TrNjdAihDGqY41Gy9gW7ochu7jqLqNZ6Ik5ytbz4TrkBW
 v/86WEvc080K1oq6iyDFBn2PsE4w5XSYYPbMHj3E+bKAcNXrGVstHio8CQGvLg==
Message-ID: <y76o7v40ykl.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Subject: Re: [PATCH v11 7/8] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <dc21102c7f2368d65dbe626d650e29e868156524.camel@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN>
 <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN>
 <y76h70xckoe.wl-hako@HIDDEN>
 <y76fsghcknm.wl-hako@HIDDEN>
 <y76edw1ckms.wl-hako@HIDDEN>
 <y76czblcklw.wl-hako@HIDDEN>
 <aca79d73c382929b091a7430724a64153cb3ddbf.camel@HIDDEN>
 <y7635cggwiz.wl-hako@HIDDEN>
 <dc21102c7f2368d65dbe626d650e29e868156524.camel@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: 57675 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Sun, 25 Sep 2022 13:54:18 +0800,
Liliana Marie Prikler wrote:
> Uhm... which patch is "Gentoo's patch"?  I don't see anything relevant
> here [1].

It's here:
https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/tg_owt/files




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 25 Sep 2022 05:54:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 25 01:54:28 2022
Received: from localhost ([127.0.0.1]:45692 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocKay-0007yi-6o
	for submit <at> debbugs.gnu.org; Sun, 25 Sep 2022 01:54:28 -0400
Received: from mail-ej1-f65.google.com ([209.85.218.65]:34458)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1ocKaw-0007yV-1q
 for 57675 <at> debbugs.gnu.org; Sun, 25 Sep 2022 01:54:27 -0400
Received: by mail-ej1-f65.google.com with SMTP id y3so8156611ejc.1
 for <57675 <at> debbugs.gnu.org>; Sat, 24 Sep 2022 22:54:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date; bh=+34yVbo6LQ+lcKVSeRYww2kAjxTiqQq5mPoyUB2cFHI=;
 b=BNZIEyPRFZmOwGmqU13KPnMm2IPwdLv435/OYt5+yBVMvhIAIE0Sdt/hmBMwajYyVZ
 uBSMIpcUT6FJHGbMNj2oWndXfcMeySAV3YOWcFDLZZdEHLpvNuhg9JCR1rt2m/spB8w6
 cCxaOpC07UJsKL2v9+JZZxC98UBKuitKDTr+oR8Sk6RdZMtp2TqKDv64BVtGPrN7q87w
 2tXOf2fL65B9SQm7Y9RCpezsVDQJNUMsfZNMc2iFo3Y2ljwfNlsTF9R3D0sMQKOy1XW+
 Iy+1fyx5gvD9yJ1DYRvvvnRkGw+OCVFHH2EuBsYAMlRFR09ysLXw4fxhbCu6lkIyoBTo
 fZ8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date;
 bh=+34yVbo6LQ+lcKVSeRYww2kAjxTiqQq5mPoyUB2cFHI=;
 b=CCVbJa8rN1G1iJppNVrQ5y5zDiZ8UqAfOLfYH0qU+vkBv7TFX4bgkaQHuTrDfIuclw
 hExZPqaPFHFCMFA72Cldl7gy/5UF89pPxzMq8qAIb/7YGbFAOMMF+GpDybXa3kKXNiI0
 EnvJum5jg9nIuLb6S8/NPq0YkSVmkbwT9JaUfCXz6sX1JI5QqN2MuUUtC8/FqnTYPbEi
 hOqH8ylWDbUZxYvPpDeprJbaPqHJMeIQsNd8wKINZKRR/Qw5bDnuqYlTH7WeiWBv2PqO
 NFfkJ8pPcqxo7BBKSE8Du19ZLercuuWgBJnacSwHrhBrJZ5NknjW6l2YOBaSOG2tZ3y4
 q4uw==
X-Gm-Message-State: ACrzQf3cJCs8/cjfck4ngoJw040BSnHSy/OiD9V/OJdKu/k5MBiG0zuX
 gix5O/2kZOhFBW7BsiEpdp0=
X-Google-Smtp-Source: AMsMyM7yMZqxtEpyeSprGoHnwsqkll26eErt1Q1kC/FhSSug/llTM+s1e8PAAURyk+xeBOz8vlCrXA==
X-Received: by 2002:a17:907:2721:b0:77f:d471:47b3 with SMTP id
 d1-20020a170907272100b0077fd47147b3mr13704589ejl.591.1664085260225; 
 Sat, 24 Sep 2022 22:54:20 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 en26-20020a056402529a00b0043ba7df7a42sm8846572edb.26.2022.09.24.22.54.19
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 24 Sep 2022 22:54:19 -0700 (PDT)
Message-ID: <dc21102c7f2368d65dbe626d650e29e868156524.camel@HIDDEN>
Subject: Re: [PATCH v11 7/8] gnu: telegram-desktop: Update to 4.2.0.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>
Date: Sun, 25 Sep 2022 07:54:18 +0200
In-Reply-To: <y7635cggwiz.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN> <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN> <y76h70xckoe.wl-hako@HIDDEN>
 <y76fsghcknm.wl-hako@HIDDEN> <y76edw1ckms.wl-hako@HIDDEN>
 <y76czblcklw.wl-hako@HIDDEN>
 <aca79d73c382929b091a7430724a64153cb3ddbf.camel@HIDDEN>
 <y7635cggwiz.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.0 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: 57675 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Am Sonntag, dem 25.09.2022 um 07:52 +0800 schrieb Hilton Chain:
> On Sat, 24 Sep 2022 15:58:33 +0800,
> Liliana Marie Prikler wrote:
> > Please introduce this in an earlier commit.=C2=A0 Also, since this is a
> > third-party package, not a telegram-owned one, it'd be nice if we
> > could use upstream versioning, but that seems tied to another
> > package too (swift in particular).=C2=A0 Alternatively, you could simpl=
y
> > use "1.3" as per CMakeLists as a base point.
>=20
> I'd tried packaging both crc32c and libdispatch, are those two names
> suitable? And then, what's the proper place to place libdispatch in?
Probably maybe. I'm not aware of any other project taking their name
(apart from forks, obviously), and they're more than 3 letters each, so
I think it'll be fine. As for the location of libdispatch, if we had a
swift.scm (which we probably won't until someone packages swift), it'd
go there, but for now c.scm is fine imho.

> Applied Gentoo's patch (for unbundling crc32c) to webrtc-for-
> telegram-desktop, however when
> configuring telegram-desktop with this, it errors out as follows,
> what should I do next?
Uhm... which patch is "Gentoo's patch"?  I don't see anything relevant
here [1].

> #+BEGIN_QUOTE
> CMake Error at Telegram/CMakeLists.txt:7 (add_executable):
> =C2=A0 Target "Telegram" links to target "Crc32c::crc32c" but the target
> was not
> =C2=A0 found.=C2=A0 Perhaps a find_package() call is missing for an IMPOR=
TED
> target, or
> =C2=A0 an ALIAS target is missing?
>=20
> CMake Error at Telegram/cmake/lib_tgcalls.cmake:7 (add_library):
> =C2=A0 Target "lib_tgcalls" links to target "Crc32c::crc32c" but the
> target was
> =C2=A0 not found.=C2=A0 Perhaps a find_package() call is missing for an
> IMPORTED
> =C2=A0 target, or an ALIAS target is missing?
> Call Stack (most recent call first):
> =C2=A0 Telegram/CMakeLists.txt:34 (include)
>=20
>=20
> CMake Error at Telegram/cmake/td_ui.cmake:7 (add_library):
> =C2=A0 Target "td_ui" links to target "Crc32c::crc32c" but the target was
> not
> =C2=A0 found.=C2=A0 Perhaps a find_package() call is missing for an IMPOR=
TED
> target, or
> =C2=A0 an ALIAS target is missing?
> Call Stack (most recent call first):
> =C2=A0 Telegram/CMakeLists.txt:39 (include)
> #+END_QUOTE
Hmm, I think you'll have to patch the CMakeLists, which expect a
slightly different version.  You could also try packaging a second
crc32c, which inherits from upstream, but uses the Telegram-blessed
commit.

Cheers

[1] https://gitweb.gentoo.org/repo/gentoo.git/tree/net-im/telegram-desktop/=
files




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 23:53:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 19:53:17 2022
Received: from localhost ([127.0.0.1]:45500 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocExR-0004dB-A6
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 19:53:17 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:44354)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ocExP-0004cy-RP
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 19:53:16 -0400
Date: Sun, 25 Sep 2022 07:52:52 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664063589;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=yj8MchZ61Bmz+wCN9sxTVD//zGTg/VlBRNfqpHFEsLc=;
 b=vvVXJZQOvrR5VfhIBAnUWSZcfOrguxO+8JfxTTRxRZGrrHJqSmCVdlaHxGw9TCTUSZ1CV2
 jRHtePxheYANaaLoHCy4CSz/f+yK9ZPVBcczyeYEY2cfT1Hp50XlsPVbprPYaXZ4OuhJk4
 u/P4facYHnmF00XmVYdOH3D/bZt5VqrIgA4g1/DdpWHscIKlGAQd3vMIjQvNsrnfEfKcis
 HsbVsIfHRaDuPGZa7DJQlXuL1UgRPbTaK96ipHDaW5Yj5e1OMHU1l9h74y5dz0HOs115et
 WY9wBkG7qPh8YzAfM0J/pajLeRjDagdhVACCajH7kwpBvH/7zNH2EIE5eujt6g==
Message-ID: <y7635cggwiz.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Subject: Re: [PATCH v11 7/8] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <aca79d73c382929b091a7430724a64153cb3ddbf.camel@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN>
 <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN>
 <y76h70xckoe.wl-hako@HIDDEN>
 <y76fsghcknm.wl-hako@HIDDEN>
 <y76edw1ckms.wl-hako@HIDDEN>
 <y76czblcklw.wl-hako@HIDDEN>
 <aca79d73c382929b091a7430724a64153cb3ddbf.camel@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: 57675 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Sat, 24 Sep 2022 15:58:33 +0800,
Liliana Marie Prikler wrote:
> Please introduce this in an earlier commit.  Also, since this is a
> third-party package, not a telegram-owned one, it'd be nice if we could
> use upstream versioning, but that seems tied to another package too
> (swift in particular).  Alternatively, you could simply use "1.3" as
> per CMakeLists as a base point.

I'd tried packaging both crc32c and libdispatch, are those two names suitable? And then, what's the
proper place to place libdispatch in?

Applied Gentoo's patch (for unbundling crc32c) to webrtc-for-telegram-desktop, however when
configuring telegram-desktop with this, it errors out as follows, what should I do next?

#+BEGIN_QUOTE
CMake Error at Telegram/CMakeLists.txt:7 (add_executable):
  Target "Telegram" links to target "Crc32c::crc32c" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at Telegram/cmake/lib_tgcalls.cmake:7 (add_library):
  Target "lib_tgcalls" links to target "Crc32c::crc32c" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  Telegram/CMakeLists.txt:34 (include)


CMake Error at Telegram/cmake/td_ui.cmake:7 (add_library):
  Target "td_ui" links to target "Crc32c::crc32c" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  Telegram/CMakeLists.txt:39 (include)
#+END_QUOTE

Thanks




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:58:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 03:58:42 2022
Received: from localhost ([127.0.0.1]:42233 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oc03e-0007g6-Ep
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:58:42 -0400
Received: from mail-ed1-f67.google.com ([209.85.208.67]:35462)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1oc03c-0007ft-Am
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:58:40 -0400
Received: by mail-ed1-f67.google.com with SMTP id c30so1717436edn.2
 for <57675 <at> debbugs.gnu.org>; Sat, 24 Sep 2022 00:58:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date;
 bh=oLCK634XCCRrn/3yLtScmAAqewxlra12C/JRtjdNam0=;
 b=O1yEBfrLWO41LQ0QMbhb3YpHBQmtNZDRUnrusrRNELWfDTFhU2NmYpv+TUdj1zfF+x
 yUBM/wYwNnB5+SItiAzvCToF8xBMdXABYkl3eshk3yyhDvnJ7OHb3jiELFImHJyqVLK2
 0Bh77UlYngefOWOiX6l1vgE5KY6Ty/g1fkt8Gz3eNNIv+tvzro9RCjct8AsmV3xOKNNT
 2E+OgXMPUfcNHbqYGlzydZ83suAcZ2dTrK215FXyG2luokipPw4BKGgLiEGaG8F7yK2g
 o6xm6xLl9sdTBIQgARn2GNGOO+GoeL/1GoTLfP6F+kNqFC/quHMrHCobsPF8shA5Bc90
 ToDA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date;
 bh=oLCK634XCCRrn/3yLtScmAAqewxlra12C/JRtjdNam0=;
 b=h10lXOIC+31xhhX8ngWk8YCwvW7Tl5H701brf6VAswruuKfc7lSlCZbCHTu91/b/Sz
 3Wgq4SL1dAr4Y+xtl8KajbOGX9u0iKMUGdOnuKt+WuhJXUPNUAyE0BjYrG8FTsOUm/WK
 pds/mbShIFhSIQ7ZLweDDYDc4FImSYQ2UwMYK4WaCDzM2JA4/RfgoOdCKfeBNpcX6LEP
 KaOXPB2SlhT85mA92NUQ2Ai71rqGL6wQcSZMo+30sSLgKjJkTObAVPauZQ+MeQpKX3+b
 z4MZkw50FYXgdomJCqyL36fmw7IQ3xgELU9Bgyv1gMWPpsM2KZDydb/mWyREKNAJdbAB
 IanA==
X-Gm-Message-State: ACrzQf0eqfReJ9UYD5ds1uUpp/nPqF4KOGidwfN9ZvP/uPvo9YWLE0N1
 ZJvJj+ypW1N992TLE/ku398=
X-Google-Smtp-Source: AMsMyM4tCUbH0VxqBVeCifgae0wmsYswv5tYGpdeKog2hQj/oPx2rZP3tP2rDVEvm2hsiNb2aHk4Nw==
X-Received: by 2002:a50:cc07:0:b0:453:4427:a918 with SMTP id
 m7-20020a50cc07000000b004534427a918mr12398074edi.121.1664006314499; 
 Sat, 24 Sep 2022 00:58:34 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 f14-20020a17090631ce00b0073d7ab84375sm5111080ejf.92.2022.09.24.00.58.33
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 24 Sep 2022 00:58:34 -0700 (PDT)
Message-ID: <aca79d73c382929b091a7430724a64153cb3ddbf.camel@HIDDEN>
Subject: Re: [PATCH v11 7/8] gnu: telegram-desktop: Update to 4.2.0.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>, 57675 <at> debbugs.gnu.org
Date: Sat, 24 Sep 2022 09:58:33 +0200
In-Reply-To: <y76czblcklw.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN> <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN> <y76h70xckoe.wl-hako@HIDDEN>
 <y76fsghcknm.wl-hako@HIDDEN> <y76edw1ckms.wl-hako@HIDDEN>
 <y76czblcklw.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.0 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Am Samstag, dem 24.09.2022 um 15:11 +0800 schrieb Hilton Chain:
> * gnu/packages/telegram.scm (dispatch-for-telegram-desktop): New
> variable.
Please introduce this in an earlier commit.  Also, since this is a
third-party package, not a telegram-owned one, it'd be nice if we could
use upstream versioning, but that seems tied to another package too
(swift in particular).  Alternatively, you could simply use "1.3" as
per CMakeLists as a base point.

Cheers




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:46:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 03:46:52 2022
Received: from localhost ([127.0.0.1]:42218 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obzsB-0007N9-V5
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:46:52 -0400
Received: from mail-ed1-f66.google.com ([209.85.208.66]:43715)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1obzsA-0007Mv-Mg
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:46:51 -0400
Received: by mail-ed1-f66.google.com with SMTP id y8so2828447edc.10
 for <57675 <at> debbugs.gnu.org>; Sat, 24 Sep 2022 00:46:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date;
 bh=YKPeWeMq8vTvz7pANkLjAjWRs8SrYo0lFXKQ35BKo7A=;
 b=aUKYKko6kA6KLuaEi9coitNb5ObMnJfSv18g1qz2CYAFXfb2eaoGyOLZ1mxqOSP9U4
 TKgfm7jG4c0NEtYQHKB462UM4c54ZCamxtjjZHophaetAcx+joK8HKdyXPafVCxsc6ob
 VR0pKYV1tdPmbY5LQ/LKcCoqMwkIrm4JqY3amIfZ05aei7YfOpdokE7NvlXMBahvedyR
 2OovYHwJ+AqoEJWTc9x5NjFpjUVgOO4rWa+sBuLjAZxUBjW0kmB7TaomPuax1SAnOfTN
 7wnwJVv57b4UpUtuG+qCFqJqcx5CdINH0AQAiVqPPm6OdOi2MNz4y689G+/SMXXoQ5aR
 56fw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date;
 bh=YKPeWeMq8vTvz7pANkLjAjWRs8SrYo0lFXKQ35BKo7A=;
 b=SRARR5Av1fROqOMm/RrlAUhnKLOly52iqzlqSoumxdri9NqXT9+VtMES/hcn/sGbQa
 PkcE3e7BZDOH8xWQkPRI6COsXG5ao8cp6TYH9+I79rZYvrfZCtx9wd8HFMsiMMZpn8US
 lSGwGvxzR+sWJ8h2ryxANIbPIka0X2ZyfasupQvsKpSZTV9tEkgk7kGum8UIyRxtRyaV
 /gF+qPBaV56lxIS2meu8hL3X8mopegAdFpJRu8RPMQjViY8zxv02JF/LB5pImh6SGYti
 fjmnZs8IuMtVeiOAeNJKVVX+fQ4+9eUf24MdUHa7Dz5ZJy9BTQbbcfobEofcf6g7KxcK
 70Dw==
X-Gm-Message-State: ACrzQf3ntFTA/2XjIUC5W44Z6e0edv1Km+3VR4yXcL30RA15ak+sxhx4
 AIbP7LJJIKXxUFrpbNnhR1g=
X-Google-Smtp-Source: AMsMyM5Ipr1ZfqAq/B+OkMIaoAe7uF5hVPsTM6wWX8bOrQW3NammU8ZpoaKWbdYYMXV8/XF7I7a/KQ==
X-Received: by 2002:aa7:d693:0:b0:456:e6ba:ecf6 with SMTP id
 d19-20020aa7d693000000b00456e6baecf6mr3498398edr.201.1664005604815; 
 Sat, 24 Sep 2022 00:46:44 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 ci2-20020a170906c34200b0073d796a1043sm5066954ejb.123.2022.09.24.00.46.44
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 24 Sep 2022 00:46:44 -0700 (PDT)
Message-ID: <3cc226792a82ba58b88c92d39edaa38265efe925.camel@HIDDEN>
Subject: Re: [PATCH v11 5/8] gnu: webrtc-for-telegram-desktop: Update to
 621f3da5.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>, 57675 <at> debbugs.gnu.org
Date: Sat, 24 Sep 2022 09:46:43 +0200
In-Reply-To: <y76fsghcknm.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN> <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN> <y76h70xckoe.wl-hako@HIDDEN>
 <y76fsghcknm.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.0 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Am Samstag, dem 24.09.2022 um 15:10 +0800 schrieb Hilton Chain:
> * gnu/packages/telegram.scm (crc32c-for-telegram-desktop): New
> variable.
Please isolate this change into a separate commit.  Also, try to use
upstream's 1.1.2 release, which IIUC has the same code with some typos
in the comments/documentation.  (Note that this package should probably
go to cpp.scm)

Cheers





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:12:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 03:12:37 2022
Received: from localhost ([127.0.0.1]:42188 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obzL3-0006WK-0k
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:12:37 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:38934)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obzL1-0006W7-IJ
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:12:36 -0400
Date: Sat, 24 Sep 2022 15:12:03 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664003549;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=BZjA7i/ll6yObooNHoQFDKpU6u1DOWkm+ZOMuE7prSk=;
 b=JbbEfHSaulZvDHt5tOCIUalq/FjdZRT3rmux41Kuqj8EL5NUv2UI/nPRQjFASe87xWYzzu
 CHigQVtboTMbzzF3/qwyv4LW7HhpgduSSNzing71+X8QeW9f2oSqqHV+hEI+DjvdoXLv7T
 42D2WMWIGsYYtE71CFejGRnoW6cAAyqs/ywnaZpUhxXSTUZQlqEFDRRXppgWcwA5YQfrcK
 dHSt3AFtb648GGutj5bz607PDEf8kMCptGSsPjiXaxL5yIKn6VnoygQp44AvojWy75x6ZP
 AkeQTNjkgX0wORmB8diWhEHdc/DYImfQxknVkkYcxLHX5AIH06JDwgKja6yNCA==
Message-ID: <y76bkr5ckl8.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v11 8/8] gnu: telegram: Remove unused variables.
In-Reply-To: <y76czblcklw.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN>
 <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN>
 <y76h70xckoe.wl-hako@HIDDEN>
 <y76fsghcknm.wl-hako@HIDDEN>
 <y76edw1ckms.wl-hako@HIDDEN>
 <y76czblcklw.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (lib-rlottie-for-telegram-desktop)
(lib-waylandshells-for-telegram-desktop,libtgvoip-for-telegram-desktop):
Remove variables.
---
 gnu/packages/telegram.scm | 65 ---------------------------------------
 1 file changed, 65 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index d0954f83a4..3b74a9f38f 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -182,18 +182,6 @@ (define lib-qr-for-telegram-desktop
      (base32
       "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f"))))
 
-(define lib-rlottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rlottie.git")
-          (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
-    (file-name
-     (git-file-name "lib-rlottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
-
 (define lib-rpl-for-telegram-desktop
   (origin
     (method git-fetch)
@@ -254,18 +242,6 @@ (define lib-ui-for-telegram-desktop
      (base32
       "1zv29i7hxv70dsq36zrvkvaraff5zcb7sccpncqfl51s59kfsnz5"))))
 
-(define lib-waylandshells-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_waylandshells.git")
-          (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
-    (file-name
-     (git-file-name "lib-waylandshells-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
-
 (define lib-webrtc-for-telegram-desktop
   (origin
     (method git-fetch)
@@ -419,47 +395,6 @@ (define-public rlottie-for-telegram-desktop
                (substitute* "meson.build"
                  (("werror=true") "werror=false"))))))))))
 
-(define-public libtgvoip-for-telegram-desktop
-  (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
-        (revision "88"))
-    (hidden-package
-     (package
-       (inherit libtgvoip)
-       (version
-        (git-version "2.4.4" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/telegramdesktop/libtgvoip.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "libtgvoip-for-telegram-desktop" version))
-          (sha256
-           (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "--disable-static"
-           "--disable-dsp"              ; FIXME
-           "--enable-audio-callback"
-           "--with-alsa"
-           "--with-pulse")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-linkers
-              (lambda _
-                (substitute* "Makefile.am"
-                  (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
-                   "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)"))
-                (substitute* "tgvoip.pc.in"
-                  (("libcrypto opus")
-                   "libcrypto opus alsa libpulse"))
-                #t)))))
-       (native-inputs
-        (list autoconf automake libtool pkg-config))))))
-
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:12:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 03:12:15 2022
Received: from localhost ([127.0.0.1]:42185 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obzKg-0006Vl-DU
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:12:15 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:33830)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obzKd-0006VW-Li
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:12:13 -0400
Date: Sat, 24 Sep 2022 15:11:39 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664003525;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=AJ80NrGrvGAgzgmBABQeBXhdFJWU5BHCjfavKNy+d3g=;
 b=CUuFNU5bIuQEdtkDoQC9fa1xLD4RZsApd2owyI6RXocuwOuUgBb8acsMuI3PVdBrNODoLx
 prcniPyE4wIZDT5w0yI5zztbcK+4Z4HBtA/U4VYyHEGLiYNw8ZR3BlXAZDsvfi4YGGs5yb
 u/qmTySG7rqyd3OD8KPiCY4jqCJb+pXKYHboBfdQUmmTSgIheGWfhSx8Xp1zYaUojha2NV
 W/dE+D+7aXU1HMb36Fy98juzux/XF/9X/1Uq+RBlUtIA3hxhuC4gyLo/oCoDHVx4gcnHCP
 eeYyZhF8AtJ/Uqe4/+cJMBsZXP8SB38ZNx3gv35L/bTdq3/nh/kGIveTqRk5TA==
Message-ID: <y76czblcklw.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v11 7/8] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <y76edw1ckms.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN>
 <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN>
 <y76h70xckoe.wl-hako@HIDDEN>
 <y76fsghcknm.wl-hako@HIDDEN>
 <y76edw1ckms.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (dispatch-for-telegram-desktop): New variable.
(tgcalls-for-telegram-desktop,codegen-for-telegram-desktop)
(lib-base-for-telegram-desktop,lib-crl-for-telegram-desktop)
(lib-lottie-for-telegram-desktop,lib-qr-for-telegram-desktop)
(lib-rpl-for-telegram-desktop,lib-spellcheck-for-telegram-desktop)
(lib-storage-for-telegram-desktop,lib-tl-for-telegram-desktop)
(lib-ui-for-telegram-desktop,lib-webrtc-for-telegram-desktop)
(lib-webview-for-telegram-desktop,cmake-helpers-for-telegram-desktop): Bump to
source checkout.
(rlottie-for-telegram-desktop): Bump to submodule checkout.
[snippet]: Switch off werror.
[arguments]: Use inherited ones.
(telegram-desktop): Update to 4.2.0.
[patches]: Add telegram-desktop-allow-disable-libtgvoip.patch.
[arguments]<#:configure-flags>: Unbundle rlottie.
<#:phases>: Adjusted accordingly.
[native-inputs]: Add clang-toolchain.
Remove cmake-shared, extra-cmake-modules and qttools-5.
[inputs]: Replace qtbase-5 with qtbase.
Add abseil-cpp-cxxstd17, kcoreaddons, libvpx, qt5compat, wayland, webkitgtk.
Remove catch2, fcitx-qt5, fcitx5-qt, gtk+, hime, kwayland, libdbusmenu-qt,
libtgvoip-for-telegram-desktop, libx11, materialdecoration, nimf and qt5ct.
[propagated-inputs]: Remove dconf.
[license]: Adjusted accordingly.
---
 gnu/local.mk                                  |   1 +
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 ++++++++++++
 gnu/packages/telegram.scm                     | 185 ++++++++----------
 3 files changed, 213 insertions(+), 98 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 84246dbdef..6f3ab36db9 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1870,6 +1870,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/teensy-loader-cli-help.patch		\
   %D%/packages/patches/tensorflow-c-api-fix.patch		\
   %D%/packages/patches/texinfo-5-perl-compat.patch		\
+  %D%/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch   \
   %D%/packages/patches/telegram-purple-adjust-test.patch	\
   %D%/packages/patches/texi2html-document-encoding.patch	\
   %D%/packages/patches/texi2html-i18n.patch			\
diff --git a/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
new file mode 100644
index 0000000000..3c062cbd9a
--- /dev/null
+++ b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
@@ -0,0 +1,125 @@
+From 4d1a8351ee82728912fcf7ad0070049b2910c393 Mon Sep 17 00:00:00 2001
+From: Klemens Nanni <klemens@HIDDEN>
+Date: Wed, 2 Mar 2022 01:07:48 +0100
+Subject: [PATCH] Introduce TDESKTOP_DISABLE_LEGACY_TGVOIP
+
+Originally from Alt Linux[0], OpenBSD has so far adapted the removal of
+tgvoip in the official net/tdesktop build.
+
+tgcalls provides everything needed for calls;  audio/video/desktop
+sharing calls have been working fine across different operating systems
+and telegram desktop/mobile versions without problems.
+
+0: http://www.sisyphus.ru/cgi-bin/srpm.pl/Sisyphus/telegram-desktop/getpatch/1
+---
+ Telegram/CMakeLists.txt                   | 6 +++---
+ Telegram/SourceFiles/calls/calls_call.cpp | 6 ++++++
+ Telegram/cmake/lib_tgcalls.cmake          | 4 ++++
+ Telegram/cmake/telegram_options.cmake     | 8 ++++++++
+ 4 files changed, 21 insertions(+), 3 deletions(-)
+
+diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
+index fb2bf370f..5d9578f2d 100644
+--- a/Telegram/CMakeLists.txt
++++ b/Telegram/CMakeLists.txt
+@@ -28,7 +28,9 @@ get_filename_component(res_loc Resources REALPATH)
+ include(cmake/telegram_options.cmake)
+ include(cmake/lib_ffmpeg.cmake)
+ include(cmake/lib_stripe.cmake)
+-include(cmake/lib_tgvoip.cmake)
++if (NOT TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    include(cmake/lib_tgvoip.cmake)
++endif()
+ include(cmake/lib_tgcalls.cmake)
+ include(cmake/td_export.cmake)
+ include(cmake/td_mtproto.cmake)
+@@ -52,9 +54,7 @@ target_prepare_qrc(Telegram)
+ 
+ target_link_libraries(Telegram
+ PRIVATE
+-    tdesktop::lib_tgcalls_legacy
+     tdesktop::lib_tgcalls
+-    tdesktop::lib_tgvoip
+ 
+     # Order in this list defines the order of include paths in command line.
+     # We need to place desktop-app::external_minizip this early to have its
+diff --git a/Telegram/SourceFiles/calls/calls_call.cpp b/Telegram/SourceFiles/calls/calls_call.cpp
+index 6894d5d90..cd03620e7 100644
+--- a/Telegram/SourceFiles/calls/calls_call.cpp
++++ b/Telegram/SourceFiles/calls/calls_call.cpp
+@@ -39,8 +39,10 @@ class InstanceImpl;
+ class InstanceV2Impl;
+ class InstanceV2ReferenceImpl;
+ class InstanceV2_4_0_0Impl;
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ class InstanceImplLegacy;
+ void SetLegacyGlobalServerConfig(const std::string &serverConfig);
++#endif
+ } // namespace tgcalls
+ 
+ namespace Calls {
+@@ -56,7 +58,9 @@ const auto Register = tgcalls::Register<tgcalls::InstanceImpl>();
+ const auto RegisterV2 = tgcalls::Register<tgcalls::InstanceV2Impl>();
+ const auto RegV2Ref = tgcalls::Register<tgcalls::InstanceV2ReferenceImpl>();
+ const auto RegisterV240 = tgcalls::Register<tgcalls::InstanceV2_4_0_0Impl>();
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ const auto RegisterLegacy = tgcalls::Register<tgcalls::InstanceImplLegacy>();
++#endif
+ 
+ [[nodiscard]] base::flat_set<int64> CollectEndpointIds(
+ 		const QVector<MTPPhoneConnection> &list) {
+@@ -1322,7 +1326,9 @@ Call::~Call() {
+ }
+ 
+ void UpdateConfig(const std::string &data) {
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ 	tgcalls::SetLegacyGlobalServerConfig(data);
++#endif
+ }
+ 
+ } // namespace Calls
+diff --git a/Telegram/cmake/lib_tgcalls.cmake b/Telegram/cmake/lib_tgcalls.cmake
+index 34a5ba418..8a784be2c 100644
+--- a/Telegram/cmake/lib_tgcalls.cmake
++++ b/Telegram/cmake/lib_tgcalls.cmake
+@@ -267,6 +267,10 @@ PRIVATE
+     ${tgcalls_loc}
+ )
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    return()
++endif()
++
+ add_library(lib_tgcalls_legacy STATIC)
+ init_target(lib_tgcalls_legacy)
+ 
+diff --git a/Telegram/cmake/telegram_options.cmake b/Telegram/cmake/telegram_options.cmake
+index 1c3c25431..033f2bc95 100644
+--- a/Telegram/cmake/telegram_options.cmake
++++ b/Telegram/cmake/telegram_options.cmake
+@@ -4,7 +4,9 @@
+ # For license and copyright information please follow this link:
+ # https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
+ 
++option(TDESKTOP_DISABLE_LEGACY_TGVOIP "Disable legacy tgvoip support." OFF)
+ option(TDESKTOP_API_TEST "Use test API credentials." OFF)
++
+ set(TDESKTOP_API_ID "0" CACHE STRING "Provide 'api_id' for the Telegram API access.")
+ set(TDESKTOP_API_HASH "" CACHE STRING "Provide 'api_hash' for the Telegram API access.")
+ 
+@@ -40,6 +42,12 @@ if (TDESKTOP_API_ID STREQUAL "0" OR TDESKTOP_API_HASH STREQUAL "")
+     " ")
+ endif()
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_LEGACY_TGVOIP)
++else()
++    target_link_libraries(Telegram PRIVATE tdesktop::lib_tgcalls_legacy tdesktop::lib_tgvoip)
++endif()
++
+ if (DESKTOP_APP_DISABLE_SPELLCHECK)
+     target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_SPELLCHECK)
+ else()
+-- 
+2.37.3
+
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 17b60b1484..d0954f83a4 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2021 Raghav Gururajan <rg@HIDDEN>
+;;; Copyright © 2022 Hilton Chain <hako@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -43,6 +44,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages lxqt)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages perl)
@@ -60,6 +62,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages webkit)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
@@ -75,7 +78,7 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
 
-(define %telegram-version "2.9.3")
+(define %telegram-version "4.2.0")
 
 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
@@ -112,72 +115,72 @@ (define cmake-helpers-for-telegram-desktop
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/cmake_helpers.git")
-          (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
+          (commit "b9f1b6036329e44ec61f51f0b363fe2319158b84")))
     (file-name
      (git-file-name "cmake-helpers-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
+      "0sgp1nlmcm2imgpssqxrwinafnmicmq0qikgdnhs1d44hrwxbws3"))))
 
 (define codegen-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/codegen.git")
-          (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
+          (commit "8815d7aec9b901191d08445f29e2edd0aeba7b2c")))
     (file-name
      (git-file-name "codegen-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
+      "1ly958mjk25kfcpa174kvg134p9r751ixi275afj5kr57by9mbq2"))))
 
 (define lib-base-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_base.git")
-          (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
+          (commit "cc5550de2766657ced8d0bb4d2db3f050363d3d5")))
     (file-name
      (git-file-name "lib-base-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
+      "16x5qp5w51igk213rhl49x256vjvpkjkgi2ziwzxnsj0pzdd4y27"))))
 
 (define lib-crl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_crl.git")
-          (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
+          (commit "4e620bc383d032aadea8e6af02661f8c76695cec")))
     (file-name
      (git-file-name "lib-crl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
+      "17bngj247qwq0dg4h37xdi5v1mk22y4yp7sp6ph3irmnz4awah0x"))))
 
 (define lib-lottie-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_lottie.git")
-          (commit "0770df009db7928df1d0cad0900dc5110106d229")))
+          (commit "6ed1c22ed60692d2f288c9222fafd7d5cd62f904")))
     (file-name
      (git-file-name "lib-lottie-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
+      "0l57ibfij9xm4ww4s9cc63q1x8xzpc6ablwaji1krrn3xxksqdd4"))))
 
 (define lib-qr-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_qr.git")
-          (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
+          (commit "501f4c3502fd872ab4d777df8911bdac32de7c48")))
     (file-name
      (git-file-name "lib-qr-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
+      "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f"))))
 
 (define lib-rlottie-for-telegram-desktop
   (origin
@@ -196,60 +199,60 @@ (define lib-rpl-for-telegram-desktop
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_rpl.git")
-          (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
+          (commit "fd31f5bf382d2679eccdb1abaf8240a56c6a7abe")))
     (file-name
      (git-file-name "lib-rpl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
+      "1fpq8nyh8wx6zkb3sjjrx9ydqzyhw4483bdk1i9blp0ijn9xxdxf"))))
 
 (define lib-spellcheck-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_spellcheck.git")
-          (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
+          (commit "0e386e22cb6ba8a114b569840a635e096dcb645e")))
     (file-name
      (git-file-name "lib-spellcheck-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
+      "06js7ccv6z3nbd4v2p4hp2prrlmz5ww46y3yb922pp7gm317dwyw"))))
 
 (define lib-storage-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_storage.git")
-          (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
+          (commit "839609369d04615475cb1518636de3619106a917")))
     (file-name
      (git-file-name "lib-storage-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
+      "1l26h2fmqp9dcpr6pfvdd5sjb68j7yh0ms2lnr8na7jf5xqmkwwm"))))
 
 (define lib-tl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_tl.git")
-          (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
+          (commit "36fb95c4de1339d2c8921ad6b2911858c3d0e0fa")))
     (file-name
      (git-file-name "lib-tl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
+      "03rngnssnqwr7ad05qn64mwgji5fb0r3fp5ybkf951p8phr1jvzk"))))
 
 (define lib-ui-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_ui.git")
-          (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
+          (commit "f82162f05a72352bfee0fb79f9e50c350b3a98f3")))
     (file-name
      (git-file-name "lib-ui-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
+      "1zv29i7hxv70dsq36zrvkvaraff5zcb7sccpncqfl51s59kfsnz5"))))
 
 (define lib-waylandshells-for-telegram-desktop
   (origin
@@ -268,36 +271,36 @@ (define lib-webrtc-for-telegram-desktop
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_webrtc.git")
-          (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
+          (commit "9b11599c3c56047cfa4c68b69f1fcc93b602c33a")))
     (file-name
      (git-file-name "lib-webrtc-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
+      "0158jx8hj4fv6qpw5pgcr2mdlihj0dxs060dg3iy61zz6q68z5dq"))))
 
 (define lib-webview-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_webview.git")
-          (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
+          (commit "546df65eb2424550ed84ce14fc9c5d1bb3586f35")))
     (file-name
      (git-file-name "lib-webview-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
+      "0zzjwyw82bggncmmsw969lnjl04pklmqjqm77jjzadinivl52z0l"))))
 
 (define tgcalls-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/TelegramMessenger/tgcalls.git")
-          (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
+          (commit "82c4921045c440b727c38e464f3a0539708423ff")))
     (file-name
      (git-file-name "tgcalls-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
+      "1109r17abh66yz91b65fn2g4ryfybnsr5g6075sjhbah1gccv9mk"))))
 
 (define-public webrtc-for-telegram-desktop
   (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
@@ -392,8 +395,8 @@ (define-public webrtc-for-telegram-desktop
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-  (let ((commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")
-        (revision "671"))
+  (let ((commit "8c69fc20cf2e150db304311f1233a4b55a8892d7")
+        (revision "678"))
     (hidden-package
      (package
        (inherit rlottie)
@@ -409,21 +412,12 @@ (define-public rlottie-for-telegram-desktop
           (file-name
            (git-file-name "rlottie-for-telegram-desktop" version))
           (sha256
-           (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "-Dlog=true"
-           "-Ddumptree=true"
-           "-Dtest=true")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-cxx-flags
-              (lambda _
-                (substitute* "meson.build"
-                  (("werror=true")
-                   "werror=false"))
-                #t)))))))))
+           (base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
+          (modules '((guix build utils)))
+          (snippet
+           #~(begin
+               (substitute* "meson.build"
+                 (("werror=true") "werror=false"))))))))))
 
 (define-public libtgvoip-for-telegram-desktop
   (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
@@ -481,15 +475,19 @@ (define-public telegram-desktop
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0dzf1y3xhqvizg29bd1kya48cjbkq073d2x10ynwcmmx396l4nd8"))
+        (base32 "16xhng5m3aw4j4ax74nydpxjnx5z3ga21vmrznlm4lbk9ivyn7vx"))
+       (patches
+        (search-patches
+         ;; https://github.com/telegramdesktop/tdesktop/pull/24126
+         "telegram-desktop-allow-disable-libtgvoip.patch"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
         #~(begin
             (let ((keep
-                   '( ;; Not available in Guix.
-                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+                   '(;; Not available in Guix.
+                     "dispatch" "tgcalls")))
               (with-directory-excursion "Telegram/ThirdParty"
                 (for-each delete-file-recursively
                           (lset-difference string=?
@@ -509,23 +507,22 @@ (define-public telegram-desktop
              (ice-9 match))
            #:configure-flags
            #~(list
-              ;; Client applications must provide their own API-ID and API-HASH,
-              ;; see also <https://core.telegram.org/api/obtaining_api_id>.
-              ;; Here, we snarf the keys from the official Snaps, which are
-              ;; also stored in <#$source/snap/snapcraft.yaml>.
+              ;; Client applications need an API ID and hash, see also:
+              ;; <https://core.telegram.org/api/obtaining_api_id>. Here, we
+              ;; use the ones given by the official Snap package, see:
+              ;; <https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml>.
               "-DTDESKTOP_API_ID=611335"
               "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
-              ;; Disable WebkitGTK support as it fails to link
-              "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
-              ;; Use bundled fonts as fallback.
-              "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
+              "-DTDESKTOP_DISABLE_LEGACY_TGVOIP=ON"
+              "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
+              "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
+              "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON"
+              (string-append "-DTDESKTOP_LAUTCHER_BASENAME=" #$name))
            #:phases
            #~(modify-phases %standard-phases
-               (add-after 'unpack 'make-writable
-                 (lambda _
-                   (for-each make-file-writable (find-files "."))))
-               (add-after 'make-writable 'copy-inputs
+               (add-after 'unpack 'unpack-additional-sources
                  (lambda _
+                   (for-each make-file-writable (find-files "."))
                    (for-each
                     (match-lambda
                       ((dst src)
@@ -537,81 +534,73 @@ (define-public telegram-desktop
                       ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
                       ("Telegram/lib_lottie" #$lib-lottie-for-telegram-desktop)
                       ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
-                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-desktop)
                       ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
                       ("Telegram/lib_spellcheck" #$lib-spellcheck-for-telegram-desktop)
                       ("Telegram/lib_storage" #$lib-storage-for-telegram-desktop)
                       ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
                       ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
-                      ("Telegram/lib_waylandshells" #$lib-waylandshells-for-telegram-desktop)
                       ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-desktop)
                       ("Telegram/lib_webview" #$lib-webview-for-telegram-desktop)
+                      ("Telegram/ThirdParty/dispatch" #$dispatch-for-telegram-desktop)
                       ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
-               (add-before 'configure 'patch-cxx-flags
-                 (lambda _
-                   (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
                (add-after 'install 'glib-or-gtk-compile-schemas
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
                (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
     (native-inputs
-     (list cmake-shared
-           extra-cmake-modules
-           `(,glib "bin")
+     (list `(,glib "bin")
            `(,gtk+ "bin")
+           clang-toolchain
            pkg-config
-           python-wrapper
-           qttools-5))
+           python-wrapper))
     (inputs
-     (list alsa-lib
+     (list abseil-cpp-cxxstd17
+           alsa-lib
            c++-gsl
-           catch2
-           libexpected
-           fcitx-qt5
-           fcitx5-qt
            ffmpeg
-           glib
-           glibmm-2.64
-           gtk+
-           hime
-           hunspell
            jemalloc
-           kwayland
-           libdbusmenu-qt
+           kcoreaddons
+           libexpected
            libjpeg-turbo
-           libtgvoip-for-telegram-desktop
-           lz4
-           materialdecoration
+           libvpx
            minizip
-           nimf
            openal
            openssl
            opus
            pulseaudio
            qrcodegen-cpp
-           qtbase-5
-           qtsvg-5
-           qt5ct
+           qt5compat
+           qtbase
            qtimageformats
-           qtwayland
+           qtsvg-5
            range-v3
            rlottie-for-telegram-desktop
            rnnoise
            webrtc-for-telegram-desktop
-           libx11
-           libxcb
-           xcb-util-keysyms
            xxhash
-           zlib))
-    (propagated-inputs (list dconf))
+           zlib
+           ;; DESKTOP_APP_DISABLE_DBUS_INTEGRATION
+           glibmm-2.64
+           ;; DESKTOP_APP_DISABLE_SPELLCHECK
+           hunspell
+           ;; DESKTOP_APP_LOTTIE_USE_CACHE
+           lz4
+           ;; DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
+           qtwayland wayland
+           ;; DESKTOP_APP_DISABLE_X11_INTEGRATION
+           libxcb xcb-util-keysyms
+           ;; Optional
+           webkitgtk))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
     (home-page "https://desktop.telegram.org/")
     (license
      (list
-      ;; ThirdParty
-      license:lgpl2.1+
+      ;; Telegram/ThirdParty/dispatch
+      license:asl2.0
+      ;; Telegram/ThirdParty/tgcalls
+      license:lgpl3
       ;; Others
       license:gpl3+))))
 
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:11:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 03:11:46 2022
Received: from localhost ([127.0.0.1]:42180 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obzKE-0006UW-0W
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:11:46 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:57098)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obzKC-0006UI-K0
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:11:45 -0400
Date: Sat, 24 Sep 2022 15:11:07 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664003498;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=ASqkazDn5/hHmFbcfPIvogHy6VKuoaw3duV2CBBD3tI=;
 b=IbHMYc2Cy3RsVvJxy6m7WbzkS0uEbfFobum1idmmI1mGuLKxRxKlmKtbya60g/258eTsY8
 izJE4Lf3zDO5J9WwKIQalGomlWZVJmnbslbT5f6PHhec2MNOo7p4BX2boKwhuqHfVO4MhO
 b/eB9tIoAs3WvQoycfOYZw8V1Y3sWDhtWLfVESPxDfe7WspE4jVEGLkdebtK9Ftwg9mQQ6
 vOtDiRaIKxzeLzvzB1K99axoHS/Bmq6IOOQDzSmJC2DY3hRKEO/yEqNUrWaqcbmeQf88D9
 VyOqXnf3nju+MW94d1hvlv4EeeTtxr6nJ3mRnuZBhL+HC96vaSWCK8wMaCofZA==
Message-ID: <y76edw1ckms.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v11 6/8] gnu: Remove libvpx-for-telegram-desktop.
In-Reply-To: <y76fsghcknm.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN>
 <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN>
 <y76h70xckoe.wl-hako@HIDDEN>
 <y76fsghcknm.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (libvpx-for-telegram-desktop): Remove variable.
---
 gnu/packages/telegram.scm | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index f3cbf642a3..17b60b1484 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -77,21 +77,6 @@ (define-module (gnu packages telegram)
 
 (define %telegram-version "2.9.3")
 
-(define libvpx-for-telegram-desktop
-  (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
-        (revision "112"))
-    (origin
-      (method git-fetch)
-      (uri (git-reference
-            (url "https://chromium.googlesource.com/webm/libvpx")
-            (commit commit)))
-      (file-name (git-file-name
-                  "libvpx-for-telegram-desktop"
-                  (git-version "1.9.0" revision commit)))
-      (sha256
-       (base32
-        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
-
 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
         (revision "2211"))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:11:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 03:11:16 2022
Received: from localhost ([127.0.0.1]:42177 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obzJk-0006Tn-Aa
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:11:16 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:55116)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obzJi-0006Tb-EE
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:11:15 -0400
Date: Sat, 24 Sep 2022 15:10:37 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664003468;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=kaXnQZyErWZuMVKT70Ju3lzXNyrTHuAPv9HNq18LckA=;
 b=pzQXFvf8JG3qb1Ry4nqRa5lv4yON26DmJo1zMEB/1vGfAvglSYxi2KBo7N1XJrZOgqNDb4
 BwOpUa0vBujFYsrtOIaLF/QTGRGKNEgRmqCKBKUUpDwHu7+jI56mFP7aesteyhsOhvPVuU
 JjSde4v5UM4evJKj7rUgdKTCCPI4Kzn1It8o7BmjktuNd6sLnr45WoknlDfs3NF1y7Uteo
 wQ+Z7xWokXUgTrJQvmJxRXZ+aJwXYiZb5gHq5Tbs7yPgXXAG3RRfEcG6IQg+v9995zubiC
 aa9qHvXKLjdZK/6gyIjK06lbeKwZv+V+K9aRLLuHBAgAvx67q9OHf8NCwq9BUw==
Message-ID: <y76fsghcknm.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v11 5/8] gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
In-Reply-To: <y76h70xckoe.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN>
 <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN>
 <y76h70xckoe.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details. Content preview: *
 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
 New file. * gnu/local.mk (dist_patch_DATA): Add patch. *
 gnu/packages/telegram.scm
 (crc32c-for-telegram-desktop): New variab [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: xiretza.xyz (xyz)]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

* gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (crc32c-for-telegram-desktop): New variable.
(webrtc-for-telegram-desktop): Update to 621f3da5.
[patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
[snippet]: Unbundle libvpx and openh264.
[native-inputs]: Remove perl.
[inputs]: Replace pipewire with pipewire-0.3.
Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa, openh264.
Remove alsa-lib, libx11 and pulseaudio.
[arguments<#:phases>,license]: Adjusted accordingly.
---
 gnu/local.mk                                  |  1 +
 ...r-telegram-desktop-fix-gcc12-cstdint.patch | 21 +++++
 gnu/packages/telegram.scm                     | 76 ++++++++++++-------
 3 files changed, 70 insertions(+), 28 deletions(-)
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index d99c650d1a..84246dbdef 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1968,6 +1968,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/warsow-qfusion-fix-bool-return-type.patch	\
   %D%/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch	\
   %D%/packages/patches/webrtc-audio-processing-big-endian.patch	\
+  %D%/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch   \
   %D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch	\
   %D%/packages/patches/widelands-add-missing-map-include.patch	\
   %D%/packages/patches/widelands-system-wide_minizip.patch	\
diff --git a/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
new file mode 100644
index 0000000000..f1fd29d0d3
--- /dev/null
+++ b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
@@ -0,0 +1,21 @@
+From 86d2bcd7afb8706663d29e30f65863de5a626142 Mon Sep 17 00:00:00 2001
+From: Xiretza <xiretza@HIDDEN>
+Date: Sun, 15 May 2022 12:47:41 +0200
+Subject: [PATCH] fix(h265_pps_parser): fix missing cstdint include
+
+---
+ src/common_video/h265/h265_pps_parser.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/common_video/h265/h265_pps_parser.h b/src/common_video/h265/h265_pps_parser.h
+index 28c95ea9..c180b1b9 100644
+--- a/src/common_video/h265/h265_pps_parser.h
++++ b/src/common_video/h265/h265_pps_parser.h
+@@ -12,6 +12,7 @@
+ #define COMMON_VIDEO_H265_PPS_PARSER_H_
+
+ #include "absl/types/optional.h"
++#include <cstdint>
+
+ namespace rtc {
+ class BitBuffer;
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 6c9869f93e..f3cbf642a3 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -30,6 +30,8 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages digest)
   #:use-module (gnu packages fcitx)
   #:use-module (gnu packages fcitx5)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -58,6 +60,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
@@ -104,6 +107,21 @@ (define libyuv-for-telegram-desktop
        (base32
         "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
 
+(define crc32c-for-telegram-desktop
+  (let ((commit "21fc8ef30415a635e7351ffa0e5d5367943d4a94")
+        (revision "78"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/google/crc32c")
+            (commit commit)))
+      (file-name (git-file-name
+                  "crc32c-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
+
 (define cmake-helpers-for-telegram-desktop
   (origin
     (method git-fetch)
@@ -297,8 +315,8 @@ (define tgcalls-for-telegram-desktop
       "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
 
 (define-public webrtc-for-telegram-desktop
-  (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
-        (revision "166"))
+  (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
+        (revision "327"))
     (hidden-package
      (package
        (name "webrtc-for-telegram-desktop")
@@ -314,58 +332,62 @@ (define-public webrtc-for-telegram-desktop
           (file-name
            (git-file-name name version))
           (sha256
-           (base32 "0plwdp6xgxi27hif5j7kpq425cidxyxbbga3z2f64dsninwy5p1x"))
+           (base32 "1ks1572k1jj7pmzwm79p2gdgi31dd4bs761bphnx32zyq4c6skxk"))
+          (patches
+           (search-patches
+            ;; https://github.com/desktop-app/tg_owt/pull/101
+            "webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch"))
           (modules '((guix build utils)
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
            #~(begin
                (let ((keep
-                      '( ;; Custom forks which are incompatible with the ones in Guix.
-                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                      '("abseil-cpp" "libsrtp" "rnnoise"
                         ;; Not available in Guix.
-                        "pffft" "usrsctp"
-                        ;; Has cmake support files for libvpx input.
-                        "libvpx")))
+                        "crc32c" "pffft")))
                  (with-directory-excursion "src/third_party"
                    (for-each delete-file-recursively
                              (lset-difference string=?
                                               (scandir ".")
-                                              (cons* "." ".." keep)))))))))
+                                              (cons* "." ".." keep)))))
+               ;; Use system openh264.
+               (substitute* "CMakeLists.txt"
+                 (("\\include\\(cmake\\/libopenh264\\.cmake\\)")""))))))
        (build-system cmake-build-system)
        (arguments
         (list
          #:tests? #f                    ; No target
-         #:configure-flags #~(list "-DCMAKE_C_FLAGS=-fPIC"
-                                   "-DCMAKE_CXX_FLAGS=-fPIC")
          #:phases
          #~(modify-phases %standard-phases
-             (add-after 'unpack 'copy-inputs
+             (add-after 'unpack 'unpack-additional-sources
                (lambda _
                  (let* ((third-party (string-append (getcwd) "/src/third_party"))
-                        (libvpx-to (string-append third-party
-                                                  "/libvpx/source/libvpx"))
+                        (crc32c-to (string-append third-party "/crc32c/src"))
                         (libyuv-to (string-append third-party "/libyuv")))
-                   (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
+                   (copy-recursively #$crc32c-for-telegram-desktop crc32c-to)
                    (copy-recursively #$libyuv-for-telegram-desktop
                                      libyuv-to)))))))
-       (native-inputs (list perl pkg-config python-wrapper yasm))
+       (native-inputs (list pkg-config python-wrapper yasm))
        (inputs
-        (list alsa-lib
+        (list abseil-cpp-cxxstd17
               ffmpeg
               libjpeg-turbo
-              glib
-              libxcomposite
-              libxdamage
-              libxrender
-              libxrandr
+              libvpx
+              openh264
               openssl
               opus
-              pipewire
+              ;; TG_OWT_USE_PROTOBUF
               protobuf
-              pulseaudio
-              libx11
+              ;; TG_OWT_USE_PIPEWIRE
+              glib libdrm libglvnd mesa pipewire-0.3
+              ;; TG_OWT_USE_X11
+              libxcomposite
+              libxdamage
               libxext
+              libxfixes
+              libxrandr
+              libxrender
               libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
@@ -377,13 +399,11 @@ (define-public webrtc-for-telegram-desktop
          license:asl2.0
          ;; LibYuv
          (license:non-copyleft "file:///src/third_party/libyuv/LICENSE")
-         ;; OpenH264
-         license:bsd-2
          ;; PFFFT
          (license:non-copyleft "file:///src/third_party/pffft/LICENSE")
          ;; RnNoise
          license:gpl3
-         ;; LibSRTP, LibVPx, UsrSCTP and Others
+         ;; LibSRTP, Crc32c and Others
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:10:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 03:10:47 2022
Received: from localhost ([127.0.0.1]:42172 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obzJG-0006Sc-Ue
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:10:47 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:47590)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obzJF-0006SN-7y
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:10:45 -0400
Date: Sat, 24 Sep 2022 15:10:09 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664003439;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=RxFXt6EB5ujZGI6OXncH2i0YNK3jWZwDztcE1IR6Fu4=;
 b=JkFpsMe0uHHO45VtawxDM9WEnBZr6eaTBKlfrC0WKiF1ybt0yEDuubhyatZqDUPEJ0qOUR
 Bb2yS3oCYqnbo3w53JVrIMKXBk/SQPy1zYQVmTenmVdOIkTsqS7fAINCvXrOMhAOG0wP4w
 aOjAn4E5RvVPaXAOkVYTD5Oqs7IcgJO+s//ss5MdaYs5Yn1Uwo7tfn+xJh6fOAqG4QXlMG
 IKMYZvE2GOY8ir1dNJy2Qomec3NJAw5PQ6ZdComMUMurDEN8c/MHio8axGNJFBvVpwTaP0
 HfrXIQ3HAcy/WLmZxZ0KTrYypvd7E98zIQmOV2fzb1A0d1TH3RJr1VY8EXRuWw==
Message-ID: <y76h70xckoe.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v11 4/8] gnu: kcoreaddons: Update to 5.98.0.
In-Reply-To: <y76illdckp9.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN>
 <y76k05tckq1.wl-hako@HIDDEN>
 <y76illdckp9.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (kcoreaddons): Update to 5.98.0.
[arguments]<#:phases>: Update blocklist for failing tests.
---
 gnu/packages/kde-frameworks.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index e4337636ac..61cbf19bc4 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -574,7 +574,7 @@ (define-public kconfig
 (define-public kcoreaddons
   (package
     (name "kcoreaddons")
-    (version "5.70.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -583,7 +583,7 @@ (define-public kcoreaddons
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "10a7zys3limsawl7lk9ggymk3msk2bp0y8hp0jmsvk3l405pd1ps"))))
+                "0lqmyxqsw7w1qgdgmax63v64cy7dwk7n4zi8k53xmrqjmd9jir52"))))
     (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules qttools-5 shared-mime-info
@@ -602,14 +602,8 @@ (define-public kcoreaddons
                  ;; FIXME: Make it pass.  Test failure caused by stout/stderr
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
-                 ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))))
-         ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
-         (add-after 'unpack 'fix-broken-test
-           (lambda _
-             (substitute* "autotests/kdirwatch_unittest.cpp"
-               (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))))
+                 ;; FIXME
+                 (display "[test_inheritance]\n*\n")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:10:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 03:10:19 2022
Received: from localhost ([127.0.0.1]:42169 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obzIp-0006Rg-Ie
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:10:19 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:59272)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obzIn-0006RM-SM
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:10:18 -0400
Date: Sat, 24 Sep 2022 15:09:38 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664003411;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=DPqzO4hrjYh+qq9tQuuHIaD0PiiP2kje4P6OaSdnE2c=;
 b=zPB26plPLSfYKyszMfRUhMx1jMSEPpxq3Lcljivb7PsajW9eaZVOPchG0sxXjkRb7G91xW
 ksc/fK6pbjOJSerU6Qs6rCVo58/z5SofqZS+T41w+c1hmQBpCi3wy//S3doXhJqiEGsXTj
 4bly+S/de1P3Yd5r5TIzGJF0VIOBZDgbAgV87Leeu4nKMywJjNS28XRT0rR8kITub/zEW2
 YibFp+CkK/yWV0R80eThby51WSaSYb4RNLcL3tTuzvLJpPWedJdE6YbqgN6Q6CRUzeuDuF
 TuG14bP8tg4qJIFZTu/opqT7nnNY0ZWgopVJg4JY47dumy5h0XVMSzmEg6w2VA==
Message-ID: <y76illdckp9.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v11 3/8] gnu: kcoreaddons: Remove trailing #t.
In-Reply-To: <y76k05tckq1.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN>
 <y76k05tckq1.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (kcoreaddons)[arugments]<#:phases>: Remove
trailing #t.
---
 gnu/packages/kde-frameworks.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 52314fd0ff..e4337636ac 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -603,20 +603,17 @@ (define-public kcoreaddons
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
                  ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))
-             #t))
+                 (display "[benchNotifyWatcher]\n*\n")))))
          ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
          (add-after 'unpack 'fix-broken-test
            (lambda _
              (substitute* "autotests/kdirwatch_unittest.cpp"
                (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))
-             #t))
+                (string-append m "\nwaitUntilNewSecond();")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-             (setenv "TMPDIR" (getcwd))
-             #t)))))
+             (setenv "TMPDIR" (getcwd)))))))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Qt addon library with a collection of non-GUI utilities")
     (description "KCoreAddons provides classes built on top of QtCore to
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:09:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 03:09:45 2022
Received: from localhost ([127.0.0.1]:42163 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obzIH-0006Q3-8R
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:09:45 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:47606)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obzIE-0006Pq-S7
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:09:43 -0400
Date: Sat, 24 Sep 2022 15:09:10 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664003377;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=QgrDJbgQOAH6sm92Ol3fqk9Hsc3bHvkj39SM5AjW5eo=;
 b=eX4iK0+J6hhPoddo96BALCpL7TB5lF/YXzhQJFa+rQ8yd//ASFVQXv+4ceYdqXPx1jpRN4
 wDsvgjDF8gv+cf5MgHihPgdveBdMi3YEBapB5seNWq7RHaiCHIR4bMMo7tLhb/d/iq7idZ
 f6rs5YMvAw9kLynfGE9UnEdMiQwaru/2fxq7MD8OngY3LZd2XT/UQ/XtktJhw/HLgzzeJ3
 /ujMNAOkmSWYOB9UTCx7c3fqe8n61ce4oQLTH9381QfJEme07ce4/sq4vQiLL14eiVzCIz
 tMwT6KM/dgr4AFA9o9qo7CqiZcbigh+/QhBoTnQO8XsDlPZJPv3NBjsa6oEzzw==
Message-ID: <y76k05tckq1.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v11 2/8] gnu: extra-cmake-modules: Update to 5.98.0.
In-Reply-To: <y76leq9ckqn.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
 <y76leq9ckqn.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (extra-cmake-modules): Update to 5.98.0.
---
 gnu/packages/kde-frameworks.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 738013fdba..52314fd0ff 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -88,7 +88,7 @@ (define-module (gnu packages kde-frameworks)
 (define-public extra-cmake-modules
   (package
     (name "extra-cmake-modules")
-    (version "5.91.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -97,7 +97,7 @@ (define-public extra-cmake-modules
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0k65rvxh926ya6qahzk2ns7g1fya1429648mlx7iipxa61g8h5wp"))))
+                "0669m98vqy4hpacfjs7xpgjj1bns24kjybrjipxzp82092g8y69w"))))
     (build-system cmake-build-system)
     (native-inputs
      ;; Add test dependency, except on armhf where building it is too
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:09:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 03:09:23 2022
Received: from localhost ([127.0.0.1]:42160 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obzHu-0006PR-Qf
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:09:23 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:53450)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obzHs-0006PD-IR
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:09:21 -0400
Date: Sat, 24 Sep 2022 15:08:48 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664003355;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=rXZf8rx19R2FbzJ4250O2kZ5Z1Em9z5N08Nam0kQIe8=;
 b=bpyTHYOxz900jlookJD7EVfk/xxEP48OZhcEKlQyQcxAf+eteNqjyjNqLW2rWlC4MmDk3C
 TP355HAdfejVvmfwhxGgo/RNXm5tIuk3btIOwCuSyuEhLq3wSAZsQViLmuPFMa93mVGMfa
 EJ+BUNQzNaLtDmo9AT+itcJhX9DnffnNkVB5iFtX37P6RMd/naUP5dGxy1Dqy+jx8513uI
 BVeJTPgwqmh4eqsTdEQA4QMzxh6Uzwm6CFFrHc9kDFwssGIwiI3ifXLQGQ4eJzDlCJLALx
 dvDFi9lIgt6YWQOUFuwdbwt0qW+VDK5txmrV/DNuc5mlCvKpbCd7kTq+5i7PPQ==
Message-ID: <y76leq9ckqn.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v11 1/8] gnu: Add abseil-cpp-cxxstd17.
In-Reply-To: <y76mtapcksa.wl-hako@HIDDEN>
References: <y76mtapcksa.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable.
---
 gnu/packages/cpp.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d03e0bc7e1..5e0646444c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1041,6 +1041,15 @@ (define-public abseil-cpp
           `(cons* "-DBUILD_TESTING=ON"
                   (delete "-DABSL_RUN_TESTS=ON" ,flags))))))))
 
+(define-public abseil-cpp-cxxstd17
+  (let ((base abseil-cpp))
+    (hidden-package
+     (package/inherit base
+       (arguments
+        (substitute-keyword-arguments (package-arguments base)
+          ((#:configure-flags flags)
+           #~(cons* "-DCMAKE_CXX_STANDARD=17" #$flags))))))))
+
 (define-public pegtl
   (package
     (name "pegtl")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:08:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 03:08:52 2022
Received: from localhost ([127.0.0.1]:42151 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obzHQ-0006OA-AG
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:08:52 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:50394)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obzHO-0006Nw-J1
 for 57675 <at> debbugs.gnu.org; Sat, 24 Sep 2022 03:08:51 -0400
Date: Sat, 24 Sep 2022 15:07:49 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1664003321;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=eJYjHBguBJ4t9vphv4zmZxtmYe4Hj5VxpBtRYjhlAZU=;
 b=BCU6UOFN/SeB+Hj22lvQPfxAioHiT6PXg593uHsaMehNbTaFruuGb3MZqzI5jryJWi6Db3
 h5Lz/xPVMCjx0jrshR9Q1VjafPr74rVeRdC/AoHIT1hK62t6u2UISuvC8wl9FAcOILvHRO
 tBjfjr2AkfXGt7LsUiP2repykwhy8Jh8IrvZ7NbiK1LnrjwRqKEfXP4XLAmy8b1VvPD2e+
 V4A1rI2lgrwDPscqKBwk+pXPrLhabuEGPU82PpHJXFQhp1MhyfrN2lpb1cflMsi8B9AsjR
 kjdB/M79B4UdCrKtnJdnFLNSR4MqjNWN3x8k0oUqfIBdsE6y3/Cv7Owtbfk1cQ==
Message-ID: <y76mtapcksa.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v11 0/8] gnu: telegram-desktop: Update to 4.2.0.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hilton Chain (8):
  gnu: Add abseil-cpp-cxxstd17.
  gnu: extra-cmake-modules: Update to 5.98.0.
  gnu: kcoreaddons: Remove trailing #t.
  gnu: kcoreaddons: Update to 5.98.0.
  gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
  gnu: Remove libvpx-for-telegram-desktop.
  gnu: telegram-desktop: Update to 4.2.0.
  gnu: telegram: Remove unused variables.

 gnu/local.mk                                  |   2 +
 gnu/packages/cpp.scm                          |   9 +
 gnu/packages/kde-frameworks.scm               |  23 +-
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 +++++++
 ...r-telegram-desktop-fix-gcc12-cstdint.patch |  21 ++
 gnu/packages/telegram.scm                     | 337 +++++++-----------
 6 files changed, 297 insertions(+), 220 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch


base-commit: a5c876cdb2d9ab79ba5027ffad7893dafbece50b
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 23 Sep 2022 14:54:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 10:54:13 2022
Received: from localhost ([127.0.0.1]:41382 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obk4C-0002Ba-QQ
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 10:54:13 -0400
Received: from mail-ed1-f68.google.com ([209.85.208.68]:37722)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1obk4A-0002BM-7k
 for 57675 <at> debbugs.gnu.org; Fri, 23 Sep 2022 10:54:11 -0400
Received: by mail-ed1-f68.google.com with SMTP id a41so580650edf.4
 for <57675 <at> debbugs.gnu.org>; Fri, 23 Sep 2022 07:54:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date;
 bh=dEene8IPdq4DyB0p1sm098gD6f4zt2VKIh/gWNM5aco=;
 b=IpVyekqZXBEx7Wgnq6SuAk+BdoP88uCZ82NznkujU1o0B3wT7O8kCV/PLYFLpOdhyr
 aMxcEP05DG80H3pXNTtYChKWxeh3P4VRmLXVv4mq30EtwvxvoXjis6BnHSuxdzndqb0O
 io9FoBLN0mZsLKRHb/l9vJZNsCpt0wBg18rk8od9mRg3y5KX+5Sq15zwL7f2SWwjw4Rs
 52sEToZW8kz0cNm2jD5knTERUIdaVgJjJREHaov17MsGgYTCbhE32A9qpWsFabsk86eW
 ym5EvvevX41kdpVehSpBSBF+sYx3f1aIvFTX1vkLJbl3NY7SS6pHTCmfjoKwk9g/arFk
 wIxw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date;
 bh=dEene8IPdq4DyB0p1sm098gD6f4zt2VKIh/gWNM5aco=;
 b=UAUVDJ6hAAyG2q55lENDVWoSj7ho3L1fwJfMH7xTFQBl/L76WxH0HqkCH6Ge5CfzQM
 YEPmBIwSRAfDEgDQoElekLnyeoVyDsm8rmnYWNGOeZ0Ea9x9F2GeLkYvDXFCm3EvGS2i
 M9e8UrkLKmUGIPnHK1EWishzQLAAIcRSZG45qUaRiDfuDhpe80iAeChkx3wREzRBGA5l
 K5PbrCUfou4cOQlckUzg7Sn6AfkRpP56FyUxXtYgUvUhqfr9U6mzXCZfSkrDc7Hh1duD
 cNM3lwvobm4VUfeZPOKWQCZT17jSlkyci85IZm3ULUvoG82jaDit/G66RCOGumotcZhO
 zQjw==
X-Gm-Message-State: ACrzQf3erBcchvZxA4Ovfh0rQhAByeRoKn9MlmnTd3xibY0FGuGv7s6e
 0Q9qYdE9K06n2IVamdJSzRyomC/A0eg=
X-Google-Smtp-Source: AMsMyM59H45y/85hhdt7EcniMbd5tTmZ4fNX1rvkmk0pGUEei4e6GIKZKgQQjghg2cLkJKFGa6wXPQ==
X-Received: by 2002:a05:6402:3211:b0:453:ba03:9dee with SMTP id
 g17-20020a056402321100b00453ba039deemr8904903eda.351.1663944844029; 
 Fri, 23 Sep 2022 07:54:04 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 kw5-20020a170907770500b007821241aaecsm3679600ejc.216.2022.09.23.07.54.03
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 23 Sep 2022 07:54:03 -0700 (PDT)
Message-ID: <b96c90ef1c805d348af150210e23d8ef69bebd13.camel@HIDDEN>
Subject: Re: [PATCH v10 0/9] gnu: telegram-desktop: Update to 4.2.0.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>, 57675 <at> debbugs.gnu.org
Date: Fri, 23 Sep 2022 16:54:02 +0200
In-Reply-To: <y764jwya1tw.wl-hako@HIDDEN>
References: <y764jwya1tw.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.45.3 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Am Freitag, dem 23.09.2022 um 17:15 +0800 schrieb Hilton Chain:
> v9 -> v10: Use revision rather than %telegram-version.
>=20
> Hilton Chain (9):
> =C2=A0 gnu: telegram: Revision-based version for additional sources.
I don't think you're improving anything here really.  These variables
are already labeled "for-telegram-desktop", so using the telegram-
desktop version here makes natural sense.  We can still use Guix
revisions if some component needs updating and we find out later
(through bug reports etc.)  The origin rebuilds are not a big deal
whatsoever.  For one, we have store deduplication, for the other, the
huge cost is the actual building of telegram-desktop, which we cannot
abstract away with while only half-ass unbundling stuff.

Thus, as long as these packages have no use outside of building
Telegram, I'd very much prefer a scheme that lets us update them all
easily by just changing one version and a bunch of hashes.

Cheers




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 23 Sep 2022 09:18:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 05:18:48 2022
Received: from localhost ([127.0.0.1]:39429 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obepb-0005ce-II
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:18:47 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:49576)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obepT-0005c7-EM
 for 57675 <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:18:46 -0400
Date: Fri, 23 Sep 2022 17:18:17 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663924713;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=fWK1zG25kdt5DIORUdg3WmkymtmPNEItlVjilqyXCHI=;
 b=G00qvZNcgl00OxcTkFfaMzRNs8/rQYz5W+VYHt3njud/Kz04pjP1LvdDaX2DpdBVFRZF8B
 Z2AXYIBudCABlLDf+ZbTC7J2ghwS+DXKYxXLdfuV64q6HroQe8cf0WUZU+iLKOnMNq5+7j
 wFPhNl1GjIr9UtctzJRFLmhptE8RSGvjQ2Ylt/SbYWS0MFu+QP4ZNmYZacqtju2F1r2Kdt
 87EzuTY4pKSxj0MFtyAtxOvtvrjg7CrXAOndTDRHaC7233BdoJsiSEQVcgUvNYUGZgGuVA
 D2e9/R9gJNYVIaCYC2wjOGfXeGoLA/Uc/9LEFoRXp6FOc0F+/3gr9MN0jdWadQ==
Message-ID: <y76r1028n52.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v10 9/9] gnu: telegram: Remove unused variables.
In-Reply-To: <y76sfki8n5i.wl-hako@HIDDEN>
References: <y764jwya1tw.wl-hako@HIDDEN>
 <y7635cia1si.wl-hako@HIDDEN>
 <y761qs2a1s4.wl-hako@HIDDEN>
 <y76zgeq8n7b.wl-hako@HIDDEN>
 <y76y1ua8n6x.wl-hako@HIDDEN>
 <y76wn9u8n6k.wl-hako@HIDDEN>
 <y76v8pe8n66.wl-hako@HIDDEN>
 <y76tu4y8n5u.wl-hako@HIDDEN>
 <y76sfki8n5i.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (lib-rlottie-for-telegram-desktop)
(lib-waylandshells-for-telegram-desktop,libtgvoip-for-telegram-desktop):
Remove variables.
---
 gnu/packages/telegram.scm | 71 ---------------------------------------
 1 file changed, 71 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 397bd43534..bef462e819 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -231,21 +231,6 @@ (define lib-qr-for-telegram-desktop
        (base32
         "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f")))))
 
-(define lib-rlottie-for-telegram-desktop
-  (let ((commit "0671bf70547381effcf442ec9618e04502a8adbc")
-        (revision "2"))
-    (origin
-      (method git-fetch)
-      (uri (git-reference
-            (url "https://github.com/desktop-app/lib_rlottie.git")
-            (commit commit)))
-      (file-name (git-file-name
-                  "lib-rlottie-for-telegram-desktop"
-                  (git-version "0" revision commit)))
-      (sha256
-       (base32
-        "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv")))))
-
 (define lib-rpl-for-telegram-desktop
   (let ((commit "fd31f5bf382d2679eccdb1abaf8240a56c6a7abe")
         (revision "19"))
@@ -321,21 +306,6 @@ (define lib-ui-for-telegram-desktop
        (base32
         "1zv29i7hxv70dsq36zrvkvaraff5zcb7sccpncqfl51s59kfsnz5")))))
 
-(define lib-waylandshells-for-telegram-desktop
-  (let ((commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")
-        (revision "6"))
-    (origin
-      (method git-fetch)
-      (uri (git-reference
-            (url "https://github.com/desktop-app/lib_waylandshells.git")
-            (commit commit)))
-      (file-name (git-file-name
-                  "lib-waylandshells-for-telegram-desktop"
-                  (git-version "0" revision commit)))
-      (sha256
-       (base32
-        "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf")))))
-
 (define lib-webrtc-for-telegram-desktop
   (let ((commit "9b11599c3c56047cfa4c68b69f1fcc93b602c33a")
         (revision "83"))
@@ -498,47 +468,6 @@ (define-public rlottie-for-telegram-desktop
                (substitute* "meson.build"
                  (("werror=true") "werror=false"))))))))))
 
-(define-public libtgvoip-for-telegram-desktop
-  (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
-        (revision "88"))
-    (hidden-package
-     (package
-       (inherit libtgvoip)
-       (version
-        (git-version "2.4.4" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/telegramdesktop/libtgvoip.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "libtgvoip-for-telegram-desktop" version))
-          (sha256
-           (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "--disable-static"
-           "--disable-dsp"              ; FIXME
-           "--enable-audio-callback"
-           "--with-alsa"
-           "--with-pulse")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-linkers
-              (lambda _
-                (substitute* "Makefile.am"
-                  (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
-                   "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)"))
-                (substitute* "tgvoip.pc.in"
-                  (("libcrypto opus")
-                   "libcrypto opus alsa libpulse"))
-                #t)))))
-       (native-inputs
-        (list autoconf automake libtool pkg-config))))))
-
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 23 Sep 2022 09:18:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 05:18:32 2022
Received: from localhost ([127.0.0.1]:39426 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obepK-0005bw-VA
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:18:32 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:57520)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obepE-0005be-7k
 for 57675 <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:18:30 -0400
Date: Fri, 23 Sep 2022 17:18:01 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663924698;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=vCr0TFUmNUxecJg8d6We0Lao4ks4R1mzoKcz9MG9IA4=;
 b=pNV4peMDVZtHABrjDB+smNz20EY2LSx02TT7qQ3yhubi/9gNFSoz5M2yHEgnuzjyp8Oej0
 f8+5zXupAl2H3qo2iXCPoIvI0XUR2QYNopzsehmtZ1qGkzYt9cOAyG2DSUbo04BNn19zpT
 /IVxkLUxuDbfCfLWP6OMMwW6KVycjjXKYenwZ2Q83qKgkZrdGvKxJv8QKPb6F1SGTYZr1I
 8foqGfCcxUuVJaIC1kTmiHXSKOT1GL6h1GbgS969ceqvoQNpWHZYna0ViktaHqESUNJB4u
 oJLa8o1Rb7SsL0K7jIAL1UaZIpp3crBGtZQAGOjoJnxLxbrZ+aZeJNsBqNngAg==
Message-ID: <y76sfki8n5i.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v10 8/9] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <y76tu4y8n5u.wl-hako@HIDDEN>
References: <y764jwya1tw.wl-hako@HIDDEN>
 <y7635cia1si.wl-hako@HIDDEN>
 <y761qs2a1s4.wl-hako@HIDDEN>
 <y76zgeq8n7b.wl-hako@HIDDEN>
 <y76y1ua8n6x.wl-hako@HIDDEN>
 <y76wn9u8n6k.wl-hako@HIDDEN>
 <y76v8pe8n66.wl-hako@HIDDEN>
 <y76tu4y8n5u.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (dispatch-for-telegram-desktop): New variable.
(tgcalls-for-telegram-desktop,codegen-for-telegram-desktop)
(lib-base-for-telegram-desktop,lib-crl-for-telegram-desktop)
(lib-lottie-for-telegram-desktop,lib-qr-for-telegram-desktop)
(lib-rpl-for-telegram-desktop,lib-spellcheck-for-telegram-desktop)
(lib-storage-for-telegram-desktop,lib-tl-for-telegram-desktop)
(lib-ui-for-telegram-desktop,lib-webrtc-for-telegram-desktop)
(lib-webview-for-telegram-desktop,cmake-helpers-for-telegram-desktop): Bump to
source checkout.
(rlottie-for-telegram-desktop): Bump to submodule checkout.
[snippet]: Switch off werror.
[arguments]: Use inherited ones.
(telegram-desktop): Update to 4.2.0.
[patches]: Add telegram-desktop-allow-disable-libtgvoip.patch.
[arguments]<#:configure-flags>: Unbundle rlottie.
<#:phases>: Adjusted accordingly.
[native-inputs]: Add clang-toolchain.
Remove cmake-shared, extra-cmake-modules and qttools-5.
[inputs]: Replace qtbase-5 with qtbase.
Add abseil-cpp-cxxstd17, kcoreaddons, libvpx, qt5compat, wayland, webkitgtk.
Remove catch2, fcitx-qt5, fcitx5-qt, gtk+, hime, kwayland, libdbusmenu-qt,
libtgvoip-for-telegram-desktop, libx11, materialdecoration, nimf and qt5ct.
[propagated-inputs]: Remove dconf.
[license]: Adjusted accordingly.
---
 gnu/local.mk                                  |   1 +
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 ++++++++++
 gnu/packages/telegram.scm                     | 226 +++++++++---------
 3 files changed, 241 insertions(+), 111 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 10ee65fdd5..e8d0178293 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1871,6 +1871,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/teensy-loader-cli-help.patch		\
   %D%/packages/patches/tensorflow-c-api-fix.patch		\
   %D%/packages/patches/texinfo-5-perl-compat.patch		\
+  %D%/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch   \
   %D%/packages/patches/telegram-purple-adjust-test.patch	\
   %D%/packages/patches/texi2html-document-encoding.patch	\
   %D%/packages/patches/texi2html-i18n.patch			\
diff --git a/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
new file mode 100644
index 0000000000..3c062cbd9a
--- /dev/null
+++ b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
@@ -0,0 +1,125 @@
+From 4d1a8351ee82728912fcf7ad0070049b2910c393 Mon Sep 17 00:00:00 2001
+From: Klemens Nanni <klemens@HIDDEN>
+Date: Wed, 2 Mar 2022 01:07:48 +0100
+Subject: [PATCH] Introduce TDESKTOP_DISABLE_LEGACY_TGVOIP
+
+Originally from Alt Linux[0], OpenBSD has so far adapted the removal of
+tgvoip in the official net/tdesktop build.
+
+tgcalls provides everything needed for calls;  audio/video/desktop
+sharing calls have been working fine across different operating systems
+and telegram desktop/mobile versions without problems.
+
+0: http://www.sisyphus.ru/cgi-bin/srpm.pl/Sisyphus/telegram-desktop/getpatch/1
+---
+ Telegram/CMakeLists.txt                   | 6 +++---
+ Telegram/SourceFiles/calls/calls_call.cpp | 6 ++++++
+ Telegram/cmake/lib_tgcalls.cmake          | 4 ++++
+ Telegram/cmake/telegram_options.cmake     | 8 ++++++++
+ 4 files changed, 21 insertions(+), 3 deletions(-)
+
+diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
+index fb2bf370f..5d9578f2d 100644
+--- a/Telegram/CMakeLists.txt
++++ b/Telegram/CMakeLists.txt
+@@ -28,7 +28,9 @@ get_filename_component(res_loc Resources REALPATH)
+ include(cmake/telegram_options.cmake)
+ include(cmake/lib_ffmpeg.cmake)
+ include(cmake/lib_stripe.cmake)
+-include(cmake/lib_tgvoip.cmake)
++if (NOT TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    include(cmake/lib_tgvoip.cmake)
++endif()
+ include(cmake/lib_tgcalls.cmake)
+ include(cmake/td_export.cmake)
+ include(cmake/td_mtproto.cmake)
+@@ -52,9 +54,7 @@ target_prepare_qrc(Telegram)
+ 
+ target_link_libraries(Telegram
+ PRIVATE
+-    tdesktop::lib_tgcalls_legacy
+     tdesktop::lib_tgcalls
+-    tdesktop::lib_tgvoip
+ 
+     # Order in this list defines the order of include paths in command line.
+     # We need to place desktop-app::external_minizip this early to have its
+diff --git a/Telegram/SourceFiles/calls/calls_call.cpp b/Telegram/SourceFiles/calls/calls_call.cpp
+index 6894d5d90..cd03620e7 100644
+--- a/Telegram/SourceFiles/calls/calls_call.cpp
++++ b/Telegram/SourceFiles/calls/calls_call.cpp
+@@ -39,8 +39,10 @@ class InstanceImpl;
+ class InstanceV2Impl;
+ class InstanceV2ReferenceImpl;
+ class InstanceV2_4_0_0Impl;
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ class InstanceImplLegacy;
+ void SetLegacyGlobalServerConfig(const std::string &serverConfig);
++#endif
+ } // namespace tgcalls
+ 
+ namespace Calls {
+@@ -56,7 +58,9 @@ const auto Register = tgcalls::Register<tgcalls::InstanceImpl>();
+ const auto RegisterV2 = tgcalls::Register<tgcalls::InstanceV2Impl>();
+ const auto RegV2Ref = tgcalls::Register<tgcalls::InstanceV2ReferenceImpl>();
+ const auto RegisterV240 = tgcalls::Register<tgcalls::InstanceV2_4_0_0Impl>();
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ const auto RegisterLegacy = tgcalls::Register<tgcalls::InstanceImplLegacy>();
++#endif
+ 
+ [[nodiscard]] base::flat_set<int64> CollectEndpointIds(
+ 		const QVector<MTPPhoneConnection> &list) {
+@@ -1322,7 +1326,9 @@ Call::~Call() {
+ }
+ 
+ void UpdateConfig(const std::string &data) {
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ 	tgcalls::SetLegacyGlobalServerConfig(data);
++#endif
+ }
+ 
+ } // namespace Calls
+diff --git a/Telegram/cmake/lib_tgcalls.cmake b/Telegram/cmake/lib_tgcalls.cmake
+index 34a5ba418..8a784be2c 100644
+--- a/Telegram/cmake/lib_tgcalls.cmake
++++ b/Telegram/cmake/lib_tgcalls.cmake
+@@ -267,6 +267,10 @@ PRIVATE
+     ${tgcalls_loc}
+ )
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    return()
++endif()
++
+ add_library(lib_tgcalls_legacy STATIC)
+ init_target(lib_tgcalls_legacy)
+ 
+diff --git a/Telegram/cmake/telegram_options.cmake b/Telegram/cmake/telegram_options.cmake
+index 1c3c25431..033f2bc95 100644
+--- a/Telegram/cmake/telegram_options.cmake
++++ b/Telegram/cmake/telegram_options.cmake
+@@ -4,7 +4,9 @@
+ # For license and copyright information please follow this link:
+ # https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
+ 
++option(TDESKTOP_DISABLE_LEGACY_TGVOIP "Disable legacy tgvoip support." OFF)
+ option(TDESKTOP_API_TEST "Use test API credentials." OFF)
++
+ set(TDESKTOP_API_ID "0" CACHE STRING "Provide 'api_id' for the Telegram API access.")
+ set(TDESKTOP_API_HASH "" CACHE STRING "Provide 'api_hash' for the Telegram API access.")
+ 
+@@ -40,6 +42,12 @@ if (TDESKTOP_API_ID STREQUAL "0" OR TDESKTOP_API_HASH STREQUAL "")
+     " ")
+ endif()
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_LEGACY_TGVOIP)
++else()
++    target_link_libraries(Telegram PRIVATE tdesktop::lib_tgcalls_legacy tdesktop::lib_tgvoip)
++endif()
++
+ if (DESKTOP_APP_DISABLE_SPELLCHECK)
+     target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_SPELLCHECK)
+ else()
+-- 
+2.37.3
+
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 595a649017..397bd43534 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2021 Raghav Gururajan <rg@HIDDEN>
+;;; Copyright © 2022 Hilton Chain <hako@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -43,6 +44,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages lxqt)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages perl)
@@ -60,6 +62,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages webkit)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
@@ -105,9 +108,24 @@ (define crc32c-for-telegram-desktop
        (base32
         "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
 
+(define dispatch-for-telegram-desktop
+  (let ((commit "ecc678d79f38cf63d24b6d16e18f69a9117d8d73")
+        (revision "14"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/apple/swift-corelibs-libdispatch.git")
+            (commit commit)))
+      (file-name
+       (git-file-name
+        "dispatch-for-telegram-desktop" (git-version "5.6" revision commit)))
+      (sha256
+       (base32
+        "0hy4q6x3bgphazmpl3v62995abc9fpi8y7yg9aiblzsqkxmgjmqn")))))
+
 ;; NOTE:
 ;; TDESKTOP_KEEP=(tgcalls)
-;; git checkout v2.9.3
+;; git checkout v4.2.0
 ;; git submodule init
 ;; git submodule deinit --force Telegram/ThirdParty
 ;;
@@ -124,8 +142,8 @@ (define crc32c-for-telegram-desktop
 ;;     | less
 
 (define tgcalls-for-telegram-desktop
-  (let ((commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")
-        (revision "738"))
+  (let ((commit "82c4921045c440b727c38e464f3a0539708423ff")
+        (revision "921"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -136,11 +154,11 @@ (define tgcalls-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj")))))
+        "1109r17abh66yz91b65fn2g4ryfybnsr5g6075sjhbah1gccv9mk")))))
 
 (define codegen-for-telegram-desktop
-  (let ((commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")
-        (revision "35"))
+  (let ((commit "8815d7aec9b901191d08445f29e2edd0aeba7b2c")
+        (revision "54"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -151,11 +169,11 @@ (define codegen-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk")))))
+        "1ly958mjk25kfcpa174kvg134p9r751ixi275afj5kr57by9mbq2")))))
 
 (define lib-base-for-telegram-desktop
-  (let ((commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")
-        (revision "265"))
+  (let ((commit "cc5550de2766657ced8d0bb4d2db3f050363d3d5")
+        (revision "383"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -166,11 +184,11 @@ (define lib-base-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78")))))
+        "16x5qp5w51igk213rhl49x256vjvpkjkgi2ziwzxnsj0pzdd4y27")))))
 
 (define lib-crl-for-telegram-desktop
   (let ((commit "4e620bc383d032aadea8e6af02661f8c76695cec")
-        (revision "16"))
+        (revision "21"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -184,8 +202,8 @@ (define lib-crl-for-telegram-desktop
         "17bngj247qwq0dg4h37xdi5v1mk22y4yp7sp6ph3irmnz4awah0x")))))
 
 (define lib-lottie-for-telegram-desktop
-  (let ((commit "0770df009db7928df1d0cad0900dc5110106d229")
-        (revision "26"))
+  (let ((commit "6ed1c22ed60692d2f288c9222fafd7d5cd62f904")
+        (revision "61"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -196,11 +214,11 @@ (define lib-lottie-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb")))))
+        "0l57ibfij9xm4ww4s9cc63q1x8xzpc6ablwaji1krrn3xxksqdd4")))))
 
 (define lib-qr-for-telegram-desktop
-  (let ((commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")
-        (revision "7"))
+  (let ((commit "501f4c3502fd872ab4d777df8911bdac32de7c48")
+        (revision "10"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -211,7 +229,7 @@ (define lib-qr-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0")))))
+        "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f")))))
 
 (define lib-rlottie-for-telegram-desktop
   (let ((commit "0671bf70547381effcf442ec9618e04502a8adbc")
@@ -229,8 +247,8 @@ (define lib-rlottie-for-telegram-desktop
         "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv")))))
 
 (define lib-rpl-for-telegram-desktop
-  (let ((commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")
-        (revision "15"))
+  (let ((commit "fd31f5bf382d2679eccdb1abaf8240a56c6a7abe")
+        (revision "19"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -241,11 +259,11 @@ (define lib-rpl-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn")))))
+        "1fpq8nyh8wx6zkb3sjjrx9ydqzyhw4483bdk1i9blp0ijn9xxdxf")))))
 
 (define lib-spellcheck-for-telegram-desktop
-  (let ((commit "68c9b788958904aea7de79f986a0f82ec8c5b094")
-        (revision "187"))
+  (let ((commit "0e386e22cb6ba8a114b569840a635e096dcb645e")
+        (revision "198"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -256,11 +274,11 @@ (define lib-spellcheck-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn")))))
+        "06js7ccv6z3nbd4v2p4hp2prrlmz5ww46y3yb922pp7gm317dwyw")))))
 
 (define lib-storage-for-telegram-desktop
-  (let ((commit "403df6c4a29562bd417c92d410e49819f5a48cc1")
-        (revision "20"))
+  (let ((commit "839609369d04615475cb1518636de3619106a917")
+        (revision "22"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -271,11 +289,11 @@ (define lib-storage-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5")))))
+        "1l26h2fmqp9dcpr6pfvdd5sjb68j7yh0ms2lnr8na7jf5xqmkwwm")))))
 
 (define lib-tl-for-telegram-desktop
-  (let ((commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")
-        (revision "24"))
+  (let ((commit "36fb95c4de1339d2c8921ad6b2911858c3d0e0fa")
+        (revision "42"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -286,11 +304,11 @@ (define lib-tl-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m")))))
+        "03rngnssnqwr7ad05qn64mwgji5fb0r3fp5ybkf951p8phr1jvzk")))))
 
 (define lib-ui-for-telegram-desktop
-  (let ((commit "1b590f9e16eb9571a039f072d6fea66c607e419f")
-        (revision "508"))
+  (let ((commit "f82162f05a72352bfee0fb79f9e50c350b3a98f3")
+        (revision "917"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -301,7 +319,7 @@ (define lib-ui-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f")))))
+        "1zv29i7hxv70dsq36zrvkvaraff5zcb7sccpncqfl51s59kfsnz5")))))
 
 (define lib-waylandshells-for-telegram-desktop
   (let ((commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")
@@ -319,8 +337,8 @@ (define lib-waylandshells-for-telegram-desktop
         "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf")))))
 
 (define lib-webrtc-for-telegram-desktop
-  (let ((commit "ef49f953f12b112008a094a719f40939aaf39db4")
-        (revision "72"))
+  (let ((commit "9b11599c3c56047cfa4c68b69f1fcc93b602c33a")
+        (revision "83"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -331,11 +349,11 @@ (define lib-webrtc-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw")))))
+        "0158jx8hj4fv6qpw5pgcr2mdlihj0dxs060dg3iy61zz6q68z5dq")))))
 
 (define lib-webview-for-telegram-desktop
-  (let ((commit "e06427c624515485774e2e2181d4afeb05ad5a67")
-        (revision "40"))
+  (let ((commit "546df65eb2424550ed84ce14fc9c5d1bb3586f35")
+        (revision "76"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -346,11 +364,11 @@ (define lib-webview-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4")))))
+        "0zzjwyw82bggncmmsw969lnjl04pklmqjqm77jjzadinivl52z0l")))))
 
 (define cmake-helpers-for-telegram-desktop
-  (let ((commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")
-        (revision "261"))
+  (let ((commit "b9f1b6036329e44ec61f51f0b363fe2319158b84")
+        (revision "444"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -361,7 +379,7 @@ (define cmake-helpers-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5")))))
+        "0sgp1nlmcm2imgpssqxrwinafnmicmq0qikgdnhs1d44hrwxbws3")))))
 
 (define-public webrtc-for-telegram-desktop
   (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
@@ -456,8 +474,8 @@ (define-public webrtc-for-telegram-desktop
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-  (let ((commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")
-        (revision "671"))
+  (let ((commit "8c69fc20cf2e150db304311f1233a4b55a8892d7")
+        (revision "678"))
     (hidden-package
      (package
        (inherit rlottie)
@@ -473,21 +491,12 @@ (define-public rlottie-for-telegram-desktop
           (file-name
            (git-file-name "rlottie-for-telegram-desktop" version))
           (sha256
-           (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "-Dlog=true"
-           "-Ddumptree=true"
-           "-Dtest=true")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-cxx-flags
-              (lambda _
-                (substitute* "meson.build"
-                  (("werror=true")
-                   "werror=false"))
-                #t)))))))))
+           (base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
+          (modules '((guix build utils)))
+          (snippet
+           #~(begin
+               (substitute* "meson.build"
+                 (("werror=true") "werror=false"))))))))))
 
 (define-public libtgvoip-for-telegram-desktop
   (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
@@ -533,7 +542,7 @@ (define-public libtgvoip-for-telegram-desktop
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-    (version "2.9.3")
+    (version "4.2.0")
     (source
      (origin
        (method git-fetch)
@@ -545,15 +554,19 @@ (define-public telegram-desktop
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0dzf1y3xhqvizg29bd1kya48cjbkq073d2x10ynwcmmx396l4nd8"))
+        (base32 "16xhng5m3aw4j4ax74nydpxjnx5z3ga21vmrznlm4lbk9ivyn7vx"))
+       (patches
+        (search-patches
+         ;; https://github.com/telegramdesktop/tdesktop/pull/24126
+         "telegram-desktop-allow-disable-libtgvoip.patch"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
         #~(begin
             (let ((keep
-                   '( ;; Not available in Guix.
-                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+                   '(;; Not available in Guix.
+                     "dispatch" "tgcalls")))
               (with-directory-excursion "Telegram/ThirdParty"
                 (for-each delete-file-recursively
                           (lset-difference string=?
@@ -573,23 +586,22 @@ (define-public telegram-desktop
              (ice-9 match))
            #:configure-flags
            #~(list
-              ;; Client applications must provide their own API-ID and API-HASH,
-              ;; see also <https://core.telegram.org/api/obtaining_api_id>.
-              ;; Here, we snarf the keys from the official Snaps, which are
-              ;; also stored in <#$source/snap/snapcraft.yaml>.
+              ;; Client applications need an API ID and hash, see also:
+              ;; <https://core.telegram.org/api/obtaining_api_id>. Here, we
+              ;; use the ones given by the official Snap package, see:
+              ;; <https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml>.
               "-DTDESKTOP_API_ID=611335"
               "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
-              ;; Disable WebkitGTK support as it fails to link
-              "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
-              ;; Use bundled fonts as fallback.
-              "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
+              "-DTDESKTOP_DISABLE_LEGACY_TGVOIP=ON"
+              "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
+              "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
+              "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON"
+              (string-append "-DTDESKTOP_LAUTCHER_BASENAME=" #$name))
            #:phases
            #~(modify-phases %standard-phases
-               (add-after 'unpack 'make-writable
-                 (lambda _
-                   (for-each make-file-writable (find-files "."))))
-               (add-after 'make-writable 'copy-inputs
+               (add-after 'unpack 'unpack-additional-sources
                  (lambda _
+                   (for-each make-file-writable (find-files "."))
                    (for-each
                     (match-lambda
                       ((dst src)
@@ -601,81 +613,73 @@ (define-public telegram-desktop
                       ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
                       ("Telegram/lib_lottie" #$lib-lottie-for-telegram-desktop)
                       ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
-                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-desktop)
                       ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
                       ("Telegram/lib_spellcheck" #$lib-spellcheck-for-telegram-desktop)
                       ("Telegram/lib_storage" #$lib-storage-for-telegram-desktop)
                       ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
                       ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
-                      ("Telegram/lib_waylandshells" #$lib-waylandshells-for-telegram-desktop)
                       ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-desktop)
                       ("Telegram/lib_webview" #$lib-webview-for-telegram-desktop)
+                      ("Telegram/ThirdParty/dispatch" #$dispatch-for-telegram-desktop)
                       ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
-               (add-before 'configure 'patch-cxx-flags
-                 (lambda _
-                   (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
                (add-after 'install 'glib-or-gtk-compile-schemas
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
                (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
     (native-inputs
-     (list cmake-shared
-           extra-cmake-modules
-           `(,glib "bin")
+     (list `(,glib "bin")
            `(,gtk+ "bin")
+           clang-toolchain
            pkg-config
-           python-wrapper
-           qttools-5))
+           python-wrapper))
     (inputs
-     (list alsa-lib
+     (list abseil-cpp-cxxstd17
+           alsa-lib
            c++-gsl
-           catch2
-           libexpected
-           fcitx-qt5
-           fcitx5-qt
            ffmpeg
-           glib
-           glibmm-2.64
-           gtk+
-           hime
-           hunspell
            jemalloc
-           kwayland
-           libdbusmenu-qt
+           kcoreaddons
+           libexpected
            libjpeg-turbo
-           libtgvoip-for-telegram-desktop
-           lz4
-           materialdecoration
+           libvpx
            minizip
-           nimf
            openal
            openssl
            opus
            pulseaudio
            qrcodegen-cpp
-           qtbase-5
-           qtsvg-5
-           qt5ct
+           qt5compat
+           qtbase
            qtimageformats
-           qtwayland
+           qtsvg-5
            range-v3
            rlottie-for-telegram-desktop
            rnnoise
            webrtc-for-telegram-desktop
-           libx11
-           libxcb
-           xcb-util-keysyms
            xxhash
-           zlib))
-    (propagated-inputs (list dconf))
+           zlib
+           ;; DESKTOP_APP_DISABLE_DBUS_INTEGRATION
+           glibmm-2.64
+           ;; DESKTOP_APP_DISABLE_SPELLCHECK
+           hunspell
+           ;; DESKTOP_APP_LOTTIE_USE_CACHE
+           lz4
+           ;; DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
+           qtwayland wayland
+           ;; DESKTOP_APP_DISABLE_X11_INTEGRATION
+           libxcb xcb-util-keysyms
+           ;; Optional
+           webkitgtk))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
     (home-page "https://desktop.telegram.org/")
     (license
      (list
-      ;; ThirdParty
-      license:lgpl2.1+
+      ;; Telegram/ThirdParty/dispatch
+      license:asl2.0
+      ;; Telegram/ThirdParty/tgcalls
+      license:lgpl3
       ;; Others
       license:gpl3+))))
 
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 23 Sep 2022 09:18:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 05:18:14 2022
Received: from localhost ([127.0.0.1]:39423 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obep4-0005bT-HF
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:18:14 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:37650)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obep2-0005bF-8S
 for 57675 <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:18:12 -0400
Date: Fri, 23 Sep 2022 17:17:49 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663924686;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=H4C31GqWEn9mqAz3YBBwWeJSwktXXYZ80TniBZk8fmQ=;
 b=UJJv1/X7gmlhUOdUGcFmF+lrL+Qdw6fNHPBBB2NCcYxx+wbnB3/QU7nFmDmOEKdTi9kQJC
 NV3kctlsnBX4hesU0S0MnHqhYVx4lIQ9KvgbTaHz1pkQ4zPiEa8wDoADA+bDCrPDbvo9CN
 EomdF7CJF4xVzXDlv8jrZ2cdB97e1M8Ny5oje8tI2dkzPxtFhn2hTjMkSY7dXa5DizO3ZC
 302LNBTYzDoUn76+MT+U207vQoB4S4ROz/d+JbnkIlHZek6sj/ngSUoZN2S+v+bjMuCmo0
 4AKAK4SL4jrnnWduZh18OZtkd7bIPN2POgrQbo6NEcut/UcYQtVMb3uRlmscYw==
Message-ID: <y76tu4y8n5u.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v10 7/9] gnu: Remove libvpx-for-telegram-desktop.
In-Reply-To: <y76v8pe8n66.wl-hako@HIDDEN>
References: <y764jwya1tw.wl-hako@HIDDEN>
 <y7635cia1si.wl-hako@HIDDEN>
 <y761qs2a1s4.wl-hako@HIDDEN>
 <y76zgeq8n7b.wl-hako@HIDDEN>
 <y76y1ua8n6x.wl-hako@HIDDEN>
 <y76wn9u8n6k.wl-hako@HIDDEN>
 <y76v8pe8n66.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (libvpx-for-telegram-desktop): Remove variable.
---
 gnu/packages/telegram.scm | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 23aeae78e9..595a649017 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -75,21 +75,6 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
 
-(define libvpx-for-telegram-desktop
-  (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
-        (revision "112"))
-    (origin
-      (method git-fetch)
-      (uri (git-reference
-            (url "https://chromium.googlesource.com/webm/libvpx")
-            (commit commit)))
-      (file-name (git-file-name
-                  "libvpx-for-telegram-desktop"
-                  (git-version "1.9.0" revision commit)))
-      (sha256
-       (base32
-        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
-
 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
         (revision "2211"))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 23 Sep 2022 09:18:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 05:18:02 2022
Received: from localhost ([127.0.0.1]:39416 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obeor-0005aQ-Us
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:18:02 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:53736)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obeop-0005Zz-MX
 for 57675 <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:18:00 -0400
Date: Fri, 23 Sep 2022 17:17:37 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663924673;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=R1C7JmrpvdKkbPSxBxZ+C/483DWIxNdAqBpGUI4FEjA=;
 b=AHoJqAso5D8ZRSjAkocR19tmBHdcBl2X1gFWiZSDlyXCkA1rS5N1OV7AdQOev5MKXMSmFI
 6rdbHGBN4k5uDhTL0nZnEjNDWyexna1r5RJHxSFnHEfIHD1g3c59CCmFVAy86umiaSHU0m
 QZgpa1wChf7fkYwecV92VRDrSB5j2S4Bxfyu9Sk+nQWCxNxCCGjJ7YUi3hn/LdlKeudU1M
 V57fw5bTIoMk5Y/fBNBL6Rm4tWmiB4vxWtqtla8GhCuTj2Tih448J2QWTFzXI5ojOCXSIa
 J9pS0yjow061kuufJWS/a+HzDRRuQEPmZBDPP2C6Ywk9WUjAW/FB6jUSBUHIWw==
Message-ID: <y76v8pe8n66.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v10 6/9] gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
In-Reply-To: <y76wn9u8n6k.wl-hako@HIDDEN>
References: <y764jwya1tw.wl-hako@HIDDEN>
 <y7635cia1si.wl-hako@HIDDEN>
 <y761qs2a1s4.wl-hako@HIDDEN>
 <y76zgeq8n7b.wl-hako@HIDDEN>
 <y76y1ua8n6x.wl-hako@HIDDEN>
 <y76wn9u8n6k.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details. Content preview: *
 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
 New file. * gnu/local.mk (dist_patch_DATA): Add patch. *
 gnu/packages/telegram.scm
 (crc32c-for-telegram-desktop): New variab [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: xiretza.xyz (xyz)]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

* gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (crc32c-for-telegram-desktop): New variable.
(webrtc-for-telegram-desktop): Update to 621f3da5.
[patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
[snippet]: Unbundle libvpx and openh264.
[native-inputs]: Remove perl.
[inputs]: Replace pipewire with pipewire-0.3.
Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa, openh264.
Remove alsa-lib, libx11 and pulseaudio.
[arguments<#:phases>,license]: Adjusted accordingly.
---
 gnu/local.mk                                  |  1 +
 ...r-telegram-desktop-fix-gcc12-cstdint.patch | 21 +++++
 gnu/packages/telegram.scm                     | 76 ++++++++++++-------
 3 files changed, 70 insertions(+), 28 deletions(-)
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index ef1bae5f3c..10ee65fdd5 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1969,6 +1969,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/warsow-qfusion-fix-bool-return-type.patch	\
   %D%/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch	\
   %D%/packages/patches/webrtc-audio-processing-big-endian.patch	\
+  %D%/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch   \
   %D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch	\
   %D%/packages/patches/widelands-add-missing-map-include.patch	\
   %D%/packages/patches/widelands-system-wide_minizip.patch	\
diff --git a/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
new file mode 100644
index 0000000000..f1fd29d0d3
--- /dev/null
+++ b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
@@ -0,0 +1,21 @@
+From 86d2bcd7afb8706663d29e30f65863de5a626142 Mon Sep 17 00:00:00 2001
+From: Xiretza <xiretza@HIDDEN>
+Date: Sun, 15 May 2022 12:47:41 +0200
+Subject: [PATCH] fix(h265_pps_parser): fix missing cstdint include
+
+---
+ src/common_video/h265/h265_pps_parser.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/common_video/h265/h265_pps_parser.h b/src/common_video/h265/h265_pps_parser.h
+index 28c95ea9..c180b1b9 100644
+--- a/src/common_video/h265/h265_pps_parser.h
++++ b/src/common_video/h265/h265_pps_parser.h
+@@ -12,6 +12,7 @@
+ #define COMMON_VIDEO_H265_PPS_PARSER_H_
+
+ #include "absl/types/optional.h"
++#include <cstdint>
+
+ namespace rtc {
+ class BitBuffer;
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 08cf04fc47..23aeae78e9 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -30,6 +30,8 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages digest)
   #:use-module (gnu packages fcitx)
   #:use-module (gnu packages fcitx5)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -58,6 +60,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
@@ -102,6 +105,21 @@ (define libyuv-for-telegram-desktop
        (base32
         "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
 
+(define crc32c-for-telegram-desktop
+  (let ((commit "21fc8ef30415a635e7351ffa0e5d5367943d4a94")
+        (revision "78"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/google/crc32c")
+            (commit commit)))
+      (file-name (git-file-name
+                  "crc32c-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
+
 ;; NOTE:
 ;; TDESKTOP_KEEP=(tgcalls)
 ;; git checkout v2.9.3
@@ -361,8 +379,8 @@ (define cmake-helpers-for-telegram-desktop
         "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5")))))
 
 (define-public webrtc-for-telegram-desktop
-  (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
-        (revision "166"))
+  (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
+        (revision "327"))
     (hidden-package
      (package
        (name "webrtc-for-telegram-desktop")
@@ -378,58 +396,62 @@ (define-public webrtc-for-telegram-desktop
           (file-name
            (git-file-name name version))
           (sha256
-           (base32 "0plwdp6xgxi27hif5j7kpq425cidxyxbbga3z2f64dsninwy5p1x"))
+           (base32 "1ks1572k1jj7pmzwm79p2gdgi31dd4bs761bphnx32zyq4c6skxk"))
+          (patches
+           (search-patches
+            ;; https://github.com/desktop-app/tg_owt/pull/101
+            "webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch"))
           (modules '((guix build utils)
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
            #~(begin
                (let ((keep
-                      '( ;; Custom forks which are incompatible with the ones in Guix.
-                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                      '("abseil-cpp" "libsrtp" "rnnoise"
                         ;; Not available in Guix.
-                        "pffft" "usrsctp"
-                        ;; Has cmake support files for libvpx input.
-                        "libvpx")))
+                        "crc32c" "pffft")))
                  (with-directory-excursion "src/third_party"
                    (for-each delete-file-recursively
                              (lset-difference string=?
                                               (scandir ".")
-                                              (cons* "." ".." keep)))))))))
+                                              (cons* "." ".." keep)))))
+               ;; Use system openh264.
+               (substitute* "CMakeLists.txt"
+                 (("\\include\\(cmake\\/libopenh264\\.cmake\\)")""))))))
        (build-system cmake-build-system)
        (arguments
         (list
          #:tests? #f                    ; No target
-         #:configure-flags #~(list "-DCMAKE_C_FLAGS=-fPIC"
-                                   "-DCMAKE_CXX_FLAGS=-fPIC")
          #:phases
          #~(modify-phases %standard-phases
-             (add-after 'unpack 'copy-inputs
+             (add-after 'unpack 'unpack-additional-sources
                (lambda _
                  (let* ((third-party (string-append (getcwd) "/src/third_party"))
-                        (libvpx-to (string-append third-party
-                                                  "/libvpx/source/libvpx"))
+                        (crc32c-to (string-append third-party "/crc32c/src"))
                         (libyuv-to (string-append third-party "/libyuv")))
-                   (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
+                   (copy-recursively #$crc32c-for-telegram-desktop crc32c-to)
                    (copy-recursively #$libyuv-for-telegram-desktop
                                      libyuv-to)))))))
-       (native-inputs (list perl pkg-config python-wrapper yasm))
+       (native-inputs (list pkg-config python-wrapper yasm))
        (inputs
-        (list alsa-lib
+        (list abseil-cpp-cxxstd17
               ffmpeg
               libjpeg-turbo
-              glib
-              libxcomposite
-              libxdamage
-              libxrender
-              libxrandr
+              libvpx
+              openh264
               openssl
               opus
-              pipewire
+              ;; TG_OWT_USE_PROTOBUF
               protobuf
-              pulseaudio
-              libx11
+              ;; TG_OWT_USE_PIPEWIRE
+              glib libdrm libglvnd mesa pipewire-0.3
+              ;; TG_OWT_USE_X11
+              libxcomposite
+              libxdamage
               libxext
+              libxfixes
+              libxrandr
+              libxrender
               libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
@@ -441,13 +463,11 @@ (define-public webrtc-for-telegram-desktop
          license:asl2.0
          ;; LibYuv
          (license:non-copyleft "file:///src/third_party/libyuv/LICENSE")
-         ;; OpenH264
-         license:bsd-2
          ;; PFFFT
          (license:non-copyleft "file:///src/third_party/pffft/LICENSE")
          ;; RnNoise
          license:gpl3
-         ;; LibSRTP, LibVPx, UsrSCTP and Others
+         ;; LibSRTP, Crc32c and Others
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 23 Sep 2022 09:17:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 05:17:46 2022
Received: from localhost ([127.0.0.1]:39412 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obeoc-0005Zl-Jn
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:17:46 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:59160)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obeob-0005ZX-8f
 for 57675 <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:17:45 -0400
Date: Fri, 23 Sep 2022 17:17:23 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663924659;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=RxFXt6EB5ujZGI6OXncH2i0YNK3jWZwDztcE1IR6Fu4=;
 b=WmblRFou+sDj31zv8YYM6nUhEus0jywKPPlV3NwRHlSk7XxNcfyucvAeW4OYDmaSY/uZSy
 OGw7z7ZLh7Xkpg/KHXQTMZJ/DYFF/uTLr4775swBOxFt9p8RD2c05H8vm18BQb/9qlrsWK
 HhjgogqRo3elOkG0bka5hRLC3hUqB1DF438uiodkLdZX8F7Am/Um8g3R5zSSjG76bL5zRz
 pvlBKkn4LPrD3l/FSaeJXan2KEsFV/Ns2KvTkIDer38TByrQ9B+iT6a3two6sLrlZxZaJs
 cOeYcQzFXEd9rE+r1Nt4rZK0DdF3hBTBuJ3RTzeqQv4IrRYRdloJyyl0wa1keQ==
Message-ID: <y76wn9u8n6k.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v10 5/9] gnu: kcoreaddons: Update to 5.98.0.
In-Reply-To: <y76y1ua8n6x.wl-hako@HIDDEN>
References: <y764jwya1tw.wl-hako@HIDDEN>
 <y7635cia1si.wl-hako@HIDDEN>
 <y761qs2a1s4.wl-hako@HIDDEN>
 <y76zgeq8n7b.wl-hako@HIDDEN>
 <y76y1ua8n6x.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (kcoreaddons): Update to 5.98.0.
[arguments]<#:phases>: Update blocklist for failing tests.
---
 gnu/packages/kde-frameworks.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index e4337636ac..61cbf19bc4 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -574,7 +574,7 @@ (define-public kconfig
 (define-public kcoreaddons
   (package
     (name "kcoreaddons")
-    (version "5.70.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -583,7 +583,7 @@ (define-public kcoreaddons
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "10a7zys3limsawl7lk9ggymk3msk2bp0y8hp0jmsvk3l405pd1ps"))))
+                "0lqmyxqsw7w1qgdgmax63v64cy7dwk7n4zi8k53xmrqjmd9jir52"))))
     (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules qttools-5 shared-mime-info
@@ -602,14 +602,8 @@ (define-public kcoreaddons
                  ;; FIXME: Make it pass.  Test failure caused by stout/stderr
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
-                 ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))))
-         ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
-         (add-after 'unpack 'fix-broken-test
-           (lambda _
-             (substitute* "autotests/kdirwatch_unittest.cpp"
-               (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))))
+                 ;; FIXME
+                 (display "[test_inheritance]\n*\n")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 23 Sep 2022 09:17:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 05:17:34 2022
Received: from localhost ([127.0.0.1]:39408 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obeoQ-0005ZL-72
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:17:34 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:33370)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obeoO-0005Z7-3H
 for 57675 <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:17:32 -0400
Date: Fri, 23 Sep 2022 17:17:10 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663924646;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=DPqzO4hrjYh+qq9tQuuHIaD0PiiP2kje4P6OaSdnE2c=;
 b=lwvI5sJPGHq3yDhURHwvHakEazaYCFES/mQ9Yfb2Ts4c52mhn/UD0JvXudZg48elcZcctx
 44tccyEdCWdxEc+KpqI+RtUdsKJWVQS2pe9Ozc8bov1vMAOpqJRL3nk4wMRTp4dJ9Vu9Gv
 V4AQpeAwSVOvZ7G06aMAqG8V2Bu5anQcC9evMNPtbzJLJvuddVwO1MiyxuFav284CThXRJ
 /Moa94yhNlrSXw4RtZGlxPJUDSwyK5uquyVTodylNGSqI0ad6ddUmSUwGg34+lFTr1HJXM
 b3kA/wauYlpUQg9iP9kOOTp2aQdi8F3UPv5I2FE8mOL8MlGlasz6LcxzQ3/OcQ==
Message-ID: <y76y1ua8n6x.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v10 4/9] gnu: kcoreaddons: Remove trailing #t.
In-Reply-To: <y76zgeq8n7b.wl-hako@HIDDEN>
References: <y764jwya1tw.wl-hako@HIDDEN>
 <y7635cia1si.wl-hako@HIDDEN>
 <y761qs2a1s4.wl-hako@HIDDEN>
 <y76zgeq8n7b.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (kcoreaddons)[arugments]<#:phases>: Remove
trailing #t.
---
 gnu/packages/kde-frameworks.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 52314fd0ff..e4337636ac 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -603,20 +603,17 @@ (define-public kcoreaddons
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
                  ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))
-             #t))
+                 (display "[benchNotifyWatcher]\n*\n")))))
          ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
          (add-after 'unpack 'fix-broken-test
            (lambda _
              (substitute* "autotests/kdirwatch_unittest.cpp"
                (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))
-             #t))
+                (string-append m "\nwaitUntilNewSecond();")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-             (setenv "TMPDIR" (getcwd))
-             #t)))))
+             (setenv "TMPDIR" (getcwd)))))))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Qt addon library with a collection of non-GUI utilities")
     (description "KCoreAddons provides classes built on top of QtCore to
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 23 Sep 2022 09:17:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 05:17:20 2022
Received: from localhost ([127.0.0.1]:39405 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obeoB-0005Ys-TW
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:17:20 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:35776)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obeoA-0005Ye-9w
 for 57675 <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:17:18 -0400
Date: Fri, 23 Sep 2022 17:16:56 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663924632;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=QgrDJbgQOAH6sm92Ol3fqk9Hsc3bHvkj39SM5AjW5eo=;
 b=xMO3BvoT1N0UhckL6feWKpIAzxt8fTHdCOwuKCWpUZdg8oEaoaMAPrfjBcrmrZ90kfQEXU
 xh/L5hWU3vIXI+d0dtMzEW2cvHcLcbI0vlCkpvHOrMprtJm0GpjBMegPIXlQSU1Ks0rwZ5
 taWkDQQU9P/DXrvJX3yGcJuYSP8TYc27SmIs6AqrYtm0lL5Rf585UIsPFWw96UOA3Q3YPu
 +lb052dnayu1Gd7RlaJcwLFxFULFM+kQaRvw21kW+cIGLNYHYxHgug7PxXCIhMNgMz+P8W
 zsgN+B1na4HPeqSyW09YE7utLmzgt9OqvOcaiEIAbJzwGLYbWQ+C8HuVTFY5/w==
Message-ID: <y76zgeq8n7b.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v10 3/9] gnu: extra-cmake-modules: Update to 5.98.0.
In-Reply-To: <y761qs2a1s4.wl-hako@HIDDEN>
References: <y764jwya1tw.wl-hako@HIDDEN>
 <y7635cia1si.wl-hako@HIDDEN>
 <y761qs2a1s4.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (extra-cmake-modules): Update to 5.98.0.
---
 gnu/packages/kde-frameworks.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 738013fdba..52314fd0ff 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -88,7 +88,7 @@ (define-module (gnu packages kde-frameworks)
 (define-public extra-cmake-modules
   (package
     (name "extra-cmake-modules")
-    (version "5.91.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -97,7 +97,7 @@ (define-public extra-cmake-modules
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0k65rvxh926ya6qahzk2ns7g1fya1429648mlx7iipxa61g8h5wp"))))
+                "0669m98vqy4hpacfjs7xpgjj1bns24kjybrjipxzp82092g8y69w"))))
     (build-system cmake-build-system)
     (native-inputs
      ;; Add test dependency, except on armhf where building it is too
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 23 Sep 2022 09:17:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 05:17:06 2022
Received: from localhost ([127.0.0.1]:39402 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obeny-0005YR-Ku
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:17:06 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:39866)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obenx-0005Xe-85
 for 57675 <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:17:05 -0400
Date: Fri, 23 Sep 2022 17:16:43 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663924619;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=rXZf8rx19R2FbzJ4250O2kZ5Z1Em9z5N08Nam0kQIe8=;
 b=pM9q++MWkjLwX/czwRwFTK+SsEwfaJMdgf2CWe1xdbEuSo5HYfA5A2Ah+gY4tCdbfx1rZu
 81EH2J6DLnqxA6RE7R76rgQNJR3/89USD6JqtekH8EMAJNEYP/CFh9/coHQduFvGly96Wy
 YMJGTt1OPjNiCFiTED97TlxGfevHKPn5dFh96eBZFEtFePYERsqNiwnzSBUfjsUey/ocdU
 AhnkXhjlzyKtDvAT678eouldWyDWMSJua7hdoE/c0VB/4isDZzqkalaTuNaOe/Jw8CDhyR
 tGesBu00O6h6frbHeuk/V0C6pvt4BycbKZd8HDNA38clcidm/5jU1uGhrCedJg==
Message-ID: <y761qs2a1s4.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v10 2/9] gnu: Add abseil-cpp-cxxstd17.
In-Reply-To: <y7635cia1si.wl-hako@HIDDEN>
References: <y764jwya1tw.wl-hako@HIDDEN>
 <y7635cia1si.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable.
---
 gnu/packages/cpp.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d03e0bc7e1..5e0646444c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1041,6 +1041,15 @@ (define-public abseil-cpp
           `(cons* "-DBUILD_TESTING=ON"
                   (delete "-DABSL_RUN_TESTS=ON" ,flags))))))))
 
+(define-public abseil-cpp-cxxstd17
+  (let ((base abseil-cpp))
+    (hidden-package
+     (package/inherit base
+       (arguments
+        (substitute-keyword-arguments (package-arguments base)
+          ((#:configure-flags flags)
+           #~(cons* "-DCMAKE_CXX_STANDARD=17" #$flags))))))))
+
 (define-public pegtl
   (package
     (name "pegtl")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 23 Sep 2022 09:16:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 05:16:55 2022
Received: from localhost ([127.0.0.1]:39397 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obenm-0005XU-P7
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:16:55 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:51332)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obenj-0005XF-VT
 for 57675 <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:16:52 -0400
Date: Fri, 23 Sep 2022 17:16:29 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663924606;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=SpQyN0D/N5JtO8ndUfg4+htJhck5sT273bLaKnr0XLA=;
 b=1iYlXB94RmazB6VZgS2pTOhDcrS6KqY/OT8nFHda53JgcI2JoyA2mcYBVVlI2PiosorYDz
 ILouj3xiBXinAb+2nEvi+joluo/xqU0YueHymBtXsVobC0GCXWgB7ef0317ghex0m/glxc
 IcZ1F8rjqSfQ+UA2A0VpH0ssqR9CYqk1Jj8tgVybHJqqxu5fBaiLbjNCr8QcBSjqTndYFZ
 +IoY8/D+j6sZuYBJPd+myO3kDsncPRZkZNa+NQseyPXFoQttVwZ1NpNAV9rMbpSqYrNaqL
 q9WqS3QVuWVItNkx7jUb6dDX0hLKgZSGUnlL9b6nIoUMT1MYFK+qhcQz2g9ISg==
Message-ID: <y7635cia1si.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v10 1/9] gnu: telegram: Revision-based version for additional
 sources.
In-Reply-To: <y764jwya1tw.wl-hako@HIDDEN>
References: <y764jwya1tw.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (%telegram-desktop): Remove variable.
(cmake-helpers-for-telegram-desktop,codegen-for-telegram-desktop)
(lib-base-for-telegram-desktop,lib-crl-for-telegram-desktop)
(lib-lottie-for-telegram-desktop,lib-qr-for-telegram-desktop)
(lib-rlottie-for-telegram-desktop,lib-rpl-for-telegram-desktop)
(lib-spellcheck-for-telegram-desktop,lib-storage-for-telegram-desktop)
(lib-tl-for-telegram-desktop,lib-ui-for-telegram-desktop)
(lib-waylandshells-for-telegram-desktop,lib-webrtc-for-telegram-desktop)
(lib-webview-for-telegram-desktop,tgcalls-for-telegram-desktop): Use
revision-based versions.
---
 gnu/packages/telegram.scm | 394 ++++++++++++++++++++++----------------
 1 file changed, 229 insertions(+), 165 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 6c9869f93e..08cf04fc47 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -72,8 +72,6 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
 
-(define %telegram-version "2.9.3")
-
 (define libvpx-for-telegram-desktop
   (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
         (revision "112"))
@@ -104,197 +102,263 @@ (define libyuv-for-telegram-desktop
        (base32
         "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
 
-(define cmake-helpers-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/cmake_helpers.git")
-          (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
-    (file-name
-     (git-file-name "cmake-helpers-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
+;; NOTE:
+;; TDESKTOP_KEEP=(tgcalls)
+;; git checkout v2.9.3
+;; git submodule init
+;; git submodule deinit --force Telegram/ThirdParty
+;;
+;; for source in ${TDESKTOP_KEEP}
+;; do
+;;     git submodule init "Telegram/ThirdParty/${source}"
+;; done
+;;
+;; git submodule update --checkout
+;; git submodule foreach "git rev-parse HEAD \
+;;                        && git rev-list HEAD | wc -l \
+;;                        && guix hash -rx . \
+;;                        && echo ------" \
+;;     | less
+
+(define tgcalls-for-telegram-desktop
+  (let ((commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")
+        (revision "738"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/TelegramMessenger/tgcalls.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "tgcalls-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj")))))
 
 (define codegen-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/codegen.git")
-          (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
-    (file-name
-     (git-file-name "codegen-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
+  (let ((commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")
+        (revision "35"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/codegen.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "codegen-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk")))))
 
 (define lib-base-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_base.git")
-          (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
-    (file-name
-     (git-file-name "lib-base-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
+  (let ((commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")
+        (revision "265"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_base.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-base-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78")))))
 
 (define lib-crl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_crl.git")
-          (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
-    (file-name
-     (git-file-name "lib-crl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
+  (let ((commit "4e620bc383d032aadea8e6af02661f8c76695cec")
+        (revision "16"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_crl.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-crl-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "17bngj247qwq0dg4h37xdi5v1mk22y4yp7sp6ph3irmnz4awah0x")))))
 
 (define lib-lottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_lottie.git")
-          (commit "0770df009db7928df1d0cad0900dc5110106d229")))
-    (file-name
-     (git-file-name "lib-lottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
+  (let ((commit "0770df009db7928df1d0cad0900dc5110106d229")
+        (revision "26"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_lottie.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-lottie-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb")))))
 
 (define lib-qr-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_qr.git")
-          (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
-    (file-name
-     (git-file-name "lib-qr-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
+  (let ((commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")
+        (revision "7"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_qr.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-qr-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0")))))
 
 (define lib-rlottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rlottie.git")
-          (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
-    (file-name
-     (git-file-name "lib-rlottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
+  (let ((commit "0671bf70547381effcf442ec9618e04502a8adbc")
+        (revision "2"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_rlottie.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-rlottie-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv")))))
 
 (define lib-rpl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rpl.git")
-          (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
-    (file-name
-     (git-file-name "lib-rpl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
+  (let ((commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")
+        (revision "15"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_rpl.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-rpl-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn")))))
 
 (define lib-spellcheck-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_spellcheck.git")
-          (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
-    (file-name
-     (git-file-name "lib-spellcheck-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
+  (let ((commit "68c9b788958904aea7de79f986a0f82ec8c5b094")
+        (revision "187"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_spellcheck.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-spellcheck-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn")))))
 
 (define lib-storage-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_storage.git")
-          (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
-    (file-name
-     (git-file-name "lib-storage-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
+  (let ((commit "403df6c4a29562bd417c92d410e49819f5a48cc1")
+        (revision "20"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_storage.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-storage-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5")))))
 
 (define lib-tl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_tl.git")
-          (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
-    (file-name
-     (git-file-name "lib-tl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
+  (let ((commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")
+        (revision "24"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_tl.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-tl-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m")))))
 
 (define lib-ui-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_ui.git")
-          (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
-    (file-name
-     (git-file-name "lib-ui-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
+  (let ((commit "1b590f9e16eb9571a039f072d6fea66c607e419f")
+        (revision "508"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_ui.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-ui-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f")))))
 
 (define lib-waylandshells-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_waylandshells.git")
-          (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
-    (file-name
-     (git-file-name "lib-waylandshells-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
+  (let ((commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")
+        (revision "6"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_waylandshells.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-waylandshells-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf")))))
 
 (define lib-webrtc-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_webrtc.git")
-          (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
-    (file-name
-     (git-file-name "lib-webrtc-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
+  (let ((commit "ef49f953f12b112008a094a719f40939aaf39db4")
+        (revision "72"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_webrtc.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-webrtc-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw")))))
 
 (define lib-webview-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_webview.git")
-          (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
-    (file-name
-     (git-file-name "lib-webview-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
+  (let ((commit "e06427c624515485774e2e2181d4afeb05ad5a67")
+        (revision "40"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_webview.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-webview-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4")))))
 
-(define tgcalls-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/TelegramMessenger/tgcalls.git")
-          (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
-    (file-name
-     (git-file-name "tgcalls-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
+(define cmake-helpers-for-telegram-desktop
+  (let ((commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")
+        (revision "261"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/cmake_helpers.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "cmake-helpers-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5")))))
 
 (define-public webrtc-for-telegram-desktop
   (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
@@ -464,7 +528,7 @@ (define-public libtgvoip-for-telegram-desktop
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-    (version %telegram-version)
+    (version "2.9.3")
     (source
      (origin
        (method git-fetch)
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 23 Sep 2022 09:16:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 05:16:22 2022
Received: from localhost ([127.0.0.1]:39394 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obenG-0005Wj-El
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:16:22 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:59596)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obenE-0005WW-JJ
 for 57675 <at> debbugs.gnu.org; Fri, 23 Sep 2022 05:16:21 -0400
Date: Fri, 23 Sep 2022 17:15:39 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663924574;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=iM0sAlSa6/0KKmxDzp4W29dluLj4VnX4D5AArMxxkYg=;
 b=dwCMiCrDjlr5qIGawqWVatDWDp/DjRhEXEOEHlXYZRvjfgebLA8ZHiQ/7IVn41OK/uQsUt
 DD0ECi2Y+q/IWLwbu0PtibL6LnpQSn/EPu0AhQzi7R4syTTR5hvf8ngi4vVxqn5zPszl0X
 LkmzW4WZc0NnRIkjF5xuToMueecvQ/sxddHIamDuYyeFeBm9PyDZBxIIf2vZvnvJI01OLZ
 S6Xzvy2xIMDcup93dsq5sWP6iO+GL34ayi2u7a1nlKCnMOyyL4qa9JGM/Q7gtJg/2SkPVJ
 JyO15ap79vmJtTBhNx1nltnT2Bwn+9moc44bKK1TupBOqoIp1bx3b9SAUIRKPw==
Message-ID: <y764jwya1tw.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v10 0/9] gnu: telegram-desktop: Update to 4.2.0.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

v9 -> v10: Use revision rather than %telegram-version.

Hilton Chain (9):
  gnu: telegram: Revision-based version for additional sources.
  gnu: Add abseil-cpp-cxxstd17.
  gnu: extra-cmake-modules: Update to 5.98.0.
  gnu: kcoreaddons: Remove trailing #t.
  gnu: kcoreaddons: Update to 5.98.0.
  gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
  gnu: Remove libvpx-for-telegram-desktop.
  gnu: telegram-desktop: Update to 4.2.0.
  gnu: telegram: Remove unused variables.

 gnu/local.mk                                  |   2 +
 gnu/packages/cpp.scm                          |   9 +
 gnu/packages/kde-frameworks.scm               |  23 +-
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 ++++
 ...r-telegram-desktop-fix-gcc12-cstdint.patch |  21 +
 gnu/packages/telegram.scm                     | 642 +++++++++---------
 6 files changed, 486 insertions(+), 336 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch


base-commit: a57c4eff6bbdcff79294fa15ecb95ab2b3c55bb4
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 20:08:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 22 16:08:33 2022
Received: from localhost ([127.0.0.1]:38669 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obSUr-00009X-4f
	for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 16:08:33 -0400
Received: from mail-ej1-f68.google.com ([209.85.218.68]:47007)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1obSUm-00009H-NL
 for 57675 <at> debbugs.gnu.org; Thu, 22 Sep 2022 16:08:32 -0400
Received: by mail-ej1-f68.google.com with SMTP id bj12so23422151ejb.13
 for <57675 <at> debbugs.gnu.org>; Thu, 22 Sep 2022 13:08:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date;
 bh=bvbbq8MOUxdyulTr+NE+Ulpt1EllAsJcXZu+pPhmm54=;
 b=CAFQuvC/IgRA/olH0PZSB4NhxbXIS6n9Sfh5LMrRim8IUHOa4Qux5JUDed4vNh2xmU
 xi17U4+gM8WuwOlV344hPN4a3M3V6vDdOj5UXWGeNxKk7C8acQWHwE95fsr7lKrE/bQ+
 R0LOh0lQGN5EBcEdCC+xnj9uFtHZ2ZqKfXCBzB9ZsYVnvhJKFZdP2XrxfGYaqKq6C+u9
 3hzFqrwS9qlmHv8uHn4N7xVmgifCjDgE9GLXEB0nM2esQb1GLDL8MVW+s+1ThNG0VwzH
 xHT4M54Rm0z259cAGlbPnh4SmduycgOW7iu6sFveYTNeYUmAwD46IvwUFixcFIVYsJTk
 +wGQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date;
 bh=bvbbq8MOUxdyulTr+NE+Ulpt1EllAsJcXZu+pPhmm54=;
 b=jlfVFnctq5ptzPJAziCU5YPQqWQU3hLZlkx2ZV0BceYlZX1hvF7T2s/D8Po5r5S1DW
 7bHbTdrlqJEe4AgSmC2APortenU5PLWd3p+zVkfDagwL4v8ZFO+NqPIx++HYOnc0+PVX
 1tAMmcCVz/MVFb7b9+7nouSvf6ukO6vuRDYJuqzuHDFYxPdayZE5gYXC0jyat+W1BCAK
 9u4gc/fjrjqP2YcdiFZZ+NUjVvkI5HWHF8vkZg0z/rcg6HUzsZjn2IvftCmufvV7RGRX
 YZE27pOljm/9hym/uzYN3q03UwGUpxSCg3MopUp1GMxFvcg6rQfo2biWO86RaTbWig4W
 g6Yw==
X-Gm-Message-State: ACrzQf1yaNlcQWhlRAit3WbRKLQG7G5Tpg9/oR7k7iQRDZOgSSgEu/6f
 4WM+8N8ZtueGVVMLbvrU6ao=
X-Google-Smtp-Source: AMsMyM61hcR6mwV22BCFtDPJD9fcPoTCbN8qwTzcHnmAMpD/hSsbCKic45UURhnD1BarSsV4mL9a+w==
X-Received: by 2002:a17:907:72c7:b0:780:43d1:e9d7 with SMTP id
 du7-20020a17090772c700b0078043d1e9d7mr4167819ejc.571.1663877302760; 
 Thu, 22 Sep 2022 13:08:22 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 fj27-20020a0564022b9b00b0044e7c20d7a9sm4220629edb.37.2022.09.22.13.08.22
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 22 Sep 2022 13:08:22 -0700 (PDT)
Message-ID: <82d926deaa79c8558f5dd85d89ad37b5d10c2e8d.camel@HIDDEN>
Subject: Re: [PATCH v9 7/8] gnu: telegram-desktop: Update to 4.2.0.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>, 57675 <at> debbugs.gnu.org
Date: Thu, 22 Sep 2022 22:08:21 +0200
In-Reply-To: <y76tu505ekg.wl-hako@HIDDEN>
References: <y764jx06t8e.wl-hako@HIDDEN>
 <y7635ck6t7h.wl-hako@HIDDEN> <y761qs46t74.wl-hako@HIDDEN>
 <y76zges5em9.wl-hako@HIDDEN> <y76y1uc5elv.wl-hako@HIDDEN>
 <y76wn9w5elh.wl-hako@HIDDEN> <y76v8pg5el3.wl-hako@HIDDEN>
 <y76tu505ekg.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
User-Agent: Evolution 3.45.3 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

QW0gRG9ubmVyc3RhZywgZGVtIDIyLjA5LjIwMjIgdW0gMTA6MjcgKzA4MDAgc2NocmllYiBIaWx0
b24gQ2hhaW46Cj4gLcKgwqDCoMKgIChsaXN0ICM6dGVzdHM/ICNmwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDsgTm8gdGFyZ2V0Cj4gK8KgwqDCoMKgIChsaXN0ICM6
dGVzdHM/ICNmwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA7Tm8gdGFyZ2V0ClJl
ZnJhaW4gZnJvbSBtYWtpbmcgZ3JhdHVpdG91cyBjaGFuZ2VzIGxpa2UgdGhpcyBvbmUuLi4KCj4g
LcKgwqDCoMKgwqDCoMKgwqDCoMKgICN+KGxpc3QKPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqAgOzsgQ2xpZW50IGFwcGxpY2F0aW9ucyBtdXN0IHByb3ZpZGUgdGhlaXIgb3duIEFQSS1JRAo+
IGFuZCBBUEktSEFTSCwKPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgOzsgc2VlIGFsc28K
PiA8aHR0cHM6Ly9jb3JlLnRlbGVncmFtLm9yZy9hcGkvb2J0YWluaW5nX2FwaV9pZD4uCj4gLcKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDs7IEhlcmUsIHdlIHNuYXJmIHRoZSBrZXlzIGZyb20g
dGhlIG9mZmljaWFsIFNuYXBzLAo+IHdoaWNoIGFyZQo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoCA7OyBhbHNvIHN0b3JlZCBpbiA8IyRzb3VyY2Uvc25hcC9zbmFwY3JhZnQueWFtbD4uCj4g
LcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICItRFRERVNLVE9QX0FQSV9JRD02MTEzMzUiCj4g
LcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICItRFRERVNLVE9QX0FQSV9IQVNIPWQ1MjRiNDE0
ZDIxZjRkMzdmMDg2ODRjMWRmNDFhYzljIgo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA7
OyBEaXNhYmxlIFdlYmtpdEdUSyBzdXBwb3J0IGFzIGl0IGZhaWxzIHRvIGxpbmsKPiAtwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqAgIi1EREVTS1RPUF9BUFBfRElTQUJMRV9XRUJLSVRHVEs9T04i
Cj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDs7IFVzZSBidW5kbGVkIGZvbnRzIGFzIGZh
bGxiYWNrLgo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAiLURERVNLVE9QX0FQUF9VU0Vf
UEFDS0FHRURfRk9OVFM9T0ZGIikKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqAgI35gKDs7IENsaWVu
dCBhcHBsaWNhdGlvbnMgbmVlZCBhbiBBUEkgSUQgYW5kIGhhc2gsIHNlZQo+IGFsc286Cj4gK8Kg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgOzsgPGh0dHBzOi8vY29yZS50ZWxlZ3JhbS5vcmcv
YXBpL29idGFpbmluZ19hcGlfaWQ+Lgo+IEhlcmUsIHdlCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqAgOzsgdXNlIHRoZSBvbmVzIGdpdmVuIGJ5IHRoZSBvZmZpY2lhbCBTbmFwIHBhY2th
Z2UsCj4gc2VlOgo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDs7Cj4gPGh0dHBzOi8v
Z2l0aHViLmNvbS90ZWxlZ3JhbWRlc2t0b3AvdGRlc2t0b3AvYmxvYi9kZXYvc25hcC9zbmFwY3Jh
ZnQuCj4geWFtbD4uCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgIi1EVERFU0tUT1Bf
QVBJX0lEPTYxMTMzNSIKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAiLQo+IERUREVT
S1RPUF9BUElfSEFTSD1kNTI0YjQxNGQyMWY0ZDM3ZjA4Njg0YzFkZjQxYWM5YyIKPiArwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAiLURUREVTS1RPUF9ESVNBQkxFX0xFR0FDWV9UR1ZPSVA9
T04iCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgIi1EREVTS1RPUF9BUFBfRElTQUJM
RV9DUkFTSF9SRVBPUlRTPU9OIgo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICItRERF
U0tUT1BfQVBQX0RJU0FCTEVfQVVUT1VQREFURT1PTiIKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoCAiLURERVNLVE9QX0FQUF9VU0VfUEFDS0FHRURfUkxPVFRJRT1PTiIKPiArwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAsKHN0cmluZy1hcHBlbmQgIi1EVERFU0tUT1BfTEFVVENI
RVJfQkFTRU5BTUU9IgouLi4gb3IgdGhpcyBvbmUuICBOZWl0aGVyIGltcHJvdmUgdGhlIHBhY2th
Z2UuCgoKPiAtICAgICAgICAgICAgICgoZ3VpeCBidWlsZCBnbGliLW9yLWd0ay1idWlsZC1zeXN0
ZW0pCj4gLSAgICAgICAgICAgICAgIzpwcmVmaXggZ2xpYi1vci1ndGs6KQo+ICsgICAgICAgICAg
ICAgKChndWl4IGJ1aWxkIGdsaWItb3ItZ3RrLWJ1aWxkLXN5c3RlbSkgIzpwcmVmaXggZ2xpYi0K
PiBvci1ndGs6KQpUaGlzIGNoYW5nZSBpcyBkdWJpb3VzIHRvbyDigJMgd2hpbGUgaXQgZml0cyBp
biA4MCBjaGFyYWN0ZXJzLCBpdCBqdXN0IGFzCndlbGwgZml0cyBpbiB0d28gbGluZXMsIHBsdXMg
aXQncyBhIGNvc21ldGljIGNoYW5nZSBtaXhlZCB3aXRoCmZ1bmN0aW9uYWwgb25lcy4KCj4gICAK
PiAjJG5hbWUpKQo+IMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgIzpwaGFzZXMKPiDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgICN+KG1vZGlmeS1waGFzZXMgJXN0YW5kYXJkLXBoYXNlcwo+IMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoYWRkLWFmdGVyICd1bnBhY2sgJ21ha2Utd3JpdGFibGUK
PiDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChsYW1iZGEgXwo+IMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChmb3ItZWFjaCBtYWtlLWZpbGUtd3JpdGFi
bGUgKGZpbmQtZmlsZXMgIi4iKSkpKQo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChh
ZGQtYWZ0ZXIgJ21ha2Utd3JpdGFibGUgJ2NvcHktaW5wdXRzCj4gK8KgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqAgKGFkZC1hZnRlciAnbWFrZS13cml0YWJsZSAnY29weS1zb3VyY2VzCk1heWJl
IHdlIHNob3VsZCBtYWtlIHRoaXMgYW4gYWZ0ZXIgdW5wYWNrICd1bnBhY2stYWRkaXRpb25hbC1z
b3VyY2VzLgoKCkFzIGZvciB0aGUgc3VibW9kdWxlIHN1Z2dlc3Rpb24sIGV4cGxpY2l0IGlzIGJl
dHRlciB0aGFuIGltcGxpY2l0LiAKIzpyZWN1cnNpdmU/ICN0IG1pZ2h0IGJlIG5pY2UgZm9yIHBl
cnNvbmFsIHRlc3RpbmcsIGJ1dCBvbiBhIGRpc3RybwpzY2FsZSBpdCdzIGFza2luZyBmb3IgdHJv
dWJsZSwgZXNwZWNpYWxseSB3aXRoIHVwZ3JhZGVzIGFzIHlvdSBuZXZlcgprbm93IHdoYXQgYWRk
aXRpb25hbCBzb3VyY2VzIGdldCBwdWxsZWQgaW4gb3Igbm90IGFuZCB3aGV0aGVyIHlvdXIKY2xl
YW51cCBzdGlsbCBkb2VzIHdoYXQgaXQgc2hvdWxkLiAgVGh1cywgd2UgdHlwaWNhbGx5IGRpc2Nv
dXJhZ2UgaXRzCnVzZSBhbmQgVGVsZWdyYW0gaXMgb25lIG9mIHRoZSBwcmltZSBleGFtcGxlcyBv
ZiB3aHkgKm5vdCogdG8gYXBwbHkgaXQuCgpDaGVlcnMK





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:33:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:33:04 2022
Received: from localhost ([127.0.0.1]:35665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obC1P-0007AZ-U2
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:33:04 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:55230)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obC1O-00079e-89
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:33:02 -0400
Date: Thu, 22 Sep 2022 10:32:41 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813976;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=aqsPCXdux1VoekyKTajNCT+mkwoqcJkIQXwtN7gERsk=;
 b=l0QQ9t9b++fx60BxEgWTSaqKEdtKJYstj/nodGvwKfEPPXw7516CndgiLLF9P6PYelxhiV
 B+SHphr/OwVOcesPJyzXxLlCL0mQ6O50OVK9XYe7zBbY2sLBA/+Q7JkvPgTOM4ZaPyXifT
 yJ9ilk3s9XZKK10Jt0XF1yBhBoErox1j7U5CEEL2NAwsfboYpK+rHEFfpxwvZ9XhaKasxQ
 YewUmLdPaOdetBxtyU7HYt5S+fs8dl6gl5/N6NJx1YGIcwi4el9Xu1UzoEikJVWpWfN1+/
 ZukAnDXpakvVMzykuyuUt0Xhtix0NVR1Mnqnm9Vx36txS+B5gWvbv50rg6/CMQ==
Message-ID: <y76czbo5eba.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 RECURSIVE CLONE 9/9] gnu: Remove
 libtgvoip-for-telegram-desktop.
In-Reply-To: <y76edw45ebm.wl-hako@HIDDEN>
References: <y76pmfo5eey.wl-hako@HIDDEN>
 <y76o7v85ee7.wl-hako@HIDDEN>
 <y76mtas5edv.wl-hako@HIDDEN>
 <y76leqc5edj.wl-hako@HIDDEN>
 <y76k05w5ed0.wl-hako@HIDDEN>
 <y76illg5ecn.wl-hako@HIDDEN>
 <y76h7105eca.wl-hako@HIDDEN>
 <y76fsgk5eby.wl-hako@HIDDEN>
 <y76edw45ebm.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (libtgvoip-for-telegram-desktop): Remove variable.
---
 gnu/packages/telegram.scm | 41 ---------------------------------------
 1 file changed, 41 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 85108c4278..8c6298309f 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -255,47 +255,6 @@ (define-public rlottie-for-telegram-desktop
                (substitute* "meson.build"
                  (("werror=true") "werror=false"))))))))))
 
-(define-public libtgvoip-for-telegram-desktop
-  (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
-        (revision "88"))
-    (hidden-package
-     (package
-       (inherit libtgvoip)
-       (version
-        (git-version "2.4.4" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/telegramdesktop/libtgvoip.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "libtgvoip-for-telegram-desktop" version))
-          (sha256
-           (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "--disable-static"
-           "--disable-dsp"              ; FIXME
-           "--enable-audio-callback"
-           "--with-alsa"
-           "--with-pulse")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-linkers
-              (lambda _
-                (substitute* "Makefile.am"
-                  (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
-                   "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)"))
-                (substitute* "tgvoip.pc.in"
-                  (("libcrypto opus")
-                   "libcrypto opus alsa libpulse"))
-                #t)))))
-       (native-inputs
-        (list autoconf automake libtool pkg-config))))))
-
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:32:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:32:52 2022
Received: from localhost ([127.0.0.1]:35658 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obC1D-00079Q-TS
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:32:52 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:41526)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obC1B-00079D-6a
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:32:50 -0400
Date: Thu, 22 Sep 2022 10:32:29 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813963;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=8g4B+xemHzaVsUra+l1BAAXj+C1owVfsSRxIjTwCc/w=;
 b=wP3nScVCJ6nDNSwjopgoqncPC2K12Kq7jqmoIYp5wp7GqrDA2H2yrVOzN7ipC6qlax9OGx
 HZ+8gt3NF8zSYdjCMLoPKFg3CPRy3WOylmagbG8ng6Dy7yrgEeBNZpDNR3r8ADXG8rrNpi
 aSnggnb6yeyRkBIl1Ik2SUOKCwrNZzDja3SfhEGHptOhP5zzCJ/AesjDLi8vM66G7xN/Ex
 qJYFSJoi5HIIBjyus/hF1+vgzO1ir6nB3vo0U/F0VRINYjc2WtjVJZJBafvHpOMGAAtgbN
 SU8i/bvi+okj2rHFRcXfPFVFBrn45WeMCZ73xa8QQyNVwQ9K2uKb4ZNJleOUNA==
Message-ID: <y76edw45ebm.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 RECURSIVE CLONE 8/9] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <y76fsgk5eby.wl-hako@HIDDEN>
References: <y76pmfo5eey.wl-hako@HIDDEN>
 <y76o7v85ee7.wl-hako@HIDDEN>
 <y76mtas5edv.wl-hako@HIDDEN>
 <y76leqc5edj.wl-hako@HIDDEN>
 <y76k05w5ed0.wl-hako@HIDDEN>
 <y76illg5ecn.wl-hako@HIDDEN>
 <y76h7105eca.wl-hako@HIDDEN>
 <y76fsgk5eby.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (dispatch-for-telegram-desktop): New variable.
(tgcalls-for-telegram-desktop): Bump to submodule checkout.
(rlottie-for-telegram-desktop): Bump to submodule checkout.
[snippet]: Switch off werror.
[arguments]: Use inherited ones.
(telegram-desktop): Update to 4.2.0.
[patches]: Add telegram-desktop-allow-disable-libtgvoip.patch.
[arguments]<#:configure-flags>: Unbundle rlottie.
<#:phases>: Adjusted according to unbundled package.
[native-inputs]: Add clang-toolchain.
Remove cmake-shared, extra-cmake-modules and qttools-5.
[inputs]: Replace qtbase-5 with qtbase.
Add abseil-cpp-cxxstd17, kcoreaddons, libvpx, qt5compat, wayland, webkitgtk.
Remove catch2, fcitx-qt5, fcitx5-qt, gtk+, hime, kwayland, libdbusmenu-qt,
libtgvoip-for-telegram-desktop, libx11, materialdecoration, nimf and qt5ct.
[propagated-inputs]: Remove dconf.
[license]: Adjusted accordingly.
---
 gnu/local.mk                                  |   1 +
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 ++++++++++++++++
 gnu/packages/telegram.scm                     | 138 +++++++++---------
 3 files changed, 199 insertions(+), 65 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 10ee65fdd5..e8d0178293 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1871,6 +1871,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/teensy-loader-cli-help.patch		\
   %D%/packages/patches/tensorflow-c-api-fix.patch		\
   %D%/packages/patches/texinfo-5-perl-compat.patch		\
+  %D%/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch   \
   %D%/packages/patches/telegram-purple-adjust-test.patch	\
   %D%/packages/patches/texi2html-document-encoding.patch	\
   %D%/packages/patches/texi2html-i18n.patch			\
diff --git a/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
new file mode 100644
index 0000000000..3c062cbd9a
--- /dev/null
+++ b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
@@ -0,0 +1,125 @@
+From 4d1a8351ee82728912fcf7ad0070049b2910c393 Mon Sep 17 00:00:00 2001
+From: Klemens Nanni <klemens@HIDDEN>
+Date: Wed, 2 Mar 2022 01:07:48 +0100
+Subject: [PATCH] Introduce TDESKTOP_DISABLE_LEGACY_TGVOIP
+
+Originally from Alt Linux[0], OpenBSD has so far adapted the removal of
+tgvoip in the official net/tdesktop build.
+
+tgcalls provides everything needed for calls;  audio/video/desktop
+sharing calls have been working fine across different operating systems
+and telegram desktop/mobile versions without problems.
+
+0: http://www.sisyphus.ru/cgi-bin/srpm.pl/Sisyphus/telegram-desktop/getpatch/1
+---
+ Telegram/CMakeLists.txt                   | 6 +++---
+ Telegram/SourceFiles/calls/calls_call.cpp | 6 ++++++
+ Telegram/cmake/lib_tgcalls.cmake          | 4 ++++
+ Telegram/cmake/telegram_options.cmake     | 8 ++++++++
+ 4 files changed, 21 insertions(+), 3 deletions(-)
+
+diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
+index fb2bf370f..5d9578f2d 100644
+--- a/Telegram/CMakeLists.txt
++++ b/Telegram/CMakeLists.txt
+@@ -28,7 +28,9 @@ get_filename_component(res_loc Resources REALPATH)
+ include(cmake/telegram_options.cmake)
+ include(cmake/lib_ffmpeg.cmake)
+ include(cmake/lib_stripe.cmake)
+-include(cmake/lib_tgvoip.cmake)
++if (NOT TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    include(cmake/lib_tgvoip.cmake)
++endif()
+ include(cmake/lib_tgcalls.cmake)
+ include(cmake/td_export.cmake)
+ include(cmake/td_mtproto.cmake)
+@@ -52,9 +54,7 @@ target_prepare_qrc(Telegram)
+ 
+ target_link_libraries(Telegram
+ PRIVATE
+-    tdesktop::lib_tgcalls_legacy
+     tdesktop::lib_tgcalls
+-    tdesktop::lib_tgvoip
+ 
+     # Order in this list defines the order of include paths in command line.
+     # We need to place desktop-app::external_minizip this early to have its
+diff --git a/Telegram/SourceFiles/calls/calls_call.cpp b/Telegram/SourceFiles/calls/calls_call.cpp
+index 6894d5d90..cd03620e7 100644
+--- a/Telegram/SourceFiles/calls/calls_call.cpp
++++ b/Telegram/SourceFiles/calls/calls_call.cpp
+@@ -39,8 +39,10 @@ class InstanceImpl;
+ class InstanceV2Impl;
+ class InstanceV2ReferenceImpl;
+ class InstanceV2_4_0_0Impl;
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ class InstanceImplLegacy;
+ void SetLegacyGlobalServerConfig(const std::string &serverConfig);
++#endif
+ } // namespace tgcalls
+ 
+ namespace Calls {
+@@ -56,7 +58,9 @@ const auto Register = tgcalls::Register<tgcalls::InstanceImpl>();
+ const auto RegisterV2 = tgcalls::Register<tgcalls::InstanceV2Impl>();
+ const auto RegV2Ref = tgcalls::Register<tgcalls::InstanceV2ReferenceImpl>();
+ const auto RegisterV240 = tgcalls::Register<tgcalls::InstanceV2_4_0_0Impl>();
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ const auto RegisterLegacy = tgcalls::Register<tgcalls::InstanceImplLegacy>();
++#endif
+ 
+ [[nodiscard]] base::flat_set<int64> CollectEndpointIds(
+ 		const QVector<MTPPhoneConnection> &list) {
+@@ -1322,7 +1326,9 @@ Call::~Call() {
+ }
+ 
+ void UpdateConfig(const std::string &data) {
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ 	tgcalls::SetLegacyGlobalServerConfig(data);
++#endif
+ }
+ 
+ } // namespace Calls
+diff --git a/Telegram/cmake/lib_tgcalls.cmake b/Telegram/cmake/lib_tgcalls.cmake
+index 34a5ba418..8a784be2c 100644
+--- a/Telegram/cmake/lib_tgcalls.cmake
++++ b/Telegram/cmake/lib_tgcalls.cmake
+@@ -267,6 +267,10 @@ PRIVATE
+     ${tgcalls_loc}
+ )
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    return()
++endif()
++
+ add_library(lib_tgcalls_legacy STATIC)
+ init_target(lib_tgcalls_legacy)
+ 
+diff --git a/Telegram/cmake/telegram_options.cmake b/Telegram/cmake/telegram_options.cmake
+index 1c3c25431..033f2bc95 100644
+--- a/Telegram/cmake/telegram_options.cmake
++++ b/Telegram/cmake/telegram_options.cmake
+@@ -4,7 +4,9 @@
+ # For license and copyright information please follow this link:
+ # https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
+ 
++option(TDESKTOP_DISABLE_LEGACY_TGVOIP "Disable legacy tgvoip support." OFF)
+ option(TDESKTOP_API_TEST "Use test API credentials." OFF)
++
+ set(TDESKTOP_API_ID "0" CACHE STRING "Provide 'api_id' for the Telegram API access.")
+ set(TDESKTOP_API_HASH "" CACHE STRING "Provide 'api_hash' for the Telegram API access.")
+ 
+@@ -40,6 +42,12 @@ if (TDESKTOP_API_ID STREQUAL "0" OR TDESKTOP_API_HASH STREQUAL "")
+     " ")
+ endif()
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_LEGACY_TGVOIP)
++else()
++    target_link_libraries(Telegram PRIVATE tdesktop::lib_tgcalls_legacy tdesktop::lib_tgvoip)
++endif()
++
+ if (DESKTOP_APP_DISABLE_SPELLCHECK)
+     target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_SPELLCHECK)
+ else()
+-- 
+2.37.3
+
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index fc0b50e1c1..85108c4278 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2021 Raghav Gururajan <rg@HIDDEN>
+;;; Copyright © 2022 Hilton Chain <hako@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -43,6 +44,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages lxqt)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages perl)
@@ -60,6 +62,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages webkit)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
@@ -105,9 +108,24 @@ (define crc32c-for-telegram-desktop
        (base32
         "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
 
+(define dispatch-for-telegram-desktop
+  (let ((commit "ecc678d79f38cf63d24b6d16e18f69a9117d8d73")
+        (revision "14"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/apple/swift-corelibs-libdispatch.git")
+            (commit commit)))
+      (file-name
+       (git-file-name
+        "dispatch-for-telegram-desktop" (git-version "5.6" revision commit)))
+      (sha256
+       (base32
+        "0hy4q6x3bgphazmpl3v62995abc9fpi8y7yg9aiblzsqkxmgjmqn")))))
+
 (define tgcalls-for-telegram-desktop
-  (let ((commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")
-        (revision "738"))
+  (let ((commit "82c4921045c440b727c38e464f3a0539708423ff")
+        (revision "921"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -118,7 +136,7 @@ (define tgcalls-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj")))))
+        "1109r17abh66yz91b65fn2g4ryfybnsr5g6075sjhbah1gccv9mk")))))
 
 (define-public webrtc-for-telegram-desktop
   (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
@@ -213,8 +231,8 @@ (define-public webrtc-for-telegram-desktop
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-  (let ((commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")
-        (revision "671"))
+  (let ((commit "8c69fc20cf2e150db304311f1233a4b55a8892d7")
+        (revision "678"))
     (hidden-package
      (package
        (inherit rlottie)
@@ -230,21 +248,12 @@ (define-public rlottie-for-telegram-desktop
           (file-name
            (git-file-name "rlottie-for-telegram-desktop" version))
           (sha256
-           (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "-Dlog=true"
-           "-Ddumptree=true"
-           "-Dtest=true")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-cxx-flags
-              (lambda _
-                (substitute* "meson.build"
-                  (("werror=true")
-                   "werror=false"))
-                #t)))))))))
+           (base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
+          (modules '((guix build utils)))
+          (snippet
+           #~(begin
+               (substitute* "meson.build"
+                 (("werror=true") "werror=false"))))))))))
 
 (define-public libtgvoip-for-telegram-desktop
   (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
@@ -290,7 +299,7 @@ (define-public libtgvoip-for-telegram-desktop
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-    (version "2.9.3")
+    (version "4.2.0")
     (source
      (origin
        (method git-fetch)
@@ -301,15 +310,19 @@ (define-public telegram-desktop
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "07mw09gmxy2pcga856wbsqmbgl2l5a3ix0hr5p6hlvk7pq260s36"))
+        (base32 "1wpqn79pbarz48kmrh6gciw4a9y5hiki5qczlvj8smvx9is6yrf8"))
+       (patches
+        (search-patches
+         ;; https://github.com/telegramdesktop/tdesktop/pull/24126
+         "telegram-desktop-allow-disable-libtgvoip.patch"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
         #~(begin
             (let ((keep
-                   '( ;; Not available in Guix.
-                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+                   '(;; Not available in Guix.
+                     "dispatch" "tgcalls")))
               (with-directory-excursion "Telegram/ThirdParty"
                 (for-each delete-file-recursively
                           (lset-difference string=?
@@ -335,88 +348,83 @@ (define-public telegram-desktop
               ;; also stored in <#$source/snap/snapcraft.yaml>.
               "-DTDESKTOP_API_ID=611335"
               "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
-              ;; Disable WebkitGTK support as it fails to link
-              "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
-              ;; Use bundled fonts as fallback.
-              "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
+              "-DTDESKTOP_DISABLE_LEGACY_TGVOIP=ON"
+              "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
+              "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
+              "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON"
+              (string-append "-DTDESKTOP_LAUTCHER_BASENAME=" #$name))
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'make-writable
                  (lambda _
                    (for-each make-file-writable (find-files "."))))
-               (add-after 'make-writable 'copy-inputs
+               (add-after 'make-writable 'copy-sources
                  (lambda _
                    (for-each
                     (match-lambda
                       ((dst src)
                        (copy-recursively src dst)
                        (for-each make-file-writable (find-files dst))))
-                    '(("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
-               (add-before 'configure 'patch-cxx-flags
-                 (lambda _
-                   (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
+                    '(("Telegram/ThirdParty/dispatch" #$dispatch-for-telegram-desktop)
+                      ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
                (add-after 'install 'glib-or-gtk-compile-schemas
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
                (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
     (native-inputs
-     (list cmake-shared
-           extra-cmake-modules
-           `(,glib "bin")
+     (list `(,glib "bin")
            `(,gtk+ "bin")
+           clang-toolchain
            pkg-config
-           python-wrapper
-           qttools-5))
+           python-wrapper))
     (inputs
-     (list alsa-lib
+     (list abseil-cpp-cxxstd17
+           alsa-lib
            c++-gsl
-           catch2
-           libexpected
-           fcitx-qt5
-           fcitx5-qt
            ffmpeg
-           glib
-           glibmm-2.64
-           gtk+
-           hime
-           hunspell
            jemalloc
-           kwayland
-           libdbusmenu-qt
+           kcoreaddons
+           libexpected
            libjpeg-turbo
-           libtgvoip-for-telegram-desktop
-           lz4
-           materialdecoration
+           libvpx
            minizip
-           nimf
            openal
            openssl
            opus
            pulseaudio
            qrcodegen-cpp
-           qtbase-5
-           qtsvg-5
-           qt5ct
+           qt5compat
+           qtbase
            qtimageformats
-           qtwayland
+           qtsvg-5
            range-v3
            rlottie-for-telegram-desktop
            rnnoise
            webrtc-for-telegram-desktop
-           libx11
-           libxcb
-           xcb-util-keysyms
            xxhash
-           zlib))
-    (propagated-inputs (list dconf))
+           zlib
+           ;; DESKTOP_APP_DISABLE_DBUS_INTEGRATION
+           glibmm-2.64
+           ;; DESKTOP_APP_DISABLE_SPELLCHECK
+           hunspell
+           ;; DESKTOP_APP_LOTTIE_USE_CACHE
+           lz4
+           ;; DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
+           qtwayland wayland
+           ;; DESKTOP_APP_DISABLE_X11_INTEGRATION
+           libxcb xcb-util-keysyms
+           ;; Optional
+           webkitgtk))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
     (home-page "https://desktop.telegram.org/")
     (license
      (list
-      ;; ThirdParty
-      license:lgpl2.1+
+      ;; Telegram/ThirdParty/dispatch
+      license:asl2.0
+      ;; Telegram/ThirdParty/tgcalls
+      license:lgpl3
       ;; Others
       license:gpl3+))))
 
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:32:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:32:40 2022
Received: from localhost ([127.0.0.1]:35655 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obC12-000792-JM
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:32:40 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:43300)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obC10-00078m-Aq
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:32:38 -0400
Date: Thu, 22 Sep 2022 10:32:17 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813952;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=mhu4Pyj41ePcUAgmHGkq9QtJ30AiT18xpw1pp2VEwMg=;
 b=xlpI6omfJAp90ocw5CIZcty0+6j4fDFGnir1khtKiQP+UoWiL0KRf3yyT3DstgQZ9mNDIX
 cCOkd3hjZdh/2dulI2ybudSHhXyKfg560hLL6yHI8p5b6yHRZYB3P26Zbe2jEpXUraebyw
 k2wfEgSgsnC5wQMo8ManyBerTL4iZVv9ib/QZU/6QCXWD+4kNqex3ghsaAy8oajYZZiYmg
 tw7SF6Wy+EPBmzSZVf2WAMes+Hl8vCuM3V0oYp5FFRxEsim55JTIDrdla5ghHEk7OaIL0+
 4RRldSQL96b0BgVQHmT2DnvRIZgiSHeQTIRnlZMoVN5NHpotTwgSb6A3S0wF1g==
Message-ID: <y76fsgk5eby.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 RECURSIVE CLONE 7/9] gnu: Remove
 libvpx-for-telegram-desktop.
In-Reply-To: <y76h7105eca.wl-hako@HIDDEN>
References: <y76pmfo5eey.wl-hako@HIDDEN>
 <y76o7v85ee7.wl-hako@HIDDEN>
 <y76mtas5edv.wl-hako@HIDDEN>
 <y76leqc5edj.wl-hako@HIDDEN>
 <y76k05w5ed0.wl-hako@HIDDEN>
 <y76illg5ecn.wl-hako@HIDDEN>
 <y76h7105eca.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (libvpx-for-telegram-desktop): Remove variable.
---
 gnu/packages/telegram.scm | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index fde273f254..fc0b50e1c1 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -75,21 +75,6 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
 
-(define libvpx-for-telegram-desktop
-  (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
-        (revision "112"))
-    (origin
-      (method git-fetch)
-      (uri (git-reference
-            (url "https://chromium.googlesource.com/webm/libvpx")
-            (commit commit)))
-      (file-name (git-file-name
-                  "libvpx-for-telegram-desktop"
-                  (git-version "1.9.0" revision commit)))
-      (sha256
-       (base32
-        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
-
 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
         (revision "2211"))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:32:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:32:28 2022
Received: from localhost ([127.0.0.1]:35652 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obC0p-00078Z-UY
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:32:28 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:49076)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obC0n-00078M-Rb
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:32:26 -0400
Date: Thu, 22 Sep 2022 10:32:05 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813940;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=1W+SQDB0+pru5JSRtJGi8FiJygSCydWNGPJ4JyyZCQ8=;
 b=qGTxpttAL5nTJ7kc5j8d/uhPgxlXHUc4EmCMLceCMHC0d1Pj/C+d2kCxVMt/vhfgX9MAS9
 Ha6ZN8glEwuf2aMASbIptVSOo+w4WoXQKr3gkoJXNq54gqEwMxF7moxC/BRXrHTDbxcJQS
 rj4U3TJFuVnatdDlYxJs0jUkQuETKxuILznwVe+1lg8gf77MexDL6y+RBrWQMvQZn6u1pa
 /UpxrXxF33Sv+Uje6kl4H3bw5SqSI2yZelmgyg3G6CSH4VuoAX3InvSAQwvfVP+4T5BPpn
 rIbUlxYFLWDbqyPrcDUcOzjsNwb7g2hCRl0huoTip86tHb8pHhV4VXJUQ92zfg==
Message-ID: <y76h7105eca.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 RECURSIVE CLONE 6/9] gnu: webrtc-for-telegram-desktop:
 Update to 621f3da5.
In-Reply-To: <y76illg5ecn.wl-hako@HIDDEN>
References: <y76pmfo5eey.wl-hako@HIDDEN>
 <y76o7v85ee7.wl-hako@HIDDEN>
 <y76mtas5edv.wl-hako@HIDDEN>
 <y76leqc5edj.wl-hako@HIDDEN>
 <y76k05w5ed0.wl-hako@HIDDEN>
 <y76illg5ecn.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details. Content preview: *
 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
 New file. * gnu/local.mk (dist_patch_DATA): Add patch. *
 gnu/packages/telegram.scm
 (crc32c-for-telegram-desktop): New variab [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: xiretza.xyz (xyz)]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

* gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (crc32c-for-telegram-desktop): New variable.
(webrtc-for-telegram-desktop): Update to 621f3da5.
[patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
[snippet]: Unbundle libvpx and openh264.
[native-inputs]: Remove perl.
[inputs]: Replace pipewire with pipewire-0.3.
Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa, openh264.
Remove alsa-lib, libx11 and pulseaudio.
[arguments<#:phases>,license]: Adjust accordingly.
---
 gnu/local.mk                                  |  1 +
 ...r-telegram-desktop-fix-gcc12-cstdint.patch | 21 ++++++
 gnu/packages/telegram.scm                     | 74 ++++++++++++-------
 3 files changed, 69 insertions(+), 27 deletions(-)
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index ef1bae5f3c..10ee65fdd5 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1969,6 +1969,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/warsow-qfusion-fix-bool-return-type.patch	\
   %D%/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch	\
   %D%/packages/patches/webrtc-audio-processing-big-endian.patch	\
+  %D%/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch   \
   %D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch	\
   %D%/packages/patches/widelands-add-missing-map-include.patch	\
   %D%/packages/patches/widelands-system-wide_minizip.patch	\
diff --git a/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
new file mode 100644
index 0000000000..f1fd29d0d3
--- /dev/null
+++ b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
@@ -0,0 +1,21 @@
+From 86d2bcd7afb8706663d29e30f65863de5a626142 Mon Sep 17 00:00:00 2001
+From: Xiretza <xiretza@HIDDEN>
+Date: Sun, 15 May 2022 12:47:41 +0200
+Subject: [PATCH] fix(h265_pps_parser): fix missing cstdint include
+
+---
+ src/common_video/h265/h265_pps_parser.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/common_video/h265/h265_pps_parser.h b/src/common_video/h265/h265_pps_parser.h
+index 28c95ea9..c180b1b9 100644
+--- a/src/common_video/h265/h265_pps_parser.h
++++ b/src/common_video/h265/h265_pps_parser.h
+@@ -12,6 +12,7 @@
+ #define COMMON_VIDEO_H265_PPS_PARSER_H_
+
+ #include "absl/types/optional.h"
++#include <cstdint>
+
+ namespace rtc {
+ class BitBuffer;
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index eb94f3b995..fde273f254 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -30,6 +30,8 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages digest)
   #:use-module (gnu packages fcitx)
   #:use-module (gnu packages fcitx5)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -58,6 +60,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
@@ -102,6 +105,21 @@ (define libyuv-for-telegram-desktop
        (base32
         "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
 
+(define crc32c-for-telegram-desktop
+  (let ((commit "21fc8ef30415a635e7351ffa0e5d5367943d4a94")
+        (revision "78"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/google/crc32c")
+            (commit commit)))
+      (file-name (git-file-name
+                  "crc32c-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
+
 (define tgcalls-for-telegram-desktop
   (let ((commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")
         (revision "738"))
@@ -118,8 +136,8 @@ (define tgcalls-for-telegram-desktop
         "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj")))))
 
 (define-public webrtc-for-telegram-desktop
-  (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
-        (revision "166"))
+  (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
+        (revision "327"))
     (hidden-package
      (package
        (name "webrtc-for-telegram-desktop")
@@ -135,58 +153,62 @@ (define-public webrtc-for-telegram-desktop
           (file-name
            (git-file-name name version))
           (sha256
-           (base32 "0plwdp6xgxi27hif5j7kpq425cidxyxbbga3z2f64dsninwy5p1x"))
+           (base32 "1ks1572k1jj7pmzwm79p2gdgi31dd4bs761bphnx32zyq4c6skxk"))
+          (patches
+           (search-patches
+            ;; https://github.com/desktop-app/tg_owt/pull/101
+            "webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch"))
           (modules '((guix build utils)
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
            #~(begin
                (let ((keep
-                      '( ;; Custom forks which are incompatible with the ones in Guix.
-                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                      '("abseil-cpp" "libsrtp" "rnnoise"
                         ;; Not available in Guix.
-                        "pffft" "usrsctp"
-                        ;; Has cmake support files for libvpx input.
-                        "libvpx")))
+                        "crc32c" "pffft")))
                  (with-directory-excursion "src/third_party"
                    (for-each delete-file-recursively
                              (lset-difference string=?
                                               (scandir ".")
-                                              (cons* "." ".." keep)))))))))
+                                              (cons* "." ".." keep)))))
+               ;; Use system openh264.
+               (substitute* "CMakeLists.txt"
+                 (("\\include\\(cmake\\/libopenh264\\.cmake\\)")""))))))
        (build-system cmake-build-system)
        (arguments
         (list
          #:tests? #f                    ; No target
-         #:configure-flags #~(list "-DCMAKE_C_FLAGS=-fPIC"
-                                   "-DCMAKE_CXX_FLAGS=-fPIC")
          #:phases
          #~(modify-phases %standard-phases
              (add-after 'unpack 'copy-inputs
                (lambda _
                  (let* ((third-party (string-append (getcwd) "/src/third_party"))
-                        (libvpx-to (string-append third-party
-                                                  "/libvpx/source/libvpx"))
+                        (crc32c-to (string-append third-party "/crc32c/src"))
                         (libyuv-to (string-append third-party "/libyuv")))
-                   (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
+                   (copy-recursively #$crc32c-for-telegram-desktop crc32c-to)
                    (copy-recursively #$libyuv-for-telegram-desktop
                                      libyuv-to)))))))
-       (native-inputs (list perl pkg-config python-wrapper yasm))
+       (native-inputs (list pkg-config python-wrapper yasm))
        (inputs
-        (list alsa-lib
+        (list abseil-cpp-cxxstd17
               ffmpeg
               libjpeg-turbo
-              glib
-              libxcomposite
-              libxdamage
-              libxrender
-              libxrandr
+              libvpx
+              openh264
               openssl
               opus
-              pipewire
+              ;; TG_OWT_USE_PROTOBUF
               protobuf
-              pulseaudio
-              libx11
+              ;; TG_OWT_USE_PIPEWIRE
+              glib libdrm libglvnd mesa pipewire-0.3
+              ;; TG_OWT_USE_X11
+              libxcomposite
+              libxdamage
               libxext
+              libxfixes
+              libxrandr
+              libxrender
               libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
@@ -198,13 +220,11 @@ (define-public webrtc-for-telegram-desktop
          license:asl2.0
          ;; LibYuv
          (license:non-copyleft "file:///src/third_party/libyuv/LICENSE")
-         ;; OpenH264
-         license:bsd-2
          ;; PFFFT
          (license:non-copyleft "file:///src/third_party/pffft/LICENSE")
          ;; RnNoise
          license:gpl3
-         ;; LibSRTP, LibVPx, UsrSCTP and Others
+         ;; LibSRTP, Crc32c and Others
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:32:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:32:15 2022
Received: from localhost ([127.0.0.1]:35649 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obC0d-00078A-Ja
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:32:15 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:35308)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obC0b-00077v-5r
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:32:13 -0400
Date: Thu, 22 Sep 2022 10:31:52 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813927;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=RxFXt6EB5ujZGI6OXncH2i0YNK3jWZwDztcE1IR6Fu4=;
 b=i0NLAuIPVlhPBhOU1tZFU94nD+EKyJkFF4oUp9oypWC5Qw4DZLnEzZQSXdXQ3DeMC8wa8Z
 g2dj+dLHAjyB+sVsmjVhfzt1sGAFV9voVZYYvHfFCpQcBtR1i4VrNBwRUbTvUezgANQ7+7
 qtDhM4UuJjjVnA/CN4vJ3tpN2OrLnd/EFCzgdfgIjaOH7EN+EgCyRW6RtO57j510JhE6gA
 RKqZRzIVfoeavvpegHpYbQSoC5CO7mh097zuClC2GkOsivwDo+0Wj65y58+8BatfUTtYPa
 63AkJxjBDROcSLMfJJybzB/oorH0AC9EZRbsT4Kg7LF9BxoE3bOlw/cGsfVX8g==
Message-ID: <y76illg5ecn.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 RECURSIVE CLONE 5/9] gnu: kcoreaddons: Update to 5.98.0.
In-Reply-To: <y76k05w5ed0.wl-hako@HIDDEN>
References: <y76pmfo5eey.wl-hako@HIDDEN>
 <y76o7v85ee7.wl-hako@HIDDEN>
 <y76mtas5edv.wl-hako@HIDDEN>
 <y76leqc5edj.wl-hako@HIDDEN>
 <y76k05w5ed0.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (kcoreaddons): Update to 5.98.0.
[arguments]<#:phases>: Update blocklist for failing tests.
---
 gnu/packages/kde-frameworks.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index e4337636ac..61cbf19bc4 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -574,7 +574,7 @@ (define-public kconfig
 (define-public kcoreaddons
   (package
     (name "kcoreaddons")
-    (version "5.70.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -583,7 +583,7 @@ (define-public kcoreaddons
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "10a7zys3limsawl7lk9ggymk3msk2bp0y8hp0jmsvk3l405pd1ps"))))
+                "0lqmyxqsw7w1qgdgmax63v64cy7dwk7n4zi8k53xmrqjmd9jir52"))))
     (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules qttools-5 shared-mime-info
@@ -602,14 +602,8 @@ (define-public kcoreaddons
                  ;; FIXME: Make it pass.  Test failure caused by stout/stderr
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
-                 ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))))
-         ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
-         (add-after 'unpack 'fix-broken-test
-           (lambda _
-             (substitute* "autotests/kdirwatch_unittest.cpp"
-               (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))))
+                 ;; FIXME
+                 (display "[test_inheritance]\n*\n")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:32:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:32:02 2022
Received: from localhost ([127.0.0.1]:35643 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obC0Q-00077C-7M
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:32:02 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:46268)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obC0O-00076f-Ah
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:32:00 -0400
Date: Thu, 22 Sep 2022 10:31:39 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813914;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=DPqzO4hrjYh+qq9tQuuHIaD0PiiP2kje4P6OaSdnE2c=;
 b=lzc/fINzqy17L3L5OnrOgwarkTY8VHUWknVKTRTL2LqcSErY9Hikgvvud5veq5QpvP1ui7
 kYtlaeDEMJTC0fOqeIVxfNHGQAamvZrVrWl/2RXhVrWtiWV5GXH9L0+e8iJlW7G0UxYD43
 T/75BczzFa4o0Ti/GQfs2qpnKU9hbmZPQBynk9lJTu6qArnTCEA/F8UNv+MkQFK7ja/VA8
 XmdOV6ZrGYJJpkwldytdcGFFCTTXEgV/rP3mdtxaAXuTjR7RFWSRrB9j2qwjDNJj3pcEQX
 ZFu8na3bj1k9xH7Pd36+HmbRx7QPMC5TGd+bzDXU+4FsXfipRa4f3ld/M8fJUA==
Message-ID: <y76k05w5ed0.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 RECURSIVE CLONE 4/9] gnu: kcoreaddons: Remove trailing #t.
In-Reply-To: <y76leqc5edj.wl-hako@HIDDEN>
References: <y76pmfo5eey.wl-hako@HIDDEN>
 <y76o7v85ee7.wl-hako@HIDDEN>
 <y76mtas5edv.wl-hako@HIDDEN>
 <y76leqc5edj.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (kcoreaddons)[arugments]<#:phases>: Remove
trailing #t.
---
 gnu/packages/kde-frameworks.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 52314fd0ff..e4337636ac 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -603,20 +603,17 @@ (define-public kcoreaddons
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
                  ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))
-             #t))
+                 (display "[benchNotifyWatcher]\n*\n")))))
          ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
          (add-after 'unpack 'fix-broken-test
            (lambda _
              (substitute* "autotests/kdirwatch_unittest.cpp"
                (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))
-             #t))
+                (string-append m "\nwaitUntilNewSecond();")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-             (setenv "TMPDIR" (getcwd))
-             #t)))))
+             (setenv "TMPDIR" (getcwd)))))))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Qt addon library with a collection of non-GUI utilities")
     (description "KCoreAddons provides classes built on top of QtCore to
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:31:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:31:42 2022
Received: from localhost ([127.0.0.1]:35638 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obC05-00076K-TY
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:31:42 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:60768)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obC04-000765-BP
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:31:40 -0400
Date: Thu, 22 Sep 2022 10:31:20 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813894;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=QgrDJbgQOAH6sm92Ol3fqk9Hsc3bHvkj39SM5AjW5eo=;
 b=s9EVl0ByMlgt+PLmN2C82huXpYHHRrcATl3vBwsJXWFXcP01Vtz81fDgH32ac1kv5DmNCG
 jzb1qvfv7df9btXR/QGrp4fXDkZSnNaygqmeYKQ377qVyvJIaes87X0Sff5Ndk0NMcBkz2
 ozDs2xqkD/I+AnJhXHBHhOTHHEvM/dTvTiDtSBMGF9yjOq5hEW8i+SugA59Zjf/YMoU6wH
 sTmKT+kybrI5POJhnIySmeY7KWVi9p/qcUzVrwXhnz5hi3LlLNKxQnbjIAvVQkXsL1z4df
 lX4PbGvhYTJJ/MDw4OLPTBEWwAC6PfE8yE27I6RJBRWEmDRDRNxWwj5eCG90gw==
Message-ID: <y76leqc5edj.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 RECURSIVE CLONE 3/9] gnu: extra-cmake-modules: Update to
 5.98.0.
In-Reply-To: <y76mtas5edv.wl-hako@HIDDEN>
References: <y76pmfo5eey.wl-hako@HIDDEN>
 <y76o7v85ee7.wl-hako@HIDDEN>
 <y76mtas5edv.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (extra-cmake-modules): Update to 5.98.0.
---
 gnu/packages/kde-frameworks.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 738013fdba..52314fd0ff 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -88,7 +88,7 @@ (define-module (gnu packages kde-frameworks)
 (define-public extra-cmake-modules
   (package
     (name "extra-cmake-modules")
-    (version "5.91.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -97,7 +97,7 @@ (define-public extra-cmake-modules
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0k65rvxh926ya6qahzk2ns7g1fya1429648mlx7iipxa61g8h5wp"))))
+                "0669m98vqy4hpacfjs7xpgjj1bns24kjybrjipxzp82092g8y69w"))))
     (build-system cmake-build-system)
     (native-inputs
      ;; Add test dependency, except on armhf where building it is too
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:31:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:31:29 2022
Received: from localhost ([127.0.0.1]:35635 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBzt-00075t-K6
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:31:29 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:34932)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBzs-00075g-77
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:31:28 -0400
Date: Thu, 22 Sep 2022 10:31:08 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813882;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=rXZf8rx19R2FbzJ4250O2kZ5Z1Em9z5N08Nam0kQIe8=;
 b=2Uxvg5MbyJXOq82Kbf26WbN5SehFIrjy2QbQT9F1+mQajn/F7eE33rYRmVaL24jK7ZWUmf
 vilqKjGFiZoMSUbz0epADd6hLzVRqsl0IYWLZyA0i6AfrkkLMiFGUMv875/Be5BBy0AREc
 G5WUKMqHEsfEoKhEoRKuuSorUsDTzAJ/Vjetpulvche1czVaKuJTggAi6+YtJjv1o3U9qk
 m3035V1WuDExEiCqkmjIonL+Bm7NzXOeaxuu1Q+0vvnptjQiaFP1H7JfnJ0dVOih5+o53h
 XkYuHp+hRI687/P9wIQa5/qp+6aMc+f612ECvcc9fbK+m7vWKaWLRX+s4ZKOhA==
Message-ID: <y76mtas5edv.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 RECURSIVE CLONE 2/9] gnu: Add abseil-cpp-cxxstd17.
In-Reply-To: <y76o7v85ee7.wl-hako@HIDDEN>
References: <y76pmfo5eey.wl-hako@HIDDEN>
 <y76o7v85ee7.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable.
---
 gnu/packages/cpp.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d03e0bc7e1..5e0646444c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1041,6 +1041,15 @@ (define-public abseil-cpp
           `(cons* "-DBUILD_TESTING=ON"
                   (delete "-DABSL_RUN_TESTS=ON" ,flags))))))))
 
+(define-public abseil-cpp-cxxstd17
+  (let ((base abseil-cpp))
+    (hidden-package
+     (package/inherit base
+       (arguments
+        (substitute-keyword-arguments (package-arguments base)
+          ((#:configure-flags flags)
+           #~(cons* "-DCMAKE_CXX_STANDARD=17" #$flags))))))))
+
 (define-public pegtl
   (package
     (name "pegtl")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:31:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:31:20 2022
Received: from localhost ([127.0.0.1]:35632 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBzj-00075V-Rx
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:31:20 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:52842)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBzh-00075H-BZ
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:31:18 -0400
Date: Thu, 22 Sep 2022 10:30:56 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813871;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=4RcCzfQ8shc2GSlyyFxAwI+CLNNqCPSMwHAfr0OUXD8=;
 b=RaoPs1wOph63y0+PZMsQI/HO6wnLEvbWELW+MNNPGH9yAqxDjTW0XDAVxUZGrzIBHbxmCv
 0OVD9+3B7SGGv9YsV8hnnbxND5ga66gbgQIeIhAwk7ksyNHMes7DsJ1URcqJCHLzeFxyTv
 HwzJTiPpBc0h8kcXFY2E2HkomDILRjsi0VzpocD//3zyPTZafH6vr+aFRpctt+NsjtPHNj
 qXaClV2VQzem6ir1FlQKlK8mavpw1LMUGZf2B9Df7+9kjHx1vdAttZNopL3yPJ+NrIfHRm
 gxdjYDgyXcrHcOo0Vc/dEfFwPS3sZlcqULx4ryPccdzH6zuWKumnUd5220ci0A==
Message-ID: <y76o7v85ee7.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 RECURSIVE CLONE 1/9] gnu: telegram-desktop: Fetch
 submodules recursively.
In-Reply-To: <y76pmfo5eey.wl-hako@HIDDEN>
References: <y76pmfo5eey.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (%telegram-version)
(cmake-helpers-for-telegram-desktop,codegen-for-telegram-desktop)
(lib-base-for-telegram-desktop,lib-crl-for-telegram-desktop)
(lib-lottie-for-telegram-desktop,lib-qr-for-telegram-desktop)
(lib-rlottie-for-telegram-desktop,lib-rpl-for-telegram-desktop)
(lib-spellcheck-for-telegram-desktop,lib-storage-for-telegram-desktop)
(lib-tl-for-telegram-desktop,lib-ui-for-telegram-desktop)
(lib-waylandshells-for-telegram-desktop,lib-webrtc-for-telegram-desktop)
(lib-webview-for-telegram-desktop): Remove variables.
(tgcalls-for-telegram-desktop): Use git revision rather than telegram version.
(telegram-desktop): Fetch submodules recursively.
[arguments]<#:phases>: Adjust accordingly.
---
 gnu/packages/telegram.scm | 235 ++++----------------------------------
 1 file changed, 20 insertions(+), 215 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 6c9869f93e..eb94f3b995 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -72,8 +72,6 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
 
-(define %telegram-version "2.9.3")
-
 (define libvpx-for-telegram-desktop
   (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
         (revision "112"))
@@ -104,197 +102,20 @@ (define libyuv-for-telegram-desktop
        (base32
         "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
 
-(define cmake-helpers-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/cmake_helpers.git")
-          (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
-    (file-name
-     (git-file-name "cmake-helpers-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
-
-(define codegen-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/codegen.git")
-          (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
-    (file-name
-     (git-file-name "codegen-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
-
-(define lib-base-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_base.git")
-          (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
-    (file-name
-     (git-file-name "lib-base-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
-
-(define lib-crl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_crl.git")
-          (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
-    (file-name
-     (git-file-name "lib-crl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
-
-(define lib-lottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_lottie.git")
-          (commit "0770df009db7928df1d0cad0900dc5110106d229")))
-    (file-name
-     (git-file-name "lib-lottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
-
-(define lib-qr-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_qr.git")
-          (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
-    (file-name
-     (git-file-name "lib-qr-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
-
-(define lib-rlottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rlottie.git")
-          (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
-    (file-name
-     (git-file-name "lib-rlottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
-
-(define lib-rpl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rpl.git")
-          (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
-    (file-name
-     (git-file-name "lib-rpl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
-
-(define lib-spellcheck-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_spellcheck.git")
-          (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
-    (file-name
-     (git-file-name "lib-spellcheck-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
-
-(define lib-storage-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_storage.git")
-          (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
-    (file-name
-     (git-file-name "lib-storage-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
-
-(define lib-tl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_tl.git")
-          (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
-    (file-name
-     (git-file-name "lib-tl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
-
-(define lib-ui-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_ui.git")
-          (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
-    (file-name
-     (git-file-name "lib-ui-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
-
-(define lib-waylandshells-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_waylandshells.git")
-          (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
-    (file-name
-     (git-file-name "lib-waylandshells-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
-
-(define lib-webrtc-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_webrtc.git")
-          (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
-    (file-name
-     (git-file-name "lib-webrtc-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
-
-(define lib-webview-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_webview.git")
-          (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
-    (file-name
-     (git-file-name "lib-webview-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
-
 (define tgcalls-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/TelegramMessenger/tgcalls.git")
-          (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
-    (file-name
-     (git-file-name "tgcalls-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
+  (let ((commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")
+        (revision "738"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/TelegramMessenger/tgcalls.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "tgcalls-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj")))))
 
 (define-public webrtc-for-telegram-desktop
   (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
@@ -464,19 +285,18 @@ (define-public libtgvoip-for-telegram-desktop
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-    (version %telegram-version)
+    (version "2.9.3")
     (source
      (origin
        (method git-fetch)
-       (uri
-        (git-reference
-         (url "https://github.com/telegramdesktop/tdesktop.git")
-         (commit
-          (string-append "v" version))))
+       (uri (git-reference
+             (url "https://github.com/telegramdesktop/tdesktop.git")
+             (commit (string-append "v" version))
+             (recursive? #t)))
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0dzf1y3xhqvizg29bd1kya48cjbkq073d2x10ynwcmmx396l4nd8"))
+        (base32 "07mw09gmxy2pcga856wbsqmbgl2l5a3ix0hr5p6hlvk7pq260s36"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
@@ -526,22 +346,7 @@ (define-public telegram-desktop
                       ((dst src)
                        (copy-recursively src dst)
                        (for-each make-file-writable (find-files dst))))
-                    '(("cmake" #$cmake-helpers-for-telegram-desktop)
-                      ("Telegram/codegen" #$codegen-for-telegram-desktop)
-                      ("Telegram/lib_base" #$lib-base-for-telegram-desktop)
-                      ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
-                      ("Telegram/lib_lottie" #$lib-lottie-for-telegram-desktop)
-                      ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
-                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-desktop)
-                      ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
-                      ("Telegram/lib_spellcheck" #$lib-spellcheck-for-telegram-desktop)
-                      ("Telegram/lib_storage" #$lib-storage-for-telegram-desktop)
-                      ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
-                      ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
-                      ("Telegram/lib_waylandshells" #$lib-waylandshells-for-telegram-desktop)
-                      ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-desktop)
-                      ("Telegram/lib_webview" #$lib-webview-for-telegram-desktop)
-                      ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
+                    '(("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
                (add-before 'configure 'patch-cxx-flags
                  (lambda _
                    (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:31:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:31:04 2022
Received: from localhost ([127.0.0.1]:35629 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBzU-000751-HO
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:31:04 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:58226)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBzS-00074X-Pi
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:31:03 -0400
Date: Thu, 22 Sep 2022 10:30:29 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813856;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=Z8a7sm5KK5Nz8peYAu3PMVSPmla+DquAyZrrJ0uYwv8=;
 b=tZw0vActxnji3fQa1enJ7ZORMSqG22k+oUXvdy8Wd10ve2QSdA9O9FmL52zMR1hn7QNszM
 sWXbePGL4DAiHcBUMkOpg/9I+HMKLceljFKVR8bmzjHOcG9rkSPMqGCljdCDwzPvReCNbC
 1e2zyu4XXkl5S9VEJMXSzaJPZSGd386Gh7W3/lzwA7f4Jar6KlpxxX20tH4wI5ZKmf2SMm
 WuBEfzBhqAEj8lWxdJV2UZOI0jdzPK7SnQwxVnWAHji51XqRkiySgeI90LdhZ/w3iwLkKw
 vu7zfwijGR11CP9px7GG98HV81XmM7TH1+j/Sf3msc9o3p3z+A7hspfKqZzDUw==
Message-ID: <y76pmfo5eey.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 RECURSIVE CLONE 0/9] gnu: telegram-desktop: Update to
 4.2.0. 
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Spam-Level: *
X-Spamd-Bar: +
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

v8 (ver. w/o 4.1.1) -> v9 RESCURSIVE CLONE: Aforementioned approach.

Hilton Chain (9):
  gnu: telegram-desktop: Fetch submodules recursively.
  gnu: Add abseil-cpp-cxxstd17.
  gnu: extra-cmake-modules: Update to 5.98.0.
  gnu: kcoreaddons: Remove trailing #t.
  gnu: kcoreaddons: Update to 5.98.0.
  gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
  gnu: Remove libvpx-for-telegram-desktop.
  gnu: telegram-desktop: Update to 4.2.0.
  gnu: Remove libtgvoip-for-telegram-desktop.

 gnu/local.mk                                  |   2 +
 gnu/packages/cpp.scm                          |   9 +
 gnu/packages/kde-frameworks.scm               |  23 +-
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 +++++
 ...r-telegram-desktop-fix-gcc12-cstdint.patch |  21 +
 gnu/packages/telegram.scm                     | 483 +++++-------------
 6 files changed, 294 insertions(+), 369 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch


base-commit: 1a1ff7ed8fdaae58aff0e8625399cd7354038ca3
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:27:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:27:47 2022
Received: from localhost ([127.0.0.1]:35623 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBwI-0006yF-Rt
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:27:47 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:40386)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBwH-0006y1-6P
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:27:45 -0400
Date: Thu, 22 Sep 2022 10:27:24 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813659;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=J1OyBHk2sM9u76bWBr9xK52hNSEcYCBad7tFbMDeUqo=;
 b=xNv4GTEN5ETut/xccRjsFcziXytaKk+ySJ5K7/HOapyjv2PP0+4s+khl/fLsIseehx8Io7
 eqZxGsfzX8rs5Q5S4Aq9QCrKVgnl2iVdSxWpkvKtalzOvJz4RtNirGy/prVuiXCBYs/w+F
 nWneqC2fzC0faOtkH8i7R03G6y/UWiSiWeQ3QWX/Esh/U5NGavQ8o5oIj/PCMtc3vXG3za
 XFhMfV5UPhx+ZNfXw1emKZnHHnT5hu0/f2WzkV+TOaBt+yBo5KdO+lhNbIN0ZKR13uuS+I
 16eZJWyie/JPqU+2m8M5GQTDBCckwFZshMFuWqiOlqRAbknM0ru3T5do//gvBw==
Message-ID: <y76sfkk5ek3.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 8/8] gnu: telegram: Remove unneeded variables.
In-Reply-To: <y76tu505ekg.wl-hako@HIDDEN>
References: <y764jx06t8e.wl-hako@HIDDEN>
 <y7635ck6t7h.wl-hako@HIDDEN>
 <y761qs46t74.wl-hako@HIDDEN>
 <y76zges5em9.wl-hako@HIDDEN>
 <y76y1uc5elv.wl-hako@HIDDEN>
 <y76wn9w5elh.wl-hako@HIDDEN>
 <y76v8pg5el3.wl-hako@HIDDEN>
 <y76tu505ekg.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (lib-rlottie-for-telegram-desktop)
(lib-waylandshells-for-telegram-desktop,libtgvoip-for-telegram-desktop):
Remove variables.
---
 gnu/packages/telegram.scm | 65 ---------------------------------------
 1 file changed, 65 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 2157988b07..e7d716461a 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -196,18 +196,6 @@ (define lib-qr-for-telegram-desktop
      (base32
       "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f"))))
 
-(define lib-rlottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rlottie.git")
-          (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
-    (file-name
-     (git-file-name "lib-rlottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
-
 (define lib-rpl-for-telegram-desktop
   (origin
     (method git-fetch)
@@ -268,18 +256,6 @@ (define lib-ui-for-telegram-desktop
      (base32
       "1zv29i7hxv70dsq36zrvkvaraff5zcb7sccpncqfl51s59kfsnz5"))))
 
-(define lib-waylandshells-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_waylandshells.git")
-          (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
-    (file-name
-     (git-file-name "lib-waylandshells-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
-
 (define lib-webrtc-for-telegram-desktop
   (origin
     (method git-fetch)
@@ -428,47 +404,6 @@ (define-public rlottie-for-telegram-desktop
              (substitute* "meson.build"
                (("werror=true") "werror=false")))))))))
 
-(define-public libtgvoip-for-telegram-desktop
-  (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
-        (revision "88"))
-    (hidden-package
-     (package
-       (inherit libtgvoip)
-       (version
-        (git-version "2.4.4" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/telegramdesktop/libtgvoip.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "libtgvoip-for-telegram-desktop" version))
-          (sha256
-           (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "--disable-static"
-           "--disable-dsp"              ; FIXME
-           "--enable-audio-callback"
-           "--with-alsa"
-           "--with-pulse")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-linkers
-              (lambda _
-                (substitute* "Makefile.am"
-                  (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
-                   "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)"))
-                (substitute* "tgvoip.pc.in"
-                  (("libcrypto opus")
-                   "libcrypto opus alsa libpulse"))
-                #t)))))
-       (native-inputs
-        (list autoconf automake libtool pkg-config))))))
-
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:27:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:27:36 2022
Received: from localhost ([127.0.0.1]:35620 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBw7-0006xo-Dn
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:27:36 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:44474)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBw4-0006xa-Dw
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:27:33 -0400
Date: Thu, 22 Sep 2022 10:27:11 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813646;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=k5UGZSXawsZxpEGg94j2dHiWWwBUORY6psR2hU/Hjn0=;
 b=RTmf4xqK4fnDTO8atb/LyqVEeW7XSOynjbhVUjDI7Vel+ft6gUly1Rt13Y/ZDnR0bZwzk8
 luZSiUnh1m1cq0jSkR+ySRkTnfBla9AzEI5NRpWRpNXIFtLtQuhzMJBrz5PSz4r0Samljg
 1CBVlNO/BmlvMbvHcEuD1ibFIPkKIpbakjimrC4c1GXnTDw97CX1J/m87FqbjeytLXA05D
 RQkVOV7t3E1pRhy+fW1H7OryXCVSQi7ivcg7GGe0THUoqQr3u4A4bI4BompNi8KoebZLpv
 6Rhhq6+698Yh2aUgs5QnbtffnbTICSTHNRA4Edi1s4Xrw3Zsj8te12X5+gm4sw==
Message-ID: <y76tu505ekg.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 7/8] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <y76v8pg5el3.wl-hako@HIDDEN>
References: <y764jx06t8e.wl-hako@HIDDEN>
 <y7635ck6t7h.wl-hako@HIDDEN>
 <y761qs46t74.wl-hako@HIDDEN>
 <y76zges5em9.wl-hako@HIDDEN>
 <y76y1uc5elv.wl-hako@HIDDEN>
 <y76wn9w5elh.wl-hako@HIDDEN>
 <y76v8pg5el3.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (dispatch-for-telegram-desktop): New variable.
(cmake-helpers-for-telegram-desktop,codegen-for-telegram-desktop)
(lib-base-for-telegram-desktop,lib-crl-for-telegram-desktop)
(lib-lottie-for-telegram-desktop,lib-qr-for-telegram-desktop)
(lib-rpl-for-telegram-desktop,lib-spellcheck-for-telegram-desktop)
(lib-storage-for-telegram-desktop,lib-tl-for-telegram-desktop)
(lib-ui-for-telegram-desktop,lib-webrtc-for-telegram-desktop)
(lib-webview-for-telegram-desktop,tgcalls-for-telegram-desktop): Bump to
submodule checkout.
(rlottie-for-telegram-desktop): Bump to submodule checkout.
[snippet]: Switch off werror.
[arguments]: Use inherited ones.
(telegram-desktop): Update to 4.2.0.
[patches]: Add telegram-desktop-allow-disable-libtgvoip.patch.
[arguments]<#:configure-flags>: Unbundle rlottie.
<#:phases>: Adjusted according to unbundled package.
[native-inputs]: Add clang-toolchain.
Remove cmake-shared, extra-cmake-modules and qttools-5.
[inputs]: Replace qtbase-5 with qtbase.
Add abseil-cpp-cxxstd17, kcoreaddons, libvpx, qt5compat, wayland, webkitgtk.
Remove catch2, fcitx-qt5, fcitx5-qt, gtk+, hime, kwayland, libdbusmenu-qt,
libtgvoip-for-telegram-desktop, libx11, materialdecoration, nimf and qt5ct.
[propagated-inputs]: Remove dconf.
[license]: Adjusted accordingly.
---
 gnu/local.mk                                  |   1 +
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 +++++++++
 gnu/packages/telegram.scm                     | 257 +++++++++---------
 3 files changed, 253 insertions(+), 130 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 10ee65fdd5..e8d0178293 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1871,6 +1871,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/teensy-loader-cli-help.patch		\
   %D%/packages/patches/tensorflow-c-api-fix.patch		\
   %D%/packages/patches/texinfo-5-perl-compat.patch		\
+  %D%/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch   \
   %D%/packages/patches/telegram-purple-adjust-test.patch	\
   %D%/packages/patches/texi2html-document-encoding.patch	\
   %D%/packages/patches/texi2html-i18n.patch			\
diff --git a/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
new file mode 100644
index 0000000000..3c062cbd9a
--- /dev/null
+++ b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
@@ -0,0 +1,125 @@
+From 4d1a8351ee82728912fcf7ad0070049b2910c393 Mon Sep 17 00:00:00 2001
+From: Klemens Nanni <klemens@HIDDEN>
+Date: Wed, 2 Mar 2022 01:07:48 +0100
+Subject: [PATCH] Introduce TDESKTOP_DISABLE_LEGACY_TGVOIP
+
+Originally from Alt Linux[0], OpenBSD has so far adapted the removal of
+tgvoip in the official net/tdesktop build.
+
+tgcalls provides everything needed for calls;  audio/video/desktop
+sharing calls have been working fine across different operating systems
+and telegram desktop/mobile versions without problems.
+
+0: http://www.sisyphus.ru/cgi-bin/srpm.pl/Sisyphus/telegram-desktop/getpatch/1
+---
+ Telegram/CMakeLists.txt                   | 6 +++---
+ Telegram/SourceFiles/calls/calls_call.cpp | 6 ++++++
+ Telegram/cmake/lib_tgcalls.cmake          | 4 ++++
+ Telegram/cmake/telegram_options.cmake     | 8 ++++++++
+ 4 files changed, 21 insertions(+), 3 deletions(-)
+
+diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
+index fb2bf370f..5d9578f2d 100644
+--- a/Telegram/CMakeLists.txt
++++ b/Telegram/CMakeLists.txt
+@@ -28,7 +28,9 @@ get_filename_component(res_loc Resources REALPATH)
+ include(cmake/telegram_options.cmake)
+ include(cmake/lib_ffmpeg.cmake)
+ include(cmake/lib_stripe.cmake)
+-include(cmake/lib_tgvoip.cmake)
++if (NOT TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    include(cmake/lib_tgvoip.cmake)
++endif()
+ include(cmake/lib_tgcalls.cmake)
+ include(cmake/td_export.cmake)
+ include(cmake/td_mtproto.cmake)
+@@ -52,9 +54,7 @@ target_prepare_qrc(Telegram)
+ 
+ target_link_libraries(Telegram
+ PRIVATE
+-    tdesktop::lib_tgcalls_legacy
+     tdesktop::lib_tgcalls
+-    tdesktop::lib_tgvoip
+ 
+     # Order in this list defines the order of include paths in command line.
+     # We need to place desktop-app::external_minizip this early to have its
+diff --git a/Telegram/SourceFiles/calls/calls_call.cpp b/Telegram/SourceFiles/calls/calls_call.cpp
+index 6894d5d90..cd03620e7 100644
+--- a/Telegram/SourceFiles/calls/calls_call.cpp
++++ b/Telegram/SourceFiles/calls/calls_call.cpp
+@@ -39,8 +39,10 @@ class InstanceImpl;
+ class InstanceV2Impl;
+ class InstanceV2ReferenceImpl;
+ class InstanceV2_4_0_0Impl;
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ class InstanceImplLegacy;
+ void SetLegacyGlobalServerConfig(const std::string &serverConfig);
++#endif
+ } // namespace tgcalls
+ 
+ namespace Calls {
+@@ -56,7 +58,9 @@ const auto Register = tgcalls::Register<tgcalls::InstanceImpl>();
+ const auto RegisterV2 = tgcalls::Register<tgcalls::InstanceV2Impl>();
+ const auto RegV2Ref = tgcalls::Register<tgcalls::InstanceV2ReferenceImpl>();
+ const auto RegisterV240 = tgcalls::Register<tgcalls::InstanceV2_4_0_0Impl>();
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ const auto RegisterLegacy = tgcalls::Register<tgcalls::InstanceImplLegacy>();
++#endif
+ 
+ [[nodiscard]] base::flat_set<int64> CollectEndpointIds(
+ 		const QVector<MTPPhoneConnection> &list) {
+@@ -1322,7 +1326,9 @@ Call::~Call() {
+ }
+ 
+ void UpdateConfig(const std::string &data) {
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ 	tgcalls::SetLegacyGlobalServerConfig(data);
++#endif
+ }
+ 
+ } // namespace Calls
+diff --git a/Telegram/cmake/lib_tgcalls.cmake b/Telegram/cmake/lib_tgcalls.cmake
+index 34a5ba418..8a784be2c 100644
+--- a/Telegram/cmake/lib_tgcalls.cmake
++++ b/Telegram/cmake/lib_tgcalls.cmake
+@@ -267,6 +267,10 @@ PRIVATE
+     ${tgcalls_loc}
+ )
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    return()
++endif()
++
+ add_library(lib_tgcalls_legacy STATIC)
+ init_target(lib_tgcalls_legacy)
+ 
+diff --git a/Telegram/cmake/telegram_options.cmake b/Telegram/cmake/telegram_options.cmake
+index 1c3c25431..033f2bc95 100644
+--- a/Telegram/cmake/telegram_options.cmake
++++ b/Telegram/cmake/telegram_options.cmake
+@@ -4,7 +4,9 @@
+ # For license and copyright information please follow this link:
+ # https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
+ 
++option(TDESKTOP_DISABLE_LEGACY_TGVOIP "Disable legacy tgvoip support." OFF)
+ option(TDESKTOP_API_TEST "Use test API credentials." OFF)
++
+ set(TDESKTOP_API_ID "0" CACHE STRING "Provide 'api_id' for the Telegram API access.")
+ set(TDESKTOP_API_HASH "" CACHE STRING "Provide 'api_hash' for the Telegram API access.")
+ 
+@@ -40,6 +42,12 @@ if (TDESKTOP_API_ID STREQUAL "0" OR TDESKTOP_API_HASH STREQUAL "")
+     " ")
+ endif()
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_LEGACY_TGVOIP)
++else()
++    target_link_libraries(Telegram PRIVATE tdesktop::lib_tgcalls_legacy tdesktop::lib_tgvoip)
++endif()
++
+ if (DESKTOP_APP_DISABLE_SPELLCHECK)
+     target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_SPELLCHECK)
+ else()
+-- 
+2.37.3
+
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 79086d845c..2157988b07 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -43,6 +43,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages lxqt)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages perl)
@@ -60,6 +61,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages webkit)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
@@ -75,7 +77,7 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
 
-(define %telegram-version "2.9.3")
+(define %telegram-version "4.2.0")
 
 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
@@ -107,77 +109,92 @@ (define crc32c-for-telegram-desktop
        (base32
         "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
 
+(define dispatch-for-telegram-desktop
+  (let ((commit "ecc678d79f38cf63d24b6d16e18f69a9117d8d73")
+        (revision "14"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/apple/swift-corelibs-libdispatch.git")
+            (commit commit)))
+      (file-name
+       (git-file-name
+        "dispatch-for-telegram-desktop" (git-version "5.6" revision commit)))
+      (sha256
+       (base32
+        "0hy4q6x3bgphazmpl3v62995abc9fpi8y7yg9aiblzsqkxmgjmqn")))))
+
 (define cmake-helpers-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/cmake_helpers.git")
-          (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
+          (commit "b9f1b6036329e44ec61f51f0b363fe2319158b84")))
     (file-name
      (git-file-name "cmake-helpers-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
+      "0sgp1nlmcm2imgpssqxrwinafnmicmq0qikgdnhs1d44hrwxbws3"))))
 
 (define codegen-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/codegen.git")
-          (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
+          (commit "8815d7aec9b901191d08445f29e2edd0aeba7b2c")))
     (file-name
      (git-file-name "codegen-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
+      "1ly958mjk25kfcpa174kvg134p9r751ixi275afj5kr57by9mbq2"))))
 
 (define lib-base-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_base.git")
-          (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
+          (commit "cc5550de2766657ced8d0bb4d2db3f050363d3d5")))
     (file-name
      (git-file-name "lib-base-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
+      "16x5qp5w51igk213rhl49x256vjvpkjkgi2ziwzxnsj0pzdd4y27"))))
 
 (define lib-crl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_crl.git")
-          (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
+          (commit "4e620bc383d032aadea8e6af02661f8c76695cec")))
     (file-name
      (git-file-name "lib-crl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
+      "17bngj247qwq0dg4h37xdi5v1mk22y4yp7sp6ph3irmnz4awah0x"))))
 
 (define lib-lottie-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_lottie.git")
-          (commit "0770df009db7928df1d0cad0900dc5110106d229")))
+          (commit "6ed1c22ed60692d2f288c9222fafd7d5cd62f904")))
     (file-name
      (git-file-name "lib-lottie-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
+      "0l57ibfij9xm4ww4s9cc63q1x8xzpc6ablwaji1krrn3xxksqdd4"))))
 
 (define lib-qr-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_qr.git")
-          (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
+          (commit "501f4c3502fd872ab4d777df8911bdac32de7c48")))
     (file-name
      (git-file-name "lib-qr-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
+      "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f"))))
 
 (define lib-rlottie-for-telegram-desktop
   (origin
@@ -196,60 +213,60 @@ (define lib-rpl-for-telegram-desktop
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_rpl.git")
-          (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
+          (commit "fd31f5bf382d2679eccdb1abaf8240a56c6a7abe")))
     (file-name
      (git-file-name "lib-rpl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
+      "1fpq8nyh8wx6zkb3sjjrx9ydqzyhw4483bdk1i9blp0ijn9xxdxf"))))
 
 (define lib-spellcheck-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_spellcheck.git")
-          (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
+          (commit "0e386e22cb6ba8a114b569840a635e096dcb645e")))
     (file-name
      (git-file-name "lib-spellcheck-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
+      "06js7ccv6z3nbd4v2p4hp2prrlmz5ww46y3yb922pp7gm317dwyw"))))
 
 (define lib-storage-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_storage.git")
-          (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
+          (commit "839609369d04615475cb1518636de3619106a917")))
     (file-name
      (git-file-name "lib-storage-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
+      "1l26h2fmqp9dcpr6pfvdd5sjb68j7yh0ms2lnr8na7jf5xqmkwwm"))))
 
 (define lib-tl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_tl.git")
-          (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
+          (commit "36fb95c4de1339d2c8921ad6b2911858c3d0e0fa")))
     (file-name
      (git-file-name "lib-tl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
+      "03rngnssnqwr7ad05qn64mwgji5fb0r3fp5ybkf951p8phr1jvzk"))))
 
 (define lib-ui-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_ui.git")
-          (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
+          (commit "f82162f05a72352bfee0fb79f9e50c350b3a98f3")))
     (file-name
      (git-file-name "lib-ui-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
+      "1zv29i7hxv70dsq36zrvkvaraff5zcb7sccpncqfl51s59kfsnz5"))))
 
 (define lib-waylandshells-for-telegram-desktop
   (origin
@@ -268,36 +285,36 @@ (define lib-webrtc-for-telegram-desktop
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_webrtc.git")
-          (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
+          (commit "9b11599c3c56047cfa4c68b69f1fcc93b602c33a")))
     (file-name
      (git-file-name "lib-webrtc-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
+      "0158jx8hj4fv6qpw5pgcr2mdlihj0dxs060dg3iy61zz6q68z5dq"))))
 
 (define lib-webview-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_webview.git")
-          (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
+          (commit "546df65eb2424550ed84ce14fc9c5d1bb3586f35")))
     (file-name
      (git-file-name "lib-webview-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
+      "0zzjwyw82bggncmmsw969lnjl04pklmqjqm77jjzadinivl52z0l"))))
 
 (define tgcalls-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/TelegramMessenger/tgcalls.git")
-          (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
+          (commit "82c4921045c440b727c38e464f3a0539708423ff")))
     (file-name
      (git-file-name "tgcalls-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
+      "1109r17abh66yz91b65fn2g4ryfybnsr5g6075sjhbah1gccv9mk"))))
 
 (define-public webrtc-for-telegram-desktop
   (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
@@ -341,18 +358,17 @@ (define-public webrtc-for-telegram-desktop
                  (("\\include\\(cmake\\/libopenh264\\.cmake\\)")""))))))
        (build-system cmake-build-system)
        (arguments
-        (list
-         #:tests? #f                    ; No target
-         #:phases
-         #~(modify-phases %standard-phases
-             (add-after 'unpack 'copy-inputs
-               (lambda _
-                 (let* ((third-party (string-append (getcwd) "/src/third_party"))
-                        (crc32c-to (string-append third-party "/crc32c/src"))
-                        (libyuv-to (string-append third-party "/libyuv")))
-                   (copy-recursively #$crc32c-for-telegram-desktop crc32c-to)
-                   (copy-recursively #$libyuv-for-telegram-desktop
-                                     libyuv-to)))))))
+        (list #:tests? #f       ; No target
+              #:phases
+              #~(modify-phases %standard-phases
+                  (add-after 'unpack 'copy-inputs
+                    (lambda _
+                      (copy-recursively
+                       #$libyuv-for-telegram-desktop
+                       (string-append (getcwd) "/src/third_party/libyuv"))
+                      (copy-recursively
+                       #$crc32c-for-telegram-desktop
+                       (string-append (getcwd) "/src/third_party/crc32c/src")))))))
        (native-inputs (list pkg-config python-wrapper yasm))
        (inputs
         (list abseil-cpp-cxxstd17
@@ -392,38 +408,25 @@ (define-public webrtc-for-telegram-desktop
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-  (let ((commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")
-        (revision "671"))
-    (hidden-package
-     (package
-       (inherit rlottie)
-       (version
-        (git-version "0.0.1" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/desktop-app/rlottie.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "rlottie-for-telegram-desktop" version))
-          (sha256
-           (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "-Dlog=true"
-           "-Ddumptree=true"
-           "-Dtest=true")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-cxx-flags
-              (lambda _
-                (substitute* "meson.build"
-                  (("werror=true")
-                   "werror=false"))
-                #t)))))))))
+  (hidden-package
+   (package
+     (inherit rlottie)
+     (version %telegram-version)
+     (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+              (url "https://github.com/desktop-app/rlottie.git")
+              (commit "8c69fc20cf2e150db304311f1233a4b55a8892d7")))
+        (file-name
+         (git-file-name "rlottie-for-telegram-desktop" version))
+        (sha256
+         (base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
+        (modules '((guix build utils)))
+        (snippet
+         #~(begin
+             (substitute* "meson.build"
+               (("werror=true") "werror=false")))))))))
 
 (define-public libtgvoip-for-telegram-desktop
   (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
@@ -476,20 +479,23 @@ (define-public telegram-desktop
        (uri
         (git-reference
          (url "https://github.com/telegramdesktop/tdesktop.git")
-         (commit
-          (string-append "v" version))))
+         (commit (string-append "v" version))))
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0dzf1y3xhqvizg29bd1kya48cjbkq073d2x10ynwcmmx396l4nd8"))
+        (base32 "16xhng5m3aw4j4ax74nydpxjnx5z3ga21vmrznlm4lbk9ivyn7vx"))
+       (patches
+        (search-patches
+         ;; https://github.com/telegramdesktop/tdesktop/pull/24126
+         "telegram-desktop-allow-disable-libtgvoip.patch"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
         #~(begin
             (let ((keep
-                   '( ;; Not available in Guix.
-                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+                   '(;; Not available in Guix.
+                     "dispatch" "tgcalls")))
               (with-directory-excursion "Telegram/ThirdParty"
                 (for-each delete-file-recursively
                           (lset-difference string=?
@@ -497,34 +503,33 @@ (define-public telegram-desktop
                                            (cons* "." ".." keep)))))))))
     (build-system qt-build-system)
     (arguments
-     (list #:tests? #f                      ; No target
+     (list #:tests? #f                  ;No target
            #:imported-modules
            `(,@%qt-build-system-modules
              (guix build glib-or-gtk-build-system))
            #:modules
            '((guix build qt-build-system)
-             ((guix build glib-or-gtk-build-system)
-              #:prefix glib-or-gtk:)
+             ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
              (guix build utils)
              (ice-9 match))
            #:configure-flags
-           #~(list
-              ;; Client applications must provide their own API-ID and API-HASH,
-              ;; see also <https://core.telegram.org/api/obtaining_api_id>.
-              ;; Here, we snarf the keys from the official Snaps, which are
-              ;; also stored in <#$source/snap/snapcraft.yaml>.
-              "-DTDESKTOP_API_ID=611335"
-              "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
-              ;; Disable WebkitGTK support as it fails to link
-              "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
-              ;; Use bundled fonts as fallback.
-              "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
+           #~`(;; Client applications need an API ID and hash, see also:
+               ;; <https://core.telegram.org/api/obtaining_api_id>. Here, we
+               ;; use the ones given by the official Snap package, see:
+               ;; <https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml>.
+               "-DTDESKTOP_API_ID=611335"
+               "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
+               "-DTDESKTOP_DISABLE_LEGACY_TGVOIP=ON"
+               "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
+               "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
+               "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON"
+               ,(string-append "-DTDESKTOP_LAUTCHER_BASENAME=" #$name))
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'make-writable
                  (lambda _
                    (for-each make-file-writable (find-files "."))))
-               (add-after 'make-writable 'copy-inputs
+               (add-after 'make-writable 'copy-sources
                  (lambda _
                    (for-each
                     (match-lambda
@@ -537,81 +542,73 @@ (define-public telegram-desktop
                       ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
                       ("Telegram/lib_lottie" #$lib-lottie-for-telegram-desktop)
                       ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
-                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-desktop)
                       ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
                       ("Telegram/lib_spellcheck" #$lib-spellcheck-for-telegram-desktop)
                       ("Telegram/lib_storage" #$lib-storage-for-telegram-desktop)
                       ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
                       ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
-                      ("Telegram/lib_waylandshells" #$lib-waylandshells-for-telegram-desktop)
                       ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-desktop)
                       ("Telegram/lib_webview" #$lib-webview-for-telegram-desktop)
+                      ("Telegram/ThirdParty/dispatch" #$dispatch-for-telegram-desktop)
                       ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
-               (add-before 'configure 'patch-cxx-flags
-                 (lambda _
-                   (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
                (add-after 'install 'glib-or-gtk-compile-schemas
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
                (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
     (native-inputs
-     (list cmake-shared
-           extra-cmake-modules
-           `(,glib "bin")
+     (list `(,glib "bin")
            `(,gtk+ "bin")
+           clang-toolchain
            pkg-config
-           python-wrapper
-           qttools-5))
+           python-wrapper))
     (inputs
-     (list alsa-lib
+     (list abseil-cpp-cxxstd17
+           alsa-lib
            c++-gsl
-           catch2
-           libexpected
-           fcitx-qt5
-           fcitx5-qt
            ffmpeg
-           glib
-           glibmm-2.64
-           gtk+
-           hime
-           hunspell
            jemalloc
-           kwayland
-           libdbusmenu-qt
+           kcoreaddons
+           libexpected
            libjpeg-turbo
-           libtgvoip-for-telegram-desktop
-           lz4
-           materialdecoration
+           libvpx
            minizip
-           nimf
            openal
            openssl
            opus
            pulseaudio
            qrcodegen-cpp
-           qtbase-5
-           qtsvg-5
-           qt5ct
+           qt5compat
+           qtbase
            qtimageformats
-           qtwayland
+           qtsvg-5
            range-v3
            rlottie-for-telegram-desktop
            rnnoise
            webrtc-for-telegram-desktop
-           libx11
-           libxcb
-           xcb-util-keysyms
            xxhash
-           zlib))
-    (propagated-inputs (list dconf))
+           zlib
+           ;; DESKTOP_APP_DISABLE_DBUS_INTEGRATION
+           glibmm-2.64
+           ;; DESKTOP_APP_DISABLE_SPELLCHECK
+           hunspell
+           ;; DESKTOP_APP_LOTTIE_USE_CACHE
+           lz4
+           ;; DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
+           qtwayland wayland
+           ;; DESKTOP_APP_DISABLE_X11_INTEGRATION
+           libxcb xcb-util-keysyms
+           ;; Optional
+           webkitgtk))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
     (home-page "https://desktop.telegram.org/")
     (license
      (list
-      ;; ThirdParty
-      license:lgpl2.1+
+      ;; Telegram/ThirdParty/dispatch
+      license:asl2.0
+      ;; Telegram/ThirdParty/tgcalls
+      license:lgpl3
       ;; Others
       license:gpl3+))))
 
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:27:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:27:12 2022
Received: from localhost ([127.0.0.1]:35617 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBvk-0006xE-1T
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:27:12 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:57830)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBvh-0006x1-O3
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:27:10 -0400
Date: Thu, 22 Sep 2022 10:26:48 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813623;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=g/VY1cL0EBKnW9YfhFTYp91c4ayhHla86xu1AY53PlA=;
 b=HmJqvgSVCZ7OvlGlOcdFpHGXq8AQsDQG5WMRXM/T1NZtKnJJh0iL/UdXa0k2bNlQ185b0o
 XfEDbp1Ecgjzsz9VlWkt9jE1o/yPMR5yhd93NnsXwuAcmzMZXcQol8YfdYz+l/CDXOIQ93
 8hgcTyhlrJLz8BXWe/Jbra8+rdhmMOup8VWHL1OVX2lF68/igZFDOrb3G6k5PdiVXHV9w3
 mNGyTG5I99bElg/y49B/QIzrPYwIIaPQgLkOZPbhX4MxfZs2IoBYzeOhdcoa1g64H/Bh/e
 0/YRETMc9ugfU1gHHwc9mrBTnvaMwhJSPT7GoYSUa2UWlT6GPalwiHWQ+XDnQw==
Message-ID: <y76v8pg5el3.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 6/8] gnu: Remove libvpx-for-telegram-desktop.
In-Reply-To: <y76wn9w5elh.wl-hako@HIDDEN>
References: <y764jx06t8e.wl-hako@HIDDEN>
 <y7635ck6t7h.wl-hako@HIDDEN>
 <y761qs46t74.wl-hako@HIDDEN>
 <y76zges5em9.wl-hako@HIDDEN>
 <y76y1uc5elv.wl-hako@HIDDEN>
 <y76wn9w5elh.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (libvpx-for-telegram-desktop): Remove variable.
---
 gnu/packages/telegram.scm | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index a9e1cc1ff7..79086d845c 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -77,21 +77,6 @@ (define-module (gnu packages telegram)
 
 (define %telegram-version "2.9.3")
 
-(define libvpx-for-telegram-desktop
-  (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
-        (revision "112"))
-    (origin
-      (method git-fetch)
-      (uri (git-reference
-            (url "https://chromium.googlesource.com/webm/libvpx")
-            (commit commit)))
-      (file-name (git-file-name
-                  "libvpx-for-telegram-desktop"
-                  (git-version "1.9.0" revision commit)))
-      (sha256
-       (base32
-        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
-
 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
         (revision "2211"))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:26:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:26:58 2022
Received: from localhost ([127.0.0.1]:35610 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBvV-0006w4-D6
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:26:57 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:39604)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBvU-0006vr-3o
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:26:56 -0400
Date: Thu, 22 Sep 2022 10:26:34 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813610;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=OSZQtqYAIdIkDHTxBbKCC502oWEfK5mY7gUVvN0l1JE=;
 b=Fkup1BxDK6S8HMYpA124dsGuODNvwtXZfuBh4//+1ZjxhyIUiNoBG8ppV8yeSjsEqSVbea
 8Y6zQHF+uwd0DsC/PKTeHuyq0GjOIrQdVNEf5XADqdZh7b1rLpBrl3In2H7C9rA2sB94Ez
 SaKWGeYFzc8kM5mei1zrwszZm2NYE5zW+ux7nqQdtWG71b/32r4Mgd/aRyEUEFJFS43jSq
 xsnm0JYWIiPxmY0hrVkWHVWN27FdWlQG60RvhRi0BDNNRcZ0YqbvGBnNVO7Orr41YU4NQA
 BgfhDvifOKAoVpvHDUCUFBO4OioXo20u/H2iN+evqbdwSP/3j489eJ1b6r6ykQ==
Message-ID: <y76wn9w5elh.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 5/8] gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
In-Reply-To: <y76y1uc5elv.wl-hako@HIDDEN>
References: <y764jx06t8e.wl-hako@HIDDEN>
 <y7635ck6t7h.wl-hako@HIDDEN>
 <y761qs46t74.wl-hako@HIDDEN>
 <y76zges5em9.wl-hako@HIDDEN>
 <y76y1uc5elv.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details. Content preview: *
 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
 New file. * gnu/local.mk (dist_patch_DATA): Add patch. *
 gnu/packages/telegram.scm
 (crc32c-for-telegram-desktop): New variab [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: xiretza.xyz (xyz)]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

* gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (crc32c-for-telegram-desktop): New variable.
(webrtc-for-telegram-desktop): Update to 621f3da5.
[patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
[snippet]: Unbundle libvpx and openh264.
[native-inputs]: Remove perl.
[inputs]: Replace pipewire with pipewire-0.3.
Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa, openh264.
Remove alsa-lib, libx11 and pulseaudio.
[arguments<#:phases>,license]: Adjusted accordingly.
---
 gnu/local.mk                                  |  1 +
 ...r-telegram-desktop-fix-gcc12-cstdint.patch | 21 ++++++
 gnu/packages/telegram.scm                     | 74 ++++++++++++-------
 3 files changed, 69 insertions(+), 27 deletions(-)
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index ef1bae5f3c..10ee65fdd5 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1969,6 +1969,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/warsow-qfusion-fix-bool-return-type.patch	\
   %D%/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch	\
   %D%/packages/patches/webrtc-audio-processing-big-endian.patch	\
+  %D%/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch   \
   %D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch	\
   %D%/packages/patches/widelands-add-missing-map-include.patch	\
   %D%/packages/patches/widelands-system-wide_minizip.patch	\
diff --git a/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
new file mode 100644
index 0000000000..f1fd29d0d3
--- /dev/null
+++ b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
@@ -0,0 +1,21 @@
+From 86d2bcd7afb8706663d29e30f65863de5a626142 Mon Sep 17 00:00:00 2001
+From: Xiretza <xiretza@HIDDEN>
+Date: Sun, 15 May 2022 12:47:41 +0200
+Subject: [PATCH] fix(h265_pps_parser): fix missing cstdint include
+
+---
+ src/common_video/h265/h265_pps_parser.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/common_video/h265/h265_pps_parser.h b/src/common_video/h265/h265_pps_parser.h
+index 28c95ea9..c180b1b9 100644
+--- a/src/common_video/h265/h265_pps_parser.h
++++ b/src/common_video/h265/h265_pps_parser.h
+@@ -12,6 +12,7 @@
+ #define COMMON_VIDEO_H265_PPS_PARSER_H_
+
+ #include "absl/types/optional.h"
++#include <cstdint>
+
+ namespace rtc {
+ class BitBuffer;
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 6c9869f93e..a9e1cc1ff7 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -30,6 +30,8 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages digest)
   #:use-module (gnu packages fcitx)
   #:use-module (gnu packages fcitx5)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -58,6 +60,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
@@ -104,6 +107,21 @@ (define libyuv-for-telegram-desktop
        (base32
         "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
 
+(define crc32c-for-telegram-desktop
+  (let ((commit "21fc8ef30415a635e7351ffa0e5d5367943d4a94")
+        (revision "78"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/google/crc32c")
+            (commit commit)))
+      (file-name (git-file-name
+                  "crc32c-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
+
 (define cmake-helpers-for-telegram-desktop
   (origin
     (method git-fetch)
@@ -297,8 +315,8 @@ (define tgcalls-for-telegram-desktop
       "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
 
 (define-public webrtc-for-telegram-desktop
-  (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
-        (revision "166"))
+  (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
+        (revision "327"))
     (hidden-package
      (package
        (name "webrtc-for-telegram-desktop")
@@ -314,58 +332,62 @@ (define-public webrtc-for-telegram-desktop
           (file-name
            (git-file-name name version))
           (sha256
-           (base32 "0plwdp6xgxi27hif5j7kpq425cidxyxbbga3z2f64dsninwy5p1x"))
+           (base32 "1ks1572k1jj7pmzwm79p2gdgi31dd4bs761bphnx32zyq4c6skxk"))
+          (patches
+           (search-patches
+            ;; https://github.com/desktop-app/tg_owt/pull/101
+            "webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch"))
           (modules '((guix build utils)
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
            #~(begin
                (let ((keep
-                      '( ;; Custom forks which are incompatible with the ones in Guix.
-                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                      '("abseil-cpp" "libsrtp" "rnnoise"
                         ;; Not available in Guix.
-                        "pffft" "usrsctp"
-                        ;; Has cmake support files for libvpx input.
-                        "libvpx")))
+                        "crc32c" "pffft")))
                  (with-directory-excursion "src/third_party"
                    (for-each delete-file-recursively
                              (lset-difference string=?
                                               (scandir ".")
-                                              (cons* "." ".." keep)))))))))
+                                              (cons* "." ".." keep)))))
+               ;; Use system openh264.
+               (substitute* "CMakeLists.txt"
+                 (("\\include\\(cmake\\/libopenh264\\.cmake\\)")""))))))
        (build-system cmake-build-system)
        (arguments
         (list
          #:tests? #f                    ; No target
-         #:configure-flags #~(list "-DCMAKE_C_FLAGS=-fPIC"
-                                   "-DCMAKE_CXX_FLAGS=-fPIC")
          #:phases
          #~(modify-phases %standard-phases
              (add-after 'unpack 'copy-inputs
                (lambda _
                  (let* ((third-party (string-append (getcwd) "/src/third_party"))
-                        (libvpx-to (string-append third-party
-                                                  "/libvpx/source/libvpx"))
+                        (crc32c-to (string-append third-party "/crc32c/src"))
                         (libyuv-to (string-append third-party "/libyuv")))
-                   (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
+                   (copy-recursively #$crc32c-for-telegram-desktop crc32c-to)
                    (copy-recursively #$libyuv-for-telegram-desktop
                                      libyuv-to)))))))
-       (native-inputs (list perl pkg-config python-wrapper yasm))
+       (native-inputs (list pkg-config python-wrapper yasm))
        (inputs
-        (list alsa-lib
+        (list abseil-cpp-cxxstd17
               ffmpeg
               libjpeg-turbo
-              glib
-              libxcomposite
-              libxdamage
-              libxrender
-              libxrandr
+              libvpx
+              openh264
               openssl
               opus
-              pipewire
+              ;; TG_OWT_USE_PROTOBUF
               protobuf
-              pulseaudio
-              libx11
+              ;; TG_OWT_USE_PIPEWIRE
+              glib libdrm libglvnd mesa pipewire-0.3
+              ;; TG_OWT_USE_X11
+              libxcomposite
+              libxdamage
               libxext
+              libxfixes
+              libxrandr
+              libxrender
               libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
@@ -377,13 +399,11 @@ (define-public webrtc-for-telegram-desktop
          license:asl2.0
          ;; LibYuv
          (license:non-copyleft "file:///src/third_party/libyuv/LICENSE")
-         ;; OpenH264
-         license:bsd-2
          ;; PFFFT
          (license:non-copyleft "file:///src/third_party/pffft/LICENSE")
          ;; RnNoise
          license:gpl3
-         ;; LibSRTP, LibVPx, UsrSCTP and Others
+         ;; LibSRTP, Crc32c and Others
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:26:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:26:44 2022
Received: from localhost ([127.0.0.1]:35607 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBvI-0006ve-2F
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:26:44 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:38160)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBvG-0006vP-3j
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:26:42 -0400
Date: Thu, 22 Sep 2022 10:26:20 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813596;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=RxFXt6EB5ujZGI6OXncH2i0YNK3jWZwDztcE1IR6Fu4=;
 b=yDmmT4BipPDHtZ8okpfmPGDtAbt0hD/LkyF5PE5fDMc9e6BgmTcGlAsDCNtAYgj1YR4FSl
 VVvK146NgJhCBePDuMiyDYIjKi/B1Ni+6yRok3ozJweNhgKq6DvoVF0H0POUVzYUWMs1vU
 VFMMwUrh2QY0oRIcbf0vKbMAlG81Lz0E3TlKMwnTsseWwdbRRqwH+jdQsAFGOAeAeCVRGG
 gKS2aLuqeumJmyNHMUCuML1ozZOTVpumoVlLdZ2Ba60UYfn3LD1CY/ioZDhk68qjAFzhBA
 LgJLQz9uNJY1AiCwxNkMmeTnjPFzP3tH+bnJSejVvl6JoTFpJ1hyTdDsGF/LTg==
Message-ID: <y76y1uc5elv.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 4/8] gnu: kcoreaddons: Update to 5.98.0.
In-Reply-To: <y76zges5em9.wl-hako@HIDDEN>
References: <y764jx06t8e.wl-hako@HIDDEN>
 <y7635ck6t7h.wl-hako@HIDDEN>
 <y761qs46t74.wl-hako@HIDDEN>
 <y76zges5em9.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (kcoreaddons): Update to 5.98.0.
[arguments]<#:phases>: Update blocklist for failing tests.
---
 gnu/packages/kde-frameworks.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index e4337636ac..61cbf19bc4 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -574,7 +574,7 @@ (define-public kconfig
 (define-public kcoreaddons
   (package
     (name "kcoreaddons")
-    (version "5.70.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -583,7 +583,7 @@ (define-public kcoreaddons
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "10a7zys3limsawl7lk9ggymk3msk2bp0y8hp0jmsvk3l405pd1ps"))))
+                "0lqmyxqsw7w1qgdgmax63v64cy7dwk7n4zi8k53xmrqjmd9jir52"))))
     (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules qttools-5 shared-mime-info
@@ -602,14 +602,8 @@ (define-public kcoreaddons
                  ;; FIXME: Make it pass.  Test failure caused by stout/stderr
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
-                 ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))))
-         ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
-         (add-after 'unpack 'fix-broken-test
-           (lambda _
-             (substitute* "autotests/kdirwatch_unittest.cpp"
-               (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))))
+                 ;; FIXME
+                 (display "[test_inheritance]\n*\n")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:26:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:26:30 2022
Received: from localhost ([127.0.0.1]:35604 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBv3-0006vA-NZ
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:26:30 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:58748)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBv2-0006uw-2v
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:26:28 -0400
Date: Thu, 22 Sep 2022 10:26:06 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813582;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=DPqzO4hrjYh+qq9tQuuHIaD0PiiP2kje4P6OaSdnE2c=;
 b=jOvLaROczaPTIJNOOqmcFsLkOeZZGUPmwUlNJjiU7KNaH7RmjOsCmACxnIKw6LqTUNUY3g
 qseEtMom31Vn5Wa+HEjpGr0EMzik2yS5tJVVo2KF6fLbvuoz3ZfgiE2oQVugre16Beejwc
 ptb4dplpvCzJSRxnNSQ0zaaD/inqKrlAN5DJ82TW7N5FDL08B294ucvA6Y7GEwgf1sCEsd
 QUpTJgZc92G4ApB8MPKQ9HF99qpU1XhPgPhOwxO6EoX9DnQjub6PVFd1WKUVEedzhVfgBK
 UV7qf3w0qSxXNZlrOGlz5yfD8pCcDfkegROjYdy5FTOwpWHjfWM3pk3WTCOW3g==
Message-ID: <y76zges5em9.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 3/8] gnu: kcoreaddons: Remove trailing #t.
In-Reply-To: <y761qs46t74.wl-hako@HIDDEN>
References: <y764jx06t8e.wl-hako@HIDDEN>
 <y7635ck6t7h.wl-hako@HIDDEN>
 <y761qs46t74.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (kcoreaddons)[arugments]<#:phases>: Remove
trailing #t.
---
 gnu/packages/kde-frameworks.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 52314fd0ff..e4337636ac 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -603,20 +603,17 @@ (define-public kcoreaddons
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
                  ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))
-             #t))
+                 (display "[benchNotifyWatcher]\n*\n")))))
          ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
          (add-after 'unpack 'fix-broken-test
            (lambda _
              (substitute* "autotests/kdirwatch_unittest.cpp"
                (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))
-             #t))
+                (string-append m "\nwaitUntilNewSecond();")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-             (setenv "TMPDIR" (getcwd))
-             #t)))))
+             (setenv "TMPDIR" (getcwd)))))))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Qt addon library with a collection of non-GUI utilities")
     (description "KCoreAddons provides classes built on top of QtCore to
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:26:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:26:13 2022
Received: from localhost ([127.0.0.1]:35601 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBun-0006ug-E3
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:26:13 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:40870)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBum-0006uS-2V
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:26:12 -0400
Date: Thu, 22 Sep 2022 10:25:51 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813566;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=QgrDJbgQOAH6sm92Ol3fqk9Hsc3bHvkj39SM5AjW5eo=;
 b=zSvpsYQ5Jf/w0jptQaeF/vUoRH0Q3OVUcYXGBjEm7so9cocL29zmGsdMWYMBIbNyyih+RN
 hQK/818+oktvihNwnL0bT7ATL1c8Iy7BqkTNiYQ25lcQegEWaAUeNk/5NPnTKo5/h3Z2tk
 FSe3OkaNkhZfbtdOO0pSjRDma6fJ8LitIFk3Fi2IljrcRKf/Mc4j1sPTH5Pc9qWxhY9mkE
 PJeZSoqGfOAOXUk3OAjJtFN+cAL20/l8sz1bNcT1xx3wTjeIiKS4HN8D4JSQ/mo78iiYBQ
 VhJFxE3fwEqZh2asMYzai9ZUa0IeGnOc4sWZcRm2W+LTAdwK1Is2DQxy9+Kh5A==
Message-ID: <y761qs46t74.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 2/8] gnu: extra-cmake-modules: Update to 5.98.0.
In-Reply-To: <y7635ck6t7h.wl-hako@HIDDEN>
References: <y764jx06t8e.wl-hako@HIDDEN>
 <y7635ck6t7h.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (extra-cmake-modules): Update to 5.98.0.
---
 gnu/packages/kde-frameworks.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 738013fdba..52314fd0ff 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -88,7 +88,7 @@ (define-module (gnu packages kde-frameworks)
 (define-public extra-cmake-modules
   (package
     (name "extra-cmake-modules")
-    (version "5.91.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -97,7 +97,7 @@ (define-public extra-cmake-modules
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0k65rvxh926ya6qahzk2ns7g1fya1429648mlx7iipxa61g8h5wp"))))
+                "0669m98vqy4hpacfjs7xpgjj1bns24kjybrjipxzp82092g8y69w"))))
     (build-system cmake-build-system)
     (native-inputs
      ;; Add test dependency, except on armhf where building it is too
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:26:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:26:01 2022
Received: from localhost ([127.0.0.1]:35596 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBub-0006tk-4W
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:26:01 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:53890)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBuZ-0006tX-9Y
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:25:59 -0400
Date: Thu, 22 Sep 2022 10:25:38 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813553;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=rXZf8rx19R2FbzJ4250O2kZ5Z1Em9z5N08Nam0kQIe8=;
 b=lDLQtk0eR9fOPC3HfBdGyUY+30jEmvbw09MGaM5eZieFLn6tgBoaaE9Kwjssmv6sR12MRi
 nZj8IG5vmJx/4JYKs1q6PzV6IOw1e2dRqsGwdKiizsXrwzgmI0CgAMIVGCL057VDe1IuIN
 TPAARDPrVjdeciicrymu7uCN9sxOCh/J3APxH7+DTPQ6I1ZHHG7x4zZh1hxiTLjOVhQlCL
 gCjj7n0vuZuFILnXgo6J/B1o9k7+nfScittIHT+rzDkoX1jHKK291afHdZRO7k1VSfkXo9
 XGVLRNRpFJEmTJvBtT2il5l36KPMGwwC20WMfNb0gPY78ai2N9dMOs6+zUYezw==
Message-ID: <y7635ck6t7h.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 1/8] gnu: Add abseil-cpp-cxxstd17.
In-Reply-To: <y764jx06t8e.wl-hako@HIDDEN>
References: <y764jx06t8e.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable.
---
 gnu/packages/cpp.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d03e0bc7e1..5e0646444c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1041,6 +1041,15 @@ (define-public abseil-cpp
           `(cons* "-DBUILD_TESTING=ON"
                   (delete "-DABSL_RUN_TESTS=ON" ,flags))))))))
 
+(define-public abseil-cpp-cxxstd17
+  (let ((base abseil-cpp))
+    (hidden-package
+     (package/inherit base
+       (arguments
+        (substitute-keyword-arguments (package-arguments base)
+          ((#:configure-flags flags)
+           #~(cons* "-DCMAKE_CXX_STANDARD=17" #$flags))))))))
+
 (define-public pegtl
   (package
     (name "pegtl")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 22 Sep 2022 02:25:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 22:25:48 2022
Received: from localhost ([127.0.0.1]:35593 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obBuN-0006tK-Ri
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:25:48 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:37958)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1obBuL-0006t6-UA
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 22:25:46 -0400
Date: Thu, 22 Sep 2022 10:25:05 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663813537;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=2sd0ikoFLUvWZEiaUndx64pGiBm3JF8OlU4lPu96jgY=;
 b=MBh50n2BD5bOYwVdhiNoTlDevMGz3lDqrBIztdr2+xXcwf0168450o0fkjBNnvN4mBfutf
 wA54CrHaZ4o+Q77eSn2gF/KhIvIFzxNpGPzy5XJIB+1DBjsXzkEet+hdKebda8rVfMSemz
 /HSCiAItyUdJaiSAmiLMbhx0fXyu1iFa/7aCbaLzOnNT1w5qHYdVrQOtDolNUmS0e5g8iR
 wu9z+IEciduPYSd/DxeaHYnVI+X4M4pdfJENuDpelQs6tdkicsi10gD9ow7h/2Ss/zlSHT
 NcTFKT9GDMASM5BvW7LTmAgSrmlF/l3Sa2EYDR8vT3/3gngPk3J1CN2j3SQ1mg==
Message-ID: <y764jx06t8e.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v9 0/8] gnu: telegram-desktop: Update to 4.2.0.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

v8 (ver. w/o 4.1.1) -> v9: Split out removings.

Hilton Chain (8):
  gnu: Add abseil-cpp-cxxstd17.
  gnu: extra-cmake-modules: Update to 5.98.0.
  gnu: kcoreaddons: Remove trailing #t.
  gnu: kcoreaddons: Update to 5.98.0.
  gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
  gnu: Remove libvpx-for-telegram-desktop.
  gnu: telegram-desktop: Update to 4.2.0.
  gnu: telegram: Remove unneeded variables.

 gnu/local.mk                                  |   2 +
 gnu/packages/cpp.scm                          |   9 +
 gnu/packages/kde-frameworks.scm               |  23 +-
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 ++++++
 ...r-telegram-desktop-fix-gcc12-cstdint.patch |  21 +
 gnu/packages/telegram.scm                     | 403 ++++++++----------
 6 files changed, 334 insertions(+), 249 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch


base-commit: 1a1ff7ed8fdaae58aff0e8625399cd7354038ca3
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 23:42:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 19:42:51 2022
Received: from localhost ([127.0.0.1]:35457 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ob9Mg-0002sG-T8
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 19:42:51 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:59112)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ob9Me-0002s3-F7
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 19:42:48 -0400
Date: Thu, 22 Sep 2022 07:42:13 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663803759;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=543iDSdGh70qwSbOWHimYu9aYJEzbuGyxH0C0mHNUHQ=;
 b=1pHhcfWQ+W5ygWO9BTz1rC0yHVnZmuxL6PnogwNal6+kjl8YKhsEDm/zEMiRGjjB2HbRuK
 o4WK7I4MAFccVM9taAZB8NUPWKTqCSwJY9fS6JV2W9+fwrGcgyYJmrtbRyGQf+xVK5CHfl
 F6Xt8/7M66NGQh9vmLVfSTbF7gFV0IFmuoeOjOAwuLl0s76Ixync8ui7qppEoMtaOHriSK
 tomp58eT0JEeeLrOLWBLTWBrzO2l9HApw7aB1XMhYUdyoFRfMiU82EHLEnW4wqNGhLMhQl
 6/G+dvB+OxHmj+V+qycQRzmGLTr4ZPXz4aIC0w33nWqqkLOPwkUvqh8PrE3C+g==
From: Hilton Chain <hako@HIDDEN>
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>, 57675 <at> debbugs.gnu.org
Subject: Re: [PATCH v8 RESEND 0/7] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <32f229ecd61ebf4bcae2f9801928e80e9f2f63ce.camel@HIDDEN>
References: <y76mtasddas.wl-hako@HIDDEN>
 <32f229ecd61ebf4bcae2f9801928e80e9f2f63ce.camel@HIDDEN>
Message-ID: <F4121457-D398-422F-A432-1F5B667F44B8@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>Is there a *good* reason for the intermediate step?
No=2E=2E=2E=2E

>Also, the %telegram-version was so that we can update the submodules
>(whose hashes I assume change with updated telegrams) more easily=2E  Is
>there a better versioning scheme for those?
Not all submodules need updating when new releases out=2E

Another approach is just cloning recursively and remove all sources within=
 ThirdParty folder via snippet, then only tracking version changes of these=
 removed ones (or unbundle them when applicable)=2E




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 16:58:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 12:58:36 2022
Received: from localhost ([127.0.0.1]:35138 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ob33U-0007S9-Fy
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 12:58:36 -0400
Received: from mail-ej1-f66.google.com ([209.85.218.66]:44653)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1ob33S-0007Rx-5s
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 12:58:35 -0400
Received: by mail-ej1-f66.google.com with SMTP id r18so14982891eja.11
 for <57675 <at> debbugs.gnu.org>; Wed, 21 Sep 2022 09:58:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date;
 bh=qMpVUbuseZKiqO6/GE/UBIDcWsN4yXdsN6kac2g0Rbw=;
 b=kbpKvbY/zYfRWFniGLU9XNSMdN856V3uR14v+0cGwd6BYONXCgK7LM9BZCyEPOfmEg
 yJq41K1FAjmegPlrBlhyJm33GRX7Tp0gwkUfpdDpO4RYbI0VHPICP3G2CprnKWcKa2R6
 5tePpUBsfxap4IcxdXUHmfnhlcrWkGZNoxtg2YLtPVj72pZMX5WCb6U9SPJDALT40nQc
 opa2RdkjgfsavnUOPpwrTiQ8qnHThqBfuer3tAuvZUWOxfHvdeE1xEDpfm6vlf8zFMyT
 ikfaai9L8OIk97Fu1Qb15zC/P73sqAZ5+Ciw1kmy7f0X1iurVDIpRqZH/b5LyqUvEce4
 YzNw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date;
 bh=qMpVUbuseZKiqO6/GE/UBIDcWsN4yXdsN6kac2g0Rbw=;
 b=yCGhaQwfAGgkPZf1YK04ogy17bvTB6/3ouNbeUZNzeh05Rhv2c2EZtOB8uDUGoPDGy
 qFyccqqycvgyLfEWRN/MJcdLtFAOrgqeICZTcWTgckyyKzlKSI6imrdSxVJpjpXKcCnj
 FMjBl7iOo6wJvMeYoWnsNwGLPrbcCUX7XL86JzLUX0fvqLp1Ll4wLrpj6Q8ceqjt6VNa
 J/7uV7csEPlfJqDLXIGyDE2ENxzSmQCgbierBedmdVcdqIC39HO5LZ/cP71v+yX0EV3t
 gW6Jq0jupe8ZEE1ZwLaBwrJOurVA6+G8PEtQ2r+9RmxkC7M1DRezBXKPJY9ddE1gsbJM
 Zaug==
X-Gm-Message-State: ACrzQf2ovC4OEyNDhEFVHd3tN9ykj5Q1DjgY1GxfbQCSDtUTIvw+DsGU
 ccAB865W05yUOky0iNxv3OZoRpfvKR4=
X-Google-Smtp-Source: AMsMyM6mFcdGm5cdh8su+Dj3UnYV1bA+GAz1YHFWZobEcjDXFJwaRhzN2qGX/1T39Y5Vnve/OJrQsg==
X-Received: by 2002:a17:907:762b:b0:771:5755:82b7 with SMTP id
 jy11-20020a170907762b00b00771575582b7mr21449445ejc.684.1663779508501; 
 Wed, 21 Sep 2022 09:58:28 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 ee20-20020a056402291400b0044e7adbe0c5sm2089051edb.87.2022.09.21.09.58.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 21 Sep 2022 09:58:28 -0700 (PDT)
Message-ID: <32f229ecd61ebf4bcae2f9801928e80e9f2f63ce.camel@HIDDEN>
Subject: Re: [PATCH v8 RESEND 0/7] gnu: telegram-desktop: Update to 4.2.0.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>, 57675 <at> debbugs.gnu.org
Date: Wed, 21 Sep 2022 18:58:27 +0200
In-Reply-To: <y76mtasddas.wl-hako@HIDDEN>
References: <y76mtasddas.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.45.3 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Am Mittwoch, dem 21.09.2022 um 22:15 +0800 schrieb Hilton Chain:
> v7 -> v8:
> 1. Add telegram-desktop 4.1.1, which does not require an updated
> cmake-extra-modules.
> 2. Remove %telegram-version, to avoid downloading all the sources
> each time updating
> telegram.
>=20
> v8 -> v8 RESEND: Finally figured out mime stuff.....
>=20
> Hilton Chain (7):
> =C2=A0 gnu: Add abseil-cpp-cxxstd17.
> =C2=A0 gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
> =C2=A0 gnu: telegram-desktop: Update to 4.1.1.
> =C2=A0 gnu: extra-cmake-modules: Update to 5.98.0.
> =C2=A0 gnu: kcoreaddons: Remove trailing #t.
> =C2=A0 gnu: kcoreaddons: Update to 5.98.0.
> =C2=A0 gnu: telegram-desktop: Update to 4.2.0.
Is there a *good* reason for the intermediate step?

Also, the %telegram-version was so that we can update the submodules
(whose hashes I assume change with updated telegrams) more easily.  Is
there a better versioning scheme for those?

Cheers




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 14:18:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 10:18:57 2022
Received: from localhost ([127.0.0.1]:34981 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ob0Yy-0003Ms-Tj
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:18:57 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:44362)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ob0Yx-0003Mg-T5
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:18:56 -0400
Date: Wed, 21 Sep 2022 22:18:32 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663769930;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=myHEFWU7o5xoHgMjcI/XWChFdbz3IiTj8hJfatD/aFA=;
 b=KPqW+tTwAZipA5HONyRPKWmwB7loP3HYNtJJYepbmiDJxf9kPLf37Fdj3dYCHTaoDyeecJ
 P/g3OuC6XePopWtwML7Bi9ZNpff/f5+TqJUl7GyUJ6OGiLpBjDjwxcGvyi0OfYHGf4aOmP
 2FSX4wCbyVVR5Po0RdebBNO4c81s+ddszQd8MaDqq6Xjpm3zdbg39AzB4+HsxjQUxNMr10
 k/XzY9BBt7YNICiLNGPSZ5Yzp6Gh13v/5+d1Y7VjPtcYFRDGY9q8Sv29aJQCXsUoYymKyh
 F/9rezN/BMf3sETCq2aL4me2SvjQBMGuynM9iadtxb587q7aNUTTB/eNnoXBaw==
Message-ID: <y76czbodd53.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 RESEND 7/7] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <y76edw4dd5u.wl-hako@HIDDEN>
References: <y76mtasddas.wl-hako@HIDDEN>
 <y76leqcdd8r.wl-hako@HIDDEN>
 <y76k05wdd83.wl-hako@HIDDEN>
 <y76illgdd7j.wl-hako@HIDDEN>
 <y76h710dd70.wl-hako@HIDDEN>
 <y76fsgkdd6j.wl-hako@HIDDEN>
 <y76edw4dd5u.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/telegram.scm (telegram-desktop): Update to 4.2.0.
[inputs]: Add kcoreaddons.
(cmake-helpers-for-telegram-desktop,lib-base-for-telegram-desktop)
(lib-lottie-for-telegram-desktop,lib-spellcheck-for-telegram-desktop)
(lib-tl-for-telegram-desktop,lib-ui-for-telegram-desktop)
(tgcalls-for-telegram-desktop): Bump to submodule checkout.
---
 gnu/packages/telegram.scm | 41 ++++++++++++++++++++-------------------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index d75c057251..9734f6cfe3 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -124,8 +124,8 @@ (define dispatch-for-telegram-desktop
         "0hy4q6x3bgphazmpl3v62995abc9fpi8y7yg9aiblzsqkxmgjmqn")))))
 
 (define cmake-helpers-for-telegram-desktop
-  (let ((commit "0702ef4cdd8ab888fdadaa4f5b2eb0c9d5844b69")
-        (revision "430"))
+  (let ((commit "b9f1b6036329e44ec61f51f0b363fe2319158b84")
+        (revision "444"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -136,7 +136,7 @@ (define cmake-helpers-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "16lsm3pb8md4ksr2ps3bnkvr0jygdamkxyirxgz214n6wa281zk1")))))
+        "0sgp1nlmcm2imgpssqxrwinafnmicmq0qikgdnhs1d44hrwxbws3")))))
 
 (define codegen-for-telegram-desktop
   (let ((commit "8815d7aec9b901191d08445f29e2edd0aeba7b2c")
@@ -154,8 +154,8 @@ (define codegen-for-telegram-desktop
         "1ly958mjk25kfcpa174kvg134p9r751ixi275afj5kr57by9mbq2")))))
 
 (define lib-base-for-telegram-desktop
-  (let ((commit "37fab6b4da32c91bc5d049baad2e9ad51cfcd195")
-        (revision "380"))
+  (let ((commit "cc5550de2766657ced8d0bb4d2db3f050363d3d5")
+        (revision "383"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -166,7 +166,7 @@ (define lib-base-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "1b2zc0ag5w46vwjz2240yj9aniyv09yjyrwif32994drfq6l10k5")))))
+        "16x5qp5w51igk213rhl49x256vjvpkjkgi2ziwzxnsj0pzdd4y27")))))
 
 (define lib-crl-for-telegram-desktop
   (let ((commit "4e620bc383d032aadea8e6af02661f8c76695cec")
@@ -184,8 +184,8 @@ (define lib-crl-for-telegram-desktop
         "17bngj247qwq0dg4h37xdi5v1mk22y4yp7sp6ph3irmnz4awah0x")))))
 
 (define lib-lottie-for-telegram-desktop
-  (let ((commit "f3563bc6b0e042095d4d667d013f62cb8ae62b65")
-        (revision "57"))
+  (let ((commit "6ed1c22ed60692d2f288c9222fafd7d5cd62f904")
+        (revision "61"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -196,7 +196,7 @@ (define lib-lottie-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "0i0w6lcrmqln7axnlazcqkaj4z0lzn0gl3z59hng40ard76cgvsg")))))
+        "0l57ibfij9xm4ww4s9cc63q1x8xzpc6ablwaji1krrn3xxksqdd4")))))
 
 (define lib-qr-for-telegram-desktop
   (let ((commit "501f4c3502fd872ab4d777df8911bdac32de7c48")
@@ -229,8 +229,8 @@ (define lib-rpl-for-telegram-desktop
         "1fpq8nyh8wx6zkb3sjjrx9ydqzyhw4483bdk1i9blp0ijn9xxdxf")))))
 
 (define lib-spellcheck-for-telegram-desktop
-  (let ((commit "b2f2b7b6bce60bc1c6429a6b5ec4bc5891baa060")
-        (revision "197"))
+  (let ((commit "0e386e22cb6ba8a114b569840a635e096dcb645e")
+        (revision "198"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -241,7 +241,7 @@ (define lib-spellcheck-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "1v8xdbwza457wmjkfmpys46g5g1aw7yabjab6knxd4p4vhyjhbwh")))))
+        "06js7ccv6z3nbd4v2p4hp2prrlmz5ww46y3yb922pp7gm317dwyw")))))
 
 (define lib-storage-for-telegram-desktop
   (let ((commit "839609369d04615475cb1518636de3619106a917")
@@ -259,8 +259,8 @@ (define lib-storage-for-telegram-desktop
         "1l26h2fmqp9dcpr6pfvdd5sjb68j7yh0ms2lnr8na7jf5xqmkwwm")))))
 
 (define lib-tl-for-telegram-desktop
-  (let ((commit "0d234b5aabf43d598e0cb0867566ee570d9e2755")
-        (revision "39"))
+  (let ((commit "36fb95c4de1339d2c8921ad6b2911858c3d0e0fa")
+        (revision "42"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -271,11 +271,11 @@ (define lib-tl-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "1wc8d94h4ga36yl9g8h67j914xwpwv7rmkrrvvslgbgxb7sxcd96")))))
+        "03rngnssnqwr7ad05qn64mwgji5fb0r3fp5ybkf951p8phr1jvzk")))))
 
 (define lib-ui-for-telegram-desktop
-  (let ((commit "2f5d5e0e79bf52ab04047bc93a4b624d6d33d46a")
-        (revision "883"))
+  (let ((commit "f82162f05a72352bfee0fb79f9e50c350b3a98f3")
+        (revision "917"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -286,7 +286,7 @@ (define lib-ui-for-telegram-desktop
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "09kmc1igh37wafngwk6raqx2wrlxg10lf9p72j84sxs05hbybfcn")))))
+        "1zv29i7hxv70dsq36zrvkvaraff5zcb7sccpncqfl51s59kfsnz5")))))
 
 (define lib-webrtc-for-telegram-desktop
   (let ((commit "9b11599c3c56047cfa4c68b69f1fcc93b602c33a")
@@ -453,7 +453,7 @@ (define-public rlottie-for-telegram-desktop
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-    (version "4.1.1")
+    (version "4.2.0")
     (source
      (origin
        (method git-fetch)
@@ -465,7 +465,7 @@ (define-public telegram-desktop
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0zhwaql1fk0nqr1x2lchcswz61x7sb2297qdxiysgqamr0fk9ppn"))
+        (base32 "16xhng5m3aw4j4ax74nydpxjnx5z3ga21vmrznlm4lbk9ivyn7vx"))
        (patches
         (search-patches
          ;; https://github.com/telegramdesktop/tdesktop/pull/24126
@@ -551,6 +551,7 @@ (define-public telegram-desktop
            c++-gsl
            ffmpeg
            jemalloc
+           kcoreaddons
            libexpected
            libjpeg-turbo
            libvpx
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 14:18:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 10:18:34 2022
Received: from localhost ([127.0.0.1]:34976 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ob0Yc-0003MD-Hr
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:18:34 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:38642)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ob0Ya-0003M0-LJ
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:18:32 -0400
Date: Wed, 21 Sep 2022 22:18:05 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663769907;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=RxFXt6EB5ujZGI6OXncH2i0YNK3jWZwDztcE1IR6Fu4=;
 b=Feg30DlQZPVtHnbbn4MYZ4IWhqTvg4xEbpwtaYob6M/ukOcZ6wlzoiBk35TJ8srwzEE750
 vQaxI/TGbL2EOYJoTXoGabYCYQO9FW23HZD+qBdioe+AO84zXkESMjfMbi48O9UrCY9aJ3
 Q9R+Od3Q8AJpP4/QdAyPeOylXjB3qvGq/ZX93zpBJJbztFMa63MAOPuPmbOv0iGe1fDdXq
 L7CnF5iHN0MxXaHaR58jT97tIpkchfcKhTQzgvgLFjkvESRHUJHxt8ahSettuNA1Z7diVV
 jp2Toln3Y2cl5Ncwa3DCFILWLzfsJUn+d+fDiiDDH81NM7abjxJEhuorEc2BIg==
Message-ID: <y76edw4dd5u.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 RESEND 6/7] gnu: kcoreaddons: Update to 5.98.0.
In-Reply-To: <y76fsgkdd6j.wl-hako@HIDDEN>
References: <y76mtasddas.wl-hako@HIDDEN>
 <y76leqcdd8r.wl-hako@HIDDEN>
 <y76k05wdd83.wl-hako@HIDDEN>
 <y76illgdd7j.wl-hako@HIDDEN>
 <y76h710dd70.wl-hako@HIDDEN>
 <y76fsgkdd6j.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (kcoreaddons): Update to 5.98.0.
[arguments]<#:phases>: Update blocklist for failing tests.
---
 gnu/packages/kde-frameworks.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index e4337636ac..61cbf19bc4 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -574,7 +574,7 @@ (define-public kconfig
 (define-public kcoreaddons
   (package
     (name "kcoreaddons")
-    (version "5.70.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -583,7 +583,7 @@ (define-public kcoreaddons
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "10a7zys3limsawl7lk9ggymk3msk2bp0y8hp0jmsvk3l405pd1ps"))))
+                "0lqmyxqsw7w1qgdgmax63v64cy7dwk7n4zi8k53xmrqjmd9jir52"))))
     (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules qttools-5 shared-mime-info
@@ -602,14 +602,8 @@ (define-public kcoreaddons
                  ;; FIXME: Make it pass.  Test failure caused by stout/stderr
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
-                 ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))))
-         ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
-         (add-after 'unpack 'fix-broken-test
-           (lambda _
-             (substitute* "autotests/kdirwatch_unittest.cpp"
-               (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))))
+                 ;; FIXME
+                 (display "[test_inheritance]\n*\n")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 14:18:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 10:18:10 2022
Received: from localhost ([127.0.0.1]:34973 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ob0YE-0003LU-1X
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:18:10 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:48308)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ob0YC-0003LG-Is
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:18:08 -0400
Date: Wed, 21 Sep 2022 22:17:40 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663769882;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=DPqzO4hrjYh+qq9tQuuHIaD0PiiP2kje4P6OaSdnE2c=;
 b=cwD7uffmRmfQLt6qYLN++0bawZQn/w2j+V39EkBWz0mXfzXzzEpCxCRtnP/jZyYM+GVtbE
 FpfrRNJjkuGiQUoLIRR7DhIEHsP9CBlnTzoIuJcQmooNSC/IMoQRtKakGDit5wbc1BeODa
 Pj4r/GGtZ8MuoyuEHU+Dm3uOJC032yS3gjHeuLCuQktK/Ql5xL3urOATenKx9UPbTCwxDW
 wgDCN7ZZbdVP8CDnVL+uz+ZnU5MhhL18yZpPckSESi5zrZwH7ILWLUiTXxMyoJZNzkeH9d
 jD13tnEdNGCfh6dqYeFwSaMF2+x0JkLesSZh1/9Mre71h8cWpOzZ+T0JLvteRA==
Message-ID: <y76fsgkdd6j.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 RESEND 5/7] gnu: kcoreaddons: Remove trailing #t.
In-Reply-To: <y76h710dd70.wl-hako@HIDDEN>
References: <y76mtasddas.wl-hako@HIDDEN>
 <y76leqcdd8r.wl-hako@HIDDEN>
 <y76k05wdd83.wl-hako@HIDDEN>
 <y76illgdd7j.wl-hako@HIDDEN>
 <y76h710dd70.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (kcoreaddons)[arugments]<#:phases>: Remove
trailing #t.
---
 gnu/packages/kde-frameworks.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 52314fd0ff..e4337636ac 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -603,20 +603,17 @@ (define-public kcoreaddons
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
                  ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))
-             #t))
+                 (display "[benchNotifyWatcher]\n*\n")))))
          ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
          (add-after 'unpack 'fix-broken-test
            (lambda _
              (substitute* "autotests/kdirwatch_unittest.cpp"
                (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))
-             #t))
+                (string-append m "\nwaitUntilNewSecond();")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-             (setenv "TMPDIR" (getcwd))
-             #t)))))
+             (setenv "TMPDIR" (getcwd)))))))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Qt addon library with a collection of non-GUI utilities")
     (description "KCoreAddons provides classes built on top of QtCore to
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 14:17:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 10:17:46 2022
Received: from localhost ([127.0.0.1]:34962 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ob0Xp-0003K6-SL
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:17:46 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:51974)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ob0Xo-0003JY-95
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:17:44 -0400
Date: Wed, 21 Sep 2022 22:17:23 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663769858;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=QgrDJbgQOAH6sm92Ol3fqk9Hsc3bHvkj39SM5AjW5eo=;
 b=qfxsexs8+bbwOEQB2wEMwkJrCWLcpONcm5CnMiQiC9doBGgMmu5YsdoAPF5lLp/5CNqq2/
 2iZA4RqQwisu1uqCeMd7N8BInrkQ4QfPgFv6ZxNl5cfbgSBb8Pm+espvKeE3o3A7vO3dQk
 /+yNhd4OJZMF+OQDVaG2zSx2zeNz+hIi6ESxg8vp1b3mbcDd+lAlquRs/wlyMyFEGe1v9W
 i7dRlhhsu5/XBlwmWbsf0sJmQFRBVrpiybkDg6bTk8s8U+c5Ne7sNgzLtJj95I7UUa+bMg
 xzSkO1+w9mQ/ifTodQlkvo3rh/hqu8snNIoKvJtzredEOQk+I0fvblKcOxHTfQ==
Message-ID: <y76h710dd70.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 RESEND 4/7] gnu: extra-cmake-modules: Update to 5.98.0.
In-Reply-To: <y76illgdd7j.wl-hako@HIDDEN>
References: <y76mtasddas.wl-hako@HIDDEN>
 <y76leqcdd8r.wl-hako@HIDDEN>
 <y76k05wdd83.wl-hako@HIDDEN>
 <y76illgdd7j.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-frameworks.scm (extra-cmake-modules): Update to 5.98.0.
---
 gnu/packages/kde-frameworks.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 738013fdba..52314fd0ff 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -88,7 +88,7 @@ (define-module (gnu packages kde-frameworks)
 (define-public extra-cmake-modules
   (package
     (name "extra-cmake-modules")
-    (version "5.91.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -97,7 +97,7 @@ (define-public extra-cmake-modules
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0k65rvxh926ya6qahzk2ns7g1fya1429648mlx7iipxa61g8h5wp"))))
+                "0669m98vqy4hpacfjs7xpgjj1bns24kjybrjipxzp82092g8y69w"))))
     (build-system cmake-build-system)
     (native-inputs
      ;; Add test dependency, except on armhf where building it is too
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 14:17:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 10:17:30 2022
Received: from localhost ([127.0.0.1]:34955 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ob0XY-0003JF-VY
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:17:30 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:39440)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ob0XW-0003J1-0Z
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:17:27 -0400
Date: Wed, 21 Sep 2022 22:17:04 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663769840;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=MCCk7ODX34N2L8kJEKs4bSXE8CkiguHbUkZ7ykrOT5Y=;
 b=wnF5ILclWJeDg8oJFdCMPr52Lnz6Zzn2DjrBWLjddqvkRMMEDBHP+FXzw4LOv8sjDMFPlU
 wkeUi93+Q3Ex+vNI/vSy+8+0YE4qFTHWRFuFgzkv/L5w4j9wTFL7CAtrZAA9XNRUfNzW08
 dJolvfYmfN8dkc09QfzdIagbg5yRxX8l93ZOQt216xsYM1cdaahLkm/9rMasY24CtO3FeP
 hIqr8qZeTSp6OgSrgPxMmScdZFx3uHRebASDzkBReQO3iI6V4Jyoo0xEFUH5LN1D7RH5HK
 +IWB3qqYnmfDYfLIiAkC1Z1iIW+pV1BLlsaIJI1MXsOfujTHshAyiMTvc8jCgw==
Message-ID: <y76illgdd7j.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 RESEND 3/7] gnu: telegram-desktop: Update to 4.1.1.
In-Reply-To: <y76k05wdd83.wl-hako@HIDDEN>
References: <y76mtasddas.wl-hako@HIDDEN>
 <y76leqcdd8r.wl-hako@HIDDEN>
 <y76k05wdd83.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (dispatch-for-telegram-desktop): New variable.
(lib-rlottie-for-telegram-desktop,lib-waylandshells-for-telegram-desktop)
(libtgvoip-for-telegram-desktop,%telegram-desktop): Remove variables.
(cmake-helpers-for-telegram-desktop,codegen-for-telegram-desktop)
(lib-base-for-telegram-desktop,lib-crl-for-telegram-desktop)
(lib-lottie-for-telegram-desktop,lib-qr-for-telegram-desktop)
(lib-rpl-for-telegram-desktop,lib-spellcheck-for-telegram-desktop)
(lib-storage-for-telegram-desktop,lib-tl-for-telegram-desktop)
(lib-ui-for-telegram-desktop,lib-webrtc-for-telegram-desktop)
(lib-webview-for-telegram-desktop,tgcalls-for-telegram-desktop): Bump to
submodule checkout.
(rlottie-for-telegram-desktop): Bump to submodule checkout.
[snippet]: Switch off werror.
[arguments]: Use inherited ones.
(telegram-desktop): Update to 4.1.1.
[patches]: Add telegram-desktop-allow-disable-libtgvoip.patch.
[arguments]<#:configure-flags>: Unbundle rlottie.
<#:phases>: Adjusted according to unbundled package.
[native-inputs]: Add clang-toolchain.
Remove cmake-shared, extra-cmake-modules and qttools-5.
[inputs]: Replace qtbase-5 with qtbase.
Add abseil-cpp-cxxstd17, libvpx, qt5compat, wayland, webkitgtk.
Remove catch2, fcitx-qt5, fcitx5-qt, gtk+, hime, kwayland, libdbusmenu-qt,
libtgvoip-for-telegram-desktop, libx11, materialdecoration, nimf and qt5ct.
[propagated-inputs]: Remove dconf.
[license]: Adjusted accordingly.
---
 gnu/local.mk                                  |   1 +
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 +++++
 gnu/packages/telegram.scm                     | 520 +++++++++---------
 3 files changed, 376 insertions(+), 270 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 10ee65fdd5..e8d0178293 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1871,6 +1871,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/teensy-loader-cli-help.patch		\
   %D%/packages/patches/tensorflow-c-api-fix.patch		\
   %D%/packages/patches/texinfo-5-perl-compat.patch		\
+  %D%/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch   \
   %D%/packages/patches/telegram-purple-adjust-test.patch	\
   %D%/packages/patches/texi2html-document-encoding.patch	\
   %D%/packages/patches/texi2html-i18n.patch			\
diff --git a/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
new file mode 100644
index 0000000000..3c062cbd9a
--- /dev/null
+++ b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
@@ -0,0 +1,125 @@
+From 4d1a8351ee82728912fcf7ad0070049b2910c393 Mon Sep 17 00:00:00 2001
+From: Klemens Nanni <klemens@HIDDEN>
+Date: Wed, 2 Mar 2022 01:07:48 +0100
+Subject: [PATCH] Introduce TDESKTOP_DISABLE_LEGACY_TGVOIP
+
+Originally from Alt Linux[0], OpenBSD has so far adapted the removal of
+tgvoip in the official net/tdesktop build.
+
+tgcalls provides everything needed for calls;  audio/video/desktop
+sharing calls have been working fine across different operating systems
+and telegram desktop/mobile versions without problems.
+
+0: http://www.sisyphus.ru/cgi-bin/srpm.pl/Sisyphus/telegram-desktop/getpatch/1
+---
+ Telegram/CMakeLists.txt                   | 6 +++---
+ Telegram/SourceFiles/calls/calls_call.cpp | 6 ++++++
+ Telegram/cmake/lib_tgcalls.cmake          | 4 ++++
+ Telegram/cmake/telegram_options.cmake     | 8 ++++++++
+ 4 files changed, 21 insertions(+), 3 deletions(-)
+
+diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
+index fb2bf370f..5d9578f2d 100644
+--- a/Telegram/CMakeLists.txt
++++ b/Telegram/CMakeLists.txt
+@@ -28,7 +28,9 @@ get_filename_component(res_loc Resources REALPATH)
+ include(cmake/telegram_options.cmake)
+ include(cmake/lib_ffmpeg.cmake)
+ include(cmake/lib_stripe.cmake)
+-include(cmake/lib_tgvoip.cmake)
++if (NOT TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    include(cmake/lib_tgvoip.cmake)
++endif()
+ include(cmake/lib_tgcalls.cmake)
+ include(cmake/td_export.cmake)
+ include(cmake/td_mtproto.cmake)
+@@ -52,9 +54,7 @@ target_prepare_qrc(Telegram)
+ 
+ target_link_libraries(Telegram
+ PRIVATE
+-    tdesktop::lib_tgcalls_legacy
+     tdesktop::lib_tgcalls
+-    tdesktop::lib_tgvoip
+ 
+     # Order in this list defines the order of include paths in command line.
+     # We need to place desktop-app::external_minizip this early to have its
+diff --git a/Telegram/SourceFiles/calls/calls_call.cpp b/Telegram/SourceFiles/calls/calls_call.cpp
+index 6894d5d90..cd03620e7 100644
+--- a/Telegram/SourceFiles/calls/calls_call.cpp
++++ b/Telegram/SourceFiles/calls/calls_call.cpp
+@@ -39,8 +39,10 @@ class InstanceImpl;
+ class InstanceV2Impl;
+ class InstanceV2ReferenceImpl;
+ class InstanceV2_4_0_0Impl;
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ class InstanceImplLegacy;
+ void SetLegacyGlobalServerConfig(const std::string &serverConfig);
++#endif
+ } // namespace tgcalls
+ 
+ namespace Calls {
+@@ -56,7 +58,9 @@ const auto Register = tgcalls::Register<tgcalls::InstanceImpl>();
+ const auto RegisterV2 = tgcalls::Register<tgcalls::InstanceV2Impl>();
+ const auto RegV2Ref = tgcalls::Register<tgcalls::InstanceV2ReferenceImpl>();
+ const auto RegisterV240 = tgcalls::Register<tgcalls::InstanceV2_4_0_0Impl>();
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ const auto RegisterLegacy = tgcalls::Register<tgcalls::InstanceImplLegacy>();
++#endif
+ 
+ [[nodiscard]] base::flat_set<int64> CollectEndpointIds(
+ 		const QVector<MTPPhoneConnection> &list) {
+@@ -1322,7 +1326,9 @@ Call::~Call() {
+ }
+ 
+ void UpdateConfig(const std::string &data) {
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ 	tgcalls::SetLegacyGlobalServerConfig(data);
++#endif
+ }
+ 
+ } // namespace Calls
+diff --git a/Telegram/cmake/lib_tgcalls.cmake b/Telegram/cmake/lib_tgcalls.cmake
+index 34a5ba418..8a784be2c 100644
+--- a/Telegram/cmake/lib_tgcalls.cmake
++++ b/Telegram/cmake/lib_tgcalls.cmake
+@@ -267,6 +267,10 @@ PRIVATE
+     ${tgcalls_loc}
+ )
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    return()
++endif()
++
+ add_library(lib_tgcalls_legacy STATIC)
+ init_target(lib_tgcalls_legacy)
+ 
+diff --git a/Telegram/cmake/telegram_options.cmake b/Telegram/cmake/telegram_options.cmake
+index 1c3c25431..033f2bc95 100644
+--- a/Telegram/cmake/telegram_options.cmake
++++ b/Telegram/cmake/telegram_options.cmake
+@@ -4,7 +4,9 @@
+ # For license and copyright information please follow this link:
+ # https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
+ 
++option(TDESKTOP_DISABLE_LEGACY_TGVOIP "Disable legacy tgvoip support." OFF)
+ option(TDESKTOP_API_TEST "Use test API credentials." OFF)
++
+ set(TDESKTOP_API_ID "0" CACHE STRING "Provide 'api_id' for the Telegram API access.")
+ set(TDESKTOP_API_HASH "" CACHE STRING "Provide 'api_hash' for the Telegram API access.")
+ 
+@@ -40,6 +42,12 @@ if (TDESKTOP_API_ID STREQUAL "0" OR TDESKTOP_API_HASH STREQUAL "")
+     " ")
+ endif()
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_LEGACY_TGVOIP)
++else()
++    target_link_libraries(Telegram PRIVATE tdesktop::lib_tgcalls_legacy tdesktop::lib_tgvoip)
++endif()
++
+ if (DESKTOP_APP_DISABLE_SPELLCHECK)
+     target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_SPELLCHECK)
+ else()
+-- 
+2.37.3
+
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 79086d845c..d75c057251 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2021 Raghav Gururajan <rg@HIDDEN>
+;;; Copyright © 2022 Hilton Chain <hako@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -43,6 +44,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages lxqt)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages perl)
@@ -60,6 +62,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages webkit)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
@@ -75,8 +78,6 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
 
-(define %telegram-version "2.9.3")
-
 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
         (revision "2211"))
@@ -107,197 +108,230 @@ (define crc32c-for-telegram-desktop
        (base32
         "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
 
+(define dispatch-for-telegram-desktop
+  (let ((commit "ecc678d79f38cf63d24b6d16e18f69a9117d8d73")
+        (revision "14"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/apple/swift-corelibs-libdispatch.git")
+            (commit commit)))
+      (file-name
+       (git-file-name
+        "dispatch-for-telegram-desktop" (git-version "5.6" revision commit)))
+      (sha256
+       (base32
+        "0hy4q6x3bgphazmpl3v62995abc9fpi8y7yg9aiblzsqkxmgjmqn")))))
+
 (define cmake-helpers-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/cmake_helpers.git")
-          (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
-    (file-name
-     (git-file-name "cmake-helpers-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
+  (let ((commit "0702ef4cdd8ab888fdadaa4f5b2eb0c9d5844b69")
+        (revision "430"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/cmake_helpers.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "cmake-helpers-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "16lsm3pb8md4ksr2ps3bnkvr0jygdamkxyirxgz214n6wa281zk1")))))
 
 (define codegen-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/codegen.git")
-          (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
-    (file-name
-     (git-file-name "codegen-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
+  (let ((commit "8815d7aec9b901191d08445f29e2edd0aeba7b2c")
+        (revision "54"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/codegen.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "codegen-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1ly958mjk25kfcpa174kvg134p9r751ixi275afj5kr57by9mbq2")))))
 
 (define lib-base-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_base.git")
-          (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
-    (file-name
-     (git-file-name "lib-base-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
+  (let ((commit "37fab6b4da32c91bc5d049baad2e9ad51cfcd195")
+        (revision "380"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_base.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-base-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1b2zc0ag5w46vwjz2240yj9aniyv09yjyrwif32994drfq6l10k5")))))
 
 (define lib-crl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_crl.git")
-          (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
-    (file-name
-     (git-file-name "lib-crl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
+  (let ((commit "4e620bc383d032aadea8e6af02661f8c76695cec")
+        (revision "21"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_crl.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-crl-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "17bngj247qwq0dg4h37xdi5v1mk22y4yp7sp6ph3irmnz4awah0x")))))
 
 (define lib-lottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_lottie.git")
-          (commit "0770df009db7928df1d0cad0900dc5110106d229")))
-    (file-name
-     (git-file-name "lib-lottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
+  (let ((commit "f3563bc6b0e042095d4d667d013f62cb8ae62b65")
+        (revision "57"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_lottie.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-lottie-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0i0w6lcrmqln7axnlazcqkaj4z0lzn0gl3z59hng40ard76cgvsg")))))
 
 (define lib-qr-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_qr.git")
-          (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
-    (file-name
-     (git-file-name "lib-qr-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
-
-(define lib-rlottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rlottie.git")
-          (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
-    (file-name
-     (git-file-name "lib-rlottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
+  (let ((commit "501f4c3502fd872ab4d777df8911bdac32de7c48")
+        (revision "10"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_qr.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-qr-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f")))))
 
 (define lib-rpl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rpl.git")
-          (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
-    (file-name
-     (git-file-name "lib-rpl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
+  (let ((commit "fd31f5bf382d2679eccdb1abaf8240a56c6a7abe")
+        (revision "19"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_rpl.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-rpl-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1fpq8nyh8wx6zkb3sjjrx9ydqzyhw4483bdk1i9blp0ijn9xxdxf")))))
 
 (define lib-spellcheck-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_spellcheck.git")
-          (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
-    (file-name
-     (git-file-name "lib-spellcheck-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
+  (let ((commit "b2f2b7b6bce60bc1c6429a6b5ec4bc5891baa060")
+        (revision "197"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_spellcheck.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-spellcheck-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1v8xdbwza457wmjkfmpys46g5g1aw7yabjab6knxd4p4vhyjhbwh")))))
 
 (define lib-storage-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_storage.git")
-          (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
-    (file-name
-     (git-file-name "lib-storage-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
+  (let ((commit "839609369d04615475cb1518636de3619106a917")
+        (revision "22"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_storage.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-storage-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1l26h2fmqp9dcpr6pfvdd5sjb68j7yh0ms2lnr8na7jf5xqmkwwm")))))
 
 (define lib-tl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_tl.git")
-          (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
-    (file-name
-     (git-file-name "lib-tl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
+  (let ((commit "0d234b5aabf43d598e0cb0867566ee570d9e2755")
+        (revision "39"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_tl.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-tl-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1wc8d94h4ga36yl9g8h67j914xwpwv7rmkrrvvslgbgxb7sxcd96")))))
 
 (define lib-ui-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_ui.git")
-          (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
-    (file-name
-     (git-file-name "lib-ui-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
-
-(define lib-waylandshells-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_waylandshells.git")
-          (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
-    (file-name
-     (git-file-name "lib-waylandshells-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
+  (let ((commit "2f5d5e0e79bf52ab04047bc93a4b624d6d33d46a")
+        (revision "883"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_ui.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-ui-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "09kmc1igh37wafngwk6raqx2wrlxg10lf9p72j84sxs05hbybfcn")))))
 
 (define lib-webrtc-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_webrtc.git")
-          (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
-    (file-name
-     (git-file-name "lib-webrtc-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
+  (let ((commit "9b11599c3c56047cfa4c68b69f1fcc93b602c33a")
+        (revision "83"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_webrtc.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-webrtc-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0158jx8hj4fv6qpw5pgcr2mdlihj0dxs060dg3iy61zz6q68z5dq")))))
 
 (define lib-webview-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_webview.git")
-          (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
-    (file-name
-     (git-file-name "lib-webview-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
+  (let ((commit "546df65eb2424550ed84ce14fc9c5d1bb3586f35")
+        (revision "76"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_webview.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-webview-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0zzjwyw82bggncmmsw969lnjl04pklmqjqm77jjzadinivl52z0l")))))
 
 (define tgcalls-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/TelegramMessenger/tgcalls.git")
-          (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
-    (file-name
-     (git-file-name "tgcalls-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
+  (let ((commit "82c4921045c440b727c38e464f3a0539708423ff")
+        (revision "921"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/TelegramMessenger/tgcalls.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "tgcalls-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1109r17abh66yz91b65fn2g4ryfybnsr5g6075sjhbah1gccv9mk")))))
 
 (define-public webrtc-for-telegram-desktop
   (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
@@ -392,8 +426,8 @@ (define-public webrtc-for-telegram-desktop
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-  (let ((commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")
-        (revision "671"))
+  (let ((commit "8c69fc20cf2e150db304311f1233a4b55a8892d7")
+        (revision "678"))
     (hidden-package
      (package
        (inherit rlottie)
@@ -409,67 +443,17 @@ (define-public rlottie-for-telegram-desktop
           (file-name
            (git-file-name "rlottie-for-telegram-desktop" version))
           (sha256
-           (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "-Dlog=true"
-           "-Ddumptree=true"
-           "-Dtest=true")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-cxx-flags
-              (lambda _
-                (substitute* "meson.build"
-                  (("werror=true")
-                   "werror=false"))
-                #t)))))))))
-
-(define-public libtgvoip-for-telegram-desktop
-  (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
-        (revision "88"))
-    (hidden-package
-     (package
-       (inherit libtgvoip)
-       (version
-        (git-version "2.4.4" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/telegramdesktop/libtgvoip.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "libtgvoip-for-telegram-desktop" version))
-          (sha256
-           (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "--disable-static"
-           "--disable-dsp"              ; FIXME
-           "--enable-audio-callback"
-           "--with-alsa"
-           "--with-pulse")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-linkers
-              (lambda _
-                (substitute* "Makefile.am"
-                  (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
-                   "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)"))
-                (substitute* "tgvoip.pc.in"
-                  (("libcrypto opus")
-                   "libcrypto opus alsa libpulse"))
-                #t)))))
-       (native-inputs
-        (list autoconf automake libtool pkg-config))))))
+           (base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
+          (modules '((guix build utils)))
+          (snippet
+           #~(begin
+               (substitute* "meson.build"
+                 (("werror=true") "werror=false"))))))))))
 
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-    (version %telegram-version)
+    (version "4.1.1")
     (source
      (origin
        (method git-fetch)
@@ -481,15 +465,19 @@ (define-public telegram-desktop
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0dzf1y3xhqvizg29bd1kya48cjbkq073d2x10ynwcmmx396l4nd8"))
+        (base32 "0zhwaql1fk0nqr1x2lchcswz61x7sb2297qdxiysgqamr0fk9ppn"))
+       (patches
+        (search-patches
+         ;; https://github.com/telegramdesktop/tdesktop/pull/24126
+         "telegram-desktop-allow-disable-libtgvoip.patch"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
         #~(begin
             (let ((keep
-                   '( ;; Not available in Guix.
-                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+                   '(;; Not available in Guix.
+                     "dispatch" "tgcalls")))
               (with-directory-excursion "Telegram/ThirdParty"
                 (for-each delete-file-recursively
                           (lset-difference string=?
@@ -515,16 +503,17 @@ (define-public telegram-desktop
               ;; also stored in <#$source/snap/snapcraft.yaml>.
               "-DTDESKTOP_API_ID=611335"
               "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
-              ;; Disable WebkitGTK support as it fails to link
-              "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
-              ;; Use bundled fonts as fallback.
-              "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
+              "-DTDESKTOP_DISABLE_LEGACY_TGVOIP=ON"
+              "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
+              "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
+              "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON"
+              (string-append "-DTDESKTOP_LAUTCHER_BASENAME=" #$name))
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'make-writable
                  (lambda _
                    (for-each make-file-writable (find-files "."))))
-               (add-after 'make-writable 'copy-inputs
+               (add-after 'make-writable 'copy-sources
                  (lambda _
                    (for-each
                     (match-lambda
@@ -537,81 +526,72 @@ (define-public telegram-desktop
                       ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
                       ("Telegram/lib_lottie" #$lib-lottie-for-telegram-desktop)
                       ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
-                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-desktop)
                       ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
                       ("Telegram/lib_spellcheck" #$lib-spellcheck-for-telegram-desktop)
                       ("Telegram/lib_storage" #$lib-storage-for-telegram-desktop)
                       ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
                       ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
-                      ("Telegram/lib_waylandshells" #$lib-waylandshells-for-telegram-desktop)
                       ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-desktop)
                       ("Telegram/lib_webview" #$lib-webview-for-telegram-desktop)
+                      ("Telegram/ThirdParty/dispatch" #$dispatch-for-telegram-desktop)
                       ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
-               (add-before 'configure 'patch-cxx-flags
-                 (lambda _
-                   (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
                (add-after 'install 'glib-or-gtk-compile-schemas
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
                (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
     (native-inputs
-     (list cmake-shared
-           extra-cmake-modules
-           `(,glib "bin")
+     (list `(,glib "bin")
            `(,gtk+ "bin")
+           clang-toolchain
            pkg-config
-           python-wrapper
-           qttools-5))
+           python-wrapper))
     (inputs
-     (list alsa-lib
+     (list abseil-cpp-cxxstd17
+           alsa-lib
            c++-gsl
-           catch2
-           libexpected
-           fcitx-qt5
-           fcitx5-qt
            ffmpeg
-           glib
-           glibmm-2.64
-           gtk+
-           hime
-           hunspell
            jemalloc
-           kwayland
-           libdbusmenu-qt
+           libexpected
            libjpeg-turbo
-           libtgvoip-for-telegram-desktop
-           lz4
-           materialdecoration
+           libvpx
            minizip
-           nimf
            openal
            openssl
            opus
            pulseaudio
            qrcodegen-cpp
-           qtbase-5
-           qtsvg-5
-           qt5ct
+           qt5compat
+           qtbase
            qtimageformats
-           qtwayland
+           qtsvg-5
            range-v3
            rlottie-for-telegram-desktop
            rnnoise
            webrtc-for-telegram-desktop
-           libx11
-           libxcb
-           xcb-util-keysyms
            xxhash
-           zlib))
-    (propagated-inputs (list dconf))
+           zlib
+           ;; DESKTOP_APP_DISABLE_DBUS_INTEGRATION
+           glibmm-2.64
+           ;; DESKTOP_APP_DISABLE_SPELLCHECK
+           hunspell
+           ;; DESKTOP_APP_LOTTIE_USE_CACHE
+           lz4
+           ;; DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
+           qtwayland wayland
+           ;; DESKTOP_APP_DISABLE_X11_INTEGRATION
+           libxcb xcb-util-keysyms
+           ;; Optional
+           webkitgtk))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
     (home-page "https://desktop.telegram.org/")
     (license
      (list
-      ;; ThirdParty
-      license:lgpl2.1+
+      ;; Telegram/ThirdParty/dispatch
+      license:asl2.0
+      ;; Telegram/ThirdParty/tgcalls
+      license:lgpl3
       ;; Others
       license:gpl3+))))
 
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 14:17:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 10:17:09 2022
Received: from localhost ([127.0.0.1]:34946 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ob0XE-0003IQ-JT
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:17:09 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:53870)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ob0XC-0003Hm-Vi
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:17:07 -0400
Date: Wed, 21 Sep 2022 22:16:44 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663769821;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=4gHL1SpXJJfzxG3Av1LkxNURMAmiR5jK8hY7uCmeDBc=;
 b=VRJxOc3ocyrDv42tvoViri/f6kFjP21nIkC7eX/Niayc9RoQqbRgSPL2bou3sWs/8GDBJK
 zYFFttReXYWXSXB3+gtpiE5VOy5UKI1xc67SrHoO2DaeAGlNp5o3HVjkl1LQt4pIFXjkuF
 ud1ylGB7yUhPbxgtYh8X/jzhYCV+G0i+mupjqojB/TbD4gwHrg+u4m3kC2v1GveLmRCD8G
 UzO8R8XDAqAKOsAsCjMGnWIfICyALW788feYH8DzejBOo5tnDjO/27Box8XK42zEGfWykr
 VBoT4AYXjzmkAF+WWuqDxoZUHNuGdXhaHZJPPxD2GTFZf0rUDpFuk0Z0iV0SRA==
Message-ID: <y76k05wdd83.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 RESEND 2/7] gnu: webrtc-for-telegram-desktop: Update to
 621f3da5.
In-Reply-To: <y76leqcdd8r.wl-hako@HIDDEN>
References: <y76mtasddas.wl-hako@HIDDEN>
 <y76leqcdd8r.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details. Content preview: *
 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
 New file. * gnu/local.mk (dist_patch_DATA): Add patch. *
 gnu/packages/telegram.scm
 (crc32c-for-telegram-desktop): New variab [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: xiretza.xyz (xyz)]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

* gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (crc32c-for-telegram-desktop): New variable.
(libvpx-for-telegram-desktop): Remove variable.
(webrtc-for-telegram-desktop): Update to 621f3da5.
[patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
[snippet]: Unbundle libvpx and openh264.
[native-inputs]: Remove perl.
[inputs]: Replace pipewire with pipewire-0.3.
Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa, openh264.
Remove alsa-lib, libx11 and pulseaudio.
[arguments]<#:phases>: Adjusted according to unbundled packages.
[license]: Adjusted accordingly.
---
 gnu/local.mk                                  |  1 +
 ...r-telegram-desktop-fix-gcc12-cstdint.patch | 21 +++++
 gnu/packages/telegram.scm                     | 85 ++++++++++---------
 3 files changed, 67 insertions(+), 40 deletions(-)
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index ef1bae5f3c..10ee65fdd5 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1969,6 +1969,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/warsow-qfusion-fix-bool-return-type.patch	\
   %D%/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch	\
   %D%/packages/patches/webrtc-audio-processing-big-endian.patch	\
+  %D%/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch   \
   %D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch	\
   %D%/packages/patches/widelands-add-missing-map-include.patch	\
   %D%/packages/patches/widelands-system-wide_minizip.patch	\
diff --git a/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
new file mode 100644
index 0000000000..f1fd29d0d3
--- /dev/null
+++ b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
@@ -0,0 +1,21 @@
+From 86d2bcd7afb8706663d29e30f65863de5a626142 Mon Sep 17 00:00:00 2001
+From: Xiretza <xiretza@HIDDEN>
+Date: Sun, 15 May 2022 12:47:41 +0200
+Subject: [PATCH] fix(h265_pps_parser): fix missing cstdint include
+
+---
+ src/common_video/h265/h265_pps_parser.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/common_video/h265/h265_pps_parser.h b/src/common_video/h265/h265_pps_parser.h
+index 28c95ea9..c180b1b9 100644
+--- a/src/common_video/h265/h265_pps_parser.h
++++ b/src/common_video/h265/h265_pps_parser.h
+@@ -12,6 +12,7 @@
+ #define COMMON_VIDEO_H265_PPS_PARSER_H_
+
+ #include "absl/types/optional.h"
++#include <cstdint>
+
+ namespace rtc {
+ class BitBuffer;
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 6c9869f93e..79086d845c 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -30,6 +30,8 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages digest)
   #:use-module (gnu packages fcitx)
   #:use-module (gnu packages fcitx5)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -58,6 +60,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
@@ -74,35 +77,35 @@ (define-module (gnu packages telegram)
 
 (define %telegram-version "2.9.3")
 
-(define libvpx-for-telegram-desktop
-  (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
-        (revision "112"))
+(define libyuv-for-telegram-desktop
+  (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
+        (revision "2211"))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://chromium.googlesource.com/webm/libvpx")
+            (url "https://chromium.googlesource.com/libyuv/libyuv")
             (commit commit)))
       (file-name (git-file-name
-                  "libvpx-for-telegram-desktop"
-                  (git-version "1.9.0" revision commit)))
+                  "libyuv-for-telegram-desktop"
+                  (git-version "0" revision commit)))
       (sha256
        (base32
-        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
+        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
 
-(define libyuv-for-telegram-desktop
-  (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
-        (revision "2211"))
+(define crc32c-for-telegram-desktop
+  (let ((commit "21fc8ef30415a635e7351ffa0e5d5367943d4a94")
+        (revision "78"))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://chromium.googlesource.com/libyuv/libyuv")
+            (url "https://github.com/google/crc32c")
             (commit commit)))
       (file-name (git-file-name
-                  "libyuv-for-telegram-desktop"
+                  "crc32c-for-telegram-desktop"
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
+        "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
 
 (define cmake-helpers-for-telegram-desktop
   (origin
@@ -297,8 +300,8 @@ (define tgcalls-for-telegram-desktop
       "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
 
 (define-public webrtc-for-telegram-desktop
-  (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
-        (revision "166"))
+  (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
+        (revision "327"))
     (hidden-package
      (package
        (name "webrtc-for-telegram-desktop")
@@ -314,58 +317,62 @@ (define-public webrtc-for-telegram-desktop
           (file-name
            (git-file-name name version))
           (sha256
-           (base32 "0plwdp6xgxi27hif5j7kpq425cidxyxbbga3z2f64dsninwy5p1x"))
+           (base32 "1ks1572k1jj7pmzwm79p2gdgi31dd4bs761bphnx32zyq4c6skxk"))
+          (patches
+           (search-patches
+            ;; https://github.com/desktop-app/tg_owt/pull/101
+            "webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch"))
           (modules '((guix build utils)
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
            #~(begin
                (let ((keep
-                      '( ;; Custom forks which are incompatible with the ones in Guix.
-                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                      '("abseil-cpp" "libsrtp" "rnnoise"
                         ;; Not available in Guix.
-                        "pffft" "usrsctp"
-                        ;; Has cmake support files for libvpx input.
-                        "libvpx")))
+                        "crc32c" "pffft")))
                  (with-directory-excursion "src/third_party"
                    (for-each delete-file-recursively
                              (lset-difference string=?
                                               (scandir ".")
-                                              (cons* "." ".." keep)))))))))
+                                              (cons* "." ".." keep)))))
+               ;; Use system openh264.
+               (substitute* "CMakeLists.txt"
+                 (("\\include\\(cmake\\/libopenh264\\.cmake\\)")""))))))
        (build-system cmake-build-system)
        (arguments
         (list
          #:tests? #f                    ; No target
-         #:configure-flags #~(list "-DCMAKE_C_FLAGS=-fPIC"
-                                   "-DCMAKE_CXX_FLAGS=-fPIC")
          #:phases
          #~(modify-phases %standard-phases
              (add-after 'unpack 'copy-inputs
                (lambda _
                  (let* ((third-party (string-append (getcwd) "/src/third_party"))
-                        (libvpx-to (string-append third-party
-                                                  "/libvpx/source/libvpx"))
+                        (crc32c-to (string-append third-party "/crc32c/src"))
                         (libyuv-to (string-append third-party "/libyuv")))
-                   (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
+                   (copy-recursively #$crc32c-for-telegram-desktop crc32c-to)
                    (copy-recursively #$libyuv-for-telegram-desktop
                                      libyuv-to)))))))
-       (native-inputs (list perl pkg-config python-wrapper yasm))
+       (native-inputs (list pkg-config python-wrapper yasm))
        (inputs
-        (list alsa-lib
+        (list abseil-cpp-cxxstd17
               ffmpeg
               libjpeg-turbo
-              glib
-              libxcomposite
-              libxdamage
-              libxrender
-              libxrandr
+              libvpx
+              openh264
               openssl
               opus
-              pipewire
+              ;; TG_OWT_USE_PROTOBUF
               protobuf
-              pulseaudio
-              libx11
+              ;; TG_OWT_USE_PIPEWIRE
+              glib libdrm libglvnd mesa pipewire-0.3
+              ;; TG_OWT_USE_X11
+              libxcomposite
+              libxdamage
               libxext
+              libxfixes
+              libxrandr
+              libxrender
               libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
@@ -377,13 +384,11 @@ (define-public webrtc-for-telegram-desktop
          license:asl2.0
          ;; LibYuv
          (license:non-copyleft "file:///src/third_party/libyuv/LICENSE")
-         ;; OpenH264
-         license:bsd-2
          ;; PFFFT
          (license:non-copyleft "file:///src/third_party/pffft/LICENSE")
          ;; RnNoise
          license:gpl3
-         ;; LibSRTP, LibVPx, UsrSCTP and Others
+         ;; LibSRTP, Crc32c and Others
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 14:16:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 10:16:43 2022
Received: from localhost ([127.0.0.1]:34941 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ob0Wp-0003H8-7g
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:16:43 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:41502)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ob0Wn-0003Gv-Jc
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:16:41 -0400
Date: Wed, 21 Sep 2022 22:16:20 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663769796;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=rXZf8rx19R2FbzJ4250O2kZ5Z1Em9z5N08Nam0kQIe8=;
 b=Gl2yUPHNy3EJIakJiW6ATrWf92wxVJobotyDiJ9jqJJT9uw3LZmiOFwtmxrXKKTt23wHUt
 b4qI25f5TuQEYu6OojEa9/EINbGffTbgnQA0DU0j8B19+JxwGWHLOeewRQURV0JhbTuwgd
 /GyM1x2kEKKKLKIw/MSH2O2j9wlucZDNFMXqduZwk49NK3NDy1zRPNsBeOBV5QSWHFykk8
 fUkAhk1K6c2gxyike3XuFeDVYppGjjAAs1V+XbFBxSj4wmlc2l/QLn/gYTcqKcfhJP4+o4
 ++bJUFo7eSFSLC/bDLwhGmf4Fv3kE0kxzIuB82Gq42+0mGcgXD4hHUlGi2sMSA==
Message-ID: <y76leqcdd8r.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 RESEND 1/7] gnu: Add abseil-cpp-cxxstd17.
In-Reply-To: <y76mtasddas.wl-hako@HIDDEN>
References: <y76mtasddas.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable.
---
 gnu/packages/cpp.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d03e0bc7e1..5e0646444c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1041,6 +1041,15 @@ (define-public abseil-cpp
           `(cons* "-DBUILD_TESTING=ON"
                   (delete "-DABSL_RUN_TESTS=ON" ,flags))))))))
 
+(define-public abseil-cpp-cxxstd17
+  (let ((base abseil-cpp))
+    (hidden-package
+     (package/inherit base
+       (arguments
+        (substitute-keyword-arguments (package-arguments base)
+          ((#:configure-flags flags)
+           #~(cons* "-DCMAKE_CXX_STANDARD=17" #$flags))))))))
+
 (define-public pegtl
   (package
     (name "pegtl")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 14:16:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 10:16:09 2022
Received: from localhost ([127.0.0.1]:34938 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ob0WG-0003GL-Sk
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:16:09 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:40168)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1ob0WF-0003Fc-2z
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 10:16:08 -0400
Date: Wed, 21 Sep 2022 22:15:07 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663769760;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=PC2tkhDBJdv8gDGacCNbWaZBufvZdAGcq3KZDsKa38U=;
 b=hQWFio6vMHJj2H7JZwoAvNA2aWRVi+ndn9BlxSi6J0gT4g/+yz/ALi/f2SLMZyp3Y6s28q
 R+jmZ++fqrMbEjcJlraKHdtEgnMWTquyXlyzP1INU6bWIPR635PgptARXoOCjMBapQKXRD
 V8yInJmD6JOPHmNx+BR62OW3+GJ4H2+vbDIKMylmbNZsIC29ueKLuhSiYyrtUOcQzBa+cp
 UGGFsQEmdppJHyzEJaTLQkIcGMfogdlbZNg/GvWoNR6ngtgB6uA2tnXU3nPEU28UB8basy
 zpdXxNwsSq0vJldKHnnBT+6Ol0RqfNKvF9WkTmJ9q7ZtJlhXVz4pcOis81SJiA==
Message-ID: <y76mtasddas.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 RESEND 0/7] gnu: telegram-desktop: Update to 4.2.0.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

v7 -> v8:
1. Add telegram-desktop 4.1.1, which does not require an updated cmake-extra-modules.
2. Remove %telegram-version, to avoid downloading all the sources each time updating
telegram.

v8 -> v8 RESEND: Finally figured out mime stuff.....

Hilton Chain (7):
  gnu: Add abseil-cpp-cxxstd17.
  gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
  gnu: telegram-desktop: Update to 4.1.1.
  gnu: extra-cmake-modules: Update to 5.98.0.
  gnu: kcoreaddons: Remove trailing #t.
  gnu: kcoreaddons: Update to 5.98.0.
  gnu: telegram-desktop: Update to 4.2.0.

 gnu/local.mk                                  |   2 +
 gnu/packages/cpp.scm                          |   9 +
 gnu/packages/kde-frameworks.scm               |  23 +-
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 ++++
 ...r-telegram-desktop-fix-gcc12-cstdint.patch |  21 +
 gnu/packages/telegram.scm                     | 606 +++++++++---------
 6 files changed, 460 insertions(+), 326 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch


base-commit: 344405475aebd6bcad60f29fc4ac0b7122a78fd0
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 08:25:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 04:25:37 2022
Received: from localhost ([127.0.0.1]:60576 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oav31-0005Dm-IN
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 04:25:37 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:41760)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oav2x-0005DU-Ri
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 04:25:33 -0400
Date: Wed, 21 Sep 2022 16:25:11 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663748725;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=QryInE7dxbH2GJxeglEo8VSdB1mOClRzfT8OopCpSlg=;
 b=s2K2mSllkFhc1UJsVpNDv3St9o1J1ACyy9HTbRHA+ir0rfnW+reNDzp2ZMPAWSCveI3zBS
 xk+QP83UsTCRSBpLy2W77equYXC/4MhMrklHheVrEKJjmT4JSjDnRs0QdI7jfizv/dg+mj
 yrSv/47Nir9dHe3fLKoLpHf22EPrAVqYQX9p/fVWcVuN/POhQ+BPaEfaOENNFnP0fKm7hB
 mMYfYm1ILr1xbNyM1EhGCnxMTaEWIN5WKtQaW9ZBbRMn/p8RB6/jYsZKCA9sstdNQRnuMO
 IhV3u19in3aG46rrZcGgeS1LS40p0w7q0YanXF7hosb5JA/E9tJcoigQZu+6Gw==
Message-ID: <y76v8phm8wo.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 3/7] gnu: telegram-desktop: Update to 4.1.1.
In-Reply-To: <y76wn9xm8x1.wl-hako@HIDDEN>
References: <y76zgetm8xw.wl-hako@HIDDEN>
 <y76y1udm8xe.wl-hako@HIDDEN>
 <y76wn9xm8x1.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (dispatch-for-telegram-desktop): New variable.
(lib-rlottie-for-telegram-desktop,lib-waylandshells-for-telegram-desktop)
(libtgvoip-for-telegram-desktop,%telegram-desktop): Remove variables.
(cmake-helpers-for-telegram-desktop,codegen-for-telegram-desktop)
(lib-base-for-telegram-desktop,lib-crl-for-telegram-desktop)
(lib-lottie-for-telegram-desktop,lib-qr-for-telegram-desktop)
(lib-rpl-for-telegram-desktop,lib-spellcheck-for-telegram-desktop)
(lib-storage-for-telegram-desktop,lib-tl-for-telegram-desktop)
(lib-ui-for-telegram-desktop,lib-webrtc-for-telegram-desktop)
(lib-webview-for-telegram-desktop,tgcalls-for-telegram-desktop): Bump to
submodule checkout.
(rlottie-for-telegram-desktop): Bump to submodule checkout.
[snippet]: Switch off werror.
[arguments]: Use inherited ones.
(telegram-desktop): Update to 4.1.1.
[patches]: Add telegram-desktop-allow-disable-libtgvoip.patch.
[arguments]<#:configure-flags>: Unbundle rlottie.
<#:phases>: Adjusted according to unbundled package.
[native-inputs]: Add clang-toolchain.
Remove cmake-shared, extra-cmake-modules and qttools-5.
[inputs]: Replace qtbase-5 with qtbase.
Add abseil-cpp-cxxstd17, libvpx, qt5compat, wayland, webkitgtk.
Remove catch2, fcitx-qt5, fcitx5-qt, gtk+, hime, kwayland, libdbusmenu-qt,
libtgvoip-for-telegram-desktop, libx11, materialdecoration, nimf and qt5ct.
[propagated-inputs]: Remove dconf.
[license]: Adjusted accordingly.
---
 gnu/local.mk                                  |   1 +
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 +++++
 gnu/packages/telegram.scm                     | 520 +++++++++---------
 3 files changed, 376 insertions(+), 270 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-lib=
tgvoip.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 10ee65fdd5..e8d0178293 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1871,6 +1871,7 @@ dist_patch_DATA =3D						\
   %D%/packages/patches/teensy-loader-cli-help.patch		\
   %D%/packages/patches/tensorflow-c-api-fix.patch		\
   %D%/packages/patches/texinfo-5-perl-compat.patch		\
+  %D%/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch   \
   %D%/packages/patches/telegram-purple-adjust-test.patch	\
   %D%/packages/patches/texi2html-document-encoding.patch	\
   %D%/packages/patches/texi2html-i18n.patch			\
diff --git a/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.=
patch b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
new file mode 100644
index 0000000000..3c062cbd9a
--- /dev/null
+++ b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
@@ -0,0 +1,125 @@
+From 4d1a8351ee82728912fcf7ad0070049b2910c393 Mon Sep 17 00:00:00 2001
+From: Klemens Nanni <klemens@HIDDEN>
+Date: Wed, 2 Mar 2022 01:07:48 +0100
+Subject: [PATCH] Introduce TDESKTOP_DISABLE_LEGACY_TGVOIP
+
+Originally from Alt Linux[0], OpenBSD has so far adapted the removal of
+tgvoip in the official net/tdesktop build.
+
+tgcalls provides everything needed for calls;  audio/video/desktop
+sharing calls have been working fine across different operating systems
+and telegram desktop/mobile versions without problems.
+
+0: http://www.sisyphus.ru/cgi-bin/srpm.pl/Sisyphus/telegram-desktop/getpat=
ch/1
+---
+ Telegram/CMakeLists.txt                   | 6 +++---
+ Telegram/SourceFiles/calls/calls_call.cpp | 6 ++++++
+ Telegram/cmake/lib_tgcalls.cmake          | 4 ++++
+ Telegram/cmake/telegram_options.cmake     | 8 ++++++++
+ 4 files changed, 21 insertions(+), 3 deletions(-)
+
+diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
+index fb2bf370f..5d9578f2d 100644
+--- a/Telegram/CMakeLists.txt
++++ b/Telegram/CMakeLists.txt
+@@ -28,7 +28,9 @@ get_filename_component(res_loc Resources REALPATH)
+ include(cmake/telegram_options.cmake)
+ include(cmake/lib_ffmpeg.cmake)
+ include(cmake/lib_stripe.cmake)
+-include(cmake/lib_tgvoip.cmake)
++if (NOT TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    include(cmake/lib_tgvoip.cmake)
++endif()
+ include(cmake/lib_tgcalls.cmake)
+ include(cmake/td_export.cmake)
+ include(cmake/td_mtproto.cmake)
+@@ -52,9 +54,7 @@ target_prepare_qrc(Telegram)
+=20
+ target_link_libraries(Telegram
+ PRIVATE
+-    tdesktop::lib_tgcalls_legacy
+     tdesktop::lib_tgcalls
+-    tdesktop::lib_tgvoip
+=20
+     # Order in this list defines the order of include paths in command li=
ne.
+     # We need to place desktop-app::external_minizip this early to have i=
ts
+diff --git a/Telegram/SourceFiles/calls/calls_call.cpp b/Telegram/SourceFi=
les/calls/calls_call.cpp
+index 6894d5d90..cd03620e7 100644
+--- a/Telegram/SourceFiles/calls/calls_call.cpp
++++ b/Telegram/SourceFiles/calls/calls_call.cpp
+@@ -39,8 +39,10 @@ class InstanceImpl;
+ class InstanceV2Impl;
+ class InstanceV2ReferenceImpl;
+ class InstanceV2_4_0_0Impl;
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ class InstanceImplLegacy;
+ void SetLegacyGlobalServerConfig(const std::string &serverConfig);
++#endif
+ } // namespace tgcalls
+=20
+ namespace Calls {
+@@ -56,7 +58,9 @@ const auto Register =3D tgcalls::Register<tgcalls::Insta=
nceImpl>();
+ const auto RegisterV2 =3D tgcalls::Register<tgcalls::InstanceV2Impl>();
+ const auto RegV2Ref =3D tgcalls::Register<tgcalls::InstanceV2ReferenceImp=
l>();
+ const auto RegisterV240 =3D tgcalls::Register<tgcalls::InstanceV2_4_0_0Im=
pl>();
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ const auto RegisterLegacy =3D tgcalls::Register<tgcalls::InstanceImplLega=
cy>();
++#endif
+=20
+ [[nodiscard]] base::flat_set<int64> CollectEndpointIds(
+ 		const QVector<MTPPhoneConnection> &list) {
+@@ -1322,7 +1326,9 @@ Call::~Call() {
+ }
+=20
+ void UpdateConfig(const std::string &data) {
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ 	tgcalls::SetLegacyGlobalServerConfig(data);
++#endif
+ }
+=20
+ } // namespace Calls
+diff --git a/Telegram/cmake/lib_tgcalls.cmake b/Telegram/cmake/lib_tgcalls=
.cmake
+index 34a5ba418..8a784be2c 100644
+--- a/Telegram/cmake/lib_tgcalls.cmake
++++ b/Telegram/cmake/lib_tgcalls.cmake
+@@ -267,6 +267,10 @@ PRIVATE
+     ${tgcalls_loc}
+ )
+=20
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    return()
++endif()
++
+ add_library(lib_tgcalls_legacy STATIC)
+ init_target(lib_tgcalls_legacy)
+=20
+diff --git a/Telegram/cmake/telegram_options.cmake b/Telegram/cmake/telegr=
am_options.cmake
+index 1c3c25431..033f2bc95 100644
+--- a/Telegram/cmake/telegram_options.cmake
++++ b/Telegram/cmake/telegram_options.cmake
+@@ -4,7 +4,9 @@
+ # For license and copyright information please follow this link:
+ # https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
+=20
++option(TDESKTOP_DISABLE_LEGACY_TGVOIP "Disable legacy tgvoip support." OF=
F)
+ option(TDESKTOP_API_TEST "Use test API credentials." OFF)
++
+ set(TDESKTOP_API_ID "0" CACHE STRING "Provide 'api_id' for the Telegram A=
PI access.")
+ set(TDESKTOP_API_HASH "" CACHE STRING "Provide 'api_hash' for the Telegra=
m API access.")
+=20
+@@ -40,6 +42,12 @@ if (TDESKTOP_API_ID STREQUAL "0" OR TDESKTOP_API_HASH S=
TREQUAL "")
+     " ")
+ endif()
+=20
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_LEGACY_T=
GVOIP)
++else()
++    target_link_libraries(Telegram PRIVATE tdesktop::lib_tgcalls_legacy t=
desktop::lib_tgvoip)
++endif()
++
+ if (DESKTOP_APP_DISABLE_SPELLCHECK)
+     target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_SPELLCHE=
CK)
+ else()
+--=20
+2.37.3
+
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 79086d845c..d75c057251 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright =A9 2021 Raghav Gururajan <rg@HIDDEN>
+;;; Copyright =A9 2022 Hilton Chain <hako@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -43,6 +44,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages lxqt)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages perl)
@@ -60,6 +62,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages webkit)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
@@ -75,8 +78,6 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
=20
-(define %telegram-version "2.9.3")
-
 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
         (revision "2211"))
@@ -107,197 +108,230 @@ (define crc32c-for-telegram-desktop
        (base32
         "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
=20
+(define dispatch-for-telegram-desktop
+  (let ((commit "ecc678d79f38cf63d24b6d16e18f69a9117d8d73")
+        (revision "14"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/apple/swift-corelibs-libdispatch.git")
+            (commit commit)))
+      (file-name
+       (git-file-name
+        "dispatch-for-telegram-desktop" (git-version "5.6" revision commit=
)))
+      (sha256
+       (base32
+        "0hy4q6x3bgphazmpl3v62995abc9fpi8y7yg9aiblzsqkxmgjmqn")))))
+
 (define cmake-helpers-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/cmake_helpers.git")
-          (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
-    (file-name
-     (git-file-name "cmake-helpers-for-telegram-desktop" %telegram-version=
))
-    (sha256
-     (base32
-      "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
+  (let ((commit "0702ef4cdd8ab888fdadaa4f5b2eb0c9d5844b69")
+        (revision "430"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/cmake_helpers.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "cmake-helpers-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "16lsm3pb8md4ksr2ps3bnkvr0jygdamkxyirxgz214n6wa281zk1")))))
=20
 (define codegen-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/codegen.git")
-          (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
-    (file-name
-     (git-file-name "codegen-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
+  (let ((commit "8815d7aec9b901191d08445f29e2edd0aeba7b2c")
+        (revision "54"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/codegen.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "codegen-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1ly958mjk25kfcpa174kvg134p9r751ixi275afj5kr57by9mbq2")))))
=20
 (define lib-base-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_base.git")
-          (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
-    (file-name
-     (git-file-name "lib-base-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
+  (let ((commit "37fab6b4da32c91bc5d049baad2e9ad51cfcd195")
+        (revision "380"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_base.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-base-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1b2zc0ag5w46vwjz2240yj9aniyv09yjyrwif32994drfq6l10k5")))))
=20
 (define lib-crl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_crl.git")
-          (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
-    (file-name
-     (git-file-name "lib-crl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
+  (let ((commit "4e620bc383d032aadea8e6af02661f8c76695cec")
+        (revision "21"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_crl.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-crl-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "17bngj247qwq0dg4h37xdi5v1mk22y4yp7sp6ph3irmnz4awah0x")))))
=20
 (define lib-lottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_lottie.git")
-          (commit "0770df009db7928df1d0cad0900dc5110106d229")))
-    (file-name
-     (git-file-name "lib-lottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
+  (let ((commit "f3563bc6b0e042095d4d667d013f62cb8ae62b65")
+        (revision "57"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_lottie.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-lottie-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0i0w6lcrmqln7axnlazcqkaj4z0lzn0gl3z59hng40ard76cgvsg")))))
=20
 (define lib-qr-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_qr.git")
-          (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
-    (file-name
-     (git-file-name "lib-qr-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
-
-(define lib-rlottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rlottie.git")
-          (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
-    (file-name
-     (git-file-name "lib-rlottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
+  (let ((commit "501f4c3502fd872ab4d777df8911bdac32de7c48")
+        (revision "10"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_qr.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-qr-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f")))))
=20
 (define lib-rpl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rpl.git")
-          (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
-    (file-name
-     (git-file-name "lib-rpl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
+  (let ((commit "fd31f5bf382d2679eccdb1abaf8240a56c6a7abe")
+        (revision "19"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_rpl.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-rpl-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1fpq8nyh8wx6zkb3sjjrx9ydqzyhw4483bdk1i9blp0ijn9xxdxf")))))
=20
 (define lib-spellcheck-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_spellcheck.git")
-          (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
-    (file-name
-     (git-file-name "lib-spellcheck-for-telegram-desktop" %telegram-versio=
n))
-    (sha256
-     (base32
-      "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
+  (let ((commit "b2f2b7b6bce60bc1c6429a6b5ec4bc5891baa060")
+        (revision "197"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_spellcheck.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-spellcheck-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1v8xdbwza457wmjkfmpys46g5g1aw7yabjab6knxd4p4vhyjhbwh")))))
=20
 (define lib-storage-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_storage.git")
-          (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
-    (file-name
-     (git-file-name "lib-storage-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
+  (let ((commit "839609369d04615475cb1518636de3619106a917")
+        (revision "22"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_storage.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-storage-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1l26h2fmqp9dcpr6pfvdd5sjb68j7yh0ms2lnr8na7jf5xqmkwwm")))))
=20
 (define lib-tl-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_tl.git")
-          (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
-    (file-name
-     (git-file-name "lib-tl-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
+  (let ((commit "0d234b5aabf43d598e0cb0867566ee570d9e2755")
+        (revision "39"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_tl.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-tl-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1wc8d94h4ga36yl9g8h67j914xwpwv7rmkrrvvslgbgxb7sxcd96")))))
=20
 (define lib-ui-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_ui.git")
-          (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
-    (file-name
-     (git-file-name "lib-ui-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
-
-(define lib-waylandshells-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_waylandshells.git")
-          (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
-    (file-name
-     (git-file-name "lib-waylandshells-for-telegram-desktop" %telegram-ver=
sion))
-    (sha256
-     (base32
-      "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
+  (let ((commit "2f5d5e0e79bf52ab04047bc93a4b624d6d33d46a")
+        (revision "883"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_ui.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-ui-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "09kmc1igh37wafngwk6raqx2wrlxg10lf9p72j84sxs05hbybfcn")))))
=20
 (define lib-webrtc-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_webrtc.git")
-          (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
-    (file-name
-     (git-file-name "lib-webrtc-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
+  (let ((commit "9b11599c3c56047cfa4c68b69f1fcc93b602c33a")
+        (revision "83"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_webrtc.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-webrtc-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0158jx8hj4fv6qpw5pgcr2mdlihj0dxs060dg3iy61zz6q68z5dq")))))
=20
 (define lib-webview-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_webview.git")
-          (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
-    (file-name
-     (git-file-name "lib-webview-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
+  (let ((commit "546df65eb2424550ed84ce14fc9c5d1bb3586f35")
+        (revision "76"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/desktop-app/lib_webview.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "lib-webview-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "0zzjwyw82bggncmmsw969lnjl04pklmqjqm77jjzadinivl52z0l")))))
=20
 (define tgcalls-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/TelegramMessenger/tgcalls.git")
-          (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
-    (file-name
-     (git-file-name "tgcalls-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
+  (let ((commit "82c4921045c440b727c38e464f3a0539708423ff")
+        (revision "921"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/TelegramMessenger/tgcalls.git")
+            (commit commit)))
+      (file-name (git-file-name
+                  "tgcalls-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "1109r17abh66yz91b65fn2g4ryfybnsr5g6075sjhbah1gccv9mk")))))
=20
 (define-public webrtc-for-telegram-desktop
   (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
@@ -392,8 +426,8 @@ (define-public webrtc-for-telegram-desktop
          license:bsd-3))))))
=20
 (define-public rlottie-for-telegram-desktop
-  (let ((commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")
-        (revision "671"))
+  (let ((commit "8c69fc20cf2e150db304311f1233a4b55a8892d7")
+        (revision "678"))
     (hidden-package
      (package
        (inherit rlottie)
@@ -409,67 +443,17 @@ (define-public rlottie-for-telegram-desktop
           (file-name
            (git-file-name "rlottie-for-telegram-desktop" version))
           (sha256
-           (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c")=
)))
-       (arguments
-        `(#:configure-flags
-          (list
-           "-Dlog=3Dtrue"
-           "-Ddumptree=3Dtrue"
-           "-Dtest=3Dtrue")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-cxx-flags
-              (lambda _
-                (substitute* "meson.build"
-                  (("werror=3Dtrue")
-                   "werror=3Dfalse"))
-                #t)))))))))
-
-(define-public libtgvoip-for-telegram-desktop
-  (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
-        (revision "88"))
-    (hidden-package
-     (package
-       (inherit libtgvoip)
-       (version
-        (git-version "2.4.4" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/telegramdesktop/libtgvoip.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "libtgvoip-for-telegram-desktop" version))
-          (sha256
-           (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd")=
)))
-       (arguments
-        `(#:configure-flags
-          (list
-           "--disable-static"
-           "--disable-dsp"              ; FIXME
-           "--enable-audio-callback"
-           "--with-alsa"
-           "--with-pulse")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-linkers
-              (lambda _
-                (substitute* "Makefile.am"
-                  (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
-                   "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)=
"))
-                (substitute* "tgvoip.pc.in"
-                  (("libcrypto opus")
-                   "libcrypto opus alsa libpulse"))
-                #t)))))
-       (native-inputs
-        (list autoconf automake libtool pkg-config))))))
+           (base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
+          (modules '((guix build utils)))
+          (snippet
+           #~(begin
+               (substitute* "meson.build"
+                 (("werror=3Dtrue") "werror=3Dfalse"))))))))))
=20
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-    (version %telegram-version)
+    (version "4.1.1")
     (source
      (origin
        (method git-fetch)
@@ -481,15 +465,19 @@ (define-public telegram-desktop
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0dzf1y3xhqvizg29bd1kya48cjbkq073d2x10ynwcmmx396l4nd8"))
+        (base32 "0zhwaql1fk0nqr1x2lchcswz61x7sb2297qdxiysgqamr0fk9ppn"))
+       (patches
+        (search-patches
+         ;; https://github.com/telegramdesktop/tdesktop/pull/24126
+         "telegram-desktop-allow-disable-libtgvoip.patch"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
         #~(begin
             (let ((keep
-                   '( ;; Not available in Guix.
-                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+                   '(;; Not available in Guix.
+                     "dispatch" "tgcalls")))
               (with-directory-excursion "Telegram/ThirdParty"
                 (for-each delete-file-recursively
                           (lset-difference string=3D?
@@ -515,16 +503,17 @@ (define-public telegram-desktop
               ;; also stored in <#$source/snap/snapcraft.yaml>.
               "-DTDESKTOP_API_ID=3D611335"
               "-DTDESKTOP_API_HASH=3Dd524b414d21f4d37f08684c1df41ac9c"
-              ;; Disable WebkitGTK support as it fails to link
-              "-DDESKTOP_APP_DISABLE_WEBKITGTK=3DON"
-              ;; Use bundled fonts as fallback.
-              "-DDESKTOP_APP_USE_PACKAGED_FONTS=3DOFF")
+              "-DTDESKTOP_DISABLE_LEGACY_TGVOIP=3DON"
+              "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=3DON"
+              "-DDESKTOP_APP_DISABLE_AUTOUPDATE=3DON"
+              "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=3DON"
+              (string-append "-DTDESKTOP_LAUTCHER_BASENAME=3D" #$name))
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'make-writable
                  (lambda _
                    (for-each make-file-writable (find-files "."))))
-               (add-after 'make-writable 'copy-inputs
+               (add-after 'make-writable 'copy-sources
                  (lambda _
                    (for-each
                     (match-lambda
@@ -537,81 +526,72 @@ (define-public telegram-desktop
                       ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
                       ("Telegram/lib_lottie" #$lib-lottie-for-telegram-des=
ktop)
                       ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
-                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-d=
esktop)
                       ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
                       ("Telegram/lib_spellcheck" #$lib-spellcheck-for-tele=
gram-desktop)
                       ("Telegram/lib_storage" #$lib-storage-for-telegram-d=
esktop)
                       ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
                       ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
-                      ("Telegram/lib_waylandshells" #$lib-waylandshells-fo=
r-telegram-desktop)
                       ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-des=
ktop)
                       ("Telegram/lib_webview" #$lib-webview-for-telegram-d=
esktop)
+                      ("Telegram/ThirdParty/dispatch" #$dispatch-for-teleg=
ram-desktop)
                       ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegra=
m-desktop)))))
-               (add-before 'configure 'patch-cxx-flags
-                 (lambda _
-                   (substitute* "cmake/options_linux.cmake" (("class-memac=
cess") "all"))))
                (add-after 'install 'glib-or-gtk-compile-schemas
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-comp=
ile-schemas))
                (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap=
)))))
     (native-inputs
-     (list cmake-shared
-           extra-cmake-modules
-           `(,glib "bin")
+     (list `(,glib "bin")
            `(,gtk+ "bin")
+           clang-toolchain
            pkg-config
-           python-wrapper
-           qttools-5))
+           python-wrapper))
     (inputs
-     (list alsa-lib
+     (list abseil-cpp-cxxstd17
+           alsa-lib
            c++-gsl
-           catch2
-           libexpected
-           fcitx-qt5
-           fcitx5-qt
            ffmpeg
-           glib
-           glibmm-2.64
-           gtk+
-           hime
-           hunspell
            jemalloc
-           kwayland
-           libdbusmenu-qt
+           libexpected
            libjpeg-turbo
-           libtgvoip-for-telegram-desktop
-           lz4
-           materialdecoration
+           libvpx
            minizip
-           nimf
            openal
            openssl
            opus
            pulseaudio
            qrcodegen-cpp
-           qtbase-5
-           qtsvg-5
-           qt5ct
+           qt5compat
+           qtbase
            qtimageformats
-           qtwayland
+           qtsvg-5
            range-v3
            rlottie-for-telegram-desktop
            rnnoise
            webrtc-for-telegram-desktop
-           libx11
-           libxcb
-           xcb-util-keysyms
            xxhash
-           zlib))
-    (propagated-inputs (list dconf))
+           zlib
+           ;; DESKTOP_APP_DISABLE_DBUS_INTEGRATION
+           glibmm-2.64
+           ;; DESKTOP_APP_DISABLE_SPELLCHECK
+           hunspell
+           ;; DESKTOP_APP_LOTTIE_USE_CACHE
+           lz4
+           ;; DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
+           qtwayland wayland
+           ;; DESKTOP_APP_DISABLE_X11_INTEGRATION
+           libxcb xcb-util-keysyms
+           ;; Optional
+           webkitgtk))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
     (home-page "https://desktop.telegram.org/")
     (license
      (list
-      ;; ThirdParty
-      license:lgpl2.1+
+      ;; Telegram/ThirdParty/dispatch
+      license:asl2.0
+      ;; Telegram/ThirdParty/tgcalls
+      license:lgpl3
       ;; Others
       license:gpl3+))))
=20
--=20
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 08:25:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 04:25:20 2022
Received: from localhost ([127.0.0.1]:60573 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oav2l-0005DE-QO
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 04:25:20 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:41812)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oav2k-0005Cy-Hb
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 04:25:19 -0400
Date: Wed, 21 Sep 2022 16:24:58 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663748712;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=zpfDxRF0csxXtOczbrnl5FvGN/pKW/LRv7tFQLqzlJI=;
 b=PlHdYDA/J0tu6dp8/tcZg4ygI89gf7otqePH8MPIRHMjvrGjccu5vTLRx2l40ZJB6fNplo
 E+ntaSq0Iphd/ruvgaWXSaBEsDDSGTZEzD3GBa94tuUNjU0iQ9hmW7tlcwC5VqbmJ1Nyol
 sF5pjDdV7x44BnZSLSzrd3EHK47RpRwKa7dGVsJnkumZvdsTIV2yzqmQaCOTXXKRVgfL0R
 L1h9hExoubp/MwEmiK+3f61pf6YCtwvvSWceOyjYESuUagNtfVuOD1kDPOUMwsPsLmjjfz
 diudHmytaWEGcIYZmR6KUpmCE0Gms6wCkr28z7nuxvJiasOzu94FMA99oknfWA==
Message-ID: <y76wn9xm8x1.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 2/7] gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
In-Reply-To: <y76y1udm8xe.wl-hako@HIDDEN>
References: <y76zgetm8xw.wl-hako@HIDDEN>
 <y76y1udm8xe.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details. Content preview: *
 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
 New file. * gnu/local.mk (dist_patch_DATA): Add patch. *
 gnu/packages/telegram.scm
 (crc32c-for-telegram-desktop): New variab [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: xiretza.xyz (xyz)]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)


* gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (crc32c-for-telegram-desktop): New variable.
(libvpx-for-telegram-desktop): Remove variable.
(webrtc-for-telegram-desktop): Update to 621f3da5.
[patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
[snippet]: Unbundle libvpx and openh264.
[native-inputs]: Remove perl.
[inputs]: Replace pipewire with pipewire-0.3.
Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa, openh264.
Remove alsa-lib, libx11 and pulseaudio.
[arguments]<#:phases>: Adjusted according to unbundled packages.
[license]: Adjusted accordingly.
---
 gnu/local.mk                                  |  1 +
 ...r-telegram-desktop-fix-gcc12-cstdint.patch | 21 +++++
 gnu/packages/telegram.scm                     | 85 ++++++++++---------
 3 files changed, 67 insertions(+), 40 deletions(-)
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index ef1bae5f3c..10ee65fdd5 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1969,6 +1969,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/warsow-qfusion-fix-bool-return-type.patch	\
   %D%/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch	\
   %D%/packages/patches/webrtc-audio-processing-big-endian.patch	\
+  %D%/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch   \
   %D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch	\
   %D%/packages/patches/widelands-add-missing-map-include.patch	\
   %D%/packages/patches/widelands-system-wide_minizip.patch	\
diff --git a/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
new file mode 100644
index 0000000000..f1fd29d0d3
--- /dev/null
+++ b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
@@ -0,0 +1,21 @@
+From 86d2bcd7afb8706663d29e30f65863de5a626142 Mon Sep 17 00:00:00 2001
+From: Xiretza <xiretza@HIDDEN>
+Date: Sun, 15 May 2022 12:47:41 +0200
+Subject: [PATCH] fix(h265_pps_parser): fix missing cstdint include
+
+---
+ src/common_video/h265/h265_pps_parser.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/common_video/h265/h265_pps_parser.h b/src/common_video/h265/h265_pps_parser.h
+index 28c95ea9..c180b1b9 100644
+--- a/src/common_video/h265/h265_pps_parser.h
++++ b/src/common_video/h265/h265_pps_parser.h
+@@ -12,6 +12,7 @@
+ #define COMMON_VIDEO_H265_PPS_PARSER_H_
+
+ #include "absl/types/optional.h"
++#include <cstdint>
+
+ namespace rtc {
+ class BitBuffer;
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 6c9869f93e..79086d845c 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -30,6 +30,8 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages digest)
   #:use-module (gnu packages fcitx)
   #:use-module (gnu packages fcitx5)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -58,6 +60,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
@@ -74,35 +77,35 @@ (define-module (gnu packages telegram)
 
 (define %telegram-version "2.9.3")
 
-(define libvpx-for-telegram-desktop
-  (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
-        (revision "112"))
+(define libyuv-for-telegram-desktop
+  (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
+        (revision "2211"))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://chromium.googlesource.com/webm/libvpx")
+            (url "https://chromium.googlesource.com/libyuv/libyuv")
             (commit commit)))
       (file-name (git-file-name
-                  "libvpx-for-telegram-desktop"
-                  (git-version "1.9.0" revision commit)))
+                  "libyuv-for-telegram-desktop"
+                  (git-version "0" revision commit)))
       (sha256
        (base32
-        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
+        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
 
-(define libyuv-for-telegram-desktop
-  (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
-        (revision "2211"))
+(define crc32c-for-telegram-desktop
+  (let ((commit "21fc8ef30415a635e7351ffa0e5d5367943d4a94")
+        (revision "78"))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://chromium.googlesource.com/libyuv/libyuv")
+            (url "https://github.com/google/crc32c")
             (commit commit)))
       (file-name (git-file-name
-                  "libyuv-for-telegram-desktop"
+                  "crc32c-for-telegram-desktop"
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
+        "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
 
 (define cmake-helpers-for-telegram-desktop
   (origin
@@ -297,8 +300,8 @@ (define tgcalls-for-telegram-desktop
       "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
 
 (define-public webrtc-for-telegram-desktop
-  (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
-        (revision "166"))
+  (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
+        (revision "327"))
     (hidden-package
      (package
        (name "webrtc-for-telegram-desktop")
@@ -314,58 +317,62 @@ (define-public webrtc-for-telegram-desktop
           (file-name
            (git-file-name name version))
           (sha256
-           (base32 "0plwdp6xgxi27hif5j7kpq425cidxyxbbga3z2f64dsninwy5p1x"))
+           (base32 "1ks1572k1jj7pmzwm79p2gdgi31dd4bs761bphnx32zyq4c6skxk"))
+          (patches
+           (search-patches
+            ;; https://github.com/desktop-app/tg_owt/pull/101
+            "webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch"))
           (modules '((guix build utils)
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
            #~(begin
                (let ((keep
-                      '( ;; Custom forks which are incompatible with the ones in Guix.
-                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                      '("abseil-cpp" "libsrtp" "rnnoise"
                         ;; Not available in Guix.
-                        "pffft" "usrsctp"
-                        ;; Has cmake support files for libvpx input.
-                        "libvpx")))
+                        "crc32c" "pffft")))
                  (with-directory-excursion "src/third_party"
                    (for-each delete-file-recursively
                              (lset-difference string=?
                                               (scandir ".")
-                                              (cons* "." ".." keep)))))))))
+                                              (cons* "." ".." keep)))))
+               ;; Use system openh264.
+               (substitute* "CMakeLists.txt"
+                 (("\\include\\(cmake\\/libopenh264\\.cmake\\)")""))))))
        (build-system cmake-build-system)
        (arguments
         (list
          #:tests? #f                    ; No target
-         #:configure-flags #~(list "-DCMAKE_C_FLAGS=-fPIC"
-                                   "-DCMAKE_CXX_FLAGS=-fPIC")
          #:phases
          #~(modify-phases %standard-phases
              (add-after 'unpack 'copy-inputs
                (lambda _
                  (let* ((third-party (string-append (getcwd) "/src/third_party"))
-                        (libvpx-to (string-append third-party
-                                                  "/libvpx/source/libvpx"))
+                        (crc32c-to (string-append third-party "/crc32c/src"))
                         (libyuv-to (string-append third-party "/libyuv")))
-                   (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
+                   (copy-recursively #$crc32c-for-telegram-desktop crc32c-to)
                    (copy-recursively #$libyuv-for-telegram-desktop
                                      libyuv-to)))))))
-       (native-inputs (list perl pkg-config python-wrapper yasm))
+       (native-inputs (list pkg-config python-wrapper yasm))
        (inputs
-        (list alsa-lib
+        (list abseil-cpp-cxxstd17
               ffmpeg
               libjpeg-turbo
-              glib
-              libxcomposite
-              libxdamage
-              libxrender
-              libxrandr
+              libvpx
+              openh264
               openssl
               opus
-              pipewire
+              ;; TG_OWT_USE_PROTOBUF
               protobuf
-              pulseaudio
-              libx11
+              ;; TG_OWT_USE_PIPEWIRE
+              glib libdrm libglvnd mesa pipewire-0.3
+              ;; TG_OWT_USE_X11
+              libxcomposite
+              libxdamage
               libxext
+              libxfixes
+              libxrandr
+              libxrender
               libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
@@ -377,13 +384,11 @@ (define-public webrtc-for-telegram-desktop
          license:asl2.0
          ;; LibYuv
          (license:non-copyleft "file:///src/third_party/libyuv/LICENSE")
-         ;; OpenH264
-         license:bsd-2
          ;; PFFFT
          (license:non-copyleft "file:///src/third_party/pffft/LICENSE")
          ;; RnNoise
          license:gpl3
-         ;; LibSRTP, LibVPx, UsrSCTP and Others
+         ;; LibSRTP, Crc32c and Others
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 08:25:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 04:25:07 2022
Received: from localhost ([127.0.0.1]:60570 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oav2Z-0005Cf-IJ
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 04:25:07 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:53344)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oav2X-0005Bo-So
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 04:25:06 -0400
Date: Wed, 21 Sep 2022 16:24:45 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663748700;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=vCw9lXsXcaIUkTORlM9dL1Rt+pDavfh39EoC6yL9AQo=;
 b=f2Z9jxajWZ60dRF/55UVKRx9MMZm42glC0EhyOgiMQ3vT0l3iHjEqMWcVhQFC6CaLXuRfT
 /Cv4jN8IV+p4pp6z5o9Es7H1L1a4qjngZ9Z2wvGfRN20t2BRGgusbcuKEW5a+cdeg0uEcS
 nrRXnWQqaTegwhSaenx7ncWtfWfse5bhmdMI90Y9ozcelzJ80YVteC+lSnK1/BgVzZfQLi
 XZKFnJllwM4xDLLUAaRYET8zOTiQIzuJbeBc4E7tV+eoOJ6EhHomgsqbR6hS2coTOflyrZ
 mv2Ah1n5Tuj1aWjhnJCinlGxnILx327bLZ9ZA5Xh3ENRnL/8TyTLUYUf8BHcyA==
Message-ID: <y76y1udm8xe.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 1/7] gnu: Add abseil-cpp-cxxstd17.
In-Reply-To: <y76zgetm8xw.wl-hako@HIDDEN>
References: <y76zgetm8xw.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable.
---
 gnu/packages/cpp.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d03e0bc7e1..5e0646444c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1041,6 +1041,15 @@ (define-public abseil-cpp
           `(cons* "-DBUILD_TESTING=ON"
                   (delete "-DABSL_RUN_TESTS=ON" ,flags))))))))
 
+(define-public abseil-cpp-cxxstd17
+  (let ((base abseil-cpp))
+    (hidden-package
+     (package/inherit base
+       (arguments
+        (substitute-keyword-arguments (package-arguments base)
+          ((#:configure-flags flags)
+           #~(cons* "-DCMAKE_CXX_STANDARD=17" #$flags))))))))
+
 (define-public pegtl
   (package
     (name "pegtl")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 08:24:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 04:24:48 2022
Received: from localhost ([127.0.0.1]:60565 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oav2G-0005BI-7r
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 04:24:48 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:46296)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oav2E-0005B4-R3
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 04:24:47 -0400
Date: Wed, 21 Sep 2022 16:24:27 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663748681;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type;
 bh=1gtuaWKh97Cx9KL6TWPU6BYtjssxEnFIcb5BEDMTRBA=;
 b=35fzCYOfgU57AiN4ie+bEt0M3rl0QXfbJcxNNfbwJbZ7T0Yxk0uyP7FOCYcJ8aB2n/EA67
 RtrYq0x8vSVDT9dRxP0Lf6HsjL7z2mKvLH8PY2dr9oIpzuQTwRmInHDCPpiPu5aS8HTaBq
 2GCsU6EE/0HdjIl/pdUMQFxaJmwE4gSVeRfgM8P2GYYkwLwAPJ/jBcsVnEGnTITplZ+a+8
 vgGKqfkWXu8qlL4FyTmwD9NIt9w/vqhyz9e38nVCmKgNLSgSSJ1rvB2KRJEiKgw/bWqigY
 AD+nXU54XEqXOlT2KNNPBM5c8UICUAXxUxTpgD030pyPo3DSxxMO3SYeaQXbSw==
Message-ID: <y76zgetm8xw.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v8 0/7] gnu: telegram-desktop: Update to 4.2.0.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


v7 -> v8:
1. Add telegram-desktop 4.1.1, which does not require an updated cmake-extra-modules.
2. Remove %telegram-version, to avoid downloading all the sources each time updating
telegram.

Hilton Chain (7):
  gnu: Add abseil-cpp-cxxstd17.
  gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
  gnu: telegram-desktop: Update to 4.1.1.
  gnu: extra-cmake-modules: Update to 5.98.0.
  gnu: kcoreaddons: Remove trailing #t.
  gnu: kcoreaddons: Update to 5.98.0.
  gnu: telegram-desktop: Update to 4.2.0.

 gnu/local.mk                                  |   2 +
 gnu/packages/cpp.scm                          |   9 +
 gnu/packages/kde-frameworks.scm               |  23 +-
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 ++++
 ...r-telegram-desktop-fix-gcc12-cstdint.patch |  21 +
 gnu/packages/telegram.scm                     | 606 +++++++++---------
 6 files changed, 460 insertions(+), 326 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch


base-commit: 344405475aebd6bcad60f29fc4ac0b7122a78fd0
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 08:24:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 04:24:25 2022
Received: from localhost ([127.0.0.1]:60562 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oav1s-0005AZ-Ry
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 04:24:25 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:34838)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oav1p-0005AI-Qq
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 04:24:23 -0400
Date: Wed, 21 Sep 2022 16:23:14 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663748654;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type;
 bh=1gtuaWKh97Cx9KL6TWPU6BYtjssxEnFIcb5BEDMTRBA=;
 b=gyYwuZUtUoHJr4W8ziEeBENtcOA0Hr3RajNBSPjnycoe/RwyKmI9zCeu+G+rpVAkDKVV6S
 6DmNff62ovlCGMpe5KztVO84ja0vYByqdEMuJ+JkB0uoBxySqPXKvKM0Ayxclw+6QE8cV1
 ddIJLbYnE6NRxgXRDgbtKTWbgYMWPuDz5HCKzyDudCFnJk+yhi7m3cIQ7Ztv2o0SMK0/dn
 YnME+7FO+HGolsc595rUirmgEvWlevs4owKyHQq5i74Xur62YGbVS2cT/UmBjrnlwkrYRA
 5J0gROXT5xHTgojjFD017odJpcvo0IiDp0z3rod89R2s8zNk1ODzT+6fsdypJg==
Message-ID: <y761qs5nnkd.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH 0/7] gnu: telegram-desktop: Update to 4.2.0.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


v7 -> v8:
1. Add telegram-desktop 4.1.1, which does not require an updated cmake-extra-modules.
2. Remove %telegram-version, to avoid downloading all the sources each time updating
telegram.

Hilton Chain (7):
  gnu: Add abseil-cpp-cxxstd17.
  gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
  gnu: telegram-desktop: Update to 4.1.1.
  gnu: extra-cmake-modules: Update to 5.98.0.
  gnu: kcoreaddons: Remove trailing #t.
  gnu: kcoreaddons: Update to 5.98.0.
  gnu: telegram-desktop: Update to 4.2.0.

 gnu/local.mk                                  |   2 +
 gnu/packages/cpp.scm                          |   9 +
 gnu/packages/kde-frameworks.scm               |  23 +-
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 ++++
 ...r-telegram-desktop-fix-gcc12-cstdint.patch |  21 +
 gnu/packages/telegram.scm                     | 606 +++++++++---------
 6 files changed, 460 insertions(+), 326 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch


base-commit: 344405475aebd6bcad60f29fc4ac0b7122a78fd0
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 04:46:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 00:46:35 2022
Received: from localhost ([127.0.0.1]:60267 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oard5-0005W0-KO
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 00:46:35 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:49104)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oard3-0005Vm-Ls
 for 57675 <at> debbugs.gnu.org; Wed, 21 Sep 2022 00:46:34 -0400
Date: Wed, 21 Sep 2022 12:46:06 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663735587;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=uQp2cDuieurbGQozQqOm547bRMQ4cW4FWji/lAMi3LI=;
 b=0iTI+e//NuuE/U2ECGyMg33jsUjh/J2mqJr5aovKXgBu/s2pkJIf7e4n8C562mEdFlmOcs
 0+uMX+z/sgQUlU7tFoNkXAT3AfNnbqU7y1Cr2wGrzNh3TxkMnHSybkOGVMEw/2l0r4RWQV
 4se7+c4RrS/GHvQ4JcItDuoWu4wy/ZqNSX2kUPUCB9fo/zGVWwBNGl84dZWr5LHQd2oM06
 ChqeT5FmZl1SKa3EWgx3c/JJ8pkr8LbTF4wCNgKLDiFzyzeNbAzVmHXDiqqEsCl3IwBjpF
 3MRfMBprOUQVSYJNl5rld/k2KBgVZshpteeFRu7RhP/V7j/OuU/NUtzhWH3U9A==
Message-ID: <y765yhhnxm9.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: Re: [PATCH v7 11/11] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <y768rmdoa8i.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
 <y76mtatoad0.wl-hako@HIDDEN>
 <y76leqdoack.wl-hako@HIDDEN>
 <y76k05xoabu.wl-hako@HIDDEN>
 <y76illhoabe.wl-hako@HIDDEN>
 <y76h711oab1.wl-hako@HIDDEN>
 <y76fsgloaam.wl-hako@HIDDEN>
 <y76edw5oaa6.wl-hako@HIDDEN>
 <y76czbpoa9s.wl-hako@HIDDEN>
 <y76bkr9oa9c.wl-hako@HIDDEN>
 <y76a66toa8w.wl-hako@HIDDEN>
 <y768rmdoa8i.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


I'm told that these patches would go to staging branch for the update of cmake-extra-modules, so
I'll add telegram-desktop 4.1.1 in the coming versions of this patchset.

Thanks.




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:14:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:14:05 2022
Received: from localhost ([127.0.0.1]:60013 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanND-0007At-OQ
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:14:05 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:58902)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanNB-0007Ah-8x
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:13:55 -0400
Date: Wed, 21 Sep 2022 08:13:33 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719227;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=bDEs7TgqREydqvMwxi7Xo2ZBgs+NdwH7PUZdvzOlr9c=;
 b=cfbrEkq5N6vYxYmg2kgrl9i75ue3icUlFtuLOJLPzr0f37MxNv9MM6b6ZDnDEAh2SMAPg2
 n/61lZFoyg+Ql9T3wcLOOD1Af6CvYK9c8jOjezcTUGbdBM7o2K/3ia1jm/IO9czfq2P9H7
 /arX+9lX617bWztv0Af1KjtxSmNVj2zZiTnw66J5zNgd+58CtzV/S9mQIbF4FV7hGCpGMg
 6c16yBpgtUCS7/aX/myG4mufM+3AKNC6+CCLyU63FhQWBY2EKLgu4WbKRenabpI0DBrxkd
 4S1P4ZeXyljmPxo8NQriA0VyDf0zfaYhoiWE2XVtClXXD92EfDqeCT8adOuKIg==
Message-ID: <y768rmdoa8i.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 11/11] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <y76a66toa8w.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
 <y76mtatoad0.wl-hako@HIDDEN>
 <y76leqdoack.wl-hako@HIDDEN>
 <y76k05xoabu.wl-hako@HIDDEN>
 <y76illhoabe.wl-hako@HIDDEN>
 <y76h711oab1.wl-hako@HIDDEN>
 <y76fsgloaam.wl-hako@HIDDEN>
 <y76edw5oaa6.wl-hako@HIDDEN>
 <y76czbpoa9s.wl-hako@HIDDEN>
 <y76bkr9oa9c.wl-hako@HIDDEN>
 <y76a66toa8w.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (dispatch-for-telegram-desktop): New variable.
(lib-rlottie-for-telegram-desktop,lib-waylandshells-for-telegram-desktop)
(libtgvoip-for-telegram-desktop): Remove variables.
(cmake-helpers-for-telegram-desktop,codegen-for-telegram-desktop)
(lib-base-for-telegram-desktop,lib-crl-for-telegram-desktop)
(lib-lottie-for-telegram-desktop,lib-qr-for-telegram-desktop)
(lib-rpl-for-telegram-desktop,lib-spellcheck-for-telegram-desktop)
(lib-storage-for-telegram-desktop,lib-tl-for-telegram-desktop)
(lib-ui-for-telegram-desktop,lib-webrtc-for-telegram-desktop)
(lib-webview-for-telegram-desktop,tgcalls-for-telegram-desktop): Bump to
submodule checkout.
(rlottie-for-telegram-desktop): Bump to submodule checkout.
[snippet]: Switch off werror.
[arguments]: Use inherited ones.
(telegram-desktop): Update to 4.2.0.
[patches]: Add telegram-desktop-allow-disable-libtgvoip.patch.
[arguments]<#:configure-flags>: Unbundle rlottie.
<#:phases>: Adjusted according to unbundled package.
[native-inputs]: Add clang-toolchain.
Remove cmake-shared, extra-cmake-modules and qttools-5.
[inputs]: Replace qtbase-5 with qtbase.
Add abseil-cpp-cxxstd17, kcoreaddons, libvpx, qt5compat, wayland, webkitgtk.
Remove catch2, fcitx-qt5, fcitx5-qt, gtk+, hime, kwayland, libdbusmenu-qt,
libtgvoip-for-telegram-desktop, libx11, materialdecoration, nimf and qt5ct.
[propagated-inputs]: Remove dconf.
[license]: Adjusted accordingly.
---
 gnu/local.mk                                  |   1 +
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 +++++++++
 gnu/packages/telegram.scm                     | 253 +++++++-----------
 3 files changed, 224 insertions(+), 155 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 10ee65fdd5..e8d0178293 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1871,6 +1871,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/teensy-loader-cli-help.patch		\
   %D%/packages/patches/tensorflow-c-api-fix.patch		\
   %D%/packages/patches/texinfo-5-perl-compat.patch		\
+  %D%/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch   \
   %D%/packages/patches/telegram-purple-adjust-test.patch	\
   %D%/packages/patches/texi2html-document-encoding.patch	\
   %D%/packages/patches/texi2html-i18n.patch			\
diff --git a/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
new file mode 100644
index 0000000000..3c062cbd9a
--- /dev/null
+++ b/gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
@@ -0,0 +1,125 @@
+From 4d1a8351ee82728912fcf7ad0070049b2910c393 Mon Sep 17 00:00:00 2001
+From: Klemens Nanni <klemens@HIDDEN>
+Date: Wed, 2 Mar 2022 01:07:48 +0100
+Subject: [PATCH] Introduce TDESKTOP_DISABLE_LEGACY_TGVOIP
+
+Originally from Alt Linux[0], OpenBSD has so far adapted the removal of
+tgvoip in the official net/tdesktop build.
+
+tgcalls provides everything needed for calls;  audio/video/desktop
+sharing calls have been working fine across different operating systems
+and telegram desktop/mobile versions without problems.
+
+0: http://www.sisyphus.ru/cgi-bin/srpm.pl/Sisyphus/telegram-desktop/getpatch/1
+---
+ Telegram/CMakeLists.txt                   | 6 +++---
+ Telegram/SourceFiles/calls/calls_call.cpp | 6 ++++++
+ Telegram/cmake/lib_tgcalls.cmake          | 4 ++++
+ Telegram/cmake/telegram_options.cmake     | 8 ++++++++
+ 4 files changed, 21 insertions(+), 3 deletions(-)
+
+diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
+index fb2bf370f..5d9578f2d 100644
+--- a/Telegram/CMakeLists.txt
++++ b/Telegram/CMakeLists.txt
+@@ -28,7 +28,9 @@ get_filename_component(res_loc Resources REALPATH)
+ include(cmake/telegram_options.cmake)
+ include(cmake/lib_ffmpeg.cmake)
+ include(cmake/lib_stripe.cmake)
+-include(cmake/lib_tgvoip.cmake)
++if (NOT TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    include(cmake/lib_tgvoip.cmake)
++endif()
+ include(cmake/lib_tgcalls.cmake)
+ include(cmake/td_export.cmake)
+ include(cmake/td_mtproto.cmake)
+@@ -52,9 +54,7 @@ target_prepare_qrc(Telegram)
+ 
+ target_link_libraries(Telegram
+ PRIVATE
+-    tdesktop::lib_tgcalls_legacy
+     tdesktop::lib_tgcalls
+-    tdesktop::lib_tgvoip
+ 
+     # Order in this list defines the order of include paths in command line.
+     # We need to place desktop-app::external_minizip this early to have its
+diff --git a/Telegram/SourceFiles/calls/calls_call.cpp b/Telegram/SourceFiles/calls/calls_call.cpp
+index 6894d5d90..cd03620e7 100644
+--- a/Telegram/SourceFiles/calls/calls_call.cpp
++++ b/Telegram/SourceFiles/calls/calls_call.cpp
+@@ -39,8 +39,10 @@ class InstanceImpl;
+ class InstanceV2Impl;
+ class InstanceV2ReferenceImpl;
+ class InstanceV2_4_0_0Impl;
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ class InstanceImplLegacy;
+ void SetLegacyGlobalServerConfig(const std::string &serverConfig);
++#endif
+ } // namespace tgcalls
+ 
+ namespace Calls {
+@@ -56,7 +58,9 @@ const auto Register = tgcalls::Register<tgcalls::InstanceImpl>();
+ const auto RegisterV2 = tgcalls::Register<tgcalls::InstanceV2Impl>();
+ const auto RegV2Ref = tgcalls::Register<tgcalls::InstanceV2ReferenceImpl>();
+ const auto RegisterV240 = tgcalls::Register<tgcalls::InstanceV2_4_0_0Impl>();
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ const auto RegisterLegacy = tgcalls::Register<tgcalls::InstanceImplLegacy>();
++#endif
+ 
+ [[nodiscard]] base::flat_set<int64> CollectEndpointIds(
+ 		const QVector<MTPPhoneConnection> &list) {
+@@ -1322,7 +1326,9 @@ Call::~Call() {
+ }
+ 
+ void UpdateConfig(const std::string &data) {
++#ifndef TDESKTOP_DISABLE_LEGACY_TGVOIP
+ 	tgcalls::SetLegacyGlobalServerConfig(data);
++#endif
+ }
+ 
+ } // namespace Calls
+diff --git a/Telegram/cmake/lib_tgcalls.cmake b/Telegram/cmake/lib_tgcalls.cmake
+index 34a5ba418..8a784be2c 100644
+--- a/Telegram/cmake/lib_tgcalls.cmake
++++ b/Telegram/cmake/lib_tgcalls.cmake
+@@ -267,6 +267,10 @@ PRIVATE
+     ${tgcalls_loc}
+ )
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    return()
++endif()
++
+ add_library(lib_tgcalls_legacy STATIC)
+ init_target(lib_tgcalls_legacy)
+ 
+diff --git a/Telegram/cmake/telegram_options.cmake b/Telegram/cmake/telegram_options.cmake
+index 1c3c25431..033f2bc95 100644
+--- a/Telegram/cmake/telegram_options.cmake
++++ b/Telegram/cmake/telegram_options.cmake
+@@ -4,7 +4,9 @@
+ # For license and copyright information please follow this link:
+ # https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
+ 
++option(TDESKTOP_DISABLE_LEGACY_TGVOIP "Disable legacy tgvoip support." OFF)
+ option(TDESKTOP_API_TEST "Use test API credentials." OFF)
++
+ set(TDESKTOP_API_ID "0" CACHE STRING "Provide 'api_id' for the Telegram API access.")
+ set(TDESKTOP_API_HASH "" CACHE STRING "Provide 'api_hash' for the Telegram API access.")
+ 
+@@ -40,6 +42,12 @@ if (TDESKTOP_API_ID STREQUAL "0" OR TDESKTOP_API_HASH STREQUAL "")
+     " ")
+ endif()
+ 
++if (TDESKTOP_DISABLE_LEGACY_TGVOIP)
++    target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_LEGACY_TGVOIP)
++else()
++    target_link_libraries(Telegram PRIVATE tdesktop::lib_tgcalls_legacy tdesktop::lib_tgvoip)
++endif()
++
+ if (DESKTOP_APP_DISABLE_SPELLCHECK)
+     target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_SPELLCHECK)
+ else()
+-- 
+2.37.3
+
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 6ae7311cfa..e7d716461a 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -43,6 +43,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages lxqt)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages perl)
@@ -60,6 +61,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages webkit)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
@@ -75,7 +77,7 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
 
-(define %telegram-version "2.9.3")
+(define %telegram-version "4.2.0")
 
 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
@@ -107,197 +109,188 @@ (define crc32c-for-telegram-desktop
        (base32
         "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
 
+(define dispatch-for-telegram-desktop
+  (let ((commit "ecc678d79f38cf63d24b6d16e18f69a9117d8d73")
+        (revision "14"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/apple/swift-corelibs-libdispatch.git")
+            (commit commit)))
+      (file-name
+       (git-file-name
+        "dispatch-for-telegram-desktop" (git-version "5.6" revision commit)))
+      (sha256
+       (base32
+        "0hy4q6x3bgphazmpl3v62995abc9fpi8y7yg9aiblzsqkxmgjmqn")))))
+
 (define cmake-helpers-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/cmake_helpers.git")
-          (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
+          (commit "b9f1b6036329e44ec61f51f0b363fe2319158b84")))
     (file-name
      (git-file-name "cmake-helpers-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
+      "0sgp1nlmcm2imgpssqxrwinafnmicmq0qikgdnhs1d44hrwxbws3"))))
 
 (define codegen-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/codegen.git")
-          (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
+          (commit "8815d7aec9b901191d08445f29e2edd0aeba7b2c")))
     (file-name
      (git-file-name "codegen-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
+      "1ly958mjk25kfcpa174kvg134p9r751ixi275afj5kr57by9mbq2"))))
 
 (define lib-base-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_base.git")
-          (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
+          (commit "cc5550de2766657ced8d0bb4d2db3f050363d3d5")))
     (file-name
      (git-file-name "lib-base-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
+      "16x5qp5w51igk213rhl49x256vjvpkjkgi2ziwzxnsj0pzdd4y27"))))
 
 (define lib-crl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_crl.git")
-          (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
+          (commit "4e620bc383d032aadea8e6af02661f8c76695cec")))
     (file-name
      (git-file-name "lib-crl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
+      "17bngj247qwq0dg4h37xdi5v1mk22y4yp7sp6ph3irmnz4awah0x"))))
 
 (define lib-lottie-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_lottie.git")
-          (commit "0770df009db7928df1d0cad0900dc5110106d229")))
+          (commit "6ed1c22ed60692d2f288c9222fafd7d5cd62f904")))
     (file-name
      (git-file-name "lib-lottie-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
+      "0l57ibfij9xm4ww4s9cc63q1x8xzpc6ablwaji1krrn3xxksqdd4"))))
 
 (define lib-qr-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_qr.git")
-          (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
+          (commit "501f4c3502fd872ab4d777df8911bdac32de7c48")))
     (file-name
      (git-file-name "lib-qr-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
-
-(define lib-rlottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rlottie.git")
-          (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
-    (file-name
-     (git-file-name "lib-rlottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
+      "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f"))))
 
 (define lib-rpl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_rpl.git")
-          (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
+          (commit "fd31f5bf382d2679eccdb1abaf8240a56c6a7abe")))
     (file-name
      (git-file-name "lib-rpl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
+      "1fpq8nyh8wx6zkb3sjjrx9ydqzyhw4483bdk1i9blp0ijn9xxdxf"))))
 
 (define lib-spellcheck-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_spellcheck.git")
-          (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
+          (commit "0e386e22cb6ba8a114b569840a635e096dcb645e")))
     (file-name
      (git-file-name "lib-spellcheck-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
+      "06js7ccv6z3nbd4v2p4hp2prrlmz5ww46y3yb922pp7gm317dwyw"))))
 
 (define lib-storage-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_storage.git")
-          (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
+          (commit "839609369d04615475cb1518636de3619106a917")))
     (file-name
      (git-file-name "lib-storage-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
+      "1l26h2fmqp9dcpr6pfvdd5sjb68j7yh0ms2lnr8na7jf5xqmkwwm"))))
 
 (define lib-tl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_tl.git")
-          (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
+          (commit "36fb95c4de1339d2c8921ad6b2911858c3d0e0fa")))
     (file-name
      (git-file-name "lib-tl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
+      "03rngnssnqwr7ad05qn64mwgji5fb0r3fp5ybkf951p8phr1jvzk"))))
 
 (define lib-ui-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_ui.git")
-          (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
+          (commit "f82162f05a72352bfee0fb79f9e50c350b3a98f3")))
     (file-name
      (git-file-name "lib-ui-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
-
-(define lib-waylandshells-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_waylandshells.git")
-          (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
-    (file-name
-     (git-file-name "lib-waylandshells-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
+      "1zv29i7hxv70dsq36zrvkvaraff5zcb7sccpncqfl51s59kfsnz5"))))
 
 (define lib-webrtc-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_webrtc.git")
-          (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
+          (commit "9b11599c3c56047cfa4c68b69f1fcc93b602c33a")))
     (file-name
      (git-file-name "lib-webrtc-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
+      "0158jx8hj4fv6qpw5pgcr2mdlihj0dxs060dg3iy61zz6q68z5dq"))))
 
 (define lib-webview-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_webview.git")
-          (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
+          (commit "546df65eb2424550ed84ce14fc9c5d1bb3586f35")))
     (file-name
      (git-file-name "lib-webview-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
+      "0zzjwyw82bggncmmsw969lnjl04pklmqjqm77jjzadinivl52z0l"))))
 
 (define tgcalls-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/TelegramMessenger/tgcalls.git")
-          (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
+          (commit "82c4921045c440b727c38e464f3a0539708423ff")))
     (file-name
      (git-file-name "tgcalls-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
+      "1109r17abh66yz91b65fn2g4ryfybnsr5g6075sjhbah1gccv9mk"))))
 
 (define-public webrtc-for-telegram-desktop
   (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
@@ -400,61 +393,16 @@ (define-public rlottie-for-telegram-desktop
         (method git-fetch)
         (uri (git-reference
               (url "https://github.com/desktop-app/rlottie.git")
-              (commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")))
+              (commit "8c69fc20cf2e150db304311f1233a4b55a8892d7")))
         (file-name
          (git-file-name "rlottie-for-telegram-desktop" version))
         (sha256
-         (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c"))))
-     (arguments
-      `(#:configure-flags
-        (list
-         "-Dlog=true"
-         "-Ddumptree=true"
-         "-Dtest=true")
-        #:phases
-        (modify-phases %standard-phases
-          (add-after 'unpack 'patch-cxx-flags
-            (lambda _
-              (substitute* "meson.build"
-                (("werror=true")
-                 "werror=false"))
-              #t))))))))
-
-(define-public libtgvoip-for-telegram-desktop
-  (hidden-package
-   (package
-     (inherit libtgvoip)
-     (version %telegram-version)
-     (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-              (url "https://github.com/telegramdesktop/libtgvoip.git")
-              (commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")))
-        (file-name
-         (git-file-name "libtgvoip-for-telegram-desktop" version))
-        (sha256
-         (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
-     (arguments
-      `(#:configure-flags
-        (list
-         "--disable-static"
-         "--disable-dsp"              ; FIXME
-         "--enable-audio-callback"
-         "--with-alsa"
-         "--with-pulse")
-        #:phases
-        (modify-phases %standard-phases
-          (add-after 'unpack 'patch-linkers
-            (lambda _
-              (substitute* "Makefile.am"
-                (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
-                 "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)"))
-              (substitute* "tgvoip.pc.in"
-                (("libcrypto opus")
-                 "libcrypto opus alsa libpulse"))
-              #t)))))
-     (native-inputs (list autoconf automake libtool pkg-config)))))
+         (base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
+        (modules '((guix build utils)))
+        (snippet
+         #~(begin
+             (substitute* "meson.build"
+               (("werror=true") "werror=false")))))))))
 
 (define-public telegram-desktop
   (package
@@ -466,20 +414,23 @@ (define-public telegram-desktop
        (uri
         (git-reference
          (url "https://github.com/telegramdesktop/tdesktop.git")
-         (commit
-          (string-append "v" version))))
+         (commit (string-append "v" version))))
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0dzf1y3xhqvizg29bd1kya48cjbkq073d2x10ynwcmmx396l4nd8"))
+        (base32 "16xhng5m3aw4j4ax74nydpxjnx5z3ga21vmrznlm4lbk9ivyn7vx"))
+       (patches
+        (search-patches
+         ;; https://github.com/telegramdesktop/tdesktop/pull/24126
+         "telegram-desktop-allow-disable-libtgvoip.patch"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
         #~(begin
             (let ((keep
-                   '( ;; Not available in Guix.
-                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+                   '(;; Not available in Guix.
+                     "dispatch" "tgcalls")))
               (with-directory-excursion "Telegram/ThirdParty"
                 (for-each delete-file-recursively
                           (lset-difference string=?
@@ -487,14 +438,13 @@ (define-public telegram-desktop
                                            (cons* "." ".." keep)))))))))
     (build-system qt-build-system)
     (arguments
-     (list #:tests? #f                      ; No target
+     (list #:tests? #f                  ;No target
            #:imported-modules
            `(,@%qt-build-system-modules
              (guix build glib-or-gtk-build-system))
            #:modules
            '((guix build qt-build-system)
-             ((guix build glib-or-gtk-build-system)
-              #:prefix glib-or-gtk:)
+             ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
              (guix build utils)
              (ice-9 match))
            #:configure-flags
@@ -504,16 +454,17 @@ (define-public telegram-desktop
                ;; <https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml>.
                "-DTDESKTOP_API_ID=611335"
                "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
-               ;; Disable WebkitGTK support as it fails to link
-               "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
-               ;; Use bundled fonts as fallback.
-               "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
+               "-DTDESKTOP_DISABLE_LEGACY_TGVOIP=ON"
+               "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
+               "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
+               "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON"
+               ,(string-append "-DTDESKTOP_LAUTCHER_BASENAME=" #$name))
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'make-writable
                  (lambda _
                    (for-each make-file-writable (find-files "."))))
-               (add-after 'make-writable 'copy-inputs
+               (add-after 'make-writable 'copy-sources
                  (lambda _
                    (for-each
                     (match-lambda
@@ -526,81 +477,73 @@ (define-public telegram-desktop
                       ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
                       ("Telegram/lib_lottie" #$lib-lottie-for-telegram-desktop)
                       ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
-                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-desktop)
                       ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
                       ("Telegram/lib_spellcheck" #$lib-spellcheck-for-telegram-desktop)
                       ("Telegram/lib_storage" #$lib-storage-for-telegram-desktop)
                       ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
                       ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
-                      ("Telegram/lib_waylandshells" #$lib-waylandshells-for-telegram-desktop)
                       ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-desktop)
                       ("Telegram/lib_webview" #$lib-webview-for-telegram-desktop)
+                      ("Telegram/ThirdParty/dispatch" #$dispatch-for-telegram-desktop)
                       ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
-               (add-before 'configure 'patch-cxx-flags
-                 (lambda _
-                   (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
                (add-after 'install 'glib-or-gtk-compile-schemas
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
                (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
     (native-inputs
-     (list cmake-shared
-           extra-cmake-modules
-           `(,glib "bin")
+     (list `(,glib "bin")
            `(,gtk+ "bin")
+           clang-toolchain
            pkg-config
-           python-wrapper
-           qttools-5))
+           python-wrapper))
     (inputs
-     (list alsa-lib
+     (list abseil-cpp-cxxstd17
+           alsa-lib
            c++-gsl
-           catch2
-           libexpected
-           fcitx-qt5
-           fcitx5-qt
            ffmpeg
-           glib
-           glibmm-2.64
-           gtk+
-           hime
-           hunspell
            jemalloc
-           kwayland
-           libdbusmenu-qt
+           kcoreaddons
+           libexpected
            libjpeg-turbo
-           libtgvoip-for-telegram-desktop
-           lz4
-           materialdecoration
+           libvpx
            minizip
-           nimf
            openal
            openssl
            opus
            pulseaudio
            qrcodegen-cpp
-           qtbase-5
-           qtsvg-5
-           qt5ct
+           qt5compat
+           qtbase
            qtimageformats
-           qtwayland
+           qtsvg-5
            range-v3
            rlottie-for-telegram-desktop
            rnnoise
            webrtc-for-telegram-desktop
-           libx11
-           libxcb
-           xcb-util-keysyms
            xxhash
-           zlib))
-    (propagated-inputs (list dconf))
+           zlib
+           ;; DESKTOP_APP_DISABLE_DBUS_INTEGRATION
+           glibmm-2.64
+           ;; DESKTOP_APP_DISABLE_SPELLCHECK
+           hunspell
+           ;; DESKTOP_APP_LOTTIE_USE_CACHE
+           lz4
+           ;; DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
+           qtwayland wayland
+           ;; DESKTOP_APP_DISABLE_X11_INTEGRATION
+           libxcb xcb-util-keysyms
+           ;; Optional
+           webkitgtk))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
     (home-page "https://desktop.telegram.org/")
     (license
      (list
-      ;; ThirdParty
-      license:lgpl2.1+
+      ;; Telegram/ThirdParty/dispatch
+      license:asl2.0
+      ;; Telegram/ThirdParty/tgcalls
+      license:lgpl3
       ;; Others
       license:gpl3+))))
 
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:13:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:13:40 2022
Received: from localhost ([127.0.0.1]:60010 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanMy-0007AP-1J
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:13:40 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:53892)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanMw-0007AC-Bd
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:13:39 -0400
Date: Wed, 21 Sep 2022 08:13:19 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719212;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=UImwixcFBAEg+uWz6HW0xh33jEMYxUhBFW2xz6Vulds=;
 b=DGOeyXyRz/1GYL6dV3YgAw3bFAHecW0vqiwiSwdb50mGsfWQQSbuZBg4w3xJi1hKbSNnWp
 QxCnkbHHEwiXCaIzhCrw4vb5WGRHbdJVSsx4JvbZ0I8G/sK2YNKWd3GEzcjAxCpNItBn5e
 qLybD/gKxGRnS/ZQHEPQ2I5+Dmtk0YNvLeI9/O5I+YMlWKcHeDsHho6HlFcmSgnlePFUpE
 wZ6sb8hJ45eaNtLEiCnMcW8td32AAGKTpyrYTcj0sc3aWFA88c7DRHLhFMUSD46KkZ/96y
 pGr9HdUUifzQRWqz/bmU8Nsg2o86WyQ6Y33nBYF6G211WTez9v36y8meyvBnkQ==
Message-ID: <y76a66toa8w.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 10/11] gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
In-Reply-To: <y76bkr9oa9c.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
 <y76mtatoad0.wl-hako@HIDDEN>
 <y76leqdoack.wl-hako@HIDDEN>
 <y76k05xoabu.wl-hako@HIDDEN>
 <y76illhoabe.wl-hako@HIDDEN>
 <y76h711oab1.wl-hako@HIDDEN>
 <y76fsgloaam.wl-hako@HIDDEN>
 <y76edw5oaa6.wl-hako@HIDDEN>
 <y76czbpoa9s.wl-hako@HIDDEN>
 <y76bkr9oa9c.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details. Content preview: *
 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
 New file. * gnu/local.mk (dist_patch_DATA): Add patch. *
 gnu/packages/telegram.scm
 (crc32c-for-telegram-desktop): New variab [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: xiretza.xyz (xyz)]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)


* gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (crc32c-for-telegram-desktop): New variable.
(libvpx-for-telegram-desktop): Remove variable.
(webrtc-for-telegram-desktop): Update to 621f3da5.
[patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
[snippet]: Unbundle libvpx and openh264.
[native-inputs]: Drop perl.
[inputs]: Replace pipewire with pipewire-0.3.
Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa, openh264.
Remove alsa-lib, libx11 and pulseaudio.
[arguments]<#:phases>: Adjusted according to unbundled packages.
[license]: Adjusted accordingly.
---
 gnu/local.mk                                  |  1 +
 ...r-telegram-desktop-fix-gcc12-cstdint.patch | 21 ++++
 gnu/packages/telegram.scm                     | 95 ++++++++++---------
 3 files changed, 72 insertions(+), 45 deletions(-)
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index ef1bae5f3c..10ee65fdd5 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1969,6 +1969,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/warsow-qfusion-fix-bool-return-type.patch	\
   %D%/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch	\
   %D%/packages/patches/webrtc-audio-processing-big-endian.patch	\
+  %D%/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch   \
   %D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch	\
   %D%/packages/patches/widelands-add-missing-map-include.patch	\
   %D%/packages/patches/widelands-system-wide_minizip.patch	\
diff --git a/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
new file mode 100644
index 0000000000..f1fd29d0d3
--- /dev/null
+++ b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
@@ -0,0 +1,21 @@
+From 86d2bcd7afb8706663d29e30f65863de5a626142 Mon Sep 17 00:00:00 2001
+From: Xiretza <xiretza@HIDDEN>
+Date: Sun, 15 May 2022 12:47:41 +0200
+Subject: [PATCH] fix(h265_pps_parser): fix missing cstdint include
+
+---
+ src/common_video/h265/h265_pps_parser.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/common_video/h265/h265_pps_parser.h b/src/common_video/h265/h265_pps_parser.h
+index 28c95ea9..c180b1b9 100644
+--- a/src/common_video/h265/h265_pps_parser.h
++++ b/src/common_video/h265/h265_pps_parser.h
+@@ -12,6 +12,7 @@
+ #define COMMON_VIDEO_H265_PPS_PARSER_H_
+
+ #include "absl/types/optional.h"
++#include <cstdint>
+
+ namespace rtc {
+ class BitBuffer;
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index b67f0358a7..6ae7311cfa 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -30,6 +30,8 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages digest)
   #:use-module (gnu packages fcitx)
   #:use-module (gnu packages fcitx5)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -58,6 +60,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
@@ -74,35 +77,35 @@ (define-module (gnu packages telegram)
 
 (define %telegram-version "2.9.3")
 
-(define libvpx-for-telegram-desktop
-  (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
-        (revision "112"))
+(define libyuv-for-telegram-desktop
+  (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
+        (revision "2211"))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://chromium.googlesource.com/webm/libvpx")
+            (url "https://chromium.googlesource.com/libyuv/libyuv")
             (commit commit)))
       (file-name (git-file-name
-                  "libvpx-for-telegram-desktop"
-                  (git-version "1.9.0" revision commit)))
+                  "libyuv-for-telegram-desktop"
+                  (git-version "0" revision commit)))
       (sha256
        (base32
-        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
+        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
 
-(define libyuv-for-telegram-desktop
-  (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
-        (revision "2211"))
+(define crc32c-for-telegram-desktop
+  (let ((commit "21fc8ef30415a635e7351ffa0e5d5367943d4a94")
+        (revision "78"))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://chromium.googlesource.com/libyuv/libyuv")
+            (url "https://github.com/google/crc32c")
             (commit commit)))
       (file-name (git-file-name
-                  "libyuv-for-telegram-desktop"
+                  "crc32c-for-telegram-desktop"
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
+        "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))
 
 (define cmake-helpers-for-telegram-desktop
   (origin
@@ -297,8 +300,8 @@ (define tgcalls-for-telegram-desktop
       "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
 
 (define-public webrtc-for-telegram-desktop
-  (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
-        (revision "166"))
+  (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
+        (revision "327"))
     (hidden-package
      (package
        (name "webrtc-for-telegram-desktop")
@@ -314,57 +317,61 @@ (define-public webrtc-for-telegram-desktop
           (file-name
            (git-file-name name version))
           (sha256
-           (base32 "0plwdp6xgxi27hif5j7kpq425cidxyxbbga3z2f64dsninwy5p1x"))
+           (base32 "1ks1572k1jj7pmzwm79p2gdgi31dd4bs761bphnx32zyq4c6skxk"))
+          (patches
+           (search-patches
+            ;; https://github.com/desktop-app/tg_owt/pull/101
+            "webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch"))
           (modules '((guix build utils)
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
            #~(begin
                (let ((keep
-                      '( ;; Custom forks which are incompatible with the ones in Guix.
-                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                      '("abseil-cpp" "libsrtp" "rnnoise"
                         ;; Not available in Guix.
-                        "pffft" "usrsctp"
-                        ;; Has cmake support files for libvpx input.
-                        "libvpx")))
+                        "crc32c" "pffft")))
                  (with-directory-excursion "src/third_party"
                    (for-each delete-file-recursively
                              (lset-difference string=?
                                               (scandir ".")
-                                              (cons* "." ".." keep)))))))))
+                                              (cons* "." ".." keep)))))
+               ;; Use system openh264.
+               (substitute* "CMakeLists.txt"
+                 (("\\include\\(cmake\\/libopenh264\\.cmake\\)")""))))))
        (build-system cmake-build-system)
        (arguments
-        (list #:tests? #f               ; No target
-              #:configure-flags
-              #~`("-DCMAKE_C_FLAGS=-fPIC"
-                  "-DCMAKE_CXX_FLAGS=-fPIC")
+        (list #:tests? #f       ; No target
               #:phases
               #~(modify-phases %standard-phases
                   (add-after 'unpack 'copy-inputs
                     (lambda _
-                      (let* ((libvpx-to (string-append (getcwd)
-                                                       "/src/third_party/libvpx/source/libvpx"))
-                             (libyuv-to (string-append (getcwd)
-                                                       "/src/third_party/libyuv")))
-                        (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
-                        (copy-recursively #$libyuv-for-telegram-desktop libyuv-to)))))))
-       (native-inputs (list perl pkg-config python-wrapper yasm))
+                      (copy-recursively
+                       #$libyuv-for-telegram-desktop
+                       (string-append (getcwd) "/src/third_party/libyuv"))
+                      (copy-recursively
+                       #$crc32c-for-telegram-desktop
+                       (string-append (getcwd) "/src/third_party/crc32c/src")))))))
+       (native-inputs (list pkg-config python-wrapper yasm))
        (inputs
-        (list alsa-lib
+        (list abseil-cpp-cxxstd17
               ffmpeg
               libjpeg-turbo
-              glib
-              libxcomposite
-              libxdamage
-              libxrender
-              libxrandr
+              libvpx
+              openh264
               openssl
               opus
-              pipewire
+              ;; TG_OWT_USE_PROTOBUF
               protobuf
-              pulseaudio
-              libx11
+              ;; TG_OWT_USE_PIPEWIRE
+              glib libdrm libglvnd mesa pipewire-0.3
+              ;; TG_OWT_USE_X11
+              libxcomposite
+              libxdamage
               libxext
+              libxfixes
+              libxrandr
+              libxrender
               libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
@@ -376,13 +383,11 @@ (define-public webrtc-for-telegram-desktop
          license:asl2.0
          ;; LibYuv
          (license:non-copyleft "file:///src/third_party/libyuv/LICENSE")
-         ;; OpenH264
-         license:bsd-2
          ;; PFFFT
          (license:non-copyleft "file:///src/third_party/pffft/LICENSE")
          ;; RnNoise
          license:gpl3
-         ;; LibSRTP, LibVPx, UsrSCTP and Others
+         ;; LibSRTP, Crc32c and Others
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:13:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:13:24 2022
Received: from localhost ([127.0.0.1]:60006 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanMh-00079u-Ln
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:13:23 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:54686)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanMg-00079a-8u
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:13:22 -0400
Date: Wed, 21 Sep 2022 08:13:03 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719196;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=9i3+Ik5LrcvJqrIh9FEotTYbDRXAhFhuI1JHgR5UkgM=;
 b=MdFX/dsyvsYzV1Up+nuiJHct2/Ot2huBPuIlJrQ8fSYfn7V037H2XcC+yWj4FLxKqmCjUK
 3ywqgY5DDGGg2nJTjFtQ1MRJizqnaHVq5DQD7g1bnErlvMA4KB4mfpDKKDziMDPYQmKhVt
 S/iKf1jvgHTjGp9jCtVKETiVDQ7hHVojnWRfYtYvuM2oGxGuv/7vK+r6JGdaQap5NooGtR
 QEa4HKI0jRDvAcaVpu8jiJMb2T5ITzT2ymNjDViZs2JcBoa+JZjxG3mhM+xfvkT1VlpBtW
 wYQU0aF9rnN8l2yyjzZVkoS+gblR9tAd7o2cieKK6u5jXFF258tswFbBDmlN5Q==
Message-ID: <y76bkr9oa9c.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 09/11] gnu: kcoreaddons: Update to 5.98.0.
In-Reply-To: <y76czbpoa9s.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
 <y76mtatoad0.wl-hako@HIDDEN>
 <y76leqdoack.wl-hako@HIDDEN>
 <y76k05xoabu.wl-hako@HIDDEN>
 <y76illhoabe.wl-hako@HIDDEN>
 <y76h711oab1.wl-hako@HIDDEN>
 <y76fsgloaam.wl-hako@HIDDEN>
 <y76edw5oaa6.wl-hako@HIDDEN>
 <y76czbpoa9s.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/kde-frameworks.scm (kcoreaddons): Update to 5.98.0.
[arguments]<#:phases>: Update blocklist for failing tests.
---
 gnu/packages/kde-frameworks.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index e4337636ac..61cbf19bc4 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -574,7 +574,7 @@ (define-public kconfig
 (define-public kcoreaddons
   (package
     (name "kcoreaddons")
-    (version "5.70.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -583,7 +583,7 @@ (define-public kcoreaddons
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "10a7zys3limsawl7lk9ggymk3msk2bp0y8hp0jmsvk3l405pd1ps"))))
+                "0lqmyxqsw7w1qgdgmax63v64cy7dwk7n4zi8k53xmrqjmd9jir52"))))
     (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules qttools-5 shared-mime-info
@@ -602,14 +602,8 @@ (define-public kcoreaddons
                  ;; FIXME: Make it pass.  Test failure caused by stout/stderr
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
-                 ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))))
-         ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
-         (add-after 'unpack 'fix-broken-test
-           (lambda _
-             (substitute* "autotests/kdirwatch_unittest.cpp"
-               (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))))
+                 ;; FIXME
+                 (display "[test_inheritance]\n*\n")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:13:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:13:08 2022
Received: from localhost ([127.0.0.1]:60000 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanMS-00079D-0F
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:13:08 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:48452)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanMQ-00078G-41
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:13:06 -0400
Date: Wed, 21 Sep 2022 08:12:47 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719180;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=ZwqL7MNNaBHPwBqvBuEdDfE9tXz2Pxn5OMFMnIN8VrM=;
 b=L0y8psnL2+AMebN7Zvo1UEwAuwx8DI72/UJTYUf38gTnTN6xov1iyiFgoLOz9XAjA27DcS
 XgcmPbfoc9dZHuNQ6tjwcUgKXv6wAf9jtbA7Fs4RyEJFyvQqAJ7eJ9dCcbBNWZLknZc7si
 fL50a2Br7OroWkpJDFp22SwDCdcTIL9OHc59Us3YjKN06JGctOdu1q6+bjDOLyiQtgK7xz
 PUE5k2krCcvrxhyTcDlGLSG8l1QJSj450OOSoeziP0oBB7VITMDSA3Xt7bBKypZXk32XyY
 NklfS+gMulXzF+QFCZk/28SdvxUgBtMuiFHbDGtJx7HH9abDmwnEmd0GahDjVA==
Message-ID: <y76czbpoa9s.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 08/11] gnu: kcoreaddons: Remove trailing #t.
In-Reply-To: <y76edw5oaa6.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
 <y76mtatoad0.wl-hako@HIDDEN>
 <y76leqdoack.wl-hako@HIDDEN>
 <y76k05xoabu.wl-hako@HIDDEN>
 <y76illhoabe.wl-hako@HIDDEN>
 <y76h711oab1.wl-hako@HIDDEN>
 <y76fsgloaam.wl-hako@HIDDEN>
 <y76edw5oaa6.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/kde-frameworks.scm (kcoreaddons)[arugments]<#:phases>: Remove
trailing #t.
---
 gnu/packages/kde-frameworks.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 52314fd0ff..e4337636ac 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -603,20 +603,17 @@ (define-public kcoreaddons
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
                  ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))
-             #t))
+                 (display "[benchNotifyWatcher]\n*\n")))))
          ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
          (add-after 'unpack 'fix-broken-test
            (lambda _
              (substitute* "autotests/kdirwatch_unittest.cpp"
                (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))
-             #t))
+                (string-append m "\nwaitUntilNewSecond();")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-             (setenv "TMPDIR" (getcwd))
-             #t)))))
+             (setenv "TMPDIR" (getcwd)))))))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Qt addon library with a collection of non-GUI utilities")
     (description "KCoreAddons provides classes built on top of QtCore to
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:12:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:12:53 2022
Received: from localhost ([127.0.0.1]:59993 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanMD-000781-KN
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:12:53 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:33148)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanMC-00077p-53
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:12:52 -0400
Date: Wed, 21 Sep 2022 08:12:33 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719166;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=RZuLimHHAOm/TJoSGpPnt4UqOPd54jRXCsPLpn96pKY=;
 b=odqlJGubNPAqDYecL6OGVTYhkiWaHObkuOHyodUCCv6oT2R/uBuQtBJCGNBiEqEjL4XA/5
 s9h9rHiRyJ2B2r3hHZU15S4hFH53T+lzTtHNoYk0r3iEBT1TnsYJpdR/4ru48RXR9ro8w6
 K+hifO4KFGC3sNfZUEpPyrWcvZHUN1kowIgmzUsm5o33VrxT72OBihUTI8z+QP1MIupiz0
 7phcqKF0Jarjxw6sT51MiwUYjTxTc5kx9kkRtw13w74zWS/YoAUL+GAgsoU6yzQuPCLg69
 UpKygt686NfJshap9jc6C7qbXCvtO6KcecqUyKuk2q+pI+3zJqrfA7wKopEcjQ==
Message-ID: <y76edw5oaa6.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 07/11] gnu: extra-cmake-modules: Update to 5.98.0.
In-Reply-To: <y76fsgloaam.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
 <y76mtatoad0.wl-hako@HIDDEN>
 <y76leqdoack.wl-hako@HIDDEN>
 <y76k05xoabu.wl-hako@HIDDEN>
 <y76illhoabe.wl-hako@HIDDEN>
 <y76h711oab1.wl-hako@HIDDEN>
 <y76fsgloaam.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/kde-frameworks.scm (extra-cmake-modules): Update to 5.98.0.
---
 gnu/packages/kde-frameworks.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 738013fdba..52314fd0ff 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -88,7 +88,7 @@ (define-module (gnu packages kde-frameworks)
 (define-public extra-cmake-modules
   (package
     (name "extra-cmake-modules")
-    (version "5.91.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -97,7 +97,7 @@ (define-public extra-cmake-modules
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0k65rvxh926ya6qahzk2ns7g1fya1429648mlx7iipxa61g8h5wp"))))
+                "0669m98vqy4hpacfjs7xpgjj1bns24kjybrjipxzp82092g8y69w"))))
     (build-system cmake-build-system)
     (native-inputs
      ;; Add test dependency, except on armhf where building it is too
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:12:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:12:37 2022
Received: from localhost ([127.0.0.1]:59990 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanLx-00077X-Bx
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:12:37 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:42228)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanLw-00077K-3o
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:12:36 -0400
Date: Wed, 21 Sep 2022 08:12:17 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719150;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=vCw9lXsXcaIUkTORlM9dL1Rt+pDavfh39EoC6yL9AQo=;
 b=Ui9xetkAXEnqhRAfqLZUDHsFXaI25TM4N72mHJDflGXzl4EGXC2hKnUbusiuoKPCpz+LaS
 Kcj3ShPkYE2rJDw++TXbL3/pJRVSuae5daru8TEEc4onTWeN1CKVQOOV981XHbNtMgs0pc
 0GnWrh4CXf3c7FvRgm/3yBGYZuTENylTkvMkT3OTlFsGTfskiBH70iL6859b29QF6bZ/s+
 xJDkd6GFn6jFrOlpVu29BwFxZeMUns8/dNNr4ma6XfI5kC3XcRJZol7MEyPNpqjoVCfhwp
 W1pL4+EQjfMYw3y5oO2m+OVUWPC/lghC1r0ImhSEgFLYFGdkhbFCNYG2SW6JSA==
Message-ID: <y76fsgloaam.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 06/11] gnu: Add abseil-cpp-cxxstd17.
In-Reply-To: <y76h711oab1.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
 <y76mtatoad0.wl-hako@HIDDEN>
 <y76leqdoack.wl-hako@HIDDEN>
 <y76k05xoabu.wl-hako@HIDDEN>
 <y76illhoabe.wl-hako@HIDDEN>
 <y76h711oab1.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable.
---
 gnu/packages/cpp.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d03e0bc7e1..5e0646444c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1041,6 +1041,15 @@ (define-public abseil-cpp
           `(cons* "-DBUILD_TESTING=ON"
                   (delete "-DABSL_RUN_TESTS=ON" ,flags))))))))
 
+(define-public abseil-cpp-cxxstd17
+  (let ((base abseil-cpp))
+    (hidden-package
+     (package/inherit base
+       (arguments
+        (substitute-keyword-arguments (package-arguments base)
+          ((#:configure-flags flags)
+           #~(cons* "-DCMAKE_CXX_STANDARD=17" #$flags))))))))
+
 (define-public pegtl
   (package
     (name "pegtl")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:12:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:12:23 2022
Received: from localhost ([127.0.0.1]:59987 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanLi-000775-Tx
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:12:23 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:46988)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanLh-00076l-Ap
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:12:21 -0400
Date: Wed, 21 Sep 2022 08:12:02 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719135;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=lpxIVZTvBIdoeABtal0DjVB5uIsxmSTVSBCN7ZC7T2c=;
 b=rDuykDuOhGF4Kr+SI6iiVW7kajJO/BU9/Q3zZRD4ymyxTynYduL6xsqHgJBKcJqD4UnMw4
 jPvBQeamHtHouDj5I0kfKJi1ln3Y9sfGGSDPTy6cdBp71X8pGTg3vcMDdO79ueEhTutC84
 CMU0GA743oouIsTp5eeMBzgbInopy5GzxCeRNc5yd+HAcE5gjdlPj/ZRLINJejhBqyILAY
 kjbl1FAfWvXmKLmqx8Wu0F8QCvs8PYSZC55Ym+VMG51+fDIp/lC9PLXlShzkw0ZTrA87Sv
 0EuKOOph3ZqjAqKv7SRClz5djV/lp0BIM1pCLNMuZb2hswaycMI6/7Eko9QIjA==
Message-ID: <y76h711oab1.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 05/11] gnu: telegram-desktop: Change API ID.
In-Reply-To: <y76illhoabe.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
 <y76mtatoad0.wl-hako@HIDDEN>
 <y76leqdoack.wl-hako@HIDDEN>
 <y76k05xoabu.wl-hako@HIDDEN>
 <y76illhoabe.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/telegram.scm (telegram-desktop)[arguments]<#:configure-flags>:
Use API ID from Telegram's official Snap builds.
---
 gnu/packages/telegram.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 8cb6739979..b67f0358a7 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -493,12 +493,12 @@ (define-public telegram-desktop
              (guix build utils)
              (ice-9 match))
            #:configure-flags
-           #~`(;; Client applications must provide their own API-ID and API-HASH,
-               ;; see also <https://core.telegram.org/api/obtaining_api_id>.
-               ;; In case, that the credentials below fail to work, contact
-               ;;   Raghav Gururajan <rg@HIDDEN>
-               "-DTDESKTOP_API_ID=2791056"
-               "-DTDESKTOP_API_HASH=582d6d0b44f7a2de949e99271fd8b3f2"
+           #~`(;; Client applications need an API ID and hash, see also:
+               ;; <https://core.telegram.org/api/obtaining_api_id>. Here, we
+               ;; use the ones given by the official Snap package, see:
+               ;; <https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml>.
+               "-DTDESKTOP_API_ID=611335"
+               "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
                ;; Disable WebkitGTK support as it fails to link
                "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
                ;; Use bundled fonts as fallback.
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:12:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:12:17 2022
Received: from localhost ([127.0.0.1]:59984 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanLc-00076m-E7
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:12:17 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:58208)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanLV-00076S-C3
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:12:14 -0400
Date: Wed, 21 Sep 2022 08:11:49 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719122;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=5giSTag82DoOGtTfjbHm6xeqqVRvc4iaY3CX87t+LBg=;
 b=lnDRo3ZpJlMfUC6oH+aRjJvqCQ2MWJJyDVJMUWVddL7SWp9fiyb3KlsJYofkEb6FajEAaa
 OFrpZMt8S8gO4zRphjM77uCOUemsGV0XRDIycOmfGxUfye5z9adiRKjjXMk5jLKA6QtGR+
 pZH2WBecs+J7X8Aho4dPoeTK7iM2UKfyGd33NjCFi9Tyw8LgltHsQecLcE2dLbSyFRp21E
 DubEx3iIi2CIyOlybH4Ab3XQS50IF+gBWsfhD3YuO9kael64dNFEEn4MBGYhEtggRj7Col
 ec1fWZPZ3Vb23MxQqTrkhloqxkCWM9oCcEgbpm7p374yoID7EST5tXlDV3j7Pw==
Message-ID: <y76illhoabe.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 04/11] gnu: telegram-desktop: Use modern package style.
In-Reply-To: <y76k05xoabu.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
 <y76mtatoad0.wl-hako@HIDDEN>
 <y76leqdoack.wl-hako@HIDDEN>
 <y76k05xoabu.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/telegram.scm (%telegram-version)
(cmake-helpers-for-telegram-desktop,codegen-for-telegram-desktop)
(lib-base-for-telegram-desktop,lib-crl-for-telegram-desktop)
(lib-lottie-for-telegram-desktop,lib-qr-for-telegram-desktop)
(lib-rlottie-for-telegram-desktop,lib-rpl-for-telegram-desktop)
(lib-spellcheck-for-telegram-desktop,lib-storage-for-telegram-desktop)
(lib-tl-for-telegram-desktop,lib-ui-for-telegram-desktop)
(lib-waylandshells-for-telegram-desktop,lib-webrtc-for-telegram-desktop)
(lib-webview-for-telegram-desktop,tgcalls-for-telegram-desktop): New variables
(rlottie-for-telegram-desktop,libtgvoip-for-telegram-desktop): Use
%telegram-version for version.
(telegram-desktop): Use modern package style.
Use %telegram-version for version.
[native-inputs,inputs]: Remove sources in favor of variables.
[arguments]<#:phases>: Copy sources with gexp.
---
 gnu/packages/telegram.scm | 738 +++++++++++++++++++-------------------
 1 file changed, 370 insertions(+), 368 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index b9844c75f4..8cb6739979 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -72,6 +72,8 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
 
+(define %telegram-version "2.9.3")
+
 (define libvpx-for-telegram-desktop
   (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
         (revision "112"))
@@ -102,6 +104,198 @@ (define libyuv-for-telegram-desktop
        (base32
         "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
 
+(define cmake-helpers-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/cmake_helpers.git")
+          (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
+    (file-name
+     (git-file-name "cmake-helpers-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
+
+(define codegen-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/codegen.git")
+          (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
+    (file-name
+     (git-file-name "codegen-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
+
+(define lib-base-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_base.git")
+          (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
+    (file-name
+     (git-file-name "lib-base-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
+
+(define lib-crl-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_crl.git")
+          (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
+    (file-name
+     (git-file-name "lib-crl-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
+
+(define lib-lottie-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_lottie.git")
+          (commit "0770df009db7928df1d0cad0900dc5110106d229")))
+    (file-name
+     (git-file-name "lib-lottie-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
+
+(define lib-qr-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_qr.git")
+          (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
+    (file-name
+     (git-file-name "lib-qr-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
+
+(define lib-rlottie-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_rlottie.git")
+          (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
+    (file-name
+     (git-file-name "lib-rlottie-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
+
+(define lib-rpl-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_rpl.git")
+          (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
+    (file-name
+     (git-file-name "lib-rpl-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
+
+(define lib-spellcheck-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_spellcheck.git")
+          (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
+    (file-name
+     (git-file-name "lib-spellcheck-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
+
+(define lib-storage-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_storage.git")
+          (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
+    (file-name
+     (git-file-name "lib-storage-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
+
+(define lib-tl-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_tl.git")
+          (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
+    (file-name
+     (git-file-name "lib-tl-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
+
+(define lib-ui-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_ui.git")
+          (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
+    (file-name
+     (git-file-name "lib-ui-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
+
+(define lib-waylandshells-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_waylandshells.git")
+          (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
+    (file-name
+     (git-file-name "lib-waylandshells-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
+
+(define lib-webrtc-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_webrtc.git")
+          (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
+    (file-name
+     (git-file-name "lib-webrtc-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
+
+(define lib-webview-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_webview.git")
+          (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
+    (file-name
+     (git-file-name "lib-webview-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
+
+(define tgcalls-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/TelegramMessenger/tgcalls.git")
+          (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
+    (file-name
+     (git-file-name "tgcalls-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
+
 (define-public webrtc-for-telegram-desktop
   (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
         (revision "166"))
@@ -192,84 +386,75 @@ (define-public webrtc-for-telegram-desktop
          license:bsd-3))))))
 
 (define-public rlottie-for-telegram-desktop
-  (let ((commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")
-        (revision "671"))
-    (hidden-package
-     (package
-       (inherit rlottie)
-       (version
-        (git-version "0.0.1" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/desktop-app/rlottie.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "rlottie-for-telegram-desktop" version))
-          (sha256
-           (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "-Dlog=true"
-           "-Ddumptree=true"
-           "-Dtest=true")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-cxx-flags
-              (lambda _
-                (substitute* "meson.build"
-                  (("werror=true")
-                   "werror=false"))
-                #t)))))))))
+  (hidden-package
+   (package
+     (inherit rlottie)
+     (version %telegram-version)
+     (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+              (url "https://github.com/desktop-app/rlottie.git")
+              (commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")))
+        (file-name
+         (git-file-name "rlottie-for-telegram-desktop" version))
+        (sha256
+         (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c"))))
+     (arguments
+      `(#:configure-flags
+        (list
+         "-Dlog=true"
+         "-Ddumptree=true"
+         "-Dtest=true")
+        #:phases
+        (modify-phases %standard-phases
+          (add-after 'unpack 'patch-cxx-flags
+            (lambda _
+              (substitute* "meson.build"
+                (("werror=true")
+                 "werror=false"))
+              #t))))))))
 
 (define-public libtgvoip-for-telegram-desktop
-  (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
-        (revision "88"))
-    (hidden-package
-     (package
-       (inherit libtgvoip)
-       (version
-        (git-version "2.4.4" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/telegramdesktop/libtgvoip.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "libtgvoip-for-telegram-desktop" version))
-          (sha256
-           (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "--disable-static"
-           "--disable-dsp"              ; FIXME
-           "--enable-audio-callback"
-           "--with-alsa"
-           "--with-pulse")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-linkers
-              (lambda _
-                (substitute* "Makefile.am"
-                  (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
-                   "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)"))
-                (substitute* "tgvoip.pc.in"
-                  (("libcrypto opus")
-                   "libcrypto opus alsa libpulse"))
-                #t)))))
-       (native-inputs
-        (list autoconf automake libtool pkg-config))))))
+  (hidden-package
+   (package
+     (inherit libtgvoip)
+     (version %telegram-version)
+     (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+              (url "https://github.com/telegramdesktop/libtgvoip.git")
+              (commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")))
+        (file-name
+         (git-file-name "libtgvoip-for-telegram-desktop" version))
+        (sha256
+         (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
+     (arguments
+      `(#:configure-flags
+        (list
+         "--disable-static"
+         "--disable-dsp"              ; FIXME
+         "--enable-audio-callback"
+         "--with-alsa"
+         "--with-pulse")
+        #:phases
+        (modify-phases %standard-phases
+          (add-after 'unpack 'patch-linkers
+            (lambda _
+              (substitute* "Makefile.am"
+                (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
+                 "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)"))
+              (substitute* "tgvoip.pc.in"
+                (("libcrypto opus")
+                 "libcrypto opus alsa libpulse"))
+              #t)))))
+     (native-inputs (list autoconf automake libtool pkg-config)))))
 
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-    (version "2.9.3")
+    (version %telegram-version)
     (source
      (origin
        (method git-fetch)
@@ -286,306 +471,123 @@ (define-public telegram-desktop
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
-        `(begin
-           (let ((keep
-                  '( ;; Not available in Guix.
-                    "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
-             (with-directory-excursion "Telegram/ThirdParty"
-               (for-each delete-file-recursively
-                         (lset-difference string=?
-                                          (scandir ".")
-                                          (cons* "." ".." keep)))))))))
+        #~(begin
+            (let ((keep
+                   '( ;; Not available in Guix.
+                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+              (with-directory-excursion "Telegram/ThirdParty"
+                (for-each delete-file-recursively
+                          (lset-difference string=?
+                                           (scandir ".")
+                                           (cons* "." ".." keep)))))))))
     (build-system qt-build-system)
     (arguments
-     `(#:tests? #f                      ; No target
-       #:imported-modules
-       (,@%qt-build-system-modules
-        (guix build glib-or-gtk-build-system))
-       #:modules
-       ((guix build qt-build-system)
-        ((guix build glib-or-gtk-build-system)
-         #:prefix glib-or-gtk:)
-        (guix build utils)
-        (ice-9 match))
-       #:configure-flags
-       (list
-        ;; Client applications must provide their own API-ID and API-HASH,
-        ;; see also <https://core.telegram.org/api/obtaining_api_id>.
-        ;; In case, that the credentials below fail to work, contact
-        ;;   Raghav Gururajan <rg@HIDDEN>
-        "-DTDESKTOP_API_ID=2791056"
-        "-DTDESKTOP_API_HASH=582d6d0b44f7a2de949e99271fd8b3f2"
-        ;; Disable WebkitGTK support as it fails to link
-        "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
-        ;; Use bundled fonts as fallback.
-        "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'make-writable
-           (lambda _
-             (for-each make-file-writable (find-files "."))))
-         (add-after 'make-writable 'copy-inputs
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (for-each
-              (match-lambda
-                ((dst src)
-                 (copy-recursively src dst)
-                 (for-each make-file-writable (find-files dst))))
-              `(("cmake" ,(assoc-ref inputs "cmake-helpers"))
-                ("Telegram/codegen" ,(assoc-ref inputs "codegen-source"))
-                ("Telegram/lib_base" ,(assoc-ref inputs "lib-base-source"))
-                ("Telegram/lib_crl" ,(assoc-ref inputs "lib-crl-source"))
-                ("Telegram/lib_lottie"
-                 ,(assoc-ref inputs "lib-lottie-source"))
-                ("Telegram/lib_qr" ,(assoc-ref inputs "lib-qr-source"))
-                ("Telegram/lib_rlottie"
-                 ,(assoc-ref inputs "lib-rlottie-source"))
-                ("Telegram/lib_rpl" ,(assoc-ref inputs "lib-rpl-source"))
-                ("Telegram/lib_spellcheck"
-                 ,(assoc-ref inputs "lib-spellcheck-source"))
-                ("Telegram/lib_storage"
-                 ,(assoc-ref inputs "lib-storage-source"))
-                ("Telegram/lib_tl" ,(assoc-ref inputs "lib-tl-source"))
-                ("Telegram/lib_ui" ,(assoc-ref inputs "lib-ui-source"))
-                ("Telegram/lib_waylandshells" ,(assoc-ref inputs "lib-waylandshells-source"))
-                ("Telegram/lib_webrtc" ,(assoc-ref inputs "lib-webrtc-source"))
-                ("Telegram/lib_webview" ,(assoc-ref inputs "lib-webview-source"))
-                ("Telegram/ThirdParty/tgcalls" ,(assoc-ref inputs "tgcalls-source"))))))
-         (add-before 'configure 'patch-cxx-flags
-           (lambda _
-             (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
-         (add-after 'install 'glib-or-gtk-compile-schemas
-           (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
-         (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
-           (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
+     (list #:tests? #f                      ; No target
+           #:imported-modules
+           `(,@%qt-build-system-modules
+             (guix build glib-or-gtk-build-system))
+           #:modules
+           '((guix build qt-build-system)
+             ((guix build glib-or-gtk-build-system)
+              #:prefix glib-or-gtk:)
+             (guix build utils)
+             (ice-9 match))
+           #:configure-flags
+           #~`(;; Client applications must provide their own API-ID and API-HASH,
+               ;; see also <https://core.telegram.org/api/obtaining_api_id>.
+               ;; In case, that the credentials below fail to work, contact
+               ;;   Raghav Gururajan <rg@HIDDEN>
+               "-DTDESKTOP_API_ID=2791056"
+               "-DTDESKTOP_API_HASH=582d6d0b44f7a2de949e99271fd8b3f2"
+               ;; Disable WebkitGTK support as it fails to link
+               "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
+               ;; Use bundled fonts as fallback.
+               "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'make-writable
+                 (lambda _
+                   (for-each make-file-writable (find-files "."))))
+               (add-after 'make-writable 'copy-inputs
+                 (lambda _
+                   (for-each
+                    (match-lambda
+                      ((dst src)
+                       (copy-recursively src dst)
+                       (for-each make-file-writable (find-files dst))))
+                    '(("cmake" #$cmake-helpers-for-telegram-desktop)
+                      ("Telegram/codegen" #$codegen-for-telegram-desktop)
+                      ("Telegram/lib_base" #$lib-base-for-telegram-desktop)
+                      ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
+                      ("Telegram/lib_lottie" #$lib-lottie-for-telegram-desktop)
+                      ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
+                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-desktop)
+                      ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
+                      ("Telegram/lib_spellcheck" #$lib-spellcheck-for-telegram-desktop)
+                      ("Telegram/lib_storage" #$lib-storage-for-telegram-desktop)
+                      ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
+                      ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
+                      ("Telegram/lib_waylandshells" #$lib-waylandshells-for-telegram-desktop)
+                      ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-desktop)
+                      ("Telegram/lib_webview" #$lib-webview-for-telegram-desktop)
+                      ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
+               (add-before 'configure 'patch-cxx-flags
+                 (lambda _
+                   (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
+               (add-after 'install 'glib-or-gtk-compile-schemas
+                 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
+               (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
+                 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
     (native-inputs
-     `(("cmake-helpers"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/cmake_helpers.git")
-             (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
-           (file-name
-            (git-file-name "cmake-helpers-for-telegram-desktop" version))
-           (sha256
-            (base32 "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
-       ("cmake-shared" ,cmake-shared)
-       ("extra-cmake-modules" ,extra-cmake-modules)
-       ("glib:bin" ,glib "bin")
-       ("gobject-introspection" ,gobject-introspection)
-       ("gtk+:bin" ,gtk+ "bin")
-       ("pkg-config" ,pkg-config)
-       ("python" ,python-wrapper)
-       ("qttools-5" ,qttools-5)))
+     (list cmake-shared
+           extra-cmake-modules
+           `(,glib "bin")
+           `(,gtk+ "bin")
+           pkg-config
+           python-wrapper
+           qttools-5))
     (inputs
-     `(("alsa" ,alsa-lib)
-       ("c++-gsl" ,c++-gsl)
-       ("catch" ,catch2)
-       ("codegen-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/codegen.git")
-             (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
-           (file-name
-            (git-file-name "codegen" version))
-           (sha256
-            (base32 "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
-       ("expected" ,libexpected)
-       ("fcitx-qt5" ,fcitx-qt5)
-       ("fcitx5-qt" ,fcitx5-qt)
-       ("ffmpeg" ,ffmpeg)
-       ("glib" ,glib)
-       ("glibmm" ,glibmm-2.64)
-       ("gtk+" ,gtk+)
-       ("hime" ,hime)
-       ("hunspell" ,hunspell)
-       ("jemalloc" ,jemalloc)
-       ("kwayland" ,kwayland)
-       ("lib-base-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_base.git")
-             (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
-           (file-name
-            (git-file-name "lib-base-for-telegram-desktop" version))
-           (sha256
-            (base32 "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
-       ("lib-crl-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_crl.git")
-             (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
-           (file-name
-            (git-file-name "lib-crl-for-telegram-desktop" version))
-           (sha256
-            (base32 "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
-       ("lib-lottie-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_lottie.git")
-             (commit "0770df009db7928df1d0cad0900dc5110106d229")))
-           (file-name
-            (git-file-name "lib-lottie-for-telegram-desktop" version))
-           (sha256
-            (base32 "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
-       ("lib-qr-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_qr.git")
-             (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
-           (file-name
-            (git-file-name "lib-qr-for-telegram-desktop" version))
-           (sha256
-            (base32 "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
-       ("lib-rlottie-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_rlottie.git")
-             (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
-           (file-name
-            (git-file-name "lib-rlottie-for-telegram-desktop" version))
-           (sha256
-            (base32 "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
-       ("lib-rpl-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_rpl.git")
-             (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
-           (file-name
-            (git-file-name "lib-rpl-for-telegram-desktop" version))
-           (sha256
-            (base32 "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
-       ("lib-spellcheck-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_spellcheck.git")
-             (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
-           (file-name
-            (git-file-name "lib-spellcheck-for-telegram-desktop" version))
-           (sha256
-            (base32 "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
-       ("lib-storage-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_storage.git")
-             (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
-           (file-name
-            (git-file-name "lib-storage-for-telegram-desktop" version))
-           (sha256
-            (base32 "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
-       ("lib-tl-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_tl.git")
-             (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
-           (file-name
-            (git-file-name "lib-tl-for-telegram-desktop" version))
-           (sha256
-            (base32 "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
-       ("lib-ui-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_ui.git")
-             (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
-           (file-name
-            (git-file-name "lib-ui-for-telegram-desktop" version))
-           (sha256
-            (base32 "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
-       ("lib-waylandshells-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_waylandshells.git")
-             (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
-           (file-name
-            (git-file-name "lib-waylandshells-for-telegram-desktop" version))
-           (sha256
-            (base32 "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
-       ("lib-webrtc-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_webrtc.git")
-             (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
-           (file-name
-            (git-file-name "lib-webrtc-for-telegram-desktop" version))
-           (sha256
-            (base32 "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
-       ("lib-webview-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_webview.git")
-             (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
-           (file-name
-            (git-file-name "lib-webview-for-telegram-desktop" version))
-           (sha256
-            (base32 "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
-       ("libdbusmenu-qt" ,libdbusmenu-qt)
-       ("libjpeg" ,libjpeg-turbo)
-       ("libtgvoip" ,libtgvoip-for-telegram-desktop)
-       ("lz4" ,lz4)
-       ("materialdecoration" ,materialdecoration)
-       ("minizip" ,minizip)
-       ("nimf" ,nimf)
-       ("openal" ,openal)
-       ("openssl" ,openssl)
-       ("opus" ,opus)
-       ("pulseaudio" ,pulseaudio)
-       ("qrcodegen" ,qrcodegen-cpp)
-       ("qt" ,qtbase-5)
-       ("qtsvg-5" ,qtsvg-5)
-       ("qt5ct" ,qt5ct)
-       ("qtimageformats" ,qtimageformats)
-       ("qtwayland" ,qtwayland)
-       ("range-v3" ,range-v3)
-       ("rlottie" ,rlottie-for-telegram-desktop)
-       ("rnnoise" ,rnnoise)
-       ("tgcalls-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/TelegramMessenger/tgcalls.git")
-             (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
-           (file-name
-            (git-file-name "tgcalls-for-telegram-desktop" version))
-           (sha256
-            (base32 "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
-       ("webrtc" ,webrtc-for-telegram-desktop)
-       ("x11" ,libx11)
-       ("xcb" ,libxcb)
-       ("xcb-keysyms" ,xcb-util-keysyms)
-       ("xxhash" ,xxhash)
-       ("zlib" ,zlib)))
-    (propagated-inputs
-     (list dconf))
+     (list alsa-lib
+           c++-gsl
+           catch2
+           libexpected
+           fcitx-qt5
+           fcitx5-qt
+           ffmpeg
+           glib
+           glibmm-2.64
+           gtk+
+           hime
+           hunspell
+           jemalloc
+           kwayland
+           libdbusmenu-qt
+           libjpeg-turbo
+           libtgvoip-for-telegram-desktop
+           lz4
+           materialdecoration
+           minizip
+           nimf
+           openal
+           openssl
+           opus
+           pulseaudio
+           qrcodegen-cpp
+           qtbase-5
+           qtsvg-5
+           qt5ct
+           qtimageformats
+           qtwayland
+           range-v3
+           rlottie-for-telegram-desktop
+           rnnoise
+           webrtc-for-telegram-desktop
+           libx11
+           libxcb
+           xcb-util-keysyms
+           xxhash
+           zlib))
+    (propagated-inputs (list dconf))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:11:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:11:54 2022
Received: from localhost ([127.0.0.1]:59978 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanLF-00075b-QX
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:11:54 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:45822)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanLE-00075M-7E
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:11:52 -0400
Date: Wed, 21 Sep 2022 08:11:33 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719106;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=3+H988+9OykhSNy0hzJZ6Ic28AWXy0MvzutODQiTazU=;
 b=s+sWkcWRIt84d49YIqzmwuGX4fK+cBOJY66XiblYl7x7MNi4leW6rsPt16JBBOmZh+G3Nq
 fTEkAP/oZ4ORp2aEhFaK/d6w14k7fnPlRkTXg1Blaj2WjGl85OQF/H1cZkP45Nwk7rY4iZ
 X4X78KLikfKxrd7pPF3OARgu4Xw0FtF7eRNdh9ZLcqgavCtIpDdjcPRLAZjfeZe+g50Txh
 r66/KrTsawGE9OH7gt48q1PCG2jL/EOGEvs/myCLuMCENCIiWk6ACyGrNRRvt2PdkiqNi7
 DWvPQXAY77ncARhmq/1QFPosFbQZFGQJdHvqwRo1ho6vvhh15aAgb8StUHEMSg==
Message-ID: <y76k05xoabu.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 03/11] gnu: webrtc-for-telegram-desktop: Use modern package
 style.
In-Reply-To: <y76leqdoack.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
 <y76mtatoad0.wl-hako@HIDDEN>
 <y76leqdoack.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/telegram.scm (libvpx-for-telegram-desktop)
(libyuv-for-telegram-desktop): New variables.
(webrtc-for-telegram-desktop): Use modern package style.
[inputs]: Remove sources in favor of variables.
[arguments]<#:phases>: Copy sources with gexp.
---
 gnu/packages/telegram.scm | 148 +++++++++++++++++++-------------------
 1 file changed, 75 insertions(+), 73 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 08a72d2e0f..b9844c75f4 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -62,6 +62,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
+  #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system copy)
@@ -71,6 +72,36 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))
 
+(define libvpx-for-telegram-desktop
+  (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
+        (revision "112"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://chromium.googlesource.com/webm/libvpx")
+            (commit commit)))
+      (file-name (git-file-name
+                  "libvpx-for-telegram-desktop"
+                  (git-version "1.9.0" revision commit)))
+      (sha256
+       (base32
+        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
+
+(define libyuv-for-telegram-desktop
+  (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
+        (revision "2211"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://chromium.googlesource.com/libyuv/libyuv")
+            (commit commit)))
+      (file-name (git-file-name
+                  "libyuv-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
+
 (define-public webrtc-for-telegram-desktop
   (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
         (revision "166"))
@@ -94,82 +125,53 @@ (define-public webrtc-for-telegram-desktop
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
-           `(begin
-              (let ((keep
-                     '( ;; Custom forks which are incompatible with the ones in Guix.
-                       "abseil-cpp" "libsrtp" "openh264" "rnnoise"
-                       ;; Not available in Guix.
-                       "pffft" "usrsctp"
-                       ;; Has cmake support files for libvpx input.
-                       "libvpx")))
-                (with-directory-excursion "src/third_party"
-                  (for-each delete-file-recursively
-                            (lset-difference string=?
-                                             (scandir ".")
-                                             (cons* "." ".." keep)))))))))
+           #~(begin
+               (let ((keep
+                      '( ;; Custom forks which are incompatible with the ones in Guix.
+                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                        ;; Not available in Guix.
+                        "pffft" "usrsctp"
+                        ;; Has cmake support files for libvpx input.
+                        "libvpx")))
+                 (with-directory-excursion "src/third_party"
+                   (for-each delete-file-recursively
+                             (lset-difference string=?
+                                              (scandir ".")
+                                              (cons* "." ".." keep)))))))))
        (build-system cmake-build-system)
        (arguments
-        `(#:tests? #f                   ; No target
-          #:configure-flags
-          (list
-           "-DCMAKE_C_FLAGS=-fPIC"
-           "-DCMAKE_CXX_FLAGS=-fPIC")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'copy-inputs
-              (lambda* (#:key inputs outputs #:allow-other-keys)
-                (let* ((libvpx-from (assoc-ref inputs "libvpx"))
-                       (libyuv-from (assoc-ref inputs "libyuv"))
-                       (libvpx-to (string-append (getcwd)
-                                                 "/src/third_party/libvpx/source/libvpx"))
-                       (libyuv-to (string-append (getcwd)
-                                                 "/src/third_party/libyuv")))
-                  (copy-recursively libvpx-from libvpx-to)
-                  (copy-recursively libyuv-from libyuv-to)))))))
-       (native-inputs
-        `(("perl" ,perl)
-          ("pkg-config" ,pkg-config)
-          ("python" ,python-wrapper)
-          ("yasm" ,yasm)))
+        (list #:tests? #f               ; No target
+              #:configure-flags
+              #~`("-DCMAKE_C_FLAGS=-fPIC"
+                  "-DCMAKE_CXX_FLAGS=-fPIC")
+              #:phases
+              #~(modify-phases %standard-phases
+                  (add-after 'unpack 'copy-inputs
+                    (lambda _
+                      (let* ((libvpx-to (string-append (getcwd)
+                                                       "/src/third_party/libvpx/source/libvpx"))
+                             (libyuv-to (string-append (getcwd)
+                                                       "/src/third_party/libyuv")))
+                        (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
+                        (copy-recursively #$libyuv-for-telegram-desktop libyuv-to)))))))
+       (native-inputs (list perl pkg-config python-wrapper yasm))
        (inputs
-        `(("alsa" ,alsa-lib)
-          ("ffmpeg" ,ffmpeg)
-          ("libjpeg" ,libjpeg-turbo)
-          ("glib" ,glib)
-          ("libvpx"
-           ,(origin
-              (method git-fetch)
-              (uri
-               (git-reference
-                (url "https://chromium.googlesource.com/webm/libvpx")
-                (commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")))
-              (file-name
-               (git-file-name "libvpx-for-webrtc-for-telegram-desktop" version))
-              (sha256
-               (base32 "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68"))))
-          ("libyuv"
-           ,(origin
-              (method git-fetch)
-              (uri
-               (git-reference
-                (url "https://chromium.googlesource.com/libyuv/libyuv")
-                (commit "ad890067f661dc747a975bc55ba3767fe30d4452")))
-              (file-name
-               (git-file-name "libyuv-for-webrtc-for-telegram-desktop" version))
-              (sha256
-               (base32 "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll"))))
-          ("libxcomposite" ,libxcomposite)
-          ("libxdamage" ,libxdamage)
-          ("libxrender" ,libxrender)
-          ("libxrandr" ,libxrandr)
-          ("openssl" ,openssl)
-          ("opus" ,opus)
-          ("pipewire" ,pipewire)
-          ("protobuf" ,protobuf)
-          ("pulseaudio" ,pulseaudio)
-          ("x11" ,libx11)
-          ("xext" ,libxext)
-          ("xtst" ,libxtst)))
+        (list alsa-lib
+              ffmpeg
+              libjpeg-turbo
+              glib
+              libxcomposite
+              libxdamage
+              libxrender
+              libxrandr
+              openssl
+              opus
+              pipewire
+              protobuf
+              pulseaudio
+              libx11
+              libxext
+              libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
 Telegram project, for its use in telegram desktop client.")
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:11:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:11:28 2022
Received: from localhost ([127.0.0.1]:59975 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanKq-00074v-Cv
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:11:28 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:46446)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanKn-00074h-Sm
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:11:26 -0400
Date: Wed, 21 Sep 2022 08:11:07 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719080;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=8PcdcWbDqzFjU92GWW9QTBM/6zX0sbtpmFO2Pze2Vu0=;
 b=buH5ubY/EUFP6Yy8di+Kf97a8b8UQyP795uB1Dq75L1nKEAUV73uJfekxZne/cxMQ2sop/
 JUr4z75MM1cRkt6UEIBynwI81xO6cUWOqHDohiFZF4z3s1T1VSQO/ffeaZPjskRBrtjeZr
 ODondbmaNeJE364GzOdN5wLiAdzKZRbIT9DiO6R3ucVHZrdSnyDSJCXu7cx9eqySoyl6S1
 cQA3nElFJXOG/wcIBhRKhR1Xenfjd1VdPHXanIghKmWR3/UKKjg71QCPFJ+83B0KjuTH6+
 qaCMpTdS8SgLNgKCY05E2EFBANsoyLa2aOXm5B98/JFeX07BStHUfX8ZIji9kw==
Message-ID: <y76leqdoack.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 02/11] gnu: telegram-desktop: Delete trailing #t.
In-Reply-To: <y76mtatoad0.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
 <y76mtatoad0.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/telegram.scm (telegram-desktop): Delete trailing #t.
---
 gnu/packages/telegram.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index ae1b727df7..08a72d2e0f 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -292,8 +292,7 @@ (define-public telegram-desktop
                (for-each delete-file-recursively
                          (lset-difference string=?
                                           (scandir ".")
-                                          (cons* "." ".." keep))))
-             #t)))))
+                                          (cons* "." ".." keep)))))))))
     (build-system qt-build-system)
     (arguments
      `(#:tests? #f                      ; No target
@@ -322,8 +321,7 @@ (define-public telegram-desktop
        (modify-phases %standard-phases
          (add-after 'unpack 'make-writable
            (lambda _
-             (for-each make-file-writable (find-files "."))
-             #t))
+             (for-each make-file-writable (find-files "."))))
          (add-after 'make-writable 'copy-inputs
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (for-each
@@ -350,14 +348,10 @@ (define-public telegram-desktop
                 ("Telegram/lib_waylandshells" ,(assoc-ref inputs "lib-waylandshells-source"))
                 ("Telegram/lib_webrtc" ,(assoc-ref inputs "lib-webrtc-source"))
                 ("Telegram/lib_webview" ,(assoc-ref inputs "lib-webview-source"))
-                ("Telegram/ThirdParty/tgcalls"
-                 ,(assoc-ref inputs "tgcalls-source"))))
-             #t))
+                ("Telegram/ThirdParty/tgcalls" ,(assoc-ref inputs "tgcalls-source"))))))
          (add-before 'configure 'patch-cxx-flags
            (lambda _
-             (substitute* "cmake/options_linux.cmake"
-               (("class-memaccess") "all"))
-             #t))
+             (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
          (add-after 'install 'glib-or-gtk-compile-schemas
            (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
          (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:11:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:11:16 2022
Received: from localhost ([127.0.0.1]:59972 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanKe-00074V-1g
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:11:16 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:37040)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanKY-00074D-BD
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:11:14 -0400
Date: Wed, 21 Sep 2022 08:10:51 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719064;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=anKnVMomVS0LMmo4DNH+fjOQNT8+vfrbgcv2wf+oVTM=;
 b=MKQGbfsGFfq9sx6blOc2y2oegh5AzyfTnSqwFolzXtyyxJGyx/HDufXnDvo5/bCetiho7Q
 dxTKpLEg/ZOARKu8r+I66ZkHyPNGCXrZYdYYUitjYjxE+vYXnRwithUyxJXeJsNO6RmJIy
 b/TlQgrCrq8TgT6uBZ8ZjsAHVEqz4bgPNkeShKnYjZzEwiJPdLRTRpjZDbM1cxNrXpo6g2
 ttVkDpYagEioMBQ0WbnoRUODJUXKqM1LD03Gd4mnj0H5EBXkFYip4NS3iO84wzSS1e0qop
 PjYG7YvwgZRuclt9K/Sa8aDEGW1Y8CwJu6i7FXxkBTv+XS4QR2Uk7JTSCQLqgg==
Message-ID: <y76mtatoad0.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 01/11] gnu: webrtc-for-telegram-desktop: Delete trailing #t.
In-Reply-To: <y76o7v9oadu.wl-hako@HIDDEN>
References: <y76o7v9oadu.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/telegram.scm (webrtc-for-telegram-desktop): Delete trailing #t.
---
 gnu/packages/telegram.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 1a22d230d2..ae1b727df7 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -106,8 +106,7 @@ (define-public webrtc-for-telegram-desktop
                   (for-each delete-file-recursively
                             (lset-difference string=?
                                              (scandir ".")
-                                             (cons* "." ".." keep))))
-                #t)))))
+                                             (cons* "." ".." keep)))))))))
        (build-system cmake-build-system)
        (arguments
         `(#:tests? #f                   ; No target
@@ -126,8 +125,7 @@ (define-public webrtc-for-telegram-desktop
                        (libyuv-to (string-append (getcwd)
                                                  "/src/third_party/libyuv")))
                   (copy-recursively libvpx-from libvpx-to)
-                  (copy-recursively libyuv-from libyuv-to))
-                #t)))))
+                  (copy-recursively libyuv-from libyuv-to)))))))
        (native-inputs
         `(("perl" ,perl)
           ("pkg-config" ,pkg-config)
-- 
2.37.3





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 21 Sep 2022 00:10:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 20:10:53 2022
Received: from localhost ([127.0.0.1]:59968 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oanKG-00073V-Oz
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:10:52 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:47160)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oanKE-00073H-Ty
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 20:10:51 -0400
Date: Wed, 21 Sep 2022 08:10:21 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663719043;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type;
 bh=P14e24yP/8gnO3LSfAOcyn4zYIHxDit3gx6bWp5OfsU=;
 b=BkyuF9oy8oof/SJd5WUC1sOPLSDIo1uFoR6ZWrStUhHw00M+xpY7APlsAtk+p+qL+v+AUx
 aUGUEKvFCkstBQig7hKrDBVxDZOf0TZbt3U1ZZXTrb0dSJGq4U4JZFVjW2wLNrhPFMuHRP
 aVwKXIr2QxYi2GWMQhhU71o2T90jRaO7uvRStzgmZ9yJ9lJU6FUU1PypFLUCkA9p3xx2qe
 zAK2s7DOaQnBTFsP+C3CmIpOgipHXC+FjrLQ9GO8B+ows24iRmiGcAiI+7eBvbGC7GRuNw
 END9uV1ToWoK3leKNoxMLNoLeT0ZeINraVZG4zXzZHgGtbNVCqj0nToRJQH9DQ==
Message-ID: <y76o7v9oadu.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v7 00/11] gnu: telegram-desktop: Update to 4.2.0.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


v6 -> v7: Unbundle libtgvoip.

Hilton Chain (11):
  gnu: webrtc-for-telegram-desktop: Delete trailing #t.
  gnu: telegram-desktop: Delete trailing #t.
  gnu: webrtc-for-telegram-desktop: Use modern package style.
  gnu: telegram-desktop: Use modern package style.
  gnu: telegram-desktop: Change API ID.
  gnu: Add abseil-cpp-cxxstd17.
  gnu: extra-cmake-modules: Update to 5.98.0.
  gnu: kcoreaddons: Remove trailing #t.
  gnu: kcoreaddons: Update to 5.98.0.
  gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
  gnu: telegram-desktop: Update to 4.2.0.

 gnu/local.mk                                  |   2 +
 gnu/packages/cpp.scm                          |   9 +
 gnu/packages/kde-frameworks.scm               |  23 +-
 ...gram-desktop-allow-disable-libtgvoip.patch | 125 +++
 ...r-telegram-desktop-fix-gcc12-cstdint.patch |  21 +
 gnu/packages/telegram.scm                     | 868 ++++++++----------
 6 files changed, 570 insertions(+), 478 deletions(-)
 create mode 100644 gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch


base-commit: f256614891335e250207edab129bdf8601c22774
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 17:15:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 13:15:36 2022
Received: from localhost ([127.0.0.1]:59523 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oagqO-0002fa-Gk
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 13:15:36 -0400
Received: from mail-ej1-f65.google.com ([209.85.218.65]:33562)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1oagqL-0002fN-St
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 13:15:35 -0400
Received: by mail-ej1-f65.google.com with SMTP id lc7so7946625ejb.0
 for <57675 <at> debbugs.gnu.org>; Tue, 20 Sep 2022 10:15:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date;
 bh=rXHSptQv8eWBOw8ohgtnxatfiPV0/y2qzxEzsW07JiQ=;
 b=MlIvKV2VROGNtzBEY8BmHXa8F9hs7qkrjKUU8Dzia6Wkj4e7zlNcvonPQ/pJcfXavp
 7gSuEzPtPD7E71UPtCxysJx9yC1CjVAR/ARZXFvdEA5r3iDEVRN9477B+pFONPWfxnWC
 J8aBzULfKXv5ZBya4Rbf71+Nqb0gZFR2o9bGzDxSK+XiMJzLKvc41RFA2OMmh4EVxQOD
 5vtyUTLPBmjXYi7CsyKXF23vSPCssavUzu6MR4fqDdiH7bzEAjxApLk5e8f7+vEy0lGV
 dYxrFeNb+dBzti6gZzkA3pBO4Q1OF6+Z0T/d6WcbmRDUBgOmlU8vl94n2Cn16yDLJXqr
 a77w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date;
 bh=rXHSptQv8eWBOw8ohgtnxatfiPV0/y2qzxEzsW07JiQ=;
 b=BpVRT36OD6+TdQ1HAsGlUq8MH31sIsOrt2DZWS4AgBTmKvUzYxYWMSU8BbOOK/KKNh
 rHNrTWMSgJIs1pFhHyXZJMVHlB2iVAq+6hnluDRj4/LE8m5GBM/EGkW/I99jTgIvvNSm
 qZWOaqbIeADvm4qsjCgfKOnlOZprdIRvcK2TSckZRnRrnEVilRiUfaMY419ycVIErrAJ
 5AIqXZZEbtoKMCgY8lQjsTvo+K+B14Fd0QAN5PrDRUl1mPTD00FcfxuPLOIKnTMvvDlT
 V4BUAi2oSxT/VYlXi21j8Lb6ESh+fHIu1IQUWk+wuYgKvlG8aAuZfpBjSGRdMyZNBmer
 rTYw==
X-Gm-Message-State: ACrzQf2+VLpvvnvvtSL+pH0ks4b3AxSh9//StlqzNUxXLWFkSRa2EcqF
 VMOBAJh6v6q056uApBp2/Es=
X-Google-Smtp-Source: AMsMyM5kyl5ggdWkJMKkfQ7/xR5J/seGxg0Ya6Sk/u+O2ryAhv64mRR001n/cyzsnHz+FxO0zmDdWQ==
X-Received: by 2002:a17:906:cc58:b0:76f:c119:acb5 with SMTP id
 mm24-20020a170906cc5800b0076fc119acb5mr17058818ejb.651.1663694128199; 
 Tue, 20 Sep 2022 10:15:28 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 b2-20020a1709063ca200b0076fcde2ff37sm177220ejh.70.2022.09.20.10.15.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 20 Sep 2022 10:15:27 -0700 (PDT)
Message-ID: <15a4cbf3ebcc23b1274fcd898e06a657d273e77e.camel@HIDDEN>
Subject: Re: [PATCH v6 11/11] gnu: telegram-desktop: Update to 4.2.0.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>, 57675 <at> debbugs.gnu.org
Date: Tue, 20 Sep 2022 19:15:26 +0200
In-Reply-To: <y76v8pinjk8.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN> <y768rmeoy90.wl-hako@HIDDEN>
 <y767d1yoy8k.wl-hako@HIDDEN> <y765yhioy7v.wl-hako@HIDDEN>
 <y764jx2oy7d.wl-hako@HIDDEN> <y7635cmoy6u.wl-hako@HIDDEN>
 <y761qs6oy6f.wl-hako@HIDDEN> <y76zgeunjlk.wl-hako@HIDDEN>
 <y76y1uenjl5.wl-hako@HIDDEN> <y76wn9ynjkq.wl-hako@HIDDEN>
 <y76v8pinjk8.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.45.3 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Am Dienstag, dem 20.09.2022 um 23:37 +0800 schrieb Hilton Chain:
>=20
> * gnu/packages/telegram.scm (cmake-helpers-for-telegram-desktop,
> codegen-for-telegram-desktop,lib-base-for-telegram-desktop,
> lib-crl-for-telegram-desktop,lib-lottie-for-telegram-desktop,
> lib-qr-for-telegram-desktop,lib-rpl-for-telegram-desktop,
> lib-spellcheck-for-telegram-desktop,lib-storage-for-telegram-desktop,
> lib-tl-for-telegram-desktop,lib-ui-for-telegram-desktop,
> lib-webrtc-for-telegram-desktop,lib-webview-for-telegram-desktop,
> tgcalls-for-telegram-desktop): Bump to submodule checkout.
> (lib-rlottie-for-telegram-desktop,lib-waylandshells-for-telegram-
> desktop):
Note that ChangeLog style requires closing brackets, i.e.
(cmake-helpers-for-telegram-desktop)
(codegen-for-telegram-desktop, lib-base-for-telegram-desktop)
(...)
> Remove variables.
> (libtgvoip-for-telegram-desktop): Change to source.
> Use %telegram-version for version.
> (rlottie-for-telegram-desktop): Use %telegram-version for version.
> [snippet]: Switch off werror.
> [arguments]: Use inherited ones.
> (dispatch-for-telegram-desktop): New variable.
> (telegram-desktop): Update to 4.2.0.
> [#:configure-flags]: Use system rlottie.
[arguments]<#:configure-flags>, plus <#:phases> from below.
Also spell out the flags added or removed.
> [native-inputs]: Add clang-toolchain.
> Drop cmake-shared, extra-cmake-modules and qttools-5.
> [inputs]: Replace qtbase-5 with qtbase
> Add abseil-cpp-cxxstd17, kcoreaddons, libvpx, qt5compat, wayland,
> webkitgtk.
> Drop catch2, fcitx-qt5, fcitx5-qt, gtk+, hime, kwayland, libdbusmenu-
> qt,
> libtgvoip-for-telegram-desktop, libx11, materialdecoration, nimf and
> qt5ct.
> [propagated-inputs]: Drop dconf.
s/Drop/Remove.
> [snippet,#:phases,license]: Sync with source tree.

These are just cosmetic fixes to the ChangeLog to add after checking
whether we can build telegram without tgcalls.  I'll do more thorough
checks afterwards.

Cheers




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 17:03:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 13:03:47 2022
Received: from localhost ([127.0.0.1]:59514 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oagew-0002Oa-U9
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 13:03:47 -0400
Received: from mail-ed1-f68.google.com ([209.85.208.68]:36410)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1oageu-0002OL-1m
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 13:03:45 -0400
Received: by mail-ed1-f68.google.com with SMTP id e18so4816190edj.3
 for <57675 <at> debbugs.gnu.org>; Tue, 20 Sep 2022 10:03:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date;
 bh=eQAXMgtQRHKF+TQJ0OGFtNnmnDhfc9mPQZi595SNSqc=;
 b=F3fmN51G3mlYj8gONdw7yy9QQVr5ktbkret4UcPAICnpgThMs1DvGHHaYCLdYSpjQR
 TqFimyoshNn6mfoJq5saytdpGc6meOaI5bWlJX7K08VnlhFpG2IIsDhWwxHChC4BXiGQ
 wDl+DJtQm4HkFrkZrpI2My1mHlndXqcuc5WWXME+6UIeMQEY6cFCCAUGN3oRuMyOgzAY
 VpeYbQPXjeCRXw111/tFyFVz9DkM+cJHmdXTJiP1iS6UsfX+IEey7P2Iu/hNdIzTJKil
 h6t9pbzylesos9jAGfFaqa5eXEJWdfYDYbyCoqvFa+/yA6gN0bSxi1axudq8AuGs829n
 0wZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date;
 bh=eQAXMgtQRHKF+TQJ0OGFtNnmnDhfc9mPQZi595SNSqc=;
 b=wtNcIgEbDcWXYNcGVjiwFpMU4taAo1jBXHvjTWf3qqw+Clp6bxxkAr5qO9KdHwCZE3
 VN34aeSYT86dx4W7aj0Q7XLfalyFzkFYakC7or9Ws+zRwwbptoCBqdno+pGVD+pu2XO4
 /3GAs6gxDaIbtZKKZ4ckSF87zK+4DCq9NfzH3Jx6jKwYBS8nDDDyKCZoJ2KexpBM/fsy
 DLOAkCReP3fXBUIiOi7sJ2/fO41ugtzebt4ng3AvrjEKsBG/piibuuZCOe0gzK+37k28
 4pfrtDOamCZL77LVMdGHCpeDNnmlpE58MpyNC86VXUT+K3mxS5gK18Nxcbqo3XgNR891
 jNvQ==
X-Gm-Message-State: ACrzQf15HPNHt0K4t0p9mf1bOggGim1/lTNXzBJIfLjs7BT+Qhk3ZMTR
 MSqa80gmZWmMFlCzRIy3KeE=
X-Google-Smtp-Source: AMsMyM4yFY0dlz5tknIv1n2M2ilLw12xrSJfJYitBbyXi1vq4t2n+48ia6cgzszZ0B44qNln0cUyaA==
X-Received: by 2002:a05:6402:3987:b0:454:b7b9:8e0d with SMTP id
 fk7-20020a056402398700b00454b7b98e0dmr198776edb.59.1663693418249; 
 Tue, 20 Sep 2022 10:03:38 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 e21-20020a50fb95000000b00445c0ab272fsm177878edq.29.2022.09.20.10.03.37
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 20 Sep 2022 10:03:37 -0700 (PDT)
Message-ID: <779ef5d5aee05a47fbc23271c2ced2730d48eab2.camel@HIDDEN>
Subject: Re: [PATCH v6 10/11] gnu: webrtc-for-telegram-desktop: Update to
 621f3da5.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>, 57675 <at> debbugs.gnu.org
Date: Tue, 20 Sep 2022 19:03:36 +0200
In-Reply-To: <y76wn9ynjkq.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN> <y768rmeoy90.wl-hako@HIDDEN>
 <y767d1yoy8k.wl-hako@HIDDEN> <y765yhioy7v.wl-hako@HIDDEN>
 <y764jx2oy7d.wl-hako@HIDDEN> <y7635cmoy6u.wl-hako@HIDDEN>
 <y761qs6oy6f.wl-hako@HIDDEN> <y76zgeunjlk.wl-hako@HIDDEN>
 <y76y1uenjl5.wl-hako@HIDDEN> <y76wn9ynjkq.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.45.3 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Am Dienstag, dem 20.09.2022 um 23:37 +0800 schrieb Hilton Chain:
>=20
> * gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-
> cstdint.patch:
> New file.
> * gnu/local.mk (dist_patch_DATA): Add patch.
> * gnu/packages/telegram.scm (libvpx-for-telegram-desktop): Remove
> variable.
> (crc32c-for-telegram-desktop): New variable.
> (webrtc-for-telegram-desktop): Update to 621f3da5.
> [patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
> [snippet]: use system libvpx and openh264.
Should be "Unbundle libvpx and openh264."
> [native-inputs]: Drop perl.
> [inputs]: Replace pipewire with pipewire-0.3.
> Drop alsa-lib, libx11 and pulseaudio.
> Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa,
> openh264.
List additions before removals.  Also, from a cursory look at git log,
we prefer "Remove" with inputs.
> [snippet,#:phases,license]: Sync with source tree.
Repeated snippet.
For #:phases, you should probably write [arguments]<#:phases> and a
more detailed change description.
For [license] simply write "Adjusted accordingly" or "Adjusted
according to unbundled packages".


Cheers




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 16:54:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 12:54:54 2022
Received: from localhost ([127.0.0.1]:59505 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oagWM-0002A1-H5
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 12:54:54 -0400
Received: from mail-ej1-f65.google.com ([209.85.218.65]:45703)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1oagWH-00029h-FW
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 12:54:53 -0400
Received: by mail-ej1-f65.google.com with SMTP id dv25so7558770ejb.12
 for <57675 <at> debbugs.gnu.org>; Tue, 20 Sep 2022 09:54:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date; bh=mZQT5+gjXZKsdQvgoncUvmIi5QR86omzL1aDhqKGmPg=;
 b=OmZlP6W867B71bdvAIQ1ogU5FBrm+mfyINHjSJJUspQ3BPHTXjTnhCVbgCL8URhC7Y
 I6fel8LcRjRmCN160I9scVlxngmuqNhxGaChRPIsMyZZd2EB4jHUAqbvWWEgrLL7Sh6V
 uFxE6iGDK3QgrYCZfFlI8WdYe4xSewQC5Xx5j1u8REWZNOSxTBMBS1IhCCXe3s1hzY1M
 BuZOp3laP353aqFCfbs0WyIionxZgu26BE0InVIUUofCA85PozQ04yA6ZmyK7OPmHPtX
 yBWSsu6i1U/S3CD5S7ASIG/db5g5Ny//Z5q5sZeRMlHDSbwfFdMKoVHSLKDewcvoJSuG
 IR5A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date;
 bh=mZQT5+gjXZKsdQvgoncUvmIi5QR86omzL1aDhqKGmPg=;
 b=l7uEeL/ED/WczMnxBCmxemGl5rbRnK78YmhLlSRzEvbbt/LHzVV3KF7ifN+5EjvWyb
 hdSSZUawRyMaveYvn3QGepXH+6WwSinRXM7+yG8bk6HaLyAk96H8TGlCD86NfOTRQmPi
 MlnR9G1QnDrR/1GS38nUToeRIPjvCWRlcWZPHXe2umNwr0KjLzVYnIiSInql7/ialWIK
 fomhslLBg7mbuKYnmtVmRqHLlfF2NsC8BdLmgIsZHjMuhtNDAtsaiU+CxolJ2up2CniW
 TN9xO+OoUG41iMEEuZ9ZtbkeGpLcaoYuPdpkFnK0/St3et5fC+i+LkPzHUUOXIYs7sl5
 EJjA==
X-Gm-Message-State: ACrzQf3V+RbdqV//j2hy8aNGE9JIfrLaL47D8fh9QS4zR6i7MeqbPOBE
 mKmB2JDc+xA6+Do51w539VwSd7bwkLw=
X-Google-Smtp-Source: AMsMyM6hFUt3xhuUMl7R5OsBHWAdAUTjCVsIhLGA1hwpT2i4b+/5nChiKALuOHDLJyQ4pyF5pwWOMw==
X-Received: by 2002:a17:907:e8b:b0:779:8ae0:eecf with SMTP id
 ho11-20020a1709070e8b00b007798ae0eecfmr17859836ejc.735.1663692883775; 
 Tue, 20 Sep 2022 09:54:43 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 ez24-20020a1709070bd800b00741383c1c5bsm89849ejc.196.2022.09.20.09.54.42
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 20 Sep 2022 09:54:43 -0700 (PDT)
Message-ID: <1b34ecdcff33493463df512ef8467946d10a53a8.camel@HIDDEN>
Subject: Re: [PATCH v5 11/11] gnu: telegram-desktop: Update to 4.2.0.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>
Date: Tue, 20 Sep 2022 18:54:42 +0200
In-Reply-To: <y76r106fquu.wl-hako@HIDDEN>
References: <y76mtavos7u.wl-hako@HIDDEN>
 <y76leqfos6y.wl-hako@HIDDEN> <y76k05zos6c.wl-hako@HIDDEN>
 <y76illjos59.wl-hako@HIDDEN> <y76h713os4q.wl-hako@HIDDEN>
 <y76fsgnos48.wl-hako@HIDDEN> <y76edw7os3l.wl-hako@HIDDEN>
 <y76czbros33.wl-hako@HIDDEN> <y76bkrbos2m.wl-hako@HIDDEN>
 <y76a66vos24.wl-hako@HIDDEN> <y768rmfos1n.wl-hako@HIDDEN>
 <y767d1zos14.wl-hako@HIDDEN>
 <fb3eb357247f41ade24cb52e0059ff6b4254d1f9.camel@HIDDEN>
 <y76r106fquu.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.45.3 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: 57675 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Am Dienstag, dem 20.09.2022 um 15:27 +0800 schrieb Hilton Chain:
> Finding there's a patch[1] to disable the lib, maybe we could just
> apply it?
>=20
> [1]: https://github.com/telegramdesktop/tdesktop/pull/24126
I think that's a more reasonable approach, provided it actually builds.

Did you test that?




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:37:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:37:50 2022
Received: from localhost ([127.0.0.1]:59334 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafJl-00048y-1L
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:37:50 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:35890)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafJi-00048k-8w
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:37:47 -0400
Date: Tue, 20 Sep 2022 23:37:27 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663688260;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=6kjoH+1HfgDP9ahWkroWqhP+ttDdNQpd7c3dMgDoAiQ=;
 b=vCAuWJQEZr0S0cVnmWtMkiH2UBxfiMCsUUwT2AygVZ2tozaW3qutXWaPIZX2IJe1JLEZ/H
 DSdkRCQMJ93OW3XLU/0N4efao3vcSUAoCB4ICDpp8DyCca3pQU+OVlqfkF7IEthQNKWHIN
 JGsh6C/k+jWJyxzSUPJztpQ3BrwdmVXbbh5Fb0xh8qkIUcRWuRtYRtnYW1wGQoQ7C5V2nN
 aIbwiQP/UzNuSNjV00Av3YwwIEgIdTN3K7i655J/ZH20kzhk11XBUOd/0YVgEHqGLjlCZX
 3ZpgeNehIZZsVe6rdS2HxbzVtpl/5ErEuNKCR/dvoob4rTvutDast6dVJyzGVA==
Message-ID: <y76v8pinjk8.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 11/11] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <y76wn9ynjkq.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN>
 <y768rmeoy90.wl-hako@HIDDEN>
 <y767d1yoy8k.wl-hako@HIDDEN>
 <y765yhioy7v.wl-hako@HIDDEN>
 <y764jx2oy7d.wl-hako@HIDDEN>
 <y7635cmoy6u.wl-hako@HIDDEN>
 <y761qs6oy6f.wl-hako@HIDDEN>
 <y76zgeunjlk.wl-hako@HIDDEN>
 <y76y1uenjl5.wl-hako@HIDDEN>
 <y76wn9ynjkq.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/telegram.scm (cmake-helpers-for-telegram-desktop,
codegen-for-telegram-desktop,lib-base-for-telegram-desktop,
lib-crl-for-telegram-desktop,lib-lottie-for-telegram-desktop,
lib-qr-for-telegram-desktop,lib-rpl-for-telegram-desktop,
lib-spellcheck-for-telegram-desktop,lib-storage-for-telegram-desktop,
lib-tl-for-telegram-desktop,lib-ui-for-telegram-desktop,
lib-webrtc-for-telegram-desktop,lib-webview-for-telegram-desktop,
tgcalls-for-telegram-desktop): Bump to submodule checkout.
(lib-rlottie-for-telegram-desktop,lib-waylandshells-for-telegram-desktop):
Remove variables.
(libtgvoip-for-telegram-desktop): Change to source.
Use %telegram-version for version.
(rlottie-for-telegram-desktop): Use %telegram-version for version.
[snippet]: Switch off werror.
[arguments]: Use inherited ones.
(dispatch-for-telegram-desktop): New variable.
(telegram-desktop): Update to 4.2.0.
[#:configure-flags]: Use system rlottie.
[native-inputs]: Add clang-toolchain.
Drop cmake-shared, extra-cmake-modules and qttools-5.
[inputs]: Replace qtbase-5 with qtbase
Add abseil-cpp-cxxstd17, kcoreaddons, libvpx, qt5compat, wayland, webkitgtk.
Drop catch2, fcitx-qt5, fcitx5-qt, gtk+, hime, kwayland, libdbusmenu-qt,
libtgvoip-for-telegram-desktop, libx11, materialdecoration, nimf and qt5ct.
[propagated-inputs]: Drop dconf.
[snippet,#:phases,license]: Sync with source tree.
---
 gnu/packages/telegram.scm | 295 +++++++++++++++-----------------------
 1 file changed, 119 insertions(+), 176 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index d1b89fd268..c1cbfda9ad 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -43,6 +43,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages lxqt)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages perl)
@@ -60,6 +61,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages webkit)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
@@ -75,7 +77,7 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))

-(define %telegram-version "2.9.3")
+(define %telegram-version "4.2.0")

 (define libyuv-for-telegram-desktop
   (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
@@ -107,197 +109,199 @@ (define crc32c-for-telegram-desktop
        (base32
         "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))

+(define dispatch-for-telegram-desktop
+  (let ((commit "ecc678d79f38cf63d24b6d16e18f69a9117d8d73")
+        (revision "14"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/apple/swift-corelibs-libdispatch.git")
+            (commit commit)))
+      (file-name
+       (git-file-name
+        "dispatch-for-telegram-desktop" (git-version "5.6" revision commit)))
+      (sha256
+       (base32
+        "0hy4q6x3bgphazmpl3v62995abc9fpi8y7yg9aiblzsqkxmgjmqn")))))
+
 (define cmake-helpers-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/cmake_helpers.git")
-          (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
+          (commit "b9f1b6036329e44ec61f51f0b363fe2319158b84")))
     (file-name
      (git-file-name "cmake-helpers-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
+      "0sgp1nlmcm2imgpssqxrwinafnmicmq0qikgdnhs1d44hrwxbws3"))))

 (define codegen-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/codegen.git")
-          (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
+          (commit "8815d7aec9b901191d08445f29e2edd0aeba7b2c")))
     (file-name
      (git-file-name "codegen-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
+      "1ly958mjk25kfcpa174kvg134p9r751ixi275afj5kr57by9mbq2"))))

 (define lib-base-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_base.git")
-          (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
+          (commit "cc5550de2766657ced8d0bb4d2db3f050363d3d5")))
     (file-name
      (git-file-name "lib-base-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
+      "16x5qp5w51igk213rhl49x256vjvpkjkgi2ziwzxnsj0pzdd4y27"))))

 (define lib-crl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_crl.git")
-          (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
+          (commit "4e620bc383d032aadea8e6af02661f8c76695cec")))
     (file-name
      (git-file-name "lib-crl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
+      "17bngj247qwq0dg4h37xdi5v1mk22y4yp7sp6ph3irmnz4awah0x"))))

 (define lib-lottie-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_lottie.git")
-          (commit "0770df009db7928df1d0cad0900dc5110106d229")))
+          (commit "6ed1c22ed60692d2f288c9222fafd7d5cd62f904")))
     (file-name
      (git-file-name "lib-lottie-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
+      "0l57ibfij9xm4ww4s9cc63q1x8xzpc6ablwaji1krrn3xxksqdd4"))))

 (define lib-qr-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_qr.git")
-          (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
+          (commit "501f4c3502fd872ab4d777df8911bdac32de7c48")))
     (file-name
      (git-file-name "lib-qr-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
-
-(define lib-rlottie-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_rlottie.git")
-          (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
-    (file-name
-     (git-file-name "lib-rlottie-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
+      "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f"))))

 (define lib-rpl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_rpl.git")
-          (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
+          (commit "fd31f5bf382d2679eccdb1abaf8240a56c6a7abe")))
     (file-name
      (git-file-name "lib-rpl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
+      "1fpq8nyh8wx6zkb3sjjrx9ydqzyhw4483bdk1i9blp0ijn9xxdxf"))))

 (define lib-spellcheck-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_spellcheck.git")
-          (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
+          (commit "0e386e22cb6ba8a114b569840a635e096dcb645e")))
     (file-name
      (git-file-name "lib-spellcheck-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
+      "06js7ccv6z3nbd4v2p4hp2prrlmz5ww46y3yb922pp7gm317dwyw"))))

 (define lib-storage-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_storage.git")
-          (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
+          (commit "839609369d04615475cb1518636de3619106a917")))
     (file-name
      (git-file-name "lib-storage-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
+      "1l26h2fmqp9dcpr6pfvdd5sjb68j7yh0ms2lnr8na7jf5xqmkwwm"))))

 (define lib-tl-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_tl.git")
-          (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
+          (commit "36fb95c4de1339d2c8921ad6b2911858c3d0e0fa")))
     (file-name
      (git-file-name "lib-tl-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
+      "03rngnssnqwr7ad05qn64mwgji5fb0r3fp5ybkf951p8phr1jvzk"))))

 (define lib-ui-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_ui.git")
-          (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
+          (commit "f82162f05a72352bfee0fb79f9e50c350b3a98f3")))
     (file-name
      (git-file-name "lib-ui-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
-
-(define lib-waylandshells-for-telegram-desktop
-  (origin
-    (method git-fetch)
-    (uri (git-reference
-          (url "https://github.com/desktop-app/lib_waylandshells.git")
-          (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
-    (file-name
-     (git-file-name "lib-waylandshells-for-telegram-desktop" %telegram-version))
-    (sha256
-     (base32
-      "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
+      "1zv29i7hxv70dsq36zrvkvaraff5zcb7sccpncqfl51s59kfsnz5"))))

 (define lib-webrtc-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_webrtc.git")
-          (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
+          (commit "9b11599c3c56047cfa4c68b69f1fcc93b602c33a")))
     (file-name
      (git-file-name "lib-webrtc-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
+      "0158jx8hj4fv6qpw5pgcr2mdlihj0dxs060dg3iy61zz6q68z5dq"))))

 (define lib-webview-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/desktop-app/lib_webview.git")
-          (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
+          (commit "546df65eb2424550ed84ce14fc9c5d1bb3586f35")))
     (file-name
      (git-file-name "lib-webview-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
+      "0zzjwyw82bggncmmsw969lnjl04pklmqjqm77jjzadinivl52z0l"))))

 (define tgcalls-for-telegram-desktop
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/TelegramMessenger/tgcalls.git")
-          (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
+          (commit "82c4921045c440b727c38e464f3a0539708423ff")))
     (file-name
      (git-file-name "tgcalls-for-telegram-desktop" %telegram-version))
     (sha256
      (base32
-      "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
+      "1109r17abh66yz91b65fn2g4ryfybnsr5g6075sjhbah1gccv9mk"))))
+
+(define libtgvoip-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/telegramdesktop/libtgvoip.git")
+          (commit "78a8e22bedb0d06004da8bafeba88b7474cb89a4")))
+    (file-name
+     (git-file-name "libtgvoip-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32 "1y1jvm4i0i4fkl6c0bgcv2cpzziyyn1pywxqz726q008hwki941h"))))

 (define-public webrtc-for-telegram-desktop
   (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
@@ -391,79 +395,24 @@ (define-public webrtc-for-telegram-desktop
          license:bsd-3))))))

 (define-public rlottie-for-telegram-desktop
-  (let ((commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")
-        (revision "671"))
-    (hidden-package
-     (package
-       (inherit rlottie)
-       (version
-        (git-version "0.0.1" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/desktop-app/rlottie.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "rlottie-for-telegram-desktop" version))
-          (sha256
-           (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "-Dlog=true"
-           "-Ddumptree=true"
-           "-Dtest=true")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-cxx-flags
-              (lambda _
-                (substitute* "meson.build"
-                  (("werror=true")
-                   "werror=false"))
-                #t)))))))))
-
-(define-public libtgvoip-for-telegram-desktop
-  (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
-        (revision "88"))
-    (hidden-package
-     (package
-       (inherit libtgvoip)
-       (version
-        (git-version "2.4.4" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/telegramdesktop/libtgvoip.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "libtgvoip-for-telegram-desktop" version))
-          (sha256
-           (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "--disable-static"
-           "--disable-dsp"              ; FIXME
-           "--enable-audio-callback"
-           "--with-alsa"
-           "--with-pulse")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-linkers
-              (lambda _
-                (substitute* "Makefile.am"
-                  (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
-                   "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)"))
-                (substitute* "tgvoip.pc.in"
-                  (("libcrypto opus")
-                   "libcrypto opus alsa libpulse"))
-                #t)))))
-       (native-inputs
-        (list autoconf automake libtool pkg-config))))))
+  (hidden-package
+   (package
+     (inherit rlottie)
+     (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+              (url "https://github.com/desktop-app/rlottie.git")
+              (commit "8c69fc20cf2e150db304311f1233a4b55a8892d7")))
+        (file-name
+         (git-file-name "rlottie-for-telegram-desktop" %telegram-version))
+        (sha256
+         (base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
+        (modules '((guix build utils)))
+        (snippet
+         #~(begin
+             (substitute* "meson.build"
+               (("werror=true") "werror=false")))))))))

 (define-public telegram-desktop
   (package
@@ -475,20 +424,22 @@ (define-public telegram-desktop
        (uri
         (git-reference
          (url "https://github.com/telegramdesktop/tdesktop.git")
-         (commit
-          (string-append "v" version))))
+         (commit (string-append "v" version))))
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0dzf1y3xhqvizg29bd1kya48cjbkq073d2x10ynwcmmx396l4nd8"))
+        (base32 "16xhng5m3aw4j4ax74nydpxjnx5z3ga21vmrznlm4lbk9ivyn7vx"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
         #~(begin
             (let ((keep
-                   '( ;; Not available in Guix.
-                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+                   '(;; Own fork, bundled build for it's build scripts are
+                     ;; abandoned.
+                     "libtgvoip"
+                     ;; Not available in Guix.
+                     "dispatch" "tgcalls")))
               (with-directory-excursion "Telegram/ThirdParty"
                 (for-each delete-file-recursively
                           (lset-difference string=?
@@ -496,14 +447,13 @@ (define-public telegram-desktop
                                            (cons* "." ".." keep)))))))))
     (build-system qt-build-system)
     (arguments
-     (list #:tests? #f                      ; No target
+     (list #:tests? #f                  ;No target
            #:imported-modules
            `(,@%qt-build-system-modules
              (guix build glib-or-gtk-build-system))
            #:modules
            '((guix build qt-build-system)
-             ((guix build glib-or-gtk-build-system)
-              #:prefix glib-or-gtk:)
+             ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
              (guix build utils)
              (ice-9 match))
            #:configure-flags
@@ -513,16 +463,16 @@ (define-public telegram-desktop
                ;; <https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml>.
                "-DTDESKTOP_API_ID=611335"
                "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
-               ;; Disable WebkitGTK support as it fails to link
-               "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
-               ;; Use bundled fonts as fallback.
-               "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
+               "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
+               "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
+               "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON"
+               ,(string-append "-DTDESKTOP_LAUTCHER_BASENAME=" #$name))
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'make-writable
                  (lambda _
                    (for-each make-file-writable (find-files "."))))
-               (add-after 'make-writable 'copy-inputs
+               (add-after 'make-writable 'copy-sources
                  (lambda _
                    (for-each
                     (match-lambda
@@ -535,81 +485,74 @@ (define-public telegram-desktop
                       ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
                       ("Telegram/lib_lottie" #$lib-lottie-for-telegram-desktop)
                       ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
-                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-desktop)
                       ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
                       ("Telegram/lib_spellcheck" #$lib-spellcheck-for-telegram-desktop)
                       ("Telegram/lib_storage" #$lib-storage-for-telegram-desktop)
                       ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
                       ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
-                      ("Telegram/lib_waylandshells" #$lib-waylandshells-for-telegram-desktop)
                       ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-desktop)
                       ("Telegram/lib_webview" #$lib-webview-for-telegram-desktop)
+                      ("Telegram/ThirdParty/dispatch" #$dispatch-for-telegram-desktop)
+                      ("Telegram/ThirdParty/libtgvoip" #$libtgvoip-for-telegram-desktop)
                       ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
-               (add-before 'configure 'patch-cxx-flags
-                 (lambda _
-                   (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
                (add-after 'install 'glib-or-gtk-compile-schemas
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
                (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
     (native-inputs
-     (list cmake-shared
-           extra-cmake-modules
-           `(,glib "bin")
+     (list `(,glib "bin")
            `(,gtk+ "bin")
+           clang-toolchain
            pkg-config
-           python-wrapper
-           qttools-5))
+           python-wrapper))
     (inputs
-     (list alsa-lib
+     (list abseil-cpp-cxxstd17
+           alsa-lib
            c++-gsl
-           catch2
-           libexpected
-           fcitx-qt5
-           fcitx5-qt
            ffmpeg
-           glib
-           glibmm-2.64
-           gtk+
-           hime
-           hunspell
            jemalloc
-           kwayland
-           libdbusmenu-qt
+           kcoreaddons
+           libexpected
            libjpeg-turbo
-           libtgvoip-for-telegram-desktop
-           lz4
-           materialdecoration
+           libvpx
            minizip
-           nimf
            openal
            openssl
            opus
            pulseaudio
            qrcodegen-cpp
-           qtbase-5
-           qtsvg-5
-           qt5ct
+           qt5compat
+           qtbase
            qtimageformats
-           qtwayland
+           qtsvg-5
            range-v3
            rlottie-for-telegram-desktop
            rnnoise
            webrtc-for-telegram-desktop
-           libx11
-           libxcb
-           xcb-util-keysyms
            xxhash
-           zlib))
-    (propagated-inputs (list dconf))
+           zlib
+           ;; DESKTOP_APP_DISABLE_DBUS_INTEGRATION
+           glibmm-2.64
+           ;; DESKTOP_APP_DISABLE_SPELLCHECK
+           hunspell
+           ;; DESKTOP_APP_LOTTIE_USE_CACHE
+           lz4
+           ;; DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
+           qtwayland wayland
+           ;; DESKTOP_APP_DISABLE_X11_INTEGRATION
+           libxcb xcb-util-keysyms
+           ;; Optional
+           webkitgtk))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
     (home-page "https://desktop.telegram.org/")
     (license
      (list
-      ;; ThirdParty
-      license:lgpl2.1+
+      ;; Telegram/ThirdParty/dispatch
+      license:asl2.0
+      ;; Telegram/ThirdParty/tgcalls
+      license:lgpl3
       ;; Others
       license:gpl3+))))

--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:37:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:37:34 2022
Received: from localhost ([127.0.0.1]:59331 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafJV-00048V-BP
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:37:33 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:50136)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafJS-00048H-AD
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:37:31 -0400
Date: Tue, 20 Sep 2022 23:37:09 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663688244;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=DCPCla11M6Xay0RUfyZuwxuxelbqDY/Gvs3gC69d64U=;
 b=oWn0IFBqe0C5lFcObnx78EVag3fhk+uvZN2vGklEU0P5uHFjmPKe/yeRe7cNNBKkz0cb5h
 F3ThXKQv9QUdlb95Q7KecKRPntSsS1zHjodXesi6nnssKhvCXaDoAqEzMRY/RnbY/ersT+
 HTpozXc1e9LfRLdptPvFm7G59sA2GnMa2EgAMeqRB8/29QkJGtTtXazKq9WemSqz15robO
 DDH3L206trKEkZnLdzISB0lKomOzHkDKE8TIL6U1ipD4uT5QoYLaCigxQEVseKFiwMept9
 oYmyzeOJzOhVHF1KRxy5QvAxmne5o9v2iaRtvEGfm/FzxwbACH30fyyGcQHfAQ==
Message-ID: <y76wn9ynjkq.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 10/11] gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
In-Reply-To: <y76y1uenjl5.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN>
 <y768rmeoy90.wl-hako@HIDDEN>
 <y767d1yoy8k.wl-hako@HIDDEN>
 <y765yhioy7v.wl-hako@HIDDEN>
 <y764jx2oy7d.wl-hako@HIDDEN>
 <y7635cmoy6u.wl-hako@HIDDEN>
 <y761qs6oy6f.wl-hako@HIDDEN>
 <y76zgeunjlk.wl-hako@HIDDEN>
 <y76y1uenjl5.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details. Content preview: *
 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
 New file. * gnu/local.mk (dist_patch_DATA): Add patch. *
 gnu/packages/telegram.scm
 (libvpx-for-telegram-desktop): Remove var [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: xiretza.xyz (xyz)]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)


* gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (libvpx-for-telegram-desktop): Remove variable.
(crc32c-for-telegram-desktop): New variable.
(webrtc-for-telegram-desktop): Update to 621f3da5.
[patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
[snippet]: use system libvpx and openh264.
[native-inputs]: Drop perl.
[inputs]: Replace pipewire with pipewire-0.3.
Drop alsa-lib, libx11 and pulseaudio.
Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa, openh264.
[snippet,#:phases,license]: Sync with source tree.
---
 gnu/local.mk                                  |  1 +
 ...r-telegram-desktop-fix-gcc12-cstdint.patch | 21 ++++
 gnu/packages/telegram.scm                     | 95 ++++++++++---------
 3 files changed, 72 insertions(+), 45 deletions(-)
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 238fb72bc5..00f8d0adcb 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1969,6 +1969,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/warsow-qfusion-fix-bool-return-type.patch	\
   %D%/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch	\
   %D%/packages/patches/webrtc-audio-processing-big-endian.patch	\
+  %D%/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch   \
   %D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch	\
   %D%/packages/patches/widelands-add-missing-map-include.patch	\
   %D%/packages/patches/widelands-system-wide_minizip.patch	\
diff --git a/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
new file mode 100644
index 0000000000..f1fd29d0d3
--- /dev/null
+++ b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
@@ -0,0 +1,21 @@
+From 86d2bcd7afb8706663d29e30f65863de5a626142 Mon Sep 17 00:00:00 2001
+From: Xiretza <xiretza@HIDDEN>
+Date: Sun, 15 May 2022 12:47:41 +0200
+Subject: [PATCH] fix(h265_pps_parser): fix missing cstdint include
+
+---
+ src/common_video/h265/h265_pps_parser.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/common_video/h265/h265_pps_parser.h b/src/common_video/h265/h265_pps_parser.h
+index 28c95ea9..c180b1b9 100644
+--- a/src/common_video/h265/h265_pps_parser.h
++++ b/src/common_video/h265/h265_pps_parser.h
+@@ -12,6 +12,7 @@
+ #define COMMON_VIDEO_H265_PPS_PARSER_H_
+
+ #include "absl/types/optional.h"
++#include <cstdint>
+
+ namespace rtc {
+ class BitBuffer;
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 8eea3297c7..d1b89fd268 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -30,6 +30,8 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages digest)
   #:use-module (gnu packages fcitx)
   #:use-module (gnu packages fcitx5)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -58,6 +60,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
@@ -74,35 +77,35 @@ (define-module (gnu packages telegram)

 (define %telegram-version "2.9.3")

-(define libvpx-for-telegram-desktop
-  (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
-        (revision "112"))
+(define libyuv-for-telegram-desktop
+  (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
+        (revision "2211"))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://chromium.googlesource.com/webm/libvpx")
+            (url "https://chromium.googlesource.com/libyuv/libyuv")
             (commit commit)))
       (file-name (git-file-name
-                  "libvpx-for-telegram-desktop"
-                  (git-version "1.9.0" revision commit)))
+                  "libyuv-for-telegram-desktop"
+                  (git-version "0" revision commit)))
       (sha256
        (base32
-        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
+        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))

-(define libyuv-for-telegram-desktop
-  (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
-        (revision "2211"))
+(define crc32c-for-telegram-desktop
+  (let ((commit "21fc8ef30415a635e7351ffa0e5d5367943d4a94")
+        (revision "78"))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://chromium.googlesource.com/libyuv/libyuv")
+            (url "https://github.com/google/crc32c")
             (commit commit)))
       (file-name (git-file-name
-                  "libyuv-for-telegram-desktop"
+                  "crc32c-for-telegram-desktop"
                   (git-version "0" revision commit)))
       (sha256
        (base32
-        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
+        "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))

 (define cmake-helpers-for-telegram-desktop
   (origin
@@ -297,8 +300,8 @@ (define tgcalls-for-telegram-desktop
       "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))

 (define-public webrtc-for-telegram-desktop
-  (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
-        (revision "166"))
+  (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
+        (revision "327"))
     (hidden-package
      (package
        (name "webrtc-for-telegram-desktop")
@@ -314,57 +317,61 @@ (define-public webrtc-for-telegram-desktop
           (file-name
            (git-file-name name version))
           (sha256
-           (base32 "0plwdp6xgxi27hif5j7kpq425cidxyxbbga3z2f64dsninwy5p1x"))
+           (base32 "1ks1572k1jj7pmzwm79p2gdgi31dd4bs761bphnx32zyq4c6skxk"))
+          (patches
+           (search-patches
+            ;; https://github.com/desktop-app/tg_owt/pull/101
+            "webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch"))
           (modules '((guix build utils)
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
            #~(begin
                (let ((keep
-                      '( ;; Custom forks which are incompatible with the ones in Guix.
-                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                      '("abseil-cpp" "libsrtp" "rnnoise"
                         ;; Not available in Guix.
-                        "pffft" "usrsctp"
-                        ;; Has cmake support files for libvpx input.
-                        "libvpx")))
+                        "crc32c" "pffft")))
                  (with-directory-excursion "src/third_party"
                    (for-each delete-file-recursively
                              (lset-difference string=?
                                               (scandir ".")
-                                              (cons* "." ".." keep)))))))))
+                                              (cons* "." ".." keep)))))
+               ;; Use system openh264.
+               (substitute* "CMakeLists.txt"
+                 (("\\include\\(cmake\\/libopenh264\\.cmake\\)")""))))))
        (build-system cmake-build-system)
        (arguments
-        (list #:tests? #f               ; No target
-              #:configure-flags
-              #~`("-DCMAKE_C_FLAGS=-fPIC"
-                  "-DCMAKE_CXX_FLAGS=-fPIC")
+        (list #:tests? #f       ; No target
               #:phases
               #~(modify-phases %standard-phases
                   (add-after 'unpack 'copy-inputs
                     (lambda _
-                      (let* ((libvpx-to (string-append (getcwd)
-                                                       "/src/third_party/libvpx/source/libvpx"))
-                             (libyuv-to (string-append (getcwd)
-                                                       "/src/third_party/libyuv")))
-                        (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
-                        (copy-recursively #$libyuv-for-telegram-desktop libyuv-to)))))))
-       (native-inputs (list perl pkg-config python-wrapper yasm))
+                      (copy-recursively
+                       #$libyuv-for-telegram-desktop
+                       (string-append (getcwd) "/src/third_party/libyuv"))
+                      (copy-recursively
+                       #$crc32c-for-telegram-desktop
+                       (string-append (getcwd) "/src/third_party/crc32c/src")))))))
+       (native-inputs (list pkg-config python-wrapper yasm))
        (inputs
-        (list alsa-lib
+        (list abseil-cpp-cxxstd17
               ffmpeg
               libjpeg-turbo
-              glib
-              libxcomposite
-              libxdamage
-              libxrender
-              libxrandr
+              libvpx
+              openh264
               openssl
               opus
-              pipewire
+              ;; TG_OWT_USE_PROTOBUF
               protobuf
-              pulseaudio
-              libx11
+              ;; TG_OWT_USE_PIPEWIRE
+              glib libdrm libglvnd mesa pipewire-0.3
+              ;; TG_OWT_USE_X11
+              libxcomposite
+              libxdamage
               libxext
+              libxfixes
+              libxrandr
+              libxrender
               libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
@@ -376,13 +383,11 @@ (define-public webrtc-for-telegram-desktop
          license:asl2.0
          ;; LibYuv
          (license:non-copyleft "file:///src/third_party/libyuv/LICENSE")
-         ;; OpenH264
-         license:bsd-2
          ;; PFFFT
          (license:non-copyleft "file:///src/third_party/pffft/LICENSE")
          ;; RnNoise
          license:gpl3
-         ;; LibSRTP, LibVPx, UsrSCTP and Others
+         ;; LibSRTP, Crc32c and Others
          license:bsd-3))))))

 (define-public rlottie-for-telegram-desktop
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:37:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:37:16 2022
Received: from localhost ([127.0.0.1]:59326 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafJE-00047w-1G
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:37:16 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:33942)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafJB-00047h-Ma
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:37:14 -0400
Date: Tue, 20 Sep 2022 23:36:54 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663688228;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=BusosAZcl+m4u/5RJme4PIFA+8Mf+CATZjsuNjvqJFk=;
 b=c3VEmVPmOzGDwo6SuFpX0EM4w2Mov7K9oyyqT1TBFoEoV4vM1VsB3frM0U3HcOV/nxqRgG
 ltwE8tAcqAlHQpmDENKQgmPavbAltfA0csmKt4Xyfkl75tL4h0AFRP72Kv2COmswEM1J34
 ATNlX+dNmE0tFDvvPFxHetoV1gmAIXrWlYtyfYwQ2IoJEAbGraY9AIsqMfZCvEsag8cRWJ
 HwLylrP4/yW5FGxDQUYTiPMXGUnDKdU0YbyTBGEv7aS2hZCZ45ThpZhTJgWlws8paQsyiI
 oEZ3yrmo6UqDddkIlDq5GyQrYizrkNIjJ3k2HOCplglBo6nZm9oULDZFgrOGvA==
Message-ID: <y76y1uenjl5.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 09/11] gnu: kcoreaddons: Update to 5.98.0.
In-Reply-To: <y76zgeunjlk.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN>
 <y768rmeoy90.wl-hako@HIDDEN>
 <y767d1yoy8k.wl-hako@HIDDEN>
 <y765yhioy7v.wl-hako@HIDDEN>
 <y764jx2oy7d.wl-hako@HIDDEN>
 <y7635cmoy6u.wl-hako@HIDDEN>
 <y761qs6oy6f.wl-hako@HIDDEN>
 <y76zgeunjlk.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/kde-frameworks.scm (kcoreaddons): Update to 5.98.0.
[#:phases]: Update blocklist for failing tests.
---
 gnu/packages/kde-frameworks.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index e4337636ac..61cbf19bc4 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -574,7 +574,7 @@ (define-public kconfig
 (define-public kcoreaddons
   (package
     (name "kcoreaddons")
-    (version "5.70.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -583,7 +583,7 @@ (define-public kcoreaddons
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "10a7zys3limsawl7lk9ggymk3msk2bp0y8hp0jmsvk3l405pd1ps"))))
+                "0lqmyxqsw7w1qgdgmax63v64cy7dwk7n4zi8k53xmrqjmd9jir52"))))
     (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules qttools-5 shared-mime-info
@@ -602,14 +602,8 @@ (define-public kcoreaddons
                  ;; FIXME: Make it pass.  Test failure caused by stout/stderr
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
-                 ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))))
-         ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
-         (add-after 'unpack 'fix-broken-test
-           (lambda _
-             (substitute* "autotests/kdirwatch_unittest.cpp"
-               (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))))
+                 ;; FIXME
+                 (display "[test_inheritance]\n*\n")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:37:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:37:01 2022
Received: from localhost ([127.0.0.1]:59319 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafIy-00046j-M1
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:37:00 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:47706)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafIw-00046W-Q9
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:36:59 -0400
Date: Tue, 20 Sep 2022 23:36:39 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663688213;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=D3UguPaFYoUd0mbt7+kC8Fsqps2dWnYu1h5gwO5hvu4=;
 b=Kgl5rpG1vVd/X81g27KsM9S1fxX4n67koskMCUJjPg7Fjl+f5Blynzp4n/fgGkGp8s6O8T
 EDKkDGcNyXFZoVs9gFij83LDPtHZ7/1NSPnhVcOR/oVsD1URGrbjE6nNry04bMh8qo1G0K
 /tzzpxBzQYx1wx9F6+5Tshu4r3T3koFtHdFxUREnSD1X90pSM7gr5j7bFxpjdhoTEcHkAh
 T2Ek8BMFdQ2SJr0fMWn1jzmqFPsP8/lwkBXLPAIJ/CvZ2vzRqInnoF1FIwyhEMlU1/lg46
 a6KRO6ri3sok1RZtb3BjuW82R5edFLesaj+m+vFV41F8Gql3h3MfRo2nIg4ZZA==
Message-ID: <y76zgeunjlk.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 08/11] gnu: kcoreaddons: Remove trailing #t.
In-Reply-To: <y761qs6oy6f.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN>
 <y768rmeoy90.wl-hako@HIDDEN>
 <y767d1yoy8k.wl-hako@HIDDEN>
 <y765yhioy7v.wl-hako@HIDDEN>
 <y764jx2oy7d.wl-hako@HIDDEN>
 <y7635cmoy6u.wl-hako@HIDDEN>
 <y761qs6oy6f.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/kde-frameworks.scm (kcoreaddons)[#:phases]: Remove trailing #t.
---
 gnu/packages/kde-frameworks.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 52314fd0ff..e4337636ac 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -603,20 +603,17 @@ (define-public kcoreaddons
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
                  ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))
-             #t))
+                 (display "[benchNotifyWatcher]\n*\n")))))
          ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
          (add-after 'unpack 'fix-broken-test
            (lambda _
              (substitute* "autotests/kdirwatch_unittest.cpp"
                (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))
-             #t))
+                (string-append m "\nwaitUntilNewSecond();")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-             (setenv "TMPDIR" (getcwd))
-             #t)))))
+             (setenv "TMPDIR" (getcwd)))))))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Qt addon library with a collection of non-GUI utilities")
     (description "KCoreAddons provides classes built on top of QtCore to
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:36:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:36:44 2022
Received: from localhost ([127.0.0.1]:59316 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafIi-00046G-B4
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:36:44 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:33660)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafIh-000460-7r
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:36:43 -0400
Date: Tue, 20 Sep 2022 23:36:24 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663688197;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=RZuLimHHAOm/TJoSGpPnt4UqOPd54jRXCsPLpn96pKY=;
 b=VJmrlP+lZfNO611ho3YhY/qJKAGWZfe+tuA20lZ3whKdBAAuYQ9u1nk1qSDd0Lhq7PuoqC
 g73IvK3yAD1Uu4PmVFRTxIs436qL9h/oQQ6b3vYT/OLcYZ4oXsPdduK8kohqaqmdpOUgMX
 eUhdcKAQ1dmIAlKjrovg++SfkckRYnN/Wjecx4NuNnf1mJVmjEMKspz3fO8ziDkdVcbaUI
 j/NDSe3QfpoOYoyM8BiJ3JiU6/wYuLbLXNC6cimYjWW6raRNGrhKzOc9kF3nqixGVfqjfd
 dK5y4rvjwupvpASRyz0K0JAVnhFLEI4b6D6kXdEFkog4NU3SqutwzTuyae++2g==
Message-ID: <y761qs6oy6f.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 07/11] gnu: extra-cmake-modules: Update to 5.98.0.
In-Reply-To: <y7635cmoy6u.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN>
 <y768rmeoy90.wl-hako@HIDDEN>
 <y767d1yoy8k.wl-hako@HIDDEN>
 <y765yhioy7v.wl-hako@HIDDEN>
 <y764jx2oy7d.wl-hako@HIDDEN>
 <y7635cmoy6u.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/kde-frameworks.scm (extra-cmake-modules): Update to 5.98.0.
---
 gnu/packages/kde-frameworks.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 738013fdba..52314fd0ff 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -88,7 +88,7 @@ (define-module (gnu packages kde-frameworks)
 (define-public extra-cmake-modules
   (package
     (name "extra-cmake-modules")
-    (version "5.91.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -97,7 +97,7 @@ (define-public extra-cmake-modules
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0k65rvxh926ya6qahzk2ns7g1fya1429648mlx7iipxa61g8h5wp"))))
+                "0669m98vqy4hpacfjs7xpgjj1bns24kjybrjipxzp82092g8y69w"))))
     (build-system cmake-build-system)
     (native-inputs
      ;; Add test dependency, except on armhf where building it is too
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:36:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:36:30 2022
Received: from localhost ([127.0.0.1]:59307 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafIU-00045Y-2R
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:36:30 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:59646)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafIS-00045L-Em
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:36:28 -0400
Date: Tue, 20 Sep 2022 23:36:09 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663688182;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=vCw9lXsXcaIUkTORlM9dL1Rt+pDavfh39EoC6yL9AQo=;
 b=GIFP/aRniJ10zQ3gEn3wEReOANK/emUhNZLEBznv9bFFB210HsdIKK+1CHCse8uLPe8RBJ
 Q59qSNQV2Og+hFuyceEPG6Ti3Wn+VXclJoz2UkARxIwudNpzKAiSTeUNbgkpG/ouhQUyQ4
 U5fhhrX6GqvqFddE26q1dUSjsLvLgHmFYi75SvCUcBVcVR2Bi91rzzcUwH+SLhDUqzgArW
 E/zercf6mK76CPsoNEIKV8xYJlU7lInQnvxC6Z6VsjufiGt4R3r+nLIp1Z2zIG0goynQth
 ZDWfeNiEIpE/Kv0IEXgu4ZjqPuPoxY4l6+Tpb8/ml3pY5fT0qaSErmEkYinAww==
Message-ID: <y7635cmoy6u.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 06/11] gnu: Add abseil-cpp-cxxstd17.
In-Reply-To: <y764jx2oy7d.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN>
 <y768rmeoy90.wl-hako@HIDDEN>
 <y767d1yoy8k.wl-hako@HIDDEN>
 <y765yhioy7v.wl-hako@HIDDEN>
 <y764jx2oy7d.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable.
---
 gnu/packages/cpp.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d03e0bc7e1..5e0646444c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1041,6 +1041,15 @@ (define-public abseil-cpp
           `(cons* "-DBUILD_TESTING=ON"
                   (delete "-DABSL_RUN_TESTS=ON" ,flags))))))))

+(define-public abseil-cpp-cxxstd17
+  (let ((base abseil-cpp))
+    (hidden-package
+     (package/inherit base
+       (arguments
+        (substitute-keyword-arguments (package-arguments base)
+          ((#:configure-flags flags)
+           #~(cons* "-DCMAKE_CXX_STANDARD=17" #$flags))))))))
+
 (define-public pegtl
   (package
     (name "pegtl")
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:36:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:36:11 2022
Received: from localhost ([127.0.0.1]:59304 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafIA-000451-MD
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:36:10 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:36096)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafI9-00044q-V0
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:36:10 -0400
Date: Tue, 20 Sep 2022 23:35:50 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663688164;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=evSci8dkSc/mSWruOMm69siBhaj06NeyLI+n0KMOmDg=;
 b=X3JqYUaTJox2EKNEnoMdLu3sjtQ03VhMUIRMjiN9GohvE0o/Zo+vDAkww0pGButv9GMI2M
 Yyfs1L3E3oWpRh6iPCp47X70hhWx5zO2RlHbCKcLJ/wZynARNL+3Zek5C2HywfH88I7ejX
 BYtH4SEztI44xVSd2uZOHIp1I6GADpIG4aTbep5l2X8tWekEjx3DhFVFsg7SDwgKQapabO
 c7IK62nwawbRk6+Nyp6SMcTswmcHQhYZzREFK9GcT+7KgJlMjzbeK01Zmy87mcr0lRvJcv
 LXtzwe7XqyzbGVE3okwCD9FQwMbPm7lbN6Lg3FkYfNkxnWqbNDc7VBjGnoXGZA==
Message-ID: <y764jx2oy7d.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 05/11] gnu: telegram-desktop: Change API ID.
In-Reply-To: <y765yhioy7v.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN>
 <y768rmeoy90.wl-hako@HIDDEN>
 <y767d1yoy8k.wl-hako@HIDDEN>
 <y765yhioy7v.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/telegram.scm (telegram-desktop) [#:configure-flags]: Use API ID
from Telegram's official Snap builds.
---
 gnu/packages/telegram.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 41d12161f0..8eea3297c7 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -502,12 +502,12 @@ (define-public telegram-desktop
              (guix build utils)
              (ice-9 match))
            #:configure-flags
-           #~`(;; Client applications must provide their own API-ID and API-HASH,
-               ;; see also <https://core.telegram.org/api/obtaining_api_id>.
-               ;; In case, that the credentials below fail to work, contact
-               ;;   Raghav Gururajan <rg@HIDDEN>
-               "-DTDESKTOP_API_ID=2791056"
-               "-DTDESKTOP_API_HASH=582d6d0b44f7a2de949e99271fd8b3f2"
+           #~`(;; Client applications need an API ID and hash, see also:
+               ;; <https://core.telegram.org/api/obtaining_api_id>. Here, we
+               ;; use the ones given by the official Snap package, see:
+               ;; <https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml>.
+               "-DTDESKTOP_API_ID=611335"
+               "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
                ;; Disable WebkitGTK support as it fails to link
                "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
                ;; Use bundled fonts as fallback.
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:35:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:35:57 2022
Received: from localhost ([127.0.0.1]:59298 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafHw-00043o-Gp
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:35:57 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:39738)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafHs-00043Z-Ri
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:35:54 -0400
Date: Tue, 20 Sep 2022 23:35:32 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663688147;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=FUNfAIdpcW09sE5dHKk2s8kCoZlq+cbovZNdLQrGXBI=;
 b=nqJPvu2FdLlbFIH+RL42hZxgMgqql+oxc5x/tr+dprj9E9fabayX0ANkXudKGjwXGsdGtg
 B07zRmD8Pl7baFyV4F7QyAYq90D8MyxfdFeIhxQsvsPgeHnx2lNQXSAk9dSobddBdT2XNa
 M0nbIs79Sd+m+khkb5g+MFn1aU4OIhD7vcI75O0zXj34ID2YMmuSpQLTFNoCGlgKHouiWB
 0ZyeqiJLeQfx7rH1kfHTMDN5ebn9o2jVNPx23KkKR23DZdIMiOK00pwthH3+OT8M4jqPGa
 taQe9/NAqAeWMVfVqLRuoBtYQ5Y3ZMj61OmFNiU9JQv3j0h3esKdZP0HCOtvtw==
Message-ID: <y765yhioy7v.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 04/11] gnu: telegram-desktop: Use modern package style.
In-Reply-To: <y767d1yoy8k.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN>
 <y768rmeoy90.wl-hako@HIDDEN>
 <y767d1yoy8k.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/telegram.scm (%telegram-version,
cmake-helpers-for-telegram-desktop,codegen-for-telegram-desktop,
lib-base-for-telegram-desktop,lib-crl-for-telegram-desktop,
lib-lottie-for-telegram-desktop,lib-qr-for-telegram-desktop,
lib-rlottie-for-telegram-desktop,lib-rpl-for-telegram-desktop,
lib-spellcheck-for-telegram-desktop,lib-storage-for-telegram-desktop,
lib-tl-for-telegram-desktop,lib-ui-for-telegram-desktop,
lib-waylandshells-for-telegram-desktop,lib-webrtc-for-telegram-desktop,
lib-webview-for-telegram-desktop,tgcalls-for-telegram-desktop): New variables.
(telegram-desktop)[#:phases]: Copy sources with gexp.
[native-inputs,inputs]: Remove sources in favor of variables.
---
 gnu/packages/telegram.scm | 605 +++++++++++++++++++-------------------
 1 file changed, 308 insertions(+), 297 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index b9844c75f4..41d12161f0 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -72,6 +72,8 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))

+(define %telegram-version "2.9.3")
+
 (define libvpx-for-telegram-desktop
   (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
         (revision "112"))
@@ -102,6 +104,198 @@ (define libyuv-for-telegram-desktop
        (base32
         "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))

+(define cmake-helpers-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/cmake_helpers.git")
+          (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
+    (file-name
+     (git-file-name "cmake-helpers-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
+
+(define codegen-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/codegen.git")
+          (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
+    (file-name
+     (git-file-name "codegen-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
+
+(define lib-base-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_base.git")
+          (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
+    (file-name
+     (git-file-name "lib-base-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
+
+(define lib-crl-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_crl.git")
+          (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
+    (file-name
+     (git-file-name "lib-crl-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
+
+(define lib-lottie-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_lottie.git")
+          (commit "0770df009db7928df1d0cad0900dc5110106d229")))
+    (file-name
+     (git-file-name "lib-lottie-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
+
+(define lib-qr-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_qr.git")
+          (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
+    (file-name
+     (git-file-name "lib-qr-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
+
+(define lib-rlottie-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_rlottie.git")
+          (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
+    (file-name
+     (git-file-name "lib-rlottie-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
+
+(define lib-rpl-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_rpl.git")
+          (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
+    (file-name
+     (git-file-name "lib-rpl-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
+
+(define lib-spellcheck-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_spellcheck.git")
+          (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
+    (file-name
+     (git-file-name "lib-spellcheck-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
+
+(define lib-storage-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_storage.git")
+          (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
+    (file-name
+     (git-file-name "lib-storage-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
+
+(define lib-tl-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_tl.git")
+          (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
+    (file-name
+     (git-file-name "lib-tl-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
+
+(define lib-ui-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_ui.git")
+          (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
+    (file-name
+     (git-file-name "lib-ui-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
+
+(define lib-waylandshells-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_waylandshells.git")
+          (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
+    (file-name
+     (git-file-name "lib-waylandshells-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
+
+(define lib-webrtc-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_webrtc.git")
+          (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
+    (file-name
+     (git-file-name "lib-webrtc-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
+
+(define lib-webview-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/desktop-app/lib_webview.git")
+          (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
+    (file-name
+     (git-file-name "lib-webview-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
+
+(define tgcalls-for-telegram-desktop
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/TelegramMessenger/tgcalls.git")
+          (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
+    (file-name
+     (git-file-name "tgcalls-for-telegram-desktop" %telegram-version))
+    (sha256
+     (base32
+      "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
+
 (define-public webrtc-for-telegram-desktop
   (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
         (revision "166"))
@@ -269,7 +463,7 @@ (define-public libtgvoip-for-telegram-desktop
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-    (version "2.9.3")
+    (version %telegram-version)
     (source
      (origin
        (method git-fetch)
@@ -286,306 +480,123 @@ (define-public telegram-desktop
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
-        `(begin
-           (let ((keep
-                  '( ;; Not available in Guix.
-                    "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
-             (with-directory-excursion "Telegram/ThirdParty"
-               (for-each delete-file-recursively
-                         (lset-difference string=?
-                                          (scandir ".")
-                                          (cons* "." ".." keep)))))))))
+        #~(begin
+            (let ((keep
+                   '( ;; Not available in Guix.
+                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+              (with-directory-excursion "Telegram/ThirdParty"
+                (for-each delete-file-recursively
+                          (lset-difference string=?
+                                           (scandir ".")
+                                           (cons* "." ".." keep)))))))))
     (build-system qt-build-system)
     (arguments
-     `(#:tests? #f                      ; No target
-       #:imported-modules
-       (,@%qt-build-system-modules
-        (guix build glib-or-gtk-build-system))
-       #:modules
-       ((guix build qt-build-system)
-        ((guix build glib-or-gtk-build-system)
-         #:prefix glib-or-gtk:)
-        (guix build utils)
-        (ice-9 match))
-       #:configure-flags
-       (list
-        ;; Client applications must provide their own API-ID and API-HASH,
-        ;; see also <https://core.telegram.org/api/obtaining_api_id>.
-        ;; In case, that the credentials below fail to work, contact
-        ;;   Raghav Gururajan <rg@HIDDEN>
-        "-DTDESKTOP_API_ID=2791056"
-        "-DTDESKTOP_API_HASH=582d6d0b44f7a2de949e99271fd8b3f2"
-        ;; Disable WebkitGTK support as it fails to link
-        "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
-        ;; Use bundled fonts as fallback.
-        "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'make-writable
-           (lambda _
-             (for-each make-file-writable (find-files "."))))
-         (add-after 'make-writable 'copy-inputs
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (for-each
-              (match-lambda
-                ((dst src)
-                 (copy-recursively src dst)
-                 (for-each make-file-writable (find-files dst))))
-              `(("cmake" ,(assoc-ref inputs "cmake-helpers"))
-                ("Telegram/codegen" ,(assoc-ref inputs "codegen-source"))
-                ("Telegram/lib_base" ,(assoc-ref inputs "lib-base-source"))
-                ("Telegram/lib_crl" ,(assoc-ref inputs "lib-crl-source"))
-                ("Telegram/lib_lottie"
-                 ,(assoc-ref inputs "lib-lottie-source"))
-                ("Telegram/lib_qr" ,(assoc-ref inputs "lib-qr-source"))
-                ("Telegram/lib_rlottie"
-                 ,(assoc-ref inputs "lib-rlottie-source"))
-                ("Telegram/lib_rpl" ,(assoc-ref inputs "lib-rpl-source"))
-                ("Telegram/lib_spellcheck"
-                 ,(assoc-ref inputs "lib-spellcheck-source"))
-                ("Telegram/lib_storage"
-                 ,(assoc-ref inputs "lib-storage-source"))
-                ("Telegram/lib_tl" ,(assoc-ref inputs "lib-tl-source"))
-                ("Telegram/lib_ui" ,(assoc-ref inputs "lib-ui-source"))
-                ("Telegram/lib_waylandshells" ,(assoc-ref inputs "lib-waylandshells-source"))
-                ("Telegram/lib_webrtc" ,(assoc-ref inputs "lib-webrtc-source"))
-                ("Telegram/lib_webview" ,(assoc-ref inputs "lib-webview-source"))
-                ("Telegram/ThirdParty/tgcalls" ,(assoc-ref inputs "tgcalls-source"))))))
-         (add-before 'configure 'patch-cxx-flags
-           (lambda _
-             (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
-         (add-after 'install 'glib-or-gtk-compile-schemas
-           (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
-         (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
-           (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
+     (list #:tests? #f                      ; No target
+           #:imported-modules
+           `(,@%qt-build-system-modules
+             (guix build glib-or-gtk-build-system))
+           #:modules
+           '((guix build qt-build-system)
+             ((guix build glib-or-gtk-build-system)
+              #:prefix glib-or-gtk:)
+             (guix build utils)
+             (ice-9 match))
+           #:configure-flags
+           #~`(;; Client applications must provide their own API-ID and API-HASH,
+               ;; see also <https://core.telegram.org/api/obtaining_api_id>.
+               ;; In case, that the credentials below fail to work, contact
+               ;;   Raghav Gururajan <rg@HIDDEN>
+               "-DTDESKTOP_API_ID=2791056"
+               "-DTDESKTOP_API_HASH=582d6d0b44f7a2de949e99271fd8b3f2"
+               ;; Disable WebkitGTK support as it fails to link
+               "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
+               ;; Use bundled fonts as fallback.
+               "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'make-writable
+                 (lambda _
+                   (for-each make-file-writable (find-files "."))))
+               (add-after 'make-writable 'copy-inputs
+                 (lambda _
+                   (for-each
+                    (match-lambda
+                      ((dst src)
+                       (copy-recursively src dst)
+                       (for-each make-file-writable (find-files dst))))
+                    '(("cmake" #$cmake-helpers-for-telegram-desktop)
+                      ("Telegram/codegen" #$codegen-for-telegram-desktop)
+                      ("Telegram/lib_base" #$lib-base-for-telegram-desktop)
+                      ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
+                      ("Telegram/lib_lottie" #$lib-lottie-for-telegram-desktop)
+                      ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
+                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-desktop)
+                      ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
+                      ("Telegram/lib_spellcheck" #$lib-spellcheck-for-telegram-desktop)
+                      ("Telegram/lib_storage" #$lib-storage-for-telegram-desktop)
+                      ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
+                      ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
+                      ("Telegram/lib_waylandshells" #$lib-waylandshells-for-telegram-desktop)
+                      ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-desktop)
+                      ("Telegram/lib_webview" #$lib-webview-for-telegram-desktop)
+                      ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
+               (add-before 'configure 'patch-cxx-flags
+                 (lambda _
+                   (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
+               (add-after 'install 'glib-or-gtk-compile-schemas
+                 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
+               (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
+                 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
     (native-inputs
-     `(("cmake-helpers"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/cmake_helpers.git")
-             (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
-           (file-name
-            (git-file-name "cmake-helpers-for-telegram-desktop" version))
-           (sha256
-            (base32 "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
-       ("cmake-shared" ,cmake-shared)
-       ("extra-cmake-modules" ,extra-cmake-modules)
-       ("glib:bin" ,glib "bin")
-       ("gobject-introspection" ,gobject-introspection)
-       ("gtk+:bin" ,gtk+ "bin")
-       ("pkg-config" ,pkg-config)
-       ("python" ,python-wrapper)
-       ("qttools-5" ,qttools-5)))
+     (list cmake-shared
+           extra-cmake-modules
+           `(,glib "bin")
+           `(,gtk+ "bin")
+           pkg-config
+           python-wrapper
+           qttools-5))
     (inputs
-     `(("alsa" ,alsa-lib)
-       ("c++-gsl" ,c++-gsl)
-       ("catch" ,catch2)
-       ("codegen-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/codegen.git")
-             (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
-           (file-name
-            (git-file-name "codegen" version))
-           (sha256
-            (base32 "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
-       ("expected" ,libexpected)
-       ("fcitx-qt5" ,fcitx-qt5)
-       ("fcitx5-qt" ,fcitx5-qt)
-       ("ffmpeg" ,ffmpeg)
-       ("glib" ,glib)
-       ("glibmm" ,glibmm-2.64)
-       ("gtk+" ,gtk+)
-       ("hime" ,hime)
-       ("hunspell" ,hunspell)
-       ("jemalloc" ,jemalloc)
-       ("kwayland" ,kwayland)
-       ("lib-base-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_base.git")
-             (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
-           (file-name
-            (git-file-name "lib-base-for-telegram-desktop" version))
-           (sha256
-            (base32 "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
-       ("lib-crl-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_crl.git")
-             (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
-           (file-name
-            (git-file-name "lib-crl-for-telegram-desktop" version))
-           (sha256
-            (base32 "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
-       ("lib-lottie-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_lottie.git")
-             (commit "0770df009db7928df1d0cad0900dc5110106d229")))
-           (file-name
-            (git-file-name "lib-lottie-for-telegram-desktop" version))
-           (sha256
-            (base32 "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
-       ("lib-qr-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_qr.git")
-             (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
-           (file-name
-            (git-file-name "lib-qr-for-telegram-desktop" version))
-           (sha256
-            (base32 "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
-       ("lib-rlottie-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_rlottie.git")
-             (commit "0671bf70547381effcf442ec9618e04502a8adbc")))
-           (file-name
-            (git-file-name "lib-rlottie-for-telegram-desktop" version))
-           (sha256
-            (base32 "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv"))))
-       ("lib-rpl-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_rpl.git")
-             (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
-           (file-name
-            (git-file-name "lib-rpl-for-telegram-desktop" version))
-           (sha256
-            (base32 "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
-       ("lib-spellcheck-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_spellcheck.git")
-             (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
-           (file-name
-            (git-file-name "lib-spellcheck-for-telegram-desktop" version))
-           (sha256
-            (base32 "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
-       ("lib-storage-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_storage.git")
-             (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
-           (file-name
-            (git-file-name "lib-storage-for-telegram-desktop" version))
-           (sha256
-            (base32 "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
-       ("lib-tl-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_tl.git")
-             (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
-           (file-name
-            (git-file-name "lib-tl-for-telegram-desktop" version))
-           (sha256
-            (base32 "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
-       ("lib-ui-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_ui.git")
-             (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
-           (file-name
-            (git-file-name "lib-ui-for-telegram-desktop" version))
-           (sha256
-            (base32 "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
-       ("lib-waylandshells-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_waylandshells.git")
-             (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
-           (file-name
-            (git-file-name "lib-waylandshells-for-telegram-desktop" version))
-           (sha256
-            (base32 "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
-       ("lib-webrtc-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_webrtc.git")
-             (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
-           (file-name
-            (git-file-name "lib-webrtc-for-telegram-desktop" version))
-           (sha256
-            (base32 "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
-       ("lib-webview-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/desktop-app/lib_webview.git")
-             (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
-           (file-name
-            (git-file-name "lib-webview-for-telegram-desktop" version))
-           (sha256
-            (base32 "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
-       ("libdbusmenu-qt" ,libdbusmenu-qt)
-       ("libjpeg" ,libjpeg-turbo)
-       ("libtgvoip" ,libtgvoip-for-telegram-desktop)
-       ("lz4" ,lz4)
-       ("materialdecoration" ,materialdecoration)
-       ("minizip" ,minizip)
-       ("nimf" ,nimf)
-       ("openal" ,openal)
-       ("openssl" ,openssl)
-       ("opus" ,opus)
-       ("pulseaudio" ,pulseaudio)
-       ("qrcodegen" ,qrcodegen-cpp)
-       ("qt" ,qtbase-5)
-       ("qtsvg-5" ,qtsvg-5)
-       ("qt5ct" ,qt5ct)
-       ("qtimageformats" ,qtimageformats)
-       ("qtwayland" ,qtwayland)
-       ("range-v3" ,range-v3)
-       ("rlottie" ,rlottie-for-telegram-desktop)
-       ("rnnoise" ,rnnoise)
-       ("tgcalls-source"
-        ,(origin
-           (method git-fetch)
-           (uri
-            (git-reference
-             (url "https://github.com/TelegramMessenger/tgcalls.git")
-             (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
-           (file-name
-            (git-file-name "tgcalls-for-telegram-desktop" version))
-           (sha256
-            (base32 "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
-       ("webrtc" ,webrtc-for-telegram-desktop)
-       ("x11" ,libx11)
-       ("xcb" ,libxcb)
-       ("xcb-keysyms" ,xcb-util-keysyms)
-       ("xxhash" ,xxhash)
-       ("zlib" ,zlib)))
-    (propagated-inputs
-     (list dconf))
+     (list alsa-lib
+           c++-gsl
+           catch2
+           libexpected
+           fcitx-qt5
+           fcitx5-qt
+           ffmpeg
+           glib
+           glibmm-2.64
+           gtk+
+           hime
+           hunspell
+           jemalloc
+           kwayland
+           libdbusmenu-qt
+           libjpeg-turbo
+           libtgvoip-for-telegram-desktop
+           lz4
+           materialdecoration
+           minizip
+           nimf
+           openal
+           openssl
+           opus
+           pulseaudio
+           qrcodegen-cpp
+           qtbase-5
+           qtsvg-5
+           qt5ct
+           qtimageformats
+           qtwayland
+           range-v3
+           rlottie-for-telegram-desktop
+           rnnoise
+           webrtc-for-telegram-desktop
+           libx11
+           libxcb
+           xcb-util-keysyms
+           xxhash
+           zlib))
+    (propagated-inputs (list dconf))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:35:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:35:28 2022
Received: from localhost ([127.0.0.1]:59295 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafHT-000438-UB
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:35:28 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:49072)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafHS-00042v-Aq
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:35:26 -0400
Date: Tue, 20 Sep 2022 23:35:07 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663688120;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=NaRF7T3RCDMoxeqyqnIrfy39gov66Q6uDd5M+6GUgqM=;
 b=jpod4lUSaXD9EOjHvJG3A2OsoesNA8HbxuaEpiXj3gr8T2hQBb9uTF4kaGzkg1PzW6f6sz
 dRVV0uj8RPsGZg284AJwTtPld2Ym4qApF3QxRHP6phuIkxLak06aF1CrTc1EwUadnX8zqF
 zMSIdZZH3y+6ecJDlp7wT3Sieh048QP2xysrMmhOIEzXBR4205nWQQ/EeLvTPG1gZMkBkD
 5PdXCJToSDTO7z21/4YWHtHIi7ZFXcQJ0TeyPodVZk27rQb/ok2OMbb4rgpbJqPbUnyfBy
 EyF/8QDp30+Y6NoSwA6UdNxTTP79tfcAbXMQGoO92rq2YLjShSvDkQEEpFOsiA==
Message-ID: <y767d1yoy8k.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 03/11] gnu: webrtc-for-telegram-desktop: Use modern package
In-Reply-To: <y768rmeoy90.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN>
 <y768rmeoy90.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

 style.

* gnu/packages/telegram.scm (libvpx-for-telegram-desktop,
libyuv-for-telegram-desktop): New variables.
(webrtc-for-telegram-desktop)[#:phases]: Copy sources with gexp.
[inputs]: Remove sources in favor of variables.
---
 gnu/packages/telegram.scm | 148 +++++++++++++++++++-------------------
 1 file changed, 75 insertions(+), 73 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 08a72d2e0f..b9844c75f4 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -62,6 +62,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
+  #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system copy)
@@ -71,6 +72,36 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))

+(define libvpx-for-telegram-desktop
+  (let ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
+        (revision "112"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://chromium.googlesource.com/webm/libvpx")
+            (commit commit)))
+      (file-name (git-file-name
+                  "libvpx-for-telegram-desktop"
+                  (git-version "1.9.0" revision commit)))
+      (sha256
+       (base32
+        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
+
+(define libyuv-for-telegram-desktop
+  (let ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
+        (revision "2211"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://chromium.googlesource.com/libyuv/libyuv")
+            (commit commit)))
+      (file-name (git-file-name
+                  "libyuv-for-telegram-desktop"
+                  (git-version "0" revision commit)))
+      (sha256
+       (base32
+        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
+
 (define-public webrtc-for-telegram-desktop
   (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
         (revision "166"))
@@ -94,82 +125,53 @@ (define-public webrtc-for-telegram-desktop
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
-           `(begin
-              (let ((keep
-                     '( ;; Custom forks which are incompatible with the ones in Guix.
-                       "abseil-cpp" "libsrtp" "openh264" "rnnoise"
-                       ;; Not available in Guix.
-                       "pffft" "usrsctp"
-                       ;; Has cmake support files for libvpx input.
-                       "libvpx")))
-                (with-directory-excursion "src/third_party"
-                  (for-each delete-file-recursively
-                            (lset-difference string=?
-                                             (scandir ".")
-                                             (cons* "." ".." keep)))))))))
+           #~(begin
+               (let ((keep
+                      '( ;; Custom forks which are incompatible with the ones in Guix.
+                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                        ;; Not available in Guix.
+                        "pffft" "usrsctp"
+                        ;; Has cmake support files for libvpx input.
+                        "libvpx")))
+                 (with-directory-excursion "src/third_party"
+                   (for-each delete-file-recursively
+                             (lset-difference string=?
+                                              (scandir ".")
+                                              (cons* "." ".." keep)))))))))
        (build-system cmake-build-system)
        (arguments
-        `(#:tests? #f                   ; No target
-          #:configure-flags
-          (list
-           "-DCMAKE_C_FLAGS=-fPIC"
-           "-DCMAKE_CXX_FLAGS=-fPIC")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'copy-inputs
-              (lambda* (#:key inputs outputs #:allow-other-keys)
-                (let* ((libvpx-from (assoc-ref inputs "libvpx"))
-                       (libyuv-from (assoc-ref inputs "libyuv"))
-                       (libvpx-to (string-append (getcwd)
-                                                 "/src/third_party/libvpx/source/libvpx"))
-                       (libyuv-to (string-append (getcwd)
-                                                 "/src/third_party/libyuv")))
-                  (copy-recursively libvpx-from libvpx-to)
-                  (copy-recursively libyuv-from libyuv-to)))))))
-       (native-inputs
-        `(("perl" ,perl)
-          ("pkg-config" ,pkg-config)
-          ("python" ,python-wrapper)
-          ("yasm" ,yasm)))
+        (list #:tests? #f               ; No target
+              #:configure-flags
+              #~`("-DCMAKE_C_FLAGS=-fPIC"
+                  "-DCMAKE_CXX_FLAGS=-fPIC")
+              #:phases
+              #~(modify-phases %standard-phases
+                  (add-after 'unpack 'copy-inputs
+                    (lambda _
+                      (let* ((libvpx-to (string-append (getcwd)
+                                                       "/src/third_party/libvpx/source/libvpx"))
+                             (libyuv-to (string-append (getcwd)
+                                                       "/src/third_party/libyuv")))
+                        (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
+                        (copy-recursively #$libyuv-for-telegram-desktop libyuv-to)))))))
+       (native-inputs (list perl pkg-config python-wrapper yasm))
        (inputs
-        `(("alsa" ,alsa-lib)
-          ("ffmpeg" ,ffmpeg)
-          ("libjpeg" ,libjpeg-turbo)
-          ("glib" ,glib)
-          ("libvpx"
-           ,(origin
-              (method git-fetch)
-              (uri
-               (git-reference
-                (url "https://chromium.googlesource.com/webm/libvpx")
-                (commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")))
-              (file-name
-               (git-file-name "libvpx-for-webrtc-for-telegram-desktop" version))
-              (sha256
-               (base32 "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68"))))
-          ("libyuv"
-           ,(origin
-              (method git-fetch)
-              (uri
-               (git-reference
-                (url "https://chromium.googlesource.com/libyuv/libyuv")
-                (commit "ad890067f661dc747a975bc55ba3767fe30d4452")))
-              (file-name
-               (git-file-name "libyuv-for-webrtc-for-telegram-desktop" version))
-              (sha256
-               (base32 "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll"))))
-          ("libxcomposite" ,libxcomposite)
-          ("libxdamage" ,libxdamage)
-          ("libxrender" ,libxrender)
-          ("libxrandr" ,libxrandr)
-          ("openssl" ,openssl)
-          ("opus" ,opus)
-          ("pipewire" ,pipewire)
-          ("protobuf" ,protobuf)
-          ("pulseaudio" ,pulseaudio)
-          ("x11" ,libx11)
-          ("xext" ,libxext)
-          ("xtst" ,libxtst)))
+        (list alsa-lib
+              ffmpeg
+              libjpeg-turbo
+              glib
+              libxcomposite
+              libxdamage
+              libxrender
+              libxrandr
+              openssl
+              opus
+              pipewire
+              protobuf
+              pulseaudio
+              libx11
+              libxext
+              libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
 Telegram project, for its use in telegram desktop client.")
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:35:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:35:12 2022
Received: from localhost ([127.0.0.1]:59292 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafHE-00042e-Jb
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:35:12 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:51512)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafHD-00042P-Bn
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:35:11 -0400
Date: Tue, 20 Sep 2022 23:34:51 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663688105;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=2PdI9XZUyx7NabgzdG0ezwOywrNClOsad8iktBNJ/bE=;
 b=gc+2rd4ZXBz2aiG/odIqhRCGEzQ6pWCz3Rm48kDa8tqdn4QI9CVvR0xJGN1Yu3V9kQxjcQ
 t3hOV1C/LKg7lcRY/S1j6KFfOR/fifC8c6yVVs+sEGVNMPPmCZETjj9tn8/m3aIhURyoIc
 0ri7/qBIanVjwSKWEpdfLc8YHyMHM095Ls1Wofn8Obj6tpuG5eyZnquDQaSNV6on9bEjw1
 /z/RZ5cgSeW+bqRaTSmma4n3ZdxfktaGInoDP3fjD9gQPxs0C5GHK9ytKtg1Hv3v+Hsemu
 R7nmTPEQexDVqq9jRB+MTF4+2KUeaKB3H1CmpZte1UQNgEvVwsItZdftjJKyVg==
Message-ID: <y768rmeoy90.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 02/11] gnu: telegram-desktop: Delete trailing #t.
In-Reply-To: <y76a66uoy9g.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
 <y76a66uoy9g.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/telegram.scm (telegram-desktop)[source,#:phases]: Delete
trailing #t.
---
 gnu/packages/telegram.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index ae1b727df7..08a72d2e0f 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -292,8 +292,7 @@ (define-public telegram-desktop
                (for-each delete-file-recursively
                          (lset-difference string=?
                                           (scandir ".")
-                                          (cons* "." ".." keep))))
-             #t)))))
+                                          (cons* "." ".." keep)))))))))
     (build-system qt-build-system)
     (arguments
      `(#:tests? #f                      ; No target
@@ -322,8 +321,7 @@ (define-public telegram-desktop
        (modify-phases %standard-phases
          (add-after 'unpack 'make-writable
            (lambda _
-             (for-each make-file-writable (find-files "."))
-             #t))
+             (for-each make-file-writable (find-files "."))))
          (add-after 'make-writable 'copy-inputs
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (for-each
@@ -350,14 +348,10 @@ (define-public telegram-desktop
                 ("Telegram/lib_waylandshells" ,(assoc-ref inputs "lib-waylandshells-source"))
                 ("Telegram/lib_webrtc" ,(assoc-ref inputs "lib-webrtc-source"))
                 ("Telegram/lib_webview" ,(assoc-ref inputs "lib-webview-source"))
-                ("Telegram/ThirdParty/tgcalls"
-                 ,(assoc-ref inputs "tgcalls-source"))))
-             #t))
+                ("Telegram/ThirdParty/tgcalls" ,(assoc-ref inputs "tgcalls-source"))))))
          (add-before 'configure 'patch-cxx-flags
            (lambda _
-             (substitute* "cmake/options_linux.cmake"
-               (("class-memaccess") "all"))
-             #t))
+             (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
          (add-after 'install 'glib-or-gtk-compile-schemas
            (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
          (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:35:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:35:00 2022
Received: from localhost ([127.0.0.1]:59285 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafH2-00041J-9V
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:35:00 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:50964)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafGx-000413-U6
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:34:59 -0400
Date: Tue, 20 Sep 2022 23:34:35 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663688089;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=oI/ittziWDJLK2IzW6+wn085tA/XyXkY5lXID7CFtpI=;
 b=YEFnTQMN6uuoMGhbtflzns9vlSJrI/69CZhRFHeVU43CcJruUD+Z84ajktSb9AWiVYZ+/t
 Yv7G4XAlbaLF5O9cbAutUEx5BjAelG+MUiVpsCvXOKtgJ6n45B0zIwSLn1fbXmMT+6PzZM
 MmycV54wm2oZk/Oa9FrPh/mzv4JRBKdrSDh3C9dGQ+5M9TtC9kF+mgvIJZheyeW7gquN86
 KJADCTex0CdNg7ISehZFRrKW2QykCbZ8/A95SxThJeUeudGsM9QZ7is8AW0cFDtdft0AIX
 6WPFxSFZIrwcqn874CRHtnG7x/N/8arxU15hgJ6X3Ke/wng/CN2eF60R2Zjmzw==
Message-ID: <y76a66uoy9g.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 01/11] gnu: webrtc-for-telegram-desktop: Delete trailing #t.
In-Reply-To: <y76bkraoycd.wl-hako@HIDDEN>
References: <y76bkraoycd.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/telegram.scm (webrtc-for-telegram-desktop)[source,#:phases]:
Delete trailing #t.
---
 gnu/packages/telegram.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 1a22d230d2..ae1b727df7 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -106,8 +106,7 @@ (define-public webrtc-for-telegram-desktop
                   (for-each delete-file-recursively
                             (lset-difference string=?
                                              (scandir ".")
-                                             (cons* "." ".." keep))))
-                #t)))))
+                                             (cons* "." ".." keep)))))))))
        (build-system cmake-build-system)
        (arguments
         `(#:tests? #f                   ; No target
@@ -126,8 +125,7 @@ (define-public webrtc-for-telegram-desktop
                        (libyuv-to (string-append (getcwd)
                                                  "/src/third_party/libyuv")))
                   (copy-recursively libvpx-from libvpx-to)
-                  (copy-recursively libyuv-from libyuv-to))
-                #t)))))
+                  (copy-recursively libyuv-from libyuv-to)))))))
        (native-inputs
         `(("perl" ,perl)
           ("pkg-config" ,pkg-config)
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 15:33:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:33:23 2022
Received: from localhost ([127.0.0.1]:59275 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oafFT-0003yh-CT
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:33:23 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:53136)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oafFP-0003yR-P6
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:33:21 -0400
Date: Tue, 20 Sep 2022 23:32:50 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663687991;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=bbi0TxElwWs400kWGnmu8St4+4y23ND52LPYhdLUT/4=;
 b=kZtcPYfHtQ1Tsz0Gbp91Cf7SUjt8j3Sl5kgPhZWEAL0JcQlLqEX/Tx56NncfATXjJfixCG
 rZYjNwFkITt2BoMs7BISmcOYZoHp5AIep898WiqnEuVe9Bkrb8FM0vcx6BhiDDbppunFSz
 Lbl/nX3G/lR51nz28Y/OpzoWYvIxak4FfODWAmYGTtGot3GpyQcCIe0hxP68Sq9yz5exyP
 TeiF5RnK6XIe8cWdT2W5MOCWE8NG6Mgid390xLsTmTJgsbWOzDUo60e25EmOpnlRn/EKSU
 PDdnLmVZglBh0sAIAtegPO9Jt36bBZzeZGq4HYTCEBaSQn640G1fKHcwdfdDhw==
Message-ID: <y76bkraoycd.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v6 00/11] gnu: telegram-desktop: Update to 4.2.0.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


v5 -> v6: Corrected versions and revisions.

For libtgvoip, See <https://github.com/telegramdesktop/tdesktop/pull/24126>.
No text here as I'm not a little stuck now. (=EF=BF=97=EF=B9=8F=EF=BF=97 )

Hilton Chain (11):
  gnu: webrtc-for-telegram-desktop: Delete trailing #t.
  gnu: telegram-desktop: Delete trailing #t.
  gnu: webrtc-for-telegram-desktop: Use modern package style.
  gnu: telegram-desktop: Use modern package style.
  gnu: telegram-desktop: Change API ID.
  gnu: Add abseil-cpp-cxxstd17.
  gnu: extra-cmake-modules: Update to 5.98.0.
  gnu: kcoreaddons: Remove trailing #t.
  gnu: kcoreaddons: Update to 5.98.0.
  gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
  gnu: telegram-desktop: Update to 4.2.0.

 gnu/local.mk                                  |   1 +
 gnu/packages/cpp.scm                          |   9 +
 gnu/packages/kde-frameworks.scm               |  23 +-
 ...r-telegram-desktop-fix-gcc12-cstdint.patch |  21 +
 gnu/packages/telegram.scm                     | 877 +++++++++---------
 5 files changed, 453 insertions(+), 478 deletions(-)
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gc=
c12-cstdint.patch


base-commit: f6e2ca36515d0c50b4db09ddb0bbfc193ea7fe82
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 07:27:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 03:27:37 2022
Received: from localhost ([127.0.0.1]:55962 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaXfN-00006H-Df
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 03:27:37 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:58176)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oaXfL-00005y-EG
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 03:27:35 -0400
Date: Tue, 20 Sep 2022 15:27:05 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663658846;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=T92acBkaN8aa+F56cdkRjB/+zjqF/tE9WOyZK6h3hPo=;
 b=Jl458D5jpG+OQ1xRi26fKXzs6H/oQkRBUTjWfOapPEKGgGsVVVPT6KLWIUo6BtibZBiIQR
 M3JqyeC/Z9GLsQVaQj+X+OlwrkEXvj1xIQmuF8tkZOqHfi3f6WDI9B9KYupxUBo4XCUQM8
 cwKP0y779WBPB//+33Rk20qL4FInhUfXizepAC1aK4eJ0dlnpvcr5+zx1VZfQMCRSfJ1LT
 MM+vOVryCUnC4SMrZutkdPa2aNQx5PvMd8Q57ZU4+QJjPRinyel+sq4Y7xP2OrOC1uFbI3
 4kmORTmBOnftU+qy7XxC2Y50YW571YsEK/0OVFNJJ+cTfJdbph4KmzT8Uu4shw==
Message-ID: <y76r106fquu.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Subject: Re: [PATCH v5 11/11] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <fb3eb357247f41ade24cb52e0059ff6b4254d1f9.camel@HIDDEN>
References: <y76mtavos7u.wl-hako@HIDDEN>
 <y76leqfos6y.wl-hako@HIDDEN>
 <y76k05zos6c.wl-hako@HIDDEN>
 <y76illjos59.wl-hako@HIDDEN>
 <y76h713os4q.wl-hako@HIDDEN>
 <y76fsgnos48.wl-hako@HIDDEN>
 <y76edw7os3l.wl-hako@HIDDEN>
 <y76czbros33.wl-hako@HIDDEN>
 <y76bkrbos2m.wl-hako@HIDDEN>
 <y76a66vos24.wl-hako@HIDDEN>
 <y768rmfos1n.wl-hako@HIDDEN>
 <y767d1zos14.wl-hako@HIDDEN>
 <fb3eb357247f41ade24cb52e0059ff6b4254d1f9.camel@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: 57675 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


On Tue, 20 Sep 2022 13:02:09 +0800,
Liliana Marie Prikler wrote:
> For context, what is this "addressing issue"?

According to their packaging wiki,

#+BEGIN_QUOTE
"it's recommended to use the bundled copy since it's a legacy library and its upstream build scripts
aren't adapted to build with tg_owt, so the calls will crash due to two webrtc libraries being in
one address spacey" 
#+END_QUOTE

However I haven't found the exact issue on this yet...

Finding there's a patch[1] to disable the lib, maybe we could just apply it?

[1]: https://github.com/telegramdesktop/tdesktop/pull/24126




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 05:02:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 01:02:21 2022
Received: from localhost ([127.0.0.1]:55813 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaVOn-0002Sp-0e
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 01:02:21 -0400
Received: from mail-ej1-f68.google.com ([209.85.218.68]:40943)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1oaVOi-0002SY-73
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 01:02:19 -0400
Received: by mail-ej1-f68.google.com with SMTP id l14so3360363eja.7
 for <57675 <at> debbugs.gnu.org>; Mon, 19 Sep 2022 22:02:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date;
 bh=c4QN3NhHvS0uUR50nxZjKTnulYzlt8iwjMeEfe0q4qc=;
 b=efi3mDjfim4/rk7PZR0zhXwpho7pciHTWbvizWiPGmcwYW8uIF+nGUVRcxJLUG5aMx
 AIk7DuunXwCKPOqrHQ+LZU83yK9jPTFEm9M4GbClhZHJP3xd2/bD+zXV12mpEteJdOrt
 ms25uOgnjUHmHRdKLlIEvtvY6xLmaJRx0fCNrp/kXI7ewTz2ajW+NjUOVpAzMzY3Q7Kq
 qnE0W+vjjYMaBt62yqILxS17FrBhnLqdYssHtokCK9cXJuoxSFgtD2x35n91HUdUieW5
 tzbillEKINirRGbslPGNYDs/7hJVRSgb+SBzdXVvYE7LCO6iaLmoFr/KpMxEwzFJ0Cbk
 nfuA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date;
 bh=c4QN3NhHvS0uUR50nxZjKTnulYzlt8iwjMeEfe0q4qc=;
 b=NDlzyX8pzB6Um6p5u1CVY+bmgSlJPy0RxQQ6Q6GLItYrgiF9FjdkdN/aEcXDaebHX7
 rjnAnfVafFl1xfGqD+id/oxrbj0gWFHpT+MTR4UiDj7iVZntuoLj4jCD2NG/F2wKY3mx
 0TtAJIt4OKc6Tqm3Ai+zm37bPcoW5s9zWjFmvIKamt/HpDhhNsbiEYzQdiviMsun5gFz
 S7uYgG07wbvP+Rijoz52l7nqfqCUdcP+JA2YGR+9fq+arRgGhQ5SVYB+ED6ufpxIvRcs
 mFruU7TMxUujH3Q9p8gf5cieo9FW4T3+8iVZZVpTNvm4DzMQUOwHBVXWUxWB6cVG9bW2
 3LDA==
X-Gm-Message-State: ACrzQf3RRnfDUMVe+UzBMiM0372/ZczAT28lknwFlZlLMvUeiOC2KlBv
 I2YnGkTNXCVXhPPML27tAws=
X-Google-Smtp-Source: AMsMyM4qmmsJwgRccNOK4SxPcwftI8x2ofU4xwEjzevXHrsVEsIHSk+fHjXVC9UlR5FUWAJHLkIpoA==
X-Received: by 2002:a17:907:3d86:b0:780:2e5b:58e0 with SMTP id
 he6-20020a1709073d8600b007802e5b58e0mr15265169ejc.312.1663650130533; 
 Mon, 19 Sep 2022 22:02:10 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 r18-20020aa7da12000000b0044e7d69091asm474175eds.85.2022.09.19.22.02.09
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 19 Sep 2022 22:02:10 -0700 (PDT)
Message-ID: <fb3eb357247f41ade24cb52e0059ff6b4254d1f9.camel@HIDDEN>
Subject: Re: [PATCH v5 11/11] gnu: telegram-desktop: Update to 4.2.0.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>, 57675 <at> debbugs.gnu.org
Date: Tue, 20 Sep 2022 07:02:09 +0200
In-Reply-To: <y767d1zos14.wl-hako@HIDDEN>
References: <y76mtavos7u.wl-hako@HIDDEN>
 <y76leqfos6y.wl-hako@HIDDEN> <y76k05zos6c.wl-hako@HIDDEN>
 <y76illjos59.wl-hako@HIDDEN> <y76h713os4q.wl-hako@HIDDEN>
 <y76fsgnos48.wl-hako@HIDDEN> <y76edw7os3l.wl-hako@HIDDEN>
 <y76czbros33.wl-hako@HIDDEN> <y76bkrbos2m.wl-hako@HIDDEN>
 <y76a66vos24.wl-hako@HIDDEN> <y768rmfos1n.wl-hako@HIDDEN>
 <y767d1zos14.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
User-Agent: Evolution 3.45.3 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

QW0gRGllbnN0YWcsIGRlbSAyMC4wOS4yMDIyIHVtIDA3OjM2ICswODAwIHNjaHJpZWIgSGlsdG9u
IENoYWluOgo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgJyg7OyBPd24g
Zm9yaywgYnVuZGxlZCBidWlsZCB0byBhdm9pZCBhbgo+IGFkZHJlc3NpbmcgaXNzdWUuCj4gK8Kg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgImxpYnRndm9pcCIKRm9yIGNv
bnRleHQsIHdoYXQgaXMgdGhpcyAiYWRkcmVzc2luZyBpc3N1ZSI/Cg==





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 04:58:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 00:58:43 2022
Received: from localhost ([127.0.0.1]:55809 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaVLH-0002Le-Dn
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 00:58:43 -0400
Received: from mail-ed1-f68.google.com ([209.85.208.68]:36631)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1oaVLF-0002LR-M7
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 00:58:42 -0400
Received: by mail-ed1-f68.google.com with SMTP id e18so2147296edj.3
 for <57675 <at> debbugs.gnu.org>; Mon, 19 Sep 2022 21:58:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date;
 bh=OBnEAC8kOdyThvCGLmZkzhFDg7d0QLHde+3S0dV6Bxc=;
 b=e4zDX6HhEqbmDSg+r+vBTcbdXoi4GyEDeaZYkqz7SQKEsYWT89Bj+dkO49NsEFXkWc
 ROxvdDSu4YP6ousNSPK0Mh8T66lWhkouEbB+DWtPHWOjs4AwbKjlWuZ0SjVfFm/1M20V
 w/Rh1GzvzGMDgKLoVYZUcCfzbm+aZlhp386X+jd52bJepDNTY7Je1kz8aIJ8LadD5/jz
 gkMDpyLiX2+DlgFfeQLGOeMXRq9O/p7wAaVgeFSNyu50nsNuDBrX+qeTgntvcXdUf6kU
 whUkgOh3HWNV0cqHfNRISs2npSEB6AvPuXQMZcG17Ug+OSs7YaQs2pfS62BRyRXpyDKQ
 LUlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date;
 bh=OBnEAC8kOdyThvCGLmZkzhFDg7d0QLHde+3S0dV6Bxc=;
 b=o3ijyc7jmpw/XFWNFxmLj3bEvpur7PKRH+Bfk2IE/iYMxo0M5c9GYdS/Q3qL50/rdt
 ge48w9HS9tp1iR/wZicW2UK/593qtUHV9sW3PE2da1jrniazYzGk1za16kUSLeZ6hoET
 92LwmYHN0+N9kVW7QEU24grhcYqC1/M7SiJzgWzPH7pn84MwCTRxfuMi1pOGyogeYRTb
 L73jF5pXaHWstGONGC6VkPu8RhW3NUv3r73Y6yTOpMfdfuDicQfDh5MjmEwVEQa/CENb
 Rl7GFVOrH7ZpxX+GdY/pXKHwgaY/8GQxRu1UFRu7G/RszYnNbnAi/hYgAPWVJ8kc6c6V
 wbWA==
X-Gm-Message-State: ACrzQf3byoXv/xvasbIWesL6Fq2ht8ovQbXkihWewpOgh5GpfRu70n72
 1qmzdFun7S7zgSrFpTYDVAM=
X-Google-Smtp-Source: AMsMyM7RmlNNjDn7pAnR7ZQBXSZP6az9sfwbtLIp4ziYa8JLRRLL80ehXc9obghb0kqZiPtJ4AlLcQ==
X-Received: by 2002:aa7:d614:0:b0:453:f01:75c4 with SMTP id
 c20-20020aa7d614000000b004530f0175c4mr18416371edr.302.1663649915843; 
 Mon, 19 Sep 2022 21:58:35 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 d11-20020a50fe8b000000b004542e65337asm489829edt.51.2022.09.19.21.58.35
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 19 Sep 2022 21:58:35 -0700 (PDT)
Message-ID: <b138cd14563da210bdea8a0c9c1b27aa30a14793.camel@HIDDEN>
Subject: Re: [PATCH v5 04/11] gnu: telegram-desktop: Use modern package style.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>, 57675 <at> debbugs.gnu.org
Date: Tue, 20 Sep 2022 06:58:34 +0200
In-Reply-To: <y76h713os4q.wl-hako@HIDDEN>
References: <y76mtavos7u.wl-hako@HIDDEN>
 <y76leqfos6y.wl-hako@HIDDEN> <y76k05zos6c.wl-hako@HIDDEN>
 <y76illjos59.wl-hako@HIDDEN> <y76h713os4q.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.45.3 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Am Dienstag, dem 20.09.2022 um 07:34 +0800 schrieb Hilton Chain:
>=20
> * gnu/packages/telegram.scm (cmake-helpers-for-telegram-desktop,
> codegen-for-telegram-desktop,lib-base-for-telegram-desktop,
> lib-crl-for-telegram-desktop,lib-lottie-for-telegram-desktop,
> lib-qr-for-telegram-desktop,lib-rlottie-for-telegram-desktop,
> lib-rpl-for-telegram-desktop,lib-spellcheck-for-telegram-desktop,
> lib-storage-for-telegram-desktop,lib-tl-for-telegram-desktop,
> lib-ui-for-telegram-desktop,lib-waylandshells-for-telegram-desktop,
> lib-webrtc-for-telegram-desktop,lib-webview-for-telegram-desktop,
> tgcalls-for-telegram-desktop): New variables.
Same thing as for the 0003 patch.  If you don't find a public version
in any of telegram's lib-foo, use telegram's version instead (you might
want to introduce a variable %telegram-version at the head of the file
below the module definition to do so).
> (telegram-desktop)[#:phases]: Copy sources with gexp.
> [native-inputs,inputs]: Remove sources in flavor of variables.
Nitpick: It's favor, not flavor.

Cheers




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 20 Sep 2022 04:56:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 00:56:05 2022
Received: from localhost ([127.0.0.1]:55805 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaVIi-0002I5-AZ
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 00:56:05 -0400
Received: from mail-ej1-f66.google.com ([209.85.218.66]:36706)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1oaVIg-0002Ha-9I
 for 57675 <at> debbugs.gnu.org; Tue, 20 Sep 2022 00:56:03 -0400
Received: by mail-ej1-f66.google.com with SMTP id 13so3391316ejn.3
 for <57675 <at> debbugs.gnu.org>; Mon, 19 Sep 2022 21:56:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date;
 bh=MeK8A/IGRSoccSyWTUXwxhHMRmLv2gfOF6BSN7VuQKY=;
 b=EalO2SMybgQS2aYI/AjbJQrBLxnNzGCs/BHxyHhC3ddOYuNn+F/rovX9gU1F9bJ5Uc
 9xAepxtuMt/hjaSs+/EKjdsd+VRZQ1dzVQ6alZaHsBdD3ZEwWps/yVucvmoilt4UCmZS
 gemJ/sXFgGjkTHJMUOScXG+1tDXMjtXPFUZZFPztq3PC4ADsWxPQ05X8jxiliZXdWRvh
 Wc3PRypIPKPkbQQ2FpOBAKBpRZ+NOXw+V71HRHl8RPsZbLG6twgktpJz5l+l5fx6FMhi
 j+5bHKpFlckDF9BqU8EyneZLY+0E8aAYCmV7zDastr+MAGNKh9NeHG3uTXwLGOLevb/9
 sYlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date;
 bh=MeK8A/IGRSoccSyWTUXwxhHMRmLv2gfOF6BSN7VuQKY=;
 b=heFBpDPeNa7Aggew6xEpR328Z/IoStnQVn85CTJ09hhf7QFba9QKWAvMK0xxzALFgM
 cYBqKftHWiYiGdkfSSIn81Tk/Sy73dsoNH7EvjFLmL0A5lzEC3yRtIgo0fN/iN+J8I/i
 dwWxFNE6eSBo2jZJS4iV2I7dYrHZF0q0O1UMmtRjtrOQQmVtLbKAZG4IeObeUz8V7N5l
 1VGzTeHH/zZYSsGC/RYGU20aPmO+wgRRof6/y2IUqbbMHN7HJcwTsDSElBpwhHI0+ofo
 nLxRNzx2ozvMc6rGZ36TE/EHttTJhdXvveTAGh9RxINrWm+UwoCHm45/UbtAYQxSqxSG
 V3pQ==
X-Gm-Message-State: ACrzQf3xhbYivmTR/+iMnQ5unFEv/H9Xn4D5rOeb3BIsYBLJdNCLqiMN
 BIYxdCciDyLKgyGa/UDwicg=
X-Google-Smtp-Source: AMsMyM4uNJOLxbzqLh9r+nv2DJlODl7RS6X3oEtthF/vKJNTGTlfzUI+QmYZn/uIsEa8Qg0tAnPIZw==
X-Received: by 2002:a17:907:a079:b0:77d:a363:64b6 with SMTP id
 ia25-20020a170907a07900b0077da36364b6mr15274043ejc.451.1663649756065; 
 Mon, 19 Sep 2022 21:55:56 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 bt17-20020a170906b15100b0073dd8e5a39fsm175285ejb.156.2022.09.19.21.55.55
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 19 Sep 2022 21:55:55 -0700 (PDT)
Message-ID: <b0fba9a2a5c25ab84842995109aa36d92017d6da.camel@HIDDEN>
Subject: Re: [PATCH v5 03/11] gnu: webrtc-for-telegram-desktop: Use modern
 package style.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Hilton Chain <hako@HIDDEN>, 57675 <at> debbugs.gnu.org
Date: Tue, 20 Sep 2022 06:55:54 +0200
In-Reply-To: <y76illjos59.wl-hako@HIDDEN>
References: <y76mtavos7u.wl-hako@HIDDEN>
 <y76leqfos6y.wl-hako@HIDDEN> <y76k05zos6c.wl-hako@HIDDEN>
 <y76illjos59.wl-hako@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
User-Agent: Evolution 3.45.3 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

QW0gRGllbnN0YWcsIGRlbSAyMC4wOS4yMDIyIHVtIDA3OjM0ICswODAwIHNjaHJpZWIgSGlsdG9u
IENoYWluOgo+IAo+ICogZ251L3BhY2thZ2VzL3RlbGVncmFtLnNjbSAobGlidnB4LWZvci10ZWxl
Z3JhbS1kZXNrdG9wLAo+IGxpYnl1di1mb3ItdGVsZWdyYW0tZGVza3RvcCk6IE5ldyB2YXJpYWJs
ZXMuCj4gKHdlYnJ0Yy1mb3ItdGVsZWdyYW0tZGVza3RvcClbIzpwaGFzZXNdOiBDb3B5IHNvdXJj
ZXMgd2l0aCBnZXhwLgo+IFtpbnB1dHNdOiBSZW1vdmUgc291cmNlcyBpbiBmbGF2b3Igb2YgdmFy
aWFibGVzLgo+IC0tLQo+IMKgZ251L3BhY2thZ2VzL3RlbGVncmFtLnNjbSB8IDE0OCArKysrKysr
KysrKysrKysrKysrLS0tLS0tLS0tLS0tLS0tLS0KPiAtLQo+IMKgMSBmaWxlIGNoYW5nZWQsIDc1
IGluc2VydGlvbnMoKyksIDczIGRlbGV0aW9ucygtKQo+IAo+IGRpZmYgLS1naXQgYS9nbnUvcGFj
a2FnZXMvdGVsZWdyYW0uc2NtIGIvZ251L3BhY2thZ2VzL3RlbGVncmFtLnNjbQo+IGluZGV4IDA4
YTcyZDJlMGYuLjllNjg5NjU2MDcgMTAwNjQ0Cj4gLS0tIGEvZ251L3BhY2thZ2VzL3RlbGVncmFt
LnNjbQo+ICsrKyBiL2dudS9wYWNrYWdlcy90ZWxlZ3JhbS5zY20KPiBAQCAtNjIsNiArNjIsNyBA
QCAoZGVmaW5lLW1vZHVsZSAoZ251IHBhY2thZ2VzIHRlbGVncmFtKQo+IMKgwqAgIzp1c2UtbW9k
dWxlIChnbnUgcGFja2FnZXMgeG9yZykKPiDCoMKgICM6dXNlLW1vZHVsZSAoKGd1aXggbGljZW5z
ZXMpICM6cHJlZml4IGxpY2Vuc2U6KQo+IMKgwqAgIzp1c2UtbW9kdWxlIChndWl4IHBhY2thZ2Vz
KQo+ICvCoCAjOnVzZS1tb2R1bGUgKGd1aXggZ2V4cCkKPiDCoMKgICM6dXNlLW1vZHVsZSAoZ3Vp
eCBnaXQtZG93bmxvYWQpCj4gwqDCoCAjOnVzZS1tb2R1bGUgKGd1aXggYnVpbGQtc3lzdGVtIGNt
YWtlKQo+IMKgwqAgIzp1c2UtbW9kdWxlIChndWl4IGJ1aWxkLXN5c3RlbSBjb3B5KQo+IEBAIC03
MSw2ICs3MiwzNiBAQCAoZGVmaW5lLW1vZHVsZSAoZ251IHBhY2thZ2VzIHRlbGVncmFtKQo+IMKg
wqAgIzp1c2UtbW9kdWxlIChndWl4IGJ1aWxkLXN5c3RlbSBweXRob24pCj4gwqDCoCAjOnVzZS1t
b2R1bGUgKGd1aXggYnVpbGQtc3lzdGVtIHF0KSkKPiAKPiArKGRlZmluZSBsaWJ2cHgtZm9yLXRl
bGVncmFtLWRlc2t0b3AKPiArwqAgKGxldCogKChjb21taXQgIjViNjNmMGY4MjFlOTRmODA3MmVi
NDgzMDE0Y2ZjMzNiMDU5NzhiYjkiKQo+ICvCoMKgwqDCoMKgwqDCoMKgIChyZXZpc2lvbiAiMCIp
Cj4gK8KgwqDCoMKgwqDCoMKgwqAgKG5hbWUgImxpYnZweC1mb3ItdGVsZWdyYW0tZGVza3RvcCIp
CllvdSBjYW4gaW5saW5lIHRoaXMgaW50byBnaXQtZmlsZS1uYW1lLCBzYW1lIGZvciB0aGUgb3Ro
ZXIgcGFja2FnZXMKPiArwqDCoMKgwqDCoMKgwqDCoCAodmVyc2lvbiAoZ2l0LXZlcnNpb24gIjAi
IHJldmlzaW9uIGNvbW1pdCkpKQpZb3UgY2FuIGlubGluZSB0aGlzIGludG8gZ2l0LWZpbGUtbmFt
ZSwgYWxzbyB0YWtlIHRoZSBhcHByb3hpbWF0ZQp1cHN0cmVhbSB2ZXJzaW9uIGhlcmUgKG5vdCB0
aGF0IGl0IG1hdHRlcnMgbXVjaCBzaW5jZSA0LjIuMCB1c2VzIHRoZQp1cHN0cmVhbSBsaWJ2cHgp
Lgo+ICvCoMKgwqAgKG9yaWdpbgo+ICvCoMKgwqDCoMKgIChtZXRob2QgZ2l0LWZldGNoKQo+ICvC
oMKgwqDCoMKgICh1cmkgKGdpdC1yZWZlcmVuY2UKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAo
dXJsICJodHRwczovL2Nocm9taXVtLmdvb2dsZXNvdXJjZS5jb20vd2VibS9saWJ2cHgiKQo+ICvC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgIChjb21taXQgY29tbWl0KSkpCj4gK8KgwqDCoMKgwqAgKGZp
bGUtbmFtZSAoZ2l0LWZpbGUtbmFtZSBuYW1lIHZlcnNpb24pKQo+ICvCoMKgwqDCoMKgIChzaGEy
NTYKPiArwqDCoMKgwqDCoMKgIChiYXNlMzIKPiArwqDCoMKgwqDCoMKgwqAgIjFwc3Z4YWRkaWhs
dzFrNW4wYW54aWYzcWxpNnp5dzJzYTJ5d242bWtiOHNpeDlteXJwNjgiKSkpKSkKPiArCj4gKyhk
ZWZpbmUgbGlieXV2LWZvci10ZWxlZ3JhbS1kZXNrdG9wCj4gK8KgIChsZXQqICgoY29tbWl0ICJh
ZDg5MDA2N2Y2NjFkYzc0N2E5NzViYzU1YmEzNzY3ZmUzMGQ0NDUyIikKPiArwqDCoMKgwqDCoMKg
wqDCoCAocmV2aXNpb24gIjAiKQo+ICvCoMKgwqDCoMKgwqDCoMKgIChuYW1lICJsaWJ5dXYtZm9y
LXRlbGVncmFtLWRlc2t0b3AiKQo+ICvCoMKgwqDCoMKgwqDCoMKgICh2ZXJzaW9uIChnaXQtdmVy
c2lvbiAiMCIgcmV2aXNpb24gY29tbWl0KSkpCj4gK8KgwqDCoCAob3JpZ2luCj4gK8KgwqDCoMKg
wqAgKG1ldGhvZCBnaXQtZmV0Y2gpCj4gK8KgwqDCoMKgwqAgKHVyaSAoZ2l0LXJlZmVyZW5jZQo+
ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICh1cmwgImh0dHBzOi8vY2hyb21pdW0uZ29vZ2xlc291
cmNlLmNvbS9saWJ5dXYvbGlieXV2IikKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoY29tbWl0
IGNvbW1pdCkpKQo+ICvCoMKgwqDCoMKgIChmaWxlLW5hbWUgKGdpdC1maWxlLW5hbWUgbmFtZSB2
ZXJzaW9uKSkKPiArwqDCoMKgwqDCoCAoc2hhMjU2Cj4gK8KgwqDCoMKgwqDCoCAoYmFzZTMyCj4g
K8KgwqDCoMKgwqDCoMKgICIwMWtubms0aDI0N3JxNTM2MDk3bjluM3MzYnJ4bGJieTNudjNwcGRn
c3FmZGEzazE1OWxsIikpKSkpCj4gKwo+IMKgKGRlZmluZS1wdWJsaWMgd2VicnRjLWZvci10ZWxl
Z3JhbS1kZXNrdG9wCj4gwqDCoCAobGV0ICgoY29tbWl0ICI5MWQ4MzZkYzg0YTE2NTg0YzZhYzUy
YjM2YzA0YzBkZTUwNGQ5YzM0IikKPiDCoMKgwqDCoMKgwqDCoMKgIChyZXZpc2lvbiAiMTY2Iikp
Cj4gQEAgLTk0LDgyICsxMjUsNTMgQEAgKGRlZmluZS1wdWJsaWMgd2VicnRjLWZvci10ZWxlZ3Jh
bS1kZXNrdG9wCj4gwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChp
Y2UtOSBmdHcpCj4gwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChz
cmZpIHNyZmktMSkpKQo+IMKgwqDCoMKgwqDCoMKgwqDCoMKgIChzbmlwcGV0Cj4gLcKgwqDCoMKg
wqDCoMKgwqDCoMKgIGAoYmVnaW4KPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGxldCAo
KGtlZXAKPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAnKCA7OyBD
dXN0b20gZm9ya3Mgd2hpY2ggYXJlIGluY29tcGF0aWJsZSB3aXRoCj4gdGhlIG9uZXMgaW4gR3Vp
eC4KPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgImFic2Vp
bC1jcHAiICJsaWJzcnRwIiAib3BlbmgyNjQiICJybm5vaXNlIgo+IC3CoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA7OyBOb3QgYXZhaWxhYmxlIGluIEd1aXguCj4g
LcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICJwZmZmdCIgInVz
cnNjdHAiCj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDs7
IEhhcyBjbWFrZSBzdXBwb3J0IGZpbGVzIGZvciBsaWJ2cHggaW5wdXQuCj4gLcKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICJsaWJ2cHgiKSkpCj4gLcKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAod2l0aC1kaXJlY3RvcnktZXhjdXJzaW9uICJzcmMvdGhp
cmRfcGFydHkiCj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGZvci1lYWNo
IGRlbGV0ZS1maWxlLXJlY3Vyc2l2ZWx5Cj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAobHNldC1kaWZmZXJlbmNlIHN0cmluZz0/Cj4gLcKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKHNjYW5kaXIgIi4iKQo+IC3CoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgIChjb25zKiAiLiIgIi4uIgo+IGtlZXApKSkpKSkpKSkKPiAr
wqDCoMKgwqDCoMKgwqDCoMKgwqAgI34oYmVnaW4KPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoCAobGV0ICgoa2VlcAo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqAgJyggOzsgQ3VzdG9tIGZvcmtzIHdoaWNoIGFyZSBpbmNvbXBhdGlibGUgd2l0aAo+IHRo
ZSBvbmVzIGluIEd1aXguCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqAgImFic2VpbC1jcHAiICJsaWJzcnRwIiAib3BlbmgyNjQiICJybm5vaXNlIgo+ICvC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDs7IE5vdCBhdmFp
bGFibGUgaW4gR3VpeC4KPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoCAicGZmZnQiICJ1c3JzY3RwIgo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgIDs7IEhhcyBjbWFrZSBzdXBwb3J0IGZpbGVzIGZvciBsaWJ2cHgg
aW5wdXQuCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg
ImxpYnZweCIpKSkKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKHdpdGgtZGly
ZWN0b3J5LWV4Y3Vyc2lvbiAic3JjL3RoaXJkX3BhcnR5Igo+ICvCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqAgKGZvci1lYWNoIGRlbGV0ZS1maWxlLXJlY3Vyc2l2ZWx5Cj4gK8Kg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChs
c2V0LWRpZmZlcmVuY2Ugc3RyaW5nPT8KPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgIChzY2FuZGlyICIuIikKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChj
b25zKiAiLiIgIi4uIgo+IGtlZXApKSkpKSkpKSkKPiDCoMKgwqDCoMKgwqDCoCAoYnVpbGQtc3lz
dGVtIGNtYWtlLWJ1aWxkLXN5c3RlbSkKPiDCoMKgwqDCoMKgwqDCoCAoYXJndW1lbnRzCj4gLcKg
wqDCoMKgwqDCoMKgIGAoIzp0ZXN0cz8gI2bCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqAgOyBObyB0YXJnZXQKPiAtwqDCoMKgwqDCoMKgwqDCoMKgICM6Y29uZmlndXJlLWZsYWdz
Cj4gLcKgwqDCoMKgwqDCoMKgwqDCoCAobGlzdAo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoCAiLURD
TUFLRV9DX0ZMQUdTPS1mUElDIgo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoCAiLURDTUFLRV9DWFhf
RkxBR1M9LWZQSUMiKQo+IC3CoMKgwqDCoMKgwqDCoMKgwqAgIzpwaGFzZXMKPiAtwqDCoMKgwqDC
oMKgwqDCoMKgIChtb2RpZnktcGhhc2VzICVzdGFuZGFyZC1waGFzZXMKPiAtwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoCAoYWRkLWFmdGVyICd1bnBhY2sgJ2NvcHktaW5wdXRzCj4gLcKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgIChsYW1iZGEqICgjOmtleSBpbnB1dHMgb3V0cHV0cyAjOmFsbG93LW90
aGVyLWtleXMpCj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAobGV0KiAoKGxpYnZw
eC1mcm9tIChhc3NvYy1yZWYgaW5wdXRzICJsaWJ2cHgiKSkKPiAtwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGxpYnl1di1mcm9tIChhc3NvYy1yZWYgaW5wdXRz
ICJsaWJ5dXYiKSkKPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqAgKGxpYnZweC10byAoc3RyaW5nLWFwcGVuZCAoZ2V0Y3dkKQo+IC3CoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAKPiAiL3NyYy90aGlyZF9wYXJ0eS9saWJ2cHgvc291cmNl
L2xpYnZweCIpKQo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oCAobGlieXV2LXRvIChzdHJpbmctYXBwZW5kIChnZXRjd2QpCj4gLcKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoAo+ICIvc3JjL3RoaXJkX3BhcnR5L2xpYnl1diIpKSkKPiAt
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoY29weS1yZWN1cnNpdmVseSBsaWJ2
cHgtZnJvbSBsaWJ2cHgtdG8pCj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg
KGNvcHktcmVjdXJzaXZlbHkgbGlieXV2LWZyb20gbGlieXV2LXRvKSkpKSkpKQo+IC3CoMKgwqDC
oMKgwqAgKG5hdGl2ZS1pbnB1dHMKPiAtwqDCoMKgwqDCoMKgwqAgYCgoInBlcmwiICxwZXJsKQo+
IC3CoMKgwqDCoMKgwqDCoMKgwqAgKCJwa2ctY29uZmlnIiAscGtnLWNvbmZpZykKPiAtwqDCoMKg
wqDCoMKgwqDCoMKgICgicHl0aG9uIiAscHl0aG9uLXdyYXBwZXIpCj4gLcKgwqDCoMKgwqDCoMKg
wqDCoCAoInlhc20iICx5YXNtKSkpCj4gK8KgwqDCoMKgwqDCoMKgIChsaXN0ICM6dGVzdHM/ICNm
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA7IE5vIHRhcmdldAo+ICvCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoCAjOmNvbmZpZ3VyZS1mbGFncwo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoCAjfmAoIi1EQ01BS0VfQ19GTEFHUz0tZlBJQyIKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoCAiLURDTUFLRV9DWFhfRkxBR1M9LWZQSUMiKQo+ICvCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoCAjOnBoYXNlcwo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAjfiht
b2RpZnktcGhhc2VzICVzdGFuZGFyZC1waGFzZXMKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoCAoYWRkLWFmdGVyICd1bnBhY2sgJ2NvcHktaW5wdXRzCj4gK8KgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChsYW1iZGEgXwo+ICvCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGxldCogKChsaWJ2cHgtdG8gKHN0cmluZy1hcHBl
bmQgKGdldGN3ZCkKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgCj4gIi9zcmMvdGhpcmRfcGFydHkvbGlidnB4L3NvdXJjZS9saWJ2cHgiKSkKPiAr
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg
KGxpYnl1di10byAoc3RyaW5nLWFwcGVuZCAoZ2V0Y3dkKQo+ICvCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAKPiAiL3NyYy90aGlyZF9wYXJ0eS9saWJ5
dXYiKSkpCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg
KGNvcHktcmVjdXJzaXZlbHkgIyRsaWJ2cHgtZm9yLXRlbGVncmFtLQo+IGRlc2t0b3AgbGlidnB4
LXRvKQo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChj
b3B5LXJlY3Vyc2l2ZWx5ICMkbGlieXV2LWZvci10ZWxlZ3JhbS0KPiBkZXNrdG9wIGxpYnl1di10
bykpKSkpKSkKPiArwqDCoMKgwqDCoMKgIChuYXRpdmUtaW5wdXRzIChsaXN0IHBlcmwgcGtnLWNv
bmZpZyBweXRob24td3JhcHBlciB5YXNtKSkKPiDCoMKgwqDCoMKgwqDCoCAoaW5wdXRzCj4gLcKg
wqDCoMKgwqDCoMKgIGAoKCJhbHNhIiAsYWxzYS1saWIpCj4gLcKgwqDCoMKgwqDCoMKgwqDCoCAo
ImZmbXBlZyIgLGZmbXBlZykKPiAtwqDCoMKgwqDCoMKgwqDCoMKgICgibGlianBlZyIgLGxpYmpw
ZWctdHVyYm8pCj4gLcKgwqDCoMKgwqDCoMKgwqDCoCAoImdsaWIiICxnbGliKQo+IC3CoMKgwqDC
oMKgwqDCoMKgwqAgKCJsaWJ2cHgiCj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgICwob3JpZ2luCj4g
LcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChtZXRob2QgZ2l0LWZldGNoKQo+IC3CoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoCAodXJpCj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg
KGdpdC1yZWZlcmVuY2UKPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICh1cmwKPiAi
aHR0cHM6Ly9jaHJvbWl1bS5nb29nbGVzb3VyY2UuY29tL3dlYm0vbGlidnB4IikKPiAtwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChjb21taXQKPiAiNWI2M2YwZjgyMWU5NGY4MDcyZWI0
ODMwMTRjZmMzM2IwNTk3OGJiOSIpKSkKPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGZp
bGUtbmFtZQo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChnaXQtZmlsZS1uYW1lICJs
aWJ2cHgtZm9yLXdlYnJ0Yy1mb3ItdGVsZWdyYW0tCj4gZGVza3RvcCIgdmVyc2lvbikpCj4gLcKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChzaGEyNTYKPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoCAoYmFzZTMyCj4gIjFwc3Z4YWRkaWhsdzFrNW4wYW54aWYzcWxpNnp5dzJzYTJ5d242
bWtiOHNpeDlteXJwNjgiKSkpKQo+IC3CoMKgwqDCoMKgwqDCoMKgwqAgKCJsaWJ5dXYiCj4gLcKg
wqDCoMKgwqDCoMKgwqDCoMKgICwob3JpZ2luCj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
IChtZXRob2QgZ2l0LWZldGNoKQo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAodXJpCj4g
LcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGdpdC1yZWZlcmVuY2UKPiAtwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgICh1cmwKPiAiaHR0cHM6Ly9jaHJvbWl1bS5nb29nbGVzb3Vy
Y2UuY29tL2xpYnl1di9saWJ5dXYiKQo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg
KGNvbW1pdAo+ICJhZDg5MDA2N2Y2NjFkYzc0N2E5NzViYzU1YmEzNzY3ZmUzMGQ0NDUyIikpKQo+
IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoZmlsZS1uYW1lCj4gLcKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqAgKGdpdC1maWxlLW5hbWUgImxpYnl1di1mb3Itd2VicnRjLWZvci10ZWxl
Z3JhbS0KPiBkZXNrdG9wIiB2ZXJzaW9uKSkKPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg
KHNoYTI1Ngo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChiYXNlMzIKPiAiMDFrbm5r
NGgyNDdycTUzNjA5N245bjNzM2JyeGxiYnkzbnYzcHBkZ3NxZmRhM2sxNTlsbCIpKSkpCj4gLcKg
wqDCoMKgwqDCoMKgwqDCoCAoImxpYnhjb21wb3NpdGUiICxsaWJ4Y29tcG9zaXRlKQo+IC3CoMKg
wqDCoMKgwqDCoMKgwqAgKCJsaWJ4ZGFtYWdlIiAsbGlieGRhbWFnZSkKPiAtwqDCoMKgwqDCoMKg
wqDCoMKgICgibGlieHJlbmRlciIgLGxpYnhyZW5kZXIpCj4gLcKgwqDCoMKgwqDCoMKgwqDCoCAo
ImxpYnhyYW5kciIgLGxpYnhyYW5kcikKPiAtwqDCoMKgwqDCoMKgwqDCoMKgICgib3BlbnNzbCIg
LG9wZW5zc2wpCj4gLcKgwqDCoMKgwqDCoMKgwqDCoCAoIm9wdXMiICxvcHVzKQo+IC3CoMKgwqDC
oMKgwqDCoMKgwqAgKCJwaXBld2lyZSIgLHBpcGV3aXJlKQo+IC3CoMKgwqDCoMKgwqDCoMKgwqAg
KCJwcm90b2J1ZiIgLHByb3RvYnVmKQo+IC3CoMKgwqDCoMKgwqDCoMKgwqAgKCJwdWxzZWF1ZGlv
IiAscHVsc2VhdWRpbykKPiAtwqDCoMKgwqDCoMKgwqDCoMKgICgieDExIiAsbGlieDExKQo+IC3C
oMKgwqDCoMKgwqDCoMKgwqAgKCJ4ZXh0IiAsbGlieGV4dCkKPiAtwqDCoMKgwqDCoMKgwqDCoMKg
ICgieHRzdCIgLGxpYnh0c3QpKSkKPiArwqDCoMKgwqDCoMKgwqAgKGxpc3QgYWxzYS1saWIKPiAr
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgZmZtcGVnCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgIGxpYmpwZWctdHVyYm8KPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgZ2xpYgo+
ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCBsaWJ4Y29tcG9zaXRlCj4gK8KgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgIGxpYnhkYW1hZ2UKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg
bGlieHJlbmRlcgo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCBsaWJ4cmFuZHIKPiArwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgb3BlbnNzbAo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoCBvcHVzCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIHBpcGV3aXJlCj4gK8KgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgIHByb3RvYnVmCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgIHB1bHNlYXVkaW8KPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgbGlieDExCj4gK8Kg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIGxpYnhleHQKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqAgbGlieHRzdCkpCj4gwqDCoMKgwqDCoMKgwqAgKHN5bm9wc2lzICJXZWJSVEMgc3VwcG9y
dCBmb3IgVGVsZWdyYW0gRGVza3RvcCIpCj4gwqDCoMKgwqDCoMKgwqAgKGRlc2NyaXB0aW9uICJX
ZWJSVEMtZm9yLVRlbGVncmFtLURlc2t0b3AgaXMgYSBjdXN0b20gV2ViUlRDCj4gZm9yayBieQo+
IMKgVGVsZWdyYW0gcHJvamVjdCwgZm9yIGl0cyB1c2UgaW4gdGVsZWdyYW0gZGVza3RvcCBjbGll
bnQuIikKPiAtLQo+IDIuMzcuMwoK





Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 19 Sep 2022 23:37:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 19:37:16 2022
Received: from localhost ([127.0.0.1]:55575 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaQKB-0006xW-Hx
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:37:16 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:46986)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oaQK9-0006xI-6K
 for 57675 <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:37:14 -0400
Date: Tue, 20 Sep 2022 07:36:55 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663630627;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=6/EHy3BG7AJ6eEWxETgUpnllbRz9DcAtwZkjhpB2dUE=;
 b=dz0VFE2s8P+57V7JwxZzaX6pPsPagWsGkn/yxTgUU+6Cpb/xZ74/DSoluTujqB5j92DADb
 5zwDTKmenvGTf3ujyVE41w/T/toiuG/SYGx6Zk6gYG3f7mbpnldTFd2hO4lF7r+VDhERzw
 6ELB7OEcUr6Y9+mmfaiSOjsZzk8KqT5XEiuYVpZli2aROK6vPjNUlGRr8beeWwU168Oi00
 POnbZJ6kDgz9zgSP0+NX+a1EJeUMUvz4B08GuRwunG8YsWU7jB62t+KvNvbaEryu0TubJN
 Rh+Mj7A904Y+vViaL/MrUgd4dRtP6ho6g866uwcj5Aip1h7cD7api0/M1/kdYQ==
Message-ID: <y767d1zos14.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v5 11/11] gnu: telegram-desktop: Update to 4.2.0.
In-Reply-To: <y768rmfos1n.wl-hako@HIDDEN>
References: <y76mtavos7u.wl-hako@HIDDEN>
 <y76leqfos6y.wl-hako@HIDDEN>
 <y76k05zos6c.wl-hako@HIDDEN>
 <y76illjos59.wl-hako@HIDDEN>
 <y76h713os4q.wl-hako@HIDDEN>
 <y76fsgnos48.wl-hako@HIDDEN>
 <y76edw7os3l.wl-hako@HIDDEN>
 <y76czbros33.wl-hako@HIDDEN>
 <y76bkrbos2m.wl-hako@HIDDEN>
 <y76a66vos24.wl-hako@HIDDEN>
 <y768rmfos1n.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/telegram.scm (cmake-helpers-for-telegram-desktop): Update to
b9f1b6.
(codegen-for-telegram-desktop): Update to 8815d7.
(lib-base-for-telegram-desktop): Update to cc5550.
(lib-crl-for-telegram-desktop): Update to 4e620b.
(lib-lottie-for-telegram-desktop): Update to 6ed1c2.
(lib-qr-for-telegram-desktop): Update to 501f4c.
(lib-rpl-for-telegram-desktop): Update to fd31f5.
(lib-spellcheck-for-telegram-desktop): Update to 0e386e.
(lib-storage-for-telegram-desktop): Update to 839609.
(lib-tl-for-telegram-desktop): Update to 36fb95.
(lib-ui-for-telegram-desktop): Update to f82162.
(lib-webrtc-for-telegram-desktop): Update to 9b1159.
(lib-webview-for-telegram-desktop): Update to 546df6.
(lib-rlottie-for-telegram-desktop,lib-waylandshells-for-telegram-desktop):
Remove variables.
(tgcalls-for-telegram-desktop): Update to 82c492.
(dispatch-for-telegram-desktop): New variable.
(rlottie-for-telegram-desktop): Update to 8c69fc.
[snippet]: Switch off werror.
[arguments]: Use inherited ones.
(libtgvoip-for-telegram-desktop): Update to 78a8e2.
Change to source.
(telegram-desktop): Update to 4.2.0.
[#:configure-flags]: Use system rlottie.
[native-inputs]: Add clang-toolchain.
Drop cmake-shared, extra-cmake-modules and qttools-5.
[inputs]: Replace qtbase-5 with qtbase
Add abseil-cpp-cxxstd17, kcoreaddons, libvpx, qt5compat, wayland, webkitgtk.
Drop catch2, fcitx-qt5, fcitx5-qt, gtk+, hime, kwayland, libdbusmenu-qt,
libtgvoip-for-telegram-desktop, libx11, materialdecoration, nimf, qt5ct.
[propagated-inputs]: Drop dconf.
[snippet,#:phases,license]: Sync with source tree.
---
 gnu/packages/telegram.scm | 305 ++++++++++++++++----------------------
 1 file changed, 126 insertions(+), 179 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 6d9bfd9321..58d70e2930 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -43,6 +43,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages lxqt)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages perl)
@@ -60,6 +61,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages webkit)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
@@ -106,8 +108,8 @@ (define crc32c-for-telegram-desktop
         "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))

 (define cmake-helpers-for-telegram-desktop
-  (let* ((commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")
-         (revision "0")
+  (let* ((commit "b9f1b6036329e44ec61f51f0b363fe2319158b84")
+         (revision "1")
          (name "cmake-helpers-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
@@ -118,11 +120,11 @@ (define cmake-helpers-for-telegram-desktop
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5")))))
+        "0sgp1nlmcm2imgpssqxrwinafnmicmq0qikgdnhs1d44hrwxbws3")))))

 (define codegen-for-telegram-desktop
-  (let* ((commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")
-         (revision "0")
+  (let* ((commit "8815d7aec9b901191d08445f29e2edd0aeba7b2c")
+         (revision "1")
          (name "codegen-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
@@ -133,11 +135,11 @@ (define codegen-for-telegram-desktop
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk")))))
+        "1ly958mjk25kfcpa174kvg134p9r751ixi275afj5kr57by9mbq2")))))

 (define lib-base-for-telegram-desktop
-  (let* ((commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")
-         (revision "0")
+  (let* ((commit "cc5550de2766657ced8d0bb4d2db3f050363d3d5")
+         (revision "1")
          (name "lib-base-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
@@ -148,11 +150,11 @@ (define lib-base-for-telegram-desktop
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78")))))
+        "16x5qp5w51igk213rhl49x256vjvpkjkgi2ziwzxnsj0pzdd4y27")))))

 (define lib-crl-for-telegram-desktop
-  (let* ((commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")
-         (revision "0")
+  (let* ((commit "4e620bc383d032aadea8e6af02661f8c76695cec")
+         (revision "1")
          (name "lib-crl-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
@@ -163,11 +165,11 @@ (define lib-crl-for-telegram-desktop
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz")))))
+        "17bngj247qwq0dg4h37xdi5v1mk22y4yp7sp6ph3irmnz4awah0x")))))

 (define lib-lottie-for-telegram-desktop
-  (let* ((commit "0770df009db7928df1d0cad0900dc5110106d229")
-         (revision "0")
+  (let* ((commit "6ed1c22ed60692d2f288c9222fafd7d5cd62f904")
+         (revision "1")
          (name "lib-lottie-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
@@ -178,11 +180,11 @@ (define lib-lottie-for-telegram-desktop
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb")))))
+        "0l57ibfij9xm4ww4s9cc63q1x8xzpc6ablwaji1krrn3xxksqdd4")))))

 (define lib-qr-for-telegram-desktop
-  (let* ((commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")
-         (revision "0")
+  (let* ((commit "501f4c3502fd872ab4d777df8911bdac32de7c48")
+         (revision "1")
          (name "lib-qr-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
@@ -193,26 +195,11 @@ (define lib-qr-for-telegram-desktop
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0")))))
-
-(define lib-rlottie-for-telegram-desktop
-  (let* ((commit "0671bf70547381effcf442ec9618e04502a8adbc")
-         (revision "0")
-         (name "lib-rlottie-for-telegram-desktop")
-         (version (git-version "0" revision commit)))
-    (origin
-      (method git-fetch)
-      (uri (git-reference
-            (url "https://github.com/desktop-app/lib_rlottie.git")
-            (commit commit)))
-      (file-name (git-file-name name version))
-      (sha256
-       (base32
-        "05qnza7j15356s8jq16pkbyp4zr586lssmd86lz5jq23lcb3raxv")))))
+        "0hmwqj7a9vcy8wq7pd1qprl68im3zl5f1wzcn2zzk2wvi0389k9f")))))

 (define lib-rpl-for-telegram-desktop
-  (let* ((commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")
-         (revision "0")
+  (let* ((commit "fd31f5bf382d2679eccdb1abaf8240a56c6a7abe")
+         (revision "1")
          (name "lib-rpl-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
@@ -223,11 +210,11 @@ (define lib-rpl-for-telegram-desktop
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn")))))
+        "1fpq8nyh8wx6zkb3sjjrx9ydqzyhw4483bdk1i9blp0ijn9xxdxf")))))

 (define lib-spellcheck-for-telegram-desktop
-  (let* ((commit "68c9b788958904aea7de79f986a0f82ec8c5b094")
-         (revision "0")
+  (let* ((commit "0e386e22cb6ba8a114b569840a635e096dcb645e")
+         (revision "1")
          (name "lib-spellcheck-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
@@ -238,11 +225,11 @@ (define lib-spellcheck-for-telegram-desktop
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn")))))
+        "06js7ccv6z3nbd4v2p4hp2prrlmz5ww46y3yb922pp7gm317dwyw")))))

 (define lib-storage-for-telegram-desktop
-  (let* ((commit "403df6c4a29562bd417c92d410e49819f5a48cc1")
-         (revision "0")
+  (let* ((commit "839609369d04615475cb1518636de3619106a917")
+         (revision "1")
          (name "lib-storage-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
@@ -253,11 +240,11 @@ (define lib-storage-for-telegram-desktop
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5")))))
+        "1l26h2fmqp9dcpr6pfvdd5sjb68j7yh0ms2lnr8na7jf5xqmkwwm")))))

 (define lib-tl-for-telegram-desktop
-  (let* ((commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")
-         (revision "0")
+  (let* ((commit "36fb95c4de1339d2c8921ad6b2911858c3d0e0fa")
+         (revision "1")
          (name "lib-tl-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
@@ -268,11 +255,11 @@ (define lib-tl-for-telegram-desktop
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m")))))
+        "03rngnssnqwr7ad05qn64mwgji5fb0r3fp5ybkf951p8phr1jvzk")))))

 (define lib-ui-for-telegram-desktop
-  (let* ((commit "1b590f9e16eb9571a039f072d6fea66c607e419f")
-         (revision "0")
+  (let* ((commit "f82162f05a72352bfee0fb79f9e50c350b3a98f3")
+         (revision "1")
          (name "lib-ui-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
@@ -283,67 +270,82 @@ (define lib-ui-for-telegram-desktop
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f")))))
+        "1zv29i7hxv70dsq36zrvkvaraff5zcb7sccpncqfl51s59kfsnz5")))))

-(define lib-waylandshells-for-telegram-desktop
-  (let* ((commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")
-         (revision "0")
-         (name "lib-waylandshells-for-telegram-desktop")
+(define lib-webrtc-for-telegram-desktop
+  (let* ((commit "9b11599c3c56047cfa4c68b69f1fcc93b602c33a")
+         (revision "1")
+         (name "lib-webrtc-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://github.com/desktop-app/lib_waylandshells.git")
+            (url "https://github.com/desktop-app/lib_webrtc.git")
             (commit commit)))
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf")))))
+        "0158jx8hj4fv6qpw5pgcr2mdlihj0dxs060dg3iy61zz6q68z5dq")))))

-(define lib-webrtc-for-telegram-desktop
-  (let* ((commit "ef49f953f12b112008a094a719f40939aaf39db4")
-         (revision "0")
-         (name "lib-webrtc-for-telegram-desktop")
+(define lib-webview-for-telegram-desktop
+  (let* ((commit "546df65eb2424550ed84ce14fc9c5d1bb3586f35")
+         (revision "1")
+         (name "lib-webview-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://github.com/desktop-app/lib_webrtc.git")
+            (url "https://github.com/desktop-app/lib_webview.git")
             (commit commit)))
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw")))))
+        "0zzjwyw82bggncmmsw969lnjl04pklmqjqm77jjzadinivl52z0l")))))

-(define lib-webview-for-telegram-desktop
-  (let* ((commit "e06427c624515485774e2e2181d4afeb05ad5a67")
+(define tgcalls-for-telegram-desktop
+  (let* ((commit "82c4921045c440b727c38e464f3a0539708423ff")
+         (revision "1")
+         (name "tgcalls-for-telegram-desktop")
+         (version (git-version "0" revision commit)))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/TelegramMessenger/tgcalls.git")
+            (commit commit)))
+      (file-name (git-file-name name version))
+      (sha256
+       (base32
+        "1109r17abh66yz91b65fn2g4ryfybnsr5g6075sjhbah1gccv9mk")))))
+
+(define dispatch-for-telegram-desktop
+  (let* ((commit "ecc678d79f38cf63d24b6d16e18f69a9117d8d73")
          (revision "0")
-         (name "lib-webview-for-telegram-desktop")
+         (name "dispatch-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://github.com/desktop-app/lib_webview.git")
+            (url "https://github.com/apple/swift-corelibs-libdispatch.git")
             (commit commit)))
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4")))))
+        "0hy4q6x3bgphazmpl3v62995abc9fpi8y7yg9aiblzsqkxmgjmqn")))))

-(define tgcalls-for-telegram-desktop
-  (let* ((commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")
+(define libtgvoip-for-telegram-desktop
+  (let* ((commit "78a8e22bedb0d06004da8bafeba88b7474cb89a4")
          (revision "0")
-         (name "tgcalls-for-telegram-desktop")
+         (name "libtgvoip-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://github.com/TelegramMessenger/tgcalls.git")
+            (url "https://github.com/telegramdesktop/libtgvoip.git")
             (commit commit)))
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj")))))
+        "1y1jvm4i0i4fkl6c0bgcv2cpzziyyn1pywxqz726q008hwki941h")))))

 (define-public webrtc-for-telegram-desktop
   (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
@@ -437,8 +439,8 @@ (define-public webrtc-for-telegram-desktop
          license:bsd-3))))))

 (define-public rlottie-for-telegram-desktop
-  (let ((commit "cbd43984ebdf783e94c8303c41385bf82aa36d5b")
-        (revision "671"))
+  (let ((commit "8c69fc20cf2e150db304311f1233a4b55a8892d7")
+        (revision "672"))
     (hidden-package
      (package
        (inherit rlottie)
@@ -454,87 +456,38 @@ (define-public rlottie-for-telegram-desktop
           (file-name
            (git-file-name "rlottie-for-telegram-desktop" version))
           (sha256
-           (base32 "1lxpbgbhps9rmck036mgmiknqrzpjxpas8n7qxykv6pwzn0c8n0c"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "-Dlog=true"
-           "-Ddumptree=true"
-           "-Dtest=true")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-cxx-flags
-              (lambda _
-                (substitute* "meson.build"
-                  (("werror=true")
-                   "werror=false"))
-                #t)))))))))
-
-(define-public libtgvoip-for-telegram-desktop
-  (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
-        (revision "88"))
-    (hidden-package
-     (package
-       (inherit libtgvoip)
-       (version
-        (git-version "2.4.4" revision commit))
-       (source
-        (origin
-          (method git-fetch)
-          (uri
-           (git-reference
-            (url "https://github.com/telegramdesktop/libtgvoip.git")
-            (commit commit)))
-          (file-name
-           (git-file-name "libtgvoip-for-telegram-desktop" version))
-          (sha256
-           (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
-       (arguments
-        `(#:configure-flags
-          (list
-           "--disable-static"
-           "--disable-dsp"              ; FIXME
-           "--enable-audio-callback"
-           "--with-alsa"
-           "--with-pulse")
-          #:phases
-          (modify-phases %standard-phases
-            (add-after 'unpack 'patch-linkers
-              (lambda _
-                (substitute* "Makefile.am"
-                  (("\\$\\(CRYPTO_LIBS\\) \\$\\(OPUS_LIBS\\)")
-                   "$(CRYPTO_LIBS) $(OPUS_LIBS) $(ALSA_LIBS) $(PULSE_LIBS)"))
-                (substitute* "tgvoip.pc.in"
-                  (("libcrypto opus")
-                   "libcrypto opus alsa libpulse"))
-                #t)))))
-       (native-inputs
-        (list autoconf automake libtool pkg-config))))))
+           (base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
+          (modules '((guix build utils)))
+          (snippet
+           #~(begin
+               (substitute* "meson.build"
+                 (("werror=true") "werror=false"))))))))))

 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-    (version "2.9.3")
+    (version "4.2.0")
     (source
      (origin
        (method git-fetch)
        (uri
         (git-reference
          (url "https://github.com/telegramdesktop/tdesktop.git")
-         (commit
-          (string-append "v" version))))
+         (commit (string-append "v" version))))
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0dzf1y3xhqvizg29bd1kya48cjbkq073d2x10ynwcmmx396l4nd8"))
+        (base32 "16xhng5m3aw4j4ax74nydpxjnx5z3ga21vmrznlm4lbk9ivyn7vx"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
        (snippet
         #~(begin
             (let ((keep
-                   '( ;; Not available in Guix.
-                     "SPMediaKeyTap" "statusnotifieritem" "tgcalls")))
+                   '(;; Own fork, bundled build to avoid an addressing issue.
+                     "libtgvoip"
+                     ;; Not available in Guix.
+                     "dispatch" "tgcalls")))
               (with-directory-excursion "Telegram/ThirdParty"
                 (for-each delete-file-recursively
                           (lset-difference string=?
@@ -542,14 +495,13 @@ (define-public telegram-desktop
                                            (cons* "." ".." keep)))))))))
     (build-system qt-build-system)
     (arguments
-     (list #:tests? #f                      ; No target
+     (list #:tests? #f                  ;No target
            #:imported-modules
            `(,@%qt-build-system-modules
              (guix build glib-or-gtk-build-system))
            #:modules
            '((guix build qt-build-system)
-             ((guix build glib-or-gtk-build-system)
-              #:prefix glib-or-gtk:)
+             ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
              (guix build utils)
              (ice-9 match))
            #:configure-flags
@@ -559,16 +511,16 @@ (define-public telegram-desktop
                ;; <https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml>.
                "-DTDESKTOP_API_ID=611335"
                "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
-               ;; Disable WebkitGTK support as it fails to link
-               "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
-               ;; Use bundled fonts as fallback.
-               "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
+               "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
+               "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
+               "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON"
+               ,(string-append "-DTDESKTOP_LAUTCHER_BASENAME=" #$name))
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'make-writable
                  (lambda _
                    (for-each make-file-writable (find-files "."))))
-               (add-after 'make-writable 'copy-inputs
+               (add-after 'make-writable 'copy-sources
                  (lambda _
                    (for-each
                     (match-lambda
@@ -581,81 +533,76 @@ (define-public telegram-desktop
                       ("Telegram/lib_crl" #$lib-crl-for-telegram-desktop)
                       ("Telegram/lib_lottie" #$lib-lottie-for-telegram-desktop)
                       ("Telegram/lib_qr" #$lib-qr-for-telegram-desktop)
-                      ("Telegram/lib_rlottie" #$lib-rlottie-for-telegram-desktop)
                       ("Telegram/lib_rpl" #$lib-rpl-for-telegram-desktop)
                       ("Telegram/lib_spellcheck" #$lib-spellcheck-for-telegram-desktop)
                       ("Telegram/lib_storage" #$lib-storage-for-telegram-desktop)
                       ("Telegram/lib_tl" #$lib-tl-for-telegram-desktop)
                       ("Telegram/lib_ui" #$lib-ui-for-telegram-desktop)
-                      ("Telegram/lib_waylandshells" #$lib-waylandshells-for-telegram-desktop)
                       ("Telegram/lib_webrtc" #$lib-webrtc-for-telegram-desktop)
                       ("Telegram/lib_webview" #$lib-webview-for-telegram-desktop)
+                      ("Telegram/ThirdParty/dispatch" #$dispatch-for-telegram-desktop)
+                      ("Telegram/ThirdParty/libtgvoip" #$libtgvoip-for-telegram-desktop)
                       ("Telegram/ThirdParty/tgcalls" #$tgcalls-for-telegram-desktop)))))
-               (add-before 'configure 'patch-cxx-flags
-                 (lambda _
-                   (substitute* "cmake/options_linux.cmake" (("class-memaccess") "all"))))
                (add-after 'install 'glib-or-gtk-compile-schemas
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
                (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
                  (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
     (native-inputs
-     (list cmake-shared
-           extra-cmake-modules
-           `(,glib "bin")
+     (list `(,glib "bin")
            `(,gtk+ "bin")
+           clang-toolchain
            pkg-config
-           python-wrapper
-           qttools-5))
+           python-wrapper))
     (inputs
-     (list alsa-lib
+     (list abseil-cpp-cxxstd17
+           alsa-lib
            c++-gsl
-           catch2
-           libexpected
-           fcitx-qt5
-           fcitx5-qt
            ffmpeg
-           glib
-           glibmm-2.64
-           gtk+
-           hime
-           hunspell
            jemalloc
-           kwayland
-           libdbusmenu-qt
+           kcoreaddons
+           libexpected
            libjpeg-turbo
-           libtgvoip-for-telegram-desktop
-           lz4
-           materialdecoration
+           libvpx
            minizip
-           nimf
            openal
            openssl
            opus
            pulseaudio
            qrcodegen-cpp
-           qtbase-5
-           qtsvg-5
-           qt5ct
+           qt5compat
+           qtbase
            qtimageformats
-           qtwayland
+           qtsvg-5
            range-v3
            rlottie-for-telegram-desktop
            rnnoise
            webrtc-for-telegram-desktop
-           libx11
-           libxcb
-           xcb-util-keysyms
            xxhash
-           zlib))
-    (propagated-inputs (list dconf))
+           zlib
+           ;; DESKTOP_APP_DISABLE_DBUS_INTEGRATION
+           glibmm-2.64
+           ;; DESKTOP_APP_DISABLE_SPELLCHECK
+           hunspell
+           ;; DESKTOP_APP_LOTTIE_USE_CACHE
+           lz4
+           ;; DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
+           qtwayland wayland
+           ;; DESKTOP_APP_DISABLE_X11_INTEGRATION
+           libxcb xcb-util-keysyms
+           ;; Optional
+           webkitgtk))
     (synopsis "Telegram Desktop")
     (description "Telegram desktop is the official desktop version of the
 Telegram instant messenger.")
     (home-page "https://desktop.telegram.org/")
     (license
      (list
-      ;; ThirdParty
-      license:lgpl2.1+
+      ;; Telegram/ThirdParty/dispatch
+      license:asl2.0
+      ;; Telegram/ThirdParty/libtgvoip
+      license:unlicense
+      ;; Telegram/ThirdParty/tgcalls
+      license:lgpl3
       ;; Others
       license:gpl3+))))

--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 19 Sep 2022 23:36:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 19:36:56 2022
Received: from localhost ([127.0.0.1]:55567 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaQJr-0006vy-RO
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:36:56 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:40616)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oaQJp-0006vm-Vt
 for 57675 <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:36:54 -0400
Date: Tue, 20 Sep 2022 07:36:36 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663630607;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=kiJuc69cHkf3sfbVK39Ydbd/Nk39o0lv0Pqifc275JU=;
 b=Qh62CYTX64PcInBGsVz90PZYjTsUFop8QO/BioCQWijM4TANBo5wwpCIY7MlzEksCCQAT4
 dE7PzNnaVlphakDCDUWAKynj0RPwP0LvpjFG9PjDdqyVp4VLhlcvS9j47QoWd49kQq/dn2
 ugq8SxKdsB3YTWJZs/vghFhdpweApr89Kv3kSY9cZ3zyYgktJb3nz6Bnb6SWuWfrQvV7cQ
 ksDO/Gry/7es9ixIpKcxL+djDvmjc2bJ0phLmDat8qgxfk8SYuaY/Ay3jyvvRZsnFoz7hE
 y+bZRvRKA8xFhQ+DQ2CegdSrUWcdmAjLWvtZELrO+im3SS+Hvpg44V0dGRL2Ng==
Message-ID: <y768rmfos1n.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v5 10/11] gnu: webrtc-for-telegram-desktop: Update to 621f3d.
In-Reply-To: <y76a66vos24.wl-hako@HIDDEN>
References: <y76mtavos7u.wl-hako@HIDDEN>
 <y76leqfos6y.wl-hako@HIDDEN>
 <y76k05zos6c.wl-hako@HIDDEN>
 <y76illjos59.wl-hako@HIDDEN>
 <y76h713os4q.wl-hako@HIDDEN>
 <y76fsgnos48.wl-hako@HIDDEN>
 <y76edw7os3l.wl-hako@HIDDEN>
 <y76czbros33.wl-hako@HIDDEN>
 <y76bkrbos2m.wl-hako@HIDDEN>
 <y76a66vos24.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details. Content preview: *
 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
 New file. * gnu/local.mk (dist_patch_DATA): Add patch. *
 gnu/packages/telegram.scm
 (libvpx-for-telegram-desktop): Remove var [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: xiretza.xyz (xyz)]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)


* gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (libvpx-for-telegram-desktop): Remove variable.
(crc32c-for-telegram-desktop): New variable.
(webrtc-for-telegram-desktop): Update to 621f3d.
[patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
use system openh264.
[#:configure-flags]: Comment out with default values.
[native-inputs]: Drop perl.
[inputs]: Replace pipewire with pipewire-0.3.
Drop alsa-lib, libx11 and pulseaudio.
Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa, openh264.
[snippet,#:phases,license]: Sync with source tree.
---
 gnu/local.mk                                  |  1 +
 ...r-telegram-desktop-fix-gcc12-cstdint.patch | 21 +++++
 gnu/packages/telegram.scm                     | 89 ++++++++++---------
 3 files changed, 69 insertions(+), 42 deletions(-)
 create mode 100644 gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 238fb72bc5..00f8d0adcb 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1969,6 +1969,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/warsow-qfusion-fix-bool-return-type.patch	\
   %D%/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch	\
   %D%/packages/patches/webrtc-audio-processing-big-endian.patch	\
+  %D%/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch   \
   %D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch	\
   %D%/packages/patches/widelands-add-missing-map-include.patch	\
   %D%/packages/patches/widelands-system-wide_minizip.patch	\
diff --git a/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
new file mode 100644
index 0000000000..f1fd29d0d3
--- /dev/null
+++ b/gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch
@@ -0,0 +1,21 @@
+From 86d2bcd7afb8706663d29e30f65863de5a626142 Mon Sep 17 00:00:00 2001
+From: Xiretza <xiretza@HIDDEN>
+Date: Sun, 15 May 2022 12:47:41 +0200
+Subject: [PATCH] fix(h265_pps_parser): fix missing cstdint include
+
+---
+ src/common_video/h265/h265_pps_parser.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/common_video/h265/h265_pps_parser.h b/src/common_video/h265/h265_pps_parser.h
+index 28c95ea9..c180b1b9 100644
+--- a/src/common_video/h265/h265_pps_parser.h
++++ b/src/common_video/h265/h265_pps_parser.h
+@@ -12,6 +12,7 @@
+ #define COMMON_VIDEO_H265_PPS_PARSER_H_
+
+ #include "absl/types/optional.h"
++#include <cstdint>
+
+ namespace rtc {
+ class BitBuffer;
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index ddc80df9c2..6d9bfd9321 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -30,6 +30,8 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages digest)
   #:use-module (gnu packages fcitx)
   #:use-module (gnu packages fcitx5)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -58,6 +60,7 @@ (define-module (gnu packages telegram)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
@@ -72,35 +75,35 @@ (define-module (gnu packages telegram)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt))

-(define libvpx-for-telegram-desktop
-  (let* ((commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")
+(define libyuv-for-telegram-desktop
+  (let* ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
          (revision "0")
-         (name "libvpx-for-telegram-desktop")
+         (name "libyuv-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://chromium.googlesource.com/webm/libvpx")
+            (url "https://chromium.googlesource.com/libyuv/libyuv")
             (commit commit)))
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))))
+        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))

-(define libyuv-for-telegram-desktop
-  (let* ((commit "ad890067f661dc747a975bc55ba3767fe30d4452")
+(define crc32c-for-telegram-desktop
+  (let* ((commit "21fc8ef30415a635e7351ffa0e5d5367943d4a94")
          (revision "0")
-         (name "libyuv-for-telegram-desktop")
+         (name "crc32c-for-telegram-desktop")
          (version (git-version "0" revision commit)))
     (origin
       (method git-fetch)
       (uri (git-reference
-            (url "https://chromium.googlesource.com/libyuv/libyuv")
+            (url "https://github.com/google/crc32c")
             (commit commit)))
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
+        "0cddf8z7v33gfb2k60lkzwa97g20m1v81cnvllm3q9ylpnx8g6f4")))))

 (define cmake-helpers-for-telegram-desktop
   (let* ((commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")
@@ -343,8 +346,8 @@ (define tgcalls-for-telegram-desktop
         "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj")))))

 (define-public webrtc-for-telegram-desktop
-  (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
-        (revision "166"))
+  (let ((commit "621f3da55331733bf0d1b223786b96b68c03dca1")
+        (revision "167"))
     (hidden-package
      (package
        (name "webrtc-for-telegram-desktop")
@@ -360,57 +363,61 @@ (define-public webrtc-for-telegram-desktop
           (file-name
            (git-file-name name version))
           (sha256
-           (base32 "0plwdp6xgxi27hif5j7kpq425cidxyxbbga3z2f64dsninwy5p1x"))
+           (base32 "1ks1572k1jj7pmzwm79p2gdgi31dd4bs761bphnx32zyq4c6skxk"))
+          (patches
+           (search-patches
+            ;; https://github.com/desktop-app/tg_owt/pull/101
+            "webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch"))
           (modules '((guix build utils)
                      (ice-9 ftw)
                      (srfi srfi-1)))
           (snippet
            #~(begin
                (let ((keep
-                      '( ;; Custom forks which are incompatible with the ones in Guix.
-                        "abseil-cpp" "libsrtp" "openh264" "rnnoise"
+                      '("abseil-cpp" "libsrtp" "rnnoise"
                         ;; Not available in Guix.
-                        "pffft" "usrsctp"
-                        ;; Has cmake support files for libvpx input.
-                        "libvpx")))
+                        "crc32c" "pffft")))
                  (with-directory-excursion "src/third_party"
                    (for-each delete-file-recursively
                              (lset-difference string=?
                                               (scandir ".")
-                                              (cons* "." ".." keep)))))))))
+                                              (cons* "." ".." keep)))))
+               ;; Use system openh264.
+               (substitute* "CMakeLists.txt"
+                 (("\\include\\(cmake\\/libopenh264\\.cmake\\)")""))))))
        (build-system cmake-build-system)
        (arguments
-        (list #:tests? #f               ; No target
-              #:configure-flags
-              #~`("-DCMAKE_C_FLAGS=-fPIC"
-                  "-DCMAKE_CXX_FLAGS=-fPIC")
+        (list #:tests? #f       ; No target
               #:phases
               #~(modify-phases %standard-phases
                   (add-after 'unpack 'copy-inputs
                     (lambda _
-                      (let* ((libvpx-to (string-append (getcwd)
-                                                       "/src/third_party/libvpx/source/libvpx"))
-                             (libyuv-to (string-append (getcwd)
-                                                       "/src/third_party/libyuv")))
-                        (copy-recursively #$libvpx-for-telegram-desktop libvpx-to)
-                        (copy-recursively #$libyuv-for-telegram-desktop libyuv-to)))))))
-       (native-inputs (list perl pkg-config python-wrapper yasm))
+                      (copy-recursively
+                       #$libyuv-for-telegram-desktop
+                       (string-append (getcwd) "/src/third_party/libyuv"))
+                      (copy-recursively
+                       #$crc32c-for-telegram-desktop
+                       (string-append (getcwd) "/src/third_party/crc32c/src")))))))
+       (native-inputs (list pkg-config python-wrapper yasm))
        (inputs
-        (list alsa-lib
+        (list abseil-cpp-cxxstd17
               ffmpeg
               libjpeg-turbo
-              glib
-              libxcomposite
-              libxdamage
-              libxrender
-              libxrandr
+              libvpx
+              openh264
               openssl
               opus
-              pipewire
+              ;; TG_OWT_USE_PROTOBUF
               protobuf
-              pulseaudio
-              libx11
+              ;; TG_OWT_USE_PIPEWIRE
+              glib libdrm libglvnd mesa pipewire-0.3
+              ;; TG_OWT_USE_X11
+              libxcomposite
+              libxdamage
               libxext
+              libxfixes
+              libxrandr
+              libxrender
               libxtst))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
@@ -422,13 +429,11 @@ (define-public webrtc-for-telegram-desktop
          license:asl2.0
          ;; LibYuv
          (license:non-copyleft "file:///src/third_party/libyuv/LICENSE")
-         ;; OpenH264
-         license:bsd-2
          ;; PFFFT
          (license:non-copyleft "file:///src/third_party/pffft/LICENSE")
          ;; RnNoise
          license:gpl3
-         ;; LibSRTP, LibVPx, UsrSCTP and Others
+         ;; LibSRTP, Crc32c and Others
          license:bsd-3))))))

 (define-public rlottie-for-telegram-desktop
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 19 Sep 2022 23:36:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 19:36:37 2022
Received: from localhost ([127.0.0.1]:55564 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaQJZ-0006vU-C9
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:36:37 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:55190)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oaQJY-0006vG-8V
 for 57675 <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:36:36 -0400
Date: Tue, 20 Sep 2022 07:36:19 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663630590;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=BusosAZcl+m4u/5RJme4PIFA+8Mf+CATZjsuNjvqJFk=;
 b=NEZVagFoLi+Uo8v6B+utDGyOt0eEuIeO64ojw0gZDcDGjGOMzX9xlTIlv5veJrMH1eYuAY
 skyvY7TgVP7HjldwLwkpDYE2QG/M5+U4xorX+mn6ed00T/WxqG5dZovaj9SrRjKQ4iG5/j
 vzomQ1BwiL5Mto/Uiw4tIPr2j/Tt7B44Xvi2+M5sVM6oFpvlnCH4jVxs8oBb7SM/0XM8WX
 JI3hlBV5PfFZlD6Tpo3Q1cURm8p/ZcZT+FNbLVmDVBDm/EsBT20vNWrZR3Fe7sEYpjsqH3
 u+9TiaMitrl1g0oBh0M7sEXQAYtd1wxzna6JAAto8FQ7O5ILpF2XZ/0HKDkTCg==
Message-ID: <y76a66vos24.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v5 09/11] gnu: kcoreaddons: Update to 5.98.0.
In-Reply-To: <y76bkrbos2m.wl-hako@HIDDEN>
References: <y76mtavos7u.wl-hako@HIDDEN>
 <y76leqfos6y.wl-hako@HIDDEN>
 <y76k05zos6c.wl-hako@HIDDEN>
 <y76illjos59.wl-hako@HIDDEN>
 <y76h713os4q.wl-hako@HIDDEN>
 <y76fsgnos48.wl-hako@HIDDEN>
 <y76edw7os3l.wl-hako@HIDDEN>
 <y76czbros33.wl-hako@HIDDEN>
 <y76bkrbos2m.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/kde-frameworks.scm (kcoreaddons): Update to 5.98.0.
[#:phases]: Update blocklist for failing tests.
---
 gnu/packages/kde-frameworks.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index e4337636ac..61cbf19bc4 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -574,7 +574,7 @@ (define-public kconfig
 (define-public kcoreaddons
   (package
     (name "kcoreaddons")
-    (version "5.70.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -583,7 +583,7 @@ (define-public kcoreaddons
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "10a7zys3limsawl7lk9ggymk3msk2bp0y8hp0jmsvk3l405pd1ps"))))
+                "0lqmyxqsw7w1qgdgmax63v64cy7dwk7n4zi8k53xmrqjmd9jir52"))))
     (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules qttools-5 shared-mime-info
@@ -602,14 +602,8 @@ (define-public kcoreaddons
                  ;; FIXME: Make it pass.  Test failure caused by stout/stderr
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
-                 ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))))
-         ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
-         (add-after 'unpack 'fix-broken-test
-           (lambda _
-             (substitute* "autotests/kdirwatch_unittest.cpp"
-               (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))))
+                 ;; FIXME
+                 (display "[test_inheritance]\n*\n")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 19 Sep 2022 23:36:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 19:36:23 2022
Received: from localhost ([127.0.0.1]:55561 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaQJL-0006v1-0s
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:36:23 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:56256)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oaQJH-0006ua-E6
 for 57675 <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:36:19 -0400
Date: Tue, 20 Sep 2022 07:36:01 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663630572;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=D3UguPaFYoUd0mbt7+kC8Fsqps2dWnYu1h5gwO5hvu4=;
 b=ijC1Pea0yHGvO36PNv10RF3q9wZ3gABvsa8Z2/FfNkqjLtk1s+4PKf4YCgOW2xWVWHAF13
 DMQpjyS+FVqfCtGc9MwucnjXL8BOvjbr7tUwFKdhTwu8UMi/ku3zpI4Ym/G17w4yg6d4nw
 GkgMjLM8FUPGW6ataIceROqO41/Tx8WaC24+GHxtZ9jNdznp8vTqvPwS1apDIalMmoiD2y
 aDNNDtNlxUA5e4mfhDq3r29GlOC1Pv0jWo31fuXsvUyA88OooeIqsloqGLloO+CeEMEQ9V
 IJOaLfW3YVRWmwnzOOX0u+u9VMTw/AP4nGjFxy1osVx0vZF+ZLYcvMFdTVVBig==
Message-ID: <y76bkrbos2m.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v5 08/11] gnu: kcoreaddons: Remove trailing #t.
In-Reply-To: <y76czbros33.wl-hako@HIDDEN>
References: <y76mtavos7u.wl-hako@HIDDEN>
 <y76leqfos6y.wl-hako@HIDDEN>
 <y76k05zos6c.wl-hako@HIDDEN>
 <y76illjos59.wl-hako@HIDDEN>
 <y76h713os4q.wl-hako@HIDDEN>
 <y76fsgnos48.wl-hako@HIDDEN>
 <y76edw7os3l.wl-hako@HIDDEN>
 <y76czbros33.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/kde-frameworks.scm (kcoreaddons)[#:phases]: Remove trailing #t.
---
 gnu/packages/kde-frameworks.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 52314fd0ff..e4337636ac 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -603,20 +603,17 @@ (define-public kcoreaddons
                  ;; being interleaved.
                  (display "[test_channels]\n*\n")
                  ;; This fails with ENOSPC because of too many inotify watches.
-                 (display "[benchNotifyWatcher]\n*\n")))
-             #t))
+                 (display "[benchNotifyWatcher]\n*\n")))))
          ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
          (add-after 'unpack 'fix-broken-test
            (lambda _
              (substitute* "autotests/kdirwatch_unittest.cpp"
                (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
-                (string-append m "\nwaitUntilNewSecond();")))
-             #t))
+                (string-append m "\nwaitUntilNewSecond();")))))
          (add-before 'check 'check-setup
            (lambda _
              (setenv "HOME" (getcwd))
-             (setenv "TMPDIR" (getcwd))
-             #t)))))
+             (setenv "TMPDIR" (getcwd)))))))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Qt addon library with a collection of non-GUI utilities")
     (description "KCoreAddons provides classes built on top of QtCore to
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 19 Sep 2022 23:36:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 19:36:02 2022
Received: from localhost ([127.0.0.1]:55552 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaQJ0-0006tk-Cw
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:36:02 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:41548)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oaQIz-0006tL-HJ
 for 57675 <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:36:01 -0400
Date: Tue, 20 Sep 2022 07:35:44 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663630555;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=RZuLimHHAOm/TJoSGpPnt4UqOPd54jRXCsPLpn96pKY=;
 b=3LhwxhevgUcFtTYaCj3kgExBdG0+WqoEysYJfkzUPvI91J+7wMhqfWRcn97MEdVO6YsdhC
 l6FmRRKokbdLZqyz/+qoCmupdSPk61A1FxDQaVwabd+qvo7lWfFeerd1hlYfSfSfit6lK7
 pSo8cLqNsjt/mlMTjGdCQrmG9gKxABcy50t/AlGchax4d9/PDl1H/5bu3M/ojn4by+ahrp
 0uYDNz8qC7xLc1r/vB0y1D0T3ATZlSsfK/DvBFeGcXZZnPIiNPmDaotqDTtcZH9f1ttX2E
 8BXnnMjE4flJbT9CAFJI3HXJCSqr/38Diiahz/EDFE2ojgfaKOpNM36YXgyevw==
Message-ID: <y76czbros33.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v5 07/11] gnu: extra-cmake-modules: Update to 5.98.0.
In-Reply-To: <y76edw7os3l.wl-hako@HIDDEN>
References: <y76mtavos7u.wl-hako@HIDDEN>
 <y76leqfos6y.wl-hako@HIDDEN>
 <y76k05zos6c.wl-hako@HIDDEN>
 <y76illjos59.wl-hako@HIDDEN>
 <y76h713os4q.wl-hako@HIDDEN>
 <y76fsgnos48.wl-hako@HIDDEN>
 <y76edw7os3l.wl-hako@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Authentication-Results: mail.boiledscript.com;
 auth=pass smtp.mailfrom=hako@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57675
Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


* gnu/packages/kde-frameworks.scm (extra-cmake-modules): Update to 5.98.0.
---
 gnu/packages/kde-frameworks.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 738013fdba..52314fd0ff 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -88,7 +88,7 @@ (define-module (gnu packages kde-frameworks)
 (define-public extra-cmake-modules
   (package
     (name "extra-cmake-modules")
-    (version "5.91.0")
+    (version "5.98.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -97,7 +97,7 @@ (define-public extra-cmake-modules
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0k65rvxh926ya6qahzk2ns7g1fya1429648mlx7iipxa61g8h5wp"))))
+                "0669m98vqy4hpacfjs7xpgjj1bns24kjybrjipxzp82092g8y69w"))))
     (build-system cmake-build-system)
     (native-inputs
      ;; Add test dependency, except on armhf where building it is too
--
2.37.3




Information forwarded to guix-patches@HIDDEN:
bug#57675; Package guix-patches. Full text available.

Message received at 57675 <at> debbugs.gnu.org:


Received: (at 57675) by debbugs.gnu.org; 19 Sep 2022 23:35:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 19:35:45 2022
Received: from localhost ([127.0.0.1]:55548 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaQIj-0006t3-3C
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:35:45 -0400
Received: from mail.boiledscript.com ([144.168.59.46]:46780)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@HIDDEN>) id 1oaQIh-0006sn-A9
 for 57675 <at> debbugs.gnu.org; Mon, 19 Sep 2022 19:35:43 -0400
Date: Tue, 20 Sep 2022 07:35:26 +0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1663630537;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=vCw9lXsXcaIUkTORlM9dL1Rt+pDavfh39EoC6yL9AQo=;
 b=NOK3yhyE/s9WYlXg4x8Uxmn45sD7BwBAsZxnZ9ZUd6xHLj94WeQu2O8L6OjkZFk9ORftoS
 uR8XX/SWIGCbTaQrZrPWfh6AO/YyLZuRJ4RGwbFJ8CA6RnKUH73VyXcdz8oSTMZdT+A3oz
 ab8LQcWjx8N9SsPnbatdgU6j9XU22JegdtKka8n9t1ivxgjkVgZm+TqK7vNE3IjuDgHz0r
 nIlT7YvFz3tV3mn11VrDhYeoKu3OQE3Iy9vZC34Pqi1/txp9eVTDFxEIvF2AQopu5KSeOS
 7y9EIZMOJH+Xjp6QJq+kf4QDobTyUyZoTozrHR8VB9NONtehWy02wwxMGSXX6A==
Message-ID: <y76edw7os3l.wl-hako@HIDDEN>
From: Hilton Chain <hako@HIDDEN>
To: 57675 <at> debbugs.gnu.org
Subject: [PATCH v5 06/11] gnu: Add abseil-cpp-cxxstd17.
In-Reply-To: <y76fsgnos48.wl-hako@HIDDEN>
References: <y76mtavos7u.wl-hako@HIDDEN>
 <y76leqfos6y.wl-hako@HIDDEN>
 <y76k05zos6c.wl-hako@HIDDEN>
 <y76illjos59.wl-hako@HIDDEN>
 <y76h713os4q.wl-hako@HIDDEN>
 <y