clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
522 stars 29 forks source link

Waydroid #3154

Closed K1ngfish3r closed 2 months ago

K1ngfish3r commented 4 months ago

Official package name: Waydroid

License (must be an OSI approved Open Source license): GPL-3.0

Download URL of latest release: https://github.com/waydroid/waydroid/archive/refs/tags/1.4.2.tar.gz

Latest release date (must be recent): Oct 31, 2023

Description: Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.

Autospec Notes: Required: libglibutil (NEW) for-review.txt libgbinder (NEW) for-review.txt gbinder-python (NEW) for-review.txt pyclip (NEW) for-review.txt lxc for-review.txt waydroid for-review.txt

libglibutil

URL = https://github.com/sailfishos/libglibutil/archive/refs/tags/1.0.79.tar.gz License = BSD-3-Clause Latest Release Date = May 2, 2024 make_install_args = LIBDIR=/usr/lib64 install-dev

libgbinder

URL = https://github.com/mer-hybris/libgbinder/archive/refs/tags/1.1.39.tar.gz License = BSD-3-Clause Latest Release Date = May 6, 2024 make_install_args = LIBDIR=/usr/lib64 install-dev NOTE: will require libglibtutil but autospec picks it up automatically

gbinder-python

URL = https://github.com/erfanoabdi/gbinder-python/archive/refs/tags/1.1.2.tar.gz License = GPL-3.0 Latest Release Date = Sep 17, 2023 buildreq_add = libgbinder-dev configure = --cython

pyclip

URL = https://github.com/spyoungtech/pyclip/archive/refs/tags/v0.7.0.tar.gz License = Apache-2.0 Latest Release Date = Sep 17, 2023 buildreq_ban = pypi(pasteboard)

lxc

URL = https://linuxcontainers.org/downloads/lxc/lxc-6.0.1.tar.gz Latest Release Date = Jun 27, 2024 configure

-Dsystemd-unitdir=/usr/lib/systemd/system
-Dinit-script=systemd
-Ddistrosysconfdir=/etc/default
-Dapparmor=false
-Dselinux=false
-Dman=false

buildreq_add = empty buildreq_ban = empty series => delete file

waydroid

No notes, autospec picks it up

K1ngfish3r commented 3 months ago

Whilst the clearfraction repository does provide this bundle, it has a significant maintenance overhead due to python packages. As such, I would like to ask if it is possible for only the following python related packages be made available in CL?

libglibutil (dependency of libgbinder)
libgbinder (dependency of gbinder-python)
gbinder-python
pyclip

If these packages can be provided in a gbinder bundle it would be very much appreciated

K1ngfish3r commented 2 months ago

Added in 42200, Tested on a fresh install of 42200

// add waydroid bundle (unified bundle in next update)
sudo swupd bundle-add waydroid libgbinder dhcp-server

// initialize waydroid (Use either one)
sudo waydroid init
sudo waydroid init -s GAPPS 

// workaround for apparmor after init
sudo sed -i '/^lxc\.apparmor\.profile/s/^/# /' /var/lib/waydroid/lxc/waydroid/config

// start services
sudo systemctl enable waydroid-container.service
sudo systemctl start waydroid-container.service

// start waydroid (use any method)
waydroid session start
waydroid show-full-ui
open the .desktop file

image