CIEL icon indicating copy to clipboard operation
CIEL copied to clipboard

Evaluating: removal of nodgui (removed, needs testing of nodgui-lite)

Open vindarel opened this issue 1 year ago • 8 comments

why: too many system dependencies (sdl2, libmagic, jpeg-turbo), not actually used now.

see https://github.com/ciel-lang/CIEL/pull/52

vindarel avatar Aug 26 '24 17:08 vindarel

alternative to study: see if we can have nice nodgui features in a lighter base system, by contributing a system definition that won't rely on these.

This can also be done in the future.

vindarel avatar Aug 26 '24 17:08 vindarel

Hi!

I have added to the project an ASDF file that build a version of the library that drops SDL, SDL TTF and JPEG turbo libraries. Maybe this version could be useful for operating systems where getting this dependencies working is difficult.

Can be found on the branch development of my repository:

https://codeberg.org/cage/nodgui/src/branch/development

look for nodgui-lite.

Note that i have written this patch in a rush. :)

Bye!
C.

cage2 avatar Aug 28 '24 14:08 cage2

oooh what a nice surprise, thank you very much! We'll do more testing with this.

vindarel avatar Aug 29 '24 09:08 vindarel

On Thu, Aug 29, 2024 at 02:39:14AM -0700, vindarel wrote:

Hi!

oooh what a nice surprise, thank you very much!

You're welcome!

We'll do more testing with this.

Very well, if you are going to include this version into your project i just kindly ask you to add somewhere in the documentation that the version shipped is the "lite" one and not the full featured version.

Soon i will add something about that version on my website, so just a link will suffice.

Of course adding such notice is not mandatory at all! I just think could help the users.

Bye! C.

cage2 avatar Aug 29 '24 13:08 cage2

Hi!

just a link will suffice.

https://www.autistici.org/interzona/nodgui.html#nodgui-lite

I think this supposed to be enough.

Bye!
C.

cage2 avatar Aug 29 '24 17:08 cage2

sure, of course.

You added a precision:

the flip side of the coin will be the loss of canvas with fast pixel drawing, hardware accelerated canvas for 3D rendering and also the support for JPEG bitmap.

vindarel avatar Aug 29 '24 21:08 vindarel

Hi @vindarel

sure, of course.

Thanks!

You added a precision: [...]

yes, I think this could be an important information for users that could be confused from the lacks of features that can be found in documentation.

Bye!
C.

cage2 avatar Aug 30 '24 10:08 cage2

Activating :nodgui-lite in ciel.asd seems to build it on MacOS without a hitch. Gonna try once more on a fresh set up.

dotinspace avatar Sep 13 '24 17:09 dotinspace