unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46614] Update Telegram
@ 2021-02-18 12:40 Raghav Gururajan via Guix-patches via
  2021-02-18 14:59 ` bug#46614: " Leo Prikler
  0 siblings, 1 reply; 2+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-02-18 12:40 UTC (permalink / raw)
  To: 46614; +Cc: Leo Prikler


[-- Attachment #1.1.1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #1.1.2: 0001-gnu-libtgvoip-Replace-libopusenc-with-opus.patch --]
[-- Type: text/x-patch, Size: 987 bytes --]

From 2ccc9bf30b269de601a896251d459df20a8c6a73 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Thu, 18 Feb 2021 06:14:49 -0500
Subject: [PATCH 1/4] gnu: libtgvoip: Replace libopusenc with opus.

This change will get inherited by libtgvoip-for-telegram-desktop.

* gnu/packages/telephony.scm (libtgvoip) [inputs]: Replace libopusenc with opus.
---
 gnu/packages/telephony.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 48e30abfc3..df6df83dd2 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -886,8 +886,8 @@ Initiation Protocol (SIP) and a multimedia framework.")
     (build-system gnu-build-system)
     (inputs
      `(("alsa-lib" ,alsa-lib)
-       ("libopusenc" ,libopusenc)
        ("openssl" ,openssl)
+       ("opus" ,opus)
        ("pulseaudio" ,pulseaudio)))
     (arguments
      `(#:phases
-- 
2.30.1


[-- Attachment #1.1.3: 0002-gnu-webrtc-for-telegram-desktop-Update-to-revision-8.patch --]
[-- Type: text/x-patch, Size: 1890 bytes --]

From f240c1eccff6f06081b5d31197a6bf6a865ea17d Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Thu, 18 Feb 2021 06:24:13 -0500
Subject: [PATCH 2/4] gnu: webrtc-for-telegram-desktop: Update to revision 83.

* gnu/packages/telegram.scm (webrtc-for-telegram-desktop): Update to revision 83.
[inputs]: Add libx11, libxext, and libxtst.
---
 gnu/packages/telegram.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 00aabbde6c..b9e730aaa4 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -69,8 +69,8 @@
   #:use-module (guix build-system qt))
 
 (define-public webrtc-for-telegram-desktop
-  (let ((commit "fa86fcc00c218813d61a272a56feab55c76a1ab9")
-        (revision "52"))
+  (let ((commit "a19877363082da634a3c851a4698376504d2eaee")
+        (revision "83"))
     (hidden-package
      (package
        (name "webrtc-for-telegram-desktop")
@@ -86,7 +86,7 @@
           (file-name
            (git-file-name name version))
           (sha256
-           (base32 "06gcrlym6vqqw7zlds9lpwyg37d5m81d87h16aps19v0v9gzan0l"))
+           (base32 "0961zm1m1mc2kh54dx5ax95q8sw13impvpjvg9jv12bmfkgm17wr"))
           (modules '((guix build utils)
                      (ice-9 ftw)
                      (srfi srfi-1)))
@@ -158,7 +158,10 @@
           ("openssl" ,openssl)
           ("opus" ,opus)
           ("protobuf" ,protobuf)
-          ("pulseaudio" ,pulseaudio)))
+          ("pulseaudio" ,pulseaudio)
+          ("x11" ,libx11)
+          ("xext" ,libxext)
+          ("xtst" ,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.30.1


[-- Attachment #1.1.4: 0003-gnu-libtgvoip-for-telegram-desktop-Update-to-revisio.patch --]
[-- Type: text/x-patch, Size: 1445 bytes --]

From 060e002e6b137c1af6cdd802b6ea48a461a53f91 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Thu, 18 Feb 2021 06:27:07 -0500
Subject: [PATCH 3/4] gnu: libtgvoip-for-telegram-desktop: Update to revision
 88.

* gnu/packages/telegram.scm (libtgvoip-for-telegram-desktop): Update to revision 88.
---
 gnu/packages/telegram.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index b9e730aaa4..ecd98ca9fc 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -216,8 +216,8 @@ Telegram project, for its use in telegram desktop client.")
                 #t)))))))))
 
 (define-public libtgvoip-for-telegram-desktop
-  (let ((commit "37d98e984fd6fa389262307db826d52ab86c8241")
-        (revision "87"))
+  (let ((commit "13a5fcb16b04472d808ce122abd695dbf5d206cd")
+        (revision "88"))
     (hidden-package
      (package
        (inherit libtgvoip)
@@ -233,7 +233,7 @@ Telegram project, for its use in telegram desktop client.")
           (file-name
            (git-file-name "libtgvoip-for-telegram-desktop" version))
           (sha256
-           (base32 "13dzvyq8p20nlhjihv18aj6y97czk07qdl0k6v81vp6mbwcldg7h"))))
+           (base32 "12p6s7vxkf1gh1spdckkdxrx7bjzw881ds9bky7l5fw751cwb3xd"))))
        (arguments
         `(#:configure-flags
           (list
-- 
2.30.1


[-- Attachment #1.1.5: 0004-gnu-telegram-desktop-Update-to-2.5.9.patch --]
[-- Type: text/x-patch, Size: 4978 bytes --]

From 96d37a4fd8fdc4b715659514db0d4c4f270cc9d1 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Thu, 18 Feb 2021 06:30:46 -0500
Subject: [PATCH 4/4] gnu: telegram-desktop: Update to 2.5.9.

* gnu/packages/telegram.scm (telegram-desktop): Update to 2.5.9.
---
 gnu/packages/telegram.scm | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index ecd98ca9fc..7901582008 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -262,7 +262,7 @@ Telegram project, for its use in telegram desktop client.")
 (define-public telegram-desktop
   (package
     (name "telegram-desktop")
-    (version "2.5.1")
+    (version "2.5.9")
     (source
      (origin
        (method git-fetch)
@@ -274,7 +274,7 @@ Telegram project, for its use in telegram desktop client.")
        (file-name
         (git-file-name name version))
        (sha256
-        (base32 "0drirhkr9gnm1g03lcqmvap5ljlk859c29gbsm63hhsgv15dlw0y"))
+        (base32 "1lqs06scqvzg37a2py8jk7nnlvk42jjifcpnhdd5rgd5biw70nyx"))
        (modules '((guix build utils)
                   (ice-9 ftw)
                   (srfi srfi-1)))
@@ -360,11 +360,11 @@ Telegram project, for its use in telegram desktop client.")
            (uri
             (git-reference
              (url "https://github.com/desktop-app/cmake_helpers.git")
-             (commit "a81345a28d407fb5acd5267ec6afa1864f4e8d5b")))
+             (commit "695fabda6830b58bdc02d09db70531d5dececcd0")))
            (file-name
             (git-file-name "cmake-helpers-for-telegram-desktop" version))
            (sha256
-            (base32 "0s5hxip68dmkaspjq6j30wx1r5v4prnrjza79hdbznz6i57a2248"))))
+            (base32 "1j3ppgfmihcjl22w5jk8jhwif10i9wbycq5zqnssn6pnhnj7di5i"))))
        ("cmake-shared" ,cmake-shared)
        ("extra-cmake-modules" ,extra-cmake-modules)
        ("gcc" ,gcc-9)
