[meta-gnome] evolution-data-server: try to fix g-i data generation

Message ID 20220126060104.578932-1-f_l_k@t-online.de
State New
Headers show
Series [meta-gnome] evolution-data-server: try to fix g-i data generation | expand

Commit Message

Markus Volk Jan. 26, 2022, 6:01 a.m. UTC
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../evolution-data-server/evolution-data-server.bb           | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Khem Raj Jan. 26, 2022, 6:35 a.m. UTC | #1
On Tue, Jan 25, 2022 at 10:01 PM Markus Volk <f_l_k@t-online.de> wrote:
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  .../evolution-data-server/evolution-data-server.bb           | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
> index 9ccaedbcc..c5c7d947f 100644
> --- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
> +++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
> @@ -27,14 +27,15 @@ EXTRA_OECMAKE = " \
>      -DENABLE_UOA=OFF \
>      -DENABLE_GOOGLE_AUTH=OFF \
>      -DENABLE_WEATHER=OFF \
> -    -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper \
> -    -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper \
>      -DVAPIGEN=${STAGING_BINDIR_NATIVE}/vapigen \
>      ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECTION=ON -DENABLE_VALA_BINDINGS=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
>      -D${LKSTRFTIME} \
>      -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
>  "
>
> +EXTRA_OECMAKE:append:class-target = " -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper"
> +EXTRA_OECMAKE:append:class-target = " -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper"
> +

Can you test it for TCLIBC = "musl"


>  PACKAGECONFIG[canberra] = "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra"
>  PACKAGECONFIG[oauth]    = "-DENABLE_OAUTH2=ON,-DENABLE_OAUTH2=OFF,webkitgtk json-glib"
>  PACKAGECONFIG[goa]    = "-DENABLE_GOA=ON,-DENABLE_GOA=OFF,gnome-online-accounts"
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#95097): https://lists.openembedded.org/g/openembedded-devel/message/95097
> Mute This Topic: https://lists.openembedded.org/mt/88691224/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Markus Volk Jan. 26, 2022, 7:18 a.m. UTC | #2
i tried, but there are a lot of systemd patches that are not applying 
and thus i'm unable to compile it. But never mind ... if it doesn't run 
for you, just disable GIR. Maybe i find some time to look into it 
sometime later

Am 26.01.22 um 07:35 schrieb Khem Raj:
> On Tue, Jan 25, 2022 at 10:01 PM Markus Volk <f_l_k@t-online.de> wrote:
>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
>> ---
>>   .../evolution-data-server/evolution-data-server.bb           | 5 +++--
>>   1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
>> index 9ccaedbcc..c5c7d947f 100644
>> --- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
>> +++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
>> @@ -27,14 +27,15 @@ EXTRA_OECMAKE = " \
>>       -DENABLE_UOA=OFF \
>>       -DENABLE_GOOGLE_AUTH=OFF \
>>       -DENABLE_WEATHER=OFF \
>> -    -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper \
>> -    -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper \
>>       -DVAPIGEN=${STAGING_BINDIR_NATIVE}/vapigen \
>>       ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECTION=ON -DENABLE_VALA_BINDINGS=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
>>       -D${LKSTRFTIME} \
>>       -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
>>   "
>>
>> +EXTRA_OECMAKE:append:class-target = " -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper"
>> +EXTRA_OECMAKE:append:class-target = " -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper"
>> +
> Can you test it for TCLIBC = "musl"
>
>
>>   PACKAGECONFIG[canberra] = "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra"
>>   PACKAGECONFIG[oauth]    = "-DENABLE_OAUTH2=ON,-DENABLE_OAUTH2=OFF,webkitgtk json-glib"
>>   PACKAGECONFIG[goa]    = "-DENABLE_GOA=ON,-DENABLE_GOA=OFF,gnome-online-accounts"
>> --
>> 2.25.1
>>
>>
>>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#95098): https://lists.openembedded.org/g/openembedded-devel/message/95098
>> Mute This Topic: https://lists.openembedded.org/mt/88691224/3618223
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [f_l_k@t-online.de]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
Markus Volk Jan. 27, 2022, 7:27 a.m. UTC | #3
thanks to your patches for systemd i could try this now. i have 
successfully built evolution-data-server for musl x86-64 with g-ir and 
vapi. However, also with the recipe that is currently in master. So this 
test is not really helpful.

