* [Buildroot] [PATCH] slang: make install-static do install-pkgconfig
@ 2016-03-13 3:06 Max Filippov
2016-03-13 20:14 ` Peter Korsgaard
2016-03-13 20:20 ` Yann E. MORIN
0 siblings, 2 replies; 8+ messages in thread
From: Max Filippov @ 2016-03-13 3:06 UTC (permalink / raw)
To: buildroot
mc's configure can't find S-Lang because static S-Lang build doesn't
install pkgconfig file into staging. Adding install-pkgconfig to
install-static dependencies fixes that.
Fixes:
http://autobuild.buildroot.net/results/085194f18bc7db1e801d98e6620e3a75fd988cc5/
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch b/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
index ee306a1..b0f8779 100644
--- a/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
+++ b/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
@@ -39,7 +39,8 @@ diff -rup a/autoconf/Makefile.in b/autoconf/Makefile.in
cd slsh; $(MAKE) all
@@ -73,10 +76,11 @@ clean:
cd demo; $(MAKE) clean
- install-static:
+-install-static:
++install-static: install-pkgconfig
cd src; $(MAKE) install-static
+ cd slsh; $(MAKE) install-static
install-pkgconfig: slang.pc
--
2.1.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] slang: make install-static do install-pkgconfig
2016-03-13 3:06 [Buildroot] [PATCH] slang: make install-static do install-pkgconfig Max Filippov
@ 2016-03-13 20:14 ` Peter Korsgaard
2016-03-13 20:17 ` Thomas Petazzoni
2016-03-13 20:20 ` Yann E. MORIN
2016-03-13 20:20 ` Yann E. MORIN
1 sibling, 2 replies; 8+ messages in thread
From: Peter Korsgaard @ 2016-03-13 20:14 UTC (permalink / raw)
To: buildroot
>>>>> "Max" == Max Filippov <jcmvbkbc@gmail.com> writes:
> mc's configure can't find S-Lang because static S-Lang build doesn't
> install pkgconfig file into staging. Adding install-pkgconfig to
> install-static dependencies fixes that.
> Fixes:
> http://autobuild.buildroot.net/results/085194f18bc7db1e801d98e6620e3a75fd988cc5/
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
> ---
> package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> diff --git a/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch b/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
> index ee306a1..b0f8779 100644
Patch description and signed-off-by missing. Alternatively we can drop
the patch and just pass install-pkgconfig to the 'make install' step as
we already need to use a custom make target anyway.
> --- a/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
> +++ b/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
> @@ -39,7 +39,8 @@ diff -rup a/autoconf/Makefile.in b/autoconf/Makefile.in
> cd slsh; $(MAKE) all
> @@ -73,10 +76,11 @@ clean:
> cd demo; $(MAKE) clean
> - install-static:
> +-install-static:
> ++install-static: install-pkgconfig
> cd src; $(MAKE) install-static
> + cd slsh; $(MAKE) install-static
> install-pkgconfig: slang.pc
> --
> 2.1.4
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] slang: make install-static do install-pkgconfig
2016-03-13 20:14 ` Peter Korsgaard
@ 2016-03-13 20:17 ` Thomas Petazzoni
2016-03-13 20:43 ` Peter Korsgaard
2016-03-13 20:20 ` Yann E. MORIN
1 sibling, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2016-03-13 20:17 UTC (permalink / raw)
To: buildroot
Peter,
On Sun, 13 Mar 2016 21:14:51 +0100, Peter Korsgaard wrote:
> Patch description and signed-off-by missing. Alternatively we can drop
> the patch and just pass install-pkgconfig to the 'make install' step as
> we already need to use a custom make target anyway.
This is *exactly* what Max was doing in its first iteration of the
patch, to which Yann replied:
"""
Could you instead fix the
0002-Enable-a-statically-linked-version-of-slsh patch to have
install-static also depend on install-pkgconfig, please?
"""
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] slang: make install-static do install-pkgconfig
2016-03-13 20:14 ` Peter Korsgaard
2016-03-13 20:17 ` Thomas Petazzoni
@ 2016-03-13 20:20 ` Yann E. MORIN
2016-03-13 20:44 ` Peter Korsgaard
1 sibling, 1 reply; 8+ messages in thread
From: Yann E. MORIN @ 2016-03-13 20:20 UTC (permalink / raw)
To: buildroot
Peter, All,
On 2016-03-13 21:14 +0100, Peter Korsgaard spake thusly:
> >>>>> "Max" == Max Filippov <jcmvbkbc@gmail.com> writes:
>
> > mc's configure can't find S-Lang because static S-Lang build doesn't
> > install pkgconfig file into staging. Adding install-pkgconfig to
> > install-static dependencies fixes that.
>
> > Fixes:
> > http://autobuild.buildroot.net/results/085194f18bc7db1e801d98e6620e3a75fd988cc5/
>
> > Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
> > ---
> > package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
>
> > diff --git a/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch b/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
> > index ee306a1..b0f8779 100644
>
> Patch description and signed-off-by missing. Alternatively we can drop
> the patch and just pass install-pkgconfig to the 'make install' step as
> we already need to use a custom make target anyway.
That's what Max did in his first patch, and I asked him to do it in our
patch.
The .pc file is not installed for static-only because *we* added a patch
that breaks down install into install-staging and install-shared.
So it makes more sense to fix our own patch, that work around
deficiencies we added.
Plus, it makes for a patch that can be more easily upstremable.
Regards,
Yann E. MORIN.
> > --- a/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
> > +++ b/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
> > @@ -39,7 +39,8 @@ diff -rup a/autoconf/Makefile.in b/autoconf/Makefile.in
> > cd slsh; $(MAKE) all
> > @@ -73,10 +76,11 @@ clean:
> > cd demo; $(MAKE) clean
> > - install-static:
> > +-install-static:
> > ++install-static: install-pkgconfig
> > cd src; $(MAKE) install-static
> > + cd slsh; $(MAKE) install-static
> > install-pkgconfig: slang.pc
> > --
> > 2.1.4
>
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
>
>
> --
> Bye, Peter Korsgaard
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] slang: make install-static do install-pkgconfig
2016-03-13 3:06 [Buildroot] [PATCH] slang: make install-static do install-pkgconfig Max Filippov
2016-03-13 20:14 ` Peter Korsgaard
@ 2016-03-13 20:20 ` Yann E. MORIN
1 sibling, 0 replies; 8+ messages in thread
From: Yann E. MORIN @ 2016-03-13 20:20 UTC (permalink / raw)
To: buildroot
Max, All,
On 2016-03-13 06:06 +0300, Max Filippov spake thusly:
> mc's configure can't find S-Lang because static S-Lang build doesn't
> install pkgconfig file into staging. Adding install-pkgconfig to
> install-static dependencies fixes that.
>
> Fixes:
> http://autobuild.buildroot.net/results/085194f18bc7db1e801d98e6620e3a75fd988cc5/
>
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch b/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
> index ee306a1..b0f8779 100644
> --- a/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
> +++ b/package/slang/0002-Enable-a-statically-linked-version-of-slsh.patch
> @@ -39,7 +39,8 @@ diff -rup a/autoconf/Makefile.in b/autoconf/Makefile.in
> cd slsh; $(MAKE) all
> @@ -73,10 +76,11 @@ clean:
> cd demo; $(MAKE) clean
> - install-static:
> +-install-static:
> ++install-static: install-pkgconfig
> cd src; $(MAKE) install-static
> + cd slsh; $(MAKE) install-static
> install-pkgconfig: slang.pc
> --
> 2.1.4
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] slang: make install-static do install-pkgconfig
2016-03-13 20:17 ` Thomas Petazzoni
@ 2016-03-13 20:43 ` Peter Korsgaard
0 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2016-03-13 20:43 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> Peter,
> On Sun, 13 Mar 2016 21:14:51 +0100, Peter Korsgaard wrote:
>> Patch description and signed-off-by missing. Alternatively we can drop
>> the patch and just pass install-pkgconfig to the 'make install' step as
>> we already need to use a custom make target anyway.
> This is *exactly* what Max was doing in its first iteration of the
> patch, to which Yann replied:
> """
> Could you instead fix the
> 0002-Enable-a-statically-linked-version-of-slsh patch to have
> install-static also depend on install-pkgconfig, please?
> """
Ok, I missed that mail.
--
Venlig hilsen,
Peter Korsgaard
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] slang: make install-static do install-pkgconfig
2016-03-13 20:20 ` Yann E. MORIN
@ 2016-03-13 20:44 ` Peter Korsgaard
2016-03-13 20:47 ` Yann E. MORIN
0 siblings, 1 reply; 8+ messages in thread
From: Peter Korsgaard @ 2016-03-13 20:44 UTC (permalink / raw)
To: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
Hi,
>> Patch description and signed-off-by missing. Alternatively we can drop
>> the patch and just pass install-pkgconfig to the 'make install' step as
>> we already need to use a custom make target anyway.
> That's what Max did in his first patch, and I asked him to do it in our
> patch.
> The .pc file is not installed for static-only because *we* added a patch
> that breaks down install into install-staging and install-shared.
But that patch is an upstream patch:
Repository: git://git.jedsoft.org/git/slang.git
Commit ID: 3796db6fb94a2fc7fe2fb0b6918501b69a4d3a02
Author: John E. Davis <jed@jedsoft.org>
So just changing what the patch does without updating the comment is
imho not the right way to go. We should instead add a 0003 patch and
send it upstream.
--
Venlig hilsen,
Peter Korsgaard
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] slang: make install-static do install-pkgconfig
2016-03-13 20:44 ` Peter Korsgaard
@ 2016-03-13 20:47 ` Yann E. MORIN
0 siblings, 0 replies; 8+ messages in thread
From: Yann E. MORIN @ 2016-03-13 20:47 UTC (permalink / raw)
To: buildroot
Peter, All,
On 2016-03-13 21:44 +0100, Peter Korsgaard spake thusly:
> >>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
>
> Hi,
>
> >> Patch description and signed-off-by missing. Alternatively we can drop
> >> the patch and just pass install-pkgconfig to the 'make install' step as
> >> we already need to use a custom make target anyway.
>
> > That's what Max did in his first patch, and I asked him to do it in our
> > patch.
> > The .pc file is not installed for static-only because *we* added a patch
> > that breaks down install into install-staging and install-shared.
>
> But that patch is an upstream patch:
>
> Repository: git://git.jedsoft.org/git/slang.git
> Commit ID: 3796db6fb94a2fc7fe2fb0b6918501b69a4d3a02
> Author: John E. Davis <jed@jedsoft.org>
Oh...
> So just changing what the patch does without updating the comment is
> imho not the right way to go. We should instead add a 0003 patch and
> send it upstream.
Definitely.
Thanks! :-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-03-13 20:47 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-13 3:06 [Buildroot] [PATCH] slang: make install-static do install-pkgconfig Max Filippov
2016-03-13 20:14 ` Peter Korsgaard
2016-03-13 20:17 ` Thomas Petazzoni
2016-03-13 20:43 ` Peter Korsgaard
2016-03-13 20:20 ` Yann E. MORIN
2016-03-13 20:44 ` Peter Korsgaard
2016-03-13 20:47 ` Yann E. MORIN
2016-03-13 20:20 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox