Search Criteria
Package Details: telegram-desktop-git 5.7.2.r0.g02c01e2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/telegram-desktop-git.git (read-only, click to copy) |
---|---|
Package Base: | telegram-desktop-git |
Description: | Official Telegram Desktop client |
Upstream URL: | https://github.com/telegramdesktop/tdesktop |
Licenses: | GPL-3.0-or-later |
Conflicts: | telegram-desktop |
Provides: | telegram-desktop |
Submitter: | tredaelli |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 14 |
Popularity: | 0.000015 |
First Submitted: | 2015-05-21 08:28 (UTC) |
Last Updated: | 2024-11-05 16:42 (UTC) |
Dependencies (35)
- ada
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR)
- hunspell (hunspell-gitAUR)
- jemalloc (jemalloc-gitAUR)
- kcoreaddons (kcoreaddons-gitAUR)
- libdispatch (libdispatch-gitAUR)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR)
- libvpx (libvpx-full-gitAUR, libvpx-gitAUR)
- libxcomposite
- libxdamage
- libxrandr (libxrandr-gitAUR)
- libxtst
- minizip (minizip-gitAUR)
- openal (openal-gitAUR)
- openh264 (openh264-gitAUR)
- opus (opus-gitAUR)
- protobuf (protobuf-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-declarative (qt6-declarative-gitAUR)
- qt6-svg
- qt6-wayland
- rnnoise (rnnoise-gitAUR)
- xcb-util-keysyms
- xxhash (xxhash-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- fmt (fmt-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2-devel (make)
- gobject-introspection (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- yasm (yasm-gitAUR) (make)
- webkit2gtk (webkit2gtk-imgpasteAUR) (optional) – embedded browser features
- xdg-desktop-portal (xdg-desktop-portal-gitAUR) (optional) – desktop integration
Required by (2)
- purpose-git (requires telegram-desktop) (optional)
- tmulti-git (requires telegram-desktop)
Sources (37)
- abseil.abseil-cpp
- chromiumsrc.libyuv
- cisco.libsrtp
- cyan4973.xxhash
- desktop-app.cmake_helpers
- desktop-app.codegen
- desktop-app.libprisma
- desktop-app.lib_base
- desktop-app.lib_crl
- desktop-app.lib_lottie
- desktop-app.lib_qr
- desktop-app.lib_rpl
- desktop-app.lib_spellcheck
- desktop-app.lib_storage
- desktop-app.lib_tl
- desktop-app.lib_ui
- desktop-app.lib_webrtc
- desktop-app.lib_webview
- desktop-app.rlottie
- ericniebler.range-v3
- fcitx.fcitx5-qt
- flatpak.xdg-desktop-portal
- google.cld3
- google.crc32c
- hamonikr.nimf
- hime-ime.hime
- lz4
- martinmoene.expected-lite
- microsoft.gsl
- mnauw.cppgir
- nayuki.qr-code-generator
- tartanllama.expected
- telegram-desktop
- telegram-tg_owt
- telegramdesktop.libtgvoip
- telegrammessenger.tgcalls
- yugr.implib.so
pizzaman commented on 2019-07-11 03:16 (UTC)
wallace11 commented on 2019-07-10 21:25 (UTC) (edited on 2019-07-10 21:29 (UTC) by wallace11)
It appears that tdesktop-ffmpeg-fix-convertFromARGB32PM.patch
and tdesktop-rlottie-static-qt.patch
are no longer available
pizzaman commented on 2019-07-08 08:32 (UTC)
Hunk #1 succeeded at 235 (offset -5 lines).
patching file Telegram/SourceFiles/ui/style/style_core_font.cpp
patching file Telegram/Resources/qrc/telegram.qrc
patching file Telegram/SourceFiles/ui/twidget.cpp
Hunk #1 succeeded at 71 (offset 1 line).
patching file Telegram/SourceFiles/lottie/lottie_animation.cpp
Hunk #1 FAILED at 15.
1 out of 1 hunk FAILED -- saving rejects to file Telegram/SourceFiles/lottie/lottie_animation.cpp.rej
==> ERROR: A failure occurred in prepare().
Aborting...
:: Unable to build telegram-desktop-git - makepkg exited with code: 4
=>> Try again? [y/N]:
bakatrouble commented on 2019-05-14 14:17 (UTC) (edited on 2019-05-14 14:43 (UTC) by bakatrouble)
https://gist.github.com/bakatrouble/31caf6d64785f6a634dca3d292139898
Current tdesktop.patch
(just used it to build version 1.7.0.r7.g63fc55263
)
Note: you should replace sha256 for this file in PKGBUILD
with 'SKIP'
Also owned the package and fixed the checksum, should work without manual fixes now
daweiy commented on 2019-05-10 04:47 (UTC)
I solved the problem by the following steps:
1. Run makepkg
to apply existing successful patches.
2. Edit Telegram/SourceFiles/core/launcher.cpp
according to the tdesktop.patch
: add 3 lines in Launcher::exec()
and change a macro from #ifndef OS_MAC_OLD
to #if !defined(Q_OS_MAC) && QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
.
3. Generate the correct patch by git diff > tdesktop.patch
and replace the old one with this, and editing the sha256sums accordingly.
hexadecagram commented on 2019-05-05 00:25 (UTC)
@bakatrouble: that hunk also results in build failure, or I'm not editing tdesktop.patch correctly.
bakatrouble commented on 2019-05-03 16:44 (UTC) (edited on 2019-05-03 16:45 (UTC) by bakatrouble)
To fix the tdesktop.patch
file to work with current source code replace the second chunk (for Telegram/SourceFiles/core/launcher.cpp
) with following snippet:
--- a/Telegram/SourceFiles/core/launcher.cpp
+++ b/Telegram/SourceFiles/core/launcher.cpp
@@ -209,11 +209,12 @@
QApplication::setApplicationName(qsl("TelegramDesktop"));
#if defined(Q_OS_LINUX) && QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
QApplication::setDesktopFileName(qsl("telegramdesktop.desktop"));
#endif
-#ifndef OS_MAC_OLD
+#if !defined(Q_OS_MAC) && QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
+ // Retina display support is working fine, others are not.
QApplication::setAttribute(Qt::AA_DisableHighDpiScaling, true);
-#endif // OS_MAC_OLD
+#endif // not defined Q_OS_MAC and QT_VERSION >= 5.6.0
initHook();
}
Lenovsky commented on 2019-03-19 11:28 (UTC) (edited on 2019-03-20 08:40 (UTC) by Lenovsky)
I've disowned the package because I don't have enough time to prepare and maintain proper patches. Further reliance on those from the official repository, in the long run, won't work.
If someone has enough time and determination, I encourage to play with the package ;)
pizzaman commented on 2019-02-24 23:27 (UTC)
==> Validating source files with sha256sums...
tdesktop ... Skipped
...
no-gtk2.patch ... Passed
tdesktop.patch ... FAILED
Use-system-wide-font.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
wallace11 commented on 2019-01-10 06:42 (UTC)
Please note:
qt5-imageformats is a mandatory dependency for displaying stickers so it should be marked as normal dependency instead of makedep
Pinned Comments