Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4336 - xfce4 does not include xorg-xinit as a dependency

Attached to Project: Arch Linux
Opened by Tom Killian (tomk) - Saturday, 01 April 2006, 08:59 GMT
Last edited by Tobias Kieslich (tobias) - Tuesday, 04 December 2007, 18:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity High
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Installing the xfce4 group (pacman -Sy xfce4), on a system with no X components already installed, brings in a long list of dependencies, including the following xorg packages:

xorg-fonts-alias-1.0.1-1
xorg-fonts-encodings-1.0.0-1
xorg-fonts-misc-1.0.0-2
xorg-server-1.0.2-1
xorg-server-utils-1.0.0-1
xorg-utils-1.0.0-1
xorg-xkb-utils-1.0.1-1

However, the completed installation cannot be started, because the 'startxfce4' script needs the 'xinit' command, provided by xorg-xinit, which has not been installed. The solution is the make xorg-clients a dependency of xfce-utils.
This task depends upon

Closed by  Tobias Kieslich (tobias)
Tuesday, 04 December 2007, 18:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  added the comments to the . install file
removed xorg dependency
Comment by Jan de Groot (JGC) - Saturday, 01 April 2006, 10:10 GMT
Somehow one of the packages in the xfce4 group include x-server as dependencies, so this isn't right.

About the xorg dependencies: you can use xfce without Xorg server on the box you installed it on. Either with some non-free X implementation or some X implementation on a remote box. When I install gnome on debian for example, I will get a pure gnome environment without Xorg, this should be the same on archlinux with xfce.
Comment by Tom Killian (tomk) - Saturday, 01 April 2006, 12:47 GMT
Point taken - thanks for the explanation. Assuming KDE is treated the same way, you'd better have a look at that too - it also pulls in xorg-server, and the rest of those listed above.

I don't have stats to back this up, but I believe the majority of DE users, regardless of flavour or distro, will use the DE and the x-server on the same box - that's where I was coming from. Offhand, I can think of one other example (bmpx) where deps are installed to accommodate the most common configuration, even though they are not technically necessary. It's the "sane defaults" concept, I suppose, although I do appreciate the flexibility offered by your alternative.
Comment by Jan de Groot (JGC) - Saturday, 01 April 2006, 15:43 GMT
I think it's logical to include the xorg dummy package in the gnome, kde and xfce4 groups. This would trigger installation of xorg, but since it's only member of a group, it isn't a hard dependency.
Comment by Andreas Radke (AndyRTR) - Wednesday, 07 March 2007, 07:56 GMT
Jan shouldn't we reassign it to Neri?
Comment by Tobias Kieslich (tobias) - Monday, 16 April 2007, 17:56 GMT
since xfce-util brings a startxfce4 script, which resembles the functionality of startx just xfce4 specific I made xorg a dependency of it. I think that is an allright assumption and it brings in a functioning x-server.
Comment by Jan de Groot (JGC) - Monday, 16 April 2007, 18:16 GMT
You know xorg is a shitty dummy package that shouldn't be depended on?
Also, what if you do want xinit, but not a complete X server (XFCE on a terminal server, xorg-server on remote clients)
Comment by Tobias Kieslich (tobias) - Thursday, 03 May 2007, 21:35 GMT
Well Jan that's a good point. xfce4 is supposed to be started by starxfce4 which needs the X-server. Waht dependency would you suggest to pull in a working X installation?
Comment by Jan de Groot (JGC) - Tuesday, 12 June 2007, 06:36 GMT
Packages should not depend on this dummy transition package. Installing xfce will force you to install a vesa driver which you don't need, a mouse and keyboard driver which you don't need in case you want evdev, etc. Also, what if I run xfce on a terminal server? does my terminalserver need xorg-server?
Comment by Tobias Kieslich (tobias) - Tuesday, 12 June 2007, 15:13 GMT
the point is that xfce-utils (the startxfce4 bash script) is a wrapper for startx hence it is dependent.
Comment by Roman Kyrylych (Romashka) - Tuesday, 12 June 2007, 15:18 GMT
[rk@server ~]$ pacman -Qo `which startx`
/usr/bin/startx is owned by xorg-xinit 1.0.4-1

so it should depend on xorg-xinit, not dummy xorg package
Comment by Eric Mertens (glguy) - Friday, 05 October 2007, 22:00 GMT
Just as packages like git mention in their install scripts that tk is needed for certain functionality, so should xfce4 mention that xorg-xinit is needed for startxfce4. XFCE4 itself doesn't need a local xorg installation to be useful, so pretending that it does require it seems unnecessary.

Loading...