Skip to content

Generate fonts cache on host and other fixes

Laurentiu Palcu openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8add fontcache.bbclassmeta/classes/fontcache.bbclass+47 -03 replies
2/8add qemuwrapper-cross recipemeta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb+14 -00 replies
3/8qemu.bbclass: return qemuwrapper instead of qemu-allarchmeta/classes/qemu.bbclass+5 -10 replies
4/8image.bbclass: add a proper error message if hook script failsmeta/classes/image.bbclass+4 -00 replies
5/8fontconfig: add sysroot option to fc-cache and fc-catmeta/recipes-graphics/fontconfig/fontconfig-2.10.2/97_fontconfig meta/recipes-graphics/fontconfig/fontconfig-2.10.2/Add-sysroot-option-to-fc-cache-and-fc-cat.patch meta/recipes-graphics/fontconfig/fontconfig_2.10.2.bb+735 -100 replies
6/8liberation-fonts: use the new fontcache.bbclassmeta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb+4 -100 replies
7/8package_ipk, rootfs_ipk: remove the "set -x"meta/classes/package_ipk.bbclass meta/classes/rootfs_ipk.bbclass+2 -20 replies
8/8pulseaudio: do not postpone postinstallmeta/recipes-multimedia/pulseaudio/pulseaudio.inc+1 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Generate fonts cache on host and other fixes

Hi all,

The main addition of this patchset is the ability to generate the fonts cache on host, at do_rootfs time. For that, a new feature has been added to fc-cache and fc-cat in fontconfig package (a --sysroot option basically) and you can find more info on how to use this feature in the comment of the patch itself. I'm working with the fontconfig maintainers to merge this upstream. Also, a new class (fontcache.bbclass) has been added that needs to be included by all font packages, so that the postinst/postrm scriptlets are generated correctly.

Other fixes:
* fix pulseaudio postinstall;
* remove the debugging option from package_ipk/rootfs_ipk bbclass'es because it generates a lot of 'noise' in the log.do_rootfs;
* add a meaningful error message if an intercept hook script fails;

NOTE: the /var/cache directory must NOT be in volatiles in order for the fonts cache to be deployed on target. I sent a patchset yesterday that does exactly that.

Thanks,
Laurentiu

The following changes since commit 7e9cb437b1b720e656f4a33f73c07c5dc7356a2c:

dropbear: fix RPROVIDES (2013-02-04 23:31:02 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib lpalcu/fc-rebased
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/fc-rebased

Laurentiu Palcu (8):
add fontcache.bbclass
add qemuwrapper-cross recipe
qemu.bbclass: return qemuwrapper instead of qemu-allarch image.bbclass: add a proper error message if hook script fails
fontconfig: add sysroot option to fc-cache and fc-cat
liberation-fonts: use the new fontcache.bbclass package_ipk, rootfs_ipk: remove the "set -x"
pulseaudio: do not postpone postinstall

 meta/classes/fontcache.bbclass                     |   47 ++
 meta/classes/image.bbclass                         |    4 +
 meta/classes/package_ipk.bbclass                   |    2 +-
 meta/classes/qemu.bbclass                          |    6 +-
 meta/classes/rootfs_ipk.bbclass                    |    2 +-
 .../recipes-devtools/qemu/qemuwrapper-cross_1.0.bb |   14 +
 .../fontconfig/fontconfig-2.10.2/97_fontconfig     |    1 -
 ...Add-sysroot-option-to-fc-cache-and-fc-cat.patch |  731 ++++++++++++++++++++
 .../fontconfig/fontconfig_2.10.2.bb                |   13 +-
 .../ttf-fonts/liberation-fonts_1.04.bb             |   14 +-
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc  |    7 +-
 11 files changed, 812 insertions(+), 29 deletions(-)
 create mode 100644 meta/classes/fontcache.bbclass
 create mode 100644 meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
 delete mode 100644 meta/recipes-graphics/fontconfig/fontconfig-2.10.2/97_fontconfig
 create mode 100644 meta/recipes-graphics/fontconfig/fontconfig-2.10.2/Add-sysroot-option-to-fc-cache-and-fc-cat.patch
Signature · 1 line
1.7.9.5