10 Commits
devel ... main

Author SHA256 Message Date
Jiri Slaby
12d7f90e56 up to 3.3.1 2025-07-11 07:51:42 +02:00
02c9c57553 Accepting request 1279743 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1279743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cxxopts?expand=0&rev=5
2025-05-26 16:35:18 +00:00
b14b1c21c0 Accepting request 1161126 from devel:libraries:c_c++
- update to 3.2.1:
  * Fix compilation with optional on C++20.
  * Fix unannotated fallthrough.
  * Fix sign conversion with Unicode output.
  * Don't initialize regex in static initialiser.
  * Fix incorrect integer overflow checks.
  * Change quote output to '' to match Windows.
  * Don't split positional arguments by the list delimiter.
  * Order help groups by the order they were added.

    short name.

OBS-URL: https://build.opensuse.org/request/show/1161126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cxxopts?expand=0&rev=4
2024-03-25 20:10:35 +00:00
4d2e2a0278 - update to 3.2.1:
* Fix compilation with optional on C++20.
  * Fix unannotated fallthrough.
  * Fix sign conversion with Unicode output.
  * Don't initialize regex in static initialiser.
  * Fix incorrect integer overflow checks.
  * Change quote output to '' to match Windows.
  * Don't split positional arguments by the list delimiter.
  * Order help groups by the order they were added.
    short name.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cxxopts?expand=0&rev=7
2024-03-24 13:36:34 +00:00
5abbf8a681 Accepting request 1077876 from devel:libraries:c_c++
- update to 3.1.1:
  * Fixed version number in header.
  * Support for multiple long names for the same option (=
    multiple long aliases)
  * Add a `program()` function to retrieve the program name.
  * Added a .clang-format file.
  * Added iterator and printing for a ParseResult.
  * Cleanup exception code, add cxxopts::exceptions namespace.
  * Fix `arguments()` having no key for options that only have a
    short name.

OBS-URL: https://build.opensuse.org/request/show/1077876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cxxopts?expand=0&rev=3
2023-04-07 16:17:59 +00:00
d0f725c0ea - update to 3.1.1:
* Fixed version number in header.
  * Support for multiple long names for the same option (=
    multiple long aliases)
  * Add a `program()` function to retrieve the program name.
  * Added a .clang-format file.
  * Added iterator and printing for a ParseResult.
  * Cleanup exception code, add cxxopts::exceptions namespace.
  * Fix `arguments()` having no key for options that only have a
    short name.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cxxopts?expand=0&rev=5
2023-04-07 12:41:41 +00:00
7a2f9424d9 Accepting request 1033516 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1033516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cxxopts?expand=0&rev=2
2022-11-04 16:38:00 +00:00
Ferdinand Thiessen
f6e063d679 Accepting request 1033487 from home:jengelh:branches:devel:libraries:c_c++
- Update descriptions with limitations.
- Trim macros from URL: line (for copy-pasting with mouse).

OBS-URL: https://build.opensuse.org/request/show/1033487
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cxxopts?expand=0&rev=3
2022-11-04 12:35:50 +00:00
e5e296c051 Accepting request 1011116 from devel:libraries:c_c++
Required for new version of pamixer

OBS-URL: https://build.opensuse.org/request/show/1011116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cxxopts?expand=0&rev=1
2022-10-15 14:38:28 +00:00
f954de680b Accepting request 1009600 from home:susnux:branches:multimedia:apps
Required in Factory for newer versions of pamixer

OBS-URL: https://build.opensuse.org/request/show/1009600
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cxxopts?expand=0&rev=1
2022-10-11 05:37:12 +00:00
5 changed files with 23 additions and 53 deletions

View File

@@ -1,44 +0,0 @@
From 050ccd8badc6c706c4d20b3db48b319cc5bd9187 Mon Sep 17 00:00:00 2001
From: Vitaly <vitaly@easycoding.org>
Date: Wed, 12 Mar 2025 09:59:07 +0100
Subject: [PATCH] Added compatibility with CMake 4.
---
CMakeLists.txt | 2 +-
test/add-subdirectory-test/CMakeLists.txt | 2 +-
test/find-package-test/CMakeLists.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a6e4e86e..110d3dd7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-cmake_minimum_required(VERSION 3.1...3.19)
+cmake_minimum_required(VERSION 3.5...3.19)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
include(cxxopts)
diff --git a/test/add-subdirectory-test/CMakeLists.txt b/test/add-subdirectory-test/CMakeLists.txt
index ec14d597..8bf81e3a 100644
--- a/test/add-subdirectory-test/CMakeLists.txt
+++ b/test/add-subdirectory-test/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5...3.19)
project(cxxopts-test)
diff --git a/test/find-package-test/CMakeLists.txt b/test/find-package-test/CMakeLists.txt
index b88d7c9d..0bc60384 100644
--- a/test/find-package-test/CMakeLists.txt
+++ b/test/find-package-test/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5...3.19)
project(cxxopts-test)

BIN
cxxopts-3.2.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
cxxopts-3.3.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Jul 1 06:07:59 UTC 2025 - Jiri Slaby <jslaby@suse.cz>
- fix build with gcc 15 ("Added missing header" below)
- update to 3.3.1:
* Added missing version bump
* Added missing header for GCC 15
* Fix some CMake packaging problems
* `as_optional`
* `ParseResult::contains`
* `std::filesystem` support
* CMake 4 compatibility
- remove (is upstream):
cxxopts-3.2.1-cmake4.patch
-------------------------------------------------------------------
Thu Apr 17 17:08:04 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package cxxopts
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -18,13 +18,12 @@
Name: cxxopts
Version: 3.2.1
Version: 3.3.1
Release: 0
Summary: C++ command line option parser
License: MIT
URL: https://github.com/jarro2783/cxxopts
Source0: https://github.com/jarro2783/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: cxxopts-3.2.1-cmake4.patch
BuildRequires: c++_compiler
BuildRequires: cmake
@@ -48,7 +47,7 @@ It requires and makes use of C++11 <regex>.
%build
%cmake \
-DCXXOPTS_BUILD_EXAMPLES:BOOL=oFF \
-DCXXOPTS_BUILD_EXAMPLES:BOOL=OFF \
-DCXXOPTS_BUILD_TESTS:BOOL=ON
%cmake_build
@@ -62,7 +61,7 @@ It requires and makes use of C++11 <regex>.
%doc README.md
%license LICENSE
%{_includedir}/%{name}.hpp
%{_libdir}/cmake/%{name}/
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/cmake/%{name}/
%{_datadir}/pkgconfig/%{name}.pc
%changelog