Random Bits of Open Code

Artifact [c414c5e699]
Login

Artifact c414c5e699796f693a23299f027574aa41473611:

Wiki page [Chicken-IUP-ARM] by matt 2018-07-11 03:58:27.
D 2018-07-11T03:58:27.236
L Chicken-IUP-ARM
P 9477e69bf269bd63c855035f8fa63fab4f7bb801
U matt
W 2011
Chicken Scheme With the IUP Gui egg 

Install:

  #  Install the GNURoot Debian package from Google Play.
  #  You will need to do:<verbatim>
apt update
apt upgrade
apt install libreadline-dev libwebkitgtk-dev libwebkitgtk-3.0-dev libpangox-1.0-0 zlib1g-dev libfreetype6-dev cmake libssl-dev  uuid-dev cmake curl ruby wget libgl1-mesa-dev libglu1-mesa-dev libgtk2.0-dev lua5.3 liblua5.1-0-dev liblua5.3-dev libsqlite3-dev libpq-dev libgtk-3-dev libftgl-dev</verbatim>NOTE: Probably not all those packages are needed.
  #  Get the files from [http://www.kiatoa.com/cgi-bin/fossils/opensrc/uv/pkgs/chicken-iup-arm-rasbian-06-08-2018.tar.gz] and untar into "/". NOTE: For GNURoot you'll need to install libpng16: [http://www.kiatoa.com/cgi-bin/fossils/opensrc/uv/pkgs/libpng16-from-raspbian.tar.gz]<verbatim>(cd /;tar xzf $PWD/chicken-iup-arm-rasbian-06-08-2018.tar.gz)
(cd /;tar xzf $PWD/libpng16-from-raspbian.tar.gz)</verbatim>
  #  To start up csi or compile code first source /opt/chicken/4.13.0/setup-chicken4x.sh

To build from source you can use the chicken-installall.sh script from [http://www.kiatoa.com/cgi-bin/fossils/opensrc/dir?name=utils]. I couldn't get it to work on GNURoot but you can build on Raspbian and copy the files to GNURoot.

How to display from GNURoot to a desktop via VNC:

  #  Install openssh-client and tightvncserver on the Gemini<verbatim>apt install openssh-client tightvncviewer</verbatim>
  #  Start tightvncserver<verbatim>tightvncserver
(answer password question)
export DISPLAY=:1
cd /tmp
xterm &</verbatim>
  #  Forward the vnc port to the desktop machine<verbatim>ssh -R 5901:localhost:5901 user@your.host.ip</verbatim>
  #  On the desktop machine connect to vnc server localhost:1 - on Ubuntu just type remo into the search - remote desktop viewer should already be installed.

How to display to XSDL on the Gemini or android phone: [https://www.xda-developers.com/guide-installing-and-running-a-gnulinux-environment-on-any-android-device/]

Z bf79ab7a5cceec3270f0910c8146fd38