Package Details: telegram-desktop-git 1.9.21.r5.g13e8b60d6-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: 9
Popularity: 0.94
First Submitted: 2015-05-21 08:28
Last Updated: 2020-03-27 06:36

Latest Comments

1 2 3 4 Next › Last »

beaux_monde commented on 2020-06-13 20:47

Update source URI for the telegram-desktop.sh file. It was removed from the upstream. Specify a commit which contains it.

DarkMind commented on 2020-03-10 01:01

/5.14.1/QtCore -isystem /usr/include/qt/QtGui/5.14.1 -isystem /usr/include/qt/QtGui/5.14.1/QtGui -isystem /usr/include/qt -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtDBus -isystem ../Telegram/ThirdParty/variant/include -isystem ../Telegram/ThirdParty/expected/include -isystem /usr/include/dbusmenu-qt5 -isystem /usr/include/minizip -isystem /usr/include/AL -march=native -O2 -pipe -fno-plt -ffile-prefix-map=/makepkg/telegram-desktop-git/src/tdesktop= -O3 -DNDEBUG -fno-strict-aliasing -pipe -Wall -W -fPIC -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-switch -Wno-comment -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-sign-compare -Wno-attributes -Wno-parentheses -Wno-stringop-overflow -Wno-maybe-uninitialized -Wno-error=class-memaccess -std=gnu++17 -Winvalid-pch -include /makepkg/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx -MD -MT Telegram/CMakeFiles/Telegram.dir/gen/lang_auto.cpp.o -MF Telegram/CMakeFiles/Telegram.dir/gen/lang_auto.cpp.o.d -o Telegram/CMakeFiles/Telegram.dir/gen/lang_auto.cpp.o -c Telegram/gen/lang_auto.cpp {entrada estándar}: Mensajes del ensamblador: {entrada estándar}:2476: Aviso: final de fichero no está al final de una línea: se insertó línea nueva c++: error fatal: la señal Terminado (killed) terminó el programa cc1plus compilación terminada. [586/972] Building CXX object Telegram/CMakeFile...urceFiles/boxes/peers/edit_participant_box.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: Se produjo un fallo en build().

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();
 }