postmarketos-ui-weston: remove --pixman-type hack

Do not add --pixman-type to the commandline, when
deviceinfo_weston_pixman_type is filled out.

--pixman-type was enabled in Weston with a custom patch, that currently
prevents us from upgrading Weston (#136).

The option allowed working around broken framebuffer drivers in
Android downstream kernels, which reported the wrong color format.
But it only works for Weston, the right way to patch this would be
patching the kernels, and we have some approaches here:
https://wiki.postmarketos.org/wiki/Troubleshooting:display#My_screen_is_red.21
This commit is contained in:
Oliver Smith 2018-11-29 07:17:48 +01:00
parent d4e4d02774
commit b4e50f18be
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 2 additions and 7 deletions

View file

@ -1,6 +1,6 @@
pkgname=postmarketos-ui-weston
pkgver=4
pkgrel=6
pkgrel=7
pkgdesc="(Wayland) Reference compositor (demo, not a phone interface)"
url="https://postmarketos.org"
arch="x86_64 armhf aarch64"
@ -21,5 +21,5 @@ package() {
install -Dm644 "$srcdir"/weston.ini.default \
"$pkgdir"/etc/xdg/weston/weston.ini.default
}
sha512sums="6c278d6018e7a1eea1e7285a93dc2fc6c0598c96e8cc5dc094e98be4d07edc6a5a10332d6f12f64ae7a9489b375a67b24e553569e71b274d1b681a0c4658450d start_weston.sh
sha512sums="4b758b67b3bbc8415c4845c7c7f0bb49e17b2ced75f61c64239752476711c04e1f8a5ebba93ad8ab25937c46f943468247e1f1edf8ef749f36d8d57200feb72b start_weston.sh
b712c9d4c846437656781656ec15e9b7e238a9244e0b77bf84b67f6661d44f68718330706f69ccb8b4d7f6182b8f17f273018ca461c0c40e49b9185f6eec168d weston.ini.default"

View file

@ -19,11 +19,6 @@ if test -z "${XDG_RUNTIME_DIR}"; then
[ -e "$cfg" ] || cfg="$cfg.default"
WESTON_OPTS="-c $cfg"
# Weston "red screen bug" workaround
if test -n "${deviceinfo_weston_pixman_type}"; then
WESTON_OPTS="${WESTON_OPTS} --pixman-type=${deviceinfo_weston_pixman_type}"
fi
# #633: Weston doesn't support autostarting applications (yet), so
# we try to run postmarketos-demos for 10 seconds, until it succeeds.
(