diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2019-02-14 13:48:57 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-15 08:17:49 +0000 |
commit | 1d1dc29618dd1c5f3cc93101b77c3323a80a0c97 (patch) | |
tree | 2e9b39f7cd558c389a853c56e53274bb4c2e332a /meta/recipes-graphics/cairo/cairo_1.14.12.bb | |
parent | bdb23bd1e3a17594f0352fabf3df90011940b0a0 (diff) | |
download | poky-1d1dc29618dd1c5f3cc93101b77c3323a80a0c97.tar.gz |
cairo: upgrade 1.14.12 -> 1.16.0
* For changes, see:
https://www.cairographics.org/releases/ChangeLog.cairo-1.16.0
* Remove the backported patch.
* libcairo-trace isn't a version lib anymore, fix the packaging and
include it in perf-utils.
(From OE-Core rev: ce6f4f3e40e8864e50bb06be37250f4e6f323acd)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/cairo/cairo_1.14.12.bb')
-rw-r--r-- | meta/recipes-graphics/cairo/cairo_1.14.12.bb | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/meta/recipes-graphics/cairo/cairo_1.14.12.bb b/meta/recipes-graphics/cairo/cairo_1.14.12.bb deleted file mode 100644 index ad6745f60d..0000000000 --- a/meta/recipes-graphics/cairo/cairo_1.14.12.bb +++ /dev/null | |||
@@ -1,87 +0,0 @@ | |||
1 | SUMMARY = "The Cairo 2D vector graphics library" | ||
2 | DESCRIPTION = "Cairo is a multi-platform library providing anti-aliased \ | ||
3 | vector-based rendering for multiple target backends. Paths consist \ | ||
4 | of line segments and cubic splines and can be rendered at any width \ | ||
5 | with various join and cap styles. All colors may be specified with \ | ||
6 | optional translucence (opacity/alpha) and combined using the \ | ||
7 | extended Porter/Duff compositing algebra as found in the X Render \ | ||
8 | Extension." | ||
9 | HOMEPAGE = "http://cairographics.org" | ||
10 | BUGTRACKER = "http://bugs.freedesktop.org" | ||
11 | SECTION = "libs" | ||
12 | |||
13 | LICENSE = "MPL-1 & LGPLv2.1 & GPLv3+" | ||
14 | LICENSE_${PN} = "MPL-1 & LGPLv2.1" | ||
15 | LICENSE_${PN}-dev = "MPL-1 & LGPLv2.1" | ||
16 | LICENSE_${PN}-doc = "MPL-1 & LGPLv2.1" | ||
17 | LICENSE_${PN}-gobject = "MPL-1 & LGPLv2.1" | ||
18 | LICENSE_${PN}-script-interpreter = "MPL-1 & LGPLv2.1" | ||
19 | LICENSE_${PN}-perf-utils = "GPLv3+" | ||
20 | |||
21 | LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77" | ||
22 | |||
23 | DEPENDS = "fontconfig glib-2.0 libpng pixman zlib" | ||
24 | |||
25 | SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.xz \ | ||
26 | file://cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff \ | ||
27 | file://0001-cairo-Fix-CVE-2017-9814.patch \ | ||
28 | " | ||
29 | |||
30 | SRC_URI[md5sum] = "9f0db9dbfca0966be8acd682e636d165" | ||
31 | SRC_URI[sha256sum] = "8c90f00c500b2299c0a323dd9beead2a00353752b2092ead558139bd67f7bf16" | ||
32 | |||
33 | inherit autotools pkgconfig upstream-version-is-even gtk-doc multilib_script | ||
34 | |||
35 | MULTILIB_SCRIPTS = "${PN}-perf-utils:${bindir}/cairo-trace" | ||
36 | |||
37 | X11DEPENDS = "virtual/libx11 libsm libxrender libxext" | ||
38 | |||
39 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ | ||
40 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ | ||
41 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)}" | ||
42 | |||
43 | PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}" | ||
44 | PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb" | ||
45 | PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" | ||
46 | PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind" | ||
47 | PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" | ||
48 | PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2" | ||
49 | PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl" | ||
50 | |||
51 | EXTRA_OECONF += " \ | ||
52 | ${@bb.utils.contains('TARGET_FPU', 'soft', '--disable-some-floating-point', '', d)} \ | ||
53 | --enable-tee \ | ||
54 | " | ||
55 | |||
56 | # We don't depend on binutils so we need to disable this | ||
57 | export ac_cv_lib_bfd_bfd_openr="no" | ||
58 | # Ensure we don't depend on LZO | ||
59 | export ac_cv_lib_lzo2_lzo2a_decompress="no" | ||
60 | |||
61 | do_install_append () { | ||
62 | rm -rf ${D}${bindir}/cairo-sphinx | ||
63 | rm -rf ${D}${libdir}/cairo/cairo-fdr* | ||
64 | rm -rf ${D}${libdir}/cairo/cairo-sphinx* | ||
65 | rm -rf ${D}${libdir}/cairo/.debug/cairo-fdr* | ||
66 | rm -rf ${D}${libdir}/cairo/.debug/cairo-sphinx* | ||
67 | } | ||
68 | |||
69 | PACKAGES =+ "cairo-gobject cairo-script-interpreter cairo-perf-utils" | ||
70 | |||
71 | SUMMARY_cairo-gobject = "The Cairo library GObject wrapper library" | ||
72 | DESCRIPTION_cairo-gobject = "A GObject wrapper library for the Cairo API." | ||
73 | |||
74 | SUMMARY_cairo-script-interpreter = "The Cairo library script interpreter" | ||
75 | DESCRIPTION_cairo-script-interpreter = "The Cairo script interpreter implements \ | ||
76 | CairoScript. CairoScript is used by tracing utilities to enable the ability \ | ||
77 | to replay rendering." | ||
78 | |||
79 | DESCRIPTION_cairo-perf-utils = "The Cairo library performance utilities" | ||
80 | |||
81 | FILES_${PN} = "${libdir}/libcairo.so.*" | ||
82 | FILES_${PN}-gobject = "${libdir}/libcairo-gobject.so.*" | ||
83 | FILES_${PN}-script-interpreter = "${libdir}/libcairo-script-interpreter.so.*" | ||
84 | FILES_${PN}-perf-utils = "${bindir}/cairo-trace* ${libdir}/cairo/*.la ${libdir}/cairo/libcairo-trace.so.*" | ||
85 | FILES_${PN}-dev += "${libdir}/cairo/*.so" | ||
86 | |||
87 | BBCLASSEXTEND = "native nativesdk" | ||