Subject: Re: [bug#64748] [PATCH] gnu: webrtc-for-telegram-desktop: Update to a45d8b8

From: Saku Laesvuori <[email-masked]>
Date: Thu, 20 Jul 2023 22:33:53 +0300

> Fixes telegram-desktop call not working with openSSL 3
> 
> see: https://github.com/telegramdesktop/tdesktop/issues/26108
> 
> * gnu/packages/telegram.scm (webrtc-for-telegram-desktop): Update to a45d8b8 revision commit

You should probably mention adding `libsrtp-for-telegram-desktop` in the
ChangeLog.

> @@ -96,6 +97,21 @@ (define libyuv-for-telegram-desktop
>         (base32
>          "0mm56p8iapfild2xdw4w8zi35c3xm06fgagiali644gnxdmnym6c")))))
>  
> +(define libsrtp-for-telegram-desktop
> +  (let ((commit "a566a9cfcd619e8327784aa7cff4a1276dc1e895")
> +        (revision "1494"))
> +    (origin
> +      (method git-fetch)
> +      (uri (git-reference
> +            (url "https://github.com/cisco/libsrtp")
> +            (commit commit)))
> +      (file-name (git-file-name
> +                  "libsrtp-for-telegram-desktop"
> +                  (git-version "0" revision commit)))
> +      (sha256
> +       (base32
> +        "1ichw2v9s2mggi5p2wbbmlg55q4r48dxi3ks7ykfcfkmh7pb1w1s")))))
> +

Have you tried using the libsrtp version packaged in Guix as an input to
`webrtc-for-telegram-desktop` instead of bundling it? If that doesn't
work, have you tried packaging libsrtp 2.5.0 and using it as an input?
It would probably be relatively easy with record inheriting.

I'm quite new to Guix (and couldn't push changes even if they were
perfect) so someone else might have more comments on this.