Am 26.01.22 um 08:18 schrieb Markus Volk:
> i tried, but there are a lot of systemd patches that are not applying 
> and thus i'm unable to compile it. But never mind ... if it doesn't 
> run for you, just disable GIR. Maybe i find some time to look into it 
> sometime later
>
> Am 26.01.22 um 07:35 schrieb Khem Raj:
>> On Tue, Jan 25, 2022 at 10:01 PM Markus Volk <f_l_k@t-online.de> wrote:
>>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
>>> ---
>>>   .../evolution-data-server/evolution-data-server.bb | 5 +++--
>>>   1 file changed, 3 insertions(+), 2 deletions(-)
>>>
>>> diff --git 
>>> a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb 
>>> b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb 
>>>
>>> index 9ccaedbcc..c5c7d947f 100644
>>> --- 
>>> a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
>>> +++ 
>>> b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
>>> @@ -27,14 +27,15 @@ EXTRA_OECMAKE = " \
>>>       -DENABLE_UOA=OFF \
>>>       -DENABLE_GOOGLE_AUTH=OFF \
>>>       -DENABLE_WEATHER=OFF \
>>> -    -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper \
>>> -    -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper \
>>>       -DVAPIGEN=${STAGING_BINDIR_NATIVE}/vapigen \
>>>       ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 
>>> '-DENABLE_INTROSPECTION=ON -DENABLE_VALA_BINDINGS=ON', 
>>> '-DENABLE_INTROSPECTION=OFF', d)} \
>>>       -D${LKSTRFTIME} \
>>>       -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
>>>   "
>>>
>>> +EXTRA_OECMAKE:append:class-target = " 
>>> -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper"
>>> +EXTRA_OECMAKE:append:class-target = " 
>>> -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper"
>>> +
>> Can you test it for TCLIBC = "musl"
>>
>>
>>>   PACKAGECONFIG[canberra] = 
>>> "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra"
>>>   PACKAGECONFIG[oauth]    = 
>>> "-DENABLE_OAUTH2=ON,-DENABLE_OAUTH2=OFF,webkitgtk json-glib"
>>>   PACKAGECONFIG[goa]    = 
>>> "-DENABLE_GOA=ON,-DENABLE_GOA=OFF,gnome-online-accounts"
>>> -- 
>>> 2.25.1
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#95101): https://lists.openembedded.org/g/openembedded-devel/message/95101
> Mute This Topic: https://lists.openembedded.org/mt/88691224/3618223
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [f_l_k@t-online.de]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj Jan. 27, 2022, 5:53 p.m. UTC | #4
On Wed, Jan 26, 2022 at 11:27 PM Markus Volk <f_l_k@t-online.de> wrote:
>
> thanks to your patches for systemd i could try this now. i have
> successfully built evolution-data-server for musl x86-64 with g-ir and
> vapi. However, also with the recipe that is currently in master. So this
> test is not really helpful.

Thats good, can you try it with current master-next ?

>
> Am 26.01.22 um 08:18 schrieb Markus Volk:
> > i tried, but there are a lot of systemd patches that are not applying
> > and thus i'm unable to compile it. But never mind ... if it doesn't
> > run for you, just disable GIR. Maybe i find some time to look into it
> > sometime later
> >
> > Am 26.01.22 um 07:35 schrieb Khem Raj:
> >> On Tue, Jan 25, 2022 at 10:01 PM Markus Volk <f_l_k@t-online.de> wrote:
> >>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> >>> ---
> >>>   .../evolution-data-server/evolution-data-server.bb | 5 +++--
> >>>   1 file changed, 3 insertions(+), 2 deletions(-)
> >>>
> >>> diff --git
> >>> a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
> >>> b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
> >>>
> >>> index 9ccaedbcc..c5c7d947f 100644
> >>> ---
> >>> a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
> >>> +++
> >>> b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
> >>> @@ -27,14 +27,15 @@ EXTRA_OECMAKE = " \
> >>>       -DENABLE_UOA=OFF \
> >>>       -DENABLE_GOOGLE_AUTH=OFF \
> >>>       -DENABLE_WEATHER=OFF \
> >>> -    -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper \
> >>> -    -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper \
> >>>       -DVAPIGEN=${STAGING_BINDIR_NATIVE}/vapigen \
> >>>       ${@bb.utils.contains('GI_DATA_ENABLED', 'True',
> >>> '-DENABLE_INTROSPECTION=ON -DENABLE_VALA_BINDINGS=ON',
> >>> '-DENABLE_INTROSPECTION=OFF', d)} \
> >>>       -D${LKSTRFTIME} \
> >>>       -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
> >>>   "
> >>>
> >>> +EXTRA_OECMAKE:append:class-target = "
> >>> -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper"
> >>> +EXTRA_OECMAKE:append:class-target = "
> >>> -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper"
> >>> +
> >> Can you test it for TCLIBC = "musl"
> >>
> >>
> >>>   PACKAGECONFIG[canberra] =
> >>> "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra"
> >>>   PACKAGECONFIG[oauth]    =
> >>> "-DENABLE_OAUTH2=ON,-DENABLE_OAUTH2=OFF,webkitgtk json-glib"
> >>>   PACKAGECONFIG[goa]    =
> >>> "-DENABLE_GOA=ON,-DENABLE_GOA=OFF,gnome-online-accounts"
> >>> --
> >>> 2.25.1
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >
> >
> >
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#95116): https://lists.openembedded.org/g/openembedded-devel/message/95116
> Mute This Topic: https://lists.openembedded.org/mt/88691224/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
index 9ccaedbcc..c5c7d947f 100644
--- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
+++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
@@ -27,14 +27,15 @@  EXTRA_OECMAKE = " \
     -DENABLE_UOA=OFF \
     -DENABLE_GOOGLE_AUTH=OFF \
     -DENABLE_WEATHER=OFF \
-    -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper \
-    -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper \
     -DVAPIGEN=${STAGING_BINDIR_NATIVE}/vapigen \
     ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECTION=ON -DENABLE_VALA_BINDINGS=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
     -D${LKSTRFTIME} \
     -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
 "
 
+EXTRA_OECMAKE:append:class-target = " -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper"
+EXTRA_OECMAKE:append:class-target = " -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper"
+
 PACKAGECONFIG[canberra] = "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra"
 PACKAGECONFIG[oauth]    = "-DENABLE_OAUTH2=ON,-DENABLE_OAUTH2=OFF,webkitgtk json-glib"
 PACKAGECONFIG[goa]    = "-DENABLE_GOA=ON,-DENABLE_GOA=OFF,gnome-online-accounts"