@@ -398,17 +398,18 @@ Telegram project, for its use in telegram desktop client.")
        ("hime" ,hime)
        ("hunspell" ,hunspell)
        ("iconv" ,libiconv)
+       ("kwayland" ,kwayland)
        ("lib-base-source"
         ,(origin
            (method git-fetch)
            (uri
             (git-reference
              (url "https://github.com/desktop-app/lib_base.git")
-             (commit "81df0d0b7842be2b6c88f93dfa136b8efea4c9ad")))
+             (commit "f1e4168081428fa451d2f50eee7b1c448268c43a")))
            (file-name
             (git-file-name "lib-base-for-telegram-desktop" version))
            (sha256
-            (base32 "0ikddprjnjvg0ic8jr2886xq0f18syp587q6z2kci9xmdnvjl217"))))
+            (base32 "0piqp7llwi7sfy4c15g0p8ihr90rz1qps6q5fkl1iasrf5ysw8qc"))))
        ("lib-crl-source"
         ,(origin
            (method git-fetch)
@@ -503,22 +504,22 @@ Telegram project, for its use in telegram desktop client.")
            (uri
             (git-reference
              (url "https://github.com/desktop-app/lib_ui.git")
-             (commit "1e2799245cf2720a329ecb5cf5644fded669cce6")))
+             (commit "e14bc4681d69c1b538b8c5af51501077ae5a8a86")))
            (file-name
             (git-file-name "lib-ui-for-telegram-desktop" version))
            (sha256
-            (base32 "0kd4njcvic2700f00qn25vn3b80vsd2flsm3pi2synnldkiy8lcw"))))
+            (base32 "04b1x4bswk3bxqrwpv5g7w4frkprrwf0px6aibh6z4drinv08wsv"))))
        ("lib-webrtc-source"
         ,(origin
            (method git-fetch)
            (uri
             (git-reference
              (url "https://github.com/desktop-app/lib_webrtc.git")
-             (commit "4bc51d6f6d5740159fdb51cb1593e80ce149ed4e")))
+             (commit "60d5c43daf882a6c03944a3e6198b5f35b654a0e")))
            (file-name
             (git-file-name "lib-webrtc-for-telegram-desktop" version))
            (sha256
-            (base32 "06hpyq4qglrj3cb1xg8ghlmzm9ra8f5n6vm7hcy67n2wk8sy4cal"))))
+            (base32 "0mxmbw8i37axllg9h976p6np2gcfyci6xwwl9hc9mhs49vwwsw5s"))))
        ("libdbusmenu-qt" ,libdbusmenu-qt)
        ("libjpeg" ,libjpeg-turbo)
        ("libtgvoip" ,libtgvoip-for-telegram-desktop)
