[oi-dev] Telegram libtdjson.so.1.8.0

Andreas Wacknitz A.Wacknitz at gmx.de
Tue Mar 22 19:21:35 UTC 2022


Am 22.03.22 um 20:17 schrieb stes at PANDORA.BE:
> 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
Don't change make-rules/shared-macros.mk arbitrarily. For single
packages you can simply use
GCC_VERSION=11
in the package's Makefile overriding the default.


>
> 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
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev




More information about the oi-dev mailing list