libxslt: use proper SRC_URI
PATCH 1/4 libxslt: use proper SRC_URI
Remove extra / from SRC_URI
Signed-off-by Maxin B. John <[email protected]>
--- meta/recipes-support/libxslt/libxslt_1.1.28.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libxslt/libxslt_1.1.28.bb +1 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458" SECTION = "libs" DEPENDS = "libxml2" -SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \ +SRC_URI = "ftp://xmlsoft.org/libxslt/libxslt-${PV}.tar.gz \ file://pkgconfig_fix.patch \ file://pkgconfig.patch \ file://CVE-2015-7995.patch"
Signature · 1 line
2.4.0
PATCH v3 2/4 libical: Upgrade 1.0.0 -> 1.0.1
* Build system changed to cmake
* Patch build system to not check for perl (we use host perl which won't be found)
* Patch build system to not break on parallel builds
Signed-off-by Jussi Kukkonen <[email protected]>
Signed-off-by Maxin B. John <[email protected]>
---
.../Depend-on-headers-to-fix-parallel-build.patch | 46 ++++++++++++++++++++++
.../libical/libical/Fix-x32-ABI-build.patch | 38 ++++++++++++++++++
.../libical/Remove-cmake-check-for-Perl.patch | 33 ++++++++++++++++
.../libical/{libical_1.0.0.bb => libical_1.0.1.bb} | 14 ++++---
4 files changed, 126 insertions(+), 5 deletions(-)
create mode 100644 meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch
create mode 100644 meta/recipes-support/libical/libical/Fix-x32-ABI-build.patch
create mode 100644 meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch
rename meta/recipes-support/libical/{libical_1.0.0.bb => libical_1.0.1.bb} (53%)meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch new file +46 -0
@@ -0,0 +1,46 @@ +From 56a10a14c0a544df99c97ce279801ddf40b0df52 Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <[email protected]> +Date: Mon, 14 Sep 2015 13:35:42 +0300 +Subject: [PATCH] WIP: Depend on headers to fix parallel build + +Parallel builds occasionally fail because generated headers are only +half built when they're being used. + +This fix is extracted +from https://github.com/libical/libical/commit/dcc40c7ae2d337a0d83c077bf9d8f283499c6717 + +Upstream-Status: Backport +Signed-off-by: Jussi Kukkonen <[email protected]> + +--- + examples/CMakeLists.txt | 1 + + src/libical/CMakeLists.txt | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt +index 3379ffd..514956b 100644 +--- a/examples/CMakeLists.txt ++++ b/examples/CMakeLists.txt +@@ -16,6 +16,7 @@ set(doesnothing_SRCS + ) + + add_executable(doesnothing ${doesnothing_SRCS}) ++add_dependencies(doesnothing ical icalss icalvcal) + + target_link_libraries(doesnothing ical icalss icalvcal ical icalss icalvcal) + +diff --git a/src/libical/CMakeLists.txt b/src/libical/CMakeLists.txt +index 6774352..468a7d9 100644 +--- a/src/libical/CMakeLists.txt ++++ b/src/libical/CMakeLists.txt +@@ -261,6 +261,7 @@ add_library(ical ${LIBRARY_TYPE} ${ical_LIB_SRCS}) + add_library(ical-static STATIC ${ical_LIB_SRCS}) + + add_dependencies(ical ical-header) ++add_dependencies(ical-static ical-header) + + target_link_libraries(ical ${CMAKE_THREAD_LIBS_INIT}) + +-- +2.1.4 +
meta/recipes-support/libical/libical/Fix-x32-ABI-build.patch new file +38 -0
@@ -0,0 +1,38 @@ +Subject: [PATCH] Use GNUInstallDirs. + +x32 ABI build fails because of improper library path. Use +GNUInstallDirs to fix it. + +Upstream-Status: Backport + +Signed-off-by: Maxin B. John <[email protected]> +--- +diff -Naur libical-1.0.1-orig/CMakeLists.txt libical-1.0.1/CMakeLists.txt +--- libical-1.0.1-orig/CMakeLists.txt 2015-12-07 18:13:58.311503974 +0200 ++++ libical-1.0.1/CMakeLists.txt 2015-12-07 18:17:18.362002998 +0200 +@@ -92,6 +92,10 @@ + endif() + + set(PERL_EXECUTABLE perl) ++# Ensure finding 64bit libs when using 64-bit compilers ++if(CMAKE_CL_64) ++ set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS True) ++endif() + + # MSVC specific definitions + if(WIN32) +@@ -104,10 +108,10 @@ + add_definitions(-DBIG_ENDIAN=0 -DLITTLE_ENDIAN=1 -DBYTE_ORDER=BIG_ENDIAN) + endif() + +-set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)") +-set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Library directory name" FORCE) +-set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE STRING "Include directory name" FORCE) +-set(SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Share directory name" FORCE) ++include(GNUInstallDirs) ++set(LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR} CACHE STRING "Library directory name" FORCE) ++set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR} CACHE STRING "Include directory name" FORCE) ++set(SHARE_INSTALL_DIR ${CMAKE_INSTALL_DATAROOTDIR} CACHE STRING "Share directory name") + + # set the output paths + set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch new file +33 -0
@@ -0,0 +1,33 @@ +From 918cd8764a845a9d25918a444fbaa5070d2be609 Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <[email protected]> +Date: Fri, 21 Aug 2015 16:38:05 +0300 +Subject: [PATCH] Remove cmake check for Perl + +We set "CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY" in cmake bbclass to +make sure cmake does not find host programs. In this case we actually +are fine with host perl: remove the check. + +Upstream-Status: Inappropriate [workaround] + +Signed-off-by: Jussi Kukkonen <[email protected]> +--- + CMakeLists.txt | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d5aad80..5cc9863 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -91,8 +91,7 @@ if(SHARED_ONLY) + set(LIBRARY_TYPE SHARED) + endif() + +-# must have Perl to create the derived stuff +-find_package(Perl REQUIRED) ++set(PERL_EXECUTABLE perl) + + # MSVC specific definitions + if(WIN32) +-- +2.1.4 +
meta/recipes-support/libical/libical_1.0.1.bb renamed from meta/recipes-support/libical/libical_1.0.0.bb +9 -5
@@ -6,10 +6,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d4fc58309d8ed46587ac63bb449d82f8 \ file://LICENSE;md5=d1a0891cd3e582b3e2ec8fe63badbbb6" SECTION = "libs" -SRC_URI = "https://github.com/${BPN}/${BPN}/archive/v${PV}.tar.gz" -SRC_URI[md5sum] = "f4b8e33ae5efb2f025eb43ce69682a36" -SRC_URI[sha256sum] = "0072e83834092315772e6719b85fc8b11530b1ff53f4d108315fb38cddbce8c2" +SRC_URI = "https://github.com/${BPN}/${BPN}/archive/v${PV}.tar.gz \ + file://Remove-cmake-check-for-Perl.patch \ + file://Fix-x32-ABI-build.patch \ + file://Depend-on-headers-to-fix-parallel-build.patch \ + " +SRC_URI[md5sum] = "af91db06b22559f863869c5a382ad08a" +SRC_URI[sha256sum] = "7d5f613454ec6c7d1bcfb441c919215be53292aa15cd1cb14249d1413d6c610c" -UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases/" +inherit cmake -inherit autotools +FILES_${PN}-dev += "${libdir}/cmake/*"
Signature · 1 line
2.4.0
PATCH 3/4 libpng12: Upgrade 1.2.54 -> 1.2.55
In reply to Maxin B. John1.2.54 -> 1.2.55
No change in License.The license checksums changed because of update in Copyright date.
Update SRC_URI to use GENTOO_MIRROR as SOURCEFORGE_MIRROR continue to move around the release files.
[YOCTO #8739]
Signed-off-by Maxin B. John <[email protected]>
---
.../libpng/{libpng12_1.2.54.bb => libpng12_1.2.55.bb} | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
rename meta/recipes-lsb4/libpng/{libpng12_1.2.54.bb => libpng12_1.2.55.bb} (66%)meta/recipes-lsb4/libpng/libpng12_1.2.55.bb renamed from meta/recipes-lsb4/libpng/libpng12_1.2.54.bb +5 -5
@@ -2,17 +2,17 @@ SUMMARY = "PNG image format decoding library" HOMEPAGE = "http://www.libpng.org/" SECTION = "libs" LICENSE = "Libpng" -LIC_FILES_CHKSUM = "file://LICENSE;md5=74b5ed0e4da965adc6f2c00d8ec2bc81 \ - file://png.h;beginline=19;endline=109;md5=b59f5432223381017280e327e605bb9a" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6150ae2da16b673fa759402d5fb7ef73 \ + file://png.h;beginline=19;endline=109;md5=96ec141aee7c75a15d77dbe249a71f93" DEPENDS = "zlib" PN = "libpng12" S = "${WORKDIR}/libpng-${PV}" -SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz" +SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz" -SRC_URI[md5sum] = "bbb7a7264f1c7d9c444fd16bf6f89832" -SRC_URI[sha256sum] = "cf85516482780f2bc2c5b5073902f12b1519019d47bf473326c2018bdff1d272" +SRC_URI[md5sum] = "68ac486976e73fd164d54740bece57a2" +SRC_URI[sha256sum] = "5e5227345676fabbba28558f4396514bb06a239eaf69adba12f3669a1650797e" UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libpng/files/libpng12/" UPSTREAM_CHECK_REGEX = "/libpng12/(?P<pver>(\d+[\.\-_]*)+)/"
Signature · 1 line
2.4.0
PATCH 4/4 libpng: Update SRC_URI to use GENTOO_MIRROR
In reply to Maxin B. JohnUpdate SRC_URI to use GENTOO_MIRROR as SOURCEFORGE_MIRROR continue to move around the release files.
[YOCTO #8739]
Signed-off-by Maxin B. John <[email protected]>
--- meta/recipes-multimedia/libpng/libpng_1.6.20.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-multimedia/libpng/libpng_1.6.20.bb +1 -2
@@ -5,9 +5,8 @@ LICENSE = "Libpng" LIC_FILES_CHKSUM = "file://LICENSE;md5=55b60b5bb3ed92fbf9197e565a7fac02 \ file://png.h;endline=112;md5=a6352a338642f0dbd2fc280ae060d3e9" DEPENDS = "zlib" -LIBV = "16" -SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz \ +SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz \ " SRC_URI[md5sum] = "3968acb7c66ef81a9dab867f35d0eb4b" SRC_URI[sha256sum] = "55c5959e9f3484d96141a3226c53bc9da42a4845e70879d3e1d6e94833d1918b"
Signature · 1 line
2.4.0