Package Details: telegram-tdlib-purple-git 0.8.1.r523.d220fa8-1

Git Clone URL: https://aur.archlinux.org/telegram-tdlib-purple-git.git (read-only, click to copy)
Package Base: telegram-tdlib-purple-git
Description: libpurple/pidgin Telegram plugin implemented using official tdlib client library
Upstream URL: https://github.com/BenWiederhake/tdlib-purple/
Keywords: bitlbee libpurple pidgin tdlib telegram
Licenses: GPL2, LGPL2.1, custom:FTL, custom:PIX, custom:RPD, custom:SKIA, custom:STB
Conflicts: telegram-tdlib-purple
Provides: telegram-tdlib-purple
Submitter: mk-fg
Maintainer: mk-fg
Last Packager: mk-fg
Votes: 10
Popularity: 0.64
First Submitted: 2020-06-27 20:23 (UTC)
Last Updated: 2024-09-13 20:35 (UTC)

Pinned Comments

mk-fg commented on 2021-12-07 14:44 (UTC) (edited on 2023-09-23 21:26 (UTC) by mk-fg)

If you're getting error like this on login:

Login error: Authentication error: code 400 (API_ID_PUBLISHED_FLOOD)

Check https://core.telegram.org/api/obtaining_api_id URL, for generating your own api_id/api_hash values (only a couple clicks), and specify those in the plugin parameters.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

fungible commented on 2021-12-15 02:59 (UTC)

I'm getting a bunch of linking errors. A small sample:

[ 66%] Built target fmt
Consolidate compiler generated dependencies of target telegram-tdlib
[ 68%] Linking CXX shared library libtelegram-tdlib.so
/usr/bin/ld: /tmp/ccCaISrl.ltrans0.ltrans.o: in function `showInviteLink(_PurpleBlistNode*, void*)':
<artificial>:(.text+0x1a48): undefined reference to `td::td_api::createChatInviteLink::createChatInviteLink()'
........
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/telegram-tdlib.dir/build.make:318: libtelegram-tdlib.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:304: CMakeFiles/telegram-tdlib.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

gpc commented on 2021-12-12 09:51 (UTC)

Yes everything seems to work with the updated git link.

mk-fg commented on 2021-12-11 10:15 (UTC)

ERROR: Unrecognized reference: 3070415c

Ah yes, sorry, didn't actually test that link and forgot "commit=" in there - should be git+https://github.com/tdlib/td.git#commit=3070415c , my bad.

gpc commented on 2021-12-11 05:38 (UTC) (edited on 2021-12-11 05:40 (UTC) by gpc)

I tried changing telegram-tdlib-git PKGBUILD to have source=("git+https://github.com/tdlib/td.git#3070415c") but got ERROR: Unrecognized reference: 3070415c Do I need to do something else to make it work?

(Re. below yes amazing timing haha)

mk-fg commented on 2021-12-09 21:14 (UTC)

Given that it doesn't seem to be needed by pretty much anything else, I think keeping it bundled would seem to be easier to maintain and build/manage for users, especially for a -git package where version requirements change.

Do you have it installed for something else, or maybe have some other benefit or use-case in mind?

Thaodan commented on 2021-12-09 19:41 (UTC)

Can you uses unbundled lottie by appending -DNoBundledLottie=True to cmake?

mk-fg commented on 2021-12-07 14:44 (UTC) (edited on 2023-09-23 21:26 (UTC) by mk-fg)

If you're getting error like this on login:

Login error: Authentication error: code 400 (API_ID_PUBLISHED_FLOOD)

Check https://core.telegram.org/api/obtaining_api_id URL, for generating your own api_id/api_hash values (only a couple clicks), and specify those in the plugin parameters.

mk-fg commented on 2021-12-07 11:14 (UTC) (edited on 2021-12-07 11:16 (UTC) by mk-fg)

Hahah, I think you just randomly hit a great timing, as tdlib-purple repository was indeed updated from <1.6.5 to >1.7.8 in the span of last 2 hours, and since this -git PKGBUILD pulls from there directly, builds before/after that update got such different results.

You do need 1.7.8 or newer now indeed, and tdlib<1.7.0 no longer even works with telegram servers, since they changed protocol in the last few days.

gpc commented on 2021-12-07 11:00 (UTC) (edited on 2021-12-07 11:02 (UTC) by gpc)

I've had make fail with message

tdlib version 1.6.5 or older is required

and then after reinstalling telegram-tdlib 1.6.0 fail with message

tdlib version 1.7.8 or newer is required

So I wonder, how should I install this package?

mk-fg commented on 2021-02-03 16:08 (UTC)

This won't build without a package for telegram-tdlib <=1.6.5.

Yeah, I've noticed it as well.

For me it's not really an issue, as I don't use any AUR helpers and it's easy to skip updating telegram-tdlib or rollback git repo from AUR and build any older release there.

If AUR helpers can do something similar - i.e. selectively update or build older AUR release - maybe that's a good enough solution in the meantime.

Though to be fair, copying PKGBUILD for older release into a new package isn't exactly difficult either, but I'm lazy to test it all, as C++ takes ages to build :)