diff options
author | Maxin B. John <maxin.john@intel.com> | 2016-01-28 16:34:45 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:37:04 +0000 |
commit | 346b225b71f8293c9d05386b517b9714c75e475b (patch) | |
tree | 4a6c93bcac394fad371c162bfa76fda9f9847ccf | |
parent | b696bb32a7f0a7a187eb1f470f14aac0867c0eda (diff) | |
download | poky-346b225b71f8293c9d05386b517b9714c75e475b.tar.gz |
libical: update to 2.0.0
1.0.1 -> 2.0.0
1. New version is not Binary Compatible with Older Versions
2. Removed two backported patches
a. Fix-x32-ABI-build.patch
b. Depend-on-headers-to-fix-parallel-build.patch
3. New RSCALE support requires icu
(From OE-Core rev: 2912e2594c7574a9e695d9ba1c302ef941f6f9f8)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch | 46 | ||||
-rw-r--r-- | meta/recipes-support/libical/libical/Fix-x32-ABI-build.patch | 38 | ||||
-rw-r--r-- | meta/recipes-support/libical/libical_2.0.0.bb (renamed from meta/recipes-support/libical/libical_1.0.1.bb) | 10 |
3 files changed, 5 insertions, 89 deletions
diff --git a/meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch b/meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch deleted file mode 100644 index 4d65c8143d..0000000000 --- a/meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From 56a10a14c0a544df99c97ce279801ddf40b0df52 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Mon, 14 Sep 2015 13:35:42 +0300 | ||
4 | Subject: [PATCH] WIP: Depend on headers to fix parallel build | ||
5 | |||
6 | Parallel builds occasionally fail because generated headers are only | ||
7 | half built when they're being used. | ||
8 | |||
9 | This fix is extracted | ||
10 | from https://github.com/libical/libical/commit/dcc40c7ae2d337a0d83c077bf9d8f283499c6717 | ||
11 | |||
12 | Upstream-Status: Backport | ||
13 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
14 | |||
15 | --- | ||
16 | examples/CMakeLists.txt | 1 + | ||
17 | src/libical/CMakeLists.txt | 1 + | ||
18 | 2 files changed, 2 insertions(+) | ||
19 | |||
20 | diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt | ||
21 | index 3379ffd..514956b 100644 | ||
22 | --- a/examples/CMakeLists.txt | ||
23 | +++ b/examples/CMakeLists.txt | ||
24 | @@ -16,6 +16,7 @@ set(doesnothing_SRCS | ||
25 | ) | ||
26 | |||
27 | add_executable(doesnothing ${doesnothing_SRCS}) | ||
28 | +add_dependencies(doesnothing ical icalss icalvcal) | ||
29 | |||
30 | target_link_libraries(doesnothing ical icalss icalvcal ical icalss icalvcal) | ||
31 | |||
32 | diff --git a/src/libical/CMakeLists.txt b/src/libical/CMakeLists.txt | ||
33 | index 6774352..468a7d9 100644 | ||
34 | --- a/src/libical/CMakeLists.txt | ||
35 | +++ b/src/libical/CMakeLists.txt | ||
36 | @@ -261,6 +261,7 @@ add_library(ical ${LIBRARY_TYPE} ${ical_LIB_SRCS}) | ||
37 | add_library(ical-static STATIC ${ical_LIB_SRCS}) | ||
38 | |||
39 | add_dependencies(ical ical-header) | ||
40 | +add_dependencies(ical-static ical-header) | ||
41 | |||
42 | target_link_libraries(ical ${CMAKE_THREAD_LIBS_INIT}) | ||
43 | |||
44 | -- | ||
45 | 2.1.4 | ||
46 | |||
diff --git a/meta/recipes-support/libical/libical/Fix-x32-ABI-build.patch b/meta/recipes-support/libical/libical/Fix-x32-ABI-build.patch deleted file mode 100644 index 12186e2cb1..0000000000 --- a/meta/recipes-support/libical/libical/Fix-x32-ABI-build.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | Subject: [PATCH] Use GNUInstallDirs. | ||
2 | |||
3 | x32 ABI build fails because of improper library path. Use | ||
4 | GNUInstallDirs to fix it. | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | |||
8 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
9 | --- | ||
10 | diff -Naur libical-1.0.1-orig/CMakeLists.txt libical-1.0.1/CMakeLists.txt | ||
11 | --- libical-1.0.1-orig/CMakeLists.txt 2015-12-07 18:13:58.311503974 +0200 | ||
12 | +++ libical-1.0.1/CMakeLists.txt 2015-12-07 18:17:18.362002998 +0200 | ||
13 | @@ -92,6 +92,10 @@ | ||
14 | endif() | ||
15 | |||
16 | set(PERL_EXECUTABLE perl) | ||
17 | +# Ensure finding 64bit libs when using 64-bit compilers | ||
18 | +if(CMAKE_CL_64) | ||
19 | + set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS True) | ||
20 | +endif() | ||
21 | |||
22 | # MSVC specific definitions | ||
23 | if(WIN32) | ||
24 | @@ -104,10 +108,10 @@ | ||
25 | add_definitions(-DBIG_ENDIAN=0 -DLITTLE_ENDIAN=1 -DBYTE_ORDER=BIG_ENDIAN) | ||
26 | endif() | ||
27 | |||
28 | -set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)") | ||
29 | -set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Library directory name" FORCE) | ||
30 | -set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE STRING "Include directory name" FORCE) | ||
31 | -set(SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Share directory name" FORCE) | ||
32 | +include(GNUInstallDirs) | ||
33 | +set(LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR} CACHE STRING "Library directory name" FORCE) | ||
34 | +set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR} CACHE STRING "Include directory name" FORCE) | ||
35 | +set(SHARE_INSTALL_DIR ${CMAKE_INSTALL_DATAROOTDIR} CACHE STRING "Share directory name") | ||
36 | |||
37 | # set the output paths | ||
38 | set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin) | ||
diff --git a/meta/recipes-support/libical/libical_1.0.1.bb b/meta/recipes-support/libical/libical_2.0.0.bb index 838e788bf4..fdbe026761 100644 --- a/meta/recipes-support/libical/libical_1.0.1.bb +++ b/meta/recipes-support/libical/libical_2.0.0.bb | |||
@@ -6,13 +6,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d4fc58309d8ed46587ac63bb449d82f8 \ | |||
6 | file://LICENSE;md5=d1a0891cd3e582b3e2ec8fe63badbbb6" | 6 | file://LICENSE;md5=d1a0891cd3e582b3e2ec8fe63badbbb6" |
7 | SECTION = "libs" | 7 | SECTION = "libs" |
8 | 8 | ||
9 | SRC_URI = "https://github.com/${BPN}/${BPN}/archive/v${PV}.tar.gz \ | 9 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz \ |
10 | file://Remove-cmake-check-for-Perl.patch \ | 10 | file://Remove-cmake-check-for-Perl.patch \ |
11 | file://Fix-x32-ABI-build.patch \ | ||
12 | file://Depend-on-headers-to-fix-parallel-build.patch \ | ||
13 | " | 11 | " |
14 | SRC_URI[md5sum] = "af91db06b22559f863869c5a382ad08a" | 12 | DEPENDS = "icu" |
15 | SRC_URI[sha256sum] = "7d5f613454ec6c7d1bcfb441c919215be53292aa15cd1cb14249d1413d6c610c" | 13 | |
14 | SRC_URI[md5sum] = "6bf8e5f5a3ba88baf390d0134e05d76e" | ||
15 | SRC_URI[sha256sum] = "654c11f759c19237be39f6ad401d917e5a05f36f1736385ed958e60cf21456da" | ||
16 | UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases" | 16 | UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases" |
17 | 17 | ||
18 | inherit cmake | 18 | inherit cmake |