diff mbox series

[1/1] package/libqmi: add Libs.Private to qmi-glib.pc

Message ID 20191030084048.11194-1-fontaine.fabrice@gmail.com
State Not Applicable
Headers show
Series [1/1] package/libqmi: add Libs.Private to qmi-glib.pc | expand

Commit Message

Fabrice Fontaine Oct. 30, 2019, 8:40 a.m. UTC
This will fix a static build failure with modem-manager and libmbim

Fixes:
 - http://autobuild.buildroot.org/results/9c6b8ec2b9cc31f1ab460532c378731ab455210c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...0001-qmi-glib.pc.in-add-Libs.Private.patch | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch

Comments

Aleksander Morgado Oct. 30, 2019, 9:49 a.m. UTC | #1
On Wed, Oct 30, 2019 at 9:40 AM Fabrice Fontaine
<fontaine.fabrice@gmail.com> wrote:
>
> This will fix a static build failure with modem-manager and libmbim
>
> Fixes:
>  - http://autobuild.buildroot.org/results/9c6b8ec2b9cc31f1ab460532c378731ab455210c
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

I've also pushed your merge request to upstream libqmi git master and
qmi-1-24 branches already, thanks for that.

Acked-by: Aleksander Morgado <aleksander@aleksander.es>

> ---
>  ...0001-qmi-glib.pc.in-add-Libs.Private.patch | 31 +++++++++++++++++++
>  1 file changed, 31 insertions(+)
>  create mode 100644 package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch
>
> diff --git a/package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch b/package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch
> new file mode 100644
> index 0000000000..46f32baab4
> --- /dev/null
> +++ b/package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch
> @@ -0,0 +1,31 @@
> +From c816e407b974f72d45f1878427cbeea448b3477a Mon Sep 17 00:00:00 2001
> +From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +Date: Wed, 30 Oct 2019 09:29:59 +0100
> +Subject: [PATCH] qmi-glib.pc.in: add Libs.Private
> +
> +Add @MBIM_LIBS@ to Libs.Private in qmi-glib.pc.in so applications
> +linking statically with qmi-glib (such as modem-manager) will retrieve
> +these dependencies
> +
> +Fixes:
> + - http://autobuild.buildroot.org/results/9c6b8ec2b9cc31f1ab460532c378731ab455210c
> +
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +[Upstream status:
> +https://gitlab.freedesktop.org/mobile-broadband/libqmi/merge_requests/75]
> +---
> + data/pkg-config/qmi-glib.pc.in | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/data/pkg-config/qmi-glib.pc.in b/data/pkg-config/qmi-glib.pc.in
> +index d334494..1d5054f 100644
> +--- a/data/pkg-config/qmi-glib.pc.in
> ++++ b/data/pkg-config/qmi-glib.pc.in
> +@@ -9,3 +9,4 @@ Version: @VERSION@
> + Requires: glib-2.0 gobject-2.0 gio-2.0
> + Cflags: -I${includedir}/libqmi-glib
> + Libs: -L${libdir} -lqmi-glib
> ++Libs.Private: @MBIM_LIBS@
> +--
> +2.23.0
> +
> --
> 2.23.0
>
Giulio Benetti Dec. 20, 2019, 8:12 p.m. UTC | #2
Hi Fabrice,

On 10/30/19 9:40 AM, Fabrice Fontaine wrote:
> This will fix a static build failure with modem-manager and libmbim
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/9c6b8ec2b9cc31f1ab460532c378731ab455210c

I can't reproduce this build failure and so can't test your patch to fix 
it. Basically it builds correctly.
Can you double check?

Thank you
Best regards
Fabrice Fontaine Dec. 20, 2019, 10:34 p.m. UTC | #3
Hi Giulio,

Le ven. 20 déc. 2019 à 21:12, Giulio Benetti
<giulio.benetti@benettiengineering.com> a écrit :
>
> Hi Fabrice,
>
> On 10/30/19 9:40 AM, Fabrice Fontaine wrote:
> > This will fix a static build failure with modem-manager and libmbim
> >
> > Fixes:
> >   - http://autobuild.buildroot.org/results/9c6b8ec2b9cc31f1ab460532c378731ab455210c
>
> I can't reproduce this build failure and so can't test your patch to fix
> it. Basically it builds correctly.
> Can you double check?
As specified in https://patchwork.ozlabs.org/patch/1208297, this patch
is not needed anymore as it has been merged upstream and is already
included in 1.24.2 (see
https://gitlab.freedesktop.org/mobile-broadband/libqmi/blob/1.24.2/data/pkg-config/qmi-glib.pc.in)
so I set it to Not Applicable in patchwork.
>
> Thank you
> Best regards
> --
> Giulio Benetti
> Benetti Engineering sas
Best Regards,

Fabrice
>
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> > ---
> >   ...0001-qmi-glib.pc.in-add-Libs.Private.patch | 31 +++++++++++++++++++
> >   1 file changed, 31 insertions(+)
> >   create mode 100644 package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch
> >
> > diff --git a/package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch b/package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch
> > new file mode 100644
> > index 0000000000..46f32baab4
> > --- /dev/null
> > +++ b/package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch
> > @@ -0,0 +1,31 @@
> > +From c816e407b974f72d45f1878427cbeea448b3477a Mon Sep 17 00:00:00 2001
> > +From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> > +Date: Wed, 30 Oct 2019 09:29:59 +0100
> > +Subject: [PATCH] qmi-glib.pc.in: add Libs.Private
> > +
> > +Add @MBIM_LIBS@ to Libs.Private in qmi-glib.pc.in so applications
> > +linking statically with qmi-glib (such as modem-manager) will retrieve
> > +these dependencies
> > +
> > +Fixes:
> > + - http://autobuild.buildroot.org/results/9c6b8ec2b9cc31f1ab460532c378731ab455210c
> > +
> > +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> > +[Upstream status:
> > +https://gitlab.freedesktop.org/mobile-broadband/libqmi/merge_requests/75]
> > +---
> > + data/pkg-config/qmi-glib.pc.in | 1 +
> > + 1 file changed, 1 insertion(+)
> > +
> > +diff --git a/data/pkg-config/qmi-glib.pc.in b/data/pkg-config/qmi-glib.pc.in
> > +index d334494..1d5054f 100644
> > +--- a/data/pkg-config/qmi-glib.pc.in
> > ++++ b/data/pkg-config/qmi-glib.pc.in
> > +@@ -9,3 +9,4 @@ Version: @VERSION@
> > + Requires: glib-2.0 gobject-2.0 gio-2.0
> > + Cflags: -I${includedir}/libqmi-glib
> > + Libs: -L${libdir} -lqmi-glib
> > ++Libs.Private: @MBIM_LIBS@
> > +--
> > +2.23.0
> > +
> >
>
Giulio Benetti Dec. 20, 2019, 10:35 p.m. UTC | #4
Hi Fabrice,

On 12/20/19 11:34 PM, Fabrice Fontaine wrote:
> Hi Giulio,
> 
> Le ven. 20 déc. 2019 à 21:12, Giulio Benetti
> <giulio.benetti@benettiengineering.com> a écrit :
>>
>> Hi Fabrice,
>>
>> On 10/30/19 9:40 AM, Fabrice Fontaine wrote:
>>> This will fix a static build failure with modem-manager and libmbim
>>>
>>> Fixes:
>>>    - http://autobuild.buildroot.org/results/9c6b8ec2b9cc31f1ab460532c378731ab455210c
>>
>> I can't reproduce this build failure and so can't test your patch to fix
>> it. Basically it builds correctly.
>> Can you double check?
> As specified in https://patchwork.ozlabs.org/patch/1208297, this patch
> is not needed anymore as it has been merged upstream and is already
> included in 1.24.2 (see
> https://gitlab.freedesktop.org/mobile-broadband/libqmi/blob/1.24.2/data/pkg-config/qmi-glib.pc.in)

I've missed that patch.

> so I set it to Not Applicable in patchwork.

Ok, thank you.

Best regards
Giulio Benetti Dec. 20, 2019, 10:38 p.m. UTC | #5
On 12/20/19 11:35 PM, Giulio Benetti wrote:
> Hi Fabrice,
> 
> On 12/20/19 11:34 PM, Fabrice Fontaine wrote:
>> Hi Giulio,
>>
>> Le ven. 20 déc. 2019 à 21:12, Giulio Benetti
>> <giulio.benetti@benettiengineering.com> a écrit :
>>>
>>> Hi Fabrice,
>>>
>>> On 10/30/19 9:40 AM, Fabrice Fontaine wrote:
>>>> This will fix a static build failure with modem-manager and libmbim
>>>>
>>>> Fixes:
>>>>     - http://autobuild.buildroot.org/results/9c6b8ec2b9cc31f1ab460532c378731ab455210c
>>>
>>> I can't reproduce this build failure and so can't test your patch to fix
>>> it. Basically it builds correctly.
>>> Can you double check?
>> As specified in https://patchwork.ozlabs.org/patch/1208297, this patch
>> is not needed anymore as it has been merged upstream and is already
>> included in 1.24.2 (see
>> https://gitlab.freedesktop.org/mobile-broadband/libqmi/blob/1.24.2/data/pkg-config/qmi-glib.pc.in)
> 
> I've missed that patch.
> 
>> so I set it to Not Applicable in patchwork.

Forgot to ask:
can you please give a check of all your patches(you submit a lot :-)) to 
see if they are correctly set in patchwork?

Thanks in advance
Best regards
diff mbox series

Patch

diff --git a/package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch b/package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch
new file mode 100644
index 0000000000..46f32baab4
--- /dev/null
+++ b/package/libqmi/0001-qmi-glib.pc.in-add-Libs.Private.patch
@@ -0,0 +1,31 @@ 
+From c816e407b974f72d45f1878427cbeea448b3477a Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Wed, 30 Oct 2019 09:29:59 +0100
+Subject: [PATCH] qmi-glib.pc.in: add Libs.Private
+
+Add @MBIM_LIBS@ to Libs.Private in qmi-glib.pc.in so applications
+linking statically with qmi-glib (such as modem-manager) will retrieve
+these dependencies
+
+Fixes:
+ - http://autobuild.buildroot.org/results/9c6b8ec2b9cc31f1ab460532c378731ab455210c
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status:
+https://gitlab.freedesktop.org/mobile-broadband/libqmi/merge_requests/75]
+---
+ data/pkg-config/qmi-glib.pc.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/data/pkg-config/qmi-glib.pc.in b/data/pkg-config/qmi-glib.pc.in
+index d334494..1d5054f 100644
+--- a/data/pkg-config/qmi-glib.pc.in
++++ b/data/pkg-config/qmi-glib.pc.in
+@@ -9,3 +9,4 @@ Version: @VERSION@
+ Requires: glib-2.0 gobject-2.0 gio-2.0
+ Cflags: -I${includedir}/libqmi-glib
+ Libs: -L${libdir} -lqmi-glib
++Libs.Private: @MBIM_LIBS@
+-- 
+2.23.0
+