@@ -544,11 +545,11 @@ Telegram project, for its use in telegram desktop client.")
            (uri
             (git-reference
              (url "https://github.com/TelegramMessenger/tgcalls.git")
-             (commit "178983f72312ca8bd422bc73810fd63f1a89bd9d")))
+             (commit "71addf5b41cb6bb6844f75e977edae0020938930")))
            (file-name
             (git-file-name "tgcalls-for-telegram-desktop" version))
            (sha256
-            (base32 "1xad65c9m6mj6zdj08flafvh8xjkd7xi9r1agcyc64y69lr427d0"))))
+            (base32 "1zrjxf03n3ad8b95gwjarmq4gj5i5cwhlg93qcjv2232kksh29iy"))))
        ("webrtc" ,webrtc-for-telegram-desktop)
        ("x11" ,libx11)
        ("xcb" ,libxcb)
-- 
2.30.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

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

* bug#46614: Update Telegram
  2021-02-18 12:40 [bug#46614] Update Telegram Raghav Gururajan via Guix-patches via
@ 2021-02-18 14:59 ` Leo Prikler
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Prikler @ 2021-02-18 14:59 UTC (permalink / raw)
  To: Raghav Gururajan, 46614-done

Pushed with a small change.

Am Donnerstag, den 18.02.2021, 07:40 -0500 schrieb Raghav Gururajan:
> This change will get inherited by libtgvoip-for-telegram-desktop.
I've dropped this comment, since that's what you'd assume with
(inherit) unless the field is specified.

Regards,
Leo





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

end of thread, other threads:[~2021-02-18 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-18 12:40 [bug#46614] Update Telegram Raghav Gururajan via Guix-patches via
2021-02-18 14:59 ` bug#46614: " Leo Prikler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).