Randy McMurchy wrote:
1) Change the installation prefix of GNOME Doc Utils to /usr. This
is probably the preferred (and easiest) solution to implement. There
is precedent of installing some GNOME packages in /usr. See the
GNOME Icon Theme package.
Additionally, because GNOME Doc Utils files are being installed
into $PREFIX/share/xml, and /usr/share/xml must already exist before
GNOME Doc Utils is installed, it seems logical to install GNOME Doc
Utils there (it creates a 'gnome' directory off of $PREFIX/share/xml).
2) This works, but should only be used if it is determined that GNOME
Doc Utils should stay in $GNOME_PREFIX.
Create a symlink /usr/share/xml/gnome which points to
GNOME_PREFIX/share/xml/gnome. This would then allow packages
expecting to see GNOME Doc Utils in the BLFS conventional /usr
directory to work.
I like 1), because it keeps all the docbook stuff in one place.
But 2) has its good points too, the symlink allows people to install the
gnome stuff in one place so if they want to reinstall Gnome they can
delete it in one go but still the gnome stylesheets are available in a
system wide location for apps like gnumeric. A possible third option
might be this ugly sed
sed -i 's,$(datadir)/x,`pkg-config --variable=prefix ORBit-2.0`/share/x,' \
doc/C/Makefile
If that is run just before make -C doc html then it should all `just work'.
Andy
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page