[Bug 261333] graphics/qgis: pulls in misc/qt5-doc, but is devel/qt5-qdoc needed instead?

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Jan 2022 20:53:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261333

--- Comment #4 from Rainer Hurling <rhurlin@FreeBSD.org> ---
Hi Adriaan,
Thank you very much for the assessment and detailed consideration of individual
dependencies. My answer took some time because on the one hand many geo-based
dependencies have been updated in the meantime and on the other hand many of
the suggestions had to be tested against different configurations of QGIS and
its extensions.

After much trial and error, the need for changes to the graphics/qgis port
currently looks something like this:

It looks like restricting designer, testlib, uitools and qdoc to _build does
not introduce any new problems at runtime and therefore makes sense :D

The change from doc to qdoc seems correct, thanks again to Martin for that.

I have testwise then also taken out the dependency for webkit, for webengine
and for both and run different tests with dependencies (= QGIS plugins). Here
some surprises showed up.


It turned out that without webkit (WITH_QTWEBKIT=off) extensions like 'Data
Plotly' don't even start. A user of this extension is not even notified in case
of a crash that functionalities provided by webkit are missing. webengine
cannot provide the missing functionalities for extensions like 'Data Plotly'.


Building QGIS without webengine already imposes significant limitations on QGIS
itself. During the installation 6030 entries in pkg-plist (!) are missing,
concerning various documentations, but also many icons (svg). It would have to
be analyzed in more detail whether these files only play a role for QGIS
Server. For this I lacked the time so far.

The dependency list of QGIS could also be limited by the port introducing new
options for extensions that install dependencies only when a user needs them.
However, this would have to be foreseeable and decided before installation.
Afterwards, during the runtime of QGIS, a user hardly gets helpful hints about
missing dependencies when she wants to install new extensions.


In the next commit for graphics/qgis I will therefore only change designer,
qdoc, testlib and uitools to _build, but leave webkit and webengine unchanged.
Unless someone else has some tips how to solve the described dilemma, of course
;)

-- 
You are receiving this mail because:
You are the assignee for the bug.