Bug 241490 - x11-toolkits/qt5-gui: requires runtime dependency on mesa-dri
Summary: x11-toolkits/qt5-gui: requires runtime dependency on mesa-dri
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: kde
URL:
Keywords:
Depends on:
Blocks: 241485
  Show dependency treegraph
 
Reported: 2019-10-25 14:15 UTC by Guido Falsi
Modified: 2019-11-18 14:40 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments
adding mesa-dri dependency explicitly. (733 bytes, patch)
2019-10-25 14:15 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Falsi freebsd_committer 2019-10-25 14:15:54 UTC
Created attachment 208597 [details]
adding mesa-dri dependency explicitly.

Hi,

A user of the calibre port is launching calibre from a remote machine where he is not installing the full Xorg stack, but only calibre and it's direct dependencies.

He reported in bug #241485 that in this setup the calibre ebook-reader component fails to start properly. Installing mesa-dri fixed the issue for him, letting the calibre component find the swrast driver it was needing.

I have reproduced his findings using to VirtualBox VMs, so I guessed qt5-gui is the port whose libraries are actually making the GL calls depending on the mesa-dri drivers.

As a side note my machine has an nvidia card and in this combination things don't work anyway, I guess that's because the nvidia dirver overrides libGL and friends.


Do you think it is correct to add this run time dependency? For most users installing qt5 on the machine together with the Xserver this is a noop. It could help in other situations.

Thanks.
Comment 1 Guido Falsi freebsd_committer 2019-11-18 14:40:47 UTC
Thinking again about it, I suspect the dependency should be added to mesa-libs or through USES=gl.

Any thought about this?