Bug 678923

Summary: LXDM (and @lxde-desktop group in general) doesn't have enough dependencies
Product: [Fedora] Fedora Reporter: Hedayat Vatankhah <hedayatv>
Component: lxdmAssignee: Christoph Wickert <christoph.wickert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: christoph.wickert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.5.5-0.1.20110328git87c368d7.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-16 16:53:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hedayat Vatankhah 2011-02-20 21:14:40 UTC
Description of problem:
Install a Fedora minimal installation, and then install @lxde-desktop group. You expect to be able to use LXDE desktop. However, this group has apparently many missing dependencies. Since, even Xorg server is not installed. Also, no fonts are installed too. 

How reproducible:
100%

Steps to Reproduce:
1. Do a Fedora install using the installation media. Select minimal install
2. yum install @lxde-desktop
  
Actual results:
You endup with a non-functional LXDE desktop due to missing dependencies (mainly: X server, some fonts, and probably alsa-plugins-pulseaudio).

Expected results:
You should have a working LXDE desktop

Additional info:
I don't know if I should fill extra bug reports to fix all dependency issues, but it seems that lxdm should both depend on some fonts and also X server to be functional.

Comment 1 Christoph Wickert 2011-02-21 00:48:58 UTC
Thanks for the hint. For a start, xorg-x11-server-utils and xorg-x11-xinit seem ok. Not sure about the fonts though. I tried gdm and it doesn't pull in any fonts ether. I need to figure out this a little.

Comment 2 Hedayat Vatankhah 2011-02-21 15:33:25 UTC
Well, I've tried yum groupremove fonts and surprisingly, it didn't tried to remove neither GNOME nor KDE. So, they also do not depend of fonts and there are very rare packages who depend on fonts (e.g. openoffice). 
So, this is a bug against all desktop environments (not sure about XFCE). Anyway, certainly any -desktop group should pull Fonts group too (since IMHO a desktop environment is useless without fonts). I wonder if it is possible to have group dependencies in comps.xml...

Comment 3 Christoph Wickert 2011-02-21 16:21:11 UTC
I think that these desktops should require *some* fonts but not the whole group. We'd need conditionals in comps, depending on if/which language support was selected, it needs to pull in the required fonts. Definitely not trivial... :(

Comment 4 Hedayat Vatankhah 2011-02-21 16:53:31 UTC
AFAIK, the fonts group's default font packages are the minimum set of fonts which is assumed to be required on a desktop. language specific fonts are included in language support groups and will be used by the installer if required. IIRC, yum also automatically installs language specific packages when running in a specific locale. So I think pulling the whole fonts group is reasonable (I'm a member of Fonts SIG and has been around these issues for a while). The fonts group pulls a minimum set of fonts by default which is enough to support almost all scripts with selected default fonts.
You might contact others for more reliable information too since I might be a little mistaken on some aspects.

Comment 5 Christoph Wickert 2011-02-21 17:28:23 UTC
(In reply to comment #4)
> AFAIK, the fonts group's default font packages are the minimum set of fonts
> which is assumed to be required on a desktop. language specific fonts are
> included in language support groups and will be used by the installer if
> required.

http://git.fedorahosted.org/git/?p=comps.git;a=blob;f=comps-f15.xml.in;h=3cb492ff576e5ed980cb479484ddbc334120637f;hb=7848dc5210020e3654c923e1a97db04905fdc255#l1967
28 fonts doesn't look minimal.

Comment 6 Hedayat Vatankhah 2011-02-21 17:52:08 UTC
:) As I said, you can check with someone more knowledgeable in Fonts SIG. But I think these 28 fonts are currently assumed to be minimal for providing a good support for different scripts (e.g. PakType fonts are considered for Arabic family scripts, wqy-zenhei-fonts for Chinese and vlgothic-fonts for Japanese). In fact, the list is still incomplete and more fonts will be added to be "default". 
If some of the fonts are excessive, I think it can be reported as a bug. 

Anyway, if you think it is better, I can bring up this issue in the fonts SIG  mailing list. Maybe it's even their job to fix this issue in the distribution, specially that it is not limited to LXDE?

Comment 7 Hedayat Vatankhah 2011-02-21 21:29:38 UTC
Now I can talk for sure that the whole Fonts group should be pulled in:
http://lists.fedoraproject.org/pipermail/fonts/2011-February/001304.html

Comment 8 Christoph Wickert 2011-03-25 00:59:45 UTC
I have now added:
ConsoleKit-x11
polkit-desktop-policy
setxkbmap
xorg-x11-server-utils
xorg-x11-xinit.

However I am not going to add any fonts regardless of what design folks might say. We have been discussing a similar issue on fedora-devel and notting said, that @base-x is always assumed to be there. Adding a dependency on a groups is impossible anyway and hardcoding particular fonts doesn't make sense. I'm not going to force people to install say Indian or Chinese fonts if they cannot speak these languages and will never use them.

Comment 9 Fedora Update System 2011-03-28 00:41:11 UTC
lxde-common-0.5.5-0.1.20110328git87c368d7.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/lxde-common-0.5.5-0.1.20110328git87c368d7.fc15

Comment 10 Fedora Update System 2011-03-31 20:05:26 UTC
lxde-common-0.5.5-0.1.20110328git87c368d7.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.