Package Details: telegram-desktop-git 1.2.6.r5.g9551cfaf-1

Git Clone URL: (read-only)
Package Base: telegram-desktop-git
Description: Official desktop version of Telegram messaging app (dev branch)
Upstream URL:
Licenses: GPL3
Conflicts: telegram-desktop
Provides: telegram-desktop
Submitter: tredaelli
Maintainer: Lenovsky
Last Packager: Lenovsky
Votes: 3
Popularity: 0.116292
First Submitted: 2015-05-21 08:28
Last Updated: 2017-12-31 16:29

Dependencies (37)

Required by (0)

Sources (15)

Latest Comments

Musikolo commented on 2017-12-31 17:21

@Lenovsky, thanks you for your ultra-quick fix. It worked like a charm! ;-)

Lenovsky commented on 2017-12-31 16:45

@Musikolo, I've fixed it, it should work fine now ;)

Musikolo commented on 2017-12-31 01:23

@Lenovsky, I think upstream code has change in a way that patch at line 90 of PKGBUILD file doesn't work:

Line 90: git apply "$srcdir/arch-tdesktop.patch"

Submodule path 'Telegram/ThirdParty/Catch': checked out '5ca44b68721833ae3731802ed99af67c6f38a53a'

Submodule path 'Telegram/ThirdParty/GSL': checked out 'c5851a8161938798c5594a66420cb814fea92711'

Submodule path 'Telegram/ThirdParty/crl': checked out '705a5fd6166fd577d6a95cef9d74f7aa0c4ec3ed'

Submodule path 'Telegram/ThirdParty/libtgvoip': checked out '0b53884c8bf10a1d7df879baec839a1fab896c63'

Submodule path 'Telegram/ThirdParty/variant': checked out '550ac2f159ca883d360c196149b466955c77a573'

error: patch failed: Telegram/gyp/Telegram.gyp:86

error: Telegram/gyp/Telegram.gyp: patch does not apply

error: patch failed: Telegram/gyp/qt.gypi:221

error: Telegram/gyp/qt.gypi: patch does not apply

error: patch failed: Telegram/gyp/settings_linux.gypi:25

error: Telegram/gyp/settings_linux.gypi: patch does not apply

error: patch failed: Telegram/gyp/telegram_linux.gypi:37

error: Telegram/gyp/telegram_linux.gypi: patch does not apply

==> ERROR: A failure occurred in prepare(). Aborting...

If I comment out that line, and the build starts well...

Can you please look into?

Thank you!

alkaid commented on 2017-11-15 15:46

I found the cause is the linker. I changed my default linker to (a dedicated, faster elf linker), which can't link telegram properly. While the original default linker ld.bfd works well.
Maybe this is a bug of

alkaid commented on 2017-11-15 06:39

I am using makepkg without a chroot environment. I guess some libs in my system should are to blame.
I am not sure what info can be helpful. Here are my installed packages related to qt:
local/fcitx-qt4 (fcitx-im)
local/fcitx-qt5 1.1.1-3 (fcitx-im)
local/libdbusmenu-qt4 0.9.3+16.04.20160218-1
local/phonon-qt4 4.9.1-4
local/phonon-qt4-gstreamer 4.9.0-3
local/phonon-qt5 4.9.1-4
local/phonon-qt5-vlc 0.9.1-2
local/polkit-qt4 0.112.0+git20160226-1
local/poppler-qt5 0.61.0-2
local/pyqt5-common 5.9.1-1
local/python-pyqt5 5.9.1-1
local/python2-pyqt5 5.9.1-1
local/qjson 0.9.0-1
local/qscintilla-qt5 2.10.1-1
local/qt4 4.8.7-22
local/qt5-base 5.9.2-1 (qt qt5)
local/qt5-declarative 5.9.2-2 (qt qt5)
local/qt5-location 5.9.2-1 (qt qt5)
local/qt5-multimedia 5.9.2-1 (qt qt5)
local/qt5-quickcontrols 5.9.2-1 (qt qt5)
local/qt5-quickcontrols2 5.9.2-2 (qt qt5)
local/qt5-script 5.9.2-1 (qt qt5)
local/qt5-sensors 5.9.2-1 (qt qt5)
local/qt5-svg 5.9.2-1 (qt qt5)
local/qt5-tools 5.9.2-1 (qt qt5)
local/qt5-webchannel 5.9.2-1 (qt qt5)
local/qt5-webengine 5.9.2-2 (qt qt5)
local/qt5-webkit 5.212.0alpha2-7 (qt qt5)
local/qt5-x11extras 5.9.2-1 (qt qt5)
local/qt5-xmlpatterns 5.9.2-1 (qt qt5)
local/qtcreator 4.4.1-1
local/qtkeychain 0.8.0-2
I will try with a clean chroot then. I am happy to provide further info.

Lenovsky commented on 2017-11-14 22:02

@alkaid I was able to build it inside a clean chroot without any problems - in the free time I'll take a closer look at this (new data is welcome).

In the meantime, (if it wasn't) try to build it without any old stuff.

alkaid commented on 2017-11-14 12:14

Compile failed with
main.cpp:53: error: undefined reference to 'QtWaylandClient::QWaylandIntegration::QWaylandIntegration()'
collect2: error: ld returned 1 exit status

need help...

haruue commented on 2017-10-21 15:09

Typo in build()

'\' in the tail of line 167 should be removed

WhyNotHugo commented on 2016-03-17 23:32

The .desktop and .protocol files are now bundled upstream, so we can use those instead of bundling them ourselves:

rowstu commented on 2015-10-21 10:38

Typo in prepare()

cp "$srcdir"/tdesktop/Telegram/_qt_${_qtver//./_}_patch.diff Libraries/QtStatic

"$srcdir"/ missing from cp command.

All comments