From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mesa-dri: enable vc4 driver for armv6l
Date: Sun, 26 Apr 2020 22:50:26 +0200 [thread overview]
Message-ID: <20200426205026.UNdADJA7hZXwBmHLhxFbM5IwczoSf51g8D4Im-Z2cGA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20888@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 354 bytes --]
There is an updated pull request by ericonr against master on the void-packages repository
https://github.com/ericonr/void-packages mesa-vc4-armv6l
https://github.com/void-linux/void-packages/pull/20888
mesa-dri: enable vc4 driver for armv6l
Related to #20861
A patch file from https://github.com/void-linux/void-packages/pull/20888.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mesa-vc4-armv6l-20888.patch --]
[-- Type: text/x-diff, Size: 6757 bytes --]
From 0ed9d2db02a62d7dd020b84c923d162c30245295 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 11 Apr 2020 16:42:10 -0300
Subject: [PATCH 1/5] mesa-dri: enable vc4 driver for armv6l
---
srcpkgs/mesa/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index 08029db97f2..fc4550e7686 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,7 +1,7 @@
# Template file for 'mesa'
pkgname=mesa
version=20.0.5
-revision=1
+revision=2
wrksrc="mesa-${version}"
build_style=meson
configure_args="-Dglvnd=true -Dshared-glapi=true -Dgbm=true -Degl=true
@@ -80,7 +80,7 @@ aarch64*)
subpackages+=" mesa-kmsro-dri mesa-tegra-dri mesa-nouveau-dri mesa-v3d-dri mesa-vc4-dri"
subpackages+=" mesa-etnaviv-dri mesa-freedreno-dri mesa-lima-dri mesa-panfrost-dri"
;;
-armv7l*)
+armv[67]l*)
configure_args+=" -Dgallium-drivers=auto"
configure_args+=" -Dvulkan-drivers= -Ddri-drivers= -Dgallium-xvmc=false"
configure_args+=" -Dgallium-xa=false -Dgallium-vdpau=false -Dgallium-va=false"
From 307c2265166322f1042bd7b6dec325c4aa44dc6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 11 Apr 2020 17:37:47 -0300
Subject: [PATCH 2/5] xorg-server: enable xorg-server-xwayland for armv6l
This is possible due to the VC4 driver being enabled for this arch.
This requires changes in all the packages that depend on
xorg-server-xwayland, which currently are:
* plasma-workspace
* sway
* gdm
---
srcpkgs/xorg-server/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/xorg-server/template b/srcpkgs/xorg-server/template
index 0b31bc8324c..4502614eca0 100644
--- a/srcpkgs/xorg-server/template
+++ b/srcpkgs/xorg-server/template
@@ -1,7 +1,7 @@
# Template file for 'xorg-server'
pkgname=xorg-server
version=1.20.8
-revision=1
+revision=2
build_style=meson
configure_args="-Dipv6=true -Dxorg=true -Dxnest=true -Dxephyr=true
-Dxvfb=true -Dhal=false -Dudev=true -Dxkb_dir=/usr/share/X11/xkb
@@ -34,7 +34,7 @@ build_options="elogind"
desc_option_elogind="Rootless Xorg support with elogind"
case "$XBPS_TARGET_MACHINE" in
-i686*|x86_64*|aarch64*|ppc*|armv7l*)
+i686*|x86_64*|aarch64*|ppc*|armv[67]l*)
# Enable glamor/dri/opengl/xwayland by default.
configure_args+=" -Dglamor=true -Ddri2=true -Ddri3=true -Dglx=true -Dxwayland=true"
replaces+=" glamor-egl>=0"
From c518a131cc8fb346b60ffb1d41db955f7bb3f14b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 11 Apr 2020 17:45:57 -0300
Subject: [PATCH 3/5] plasma-workspace: update arch check for
xorg-server-xwayland
---
srcpkgs/plasma-workspace/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/plasma-workspace/template b/srcpkgs/plasma-workspace/template
index b89a4232146..e993bf699ad 100644
--- a/srcpkgs/plasma-workspace/template
+++ b/srcpkgs/plasma-workspace/template
@@ -1,7 +1,7 @@
# Template file for 'plasma-workspace'
pkgname=plasma-workspace
version=5.18.4.1
-revision=1
+revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules iso-codes pkg-config kdoctools kcoreaddons
@@ -23,7 +23,7 @@ checksum=924d8401c3d1fe5d107b6d3facaf96c292f1d4972529831993056982f28b1601
# xorg-server-xwayland only exists for a few archs, see xorg-server/template
case "$XBPS_TARGET_MACHINE" in
- i686*|x86_64*|aarch64*|ppc*|armv7l*)
+ i686*|x86_64*|aarch64*|ppc*|armv[67]l*)
depends+=" xorg-server-xwayland" ;;
esac
From 6f3b055b05e0ae564b6e8944848a53eea011f6b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 11 Apr 2020 17:46:36 -0300
Subject: [PATCH 4/5] sway: sway: add arch check for xorg-server-xwayland
---
srcpkgs/sway/template | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/sway/template b/srcpkgs/sway/template
index 964702f3948..e4b7f4898c7 100644
--- a/srcpkgs/sway/template
+++ b/srcpkgs/sway/template
@@ -1,14 +1,14 @@
# Template file for 'sway'
pkgname=sway
version=1.4
-revision=1
+revision=2
build_style=meson
conf_files="/etc/sway/config"
hostmakedepends="pkg-config wayland-devel scdoc git"
makedepends="xcb-util-wm-devel xcb-util-errors-devel wlroots-devel
wayland-devel wayland-protocols pcre-devel
json-c-devel pango-devel cairo-devel gdk-pixbuf-devel"
-depends="swaybg xorg-server-xwayland $(vopt_if elogind elogind)"
+depends="swaybg $(vopt_if elogind elogind)"
short_desc="Tiling Wayland compositor compatible with i3"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
@@ -19,6 +19,12 @@ checksum=e2805291fc01d49e21dda4b273e38170d1fff4e1757215439729edbed880dfbe
build_options="elogind"
desc_option_elogind="Uses elogind instead of setuid for privilege escalation"
+# xorg-server-xwayland only exists for a few archs, see xorg-server/template
+case "$XBPS_TARGET_MACHINE" in
+ i686*|x86_64*|aarch64*|ppc*|armv[67]l*)
+ depends+=" xorg-server-xwayland" ;;
+esac
+
post_patch() {
vsed -e 's/werror=true/werror=false/g' -i meson.build
}
From cc675506cb6c7110740b6cb89b3190209cbf7394 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 11 Apr 2020 17:47:28 -0300
Subject: [PATCH 5/5] gdm: gdm: add arch check for xorg-server-xwayland
---
srcpkgs/gdm/template | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/gdm/template b/srcpkgs/gdm/template
index bb5b48692d4..1f95f92bc92 100644
--- a/srcpkgs/gdm/template
+++ b/srcpkgs/gdm/template
@@ -1,7 +1,7 @@
# Template file for 'gdm'
pkgname=gdm
version=3.34.1
-revision=1
+revision=2
build_helper="gir"
build_style=gnu-configure
configure_args="$(vopt_enable gir introspection)
@@ -13,8 +13,7 @@ configure_args="$(vopt_enable gir introspection)
hostmakedepends="dconf gettext itstool pkg-config"
makedepends="accountsservice-devel elogind-devel gettext-devel glib-devel
iso-codes libSM-devel libcanberra-devel nss-devel pam-devel upower-devel"
-depends="gnome-settings-daemon gnome-shell xorg-server xorg-server-xwayland
- xrdb"
+depends="gnome-settings-daemon gnome-shell xorg-server xrdb"
checkdepends="check-devel"
short_desc="GNOME Display Manager"
maintainer="Enno Boland <gottox@voidlinux.org>"
@@ -43,6 +42,12 @@ if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" glib-devel pam-devel"
fi
+# xorg-server-xwayland only exists for a few archs, see xorg-server/template
+case "$XBPS_TARGET_MACHINE" in
+ i686*|x86_64*|aarch64*|ppc*|armv[67]l*)
+ depends+=" xorg-server-xwayland" ;;
+esac
+
post_install() {
vinstall $FILESDIR/Xsession 755 etc/gdm
next prev parent reply other threads:[~2020-04-26 20:50 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-11 19:43 [PR PATCH] " ericonr
2020-04-11 19:48 ` xtraeme
2020-04-11 20:12 ` [PR PATCH] [Updated] " ericonr
2020-04-11 20:24 ` ericonr
2020-04-11 20:24 ` ericonr
2020-04-11 20:25 ` xtraeme
2020-04-11 20:40 ` ericonr
2020-04-11 20:50 ` xtraeme
2020-04-11 20:53 ` [PR PATCH] [Updated] " ericonr
2020-04-11 20:55 ` ericonr
2020-04-11 20:56 ` ericonr
2020-04-18 5:49 ` [PR PATCH] [Updated] " ericonr
2020-04-26 20:50 ` ericonr [this message]
2020-04-26 21:11 ` ericonr
2020-04-26 21:21 ` q66
2020-04-26 21:47 ` [PR PATCH] [Updated] " ericonr
2020-04-26 21:55 ` ericonr
2020-04-26 21:59 ` [PR PATCH] [Merged]: " q66
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200426205026.UNdADJA7hZXwBmHLhxFbM5IwczoSf51g8D4Im-Z2cGA@z \
--to=ericonr@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).