Skip to contentSkip to conversation

pkgconfig.bbclass changes

DISCUSSION Koen Kooi 3 participants 5 messages Sep 23, 2008

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

Hi,

Henning fixed up pkgconfig.bbclass (which should die, since autotools.bbclass does a much better job), but I think this:

-       for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
+       for pc in `find ${D} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do

breaks -native recipes.

regards,

Koen

#1 lore raw
Quoted 10 lines · Koen Kooi

Hi,

Henning fixed up pkgconfig.bbclass (which should die, since autotools.bbclass does a much better job), but I think this:

- for pc in `find ${S} -name '*.pc' -type f | grep -v --
'-uninstalled.pc$'`; do
+ for pc in `find ${D} -name '*.pc' -type f | grep -v --
'-uninstalled.pc$'`; do

Quoted 5 lines

breaks -native recipes.

regards,

Koen

Hi,

sorry you are right. This indeed breaks native packages I didnt thought of it, while fixing the pc file of xine.

I think we can not let die pkgconfig.bbclass, because not all features are in autotools.class and there are cases where staging or install do not depend on the autotools install routines.

Bye Henning

author
#2 lore raw
Quoted 13 lines · Henning Heinold
Quoted 12 lines · Koen Kooi

Hi,

Henning fixed up pkgconfig.bbclass (which should die, since autotools.bbclass does a much better job), but I think this:

- for pc in `find ${S} -name '*.pc' -type f | grep -v --
'-uninstalled.pc$'`; do
+ for pc in `find ${D} -name '*.pc' -type f | grep -v --
'-uninstalled.pc$'`; do

breaks -native recipes.

Quoted 8 lines
Quoted 3 lines

regards,

Koen

Hi,

sorry you are right. This indeed breaks native packages I didnt thought of it, while fixing the pc file of xine.

I've been there myself: fixing bugs and then hearing people about -native being broken.

Quoted 3 lines

I think we can not let die pkgconfig.bbclass, because not all features are in autotools.class and there are cases where staging or install do not depend on the autotools install routines.

You are completely right about that, but we should move over autotools based recipes to the autotools code and only use pkgconfig.bbclass for non-autotooled recipes.

regards,

Koen

#3 lore raw
In reply to Henning Heinold
Quoted 12 lines · Henning Heinold
Quoted 11 lines · Koen Kooi

Hi,

Henning fixed up pkgconfig.bbclass (which should die, since autotools.bbclass does a much better job), but I think this:

- for pc in `find ${S} -name '*.pc' -type f | grep -v --
'-uninstalled.pc$'`; do
+ for pc in `find ${D} -name '*.pc' -type f | grep -v --
'-uninstalled.pc$'`; do

breaks -native recipes.

Quoted 8 lines
Quoted 3 lines

regards,

Koen

Hi,

sorry you are right. This indeed breaks native packages I didnt thought of it, while fixing the pc file of xine.

Does anyone know what the proper fix is? .dev does not build at the moment.

Philip

Quoted 11 lines

I think we can not let die pkgconfig.bbclass, because not all features are in autotools.class and there are cases where staging or install do not depend on the autotools install routines.

Bye Henning

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

author
#4 lore raw
Quoted 16 lines · Philip Balister
Quoted 15 lines · Henning Heinold
Quoted 14 lines · Koen Kooi

Hi,

Henning fixed up pkgconfig.bbclass (which should die, since autotools.bbclass does a much better job), but I think this:

- for pc in find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'; do
+ for pc in find ${D} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'; do

breaks -native recipes.

regards,

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Koen

Hi,

sorry you are right. This indeed breaks native packages I didnt thought of it, while fixing the pc file of xine.

Does anyone know what the proper fix is? .dev does not build at the moment.

revert the above hunk, bump PR on affected packages.

regards,

Koen

Quoted 24 lines

Philip

Quoted 5 lines

I think we can not let die pkgconfig.bbclass, because not all features are
in autotools.class and there are cases where staging or install do not depend on the autotools install routines.

Quoted 7 lines

Bye Henning

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

------------------------------------------------------------------------

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel