libinih: install header files without prefix dir inih
PATCH 1/2 libinih: install header files without prefix dir inih
From: Kai Kang <[email protected]>
The other flavor of inih which adapted by Fedora and Ubuntu installs header files to /usr/include directly. And xfsprogs 5.10.0 also checks ini.h without extra search path and failed. So install header files without prefix dir inih.
Signed-off-by Kai Kang <[email protected]>
--- ...header-files-without-prefix-dir-inih.patch | 24 +++++++++++++++++++ meta-oe/recipes-support/inih/libinih_git.bb | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/inih/files/0001-include-install-header-files-without-prefix-dir-inih.patch
meta-oe/recipes-support/inih/files/0001-include-install-header-files-without-prefix-dir-inih.patch new file +24 -0
@@ -0,0 +1,24 @@ +include: install header files without prefix dir inih + +The other flavor of inih which adapted by Fedora and Ubuntu installs +header files to /usr/include directly. And xfsprogs 5.10.0 also checks +ini.h without extra search path and fails. So install header files +without prefix dir inih. + +Upstream-Status: Submitted [https://github.com/OSSystems/inih/pull/4] + +Signed-off-by: Kai Kang <[email protected]> +--- + include/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt +index 7a46ee7..4a9033f 100644 +--- a/include/CMakeLists.txt ++++ b/include/CMakeLists.txt +@@ -1 +1 @@ +-install(FILES ini.h INIReader.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include/inih) ++install(FILES ini.h INIReader.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include) +-- +2.17.1 +
meta-oe/recipes-support/inih/libinih_git.bb +2 -1
@@ -10,7 +10,8 @@ PR = "r3" # The github repository provides a cmake and pkg-config integration SRCREV = "c858aff8c31fa63ef4d1e0176c10e5928cde9a23" SRC_URI = "git://github.com/OSSystems/inih.git \ - " + file://0001-include-install-header-files-without-prefix-dir-inih.patch \ + " UPSTREAM_CHECK_COMMITS = "1"
Signature · 1 line
2.17.1
PATCH 2/2 xfsprogs: 5.9.0 -> 5.10.0
From: Kai Kang <[email protected]>
Upgrade xfsprogs from 5.9.0 to 5.10.0
* add build dependency libinih
Signed-off-by Kai Kang <[email protected]>
---
.../xfsprogs/{xfsprogs_5.9.0.bb => xfsprogs_5.10.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-filesystems/recipes-utils/xfsprogs/{xfsprogs_5.9.0.bb => xfsprogs_5.10.0.bb} (95%)meta-filesystems/recipes-utils/xfsprogs/xfsprogs_5.10.0.bb renamed from meta-filesystems/recipes-utils/xfsprogs/xfsprogs_5.9.0.bb +2 -2
@@ -12,12 +12,12 @@ SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \ file://0002-include-include-xfs-linux.h-after-sys-mman.h.patch \ file://0001-support-usrmerge.patch \ " -SRC_URI[sha256sum] = "bc5c805596bc609a18dc1f1b4ed6a2821dba9f47408ec00e7799ceea1b2097f1" +SRC_URI[sha256sum] = "e04017e46d43e4d54b9a560fd7cea922520f8f6ef882404969d20cd4e5c790e9" inherit autotools-brokensep PACKAGES =+ "${PN}-fsck ${PN}-mkfs ${PN}-repair libhandle" -DEPENDS += "util-linux" +DEPENDS += "util-linux libinih" RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs ${PN}-repair"
Signature · 1 line
2.17.1