Package Details: telegram-desktop-git 1.1.23.r17.g1c8db1e2-1

Git Clone URL: https://aur.archlinux.org/telegram-desktop-git.git (read-only)
Package Base: telegram-desktop-git
Description: Official desktop version of Telegram messaging app (dev branch)
Upstream URL: https://desktop.telegram.org/
Licenses: GPL3
Conflicts: telegram-desktop
Provides: telegram-desktop
Submitter: tredaelli
Maintainer: Lenovsky
Last Packager: Lenovsky
Votes: 3
Popularity: 0.868068
First Submitted: 2015-05-21 08:28
Last Updated: 2017-11-15 22:50

Dependencies (36)

Required by (0)

Sources (15)

Latest Comments

alkaid commented on 2017-11-15 15:46

@Lenovsky
I found the cause is the linker. I changed my default linker to ld.gold (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 ld.gold.

alkaid commented on 2017-11-15 06:39

@Lenovsky
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 4.2.9.4-1 (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

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=telegram-desktop-git&id=1608f02288b636456f4151d5bae830c5cbb89862#n167

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:

https://github.com/telegramdesktop/tdesktop/tree/master/lib/xdg

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.

WhyNotHugo commented on 2015-07-16 08:05

cp: cannot stat ‘tdesktop/Telegram/_qt_5_4_0_patch.diff’: No such file or directory

Looks like the expected qt version is now 5.5. Maybe this can be determined programatically by the PKGBUILD?