termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
12.74k stars 2.93k forks source link

OpenSCAD with X11 #10187

Open fancsali opened 3 years ago

fancsali commented 3 years ago

Package description

As OpenSCAD is already part of the science-packages repository, I'd propose to include the X11-related code as well, so one can use it via Xserver Xsdl on their Chromebooks, Android tablets and similar devices.

Links

ghost commented 3 years ago

Please note that adding X11 version of OpenSCAD would not be a straightforward process, mainly due to limited in functionality build of Qt available in Termux.


Need:

qscintilla-qt5
qt5-base
qt5-multimedia
librehat commented 3 years ago

I can look into this now I'm packaging a newer version of some Qt modules (base is in now, others are WIP)

librehat commented 3 years ago

By looking at https://build.opensuse.org/package/view_file/graphics/openscad/openscad.spec?expand=1, it seems OpenSCAD requires OpenGL to work too (quite reasonable for a CAD software). Without OpenGL, the rendering could be horrendous but I'll give it a go anyway

librehat commented 3 years ago

OK a note on the chain:

1.

librehat commented 3 years ago

Update: this requires Qt to be built with OpenGL support

librehat commented 3 years ago

I found LibreCAD which doesn't seem to require OpenGL. Does that suit your workflow?