guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#45721] Telegram Desktop (v17)


From: Leo Prikler
Subject: [bug#45721] Telegram Desktop (v17)
Date: Wed, 20 Jan 2021 12:07:36 +0100
User-agent: Evolution 3.34.2

Hi Raghav,

Am Mittwoch, den 20.01.2021, 05:41 -0500 schrieb Raghav Gururajan:
> +       ;; 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@raghavgururajan.name>
> +       (list
> +        "-DTDESKTOP_API_ID=2791056"
> +        "-DTDESKTOP_API_HASH=582d6d0b44f7a2de949e99271fd8b3f2")
You're sadly missing the packaged font thing, that pineapples
mentioned.  Try this:
>        #: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@raghavgururajan.name>
>         "-DTDESKTOP_API_ID=2791056"
>         "-DTDESKTOP_API_HASH=582d6d0b44f7a2de949e99271fd8b3f2"
>         ;; Use bundled fonts as fallback.
>         "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")

> +         (add-after 'unpack 'copy-inputs
> +           (lambda* (#:key inputs outputs #:allow-other-keys)
> +             (let* ((to (string-append (getenv "TEMP") "/source"))
Should (getcwd) or "source" not suffice as to?

> +       ("lib_base"
> +        ,(origin
> +           (method git-fetch)
> +           (uri
> +            (git-reference
> +             (url "https://github.com/desktop-app/lib_base.git";)
> +             (commit "81df0d0b7842be2b6c88f93dfa136b8efea4c9ad")))
> +           (file-name
> +            (git-file-name "lib_base" version))
> +           (sha256
> +            (base32
> "0ikddprjnjvg0ic8jr2886xq0f18syp587q6z2kci9xmdnvjl217"))))
> +       [...]
Use the naming-scheme "<package>-for-telegram-desktop" and similarly
(git-file-name "<package>-for-telegram-desktop" version).  Substitute
underlines with hyphens in the input and file names.
> +       ("libtgvoip" [...])
> +       ("rlottie" [...])
> +       ("tgcalls" [...])
Likewise.

Also strip the "Signed-Off-By" line from commits, that you've amended
since, so as to not inadvertently confuse anyone.  For this patch set,
that's just 0013.

Regards,
Leo






reply via email to

[Prev in Thread] Current Thread [Next in Thread]