Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876637 - Enable USE=xft on desktop profiles
Summary: Enable USE=xft on desktop profiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-10 22:38 UTC by Sam James
Modified: 2022-12-26 23:06 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-10 22:38:14 UTC
Kerin brought this up in #gentoo about a week ago and I was in disbelief at first: xft isn't enabled by default in desktop profiles!

$ grep -rsin "xft" profiles/
profiles/base/package.use.force:25:# -xft broken, investigate in bug #830777
profiles/base/package.use.force:26:~x11-misc/xscreensaver-6.02 xft
profiles/use.desc:354:xft - Build with support for XFT font renderer (x11-libs/libXft)

I think we should probably flip it on. This is what desktop profiles are for, and having it off can mean rather nasty rendering.

This confusion is particularly common with Emacs but also x11-terms/rxvt-unicode.

I'm not even sure who to assign this to though.
Comment 1 Andreas Sturmlechner gentoo-dev 2022-10-11 07:31:53 UTC
+1.
Comment 2 Mart Raudsepp gentoo-dev 2022-10-11 13:45:14 UTC
There might be the aspect of what happens when a package has IUSE="X xft" and user has USE=-X. I would commonly advocate that the USE=xft would just be a no-op then or some such, depending on the package.
Point is, there are some cases like that around, but all in all, I guess wayland-only people can just disable another X related flag globally.
Comment 3 Andreas Sturmlechner gentoo-dev 2022-10-11 13:46:57 UTC
imo that's a concern for when X is no longer default enabled in desktop profile.
Comment 4 Larry the Git Cow gentoo-dev 2022-12-26 23:06:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f04cdccf491b070779952ccb450574eb9bc7fcde

commit f04cdccf491b070779952ccb450574eb9bc7fcde
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-12-26 19:31:20 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-12-26 23:06:16 +0000

    profiles: desktop: Add xft to make.defaults
    
    Closes: https://bugs.gentoo.org/876637
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/targets/desktop/make.defaults | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)