Skip to contentSkip to conversation

package/cairo: add optional support for lzo

PATCH New Bernd Kuhls 2 participants 2 messages Feb 21, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/cairo: add optional support for lzo

When lzo was compiled before, cairo will use it as optional dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/cairo-sphinx | grep NEEDED | sort
[...]
 0x0000000000000001 (NEEDED)             Shared library: [liblzo2.so.2]

The build system offers no option to en-/disable lzo support:
https://cgit.freedesktop.org/cairo/tree/configure.ac#n54

---
v2: moved lzo outside BR2_PACKAGE_CAIRO_TEE option (Arnout)

 package/cairo/cairo.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/cairo/cairo.mk +4 -0
index 205250d..6b54b28 100644
@@ -93,6 +93,10 @@ else
 CAIRO_CONF_OPTS += --disable-vg
 endif
 
+ifeq ($(BR2_PACKAGE_LZO),y)
+CAIRO_DEPENDENCIES += lzo
+endif
+
 ifeq ($(BR2_PACKAGE_XORG7),y)
 CAIRO_CONF_OPTS += --enable-xlib --enable-xcb --with-x
 CAIRO_DEPENDENCIES += xlib_libX11 xlib_libXext
Signature · 1 line
2.7.0
#1 lore raw

PATCH v2 1/1 package/cairo: add optional support for lzo

Dear Bernd Kuhls,

Quoted 6 lines · Bernd Kuhls

When lzo was compiled before, cairo will use it as optional dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/cairo-sphinx | grep NEEDED | sort
[...]
 0x0000000000000001 (NEEDED)             Shared library: [liblzo2.so.2]
Quoted 6 lines

The build system offers no option to en-/disable lzo support:
https://cgit.freedesktop.org/cairo/tree/configure.ac#n54

---
v2: moved lzo outside BR2_PACKAGE_CAIRO_TEE option (Arnout)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com