Skip to contentSkip to conversation

freetype-config broken?

DISCUSSION Gary Thomas 3 participants 6 messages Jul 30, 2014

lore
Share & tools
lore
#0 lore raw

The behaviour of 'freetype-config' (from freetype-native) has changed since this commit:
commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
Author: Richard Purdie <[email protected]>
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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 10 lines · Gary Thomas

The behaviour of 'freetype-config' (from freetype-native) has changed since this commit:
commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
Author: Richard Purdie <[email protected]>
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)

Quoted 6 lines

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.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
In reply to Gary Thomas
Quoted 10 lines · Gary Thomas

The behaviour of 'freetype-config' (from freetype-native) has changed since this commit:
commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
Author: Richard Purdie <[email protected]>
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)

Quoted 7 lines

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

Quoted 12 lines

Thanks

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 11 lines · Khem Raj
Quoted 10 lines · Gary Thomas

The behaviour of 'freetype-config' (from freetype-native) has changed since this commit:
commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
Author: Richard Purdie <[email protected]>
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)

Quoted 8 lines
Quoted 7 lines

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.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#4 lore raw
Quoted 21 lines · Gary Thomas
Quoted 11 lines · Khem Raj
Quoted 10 lines · Gary Thomas

The behaviour of 'freetype-config' (from freetype-native) has changed since this commit:
commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
Author: Richard Purdie <[email protected]>
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)

Quoted 8 lines
Quoted 7 lines

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

Quoted 7 lines

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.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw
Quoted 50 lines · Martin Jansa
Quoted 21 lines · Gary Thomas
Quoted 11 lines · Khem Raj
Quoted 10 lines · Gary Thomas

The behaviour of 'freetype-config' (from freetype-native) has changed since this commit:
commit 3476a49b10093c58b2f89e3d9a8527224f1bd7f6
Author: Richard Purdie <[email protected]>
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)

Quoted 8 lines
Quoted 7 lines

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

Quoted 7 lines

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

Quoted 2 lines

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'

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------