* [Buildroot] [PATCH] package/efl/libevas: x-includes and x-libraries must be set for cross-compiling
@ 2015-05-02 20:16 Romain Naour
2015-05-03 9:46 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Romain Naour @ 2015-05-02 20:16 UTC (permalink / raw)
To: buildroot
evas_engine_software_xlib_cflags and evas_engine_software_xlib_libs
contains unsafe libraries paths if x-include and x-libraries are
not set in libevas.mk.
config.log:
evas_engine_software_xlib_cflags='-I/usr/X11R6/include'
evas_engine_software_xlib_libs='-L/usr/X11R6/lib -lX11 -lXext'
Fixes:
http://autobuild.buildroot.net/results/e5f/e5fb1e62cb634b20233751b4ea3b0630de70e9e0/
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
package/efl/libevas/libevas.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/efl/libevas/libevas.mk b/package/efl/libevas/libevas.mk
index 8312902..8113162 100644
--- a/package/efl/libevas/libevas.mk
+++ b/package/efl/libevas/libevas.mk
@@ -63,7 +63,10 @@ LIBEVAS_CONF_OPTS += --enable-buffer
endif
ifeq ($(BR2_PACKAGE_LIBEVAS_X11),y)
-LIBEVAS_CONF_OPTS += --enable-software-xlib
+LIBEVAS_CONF_OPTS += --enable-software-xlib \
+ --with-x=$(STAGING_DIR) \
+ --x-includes=$(STAGING_DIR)/usr/include \
+ --x-libraries=$(STAGING_DIR)/usr/lib
LIBEVAS_DEPENDENCIES += xlib_libX11 xlib_libXext
else
LIBEVAS_CONF_OPTS += --disable-software-xlib
--
1.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/efl/libevas: x-includes and x-libraries must be set for cross-compiling
2015-05-02 20:16 [Buildroot] [PATCH] package/efl/libevas: x-includes and x-libraries must be set for cross-compiling Romain Naour
@ 2015-05-03 9:46 ` Thomas Petazzoni
2015-05-03 10:00 ` Romain Naour
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2015-05-03 9:46 UTC (permalink / raw)
To: buildroot
Dear Romain Naour,
On Sat, 2 May 2015 22:16:36 +0200, Romain Naour wrote:
> evas_engine_software_xlib_cflags and evas_engine_software_xlib_libs
> contains unsafe libraries paths if x-include and x-libraries are
> not set in libevas.mk.
>
> config.log:
> evas_engine_software_xlib_cflags='-I/usr/X11R6/include'
> evas_engine_software_xlib_libs='-L/usr/X11R6/lib -lX11 -lXext'
>
> Fixes:
> http://autobuild.buildroot.net/results/e5f/e5fb1e62cb634b20233751b4ea3b0630de70e9e0/
>
> Signed-off-by: Romain Naour <romain.naour@openwide.fr>
> ---
> package/efl/libevas/libevas.mk | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Applied, thanks. I've done a second commit on libecore with the exact
same fix, because the exact same problem occurred on libecore in my
test build. See
http://git.buildroot.net/buildroot/commit/?id=0d9d8984a9240a27f5ed2e15f1977ada67266906.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/efl/libevas: x-includes and x-libraries must be set for cross-compiling
2015-05-03 9:46 ` Thomas Petazzoni
@ 2015-05-03 10:00 ` Romain Naour
2015-05-03 10:15 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Romain Naour @ 2015-05-03 10:00 UTC (permalink / raw)
To: buildroot
Hi Thomas,
Le 03/05/2015 11:46, Thomas Petazzoni a ?crit :
> Dear Romain Naour,
>
> On Sat, 2 May 2015 22:16:36 +0200, Romain Naour wrote:
>> evas_engine_software_xlib_cflags and evas_engine_software_xlib_libs
>> contains unsafe libraries paths if x-include and x-libraries are
>> not set in libevas.mk.
>>
>> config.log:
>> evas_engine_software_xlib_cflags='-I/usr/X11R6/include'
>> evas_engine_software_xlib_libs='-L/usr/X11R6/lib -lX11 -lXext'
>>
>> Fixes:
>> http://autobuild.buildroot.net/results/e5f/e5fb1e62cb634b20233751b4ea3b0630de70e9e0/
>>
>> Signed-off-by: Romain Naour <romain.naour@openwide.fr>
>> ---
>> package/efl/libevas/libevas.mk | 5 ++++-
>> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> Applied, thanks. I've done a second commit on libecore with the exact
> same fix, because the exact same problem occurred on libecore in my
> test build. See
> http://git.buildroot.net/buildroot/commit/?id=0d9d8984a9240a27f5ed2e15f1977ada67266906.
This is what this path does ;)
http://patchwork.ozlabs.org/patch/467259/
Thanks for fixing this.
Best regards,
Romain
>
> Best regards,
>
> Thomas
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/efl/libevas: x-includes and x-libraries must be set for cross-compiling
2015-05-03 10:00 ` Romain Naour
@ 2015-05-03 10:15 ` Thomas Petazzoni
2015-05-03 10:23 ` Romain Naour
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2015-05-03 10:15 UTC (permalink / raw)
To: buildroot
Dear Romain Naour,
On Sun, 03 May 2015 12:00:48 +0200, Romain Naour wrote:
> This is what this path does ;)
> http://patchwork.ozlabs.org/patch/467259/
Ah, shit, I messed up. I marked this patch as superseded because for me
it was an incorrect previous version of the libevas patch. Sorry about
that :-/
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/efl/libevas: x-includes and x-libraries must be set for cross-compiling
2015-05-03 10:15 ` Thomas Petazzoni
@ 2015-05-03 10:23 ` Romain Naour
0 siblings, 0 replies; 5+ messages in thread
From: Romain Naour @ 2015-05-03 10:23 UTC (permalink / raw)
To: buildroot
Hi Thomas,
Le 03/05/2015 12:15, Thomas Petazzoni a ?crit :
> Dear Romain Naour,
>
> On Sun, 03 May 2015 12:00:48 +0200, Romain Naour wrote:
>
>> This is what this path does ;)
>> http://patchwork.ozlabs.org/patch/467259/
>
> Ah, shit, I messed up. I marked this patch as superseded because for me
> it was an incorrect previous version of the libevas patch. Sorry about
> that :-/
No problem at all :)
I only marked the first patch as Rejected in the patchwork.
I had to send the complete series, instead of send a separate patch.
Best regards,
Romain
>
> Thomas
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-05-03 10:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-02 20:16 [Buildroot] [PATCH] package/efl/libevas: x-includes and x-libraries must be set for cross-compiling Romain Naour
2015-05-03 9:46 ` Thomas Petazzoni
2015-05-03 10:00 ` Romain Naour
2015-05-03 10:15 ` Thomas Petazzoni
2015-05-03 10:23 ` Romain Naour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox