Package Details: telegram-desktop-git 1.8.15.r1.g17baac710-1

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 (dev branch)
Upstream URL: https://desktop.telegram.org/
Licenses: GPL3
Conflicts: telegram-desktop
Provides: telegram-desktop
Submitter: tredaelli
Maintainer: bakatrouble
Last Packager: bakatrouble
Votes: 6
Popularity: 0.017351
First Submitted: 2015-05-21 08:28
Last Updated: 2019-11-07 13:14

Latest Comments

1 2 3 4 Next › Last »

Hi-Angel commented on 2019-11-03 14:55

Please, remove from PKGBUILD line make -j17 the option -j17. First of, it gonna eat up user's RAM because that takes a lot of memory. I just had a lock up because of this. Second, users usually set the -jX number they prefer inside MAKEFLAGS in their /etc/makepkg.conf.

(ideally one wouldn't use make at all in preference of modern ninja since cmake does support such generator. But tdesktop seems to have something broken in their cmake configuration, and -GNinja option to cmake makes cmake configuration fail)

pizzaman commented on 2019-07-11 03:16

Check https://github.com/telegramdesktop/tdesktop/issues/6219

wallace11 commented on 2019-07-10 21:25

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


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

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

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

@bakatrouble: that hunk also results in build failure, or I'm not editing tdesktop.patch correctly.

bakatrouble commented on 2019-05-03 16:44

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

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


==> 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!