All of lore.kernel.org
 help / color / mirror / Atom feed
* freetype-config broken?
@ 2014-07-30 16:37 Gary Thomas
  2014-07-30 17:29 ` Martin Jansa
  2014-07-30 17:32 ` Khem Raj
  0 siblings, 2 replies; 6+ messages in thread
From: Gary Thomas @ 2014-07-30 16:37 UTC (permalink / raw)
  To: openembedded-core

The behaviour of 'freetype-config' (from freetype-native) has
changed since this commit:
   commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
   Author: Richard Purdie <richard.purdie@linuxfoundation.org>
   Date:   Thu May 22 10:59:33 2014 +0100
     binconfig-disabled: Add class and use

This is breaking my build of mplayer which uses freetype-config
to determine how to use the freetype library (in ./configure)

The comment in the commit indicates that this is an improvement
and the path forward, but I don't see how to change the recipes
(and scripts, etc) that rely on this functionality to work in
this new mode.

Any suggestions?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: freetype-config broken?
  2014-07-30 16:37 freetype-config broken? Gary Thomas
@ 2014-07-30 17:29 ` Martin Jansa
  2014-07-30 17:32 ` Khem Raj
  1 sibling, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2014-07-30 17:29 UTC (permalink / raw)
  To: Gary Thomas; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

On Wed, Jul 30, 2014 at 10:37:16AM -0600, Gary Thomas wrote:
> The behaviour of 'freetype-config' (from freetype-native) has
> changed since this commit:
>    commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
>    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
>    Date:   Thu May 22 10:59:33 2014 +0100
>      binconfig-disabled: Add class and use
> 
> This is breaking my build of mplayer which uses freetype-config
> to determine how to use the freetype library (in ./configure)
> 
> The comment in the commit indicates that this is an improvement
> and the path forward, but I don't see how to change the recipes
> (and scripts, etc) that rely on this functionality to work in
> this new mode.
> 
> Any suggestions?

See git log for many examples how it was fixed in other recipes.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: freetype-config broken?
  2014-07-30 16:37 freetype-config broken? Gary Thomas
  2014-07-30 17:29 ` Martin Jansa
@ 2014-07-30 17:32 ` Khem Raj
  2014-07-30 17:57   ` Gary Thomas
  1 sibling, 1 reply; 6+ messages in thread
From: Khem Raj @ 2014-07-30 17:32 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Patches and discussions about the oe-core layer

On Wed, Jul 30, 2014 at 9:37 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> The behaviour of 'freetype-config' (from freetype-native) has
> changed since this commit:
>   commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
>   Author: Richard Purdie <richard.purdie@linuxfoundation.org>
>   Date:   Thu May 22 10:59:33 2014 +0100
>     binconfig-disabled: Add class and use
>
> This is breaking my build of mplayer which uses freetype-config
> to determine how to use the freetype library (in ./configure)
>
> The comment in the commit indicates that this is an improvement
> and the path forward, but I don't see how to change the recipes
> (and scripts, etc) that rely on this functionality to work in
> this new mode.
>
> Any suggestions?
>
add AM_INIT_AUTOMAKE([foreign]) to the configure.in or configure.ac

> Thanks
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: freetype-config broken?
  2014-07-30 17:32 ` Khem Raj
@ 2014-07-30 17:57   ` Gary Thomas
  2014-07-30 19:33     ` Martin Jansa
  0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2014-07-30 17:57 UTC (permalink / raw)
  To: openembedded-core

On 2014-07-30 11:32, Khem Raj wrote:
> On Wed, Jul 30, 2014 at 9:37 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>> The behaviour of 'freetype-config' (from freetype-native) has
>> changed since this commit:
>>    commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
>>    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
>>    Date:   Thu May 22 10:59:33 2014 +0100
>>      binconfig-disabled: Add class and use
>>
>> This is breaking my build of mplayer which uses freetype-config
>> to determine how to use the freetype library (in ./configure)
>>
>> The comment in the commit indicates that this is an improvement
>> and the path forward, but I don't see how to change the recipes
>> (and scripts, etc) that rely on this functionality to work in
>> this new mode.
>>
>> Any suggestions?
>>
> add AM_INIT_AUTOMAKE([foreign]) to the configure.in or configure.ac

I don't see how your suggestion helps.  This package (mplayer) doesn't
use autotools - it has a hand coded configure script, so there is
no configure.{in,ac}

