Package Details: telegram-tdlib-git 1.8.9-1

Git Clone URL: https://aur.archlinux.org/telegram-tdlib-git.git (read-only, click to copy)
Package Base: telegram-tdlib-git
Description: Cross-platform library for building Telegram clients
Upstream URL: https://core.telegram.org/tdlib
Licenses: boost
Conflicts: telegram-tdlib
Provides: telegram-tdlib
Submitter: foxfromabyss
Maintainer: foxfromabyss
Last Packager: foxfromabyss
Votes: 2
Popularity: 0.007695
First Submitted: 2021-07-24 19:20 (UTC)
Last Updated: 2022-12-29 09:22 (UTC)

Latest Comments

1 2 Next › Last »

mk-fg commented on 2022-12-05 00:32 (UTC)

Simplier pkgver() command for Td.h > CMakeLists.txt tweak: grep -oP '(?<=TDLib VERSION )\S+' td/CMakeLists.txt

brighton36 commented on 2022-08-27 16:06 (UTC)

If you're building this for telega.el, at the time of writing, you'll need to compile version 1.8.4, which is commit hash 7eabd8ca60de025e45e99d4e5edd39f4ebd9467e . Simply apply the hclover patch here in the comments. Then, once applied, change the source from "git+https://github.com/tdlib/td.git" to "git+https://github.com/tdlib/td.git#commit=7eabd8ca60de025e45e99d4e5edd39f4ebd9467e". Then run your makepkg -si and you should be good to go.

hclover commented on 2022-07-17 04:04 (UTC)

The version number has been removed from Td.h in recent commits. Here is a patch that uses CMakeLists.txt instead:

diff --git a/PKGBUILD b/PKGBUILD
index fb5df2a..70e51a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Fox archlinux@foxfromabyss.dev

 pkgname=telegram-tdlib-git
-pkgver=1.8.0
+pkgver=1.8.4
 pkgrel=1
 pkgdesc='Cross-platform library for building Telegram clients'
 arch=('i686' 'x86_64' 'armv7h')
@@ -15,7 +15,7 @@ source=("git+https://github.com/tdlib/td.git")
 sha256sums=('SKIP')

 pkgver() {
-  cat td/td/telegram/Td.h | grep TDLIB_VERSION | sed 's/[^0-9,.]*//g'
+  cat td/CMakeLists.txt | grep 'TDLib VERSION' | sed 's/[^0-9,.]*//g'
 }

 build() {

Thaodan commented on 2022-06-05 23:12 (UTC)

Another way is to enable lto fat objects read here: https://archlinux.org/todo/lto-fat-objects/

Thaodan commented on 2022-05-15 21:36 (UTC)

tdlibs static archives break when lto is used. Can you add !lto to options?

foxfromabyss commented on 2021-12-31 16:59 (UTC)

I don't think =${pkgver} gets expanded very well. I am either holding it wrong and would appreciate a helpful nudge, or can just get it in there manually.

dreieck commented on 2021-12-27 17:55 (UTC) (edited on 2021-12-27 17:56 (UTC) by dreieck)

Can you please add =${pkgver} to the telegram-tdlib entry in the provides array?

Package telegram-tdlib-purple-git seems to depend on a specific version, that way dependencies can be specified in a clean way.

foxfromabyss commented on 2021-09-25 18:46 (UTC)

The version you will pull from the -git is always in sync, it's just that the versioning is somewhat stale, as it has to be bumped manually.

minifridge commented on 2021-09-21 16:05 (UTC)

A newer dependency with telega.el requires >1.7.7 version. Current version is not in sync with the latest upstream version.

foxfromabyss commented on 2021-07-25 11:02 (UTC) (edited on 2021-07-25 11:12 (UTC) by foxfromabyss)

Yes, but the latest version is 1.7.5, as outlined by this commit message https://github.com/tdlib/td/commit/24e5803b969b15c286e8e501f6b66446b32f2b09

It's the sole reason I created the package, because https://aur.archlinux.org/packages/telegram-tdlib/ has 1.7.0, while I needed 1.7.3+