1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
Pixelorama/Misc/Clickable
Marquis Kurt cad464eb99
(Port) Port Pixelorama to Ubuntu Touch (#517)
* Add support for creating Ubuntu Touch click packages.

The clickable directory contains the files necessary to create a
click package designed for Ubuntu Touch, a community-driven Linux
distro for mobile phones as an alternative to iOS and Android.

A new CI script has been added to create the packages, which is
copied over from one of my other projects. Please change this to
suit your needs.

A new custom feature "clickable" has been added to the project
settings to allow customizations for the Ubuntu Touch platform.

Signed-off-by: Marquis Kurt <software@marquiskurt.net>

* Make clickable CI follow more closely to desktop builds

* Remove sudo from clickable install step

* Install software-properties-common

* Comment out docker startups in click install

* Change export name for Click version

* Change name and export mode to pack only

* Change means of copying data to clickable dir

* Install sudo to docker

* Add -g to docker add user

* Remove docker user creation

* Remove other chpasswd stuff

* Split CI into two jobs

* Make build-ubports.sh runnable

* Use HiPDI GUI theme on Clickable

* Move clickable folder to Misc, add release CI targets

* Add mobile to clickable settings

* Add pixelorama_data to install data

* Create pixelorama_data subdir in click itself

* Change default save dir for clickable

* Update AppArmor policy

* Update clickable version to test AppArmor

* Revert changes and use user data dir

* Add README pertaining to Ubuntu Touch

* Remove GODOT_MAC_VERSION from UT port workflow

Co-authored-by: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2021-09-25 13:42:31 +03:00
..
click (Port) Port Pixelorama to Ubuntu Touch (#517) 2021-09-25 13:42:31 +03:00
.gdignore (Port) Port Pixelorama to Ubuntu Touch (#517) 2021-09-25 13:42:31 +03:00
build-ubports.sh (Port) Port Pixelorama to Ubuntu Touch (#517) 2021-09-25 13:42:31 +03:00
clickable.json (Port) Port Pixelorama to Ubuntu Touch (#517) 2021-09-25 13:42:31 +03:00
README.md (Port) Port Pixelorama to Ubuntu Touch (#517) 2021-09-25 13:42:31 +03:00

Building Ubuntu Touch click packages

Ubuntu Touch Click Packages

The following subdirectory contains the necessary development files to create a click package of the app for Ubuntu Touch. Special thanks to @abmyii and the UBPorts team for making this possible.

Build instructions

  1. Start by exporting the pack file with the preset "Clickable (package only)".
  2. Copy the resulting .pck file from the dist/linux directory (or wherever you specified the Linux export) into the Misc/Clickable directory and rename it to Pixelorama.pck.
  3. Copy the pixelorama_data directory from the root into Misc/Clickable.
  4. In the terminal, run the following:
$ cd Misc/Clickable
$ clickable build

The resulting click file should be present in the build directory inside of Misc/Clickable, which can be installed on an Ubuntu Touch device by copying the file over.

Multiple architectures

Note: To build for different architectures, pass in the CLICKABLE_ARCH environment variable.

For example, to build for armhf and arm64:

$ CLICKABLE_ARCH=armhf clickable build
$ CLICKABLE_ARCH=arm64 clickable build

Note: It is recommended that you provide packages for at least the armhf and arm64 architectures.

Important gotcha: File loading and saving

Due to AppArmor policy restrictions, you are not able to save to anywhere outside of the user data directroy.