All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd.kuhls@t-online.de>
To: buildroot@buildroot.org
Cc: "Gary Bisson" <bisson.gary@gmail.com>,
	"Romain Naour" <romain.naour@gmail.com>,
	"Yann E . MORIN" <yann.morin.1998@free.fr>,
	"Jérôme Pouiller" <jezz@sysmic.org>
Subject: [Buildroot] [PATCH 07/19] package/x11r7/xdriver_xf86-video-imx-viv: switch dependency from mesa3d to libgl
Date: Sat, 14 May 2022 19:56:00 +0200	[thread overview]
Message-ID: <20220514175612.2510884-7-bernd.kuhls@t-online.de> (raw)
In-Reply-To: <20220514175612.2510884-1-bernd.kuhls@t-online.de>

DRI support for this driver is provided by the xserver_xorg-server
package when BR2_PACKAGE_HAS_LIBGL is enabled:
https://git.busybox.net/buildroot/tree/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk#n91

Change the dependency to follow the logic of xserver_xorg-server.

Also fix a typo in the Config.in help text while being at it.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/x11r7/xdriver_xf86-video-imx-viv/Config.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in
index 13cee14deb..292fdd05a4 100644
--- a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in
+++ b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in
@@ -1,10 +1,9 @@
 config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV
 	bool "xf86-video-imx-viv"
+	depends on BR2_PACKAGE_HAS_LIBGL
 	depends on BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
 	depends on BR2_PACKAGE_IMX_GPU_G2D
 	depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d
-	select BR2_PACKAGE_MESA3D # Needed in order to compile xorg with glx/dri
-	select BR2_PACKAGE_MESA3D_DRI_DRIVER
 	select BR2_PACKAGE_LIBDRM
 	select BR2_PACKAGE_XORGPROTO
 	help
@@ -26,7 +25,10 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV
 
 	  Don't forget to load galcore.ko and create /dev/galcore
 	  before using this driver (else, Xorg will exit with an
-	  obscur message like "Segmentation fault at address 0xc").
+	  obscure message like "Segmentation fault at address 0xc").
+
+comment "xf86-video-imx-viv needs an OpenGL backend"
+	depends on !BR2_PACKAGE_HAS_LIBGL
 
 comment "xf86-video-imx-viv depends on imx-gpu-viv with X11 output"
 	depends on BR2_arm
-- 
2.30.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2022-05-14 17:56 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14 17:55 [Buildroot] [PATCH 01/19] package/x11r7/xserver_xorg-server: bump version to 21.1.3 Bernd Kuhls
2022-05-14 17:55 ` [Buildroot] [PATCH 02/19] package/x11r7/xdriver_xf86-video-amdgpu: fix glamor support Bernd Kuhls
2022-05-18 19:17   ` Arnout Vandecappelle
     [not found]   ` <f210edc8-09f9-c668-cf1f-19992e5243a2__20312.2769644082$1652901469$gmane$org@mind.be>
2022-05-18 20:37     ` Bernd Kuhls
2022-06-01 16:04   ` Peter Korsgaard
2022-05-14 17:55 ` [Buildroot] [PATCH 03/19] package/x11r7/xdriver_xf86-video-amdgpu: bump version to 22.0.0 Bernd Kuhls
2022-05-14 17:55 ` [Buildroot] [PATCH 04/19] package/x11r7/xdriver_xf86-video-amdgpu: needs libgbm Bernd Kuhls
2022-06-05 22:01   ` Thomas Petazzoni via buildroot
     [not found]   ` <20220606000120.052ee137__6105.38827474869$1654466507$gmane$org@windsurf>
2022-06-06 13:16     ` Bernd Kuhls
2022-05-14 17:55 ` [Buildroot] [PATCH 05/19] package/x11r7/xdriver_xf86-video-ati: fix build with newer versions of xserver Bernd Kuhls
2022-06-04 19:06   ` Yann E. MORIN
2022-05-14 17:55 ` [Buildroot] [PATCH 06/19] package/x11r7/xdriver_xf86-video-ati: switch dependency from mesa3d to libgbm Bernd Kuhls
2022-06-05 22:02   ` Thomas Petazzoni via buildroot
2022-05-14 17:56 ` Bernd Kuhls [this message]
2022-06-06 20:24   ` [Buildroot] [PATCH 07/19] package/x11r7/xdriver_xf86-video-imx-viv: switch dependency from mesa3d to libgl Arnout Vandecappelle
2022-05-14 17:56 ` [Buildroot] [PATCH 08/19] package/x11r7/xdriver_xf86-video-intel: " Bernd Kuhls
2022-06-06 20:27   ` Arnout Vandecappelle
2022-05-14 17:56 ` [Buildroot] [PATCH 09/19] package/x11r7/xdriver_xf86-video-mach64: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 10/19] package/x11r7/xdriver_xf86-video-mga: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 11/19] package/x11r7/xdriver_xf86-video-nouveau: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 12/19] package/x11r7/xdriver_xf86-video-openchrome: switch source to git repo Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 13/19] package/x11r7/xdriver_xf86-video-openchrome: bump version to 0.6.225 Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 14/19] package/x11r7/xdriver_xf86-video-openchrome: switch dependency from mesa3d to libgl Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 15/19] package/x11r7/xdriver_xf86-video-r128: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 16/19] package/x11r7/xdriver_xf86-video-sis: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 17/19] package/x11r7/xdriver_xf86-video-savage: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 18/19] package/x11r7/xdriver_xf86-video-tdfx: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 19/19] package/{mesa3d, mesa3d-headers}: bump version to 22.0.3 Bernd Kuhls
2022-06-06 20:43   ` Arnout Vandecappelle
     [not found]   ` <ab57f204-1b69-e99e-6dd1-4d3809740ed2__12424.3190091633$1654548218$gmane$org@mind.be>
2022-06-07 19:42     ` Bernd Kuhls
2022-06-06 20:37 ` [Buildroot] [PATCH 01/19] package/x11r7/xserver_xorg-server: bump version to 21.1.3 Arnout Vandecappelle
2022-08-16  9:35 ` Peter Korsgaard

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=20220514175612.2510884-7-bernd.kuhls@t-online.de \
    --to=bernd.kuhls@t-online.de \
    --cc=bisson.gary@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=jezz@sysmic.org \
    --cc=romain.naour@gmail.com \
    --cc=yann.morin.1998@free.fr \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.