Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215661 - x11-misc/slim dependency on media-fonts/corefonts should be optional
Summary: x11-misc/slim dependency on media-fonts/corefonts should be optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL: http://thread.gmane.org/gmane.linux.g...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 02:13 UTC by Max Arnold
Modified: 2008-11-23 18:11 UTC (History)
2 users (show)

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


Attachments
corefonts dependency removed (slim-1.3.0-r2.ebuild,2.49 KB, text/plain)
2008-07-24 11:41 UTC, Max Arnold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Arnold 2008-04-01 02:13:36 UTC
I think media-fonts/corefonts are not strictly required for x11-misc/slim to run. This dependency can be made optional through appropriate USE flag.

Reproducible: Always
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-01 16:27:28 UTC
"Optional" runtime dependencies shouldn't be controlled via use flags, but either hardcoded or stated in a post install message.
Comment 2 Max Arnold 2008-04-02 09:41:32 UTC
(In reply to comment #1)
> "Optional" runtime dependencies shouldn't be controlled via use flags, but
> either hardcoded or stated in a post install message.
> 

I can't find any recommendations here: http://devmanual.gentoo.org/general-concepts/dependencies/index.html  Can you point some additional guides on this topic?

And what is the logic behind such restriction?  I think sometimes it is useful to control runtime dependencies via USE flags.

Anyway, in this particular case corefonts probably can be removed and only mentioned in postinstall hint. I'm recently switched my system to liberation fonts and slim is the only software that still pulls proprietary MS corefonts.
Comment 3 Max Arnold 2008-07-24 11:41:30 UTC
Created attachment 161256 [details]
corefonts dependency removed

I've removed dependency on corefonts from ebuild and added appropriate notice.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-23 03:32:37 UTC
(In reply to comment #2)
> (In reply to comment #1)

> Anyway, in this particular case corefonts probably can be removed and only
> mentioned in postinstall hint. I'm recently switched my system to liberation
> fonts and slim is the only software that still pulls proprietary MS corefonts.
> 

It needs *some* fonts, right? Anyway, I have added to the URL field the thread I started with regards to this issue. This is not the first time I have seen such a thing.
Comment 5 Max Arnold 2008-09-23 12:02:17 UTC
> It needs *some* fonts, right? Anyway, I have added to the URL field the thread
> I started with regards to this issue. This is not the first time I have seen
> such a thing.

Although I'm not very familiar with X11 font architecture, I think fonts can be located on server and/or client. In case of server side fonts, client probably should not require them.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-02 21:26:38 UTC
(In reply to comment #5)
> > It needs *some* fonts, right? Anyway, I have added to the URL field the thread
> > I started with regards to this issue. This is not the first time I have seen
> > such a thing.
> 
> Although I'm not very familiar with X11 font architecture, I think fonts can be
> located on server and/or client. In case of server side fonts, client probably
> should not require them.
> 

Max, the default theme uses verdana which is provided by corefonts. Since you don't have corefonts on your system, I am intrigued to know the output of:
% fc-match verdana

and 

% equery b <ttf file from above command)

Thanks.
Comment 7 Max Arnold 2008-11-17 12:25:31 UTC
> Max, the default theme uses verdana which is provided by corefonts. Since you
> don't have corefonts on your system, I am intrigued to know the output of:
> % fc-match verdana

Sorry, I no longer have access to that system with SLIM and above-mentioned font setup. But you are probably right and there was no proper Verdana replacement.
Comment 8 nm (RETIRED) gentoo-dev 2008-11-23 12:12:40 UTC
(In reply to comment #6)
> Max, the default theme uses verdana which is provided by corefonts. Since you
> don't have corefonts on your system, I am intrigued to know the output of:
> % fc-match verdana
> 
> and 
> 
> % equery b <ttf file from above command)

Even though the original reporter can't help anymore, I tested this on my system. After unmerging corefonts, here's the output:

$ fc-match verdana
Vera.ttf: "Bitstream Vera Sans" "Roman"

qfile (from portage-utils) and equery (gentoolkit) both list the same owning package:
ttf-bitstream-vera

Definitely doesn't seem need corefonts. If you're running a desktop, then bitstream (or one of the uglier-but-compatible font packages) gets pulled in anyway at some point, with or without a font virtual. I'm all for kicking out the explicit corefonts dep.
Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-11-23 18:11:46 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > Max, the default theme uses verdana which is provided by corefonts. Since you
> > don't have corefonts on your system, I am intrigued to know the output of:
> > % fc-match verdana
> > 
> > and 
> > 
> > % equery b <ttf file from above command)
> 
> Even though the original reporter can't help anymore, I tested this on my
> system. After unmerging corefonts, here's the output:
> 
> $ fc-match verdana
> Vera.ttf: "Bitstream Vera Sans" "Roman"
> 
> qfile (from portage-utils) and equery (gentoolkit) both list the same owning
> package:
> ttf-bitstream-vera
> 
> Definitely doesn't seem need corefonts. If you're running a desktop, then
> bitstream (or one of the uglier-but-compatible font packages) gets pulled in
> anyway at some point, with or without a font virtual. I'm all for kicking out
> the explicit corefonts dep.
> 

Hey, cool. thanks. I'll removed the explicit dep then from 1.3.1-r1