Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Why does libplasma require USE=wayland?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

Why does libplasma require USE=wayland?

  • Quote

Post by szatox » Wed Feb 25, 2026 11:41 am

I'm trying to do a long overdue easyeffects update, and it's pulling like half of KDE, and on top of that it demands that I enable USE wayland.
After some digging I tracked it down to this bit in kde-plasma/libplasma ebuild

Code: Select all

BDEPEND="
    >=dev-qt/qtbase-${QTMIN}:6[wayland]
    >=dev-util/wayland-scanner-1.19.0
"

I know that KDE wants to completely move to wayland, but I think it hasn't abandoned X11 _yet_, so why does it want me to enable wayland and what does this use flag actually mean to a system happily running X11?
Make Pipewire a system service
Top
sam_
Developer
Developer
User avatar
Posts: 2817
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Wed Feb 25, 2026 11:48 am

Packages often need Wayland libraries at build time and then at runtime they conditionally enable based on whatever the session is. In the same way, you often can't be X-library-less on systems that are using only Wayland sessions at runtime.
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Wed Feb 25, 2026 2:40 pm

Including wayland, should not increase the size of your executables/libraries, to any significant degree.
It would (possibly) pull in some of the header files and link to wayland libraries.
None of which really matters if you're not using it.
And it's there if you ever decide you want it (for whatever reason).
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3537
Joined: Thu Feb 22, 2018 2:29 pm

Re: Why does libplasma require USE=wayland?

  • Quote

Post by logrusx » Wed Feb 25, 2026 9:05 pm

szatox wrote:what does this use flag actually mean to a system happily running X11?
Nothing really. Wayland is not a server, you're not putting anything that can be started as a service on your system. If it won't be used it can't be attacked et.c.

Best Regards,
Georgi
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Wed Feb 25, 2026 11:54 pm

Alright, I get it.
Thanks, all
Make Pipewire a system service
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic