libostree: new package
PATCH v6 1/1 libostree: new package
OSTree is an upgrade system for Linux-based operating systems
---
v6:
- Rearrange logic for curl and libsoup check
v5:
Fix comments from Bernd Kuhls:
- use tarball provided by upstream
- propagate dependencies
- set optional dependencies
- depend on !musl
v4:
- bump version to 2017.12
v3:
- move with the package within Config.in to match the chronological order (the former name was just 'ostree')
v2:
- add e2fsprogs as dependency
DEVELOPERS | 3 ++ package/Config.in | 1 + package/libostree/Config.in | 20 ++++++++++++++ package/libostree/libostree.hash | 1 + package/libostree/libostree.mk | 59 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 84 insertions(+) create mode 100644 package/libostree/Config.in create mode 100644 package/libostree/libostree.hash create mode 100644 package/libostree/libostree.mk
DEVELOPERS +3 -0
@@ -985,6 +985,9 @@ F: package/turbolua/ N: Marcin Nowakowski <[email protected]> F: package/libkcapi/ +N: Marcus Folkesson <[email protected]> +F: package/libostree/ + N: Marek Belisko <[email protected]> F: package/libatasmart/ F: package/polkit/
package/Config.in +1 -0
@@ -1916,6 +1916,7 @@ menu "System tools" source "package/keyutils/Config.in" source "package/kmod/Config.in" source "package/kvmtool/Config.in" + source "package/libostree/Config.in" source "package/lxc/Config.in" source "package/monit/Config.in" source "package/ncdu/Config.in"
package/libostree/Config.in new file +20 -0
@@ -0,0 +1,20 @@ +config BR2_PACKAGE_LIBOSTREE + bool "libostree" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpgme + depends on !BR2_STATIC_LIBS # libfuse + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_USE_MMU # e2fsprogs, libfuse,libglib2, libgpgme + + # doesn't build with musl due to lack of TEMP_FAILURE_RETRY() + depends on !BR2_TOOLCHAIN_USES_MUSL + + select BR2_PACKAGE_E2FSPROGS + select BR2_PACKAGE_LIBFUSE + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBGPGME + select BR2_PACKAGE_XZ + help + OSTree is an upgrade system for Linux-based operating systems. + + https://ostree.readthedocs.io/en/latest/
package/libostree/libostree.hash new file +1 -0
@@ -0,0 +1 @@ +sha256 fc409f04c9fd440b83b4fa324f3b912cbf61145389378d44254b8b191c9fef08 libostree-2017.12.tar.xz
package/libostree/libostree.mk new file +59 -0
59 lines not on this page · raw message
Signature · 1 line
2.13.1
PATCH v6 1/1 libostree: new package
Hi Marcus,
Am Thu, 02 Nov 2017 12:27:22 +0100 schrieb Marcus Folkesson:
Quoted 16 lines
package/libostree/Config.in new file +10
-0@@ -0,0 +1,20 @@ +config BR2_PACKAGE_LIBOSTREE + bool "libostree" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpgme + depends on !BR2_STATIC_LIBS # libfuse + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_USE_MMU # e2fsprogs, libfuse,libglib2, libgpgme + + # doesn't build with musl due to lack of TEMP_FAILURE_RETRY() + depends on !BR2_TOOLCHAIN_USES_MUSL
package/libostree/Config.in line 20
Quoted 10 lines
package/libostree/Config.in new file +10
-0+ + select BR2_PACKAGE_E2FSPROGS + select BR2_PACKAGE_LIBFUSE + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBGPGME + select BR2_PACKAGE_XZ + help + OSTree is an upgrade system for Linux-based operating systems. + + https://ostree.readthedocs.io/en/latest/
please add a comment which is displayed when the dependencies are not met by the current config to help users to enable this package:
comment "libostree needs a uClibc or glibc toolchain w/ threads, dynamic library, wchar"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
|| !BR2_USE_WCHAR || BR2_TOOLCHAIN_USES_MUSL
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
depends on BR2_USE_MMU
package/libostree/libostree.mk
Quoted 8 lines
package/libostree/libostree.hash new file +1
-0@@ -0,0 +1 @@ +sha256 fc409f04c9fd440b83b4fa324f3b912cbf61145389378d44254b8b191c9fef08 libostree-2017.12.tar.xzpackage/libostree/libostree.mk +0
-0
Please add the hash of the license file as well.
Regards, Bernd
PATCH v6 1/1 libostree: new package
Hi Bernd,
Quoted 52 lines · Bernd Kuhls
Hi Marcus,
Am Thu, 02 Nov 2017 12:27:22 +0100 schrieb Marcus Folkesson:
Quoted 16 lines
package/libostree/Config.in new file +10
-0@@ -0,0 +1,20 @@ +config BR2_PACKAGE_LIBOSTREE + bool "libostree" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpgme + depends on !BR2_STATIC_LIBS # libfuse + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_USE_MMU # e2fsprogs, libfuse,libglib2, libgpgme + + # doesn't build with musl due to lack of TEMP_FAILURE_RETRY() + depends on !BR2_TOOLCHAIN_USES_MUSLpackage/libostree/Config.in line 20
Quoted 10 lines
package/libostree/Config.in new file +10
-0+ + select BR2_PACKAGE_E2FSPROGS + select BR2_PACKAGE_LIBFUSE + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBGPGME + select BR2_PACKAGE_XZ + help + OSTree is an upgrade system for Linux-based operating systems. + + https://ostree.readthedocs.io/en/latest/please add a comment which is displayed when the dependencies are not met by the current config to help users to enable this package:
comment "libostree needs a uClibc or glibc toolchain w/ threads, dynamic library, wchar"
depends on !BR2_TOOLCHAIN_HAS_THREADS ||BR2_STATIC_LIBS\
|| !BR2_USE_WCHAR ||BR2_TOOLCHAIN_USES_MUSL
depends onBR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
depends onBR2_USE_MMUpackage/libostree/libostree.mk
Quoted 8 lines
package/libostree/libostree.hash new file +1
-0@@ -0,0 +1 @@ +sha256 fc409f04c9fd440b83b4fa324f3b912cbf61145389378d44254b8b191c9fef08 libostree-2017.12.tar.xzpackage/libostree/libostree.mk +0
-0Please add the hash of the license file as well.
Quoted 2 lines
Regards, Bernd
Again, thank you for your comments.
I will send a new patch later tonight.
Best regards
Marcus Folkesson