-
mesa-turnip-kgsl
Some fixes to make it possible to compile Turnip KGSL on a Linux chroot on Android devices. Special thanks to ByLaws from the Skyline Discord for the instructions on how to get Turnip to compile.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
pkg install -y x11-repo; pkg install -y clang lld binutils cmake autoconf automake libtool '*ndk*' make python git libandroid-shmem-static 'vulkan*' ninja llvm bison flex libx11 xorgproto libdrm libpixman libxfixes libjpeg-turbo xtrans libxxf86vm xorg-xrandr xorg-font-util xorg-util-macros libxfont2 libxkbfile libpciaccess xcb-util-renderutil xcb-util-image xcb-util-keysyms xcb-util-wm xorg-xkbcomp xkeyboard-config libxdamage libxinerama;pip install meson mako;mkdir ~/tmp;cd ~/tmp;LD_PRELOAD='' git clone --depth 1 -b libxshmfence-1.3 https://gitlab.freedesktop.org/xorg/lib/libxshmfence.git;LD_PRELOAD='' git clone --depth 1 -b mesa-22.0.5 https://gitlab.freedesktop.org/mesa/mesa.git;LD_PRELOAD='' git clone --depth 1 -b 1.5.10 https://github.com/anholt/libepoxy.git;LD_PRELOAD='' git clone --shallow-since 2022-06-27 https://gitlab.freedesktop.org/virgl/virglrenderer.git;cd ~/tmp/libxshmfence;./autogen.sh --prefix=$PREFIX --with-shared-memory-dir=$TMPDIR;sed -i s/values.h/limits.h/ ./src/xshmfence_futex.h;make -j8 install CPPFLAGS=-DMAXINT=INT_MAX;cd ~/tmp/mesa;sed -i '40s+^$+#include "X11/Xlib.h"+' src/egl/main/egldisplay.h;sed -i 's/^import os$/import os, shutil\ndef link(src, dest):\n shutil.copyfile(src, dest)\ndef unlink(src):\n os.remove(src)\nos.link = link\nos.unlink = unlink/' bin/install_megadrivers.py;mkdir b;cd b;LDFLAGS='-l:libandroid-shmem.a -llog' meson .. -Dprefix=$PREFIX -Dplatforms=x11 -Dgbm=enabled -Ddri-drivers='' -Dgallium-drivers=zink,swrast -Dllvm=enabled -Dvulkan-drivers='' -Dcpp_rtti=false -Dc_args=-Wno-error=incompatible-function-pointer-types -Dbuildtype=release;ninja install;cd ~/tmp/libepoxy;mkdir b;cd b;meson -Dprefix=$PREFIX -Dbuildtype=release -Dglx=yes -Degl=yes -Dtests=false -Dc_args=-U__ANDROID__ ..;ninja install;cd ~/tmp/virglrenderer;git checkout -f dd301caf7e05ec9c09634fb7872067542aad89b7~2;sed -i 's+"/tmp+"/data/data/com.termux/files/usr/tmp+' vtest/vtest_protocol.h;mkdir b;cd b;meson -Dbuildtype=release -Dprefix=$PREFIX -Dplatforms=egl ..;ninja install;
Changes to mesa are based on based on https://github.com/Grima04/mesa-turnip-kgsl/commit/7a82edc and https://github.com/Grima04/mesa-turnip-kgsl/commit/f5a92ad