Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jérôme Pouiller" <jezz@sysmic.org>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC 4/4] xorg-server: Depends on libgl to enable DRI/GLX
Date: Wed, 21 Jan 2015 12:23:28 +0100	[thread overview]
Message-ID: <1421839408-15839-5-git-send-email-jezz@sysmic.org> (raw)
In-Reply-To: <1421839408-15839-1-git-send-email-jezz@sysmic.org>

xorg-server should be able to compile DRI/GLX interface using any libGL
provider (not only mesa3d). If a libGL provider break xorg-server DRI/GLX
interface, it should be fixed.

Signed-off-by: J?r?me Pouiller <jezz@sysmic.org>
---
 package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
index 5baa515..3240284 100644
--- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
+++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
@@ -105,9 +105,12 @@ else # modular
 XSERVER_XORG_SERVER_CONF_OPTS += --disable-kdrive --disable-xfbdev
 endif
 
-ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
+
+ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
+# Note: --enable-glx use DRI interface (provided by GL/internal/dri_interface.h)
+# in any case. So enable GLX without DRI just fail.
 XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri --enable-glx
-XSERVER_XORG_SERVER_DEPENDENCIES += mesa3d xproto_xf86driproto
+XSERVER_XORG_SERVER_DEPENDENCIES += libgl xproto_xf86driproto
 else
 XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri --disable-glx
 endif
-- 
1.9.1

  parent reply	other threads:[~2015-01-21 11:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-21 11:23 [Buildroot] [RFC 0/4] Try to clean up proprietary OpenGL drivers Jérôme Pouiller
2015-01-21 11:23 ` [Buildroot] [RFC 1/4] nvidia-driver: Add gl.pc Jérôme Pouiller
2015-01-21 11:23 ` [Buildroot] [RFC 2/4] gpu-viv-bin-mx6q: is a libgl provider Jérôme Pouiller
2015-04-04 16:48   ` Thomas Petazzoni
2015-04-05  9:10     ` Jérôme Pouiller
2015-04-05  9:28       ` Thomas Petazzoni
2015-01-21 11:23 ` [Buildroot] [RFC 3/4] opengl-registry: Also provide DRI interface Jérôme Pouiller
2015-01-21 11:23 ` Jérôme Pouiller [this message]
2015-01-23 10:57 ` [Buildroot] [RFC 0/4] Try to clean up proprietary OpenGL drivers Yann E. MORIN
2015-01-24 17:02   ` Yann E. MORIN

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=1421839408-15839-5-git-send-email-jezz@sysmic.org \
    --to=jezz@sysmic.org \
    --cc=buildroot@busybox.net \
    /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