guix-patches
[Top][All Lists]
Advanced

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

[bug#45721] Telegram Desktop (v20)


From: Leo Prikler
Subject: [bug#45721] Telegram Desktop (v20)
Date: Wed, 20 Jan 2021 16:10:02 +0100
User-agent: Evolution 3.34.2

Am Mittwoch, den 20.01.2021, 09:42 -0500 schrieb Raghav Gururajan:
> +             (let* ((to (getcwd))
> +                    (cmake-helpers (assoc-ref inputs "cmake-helpers-
> for-telegram-desktop"))
> +                    (codegen (assoc-ref inputs "codegen"))
> +                    (lib-base (assoc-ref inputs "lib-base-for-
> telegram-desktop"))
> +                    (lib-crl (assoc-ref inputs "lib-crl-for-
> telegram-desktop"))
> +                    (lib-lottie (assoc-ref inputs "lib-lottie-for-
> telegram-desktop"))
> +                    (lib-qr (assoc-ref inputs "lib-qr-for-telegram-
> desktop"))
> +                    (lib-rlottie (assoc-ref inputs "lib-rlottie-for-
> telegram-desktop"))
> +                    (lib-rpl (assoc-ref inputs "lib-rpl-for-
> telegram-desktop"))
> +                    (lib-spellcheck (assoc-ref inputs "lib-
> spellcheck-for-telegram-desktop"))
> +                    (lib-storage (assoc-ref inputs "lib-storage-for-
> telegram-desktop"))
> +                    (lib-tl (assoc-ref inputs "lib-tl-for-telegram-
> desktop"))
> +                    (lib-ui (assoc-ref inputs "lib-ui-for-telegram-
> desktop"))
> +                    (lib-webrtc (assoc-ref inputs "lib-webrtc-for-
> telegram-desktop"))
> +                    (libtgvoip (assoc-ref inputs "libtgvoip-for-
> telegram-desktop"))
> +                    (rlottie (assoc-ref inputs "rlottie-for-
> telegram-desktop"))
> +                    (tgcalls (assoc-ref inputs "tgcalls-for-
> telegram-desktop")))
> +               (copy-recursively
> +                cmake-helpers
> +                (string-append to "/cmake"))
> +               (copy-recursively
> +                codegen
> +                (string-append to "/Telegram/codegen"))
> +               (copy-recursively
> +                lib-base
> +                (string-append to "/Telegram/lib_base"))
> +               (copy-recursively
> +                lib-crl
> +                (string-append to "/Telegram/lib_crl"))
> +               (copy-recursively
> +                lib-lottie
> +                (string-append to "/Telegram/lib_lottie"))
> +               (copy-recursively
> +                lib-qr
> +                (string-append to "/Telegram/lib_qr"))
> +               (copy-recursively
> +                lib-rlottie
> +                (string-append to "/Telegram/lib_rlottie"))
> +               (copy-recursively
> +                lib-rpl
> +                (string-append to "/Telegram/lib_rpl"))
> +               (copy-recursively
> +                lib-spellcheck
> +                (string-append to "/Telegram/lib_spellcheck"))
> +               (copy-recursively
> +                lib-storage
> +                (string-append to "/Telegram/lib_storage"))
> +               (copy-recursively
> +                lib-tl
> +                (string-append to "/Telegram/lib_tl"))
> +               (copy-recursively
> +                lib-ui
> +                (string-append to "/Telegram/lib_ui"))
> +               (copy-recursively
> +                lib-webrtc
> +                (string-append to "/Telegram/lib_webrtc"))
> +               (copy-recursively
> +                libtgvoip
> +                (string-append to "/Telegram/ThirdParty/libtgvoip"))
> +               (copy-recursively
> +                rlottie
> +                (string-append to "/Telegram/ThirdParty/rlottie"))
> +               (copy-recursively
> +                tgcalls
> +                (string-append to "/Telegram/ThirdParty/tgcalls")))
You're catching up to where I am locally.
I'm writing the same as
  (for-each 
   (match-lambda 
     ((dst src) (copy-recursively src dst)))
   `(("cmake" ,(assoc-ref inputs "cmake-helpers"))
     ("Telegram/codegen" ,(assoc-ref inputs "codegen-source")
     [...]))
though in my current version I also make dst writable because I swapped
the phase ordering for some reason.

To that end, I've renamed the inputs accordingly ("<package>-source"),
while keeping the file names intact.  This might also serve as a
reminder to those unbundling them.

Regards,
Leo






reply via email to

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