[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57675] [PATCH v9 7/8] gnu: telegram-desktop: Update to 4.2.0.
From: |
Liliana Marie Prikler |
Subject: |
[bug#57675] [PATCH v9 7/8] gnu: telegram-desktop: Update to 4.2.0. |
Date: |
Thu, 22 Sep 2022 22:08:21 +0200 |
User-agent: |
Evolution 3.45.3 |
Am Donnerstag, dem 22.09.2022 um 10:27 +0800 schrieb Hilton Chain:
> - (list #:tests? #f ; No target
> + (list #:tests? #f ;No target
Refrain from making gratuitous changes like this one...
> - #~(list
> - ;; Client applications must provide their own API-ID
> and API-HASH,
> - ;; see also
> <https://core.telegram.org/api/obtaining_api_id>.
> - ;; Here, we snarf the keys from the official Snaps,
> which are
> - ;; also stored in <#$source/snap/snapcraft.yaml>.
> - "-DTDESKTOP_API_ID=611335"
> - "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
> - ;; Disable WebkitGTK support as it fails to link
> - "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
> - ;; Use bundled fonts as fallback.
> - "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
> + #~`(;; Client applications need an API ID and hash, see
> also:
> + ;; <https://core.telegram.org/api/obtaining_api_id>.
> Here, we
> + ;; use the ones given by the official Snap package,
> see:
> + ;;
> <https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.
> yaml>.
> + "-DTDESKTOP_API_ID=611335"
> + "-
> DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
> + "-DTDESKTOP_DISABLE_LEGACY_TGVOIP=ON"
> + "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
> + "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
> + "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON"
> + ,(string-append "-DTDESKTOP_LAUTCHER_BASENAME="
... or this one. Neither improve the package.
> - ((guix build glib-or-gtk-build-system)
> - #:prefix glib-or-gtk:)
> + ((guix build glib-or-gtk-build-system) #:prefix glib-
> or-gtk:)
This change is dubious too – while it fits in 80 characters, it just as
well fits in two lines, plus it's a cosmetic change mixed with
functional ones.
>
> #$name))
> #:phases
> #~(modify-phases %standard-phases
> (add-after 'unpack 'make-writable
> (lambda _
> (for-each make-file-writable (find-files "."))))
> - (add-after 'make-writable 'copy-inputs
> + (add-after 'make-writable 'copy-sources
Maybe we should make this an after unpack 'unpack-additional-sources.
As for the submodule suggestion, explicit is better than implicit.
#:recursive? #t might be nice for personal testing, but on a distro
scale it's asking for trouble, especially with upgrades as you never
know what additional sources get pulled in or not and whether your
cleanup still does what it should. Thus, we typically discourage its
use and Telegram is one of the prime examples of why *not* to apply it.
Cheers
- [bug#57675] [PATCH v8 RESEND 0/7] gnu: telegram-desktop: Update to 4.2.0., (continued)
- [bug#57675] [PATCH v9 0/8] gnu: telegram-desktop: Update to 4.2.0., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 1/8] gnu: Add abseil-cpp-cxxstd17., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 2/8] gnu: extra-cmake-modules: Update to 5.98.0., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 3/8] gnu: kcoreaddons: Remove trailing #t., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 4/8] gnu: kcoreaddons: Update to 5.98.0., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 5/8] gnu: webrtc-for-telegram-desktop: Update to 621f3da5., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 6/8] gnu: Remove libvpx-for-telegram-desktop., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 7/8] gnu: telegram-desktop: Update to 4.2.0., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 8/8] gnu: telegram: Remove unneeded variables., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 7/8] gnu: telegram-desktop: Update to 4.2.0.,
Liliana Marie Prikler <=
[bug#57675] [PATCH v9 RECURSIVE CLONE 0/9] gnu: telegram-desktop: Update to 4.2.0., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 RECURSIVE CLONE 1/9] gnu: telegram-desktop: Fetch submodules recursively., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 RECURSIVE CLONE 2/9] gnu: Add abseil-cpp-cxxstd17., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 RECURSIVE CLONE 3/9] gnu: extra-cmake-modules: Update to 5.98.0., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 RECURSIVE CLONE 4/9] gnu: kcoreaddons: Remove trailing #t., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 RECURSIVE CLONE 5/9] gnu: kcoreaddons: Update to 5.98.0., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 RECURSIVE CLONE 6/9] gnu: webrtc-for-telegram-desktop: Update to 621f3da5., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 RECURSIVE CLONE 7/9] gnu: Remove libvpx-for-telegram-desktop., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 RECURSIVE CLONE 8/9] gnu: telegram-desktop: Update to 4.2.0., Hilton Chain, 2022/09/21
- [bug#57675] [PATCH v9 RECURSIVE CLONE 9/9] gnu: Remove libtgvoip-for-telegram-desktop., Hilton Chain, 2022/09/21