Gnome 3.30 Wayland Asus C100PA

This is for any ARMv7 device that we do not officially support.

Gnome 3.30 Wayland Asus C100PA

Postby JonSvenJonsson » Wed Sep 26, 2018 5:27 pm

Hi,

i think i got Gnome 3.30 up running on wayland with libmali following the discussion here: https://forum.odroid.com/viewtopic.php?f=95&t=31557.

The gbm-compat route didnt work, as i could not compile it. I am using Miouyouyou kernel from here: https://github.com/Miouyouyou/RockMyy and copied rockchips libmali from here over archs veyronlibgl: https://github.com/rockchip-linux/libmali.

Then i compiled mutter (Patch below as attachment). PKG in Codeblocks.
$this->bbcode_second_pass_code('', '
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Michael Kanis <mkanis_at_gmx_dot_de>

pkgname=mutter
pkgver=3.30.0+13+g2fb3db765
pkgrel=1
pkgdesc="A window manager for GNOME"
url="https://gitlab.gnome.org/GNOME/mutter"
arch=(x86_64 armv7h)
license=(GPL)
depends=(dconf gobject-introspection-runtime gsettings-desktop-schemas libcanberra
startup-notification zenity libsm gnome-desktop upower libxkbcommon-x11
gnome-settings-daemon libgudev libinput pipewire)
makedepends=(intltool gobject-introspection git egl-wayland)
groups=(gnome)
_commit=2fb3db7659caa3627a473fefabc4d6a87f688cee # master
source=("git+https://gitlab.gnome.org/GNOME/mutter.git#commit=$_commit"
startup-notification.patch
malimutter.patch)
sha256sums=('SKIP'
'5a35ca4794fc361219658d9fae24a3ca21a365f2cb1901702961ac869c759366'
'e090295d73f1d8ac60443305e70755ac65da01c149c91356afde9c20090bb04c')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}

prepare() {
cd $pkgname

# https://bugs.archlinux.org/task/51940
# As of 2018-05-08: Still needed, according to fmuellner
patch -Np1 -i ../startup-notification.patch
patch -Np1 -i ../malimutter.patch
NOCONFIGURE=1 ./autogen.sh
}

build() {
cd $pkgname

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib --disable-static \
--disable-schemas-compile --enable-compile-warnings=minimum \
--enable-gtk-doc --enable-egl-device --enable-remote-desktop \
--enable-wayland-egl-server \
--enable-kms-egl-platform \
--enable-cogl-gles2 \
--enable-gles2=yes \
--enable-xlib-egl-platform \
--with-default-driver=gles2 \
--enable-wayland-egl-platform \
--enable-native-backend \
--enable-wayland
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' \
-i {.,cogl,clutter}/libtool

make
}

package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}
')

Everything seems smooth and fast. :lol:

This route could work for other arm devices with libmali, so maybe a special mutter/libmali package could be useful ?

Greetings Jon
Attachments
malimutter.patch
malimutterpatch
(18.79 KiB) Downloaded 648 times
JonSvenJonsson
 
Posts: 1
Joined: Tue Sep 25, 2018 5:34 pm

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 5 guests