All of lore.kernel.org
 help / color / mirror / Atom feed
From: Floris Bos <bos@je-eigen-domein.nl>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 08/21] qt5base: install bundled fonts to target
Date: Tue, 19 Mar 2013 23:07:27 +0100	[thread overview]
Message-ID: <5148E19F.7030501@je-eigen-domein.nl> (raw)
In-Reply-To: <87obefrrq1.fsf@dell.be.48ers.dk>

On 03/19/2013 10:43 PM, Peter Korsgaard wrote:
>>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>   Thomas> From: Floris Bos <bos@je-eigen-domein.nl>
>   Thomas> If not using font-config, Qt 5 offers a set of standard fonts to
>   Thomas> use instead. Install these to target.
>
> Should that then only happen if !BR2_PACKAGE_QT5BASE_FONTCONFIG?

Could add a check to only execute QT5BASE_INSTALL_TARGET_FONTS if 
!BR2_PACKAGE_QT5BASE_FONTCONFIG, if that looks cleaner.

But the standard Qt build script already causes that:

==
mkspecs/features/qpa/genericunixfontdatabase.prf

CONFIG += qpa/basicunixfontdatabase
contains(QT_CONFIG, fontconfig) {
     DEFINES += Q_FONTCONFIGDATABASE
     LIBS += -lfontconfig
} else {
     fonts.path = $$[QT_INSTALL_LIBS]/fonts
     fonts.files = $$QT_SOURCE_TREE/lib/fonts/*
     INSTALLS += fonts
}
==

If fonts are not installed to staging (by INSTALLS += fonts), they are 
not copied to target either.

-- 
Yours sincerely,

Floris Bos

  reply	other threads:[~2013-03-19 22:07 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19 19:29 [Buildroot] [PATCH v4] More Qt5 stuff Thomas Petazzoni
2013-03-19 19:29 ` [Buildroot] [PATCH v4 01/21] qt5base: add OpenSSL support Thomas Petazzoni
2013-03-19 21:07   ` Peter Korsgaard
2013-03-19 19:29 ` [Buildroot] [PATCH v4 02/21] qt5base: add eglfs graphics backend Thomas Petazzoni
2013-03-19 21:08   ` Peter Korsgaard
2013-03-19 19:29 ` [Buildroot] [PATCH v4 03/21] qt5base: add support for fontconfig, png, jpeg, gif Thomas Petazzoni
2013-03-19 21:10   ` Peter Korsgaard
2013-03-19 19:29 ` [Buildroot] [PATCH v4 04/21] qt5base: add D-Bus support Thomas Petazzoni
2013-03-19 21:11   ` Peter Korsgaard
2013-03-19 19:29 ` [Buildroot] [PATCH v4 05/21] qt5base: add glib support Thomas Petazzoni
2013-03-19 21:14   ` Peter Korsgaard
2013-03-20  8:35     ` Thomas Petazzoni
2013-03-27 17:19       ` Arnout Vandecappelle
2013-03-19 19:29 ` [Buildroot] [PATCH v4 06/21] qt5base: add support to build against ICU Thomas Petazzoni
2013-03-19 21:40   ` Peter Korsgaard
2013-03-19 19:29 ` [Buildroot] [PATCH v4 07/21] qt5base: add rPi EGL glue code Thomas Petazzoni
2013-03-19 21:41   ` Peter Korsgaard
2013-03-19 19:29 ` [Buildroot] [PATCH v4 08/21] qt5base: install bundled fonts to target Thomas Petazzoni
2013-03-19 21:43   ` Peter Korsgaard
2013-03-19 22:07     ` Floris Bos [this message]
2013-03-19 19:29 ` [Buildroot] [PATCH v4 09/21] qt5: factor Qt5 version Thomas Petazzoni
2013-03-24 13:43   ` Peter Korsgaard
2013-03-19 19:29 ` [Buildroot] [PATCH v4 10/21] qt5/qt5svg: new package Thomas Petazzoni
2013-03-24 13:46   ` Peter Korsgaard
2013-03-27 17:26     ` Arnout Vandecappelle
2013-03-19 19:29 ` [Buildroot] [PATCH v4 11/21] qt5/qt5script: " Thomas Petazzoni
2013-03-19 19:29 ` [Buildroot] [PATCH v4 12/21] qt5/qt5imageformats: " Thomas Petazzoni
2013-03-19 19:29 ` [Buildroot] [PATCH v4 13/21] qt5/qt5xmlpatterns: " Thomas Petazzoni
2013-03-19 19:29 ` [Buildroot] [PATCH v4 14/21] qt5/qt5jsbackend: " Thomas Petazzoni
2013-03-19 19:29 ` [Buildroot] [PATCH v4 15/21] qt5/qt5declarative: " Thomas Petazzoni
2013-03-19 19:29 ` [Buildroot] [PATCH v4 16/21] qt5/qt5graphicaleffects: " Thomas Petazzoni
2013-03-24 18:52   ` Samuel Martin
2013-03-19 19:29 ` [Buildroot] [PATCH v4 17/21] qt5/qt5multimedia: " Thomas Petazzoni
2013-03-19 19:29 ` [Buildroot] [PATCH v4 18/21] qt5/qt5quick1: " Thomas Petazzoni
2013-03-19 19:29 ` [Buildroot] [PATCH v4 19/21] qt5/qt5webkit: " Thomas Petazzoni
2013-03-19 19:29 ` [Buildroot] [PATCH v4 20/21] qt5webkit: add EGL dir to includepath Thomas Petazzoni
2013-03-19 19:29 ` [Buildroot] [PATCH v4 21/21] qt5: disallow the selection of Qt4 and Qt5 Thomas Petazzoni
2013-03-27 17:27   ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5148E19F.7030501@je-eigen-domein.nl \
    --to=bos@je-eigen-domein.nl \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.