Package Details: telegram-cli-git r1357.3da0e4a-1

Git Clone URL: https://aur.archlinux.org/telegram-cli-git.git (read-only, click to copy)
Package Base: telegram-cli-git
Description: Telegram messenger CLI
Upstream URL: https://github.com/kenorb-contrib/tg
Licenses: GPL2
Conflicts: telegram-cli
Provides: telegram-cli
Submitter: dywedir
Maintainer: drrossum
Last Packager: drrossum
Votes: 153
Popularity: 0.67
First Submitted: 2015-08-18 12:14 (UTC)
Last Updated: 2020-06-18 11:23 (UTC)

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

suzakuwcx commented on 2023-07-24 15:39 (UTC)

It didn't ask for phone number on startup, and will crash when trying to get any message.

Seem that this upstream is also deprecated: https://github.com/kenorb-contrib/tg/issues/64

parsanoori commented on 2022-01-13 19:12 (UTC)

Why doesn't it have aarch64 ? Does it lead to a problem on building it for aarch64 ?

nobodywasishere commented on 2020-08-12 10:52 (UTC)

Upstream is dead, last commit was from 2016... There's another fork https://github.com/kenorb-contrib/tg that looks promising and this should probably switch to, but it doesn't look like that's being updated either. Significant number of PRs and Issues on the upstream repo.

doragasu commented on 2020-06-14 16:51 (UTC)

@annmuor: Worked like a charm, thanks!

annmuor commented on 2020-06-08 22:12 (UTC)

@doragasu just add

LDFLAGS="-Wl,--allow-multiple-definition"

to configure line in PKGBUILD

doragasu commented on 2020-06-06 18:27 (UTC)

Doesn't build:

gcc objs/main.o objs/loop.o objs/interface.o objs/lua-tg.o objs/json-tg.o objs/python-tg.o objs/python-types.o libs/libtgl.a -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/local/lib -L/usr/lib -L/usr/lib -rdynamic -ggdb -levent -ljansson -lconfig -lz -levent -lreadline -llua5.3 -lm -ldl -lssl -lcrypto -lpthread -lutil -ldl -o bin/telegram-cli /usr/bin/ld: objs/loop.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/loop.c:77: multiple definition of `verbosity'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:93: first defined here /usr/bin/ld: objs/loop.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/loop.c:90: multiple definition of `register_mode'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:520: first defined here /usr/bin/ld: objs/loop.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/loop.c:392: multiple definition of `wait_dialog_list'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:522: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:121: multiple definition of `disable_auto_accept'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:521: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:122: multiple definition of `msg_num_mode'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:94: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:123: multiple definition of `permanent_msg_id_mode'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:124: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:124: multiple definition of `permanent_peer_id_mode'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:125: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:125: multiple definition of `disable_colors'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:111: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:135: multiple definition of `readline_active'; objs/loop.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/loop.c:390: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:60: bin/telegram-cli] Error 1 ==> ERROR: A failure occurred in build().

drrossum commented on 2020-02-13 11:00 (UTC)

Thanks for the suggestion. I updated the source to the fork by kenorb-contrib.

amo commented on 2020-02-12 21:43 (UTC)

As mentioned in this issue, there is a fork that is more up-to-date than the source used for this package. The sources for this package have not seen any commit in years. Maybe we can use the fork as source?

Quezo commented on 2018-10-19 08:30 (UTC)

In ./cofigure :

checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no

In make :

gcc -I. -I. -I./tgl -g -O2 -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/queries.d -MQ objs/queries.o -o objs/queries.o tgl/queries.c tgl/queries.c: In the function ‘_tgl_do_send_photo’: tgl/queries.c:2091:10: error: conversion between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ a ‘void ()(struct tgl_state , void , int)’ [-Werror=cast-function-type] ((void ()(struct tgl_state , void , int))callback) (TLS, callback_extra, 0); ^ tgl/queries.c:2108:10: error: conversion between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ a ‘void ()(struct tgl_state , void , int)’ [-Werror=cast-function-type] ((void ()(struct tgl_state , void , int))callback) (TLS, callback_extra, 0); ^ tgl/queries.c:2141:10: error: conversion between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ a ‘void ()(struct tgl_state , void , int)’ [-Werror=cast-function-type] ((void ()(struct tgl_state , void , int))callback) (TLS, callback_extra, 0); ^ cc1: All notices are treated as errors make: *** [Makefile.tgl:20: objs/queries.o] Error 1

figue commented on 2018-10-03 22:16 (UTC) (edited on 2018-10-03 22:28 (UTC) by figue)

You should add this patch. Build fails otherwise:

https://github.com/vysheng/tg/pull/1483

Edit: Forgot to mention that I had to build with clang instead of gcc...