Package Details: telegram-desktop 1.0.14-1

Git Clone URL: https://aur.archlinux.org/telegram-desktop.git (read-only)
Package Base: telegram-desktop
Description: Official desktop version of Telegram messaging app.
Upstream URL: https://desktop.telegram.org/
Licenses: GPL3
Submitter: eduardosm
Maintainer: eduardosm
Last Packager: eduardosm
Votes: 108
Popularity: 6.728750
First Submitted: 2015-07-09 21:43
Last Updated: 2017-02-21 09:44

Dependencies (44)

Required by (1)

Sources (8)

Pinned Comments

eduardosm commented on 2017-02-19 17:12

This package needs to build its own patched Qt5 version, so it can take a lot of time depending on your CPU. It also needs need around 5 GiB of free space, so it should be built in a hard disk backed partition instead of /tmp. Any complaints regarding this will be ignored.

Alternatives:
- Download built packages here: https://arch-repos.eduardosm.net/
- Download official built binaries from https://desktop.telegram.org/
- Build telegram-desktop-bin, which will create a package from official binaries.
- Build telegram-desktop-systemqt, which uses system Qt, but it is experimental.

Latest Comments

eduardosm commented on 2017-02-19 17:12

This package needs to build its own patched Qt5 version, so it can take a lot of time depending on your CPU. It also needs need around 5 GiB of free space, so it should be built in a hard disk backed partition instead of /tmp. Any complaints regarding this will be ignored.

Alternatives:
- Download built packages here: https://arch-repos.eduardosm.net/
- Download official built binaries from https://desktop.telegram.org/
- Build telegram-desktop-bin, which will create a package from official binaries.
- Build telegram-desktop-systemqt, which uses system Qt, but it is experimental.

auchri commented on 2017-02-19 16:58

@jackpot: There is aur which contains only the binaries, no building, .. : https://aur.archlinux.org/packages/telegram-desktop-bin/

jackpot commented on 2017-02-19 16:55

Why building this package is a dependency hell? Gnome (Budgie) desktop pulled over 28 deps, builds qt first then telegram build ends in error due to space full (although I can build the package in $home directory to compensate space) **but** is there a cleaner way to handle this package?

Falling back to pre-compiled binary at telegram website for the time.

hobarrera commented on 2017-02-10 15:49

@vita_cell: The space usage is due to it having to build a custom Qt as well. It's normal, but you can delete the directory after you've installed the package.

vita_cell commented on 2017-02-10 10:46

Hi guys, when "telegram-desktop" is compiled, the folder has 4,5gb of files, and when the folder is compressed is 2.5gb. Is it normal 4,5gb for a telegram-desktop? it is too much I think.

hexchain commented on 2017-02-04 04:14

@eduardosm: That's a bit strange, since I don't have any problems with emoji (because tdesktop replaces all emojis with their custom sprite sheet).

And, +1 for a separate package for now.

@hobarrera: tdesktop have their custom patches[1] to Qt and some 3rd party libraries. Those patches are very dirty, most of them are used to access private constructors or hardcode font settings. And because of this they need to build Qt statically into the binary instead of using the system version.

The patches I post is from a Debian contributor. From what I see, these patches 1) have some modifications into the build process (to compensate for the original GYP patches) 2) have some behavioral difference from the original client[2], so I don't expect them to be accepted upstream.

[1] https://github.com/telegramdesktop/tdesktop/tree/master/Telegram/Patches/
[2] https://github.com/mymedia2/tdesktop/tree/debian/1.0.6-1/debian

hobarrera commented on 2017-02-03 18:27

@hexchain What are the changes in telegram resulting from building with those patches? Why haven't they been accepted upstream?

eduardosm commented on 2017-02-03 17:54

@hexchain Thanks for the PKGBUILD! I could build and run it successfully, but emojis don't show. So, I think we could create a separate package (named telegram-desktop-dynqt for example) and mark it as experimental.

hexchain commented on 2017-02-03 12:10

I've tried integrating the patches, and with some modifications to both the patch and the PKGBUILD here is the result srcball: https://paste.xinu.at/09kfBH/

hexchain commented on 2017-02-02 17:13

A great guy made some patches to build telegram-desktop without building Qt. Patches here: https://github.com/mymedia2/tdesktop/tree/debian/1.0.6-1/debian/patches

Any chances we can adopt them?

All comments