build(deps): bump boost to 1.89 (#4253)

This commit is contained in:
David Lane
2025-11-01 21:02:15 -04:00
committed by GitHub
parent 3d2fca7cb2
commit 875ad1d11a
7 changed files with 9 additions and 14 deletions

View File

@@ -161,6 +161,7 @@ jobs:
# dependencies # dependencies
dependencies=( dependencies=(
"git" "git"
"mingw-w64-${TOOLCHAIN}-boost"
"mingw-w64-${TOOLCHAIN}-cmake" "mingw-w64-${TOOLCHAIN}-cmake"
"mingw-w64-${TOOLCHAIN}-cppwinrt" "mingw-w64-${TOOLCHAIN}-cppwinrt"
"mingw-w64-${TOOLCHAIN}-curl-winssl" "mingw-w64-${TOOLCHAIN}-curl-winssl"

View File

@@ -3,7 +3,7 @@
# #
include_guard(GLOBAL) include_guard(GLOBAL)
set(BOOST_VERSION "1.87.0") set(BOOST_VERSION "1.89.0")
set(BOOST_COMPONENTS set(BOOST_COMPONENTS
filesystem filesystem
locale locale
@@ -55,7 +55,7 @@ if(NOT Boost_FOUND)
# Limit boost to the required libraries only # Limit boost to the required libraries only
set(BOOST_INCLUDE_LIBRARIES ${BOOST_COMPONENTS}) set(BOOST_INCLUDE_LIBRARIES ${BOOST_COMPONENTS})
set(BOOST_URL "https://github.com/boostorg/boost/releases/download/boost-${BOOST_VERSION}/boost-${BOOST_VERSION}-cmake.tar.xz") # cmake-lint: disable=C0301 set(BOOST_URL "https://github.com/boostorg/boost/releases/download/boost-${BOOST_VERSION}/boost-${BOOST_VERSION}-cmake.tar.xz") # cmake-lint: disable=C0301
set(BOOST_HASH "SHA256=7da75f171837577a52bbf217e17f8ea576c7c246e4594d617bfde7fafd408be5") set(BOOST_HASH "SHA256=67acec02d0d118b5de9eb441f5fb707b3a1cdd884be00ca24b9a73c995511f74")
if(CMAKE_VERSION VERSION_LESS "3.24.0") if(CMAKE_VERSION VERSION_LESS "3.24.0")
FetchContent_Declare( FetchContent_Declare(

View File

@@ -3,14 +3,14 @@
"buildsystem": "simple", "buildsystem": "simple",
"build-commands": [ "build-commands": [
"cd tools/build && bison -y -d -o src/engine/jamgram.cpp src/engine/jamgram.y", "cd tools/build && bison -y -d -o src/engine/jamgram.cpp src/engine/jamgram.y",
"./bootstrap.sh --prefix=$FLATPAK_DEST --with-libraries=filesystem,locale,log,program_options,system", "./bootstrap.sh --prefix=$FLATPAK_DEST --with-libraries=filesystem,locale,log,program_options",
"./b2 install variant=release link=shared runtime-link=shared cxxflags=\"$CXXFLAGS\"" "./b2 install variant=release link=shared runtime-link=shared cxxflags=\"$CXXFLAGS\""
], ],
"sources": [ "sources": [
{ {
"type": "archive", "type": "archive",
"url": "https://github.com/boostorg/boost/releases/download/boost-1.87.0/boost-1.87.0-cmake.tar.xz", "url": "https://github.com/boostorg/boost/releases/download/boost-1.89.0/boost-1.89.0-cmake.tar.xz",
"sha256": "7da75f171837577a52bbf217e17f8ea576c7c246e4594d617bfde7fafd408be5" "sha256": "67acec02d0d118b5de9eb441f5fb707b3a1cdd884be00ca24b9a73c995511f74"
} }
] ]
} }

View File

@@ -35,6 +35,7 @@ class Sunshine < Formula
depends_on "miniupnpc" depends_on "miniupnpc"
depends_on "openssl" depends_on "openssl"
depends_on "opus" depends_on "opus"
depends_on "boost" => :recommended
depends_on "icu4c" => :recommended depends_on "icu4c" => :recommended
on_linux do on_linux do

View File

@@ -15,7 +15,7 @@
#include <boost/core/noncopyable.hpp> #include <boost/core/noncopyable.hpp>
#ifndef _WIN32 #ifndef _WIN32
#include <boost/asio.hpp> #include <boost/asio.hpp>
#include <boost/process.hpp> #include <boost/process/v1.hpp>
#endif #endif
// local includes // local includes

View File

@@ -43,7 +43,7 @@
using namespace std::literals; using namespace std::literals;
namespace fs = std::filesystem; namespace fs = std::filesystem;
namespace bp = boost::process; namespace bp = boost::process::v1;
window_system_e window_system; window_system_e window_system;

View File

@@ -22,13 +22,6 @@
#include "src/logging.h" #include "src/logging.h"
#include "src/platform/common.h" #include "src/platform/common.h"
#ifdef __MINGW32__
DECLARE_HANDLE(HSYNTHETICPOINTERDEVICE);
WINUSERAPI HSYNTHETICPOINTERDEVICE WINAPI CreateSyntheticPointerDevice(POINTER_INPUT_TYPE pointerType, ULONG maxCount, POINTER_FEEDBACK_MODE mode);
WINUSERAPI BOOL WINAPI InjectSyntheticPointerInput(HSYNTHETICPOINTERDEVICE device, CONST POINTER_TYPE_INFO *pointerInfo, UINT32 count);
WINUSERAPI VOID WINAPI DestroySyntheticPointerDevice(HSYNTHETICPOINTERDEVICE device);
#endif
namespace platf { namespace platf {
using namespace std::literals; using namespace std::literals;