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.
As long as the X server you need (at build or runtime) specifies
"Requires: <the fonts it needs>", and you specify a dep on the
particular X server, then there should be no problem, as your
package will drag in the X server, which will drag in the fonts.
If you require Xvfb, you should be using:
BuildRequires: Xvfb
(not xorg-x11-server-Xvfb)
That will make your package X implementation agnostic.
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'd suggest to check the changelog to see who made the change, and
drop them an email.
Hope this helps.
--
Mike A. Harris * Open Source Advocate * http://mharris.ca
Linux fans: Check out Tym Morrison's hit new heavy metal single
"Only Linux" at http://tymmorrison.com - If you would like to support
this great Canadian metal artist and open source fanatic, you can buy
a copy of Tym's Solo Project CD at the "Buy CD" link on his site.
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list