Package Details: telegram-cli-git r1352.e35dc1a-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: 146
Popularity: 1.34
First Submitted: 2015-08-18 12:14
Last Updated: 2020-02-13 11:01

Latest Comments

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

drrossum commented on 2020-02-13 11:00

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

amo commented on 2020-02-12 21:43

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

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

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...

minextu commented on 2018-06-20 00:58

I got it working by replacing ./configure with ./configure CFLAGS="-w". Might not be the best solution, since this will ignore all compiler warnings

nobicycle commented on 2018-06-19 02:59

@hamidzr Thanks for your help, but:

Assuming a patch file called 'patch', how do I patch?

$telegram-cli-git/src/telegram-cli-git/tgl

$patch -p1 <patch

??

s13g3lb4um commented on 2018-06-18 20:15

@hamidzr

your solution dont work for me, i cant install this program

s13g3lb4um commented on 2018-06-18 20:13

I get the next error

tgl/queries.c: En la función ‘_tgl_do_send_photo’: tgl/queries.c:2091:10: error: cast between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ to ‘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: cast between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ to ‘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: cast between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ to ‘void ()(struct tgl_state , void *, int)’ [-Werror=cast-function-type]

hamidzr commented on 2018-05-18 23:23

to get it to compile and workd at this time do the following

  1. clone the repo

  2. find | grep -i makefile | xargs sed 's/-Werror/-Wno-error/' -i

  3. apply the patch mentioned in https://github.com/vysheng/tgl/issues/129

  4. ./configure && make && make install

  5. run it ./bin/telegram-cli

Baal commented on 2017-12-16 20:04

Doesn't work at this time.

Error message: /usr/bin/telegram-cli: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory