Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v12 15/32] mesa3d: dri2 does not need udev support
Date: Wed, 11 Jun 2014 18:42:55 +0200	[thread overview]
Message-ID: <20140611164255.GA3472@free.fr> (raw)
In-Reply-To: <1402144292-27837-16-git-send-email-bernd.kuhls@t-online.de>

Bernd, All,

On 2014-06-07 14:31 +0200, Bernd Kuhls spake thusly:
> http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=b959fd9674938e127a34d42d34b903e3a9ae7ad9
> "The loader infrastructure for everything but DRI2 requires that udev be present"
> 
> Check for udev only for dri3.

The git-tree of mesa3d requires that either libudev or sysfs be present:
    http://cgit.freedesktop.org/mesa/mesa/commit/?id=85b6f36ca5238dd3fec7c5fcacb8b7074ce53c8e

So it is now possible to use --enable-sysfs instead of requiring
libudev.so.

That's a pity this is not in mesa-10.2.1, and the patch is a bit too
large to back-port, IMHO.

> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  .../mesa3d-0002-dri2-does-not-need-udev.patch      |   25 ++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>  create mode 100644 package/mesa3d/mesa3d-0002-dri2-does-not-need-udev.patch
> 
> diff --git a/package/mesa3d/mesa3d-0002-dri2-does-not-need-udev.patch b/package/mesa3d/mesa3d-0002-dri2-does-not-need-udev.patch
> new file mode 100644
> index 0000000..88c6861
> --- /dev/null
> +++ b/package/mesa3d/mesa3d-0002-dri2-does-not-need-udev.patch
> @@ -0,0 +1,25 @@
> +http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=b959fd9674938e127a34d42d34b903e3a9ae7ad9
> +"The loader infrastructure for everything but DRI2 requires that udev be present"
> +
> +Check for udev only for dri3.
> +
> +Patch sent upstream: https://bugs.freedesktop.org/show_bug.cgi?id=75212#c5

Unfortunately, upstream is not too keen on applying this patch.

So, I think we should revisit your libudev package. I'll go comment
there.

Regards,
Yann E. MORIN.

> +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> +
> +diff -uNr Mesa-10.2.0-rc1.org/configure.ac Mesa-10.2.0-rc1/configure.ac
> +--- Mesa-10.2.0-rc1.org/configure.ac	2014-05-03 02:17:23.000000000 +0200
> ++++ Mesa-10.2.0-rc1/configure.ac	2014-05-07 19:51:54.187921825 +0200
> +@@ -998,11 +998,11 @@
> +         DEFINES="$DEFINES -DHAVE_ALIAS"
> +         if test "x$enable_dri3" = xyes; then
> +             DEFINES="$DEFINES -DHAVE_DRI3"
> +-        fi
> + 
> +         if test "x$have_libudev" != xyes; then
> +             AC_MSG_ERROR([libudev-dev required for building DRI])
> +         fi
> ++        fi
> + 
> +         case "$host_cpu" in
> +         powerpc* | sparc*)
> -- 
> 1.7.10.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-06-11 16:42 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-07 12:31 [Buildroot] [PATCH v12 00/32] xbmc: bump version to 13.1 Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 01/32] toolchain: add option to copy the gconv libraries Bernd Kuhls
2014-06-08 13:15   ` Thomas Petazzoni
2014-06-08 13:39     ` Yann E. MORIN
2014-06-07 12:31 ` [Buildroot] [PATCH v12 02/32] xbmc: add host-gettext dependency Bernd Kuhls
2014-06-07 21:25   ` Yann E. MORIN
2014-06-08 10:45     ` Maxime Hadjinlian
2014-06-07 12:31 ` [Buildroot] [PATCH v12 03/32] xbmc: add host-nasm dependency Bernd Kuhls
2014-06-07 21:27   ` Yann E. MORIN
2014-06-07 21:29     ` Yann E. MORIN
2014-06-07 12:31 ` [Buildroot] [PATCH v12 04/32] xbmc: add host-yasm dependency for MMX/64bit archs Bernd Kuhls
2014-06-08 10:44   ` Yann E. MORIN
2014-06-07 12:31 ` [Buildroot] [PATCH v12 05/32] xbmc: add missing egl-related cflags Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 06/32] xbmc: hdmi cec supports needs udev for device scanning Bernd Kuhls
2014-06-08 11:07   ` Yann E. MORIN
2014-06-07 12:31 ` [Buildroot] [PATCH v12 07/32] xbmc: bump version to 13.1 Bernd Kuhls
2014-06-08 11:09   ` Yann E. MORIN
2014-06-07 12:31 ` [Buildroot] [PATCH v12 08/32] xbmc-pvr-addons: bump to a version compatible with XBMC Gotham Bernd Kuhls
2014-06-08 11:11   ` Yann E. MORIN
2014-06-08 11:15   ` Yann E. MORIN
2014-06-07 12:31 ` [Buildroot] [PATCH v12 09/32] xbmc-addon-xvdr: " Bernd Kuhls
2014-06-08 11:13   ` Yann E. MORIN
2014-06-07 12:31 ` [Buildroot] [PATCH v12 10/32] mesa3d: Bump version to 10.2.1, fix xa build Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 11/32] mesa3d: Depend on xorg meta package instead of xserver_xorg-server Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 12/32] mesa3d: add dependency xproto_presentproto Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 13/32] mesa3d: Remove dependency for the libxml2 module of host-python Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 14/32] mesa3d: Add dri3 support Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 15/32] mesa3d: dri2 does not need udev support Bernd Kuhls
2014-06-11 16:42   ` Yann E. MORIN [this message]
2014-06-07 12:31 ` [Buildroot] [PATCH v12 16/32] libva: new package Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 17/32] libva-intel-driver: " Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 18/32] ffmpeg: Add libva support Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 19/32] libglu: new package Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 20/32] libglew: " Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 21/32] sdl: Add new dependency libglu for opengl support Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 22/32] xdriver_xf86-video-intel: Bump version to 2.99.911 Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 23/32] xbmc: Allow compilation with uClibc Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 24/32] xbmc: Add alsa support Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 25/32] xbmc: Add lame support Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 26/32] xbmc: Fix TexturePacker compile Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 27/32] xbmc: Add X.org/OpenGL support Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 28/32] xbmc: Add option for Goom screensaver Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 29/32] xbmc: Add VA-API support Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 30/32] xbmc: fix missing libraries from rpi-userland Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 31/32] rpi-userland: cleanup *_CONF_OPT Bernd Kuhls
2014-06-07 12:31 ` [Buildroot] [PATCH v12 32/32] package/libcec: fix missing libraries from rpi-userland Bernd Kuhls
2014-06-07 12:39 ` [Buildroot] [PATCH v12 00/32] xbmc: bump version to 13.1 Yann E. MORIN
2014-06-08 13:08 ` Thomas Petazzoni
2014-06-08 13:12 ` Thomas Petazzoni

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=20140611164255.GA3472@free.fr \
    --to=yann.morin.1998@free.fr \
    --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