mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
♻ update deps
This commit is contained in:
parent
617e756b16
commit
5033d87c7f
@ -38,13 +38,13 @@ CPMAddPackage(
|
||||
CPMAddPackage(
|
||||
NAME fmt
|
||||
GITHUB_REPOSITORY fmtlib/fmt
|
||||
GIT_TAG 86477f7ecc1606e15abae1ff784e6b0c55d99619
|
||||
GIT_TAG 8271e43e5e8ddef3e6cd00609da8025b5936b262
|
||||
EXCLUDE_FROM_ALL YES
|
||||
)
|
||||
CPMAddPackage(
|
||||
NAME spdlog
|
||||
GITHUB_REPOSITORY gabime/spdlog
|
||||
GIT_TAG 2f2d04b3e840428a18942ca2d3d65203ec564647
|
||||
GIT_TAG b1478d98f017f3a7644e6e3a16fab6a47a5c26ba
|
||||
EXCLUDE_FROM_ALL YES
|
||||
)
|
||||
CPMAddPackage(
|
||||
|
@ -60,7 +60,7 @@ function(set_project_warnings project_name)
|
||||
-Wuseless-cast # warn if you perform a cast to the same type
|
||||
|
||||
-Wsuggest-attribute=cold
|
||||
-Wsuggest-attribute=format
|
||||
#-Wsuggest-attribute=format
|
||||
-Wsuggest-attribute=malloc
|
||||
-Wsuggest-attribute=noreturn
|
||||
-Wsuggest-attribute=pure
|
||||
|
@ -86,7 +86,7 @@ if cc.get_id() == 'gcc'
|
||||
'-Wuseless-cast',
|
||||
|
||||
'-Wsuggest-attribute=cold',
|
||||
'-Wsuggest-attribute=format',
|
||||
#'-Wsuggest-attribute=format',
|
||||
'-Wsuggest-attribute=malloc',
|
||||
'-Wsuggest-attribute=noreturn',
|
||||
'-Wsuggest-attribute=pure',
|
||||
|
@ -59,8 +59,8 @@ void follow_process_log_widget(const std::vector<std::string>& vec, Decorator bo
|
||||
screen.ExitLoopClosure()();
|
||||
};
|
||||
|
||||
auto button_back = Button("Back", handle_exit, ButtonOption::WithoutBorder());
|
||||
auto container = Container::Horizontal({button_back});
|
||||
auto button_back = Button("Back", handle_exit, ButtonOption::WithoutBorder());
|
||||
auto container = Container::Horizontal({button_back});
|
||||
|
||||
auto renderer = Renderer(container, [&] {
|
||||
return tui::detail::centered_widget(container, "New CLI Installer", tui::detail::multiline_text(utils::make_multiline(process_log, true)) | boxsize | vscroll_indicator | yframe | flex);
|
||||
|
@ -74,7 +74,7 @@ namespace utils {
|
||||
bool is_connected() noexcept {
|
||||
#ifdef NDEVENV
|
||||
/* clang-format off */
|
||||
auto r = cpr::Get(cpr::Url{"https://wiki.cachyos.org"},
|
||||
auto r = cpr::Get(cpr::Url{"https://cachyos.org"},
|
||||
cpr::Timeout{1000});
|
||||
/* clang-format on */
|
||||
return cpr::status::is_success(static_cast<std::int32_t>(r.status_code)) || cpr::status::is_redirect(static_cast<std::int32_t>(r.status_code));
|
||||
|
@ -1,6 +1,6 @@
|
||||
[wrap-git]
|
||||
url = https://github.com/fmtlib/fmt.git
|
||||
revision = 86477f7ecc1606e15abae1ff784e6b0c55d99619
|
||||
revision = 8271e43e5e8ddef3e6cd00609da8025b5936b262
|
||||
|
||||
patch_directory = fmt
|
||||
|
||||
|
@ -2,7 +2,7 @@ project('fmt', 'cpp',
|
||||
version : '8.1.1',
|
||||
license : 'BSD',
|
||||
default_options : [
|
||||
'cpp_std=c++14',
|
||||
'cpp_std=c++20',
|
||||
'default_library=static',
|
||||
]
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
project('ftxui', 'cpp',
|
||||
version: '2.0.0',
|
||||
version: '3.0.0',
|
||||
license : 'MIT',
|
||||
default_options: ['cpp_std=c++17']
|
||||
default_options: ['cpp_std=c++20']
|
||||
)
|
||||
|
||||
cpp = meson.get_compiler('cpp')
|
||||
@ -37,6 +37,7 @@ ftxui_dom_lib = static_library('ftxui_dom',
|
||||
'src/ftxui/dom/border.cpp',
|
||||
'src/ftxui/dom/box_helper.hpp',
|
||||
'src/ftxui/dom/box_helper.cpp',
|
||||
'src/ftxui/dom/canvas.cpp',
|
||||
'src/ftxui/dom/clear_under.cpp',
|
||||
'src/ftxui/dom/color.cpp',
|
||||
'src/ftxui/dom/composite_decorator.cpp',
|
||||
@ -87,6 +88,7 @@ ftxui_component_lib = static_library('ftxui_component',
|
||||
'src/ftxui/component/button.cpp',
|
||||
'src/ftxui/component/catch_event.cpp',
|
||||
'src/ftxui/component/checkbox.cpp',
|
||||
'src/ftxui/component/collapsible.cpp',
|
||||
'src/ftxui/component/component.cpp',
|
||||
'src/ftxui/component/component_options.cpp',
|
||||
'src/ftxui/component/container.cpp',
|
||||
|
@ -1,6 +1,6 @@
|
||||
[wrap-git]
|
||||
url = https://github.com/gabime/spdlog.git
|
||||
revision = 2f2d04b3e840428a18942ca2d3d65203ec564647
|
||||
revision = b1478d98f017f3a7644e6e3a16fab6a47a5c26ba
|
||||
|
||||
patch_directory = spdlog
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user