From 252cd9532a37247b7e7e81c693ac36a161d276b914801944330c5ae80b2a4861 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 19 May 2023 13:09:15 +0000 Subject: [PATCH] - Update to 4.1.0: Component: * Feature: Support ResizableSplit with customizable separator. * Fix: Support arrow keys in application mode * Fix: Remove useless new line when using an alternative screen. Dom: * Feature: Add the dashed style for border and separator: See DASHED enum, and separatorDashed(), borderDashed() functions. * Feature: Add colored borders. See functions: borderStyled(BorderStyle, Color) and borderStyled(Color). * Feature: Add LinearGradient. It can be used in color and bgColor. * Improvement: Color::Interpolate() uses gamma correction. * Fix: Check the graph area is positive. Build/Install: * Use globally set CMAKE_CXX_STANDARD if it is set. * Expose the pkg-config file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ftxui?expand=0&rev=6 --- ftxui.changes | 20 ++++++++++++++++++++ ftxui.spec | 16 ++++++++++------ v4.1.0.tar.gz | 3 +++ 3 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 v4.1.0.tar.gz diff --git a/ftxui.changes b/ftxui.changes index 7688bf3..31ce768 100644 --- a/ftxui.changes +++ b/ftxui.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Fri May 19 12:55:43 UTC 2023 - Michael Vetter + +- Update to 4.1.0: + Component: + * Feature: Support ResizableSplit with customizable separator. + * Fix: Support arrow keys in application mode + * Fix: Remove useless new line when using an alternative screen. + Dom: + * Feature: Add the dashed style for border and separator: + See DASHED enum, and separatorDashed(), borderDashed() functions. + * Feature: Add colored borders. + See functions: borderStyled(BorderStyle, Color) and borderStyled(Color). + * Feature: Add LinearGradient. It can be used in color and bgColor. + * Improvement: Color::Interpolate() uses gamma correction. + * Fix: Check the graph area is positive. + Build/Install: + * Use globally set CMAKE_CXX_STANDARD if it is set. + * Expose the pkg-config file. + ------------------------------------------------------------------- Sun Apr 2 21:26:58 UTC 2023 - Michael Vetter diff --git a/ftxui.spec b/ftxui.spec index b6a8eb3..667a68e 100644 --- a/ftxui.spec +++ b/ftxui.spec @@ -15,9 +15,10 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define c_lib libftxui4_0_0 + +%define c_lib libftxui4_1_0 Name: ftxui -Version: 4.0.0 +Version: 4.1.0 Release: 0 Summary: A C++ library for terminal based user interfaces License: MIT @@ -25,6 +26,7 @@ URL: https://github.com/ArthurSonzogni/FTXUI Source: https://github.com/ArthurSonzogni/FTXUI/archive/refs/tags/v%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ +BuildRequires: pkgconfig %description A C++ library for terminal based user interfaces. @@ -41,6 +43,7 @@ A C++ library for terminal based user interfaces. Summary: Devel files for ftxui Group: Development/Libraries/C and C++ Requires: %{c_lib} = %{version} +Provides: ftxui %description devel Development files for ftxui. @@ -57,14 +60,14 @@ Development files for ftxui. %install %cmake_install -%ldconfig_scriptlets -n libftxui4_0_0 +%ldconfig_scriptlets -n %{c_lib} %files -n %{c_lib} %license LICENSE %doc CHANGELOG.md README.md -%{_libdir}/libftxui-component.so.4.0.0 -%{_libdir}/libftxui-dom.so.4.0.0 -%{_libdir}/libftxui-screen.so.4.0.0 +%{_libdir}/libftxui-component.so.4.1.0 +%{_libdir}/libftxui-dom.so.4.1.0 +%{_libdir}/libftxui-screen.so.4.1.0 %files devel %license LICENSE @@ -74,5 +77,6 @@ Development files for ftxui. %{_libdir}/libftxui-component.so %{_libdir}/libftxui-dom.so %{_libdir}/libftxui-screen.so +%{_prefix}/lib/pkgconfig/ftxui.pc %changelog diff --git a/v4.1.0.tar.gz b/v4.1.0.tar.gz new file mode 100644 index 0000000..b61f1c2 --- /dev/null +++ b/v4.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f03f5917b44c9bc12335ad891a93813bbb6e738e0bd0c44f97bcc6077c45980 +size 1155581