[Mesa-dev] [PATCH] mesa-demos: xeglthreads needs to add "-lX11 -lpthread" itself

Stefan Dirsch sndirsch at suse.de
Mon Dec 7 02:45:02 PST 2015


Hi Andreas

Thanks for asking!

Seems you're preparing a new release? That would be really cool! Indeed my
patch is no longer needed. Even with 8.2.0 it wasn't. I just didn't notice
when updating it.

Also with current git I no longer need to disable egl. ;-)

So I can revert this change again:

Wed Jun 24 14:38:19 UTC 2015 - sndirsch at suse.com
- disabled egl build due to Mesa's removal of skeleton 
  implementation of EGL_MESA_screen_surface with release 10.6.0

I guess that's the reason for it:

commit 74443c6ee79f3251f643ea05e94df58183e37d0d
Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Aug 28 15:57:38 2015 -0700

    egl: Remove demos using EGL_MESA_screen_surface.
    
    The remnants of the extension were removed from Mesa in commit 7a58262e.

Thanks,
Stefan

On Sun, Dec 06, 2015 at 02:29:20PM +0100, Andreas Boll wrote:
> Is this still an issue?
> Could you give us the build log of a verbose build?
> 
> Thanks,
> Andreas
> 
> 2015-08-21 10:37 GMT+02:00 Stefan Dirsch <sndirsch at suse.de>:
> > Hi
> >
> > This is just a simple buildfix for current mesa-demos git master branch.
> >
> > Thanks,
> > Stefan
> >
> > Author: Stefan Dirsch <sndirsch at suse.de>
> > Subject: xeglthreads needs to add "-lX11 -lpthread" itself
> > Signed-off-by: Stefan Dirsch <sndirsch at suse.de>
> >
> > xeglthreads no longer can rely on the toolchain to add the required libs,
> > it uses directly.
> >
> > --- src/egl/opengl/Makefile.am.orig     2011-08-29 14:34:02.000000000 +0000
> > +++ src/egl/opengl/Makefile.am  2011-08-29 14:34:31.000000000 +0000
> > @@ -32,7 +32,7 @@ AM_CFLAGS = \
> >         -I$(top_srcdir)/src/util
> >  AM_LDFLAGS = \
> >         $(DEMO_LIBS) \
> > -       $(EGL_LIBS)
> > +       $(EGL_LIBS) -lX11 -lpthread
> >
> >  if HAVE_X11
> >  EGL_X11_DEMOS = \
> >
> > Public Key available
> > ------------------------------------------------------
> > Stefan Dirsch (Res. & Dev.)   SUSE LINUX GmbH
> > Tel: 0911-740 53 0            Maxfeldstraße 5
> > FAX: 0911-740 53 479          D-90409 Nürnberg
> > http://www.suse.de            Germany
> > ---------------------------------------------------------------
> > SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham
> > Norton, HRB 21284 (AG Nürnberg)
> > ---------------------------------------------------------------
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 

-- 
Regards,
Stefan Dirsch

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
---------------------------------------------------------------
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham
Norton, HRB 21284 (AG Nürnberg)
---------------------------------------------------------------


More information about the mesa-dev mailing list