From 7c9fa3721e7d0473b8b9c5c824f6b60bf3808519 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sat, 25 Jan 2025 22:18:57 +0000 Subject: [PATCH] cleanup: Mark events/dispatch headers as experimental. We're already installing these, but they have been experimental all this time. We should not install them until we're really done with them. --- CMakeLists.txt | 4 ++-- other/docker/pkgsrc/pkgsrc.patch | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63c955ae95d..d868a0b5879 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -373,12 +373,12 @@ endif() set(toxcore_PKGCONFIG_REQUIRES ${toxcore_PKGCONFIG_REQUIRES} libsodium) set(toxcore_API_HEADERS ${toxcore_SOURCE_DIR}/toxcore/tox.h^tox - ${toxcore_SOURCE_DIR}/toxcore/tox_dispatch.h^tox - ${toxcore_SOURCE_DIR}/toxcore/tox_events.h^tox ${toxcore_SOURCE_DIR}/toxcore/tox_options.h^tox ${toxcore_SOURCE_DIR}/toxcore/tox_types.h^tox) if(EXPERIMENTAL_API) set(toxcore_API_HEADERS ${toxcore_API_HEADERS} + ${toxcore_SOURCE_DIR}/toxcore/tox_dispatch.h^tox + ${toxcore_SOURCE_DIR}/toxcore/tox_events.h^tox ${toxcore_SOURCE_DIR}/toxcore/tox_private.h^tox) endif() diff --git a/other/docker/pkgsrc/pkgsrc.patch b/other/docker/pkgsrc/pkgsrc.patch index 5db437e085f..85c9f40fbaf 100644 --- a/other/docker/pkgsrc/pkgsrc.patch +++ b/other/docker/pkgsrc/pkgsrc.patch @@ -14,10 +14,10 @@ diff --git a/chat/toxcore/PLIST b/chat/toxcore/PLIST index f0a5e4f04..4122b0867 100644 --- a/chat/toxcore/PLIST +++ b/chat/toxcore/PLIST -@@ -4,11 +4,13 @@ bin/tox-bootstrapd +@@ -4,11 +4,11 @@ bin/tox-bootstrapd include/tox/tox.h - include/tox/tox_dispatch.h - include/tox/tox_events.h +-include/tox/tox_dispatch.h +-include/tox/tox_events.h +include/tox/tox_options.h +include/tox/tox_types.h include/tox/toxav.h