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
commit 875ad1d11a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 9 additions and 14 deletions

View file

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

View file

@ -3,7 +3,7 @@
#
include_guard(GLOBAL)
set(BOOST_VERSION "1.87.0")
set(BOOST_VERSION "1.89.0")
set(BOOST_COMPONENTS
filesystem
locale
@ -55,7 +55,7 @@ if(NOT Boost_FOUND)
# Limit boost to the required libraries only
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_HASH "SHA256=7da75f171837577a52bbf217e17f8ea576c7c246e4594d617bfde7fafd408be5")
set(BOOST_HASH "SHA256=67acec02d0d118b5de9eb441f5fb707b3a1cdd884be00ca24b9a73c995511f74")
if(CMAKE_VERSION VERSION_LESS "3.24.0")
FetchContent_Declare(

View file

@ -3,14 +3,14 @@
"buildsystem": "simple",
"build-commands": [
"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\""
],
"sources": [
{
"type": "archive",
"url": "https://github.com/boostorg/boost/releases/download/boost-1.87.0/boost-1.87.0-cmake.tar.xz",
"sha256": "7da75f171837577a52bbf217e17f8ea576c7c246e4594d617bfde7fafd408be5"
"url": "https://github.com/boostorg/boost/releases/download/boost-1.89.0/boost-1.89.0-cmake.tar.xz",
"sha256": "67acec02d0d118b5de9eb441f5fb707b3a1cdd884be00ca24b9a73c995511f74"
}
]
}

View file

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

View file

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

View file

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

View file

@ -22,13 +22,6 @@
#include "src/logging.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 {
using namespace std::literals;