I also looked through the logs and didn't see any recipe which uses
a package that is now marked as binconfig-disabled as to how it
solves the problem.  A pointer/example would really be appreciated.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: freetype-config broken?
  2014-07-30 17:57   ` Gary Thomas
@ 2014-07-30 19:33     ` Martin Jansa
  2014-07-30 20:04       ` Gary Thomas
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2014-07-30 19:33 UTC (permalink / raw)
  To: Gary Thomas; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2196 bytes --]

On Wed, Jul 30, 2014 at 11:57:52AM -0600, Gary Thomas wrote:
> On 2014-07-30 11:32, Khem Raj wrote:
> > On Wed, Jul 30, 2014 at 9:37 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> >> The behaviour of 'freetype-config' (from freetype-native) has
> >> changed since this commit:
> >>    commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
> >>    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
> >>    Date:   Thu May 22 10:59:33 2014 +0100
> >>      binconfig-disabled: Add class and use
> >>
> >> This is breaking my build of mplayer which uses freetype-config
> >> to determine how to use the freetype library (in ./configure)
> >>
> >> The comment in the commit indicates that this is an improvement
> >> and the path forward, but I don't see how to change the recipes
> >> (and scripts, etc) that rely on this functionality to work in
> >> this new mode.
> >>
> >> Any suggestions?
> >>
> > add AM_INIT_AUTOMAKE([foreign]) to the configure.in or configure.ac
> 
> I don't see how your suggestion helps.  This package (mplayer) doesn't
> use autotools - it has a hand coded configure script, so there is
> no configure.{in,ac}
> 
> I also looked through the logs and didn't see any recipe which uses
> a package that is now marked as binconfig-disabled as to how it
> solves the problem.  A pointer/example would really be appreciated.

meta-oe:
6898dae64e79fa81c3b032cb314e3c2d6f2c6e0d
d7363984b83c938db6f0a16ca8732bed69ca8acb
141aedb403e4bb91dac6ffb109ee74dfaee59f81
18ccf18ee4949b785e240d9f8f8983c6554dd4e9
09566d518a56a413303d7d13d496254b467c635b
6cc47fb2b007504be3e32698ed14b1bebc981526

oe-core:
b550572bdad318aed02230496721430eec89c937
d2457880e7bb08b9c2f8d60e70b1d59ed84e9da9
fe277bf0a61d5d7787dba699ee1ed4d979ba5cff
4a971a90988435902a4a8dd9c721d440cd80c0bd
ffffc627b21a3cf8b407d16a437793b5fddf7127
74d73cf1e4607cb313b5e4c7138b555d5999a46d
f0479e60b660778ab27b946d426daa17a08a28ea
437ad15de308769c9251a37ed41dabed5653fc96
17e5793847601d2aeb497ffe14871df65543abfb
ff573270f7e87296840911189fd2087a1bc597f7

It's really not so hard to search for "-config" in git log.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: freetype-config broken?
  2014-07-30 19:33     ` Martin Jansa
@ 2014-07-30 20:04       ` Gary Thomas
  0 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2014-07-30 20:04 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

On 2014-07-30 13:33, Martin Jansa wrote:
> On Wed, Jul 30, 2014 at 11:57:52AM -0600, Gary Thomas wrote:
>> On 2014-07-30 11:32, Khem Raj wrote:
>>> On Wed, Jul 30, 2014 at 9:37 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>> The behaviour of 'freetype-config' (from freetype-native) has
>>>> changed since this commit:
>>>>     commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
>>>>     Author: Richard Purdie <richard.purdie@linuxfoundation.org>
>>>>     Date:   Thu May 22 10:59:33 2014 +0100
>>>>       binconfig-disabled: Add class and use
>>>>
>>>> This is breaking my build of mplayer which uses freetype-config
>>>> to determine how to use the freetype library (in ./configure)
>>>>
>>>> The comment in the commit indicates that this is an improvement
>>>> and the path forward, but I don't see how to change the recipes
>>>> (and scripts, etc) that rely on this functionality to work in
>>>> this new mode.
>>>>
>>>> Any suggestions?
>>>>
>>> add AM_INIT_AUTOMAKE([foreign]) to the configure.in or configure.ac
>>
>> I don't see how your suggestion helps.  This package (mplayer) doesn't
>> use autotools - it has a hand coded configure script, so there is
>> no configure.{in,ac}
>>
>> I also looked through the logs and didn't see any recipe which uses
>> a package that is now marked as binconfig-disabled as to how it
>> solves the problem.  A pointer/example would really be appreciated.
>
> meta-oe:
> 6898dae64e79fa81c3b032cb314e3c2d6f2c6e0d
> d7363984b83c938db6f0a16ca8732bed69ca8acb
> 141aedb403e4bb91dac6ffb109ee74dfaee59f81
> 18ccf18ee4949b785e240d9f8f8983c6554dd4e9
> 09566d518a56a413303d7d13d496254b467c635b
> 6cc47fb2b007504be3e32698ed14b1bebc981526
>
> oe-core:
> b550572bdad318aed02230496721430eec89c937
> d2457880e7bb08b9c2f8d60e70b1d59ed84e9da9
> fe277bf0a61d5d7787dba699ee1ed4d979ba5cff
> 4a971a90988435902a4a8dd9c721d440cd80c0bd
> ffffc627b21a3cf8b407d16a437793b5fddf7127
> 74d73cf1e4607cb313b5e4c7138b555d5999a46d
> f0479e60b660778ab27b946d426daa17a08a28ea
> 437ad15de308769c9251a37ed41dabed5653fc96
> 17e5793847601d2aeb497ffe14871df65543abfb
> ff573270f7e87296840911189fd2087a1bc597f7
>
> It's really not so hard to search for "-config" in git log.
>

Not every change in these lists was relevant (in fact most
were not).  However, I did find an example which worked
for me.

Bottom line - change 'freetype-config XXX' to 'pkg-config freetype2 XXX'

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-30 20:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-30 16:37 freetype-config broken? Gary Thomas
2014-07-30 17:29 ` Martin Jansa
2014-07-30 17:32 ` Khem Raj
2014-07-30 17:57   ` Gary Thomas
2014-07-30 19:33     ` Martin Jansa
2014-07-30 20:04       ` Gary Thomas

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.