Github messages for voidlinux
 help / color / mirror / Atom feed
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: Sat, 18 Apr 2020 07:49:01 +0200	[thread overview]
Message-ID: <20200418054901.EiiAiSxVHMMOD0nflIw685f4YLMKvvUl3sz3-9HtMRU@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 8d0be003a67764dd6ab71daf3819035bb298912f 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 508cb8d6684..872f2d91d6c 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,7 +1,7 @@
 # Template file for 'mesa'
 pkgname=mesa
 version=20.0.4
-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 f33020f9583ee0478641192ad1d1a1c69136157a 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 833ac726c1a66f23732acdbf8d32c45208d36440 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 e13abc20a55837921e95b60ab7f0fc881596ad69 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 7eab434e9c51ef79796ac3931438da9f7cac82f8 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
 

  parent reply	other threads:[~2020-04-18  5:49 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 ` ericonr [this message]
2020-04-26 20:50 ` [PR PATCH] [Updated] " ericonr
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=20200418054901.EiiAiSxVHMMOD0nflIw685f4YLMKvvUl3sz3-9HtMRU@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).