cairo: upgrade from 1.8.10 to 1.10.0
several chagnes are made: - hardcoded_libtool.patch is removed, because the code (dolt logic) it applys to have been removed. dolt is originally introduced to accelerate libtool, it is later removed by commit 9de25a0297c due to libtool is fast enough. so this patch can be removed too. - explicitly specify the package name as libcairo2. In 1.8.10, the debian rename hook (meta/classes/debian.bbclass:debian_package_name_hook ) will automatically rename the package to libcairo2. When upgrade to 1.10.0, the name changes to cairo, because the package contains not only library, but also bin executable. This name change will cause dependency failure to thos package which depends on libcairo-1.8.10. so it is necessary to keep name as libcairo2 by explicitly specifing. - specify extra package: libcairo-gobject2, libcairo-script-interpreter2 and cairo-perf-utils. it is newly added in 1.10.0. The name schema is from Debian. Signed-off-by: Yu Ke <ke.yu@intel.com>
This commit is contained in:
parent
89ab1ace5d
commit
e9d144f77e
|
@ -1,17 +0,0 @@
|
|||
Index: cairo-1.8.2/build/aclocal.dolt.m4
|
||||
===================================================================
|
||||
--- cairo-1.8.2.orig/build/aclocal.dolt.m4
|
||||
+++ cairo-1.8.2/build/aclocal.dolt.m4
|
||||
@@ -163,7 +163,11 @@ done
|
||||
if $modeok && $tagok ; then
|
||||
. ${top_builddir_slash}doltcompile "${args@<:@@@:>@}"
|
||||
else
|
||||
- exec ${top_builddir_slash}libtool "$[]@"
|
||||
+__DOLTLIBTOOL__EOF__
|
||||
+
|
||||
+echo ' exec ${top_builddir_slash}'${host_alias}-libtool' "$[]@"' >> doltlibtool
|
||||
+
|
||||
+ cat << '__DOLTLIBTOOL__EOF__' >> doltlibtool
|
||||
fi
|
||||
__DOLTLIBTOOL__EOF__
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
require cairo.inc
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz"
|
||||
|
||||
RDEPENDS += "libcairo2 libcairo-gobject2 libcairo-script-interpreter2 \
|
||||
cairo-perf-utils"
|
||||
|
||||
ALLOW_EMPTY = "1"
|
||||
|
||||
#
|
||||
# Old version (1.8.10 or below) is automatically named as libcairo2 by
|
||||
# debian_package_name_hook. To keep backword compatibility,
|
||||
# it is necessary to explicitly name the package as libcairo2 here
|
||||
#
|
||||
PACKAGES =+ "libcairo2 libcairo2-dev libcairo2-dbg \
|
||||
libcairo-gobject2 \
|
||||
libcairo-script-interpreter2 \
|
||||
cairo-perf-utils \
|
||||
"
|
||||
|
||||
DESCRIPTION_libcairo2 = "The Cairo 2D vector graphics library"
|
||||
DESCRIPTION_libcairo-gobject2 = "The Cairo library GObject wrapper library"
|
||||
DESCRIPTION_libcairo-script-interpreter2 = "The Cairo library script interpreter"
|
||||
DESCRIPTION_cairo-perf-utils = "The Cairo library performance utilities"
|
||||
|
||||
FILES_libcairo2 = "${libdir}/libcairo.so*"
|
||||
FILES_libcairo2-dev = "${includedir} ${libdir}/*.la ${libdir}/*.a \
|
||||
${libdir}/*.o ${libdir}/pkgconfig"
|
||||
FILES_libcairo2-dbg = "${libdir}/.debug ${libdir}/cairo/.debug"
|
||||
FILES_libcairo-gobject2 = "${libdir}/libcairo-gobject.so*"
|
||||
FILES_libcairo-script-interpreter2 = "${libdir}/libcairo-script-interpreter.so*"
|
||||
FILES_cairo-perf-utils = "${bindir}/cairo-trace ${libdir}/cairo/libcairo-trace.*"
|
|
@ -1,8 +0,0 @@
|
|||
require cairo.inc
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7d7cc3410ae869ed913ebd30d7f45941"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz \
|
||||
file://hardcoded_libtool.patch"
|
Loading…
Reference in New Issue