Random Bits of Open Code

Update of "Chicken-IUP-ARM"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: c414c5e699796f693a23299f027574aa41473611
Page Name:Chicken-IUP-ARM
Date: 2018-07-11 03:58:27
Original User: matt
Parent: 9477e69bf269bd63c855035f8fa63fab4f7bb801 (diff)
Next 128b13694727dda50c0f98368c79ab086a682d10
Content

Chicken Scheme With the IUP Gui egg

Install:

  1. Install the GNURoot Debian package from Google Play.
  2. You will need to do:
    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
    NOTE: Probably not all those packages are needed.
  3. 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
    (cd /;tar xzf $PWD/chicken-iup-arm-rasbian-06-08-2018.tar.gz)
    (cd /;tar xzf $PWD/libpng16-from-raspbian.tar.gz)
  4. 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:

  1. Install openssh-client and tightvncserver on the Gemini
    apt install openssh-client tightvncviewer
  2. Start tightvncserver
    tightvncserver
    (answer password question)
    export DISPLAY=:1
    cd /tmp
    xterm &
  3. Forward the vnc port to the desktop machine
    ssh -R 5901:localhost:5901 user@your.host.ip
  4. 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/