View previous topic :: View next topic |
Author |
Message |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Wed Aug 19, 2020 9:34 pm Post subject: can't unmask a per-package USE flag |
|
|
So, I wanna try kde-plasma/powerdevil with the brightness-control USE flag, but the flag is masked in a profile because there is no stable version of app-misc/ddcutil.
I've got this config (and first tried them seperately):
Code: | $ cat /etc/portage/package.use.mask
# ddcutil may not be stable, but I want it...
kde-plasma/powerdevil -brightness-control
|
Code: | $ cat /etc/portage/package.use.unmask
# ddcutil may not be stable, but I want it...
#kde-plasma/powerdevil -brightness-control
|
But it's still masked:
Code: | $ emerge -1vp powerdevil
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] kde-plasma/powerdevil-5.18.5:5::gentoo USE="handbook wireless (-brightness-control) -debug" 584 KiB
Total: 1 package (1 reinstall), Size of downloads: 584 KiB |
What am I doing wrong here? |
|
Back to top |
|
 |
alamahant Advocate

Joined: 23 Mar 2019 Posts: 3961
|
|
Back to top |
|
 |
Ionen Developer


Joined: 06 Dec 2018 Posts: 2921
|
Posted: Wed Aug 19, 2020 9:48 pm Post subject: |
|
|
Code: | echo kde-plasma/powerdevil -brightness-control >> /etc/portage/profile/package.use.stable.mask | Create profile directory if missing.
Edit: Also it's a stable mask, but package.use.mask works too. More typically just use the same file the profile do with the opposite statement. |
|
Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Thu Aug 20, 2020 8:59 pm Post subject: |
|
|
Thank you guys, that fixed it.
Bonus points for the tip for keeping it organised.
EDIT: If anyone gets here for the particular use flag, kde-plasma/powerdevil-5.18.5 build fine with app-misc/ddcutil-0.9.5 but fails with app-misc/ddcutil-0.9.9 (it was a type cast error I think, but not 100% sure) |
|
Back to top |
|
 |
|