We are going to implement clipboard support natively as part of our Wayland
hwcomposer, so that pyclip will not be necessary anymore.
This implementation will remain for a while for compatibility reasons,
but we do not want to print a warning anymore.
glob() returns results in an arbitrary order, making the getDriNode()
unpredictable.
The lower-numbered render node has a high chance of being the one used by the
compositor, which avoids possible issues when using DMA-BUFs from another GPU,
so let's default to that.
Apparently some mesa drivers take issue when the DRM device name does not
match its real device number.
Stop mounting any device as renderD128 and use their actual name.
Bail out early when using preinstalled images.
There's no reason to attempt fetching the OTA channels if we're
going to use preinstalled images.
Fixes: #1550
Mount XDG_RUNTIME_DIR, PULSE_RUNTIME_PATH and
WAYLAND_DISPLAY to our own synthetic paths in
/run/xdg/...
That way, they can never clash with any of our
Android bindpoints.
Eg. /data/.../xdg/wayland-0 conflicts with /data
Co-authored-by: Alessandro Astone <ales.astone@gmail.com>
The previous string was wrong because we are not detecting the
presence of image files, but whether waydroid was initialized with
preinstalled images or with OTA images.
Just because you have ADB installed (for e.g. physical Android device
development) doesn't mean you necessarily want Waydroid to always also
get automatically connected, allow disabling this functionality.
Add XDG directory and menu files
to have a Waydroid menu directory with all Waydroid apps,
and avoid having them in a 'Lost & Found' menu directory
---------
Co-authored-by: Taha <62564400+inspectorgadget03@users.noreply.github.com>
HALIUM devices may use bind-mounts to override libraries over the
prebuild read-only vendor image. We want to keep those overrides
in our /vendor_extra mount.
chmod(0o644) is no longer necessary after umask(0) removal in
da4772c4e5 ("tools: Remove umask 0")
as the default umask is 0o022, but if the umask is stricter (e.g.
0o027), then the user would expect the created files to be 0o640.
Creating the directory with the correct mode already also avoids
potential race conditions on systems with insufficient umask.
While at it, also use templating strings for .desktop file creation to
simplify the logic and split the template from the actual code a bit.
* Some tools break when the first line is not the xml header
* Some tools require the icon to not be a symlink. There should be no
more users of ./data/AppIcon.png so just move it to its location
* Update contact information.
(How did that translation URL end up in there?)
* Remove too large screenshot