[Fontconfig-bugs] [Bug 59456] New: Adding a --sysroot like option to fc-cache

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 16 00:54:25 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=59456

          Priority: medium
            Bug ID: 59456
          Assignee: fontconfig-bugs at lists.freedesktop.org
           Summary: Adding a --sysroot like option to fc-cache
        QA Contact: freedesktop at behdad.org
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: lpalcu at yahoo.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: fc-cache
           Product: fontconfig

Where working on activating read-only rootfs support in our project (Yocto
Project to be exact) and we aim to have all postinstall scriptlets run on host,
instead of target. However, packages that provide fonts need to run fc-cache in
the postinstall stage. And, even we can get around the architecture-dependent
"problem" by running fc-cache inside qemu user emulator, and change the
fonts.conf file to contain paths pointing to the target rootfs on host, the
cache would contain the entire host path. This is not acceptable when deploying
the image on target...

So, in this case, a --sysroot like option to fc-cache would be of great help.
We could feed it to fc-cache and this path would be prefixed to all paths in
fonts.conf so that the fonts scan can take place but have the final cache
generated without this prefix.

If we implement this feature, would it be accepted?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20130116/40fd3a38/attachment.html>


More information about the Fontconfig-bugs mailing list