Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277789 - Automatic font installation
Summary: Automatic font installation
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://behdad.org/text/ http://behdad...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 10:20 UTC by Mart Raudsepp
Modified: 2009-07-14 10:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2009-07-14 10:20:51 UTC
This is a tracker for a long term goal feature of getting automatic font installation to Gentoo.

As from the slides in the URL, modified a bit for Gentoo use, this could go like this:

1. A tinderbox package manager hook detects font at pkg build or postinst time
2. Package gets tagged using fc-query(?)
3. PackageKit installs GTK+ module - could be some other minimal thing that just notifies user of what package needs to be installed to see all the fonts
4. GTK+ overrides Pango default fontmap
5. PackageKit receives font install request
6. Installed fonts are picked up

For 2), another option could be to record it in metadata.xml (would involve DTD changes, perhaps a GLEP and dev consensus, but pretty straightforward) and have all developers have PM hooks that check for fonts in a package and complain if metadata.xml is outdated in regards to font information