Search Criteria
Package Details: telegram-desktop-git 6.7.1.r0.g666e40f-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.000165 |
| First Submitted: | 2015-05-21 08:28 (UTC) |
| Last Updated: | 2026-04-02 03:29 (UTC) |
Dependencies (42)
- ada (ada-gitAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-amd-full-gitAUR, librempeg-gitAUR, ffmpeg-whisper-gitAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-fullAUR, ffmpeg-full-llvmAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-whisperAUR, ffmpeg-cuda-fullAUR)
- hunspell (hunspell-gitAUR)
- kcoreaddons (kcoreaddons-gitAUR)
- libavif (libavif-gitAUR, libavif-noglycinAUR)
- libdispatch (libdispatch-gitAUR)
- libheif (libheif-gitAUR, libheif-highmemAUR, libheif-noglycinAUR)
- libjxl (libjxl-metricsAUR, libjxl-metrics-gitAUR, libjxl-gitAUR, libjxl-noglycinAUR)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR, libpipewire-ldacAUR)
- libvpx (libvpx-full-gitAUR, libvpx-gitAUR)
- libxcomposite
- libxdamage
- libxrandr (libxrandr-gitAUR)
- libxtst
- minizip-ng (minizip-gitAUR)
- openal (openal-gitAUR)
- openh264 (openh264-gitAUR)
- opus (opus-gitAUR)
- protobuf (protobuf-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-hifpsAUR, qt6-base-headlessAUR)
- Show 22 more dependencies...
Required by (4)
- purpose-git (requires telegram-desktop) (optional)
- purpose5 (requires telegram-desktop) (optional)
- tg-config (requires telegram-desktop) (optional)
- tmulti-git (requires telegram-desktop)
Sources (2)
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