Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pcmanfm-qt depends on kde wayland opengl?? say it ain't so!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 891

PostPosted: Sat Jan 25, 2025 2:31 pm    Post subject: pcmanfm-qt depends on kde wayland opengl?? say it ain't so! Reply with quote

Our favorite light file manager seems to have some new heavy dependencies on kde plasma:

Code:

DEPEND="
    dev-libs/glib:2
    >=dev-qt/qtbase-6.6:6[dbus,gui,widgets]
    >=kde-plasma/layer-shell-qt-6.0:6
    sys-apps/util-linux
    virtual/freedesktop-icon-theme
    =x11-libs/libfm-qt-${MY_PV}*:=
    x11-libs/libxcb:=
    x11-misc/xdg-utils
"


Is that for real? Doesn't seem right. It pulls in plasma wayland and opengl. I don't really want any of that.

Trying some alternatives now.
Cheers,
Jon.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23049

PostPosted: Sat Jan 25, 2025 2:53 pm    Post subject: Reply with quote

If you think the dependencies are wrong, then either (a) consult the git history to see why they were added, and review whether those reasons are valid or (b) force Portage to try to install it without those dependencies, and see whether it works.
Back to top
View user's profile Send private message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 891

PostPosted: Sat Jan 25, 2025 4:01 pm    Post subject: Reply with quote

Yes, did that. Bottom line seems to be that pcmanfm-qt now hard depends on layer-shell-qt to be able to manage the desktop under wayland
I don't know what will happen if I try to prevent layer-shell-qt from being built, but from their CMakeLists.txt, it looks like it won't build, and if I did manage to make it build it would break.

Code:
find_package(LayerShellQt ${SHELLQT_MINIMUM_VERSION} REQUIRED)


Maybe nobody has noticed or cares that this prevents it from being built for X or to use headless (what I want to do).

I guess it's just part of wayland taking over the universe. Because of course. X is EOL, and the headless use case isn't important. All of the infrastructure that allowed what I usually use pcmanfm-qt for is destined for the scrapheap anyway, that just seems to have come sooner rather than later.


I think I can just do it their way and have wayland and opengl just to run a headless app. OK, disk space is free these days.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23049

PostPosted: Sat Jan 25, 2025 4:10 pm    Post subject: Reply with quote

If the upstream code has a hard dependency on Wayland now, then that is something you should discuss with upstream. Gentoo set the DEPEND relation so that you cannot accidentally try to build a configuration that the Gentoo maintainers already know will fail. I am not familiar with this package, so I have no insight into how readily, if at all, you could talk upstream into making this optional.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9333

PostPosted: Sat Jan 25, 2025 5:44 pm    Post subject: Reply with quote

It was discussed between upstream and the downstream maintainer, no need to bother them again - it is what it is.

Code:
$ equery s kde-plasma/layer-shell-qt
 * kde-plasma/layer-shell-qt-6.2.91
         Total files : 49
         Total size  : 4.90 MiB

That's not Plasma, just a library. It doesn't have any further Plasma dependencies either.

Don't obsess over Wayland, etc. but you've probably heard that before and didn't bother anyway.

jesnow wrote:
Maybe nobody has noticed or cares that this prevents it from being built for X

That's, err, completely wrong?
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1794
Location: South America

PostPosted: Sat Jan 25, 2025 6:00 pm    Post subject: Reply with quote

In other words:

jesnow wrote:
Maybe nobody has noticed or cares that this prevents it from being built for X or to use headless (what I want to do).

Why "prevents"? Have you actually tried ro run this version of PCManFM-Qt on X11?
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum