Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 872119

Summary: x11-base/xorg-x11[fonts]: depends on non-free font media-fonts/font-bh-ttf
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: bog, dark.knight.ita, flyser42, gentoo, holger, konstantin.popov.89, kripton, linder.gabriel, main.haarp, Manfred.Knick, mcrawford, pacho, trekie
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=873973
https://github.com/gentoo/gentoo/pull/27762
Whiteboard:
Package list:
Runtime testing required: ---

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-21 02:19:54 UTC
Is there any chance we could depend on virtual/ttf-fonts or add some alternative to media-fonts/font-bh-ttf? Otherwise users have to, for quite a common package, make an ACCEPT_LICENSE change.
Comment 1 Larry the Git Cow gentoo-dev 2022-10-01 16:32:22 UTC
The bug has been referenced in the following commit(s):

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

commit 8e257ee40dcad9b33e1d9949eeee3aeff3bbd642
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-10-01 16:31:19 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-10-01 16:32:13 +0000

    profiles: Mask x11-base/xorg-x11 for removal
    
    Bug: https://bugs.gentoo.org/755233
    Bug: https://bugs.gentoo.org/872119
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 2 Michael Crawford (ali3nx) 2022-10-01 17:26:15 UTC
I ask if this is masked for removal what is replacing this valuable meta package?  
  
Users still do frequently has a consequence of not using this meta package become recipients of incomplete semi functional system configurations due to the 20 something x11-apps packages that are dependencies not installed by only installing xorg-server.

Of the most common "My system isn't working properly" issues I encounter and have helped users with this is one of the most common because they followed the xorg wiki guide advice to only install xorg-server.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-01 19:32:44 UTC
While I can't speak for Matt, we could possibly keep it if someone else (a user can too!) maintains it. It's just become too much hassle for x11@.
Comment 4 Matt Turner gentoo-dev 2022-10-01 20:06:35 UTC
(In reply to Michael Crawford (ali3nx) from comment #2)
> I ask if this is masked for removal what is replacing this valuable meta
> package?  
>   
> Users still do frequently has a consequence of not using this meta package
> become recipients of incomplete semi functional system configurations due to
> the 20 something x11-apps packages that are dependencies not installed by
> only installing xorg-server.

What package have you found to be missing that leads to a semi functional system?
Comment 5 Holger Hoffstätte 2022-10-01 21:06:55 UTC
(In reply to Matt Turner from comment #4)
> (In reply to Michael Crawford (ali3nx) from comment #2)
> > I ask if this is masked for removal what is replacing this valuable meta
> > package?  
> >   
> > Users still do frequently has a consequence of not using this meta package
> > become recipients of incomplete semi functional system configurations due to
> > the 20 something x11-apps packages that are dependencies not installed by
> > only installing xorg-server.
> 
> What package have you found to be missing that leads to a semi functional
> system?

Maybe it makes more sense to ask how I'm supposed to know which of the following packages are required? I just unmerged xorg-x11 and now depclean wants to remove:

 media-fonts/font-adobe-100dpi
 media-fonts/font-adobe-75dpi
 media-fonts/font-adobe-utopia-100dpi
 media-fonts/font-adobe-utopia-75dpi
 media-fonts/font-adobe-utopia-type1
 media-fonts/font-alias
 media-fonts/font-arabic-misc
 media-fonts/font-bh-100dpi
 media-fonts/font-bh-75dpi
 media-fonts/font-bh-lucidatypewriter-100dpi
 media-fonts/font-bh-lucidatypewriter-75dpi
 media-fonts/font-bh-ttf
 media-fonts/font-bh-type1
 media-fonts/font-bitstream-100dpi
 media-fonts/font-bitstream-75dpi
 media-fonts/font-bitstream-speedo
 media-fonts/font-bitstream-type1
 media-fonts/font-cronyx-cyrillic
 media-fonts/font-cursor-misc
 media-fonts/font-daewoo-misc
 media-fonts/font-dec-misc
 media-fonts/font-ibm-type1
 media-fonts/font-isas-misc
 media-fonts/font-jis-misc
 media-fonts/font-micro-misc
 media-fonts/font-misc-cyrillic
 media-fonts/font-misc-ethiopic
 media-fonts/font-misc-misc
 media-fonts/font-mutt-misc
 media-fonts/font-schumacher-misc
 media-fonts/font-screen-cyrillic
 media-fonts/font-sony-misc
 media-fonts/font-sun-misc
 media-fonts/font-winitzki-cyrillic
 media-fonts/font-xfree86-type1
 x11-apps/appres
 x11-apps/bdftopcf
 x11-apps/bitmap
 x11-apps/luit
 x11-apps/sessreg
 x11-apps/smproxy
 x11-apps/x11perf
 x11-apps/xbacklight
 x11-apps/xcmsdb
 x11-apps/xcursorgen
 x11-apps/xdpyinfo
 x11-apps/xdriinfo
 x11-apps/xev
 x11-apps/xf86dga
 x11-apps/xgamma
 x11-apps/xhost
 x11-apps/xinput
 x11-apps/xkbevd
 x11-apps/xkbutils
 x11-apps/xkill
 x11-apps/xlsatoms
 x11-apps/xlsclients
 x11-apps/xmodmap
 x11-apps/xpr
 x11-apps/xrandr
 x11-apps/xrefresh
 x11-apps/xsetroot
 x11-apps/xvinfo
 x11-apps/xwd
 x11-apps/xwininfo
 x11-apps/xwud
 x11-libs/libXxf86dga
 x11-misc/makedepend
 x11-themes/xcursor-themes

I can live without x11perf and probably a few others, but it should be pretty clear that depcleaning all these will likely result in a few lost toes.
Are we supposed to manually add them to the world set?
Comment 6 Matt Turner gentoo-dev 2022-10-01 22:39:36 UTC
(In reply to Holger Hoffstätte from comment #5)
> (In reply to Matt Turner from comment #4)
> > (In reply to Michael Crawford (ali3nx) from comment #2)
> > > I ask if this is masked for removal what is replacing this valuable meta
> > > package?  
> > >   
> > > Users still do frequently has a consequence of not using this meta package
> > > become recipients of incomplete semi functional system configurations due to
> > > the 20 something x11-apps packages that are dependencies not installed by
> > > only installing xorg-server.
> > 
> > What package have you found to be missing that leads to a semi functional
> > system?
> 
> Maybe it makes more sense to ask how I'm supposed to know which of the
> following packages are required? I just unmerged xorg-x11 and now depclean
> wants to remove:
> 
>  media-fonts/font-adobe-100dpi
>  media-fonts/font-adobe-75dpi
>  media-fonts/font-adobe-utopia-100dpi
>  media-fonts/font-adobe-utopia-75dpi
>  media-fonts/font-adobe-utopia-type1
>  media-fonts/font-alias
>  media-fonts/font-arabic-misc
>  media-fonts/font-bh-100dpi
>  media-fonts/font-bh-75dpi
>  media-fonts/font-bh-lucidatypewriter-100dpi
>  media-fonts/font-bh-lucidatypewriter-75dpi
>  media-fonts/font-bh-ttf
>  media-fonts/font-bh-type1
>  media-fonts/font-bitstream-100dpi
>  media-fonts/font-bitstream-75dpi
>  media-fonts/font-bitstream-speedo
>  media-fonts/font-bitstream-type1
>  media-fonts/font-cronyx-cyrillic
>  media-fonts/font-cursor-misc
>  media-fonts/font-daewoo-misc
>  media-fonts/font-dec-misc
>  media-fonts/font-ibm-type1
>  media-fonts/font-isas-misc
>  media-fonts/font-jis-misc
>  media-fonts/font-micro-misc
>  media-fonts/font-misc-cyrillic
>  media-fonts/font-misc-ethiopic
>  media-fonts/font-misc-misc
>  media-fonts/font-mutt-misc
>  media-fonts/font-schumacher-misc
>  media-fonts/font-screen-cyrillic
>  media-fonts/font-sony-misc
>  media-fonts/font-sun-misc
>  media-fonts/font-winitzki-cyrillic
>  media-fonts/font-xfree86-type1
>  x11-apps/appres
>  x11-apps/bdftopcf
>  x11-apps/bitmap
>  x11-apps/luit
>  x11-apps/sessreg
>  x11-apps/smproxy
>  x11-apps/x11perf
>  x11-apps/xbacklight
>  x11-apps/xcmsdb
>  x11-apps/xcursorgen
>  x11-apps/xdpyinfo
>  x11-apps/xdriinfo
>  x11-apps/xev
>  x11-apps/xf86dga
>  x11-apps/xgamma
>  x11-apps/xhost
>  x11-apps/xinput
>  x11-apps/xkbevd
>  x11-apps/xkbutils
>  x11-apps/xkill
>  x11-apps/xlsatoms
>  x11-apps/xlsclients
>  x11-apps/xmodmap
>  x11-apps/xpr
>  x11-apps/xrandr
>  x11-apps/xrefresh
>  x11-apps/xsetroot
>  x11-apps/xvinfo
>  x11-apps/xwd
>  x11-apps/xwininfo
>  x11-apps/xwud
>  x11-libs/libXxf86dga
>  x11-misc/makedepend
>  x11-themes/xcursor-themes
> 
> I can live without x11perf and probably a few others, but it should be
> pretty clear that depcleaning all these will likely result in a few lost
> toes.
> Are we supposed to manually add them to the world set?

I think the answer is that none of them are required. My guess is that you may have used xrandr, xev, xhost, or xwd at some point, but probably none of the others.

My suspicion is that you won't miss any of the fonts either.

But yes, if you want something specific, add it to your @world.
Comment 7 Michael Crawford (ali3nx) 2022-10-01 23:20:41 UTC
(In reply to Matt Turner from comment #4)
> (In reply to Michael Crawford (ali3nx) from comment #2)
> > I ask if this is masked for removal what is replacing this valuable meta
> > package?  
> >   
> > Users still do frequently has a consequence of not using this meta package
> > become recipients of incomplete semi functional system configurations due to
> > the 20 something x11-apps packages that are dependencies not installed by
> > only installing xorg-server.
> 
> What package have you found to be missing that leads to a semi functional
> system?

Currently not aware of all of the x11 apps packages omitted by only installing xorg-server instead of xorg-x11 but among those that are that I recall from observing others we've helped somewhat recently on the discord support is one of the significant packages used to adjust backlight brightness.

The overall standing concern stems from users that are not not aware of what a functional system configuration will benefit from and require due to inexperience and or recommendation by the wiki to avoid installing functionally complete configuration.

The common difference between xorg-server and xorg-x11 including the fonts packages with a desktop profile weighs in at as best i recall around ~90 packages.

That's not an entirely insignificant volume of packages that even I don't recall all of them by name and has been a too frequent common concern I encounter when attempting to aid users with system configurations encountering complications.
Comment 8 Matt Turner gentoo-dev 2022-10-01 23:39:41 UTC
(In reply to Michael Crawford (ali3nx) from comment #7)
> (In reply to Matt Turner from comment #4)
> > (In reply to Michael Crawford (ali3nx) from comment #2)
> > > I ask if this is masked for removal what is replacing this valuable meta
> > > package?  
> > >   
> > > Users still do frequently has a consequence of not using this meta package
> > > become recipients of incomplete semi functional system configurations due to
> > > the 20 something x11-apps packages that are dependencies not installed by
> > > only installing xorg-server.
> > 
> > What package have you found to be missing that leads to a semi functional
> > system?
> 
> Currently not aware of all of the x11 apps packages omitted by only
> installing xorg-server instead of xorg-x11 but among those that are that I
> recall from observing others we've helped somewhat recently on the discord
> support is one of the significant packages used to adjust backlight
> brightness.

It's funny that you mention that. One of the reasons for removing the metapackage is that it pulls in xbacklight which often doesn't work for users (bug 755233).
Comment 9 Michael Crawford (ali3nx) 2022-10-01 23:47:36 UTC
(In reply to Matt Turner from comment #8)
> (In reply to Michael Crawford (ali3nx) from comment #7)
> > (In reply to Matt Turner from comment #4)
> > > (In reply to Michael Crawford (ali3nx) from comment #2)
> > > > I ask if this is masked for removal what is replacing this valuable meta
> > > > package?  
> > > >   
> > > > Users still do frequently has a consequence of not using this meta package
> > > > become recipients of incomplete semi functional system configurations due to
> > > > the 20 something x11-apps packages that are dependencies not installed by
> > > > only installing xorg-server.
> > > 
> > > What package have you found to be missing that leads to a semi functional
> > > system?
> > 
> > Currently not aware of all of the x11 apps packages omitted by only
> > installing xorg-server instead of xorg-x11 but among those that are that I
> > recall from observing others we've helped somewhat recently on the discord
> > support is one of the significant packages used to adjust backlight
> > brightness.
> 
> It's funny that you mention that. One of the reasons for removing the
> metapackage is that it pulls in xbacklight which often doesn't work for
> users (bug 755233).

I was unaware of that concern but that package name just stood out as a more significant representation because of it's name.

Perhaps some of those fonts packages are already or could be added in addition to fonts-meta and that would resolve the fonts side of the total xorg-x11 meta package.

The overall total of 32 x11-apps packages is a greater concern. if xbacklight needs to be depreciated remove it alone or was there something you perhaps had in mind to have the remaining x11-apps packages easily referenced for installation by novice users?

There has been in recent years an overwhelming influence upon new or novice gentoo users whom have been influenced to believe "gentoo is minimal" when they may lack the experience to understand the consequences of omitting packages in a software build environment.

the xorg-x11 meta package has always filled that role exceptionally well.
Comment 10 Georgy Yakovlev archtester gentoo-dev 2022-10-02 17:30:40 UTC
I too, personally, still find this metapackage useful on minimal-X systems without DE and just with minimal WM + apps.

without it system can end up without xkill, xhost, xmodmap, sessreg, xlsclients, xev, xsetroot, setxkbmap, xprop ... unless user explicitly installs those.

Some session startup scripts (even those that come with xinit[twm]) will not work properly without some of the mentioned apps and session will not start.

ofc  will we can modify xinit PDEPEND for USE=twm ofc to include all used apps, but issues with other WMs still stay.

Maybe just pulling acpilight first in order and not using IUSE=+fonts is a good enough alternative to completely removing the package?

or maybe introducing xorg-tools metapackage that just pulls apps instead?

it's an easy package to add to world and forget, unlike hunting for all small utilities 1 by 1.
Comment 11 Larry the Git Cow gentoo-dev 2022-10-13 16:26:35 UTC
The bug has been closed via the following commit(s):

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

commit b9ccfc75cfd84824c268d2ef82e2969a0cdc4fdb
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-10-13 05:01:30 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-10-13 16:24:56 +0000

    x11-base/xorg-fonts: Add new metapackage
    
    Thanks to Marius Stoica for the proposal and initial ebuild.
    
    Closes: https://bugs.gentoo.org/872119
    Closes: https://bugs.gentoo.org/873973
    Closes: https://github.com/gentoo/gentoo/pull/27762
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-base/xorg-fonts/metadata.xml        |  9 ++++++
 x11-base/xorg-fonts/xorg-fonts-1.ebuild | 54 +++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
Comment 12 Matt Turner gentoo-dev 2022-10-13 18:14:20 UTC
I've additionally pushed a x11-base/xorg-apps metapackage that RDEPENDs on all the x11-apps/ packages from https://cgit.freedesktop.org/xorg/app/

It's purpose is to pull in all the x11-apps/ packages from https://cgit.freedesktop.org/xorg/app/, not to be some package that we debate over what is useful for users.
Comment 13 Larry the Git Cow gentoo-dev 2022-10-13 21:57:54 UTC
The bug has been referenced in the following commit(s):

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

commit 0798c428cbb1a48239ac8ba01cb9a332f483fd72
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-13 21:57:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-13 21:57:46 +0000

    profiles: mention x11-base/xorg-apps, x11-base/xorg-fonts in xorg-x11 mask
    
    Bug: https://bugs.gentoo.org/755233
    Bug: https://bugs.gentoo.org/872119
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 3 +++
 1 file changed, 3 insertions(+)