All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kai <kai.kang@windriver.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [oe] [meta-oe][PATCH v2] wxwidgets: enable to use private fonts
Date: Thu, 12 May 2022 14:22:47 +0800	[thread overview]
Message-ID: <12c05411-f04e-f956-4ca7-051bc4c0a5fe@windriver.com> (raw)
In-Reply-To: <CAMKF1so30+Ec6+vMCCaKaXy8hrJUeT3pDk=sE2Xa=DPY-VxHFQ@mail.gmail.com>

On 5/11/22 11:21 PM, Khem Raj wrote:
> On Wed, May 11, 2022 at 12:45 AM kai <kai.kang@windriver.com> wrote:
>> From: Kai Kang <kai.kang@windriver.com>
>>
>> Enable option wxUSE_PRIVATE_FONTS of wxwidgets if build with gtk. It
>> allows application to use the font from the given file even if it is
>> not globally installed on the system.
>>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> ---
>> v2:
>> * use upper case 'ON' to align with others in oe
>>
>>   meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb
>> index 6b57cb54c..b9b1dcf0d 100644
>> --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb
>> +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb
>> @@ -39,6 +39,7 @@ EXTRA_OECMAKE += " \
>>       -DwxUSE_LIBTIFF=sys \
>>       -DwxUSE_REGEX=builtin \
>>       -DwxPLATFORM_LIB_DIR=${@d.getVar('baselib').replace('lib', '')} \
>> +    ${@bb.utils.contains('PACKAGECONFIG', 'gtk', '-DwxUSE_PRIVATE_FONTS=ON', '', d)} \
> why not add it to the packageconfig setting itself ?
It is an useful feature for wxwidgets with gui, so I want it  to be 
enabled by default. And it requires pango to make it work.

I can see gtk3 depends on pango but qtbase doesn't. So only check 'gtk' 
here.

Regards,
Kai

>
>>   "
>>   EXTRA_OECMAKE:append:libc-musl = " \
>>       -DHAVE_LOCALE_T=OFF \
>> --
>> 2.17.1
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#97033): https://lists.openembedded.org/g/openembedded-devel/message/97033
>> Mute This Topic: https://lists.openembedded.org/mt/91031050/1997914
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>

-- 
Kai Kang
Wind River Linux



  reply	other threads:[~2022-05-12  6:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11  7:45 [meta-oe][PATCH v2] wxwidgets: enable to use private fonts kai.kang
2022-05-11 15:21 ` [oe] " Khem Raj
2022-05-12  6:22   ` Kai [this message]
2022-05-12 16:15     ` Khem Raj
2022-05-13  3:01       ` Kai

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=12c05411-f04e-f956-4ca7-051bc4c0a5fe@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /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.