On Sun Oct 22, 2017 at 07:57:08PM +0200, Ingo Schwarze wrote:
> Hi Matthias,
> 
> Matthias Kilian wrote on Sun, Oct 22, 2017 at 06:10:01PM +0200:
> > On Sun, Oct 22, 2017 at 12:38:09AM +0200, Ingo Schwarze wrote:
> 
> >>   libGL error: failed to open drm device: Permission denied
> >>   libGL error: failed to load driver: i965
> 
> > Hmm. This happens if you don't own /dev/drm0.
> > I bet you get the same error messages when running glxgears(1).
> 
> You were right on both points.
> 
> > I'm using xenodm,
> 
> Me too.
> 
> > which should take care of it (/etc/xenodm/GiveConsole):
> > 
> > if [ -c /dev/drm0 ]; then
> >     chown $USER /dev/drm0
> > fi
> 
> Strange.  I still had
> 
>   DisplayManager._0.setup:    /etc/X11/xenodm/Xsetup_0
>   DisplayManager._0.startup:  /etc/X11/xenodm/GiveConsole
>   DisplayManager._0.reset:    /etc/X11/xenodm/TakeConsole
> 
> in /etc/X11/xenodm/xenodm-config; after changing that to
> 
>   DisplayManager.unix_0.setup:                /etc/X11/xenodm/Xsetup_0
>   DisplayManager.unix_0.startup:      /etc/X11/xenodm/GiveConsole
>   DisplayManager.unix_0.reset:                /etc/X11/xenodm/TakeConsole
> 
> DRM works now.  I would have expected sysmerge(8) to maintain that
> file for me, no idea why it didn't.  Whatever, that's unrelated to
> the task at hand.
> 
> >> Why do you list png explicitly in LIB_DEPENDS, but not jpeg?
> >> Given that the only other direct lib dependency, qtbase, requires
> >> both jpeg and png directly and that the xpdf cmake run explicitly
> >> tests for both, what is the difference?
> 
> > Sloppiness on my side. png could have been removed in the past, too
> > because even x11/motif pulled it in. Now removed in the new diff.
> 

No, unless CMakeLists.txt is lying to use or you don't need pdftopng/pdftohtml:

if (NOT PNG_FOUND)
  message(WARNING "Couldn't find libpng -- will not build pdftopng or 
pdftohtml.")
endif ()

Reply via email to