From 7d188ea04631458b966fc3ba0241fea89c4eaf8e Mon Sep 17 00:00:00 2001 From: sfn Date: Sat, 25 Oct 2025 13:25:53 +0200 Subject: [PATCH] Maintenance: build against new boost version --- .SRCINFO | 2 +- PKGBUILD | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 2d9d8e8ca785..1f2b7d068df7 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = alice-vision pkgdesc = Photogrammetric Computer Vision Framework which provides 3D Reconstruction and Camera Tracking algorithms pkgver = 3.3.0 - pkgrel = 6 + pkgrel = 7 url = https://alicevision.org/ arch = x86_64 license = MPL-2.0 diff --git a/PKGBUILD b/PKGBUILD index 30115c0320e5..425117087fd1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname='alice-vision' pkgver=3.3.0 -pkgrel=6 +pkgrel=7 options=('!debug') # debug package is kinda big -- needs investigation! pkgdesc="Photogrammetric Computer Vision Framework which provides 3D Reconstruction and Camera Tracking algorithms" arch=('x86_64') @@ -41,8 +41,6 @@ sha256sums=('abdd3b872de2d42d089728fc1ee151c24a1ed78297fc8713c9efd02801bdcc90' prepare() { #Fix ffmpeg bug sed 's|avcodec_close(|avcodec_free_context(\&|g' -i OpenImageIO-2.5.18.0/src/ffmpeg.imageio/ffmpeginput.cpp - #sed 's|avcodec_close(|avcodec_free_context(\&|g' -i lib/tlIO/FFmpegReadAudio.cpp - #sed 's|FF_PROFILE_UNKNOWN|AV_PROFILE_UNKNOWN|g' -i lib/tlIO/FFmpegWrite.cpp cd AliceVision @@ -65,8 +63,15 @@ prepare() { # fix default OCIO config path patch -p1 -i ../fix-default-ocio-path.patch + # fix doc build sed -i '/^ *install.*doc/s/doc/htmlDoc/' src/CMakeLists.txt + + # fix build against newer boost + sed '/Boost::system/d' -i src/software/convert/CMakeLists.txt + sed '/Boost::system/d' -i src/aliceVision/system/CMakeLists.txt + sed '/Boost::system/d' -i src/aliceVision/sensorDB/CMakeLists.txt + } build() {