Package Details: telegram-tg 0.17.0-2

Git Clone URL: https://aur.archlinux.org/telegram-tg.git (read-only, click to copy)
Package Base: telegram-tg
Description: terminal telegram client that really works
Upstream URL: https://github.com/paul-nameless/tg
Keywords: client telegram term terminal tg tui
Licenses: Unlicense
Conflicts: telegram-tg-git
Submitter: j.r
Maintainer: j.r
Last Packager: j.r
Votes: 2
Popularity: 0.024094
First Submitted: 2020-06-28 22:13
Last Updated: 2021-05-31 07:20

Dependencies (9)

Required by (0)

Sources (1)

Pinned Comments

j.r commented on 2020-11-23 14:11

From now on I'm going to use https://sr.ht/~j-r/aur-packages-jr/ as monorepo for all my AUR packages. If you want to submit patches for this package feel free to submit them there.

Latest Comments

j.r commented on 2021-05-31 07:45

@franck.stauffer added it to both telegram-tg and telegram-tg-git, thanks for the hint

qontinuum commented on 2021-05-30 14:38

It seems that python-setuptools is also a runtime dependency

[qontinuum@artixlinux ~]$ tg
Traceback (most recent call last):
  File "/usr/bin/tg", line 33, in <module>
    sys.exit(load_entry_point('tg==0.17.0', 'console_scripts', 'tg')())
  File "/usr/bin/tg", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 855, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/tg/__main__.py", line 8, in <module>
    from tg import config, update_handlers, utils
  File "/usr/lib/python3.9/site-packages/tg/update_handlers.py", line 6, in <module>
    from tg.controllers import Controller
  File "/usr/lib/python3.9/site-packages/tg/controllers.py", line 13, in <module>
    from tg.models import Model
  File "/usr/lib/python3.9/site-packages/tg/models.py", line 10, in <module>
    from tg.tdlib import (
  File "/usr/lib/python3.9/site-packages/tg/tdlib.py", line 4, in <module>
    from telegram.client import AsyncResult, Telegram
  File "/usr/lib/python3.9/site-packages/telegram/client.py", line 21, in <module>
    from telegram.tdjson import TDJson
  File "/usr/lib/python3.9/site-packages/telegram/tdjson.py", line 8, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

aachukay commented on 2021-04-29 12:12

@j.r Yes it got built just fine with no memory leakage whatsover. Thanks a lot!

j.r commented on 2021-04-29 10:20

@aachukay please try with the new version of the libtd package

aachukay commented on 2021-04-29 09:26

@j.r Gotcha! Thanks for the quick response. I'll wait for the updated package then.

j.r commented on 2021-04-29 09:14

@aachukay if you look closely this is most probably not caused by the build of telegram-tg, it is usually caused by the build of libtd. I already adopted libtd and also have a fix that should reduce the RAM usage during build. I'll push it in the next few minutes.

aachukay commented on 2021-04-29 07:24

Is anyone else having trouble building it? I keep losing all of my memory and the system hangs during the Ninja build. Any ideas?

j.r commented on 2020-11-23 14:11

From now on I'm going to use https://sr.ht/~j-r/aur-packages-jr/ as monorepo for all my AUR packages. If you want to submit patches for this package feel free to submit them there.

j.r commented on 2020-09-27 20:15

@djmattyg007 added it as makeped, does it work now?

djmattyg007 commented on 2020-09-27 07:04

By removing the dependency on python-dephell you also removed an indirect dependency on python-setuptools. This means the package is no longer buildable in a clean chroot. Would you be able to add 'python-setuptools' to makedepends?