summaryrefslogtreecommitdiff
path: root/Makefile-libostree.am
diff options
context:
space:
mode:
authorMatthew Leeds <matthew.leeds@endlessm.com>2018-05-22 15:55:14 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-04 19:20:10 +0000
commit8fbf19c9f54ba34ae7ebbc540b08566b8dd18848 (patch)
tree524d9b3ab52563ba2f788771b3056a1c2361ea39 /Makefile-libostree.am
parentf1d9196076d4aea1f64e0d2cbd17bfa2891b8c4c (diff)
downloadostree-8fbf19c9f54ba34ae7ebbc540b08566b8dd18848.tar.gz
Make P2P API public (no longer experimental)
Currently the API that allows P2P operations (e.g. pulling an ostree ref from a LAN or USB source) is hidden behind the configure flag --enable-experimental-api. This commit makes the API public and makes that flag essentially a no-op (leaving it in place in case we want to use it again in the future). The P2P API has been tested over the last several months and proven to work. This means that since we're no longer using the "experimental" feature flag, P2P builds of Flatpak will fail when using versions of OSTree from this commit onwards, until Flatpak is patched in the near future. If you want to build Flatpak < 0.11.8 with P2P enabled and link against OSTree 2018.6, you'll have to patch Flatpak. However, since Flatpak won't yet have a hard dependency on OSTree 2018.6, it needs a new way to determine if the P2P API in OSTree is available, so this commit adds a "p2p" feature flag. This way the feature set is more semantically correct than if we had continued to use the "experimental" feature flag. In addition to making the P2P API public, this commit makes the P2P unit tests run by default, removes the f27-experimental CI instance that's no longer needed, changes a few man pages to reflect the changes, and updates the bash completion script to accept the new commands and options. Closes: #1596 Approved by: cgwalters
Diffstat (limited to 'Makefile-libostree.am')
-rw-r--r--Makefile-libostree.am29
1 files changed, 8 insertions, 21 deletions
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index 9dc81b2f..01a209d1 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -140,6 +140,13 @@ libostree_1_la_SOURCES = \
src/libostree/ostree-gpg-verify-result.c \
src/libostree/ostree-gpg-verify-result-private.h \
src/libostree/ostree-autocleanups.h \
+ src/libostree/ostree-bloom.c \
+ src/libostree/ostree-bloom-private.h \
+ src/libostree/ostree-repo-finder.c \
+ src/libostree/ostree-repo-finder-avahi.c \
+ src/libostree/ostree-repo-finder-config.c \
+ src/libostree/ostree-repo-finder-mount.c \
+ src/libostree/ostree-repo-finder-override.c \
$(NULL)
if USE_LIBARCHIVE
libostree_1_la_SOURCES += src/libostree/ostree-libarchive-input-stream.h \
@@ -154,26 +161,13 @@ libostree_1_la_SOURCES += \
$(NULL)
endif
libostree_experimental_headers = \
- src/libostree/ostree-ref.h \
- src/libostree/ostree-remote.h \
- src/libostree/ostree-repo-finder.h \
- src/libostree/ostree-repo-finder-avahi.h \
- src/libostree/ostree-repo-finder-config.h \
- src/libostree/ostree-repo-finder-mount.h \
- src/libostree/ostree-repo-finder-override.h \
$(NULL)
if !ENABLE_EXPERIMENTAL_API
libostree_1_la_SOURCES += $(libostree_experimental_headers)
else # if ENABLE_EXPERIMENTAL_API
libostree_1_la_SOURCES += \
- src/libostree/ostree-bloom.c \
- src/libostree/ostree-bloom-private.h \
- src/libostree/ostree-repo-finder.c \
- src/libostree/ostree-repo-finder-avahi.c \
- src/libostree/ostree-repo-finder-config.c \
- src/libostree/ostree-repo-finder-mount.c \
- src/libostree/ostree-repo-finder-override.c \
$(NULL)
+endif
if USE_AVAHI
libostree_1_la_SOURCES += \
@@ -181,20 +175,15 @@ libostree_1_la_SOURCES += \
src/libostree/ostree-repo-finder-avahi-private.h \
$(NULL)
endif # USE_AVAHI
-endif
symbol_files = $(top_srcdir)/src/libostree/libostree-released.sym
if BUILDOPT_IS_DEVEL_BUILD
symbol_files += $(top_srcdir)/src/libostree/libostree-devel.sym
endif
-if ENABLE_EXPERIMENTAL_API
-symbol_files += $(top_srcdir)/src/libostree/libostree-experimental.sym
-endif
# http://blog.jgc.org/2007/06/escaping-comma-and-space-in-gnu-make.html
wl_versionscript_arg = -Wl,--version-script=
EXTRA_DIST += \
$(top_srcdir)/src/libostree/libostree-devel.sym \
- $(top_srcdir)/src/libostree/libostree-experimental.sym \
$(top_srcdir)/src/libostree/libostree-released.sym \
$(NULL)
@@ -216,12 +205,10 @@ libostree_1_la_CFLAGS += $(OT_DEP_LIBARCHIVE_CFLAGS)
libostree_1_la_LIBADD += $(OT_DEP_LIBARCHIVE_LIBS)
endif
-if ENABLE_EXPERIMENTAL_API
if USE_AVAHI
libostree_1_la_CFLAGS += $(OT_DEP_AVAHI_CFLAGS)
libostree_1_la_LIBADD += $(OT_DEP_AVAHI_LIBS)
endif
-endif
if BUILDOPT_LIBSYSTEMD
libostree_1_la_CFLAGS += $(LIBSYSTEMD_CFLAGS)