|
Bugzilla – Full Text Bug Listing |
| Summary: | FC: cache for /usr/lib/ooo-2.0/share/fonts/truetype is outdated after update of OpenOffice_org package | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Petr Mladek <pmladek> |
| Component: | OpenOffice.org | Assignee: | Petr Mladek <pmladek> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | suse-beta |
| Version: | Beta 6 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SuSE Linux 10.1 | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
In the package/sub-package which owns the stuff in the
usr/lib/ooo-2.0/share/fonts/truetype directory.
All font-packages have "%run_suseconfig_fonts" in "%post" and "%postun".
If OpenOffice or a sub-package of OpenOffice changes something in a
font-directory, it should do the same.
If CJK-fonts are in that directory (not the case currently for OpenOffice),
the option -c should be added:
%run_suseconfig_fonts -c
Mike, thanks for help. I have fixed it. The fixed package should beavailable on SL 10.1-beta8/NLD10-beta8. |
Sometimes after an update of the package OpenOffice_org, the following messages are printed by the OOo application: --- cut --- $> ooffice FC: cache for /usr/lib/ooo-2.0/share/fonts is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts/truetype is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts/truetype is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts/truetype is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts/truetype is outdated, consider running "fc-cache" as root! --- cut --- They disappear after I run fc-cache as root. Should we update the cache in the %post, %postun script of the package OpenOffice_org? What is the best way to do it? Mike, could you help here?