summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libical/libical_3.0.14.bb
diff options
context:
space:
mode:
authorwangmy <wangmy@fujitsu.com>2022-10-11 15:58:14 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-10-26 12:28:38 +0100
commita7873c4f77075445bb0fcebf0b0f4afaae6e115a (patch)
tree90b43e4ce9cdba463cdaed336c996e09e00db885 /meta/recipes-support/libical/libical_3.0.14.bb
parentb158ae32ed835e7fc4c89484fb8b86abf662aeea (diff)
downloadpoky-a7873c4f77075445bb0fcebf0b0f4afaae6e115a.tar.gz
libical: upgrade 3.0.14 -> 3.0.15
Changelog: ========= Add missing property parameters into libical-glib Fix CMake option USE_32BIT_TIME_T actually uses a 32-bit time_t value Fix icaltime_as_timet, which returned incorrect results for years >= 2100, to work properly between years 1902 and 10k. Fix x-property comma handling and escaping Built-in timezones updated to tzdata2022d (now with a VTIMEZONE for each time zone alias) Fix fuzzer issues Handle unreachable-code compile warnings with clang Ensure all vanew_foo() calls finish with (void*)0 (not 0) (From OE-Core rev: 6092ae3cbe0eaf006db615c6cc3f1692e1cc1df8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libical/libical_3.0.14.bb')
-rw-r--r--meta/recipes-support/libical/libical_3.0.14.bb54
1 files changed, 0 insertions, 54 deletions
diff --git a/meta/recipes-support/libical/libical_3.0.14.bb b/meta/recipes-support/libical/libical_3.0.14.bb
deleted file mode 100644
index 44030fdc9f..0000000000
--- a/meta/recipes-support/libical/libical_3.0.14.bb
+++ /dev/null
@@ -1,54 +0,0 @@
1SUMMARY = "iCal and scheduling (RFC 2445, 2446, 2447) library"
2DESCRIPTION = "An Open Source implementation of the iCalendar protocols \
3and protocol data units. The iCalendar specification describes how \
4calendar clients can communicate with calendar servers so users can store \
5their calendar data and arrange meetings with other users. "
6HOMEPAGE = "https://github.com/libical/libical"
7BUGTRACKER = "https://github.com/libical/libical/issues"
8LICENSE = "LGPL-2.1-only | MPL-2.0"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=1910a2a76ddf6a9ba369182494170d87 \
10 file://LICENSE.LGPL21.txt;md5=933adb561f159e7c3da079536f0ed871 \
11 file://LICENSE.MPL2.txt;md5=f75d2927d3c1ed2414ef72048f5ad640 \
12 "
13SECTION = "libs"
14
15SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
16 file://0001-cmake-Do-not-export-CC-into-gir-compiler.patch \
17 "
18SRC_URI[sha256sum] = "4284b780356f1dc6a01f16083e7b836e63d3815e27ed0eaaad684712357ccc8f"
19
20inherit cmake pkgconfig gobject-introspection vala github-releases
21
22DEPENDS += "libical-native"
23
24PACKAGECONFIG ??= "icu glib"
25PACKAGECONFIG[bdb] = ",-DCMAKE_DISABLE_FIND_PACKAGE_BDB=True,db"
26PACKAGECONFIG[glib] = "-DICAL_GLIB=True,-DICAL_GLIB=False,glib-2.0-native libxml2-native glib-2.0 libxml2"
27# ICU is used for RSCALE (RFC7529) support
28PACKAGECONFIG[icu] = ",-DCMAKE_DISABLE_FIND_PACKAGE_ICU=True,icu"
29
30# No need to use perl-native, the host perl is sufficient.
31EXTRA_OECMAKE += "-DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl"
32# Disable the test suite as we can't install it
33EXTRA_OECMAKE += "-DLIBICAL_BUILD_TESTING=false"
34# doc build fails with linker error (??) for libical-glib so disable it
35EXTRA_OECMAKE += "-DICAL_BUILD_DOCS=false"
36# gobject-introspection
37EXTRA_OECMAKE:append:class-target = " -DGObjectIntrospection_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper"
38EXTRA_OECMAKE:append:class-target = " -DGObjectIntrospection_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper"
39EXTRA_OECMAKE += "-DVAPIGEN=${STAGING_BINDIR_NATIVE}/vapigen"
40EXTRA_OECMAKE += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DGOBJECT_INTROSPECTION=ON -DICAL_GLIB_VAPI=ON', '-DGOBJECT_INTROSPECTION=OFF', d)}"
41
42# Tell the cross-libical where the tool it needs to build is
43EXTRA_OECMAKE:append:class-target = " -DIMPORT_ICAL_GLIB_SRC_GENERATOR=${STAGING_LIBDIR_NATIVE}/cmake/LibIcal/IcalGlibSrcGenerator.cmake"
44
45do_install:append () {
46 # Remove build host references (https://github.com/libical/libical/issues/532)
47 sed -i \
48 -e 's,${STAGING_LIBDIR},${libdir},g' \
49 -e 's,${STAGING_INCDIR},${includedir},g' \
50 ${D}${libdir}/cmake/LibIcal/LibIcal*.cmake \
51 ${D}${libdir}/cmake/LibIcal/Ical*.cmake
52}
53
54BBCLASSEXTEND = "native"