Package Details: telegram-desktop-git 4.12.2.r10.g3adbfb1fb-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
Upstream URL: https://github.com/telegramdesktop/tdesktop
Licenses: GPL3
Conflicts: telegram-desktop
Provides: telegram-desktop
Submitter: tredaelli
Maintainer: xiota
Last Packager: xiota
Votes: 14
Popularity: 0.001894
First Submitted: 2015-05-21 08:28 (UTC)
Last Updated: 2023-12-20 11:44 (UTC)

Required by (2)

Sources (45)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

pizzaman commented on 2019-07-11 03:16 (UTC)

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

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