[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ports
Subject:    Re: USE_WXNEEDED=Yes by default for qtwebengine dependees
From:       Vadim Zhukov <persgray () gmail ! com>
Date:       2021-03-05 13:10:15
Message-ID: CAMy=nGGL8A5hvK2YuYEx_g246502weOpOmZnsNfx_0K8nCGvfQ () mail ! gmail ! com
[Download RAW message or body]

пт, 5 мар. 2021 г. в 14:13, Stuart Henderson <stu@spacehopper.org>:
> 
> On 2021/03/05 12:08, Vadim Zhukov wrote:
> > Hello, Rafael and everyone.
> > 
> > Here's an idea: in x11/qt5/qt5.port.mk add the following:
> > 
> > .for _s in "" ${MULTI_PACKAGES}
> > . if ${LIB_DEPENDS${_s}:Mx11/qt5/qtwebengine*}
> > USE_WXNEEDED ?= yes
> > . endif
> > .endfor
> > 
> > The reasoning as follows: we already have 24 ports that use qtwebengine,
> > and all of them need USE_WXNEEDED:
> > 
> > sqlite> SELECT FullPkgPath, USE_WXNEEDED FROM Ports WHERE USE_WXNEEDED = '' AND \
> > LIB_DEPENDS LIKE '%qt5/qtwebengine%'; sqlite> SELECT FullPkgPath, USE_WXNEEDED \
> > FROM Ports WHERE LIB_DEPENDS LIKE '%qt5/qtwebengine%'; \
> > x11/kde-applications/marble| devel/kdevelop|1
> > devel/kdevelop,|1
> > devel/qt-creator|1
> > www/py-qtwebengine,python3|
> 
> In this case it's python that needs USE_WXNEEDED, not py-qtwebengine.
> 
> > geo/gpsbabel,-qt|
> > geo/qmapshack|
> > graphics/digikam|
> > math/rstudio|
> > net/ktorrent|
> > net/psi|
> > www/otter-browser|
> > x11/kde-applications/konqueror|
> > x11/kde-applications/kalgebra|1
> > x11/kde-applications/kdenlive|1
> > x11/kde-applications/libkgapi|
> > x11/kde-applications/akregator|
> > x11/kde-applications/messagelib|
> > x11/kde-applications/grantlee-editor|
> > x11/kde-applications/kdepim-addons|
> > x11/kde-applications/libksieve|
> > x11/kde-applications/kmail|
> > x11/kde-applications/kontact|
> > x11/kde-applications/kimagemapeditor|
> > x11/qt5/qtwebview|
> > x11/qt5/qtwebview,-main|
> > x11/qt5/qtwebview,,-main|
> 
> This is odd, most of these do _not_ have USE_WXNEEDED set. How do the ports work?

R-r-right... It reads clear when using another SQL query:

sqlite> SELECT FullPkgPath, USE_WXNEEDED FROM Ports WHERE USE_WXNEEDED
<> '' AND LIB_DEPENDS LIKE '%qt5/qtwebengine%';
devel/kdevelop|1
devel/kdevelop,|1
devel/qt-creator|1
x11/kde-applications/kdenlive|1
x11/kde-applications/kalgebra|1

So it's not that many applications that use qtwebengine. I wondered
how apps are supposed to work without USE_WXNEEDED then, and realized
there is a $LOCALBASE/lib/qt5/libexec/QtWebEngineProcess which is
started by e.g. akregator, avoiding the need for USE_WXNEEDED.

So please disregard the idea and sorry for the noise. :)

-- 
  WBR,
  Vadim Zhukov


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic