GNU bug report logs -
#48083
[PATCH 0/0]: Changes to Telegram Stuff
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48083 in the body.
You can then email your comments to 48083 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#48083
; Package
guix-patches
.
(Wed, 28 Apr 2021 16:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Raghav Gururajan <rg <at> raghavgururajan.name>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 28 Apr 2021 16:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello Guix!
This patch-set is to make changes to telegram-desktop and its related
packages.
The updated version of telegram-desktop doesn't build at the moment. It
appears to be requiring newer version of gtk3, as there is a missing
symbol 'gdk_x11_window_get_xid'.
The updated gtk3 is in core-updates. I'll retest this patch-test after
next core-updates --> master merge.
Regards,
RG.
[OpenPGP_signature (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#48083
; Package
guix-patches
.
(Wed, 28 Apr 2021 16:53:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 48083 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/telegram.scm (webrtc-for-telegram-desktop)[version]: Update
to 0-96.18cb4cd.
---
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 cf5c173973..42e9adc7dd 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -70,8 +70,8 @@
#:use-module (guix build-system qt))
(define-public webrtc-for-telegram-desktop
- (let ((commit "a19877363082da634a3c851a4698376504d2eaee")
- (revision "83"))
+ (let ((commit "18cb4cd9bb4c2f5f5f5e760ec808f74c302bc1bf")
+ (revision "96"))
(hidden-package
(package
(name "webrtc-for-telegram-desktop")
@@ -87,7 +87,7 @@
(file-name
(git-file-name name version))
(sha256
- (base32 "0961zm1m1mc2kh54dx5ax95q8sw13impvpjvg9jv12bmfkgm17wr"))
+ (base32 "0abizlda4hpyh929409gxa4hwh4n8knifh2f8fmx4bj9p3g40ki3"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-1)))
--
2.31.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#48083
; Package
guix-patches
.
(Wed, 28 Apr 2021 16:53:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 48083 <at> debbugs.gnu.org (full text, mbox):
UsrSCTP is now available in Guix (f5e69549ba5d6efcd03f4f50f771a8a76ed73c5b).
* gnu/packages/telegram.scm (webrtc-for-telegram-desktop)
[snippet]: Remove usrsctp from keep list.
[phases](patch-cmake): New phase.
---
gnu/packages/telegram.scm | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index e6bfe6c4f2..cf5c173973 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -44,6 +44,7 @@
#:use-module (gnu packages linux)
#:use-module (gnu packages lxqt)
#:use-module (gnu packages lua)
+ #:use-module (gnu packages networking)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages protobuf)
@@ -96,7 +97,7 @@
'( ;; Custom forks which are incompatible with the ones in Guix.
"abseil-cpp" "libsrtp" "openh264" "rnnoise"
;; Not available in Guix.
- "pffft" "usrsctp"
+ "pffft"
;; Has cmake support files for libvpx input.
"libvpx")))
(with-directory-excursion "src/third_party"
@@ -124,9 +125,22 @@
"/src/third_party/libyuv")))
(copy-recursively libvpx-from libvpx-to)
(copy-recursively libyuv-from libyuv-to))
- #t)))))
+ #t))
+ (add-after 'copy-inputs 'patch-cmake
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "CMakeLists.txt"
+ ;; Disable building of usrsctp as thirdparty,
+ ;; as we removed its source.
+ (("include\\(cmake/libusrsctp.cmake\\)") "")
+ ;; Link to usrsctp that is provided as input,
+ ;; instead of linking to usrsctp that is supossedly
+ ;; built as thirdparty.
+ (("tg_owt::libusrsctp") "usrsctp")
+ ;; Disable exporting of usrsctp,
+ ;; that is supossedly built as thirdparty.
+ (("[ \t]*libusrsctp") "")))))))
(native-inputs
- `(("gcc" ,gcc-9) ; keep in line with telegram-desktop
+ `(("gcc" ,gcc-9) ; keep in line with telegram-desktop
("perl" ,perl)
("pkg-config" ,pkg-config)
("python" ,python-wrapper)
@@ -161,6 +175,7 @@
("opus" ,opus)
("protobuf" ,protobuf)
("pulseaudio" ,pulseaudio)
+ ("usrsctp" ,usrsctp)
("x11" ,libx11)
("xext" ,libxext)
("xtst" ,libxtst)))
--
2.31.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#48083
; Package
guix-patches
.
(Wed, 28 Apr 2021 16:53:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 48083 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/telegram.scm (telegram-desktop)[version]: Update to 2.7.3.
[phases](copy-inputs): Modify.
[native-inputs]: Update cmake-helpers.
[inputs]: Update codegen-source, lib-base-source, lib-lottie-source,
lib-spellcheck-source, lib-storage-source, lib-tl-source, lib-ui-source,
lib-webrtc-source and tgcalls-source. Add lib-webview-source, glibmm
and webkitgtk.
---
gnu/packages/telegram.scm | 59 ++++++++++++++++++++++++---------------
1 file changed, 37 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 42e9adc7dd..c4414287a7 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -57,6 +57,7 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages video)
#:use-module (gnu packages web)
+ #:use-module (gnu packages webkit)
#:use-module (gnu packages xiph)
#:use-module (gnu packages xorg)
#:use-module ((guix licenses) #:prefix license:)
@@ -279,7 +280,7 @@ Telegram project, for its use in telegram desktop client.")
(define-public telegram-desktop
(package
(name "telegram-desktop")
- (version "2.5.9")
+ (version "2.7.3")
(source
(origin
(method git-fetch)
@@ -291,7 +292,7 @@ Telegram project, for its use in telegram desktop client.")
(file-name
(git-file-name name version))
(sha256
- (base32 "1lqs06scqvzg37a2py8jk7nnlvk42jjifcpnhdd5rgd5biw70nyx"))
+ (base32 "0vzn4jmxwj0jsqqi1z4k898lyqhfz9qh8s9nmrwnw5z76mlj2p8m"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-1)))
@@ -358,6 +359,7 @@ Telegram project, for its use in telegram desktop client.")
("Telegram/lib_tl" ,(assoc-ref inputs "lib-tl-source"))
("Telegram/lib_ui" ,(assoc-ref inputs "lib-ui-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))
@@ -377,11 +379,11 @@ Telegram project, for its use in telegram desktop client.")
(uri
(git-reference
(url "https://github.com/desktop-app/cmake_helpers.git")
- (commit "695fabda6830b58bdc02d09db70531d5dececcd0")))
+ (commit "52ccf5e17ab1bd7b352346c43706dc5e53bd19ca")))
(file-name
(git-file-name "cmake-helpers-for-telegram-desktop" version))
(sha256
- (base32 "1j3ppgfmihcjl22w5jk8jhwif10i9wbycq5zqnssn6pnhnj7di5i"))))
+ (base32 "0s79jf47x940ir6in347nvawfjgvril01mdwkhiza988zdhj5p3d"))))
("cmake-shared" ,cmake-shared)
("extra-cmake-modules" ,extra-cmake-modules)
("gcc" ,gcc-9)
@@ -401,16 +403,17 @@ Telegram project, for its use in telegram desktop client.")
(uri
(git-reference
(url "https://github.com/desktop-app/codegen.git")
- (commit "127968de8129e8ccfa6ac50721c70415a5a087c3")))
+ (commit "a4904e076b1d1bfd00cd26f283a5e9ccd9740ac1")))
(file-name
(git-file-name "codegen" version))
(sha256
- (base32 "036hzjrsk134ky62192nra43rsln5kh5gz20q1920s922661zky2"))))
+ (base32 "04vr9yl4pif2gza7zp78vsxvbdh3gsl1yz57b78f4fwqlrnxffi2"))))
("expected" ,libexpected)
("fcitx-qt5" ,fcitx-qt5)
("fcitx5-qt" ,fcitx5-qt)
("ffmpeg" ,ffmpeg)
("glib" ,glib)
+ ("glibmm" ,glibmm)
("gtk+" ,gtk+)
("hime" ,hime)
("hunspell" ,hunspell)
@@ -422,11 +425,11 @@ Telegram project, for its use in telegram desktop client.")
(uri
(git-reference
(url "https://github.com/desktop-app/lib_base.git")
- (commit "f1e4168081428fa451d2f50eee7b1c448268c43a")))
+ (commit "356daf59b35b2086cf5527e1c255557967fbb0af")))
(file-name
(git-file-name "lib-base-for-telegram-desktop" version))
(sha256
- (base32 "0piqp7llwi7sfy4c15g0p8ihr90rz1qps6q5fkl1iasrf5ysw8qc"))))
+ (base32 "17p09bm1hyihsyxpzhp1bhgl8mss1ww97jh3fkj6qnai9c9a7l2p"))))
("lib-crl-source"
,(origin
(method git-fetch)
@@ -444,11 +447,11 @@ Telegram project, for its use in telegram desktop client.")
(uri
(git-reference
(url "https://github.com/desktop-app/lib_lottie.git")
- (commit "fb40f379d82ffa1fc7506e9a8dddcf48847715ae")))
+ (commit "71fecd909b0d5553153ecb6803f03a91158aeefb")))
(file-name
(git-file-name "lib-lottie-for-telegram-desktop" version))
(sha256
- (base32 "1vq0mqxcrrv7akcqk9cl4mm61zw6dcfmy8adl0pcp49kynm64saw"))))
+ (base32 "1rza4gzrhjg59f482b6sygbjbwgzcvww7pb3cjrp52ym5c5gys36"))))
("lib-qr-source"
,(origin
(method git-fetch)
@@ -488,55 +491,66 @@ Telegram project, for its use in telegram desktop client.")
(uri
(git-reference
(url "https://github.com/desktop-app/lib_spellcheck.git")
- (commit "1b540b38ed78e9a3cba93e9ba4ce4525ab692277")))
+ (commit "d35fe8aa38a26bfcefd32286d48c371e1c7317b0")))
(file-name
(git-file-name "lib-spellcheck-for-telegram-desktop" version))
(sha256
- (base32 "0a7042h5zrdvgs7v153ral2dh1zj84di5yjcmgcry5k4s1im9di7"))))
+ (base32 "07krq24rzjph476hwva8df4cp9s6nmcszckj2l7zchkx0qwl8wwp"))))
("lib-storage-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_storage.git")
- (commit "cbe51722b73cfa9ff27bd59294b08aa5ee33c936")))
+ (commit "99d7122ddc9f61b6e910db11692426661525647f")))
(file-name
(git-file-name "lib-storage-for-telegram-desktop" version))
(sha256
- (base32 "045l5xsyagyz17gbhmmvl2miss4nb92p0dmza7yfs9pkg9gs0f87"))))
+ (base32 "02hfvy0h5gqgc7612p53famvmr8llrfr42pmwk515d9179ycggxy"))))
("lib-tl-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_tl.git")
- (commit "404c83d77e5edb8a39f8e9f56a6340960fe5070e")))
+ (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
(file-name
(git-file-name "lib-tl-for-telegram-desktop" version))
(sha256
- (base32 "1k34nkvvcjqw5q81n1qmklid60cvzjk4lmn9qjimk437m6wbii7f"))))
+ (base32 "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
("lib-ui-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_ui.git")
- (commit "e14bc4681d69c1b538b8c5af51501077ae5a8a86")))
+ (commit "14c67cf724a572186455a8c0639f037ae26cc762")))
(file-name
(git-file-name "lib-ui-for-telegram-desktop" version))
(sha256
- (base32 "04b1x4bswk3bxqrwpv5g7w4frkprrwf0px6aibh6z4drinv08wsv"))))
+ (base32 "0r4jc9c4m0hra3lq1zvbg5cxlhdx7g4cb854s65zg8n43rdmlwbp"))))
("lib-webrtc-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_webrtc.git")
- (commit "60d5c43daf882a6c03944a3e6198b5f35b654a0e")))
+ (commit "5270a1dbbdbee643e187e175f798595b4bc49996")))
(file-name
(git-file-name "lib-webrtc-for-telegram-desktop" version))
(sha256
- (base32 "0mxmbw8i37axllg9h976p6np2gcfyci6xwwl9hc9mhs49vwwsw5s"))))
+ (base32 "0g4pswwk2zjgrc8psv4y1ba14mic6alkz63i962ksz4d8n92q2k7"))))
+ ("lib-webview-source"
+ ,(origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/desktop-app/lib_webview.git")
+ (commit "91c0e6664db4a444d630e3a0101f599a92df1dd9")))
+ (file-name
+ (git-file-name "lib-webview-for-telegram-desktop" version))
+ (sha256
+ (base32 "0qsxrmrfsia91pzxsxsmls18i0b701111ibz5b1yj1y5dl764caj"))))
("libdbusmenu-qt" ,libdbusmenu-qt)
("libjpeg" ,libjpeg-turbo)
("libtgvoip" ,libtgvoip-for-telegram-desktop)
@@ -561,11 +575,12 @@ Telegram project, for its use in telegram desktop client.")
(uri
(git-reference
(url "https://github.com/TelegramMessenger/tgcalls.git")
- (commit "71addf5b41cb6bb6844f75e977edae0020938930")))
+ (commit "4a9de89c61882f00e0563d44516284a89874144b")))
(file-name
(git-file-name "tgcalls-for-telegram-desktop" version))
(sha256
- (base32 "1zrjxf03n3ad8b95gwjarmq4gj5i5cwhlg93qcjv2232kksh29iy"))))
+ (base32 "0g48ni5igbcdn4qdqab5y1b02wm8mn4dn5x6yqkxa46k7jmjfjnn"))))
+ ("webkitgtk" ,webkitgtk)
("webrtc" ,webrtc-for-telegram-desktop)
("x11" ,libx11)
("xcb" ,libxcb)
--
2.31.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#48083
; Package
guix-patches
.
(Fri, 14 May 2021 10:31:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 48083 <at> debbugs.gnu.org (full text, mbox):
Hi Raghav,
Raghav Gururajan <rg <at> raghavgururajan.name> skribis:
> UsrSCTP is now available in Guix (f5e69549ba5d6efcd03f4f50f771a8a76ed73c5b).
>
> * gnu/packages/telegram.scm (webrtc-for-telegram-desktop)
> [snippet]: Remove usrsctp from keep list.
> [phases](patch-cmake): New phase.
I haven’t built it but it LGTM. The subject line of the commit log can
be along the lines of:
gnu: telegram: Unbundle UsrSCTP.
Thanks!
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#48083
; Package
guix-patches
.
(Fri, 14 May 2021 10:33:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 48083 <at> debbugs.gnu.org (full text, mbox):
Raghav Gururajan <rg <at> raghavgururajan.name> skribis:
> * gnu/packages/telegram.scm (webrtc-for-telegram-desktop)[version]: Update
> to 0-96.18cb4cd.
> ---
> 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 cf5c173973..42e9adc7dd 100644
> --- a/gnu/packages/telegram.scm
> +++ b/gnu/packages/telegram.scm
> @@ -70,8 +70,8 @@
> #:use-module (guix build-system qt))
>
> (define-public webrtc-for-telegram-desktop
> - (let ((commit "a19877363082da634a3c851a4698376504d2eaee")
> - (revision "83"))
> + (let ((commit "18cb4cd9bb4c2f5f5f5e760ec808f74c302bc1bf")
> + (revision "96"))
Could you explain how you chose this commit?
Normally we only provide upstream releases, unless there’s a good reason
to provide a snapshot. Perhaps you could add a comment above the commit
ID explaining why we’re not using a release?
Thanks,
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#48083
; Package
guix-patches
.
(Fri, 14 May 2021 10:35:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 48083 <at> debbugs.gnu.org (full text, mbox):
Raghav Gururajan <rg <at> raghavgururajan.name> skribis:
> * gnu/packages/telegram.scm (telegram-desktop)[version]: Update to 2.7.3.
> [phases](copy-inputs): Modify.
> [native-inputs]: Update cmake-helpers.
> [inputs]: Update codegen-source, lib-base-source, lib-lottie-source,
> lib-spellcheck-source, lib-storage-source, lib-tl-source, lib-ui-source,
> lib-webrtc-source and tgcalls-source. Add lib-webview-source, glibmm
> and webkitgtk.
Is webkitgtk an optional dependency, or is it required by the new
version?
In the former case, the dependency on webkitgtk should be added in a
separate patch (or maybe not added, depending on how important it is for
“common” use cases).
Thanks!
Ludo’.
bug closed, send any further explanations to
48083 <at> debbugs.gnu.org and Raghav Gururajan <rg <at> raghavgururajan.name>
Request was from
Sergey Trofimov <sarg <at> sarg.org.ru>
to
control <at> debbugs.gnu.org
.
(Thu, 09 Nov 2023 21:13:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 08 Dec 2023 12:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 153 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.