[oi-dev] Telegram libtdjson.so.1.8.0

stes@PANDORA.BE stes at telenet.be
Tue Mar 22 19:17:55 UTC 2022


I tested a build of Telegram (the messaging and chat software) and tdlib seems to build using gcc-11 on the latest OI/Hipster.

I'm not sure what a good name for this package or component could be, but 'library/libtdjson' is perhaps a good name;

I am not related or affiliated to Telegram in any way, I only built the open-source library.

for a Smalltalk Squeak project I tested , this requires an external library called tdlib to access the Telegram API,
and it seems to work.  The squeak project also uses a Smalltalk implementation of JSON (javascript object notation),
supporting JSON in Smalltalk-80.

This is just the library for the API, not the Telegram-desktop (the GUI).

The build that works for me is for version 1.8.0 (latest version)  libtdjson.so.1.8.0

In fact the Smalltalk Squeak project is using the API to provide a GUI (graphical userinterface) in Squeak for Telegram messages, so it is a Smalltalk-80 graphical user interface for Telegram that uses this library.

Note that the files are big and the build runs out of memory for me using gcc-7.  Using gcc-11 (64bit?) the build completes.

This requires commenting out the GCC_VERSION=7 in the make-rules/shared-macros.mk and setting

GCC_VERSION=11

in the Makefile.   I'm not sure whether any packages are accepted that are built with gcc-11 right now.

Regards,
David Stes



More information about the oi-dev mailing list