View previous topic :: View next topic |
Author |
Message |
jesnow l33t
Joined: 26 Apr 2006 Posts: 891
|
Posted: Sat Jan 25, 2025 2:31 pm Post subject: pcmanfm-qt depends on kde wayland opengl?? say it ain't so! |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23049
|
Posted: Sat Jan 25, 2025 2:53 pm Post subject: |
|
|
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 |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 891
|
Posted: Sat Jan 25, 2025 4:01 pm Post subject: |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23049
|
Posted: Sat Jan 25, 2025 4:10 pm Post subject: |
|
|
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 |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9333
|
Posted: Sat Jan 25, 2025 5:44 pm Post subject: |
|
|
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 |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1794 Location: South America
|
Posted: Sat Jan 25, 2025 6:00 pm Post subject: |
|
|
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 |
|
|
|