default font "fixed" in xorg 7.1

Kristian Høgsberg krh at redhat.com
Tue Sep 5 19:20:29 UTC 2006


Dan Horák wrote:
> Mike A. Harris píše v Po 04. 09. 2006 v 16:47 -0400:
>> Dan Horák wrote:
>>> Hello,
>>>
>>> I have a problem with rebuilding the TinyERP package for Fedora Extras.
>>> It needs to start a X server during the build process, so there is a
>>> "BuildRequires" dependency on xorg-x11-server-xvfb. The X server needs a
>>> default font "fixed", so there is a "BuildRequires" dependency on
>>> xorg-x11-fonts-base. When you look into the fonts-base package than the
>>> font "fixed" is defined in the /usr/share/X11/fonts/misc/fonts.alias
>>> file. This was sufficient at least until the last build of this package
>>> on July 24. In current Fedora Devel there is a problem because the font
>>> "fixed" cannot be found. So what happened to the font "fixed"?
>>>
>>> You can find the build logs at
>>> http://buildsys.fedoraproject.org/logs/fedora-development-extras/16094-tinyerp-3.3.0-3.fc6/
>> Each of the X server subpackages that requires fixed/cursor fonts in
>> order to work properly at runtime, should be doing:
>>
>> Requires: xorg-x11-fonts-base
>>
> 
> Yes, this is for runtime, but I need it during the build. Even now all
> servers should depend on fonts-base, so ot should sufficient to make a
> dependency only on the server.
> 
>> That way at X server installation time, there is a runtime dependency
>> on the fonts that are required to operate properly.  I could have
>> sworn such a dependency was present before, however I could be
>> mistaken, or it's possible the dependency was removed to allow OLPC
>> to be able to install a minimal installation or somesuch.
>>
>> I haven't tracked recent Fedora X packaging though..  it's possible
>> a glitch might have creeped in perhaps.  Check and make sure that
>> The actual fonts are installed, and that there is a valid fonts.dir
>> in the directory.
>>
> 
> I have compared the fonts-base packages from FC5 and devel and they
> differ only in content of the font files (*.pcf.gz). So something must
> be changed in the xorg-x11-server package and I have found a note in the
> changelog for version 1.1.1-10.fc6 (revision 1.130 from July 26):
> "- Fix default font path to match the config file we used to generate"
> http://cvs.fedora.redhat.com/viewcvs/rpms/xorg-x11-server/devel/xorg-x11-server.spec?rev=1.165&view=log
> 
> Could someone explain the consequences of this change to me?

I recently updated the fonts packages to fix a cosmetic issue when uninstalling:

   http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197208

The change was to change lines of the form

   if [ "$1" = "0" ]; then

to

   if [ "$1" = "0" -a -d %{_x11fontdir}/misc ]; then

in the %postun sections, so the script is only run when the font directory in 
question exists.  The change looks good to me, but maybe I'm missing 
something.  It definitely sounds related to the problem you're seeing.

Kristian





More information about the fedora-devel-list mailing list