povray icon indicating copy to clipboard operation
povray copied to clipboard

Povray Termux Package Request

Open SDRausty opened this issue 7 years ago • 3 comments

Hello! @koppi managed to get Povray 3.1 running on his smartphone about a year ago. https://m.imgur.com/a/p8Ali Povray has a package request https://github.com/termux/termux-packages/issues/202 for Termux from about a year ago. Can anyone here help in packaging Povray for Termux?

There is active development going on now at IRC channel: #termux on freenode https://gitter.im/termux/termux and at https://github.com/termux/termux-packages However it appears that packaging Povray for Termux is stalled for almost a year now...

screenshot_20170517-215805

I will love to have Povray running in my smartphone. Can anyone help, please?

SDRausty avatar May 18 '17 02:05 SDRausty

According to https://github.com/termux/termux-packages/issues/202, the problem is getting the boost libraries to compile on Android. Since POV-Ray 3.7 relies heavily on boost throughout the code, that's a deal breaker.

Thanks to C++11, the boost features most extensively used have become available "out of the box" in modern compilers by now: Smart pointers, threads and thread synchronization. So there's some hope that future versions of POV-Ray might be able to compile without boost (while POV-Ray 3.7.1 still uses C++03, we're considering moving to C++11 for POV-Ray 3.7.2). But there's a caveat with the C++11 threads (they don't provide an interface to set a stack size, while the boost implementation does), and there are also some other boost features in use here and there (date and time stuff comes to mind, as well as singletons); so it might be necessary to disable some features, and suffer some drawbacks such as increased memory footprint in others.

And even if POV-Ray becomes sufficiently boost-independent again, porting it to Termux would presumably need someone outside the dev team to pick up the glove, as frankly we probably don't have the time ourselves.

c-lipka avatar Jun 23 '17 07:06 c-lipka

screenshot_20170701-194819

$ packages list-installed |grep boost

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

boost/stable,now 1.64.0-1 aarch64 [installed]
boost-dev/stable,now 1.64.0-1 aarch64 [installed]

Boost libs https://github.com/termux/termux-packages/pull/974 by its-pointless was merged on May 3

SDRausty avatar Jul 01 '17 23:07 SDRausty

Do you find Arch Linux in Termux PRoot and Termux on device insiping? These images were raytraced on a smartphone in Termux in Android, January 2018. They were created with Povray in Arch Linux Termux PRoot. This website is about Povray in Arch Linux in Termux PRoot and is being built around Package Request: Povray and Povray Termux Package Request. More information at https://sdrausty.github.io/TermuxPovray/docs. The files are amazing. Thank you for keeping this project up to date.

scifi_demo512

julia512

field512

1ag9512

1asy512

tulips512

pebbles512

SDRausty avatar Jan 25 '18 02:01 SDRausty