diff --git a/srcpkgs/juCi++/patches/boost-1.88.patch b/srcpkgs/juCi++/patches/boost-1.88.patch new file mode 100644 index 00000000000..a8d3ab69ad9 --- /dev/null +++ b/srcpkgs/juCi++/patches/boost-1.88.patch @@ -0,0 +1,44 @@ +--- a/src/usages_clang.cpp ++++ b/src/usages_clang.cpp +@@ -562,7 +562,7 @@ Usages::Clang::PathSet Usages::Clang::fi + boost::system::error_code ec; + if(!boost::filesystem::is_regular_file(path, ec)) { + if(path == build_path || path == debug_path || path.filename() == ".git") +- it.no_push(); ++ it.disable_recursion_pending(); + continue; + } + +@@ -737,7 +737,7 @@ void Usages::Clang::write_cache(const bo + stream.close(); + boost::filesystem::rename(tmp_file, full_cache_path, ec); + if(ec) { +- boost::filesystem::copy_file(tmp_file, full_cache_path, boost::filesystem::copy_option::overwrite_if_exists); ++ boost::filesystem::copy_file(tmp_file, full_cache_path, boost::filesystem::copy_options::overwrite_existing); + boost::filesystem::remove(tmp_file, ec); + } + } +--- a/src/source.cpp ++++ b/src/source.cpp +@@ -1122,8 +1122,9 @@ void Source::View::setup_format_style(bo + get_buffer()->begin_user_action(); + try { + boost::property_tree::ptree pt; ++ boost::property_tree::ptree no_elem; + boost::property_tree::xml_parser::read_xml(stdout_stream, pt); +- auto replacements_pt = pt.get_child("replacements", boost::property_tree::ptree()); ++ auto replacements_pt = pt.get_child("replacements", no_elem); + for(auto it = replacements_pt.rbegin(); it != replacements_pt.rend(); ++it) { + if(it->first == "replacement") { + auto offset = it->second.get(".offset"); +--- a/src/window.cpp ++++ b/src/window.cpp +@@ -990,7 +990,7 @@ void Window::set_menu_actions() { + if(std::any_of(exclude_folders.begin(), exclude_folders.end(), [&filename](const std::string &exclude_folder) { + return filename == exclude_folder; + })) +- it.no_push(); ++ it.disable_recursion_pending(); + continue; + } + files.emplace_back(path); diff --git a/srcpkgs/juCi++/template b/srcpkgs/juCi++/template index 2bc502e5d4d..a03a8204ad3 100644 --- a/srcpkgs/juCi++/template +++ b/srcpkgs/juCi++/template @@ -1,15 +1,15 @@ # Template file for 'juCi++' pkgname=juCi++ version=1.7.2 -revision=9 +revision=10 _llvmver=19 _libclangmm_commit="9704b9b6de0982a588fa41741157d5640afedf30" _tiny_commit="839ff806dc447ff49af80f9a9eaa7949f770f8e5" -build_wrksrc=jucipp-v${version} build_style=cmake configure_args="-DCMAKE_PREFIX_PATH=${XBPS_CROSS_BASE}/usr/lib/llvm/${_llvmver}" hostmakedepends="pkg-config" -makedepends="aspell-devel clang${_llvmver}-devel boost-devel gtksourceviewmm-devel libgit2-devel" +makedepends="aspell-devel clang${_llvmver}-devel boost-devel-minimal + libboost_filesystem libboost_serialization gtksourceviewmm-devel libgit2-devel" depends="ctags" short_desc="Lightweight IDE supporting the most recent C++ standards" maintainer="rc-05 " @@ -22,14 +22,15 @@ checksum="e792ddb95328ab055b0a4b7eb18669b3337648a4a931ee6ede541c2e95a686e9 4ed79294cb67ae56a4d72e50c4188c49215df51c8b9a466fc0aeeaab2dbc7a3f a808e5e3bdb43a04c862da968588ceffb1e46b85a32b430d5e27f243b37f5098" nocross=yes #clang cannot be installed as makedepends when cross compiling +skip_extraction="libclangmm-${_libclangmm_commit}.tar.gz tiny-process-library-${_tiny_commit}.tar.gz" case "$XBPS_TARGET_MACHINE" in x86_64*|ppc64le*|aarch64*|arm*) makedepends+=" lldb17-devel";; esac post_extract() { - mv -T libclangmm-${_libclangmm_commit} ${build_wrksrc}/lib/libclangmm - mv -T tiny-process-library-${_tiny_commit} ${build_wrksrc}/lib/tiny-process-library + vsrcextract -C lib/libclangmm libclangmm-${_libclangmm_commit}.tar.gz + vsrcextract -C lib/tiny-process-library tiny-process-library-${_tiny_commit}.tar.gz } post_install() {