SHA256
1
0
forked from pool/abseil-cpp

Compare commits

..

10 Commits

Author SHA256 Message Date
Ana Guerrero
33e55feeee Accepting request 1246551 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1246551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=44
2025-02-18 18:08:54 +00:00
b89b52cd51 - do not obsolete the shared libary package
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=47
2025-02-18 06:00:37 +00:00
Ana Guerrero
5addd698c3 Accepting request 1245084 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1245084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=43
2025-02-11 20:20:11 +00:00
Richard Brown
2dd36bd49e abseil-cpp 20250127.0
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=45
2025-02-11 11:59:07 +00:00
Ana Guerrero
bad8cc6a79 Accepting request 1240386 from devel:microos
- update to 20240722.1 (boo#1236438)
  * potential integer overflow in hash container create/resize

OBS-URL: https://build.opensuse.org/request/show/1240386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=42
2025-01-28 13:58:10 +00:00
9c8ee554c4 abseil-cpp 20240722.1 (boo#1236438)
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=43
2025-01-26 19:02:09 +00:00
Ana Guerrero
0652d1cac6 Accepting request 1237987 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1237987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=41
2025-01-16 17:31:13 +00:00
4ed05860d0 Extend options-cxx17.patch and options-old.patch
to avoid race-condition (boo#1235867)

OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=41
2025-01-15 07:31:14 +00:00
Ana Guerrero
40c237a55f Accepting request 1227605 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1227605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=40
2024-12-02 15:57:57 +00:00
2417e010de abseil-cpp 20240722.0
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=39
2024-12-01 15:50:20 +00:00
9 changed files with 93 additions and 45 deletions

View File

@ -1,26 +0,0 @@
From 779a3565ac6c5b69dd1ab9183e500a27633117d5 Mon Sep 17 00:00:00 2001
From: Derek Mauro <dmauro@google.com>
Date: Tue, 30 Jan 2024 10:13:25 -0800
Subject: [PATCH] Avoid export of testonly target absl::test_allocator in CMake
builds
Closes #1536
PiperOrigin-RevId: 602764437
Change-Id: Ia5c20a3874262a2ddb8797f608af17d7e86dd6d6
---
absl/container/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/absl/container/CMakeLists.txt b/absl/container/CMakeLists.txt
index 449a2cad17e..ee9ca9c3c4a 100644
--- a/absl/container/CMakeLists.txt
+++ b/absl/container/CMakeLists.txt
@@ -213,6 +213,7 @@ absl_cc_library(
DEPS
absl::config
GTest::gmock
+ TESTONLY
)
absl_cc_test(

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
size 2151288

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16242f394245627e508ec6bb296b433c90f8d914f73b9c026fddb905e27276e8
size 2267275

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Mon Feb 17 18:35:03 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- do not obsolete the shared libary package
-------------------------------------------------------------------
Sat Feb 8 10:07:18 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20250127.0
* Added support for Bazel 8.0
* Added support for Bazel Platforms for better portability
* Added ABSL_ATTRIBUTE_VIEW and ABSL_ATTRIBUTE_OWNER for
diagnosing certain lifetime issues
* Many performance improvements
-------------------------------------------------------------------
Sun Jan 26 18:31:46 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20240722.1 (boo#1236438)
* potential integer overflow in hash container create/resize
-------------------------------------------------------------------
Wed Jan 15 02:02:17 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Extend options-cxx17.patch and options-old.patch
to avoid race-condition (boo#1235867)
-------------------------------------------------------------------
Sat Nov 16 22:20:54 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20240722.0:
* Add GoogleTest matchers for absl::Status. These matchers make
it easier to write unit tests for code that uses absl::Status.
* absl::AlphaNum no longer allows brace-initialization
* The deprecated symbol absl::kuint128max has been removed and
should be replaced with absl::Uint128Max().
* absl::aligned_storage_t, which was a polyfill consistent with
std::aligned_storage_t, has been removed.
std::aligned_storage_t is deprecated in C++23
* absl::StrJoin now has a absl::string_view overload. This
allows for passing a collection of string-like objects without
having to convert everything to the same type first. However,
this may be a breaking change for users passing an explicit
template argument to absl::StrJoin. In this case, simply remove
the explicit template parameter.
* vlog_is_on.h is now a public header and is no longer included
from log.h. To use VLOG_IS_ON(), absl/log/vlog_is_on.h must be
included.
- drop abseil-cmake-gtest-testonly.patch
-------------------------------------------------------------------
Fri Jul 5 21:27:25 UTC 2024 - Christoph G <foss@grueninger.de>

View File

@ -1,7 +1,8 @@
#
# spec file for package abseil-cpp
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -16,18 +17,18 @@
#
%global soversion so.2401.0.0
%global lname_suffix 2401_0_0
%global soversion so.2501.0.0
%global lname_suffix 2501_0_0
%if 0%{?gcc_version} < 7
%global with_gcc 7
%endif
Name: abseil-cpp
Version: 20240116.2
Version: 20250127.0
Release: 0
Summary: C++11 libraries which augment the C++ stdlib
License: Apache-2.0
URL: https://abseil.io/
Source0: https://github.com/abseil/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source0: https://github.com/abseil/abseil-cpp/releases/download/%{version}/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: cmake
BuildRequires: fdupes
@ -41,8 +42,6 @@ Patch1: cmake.patch
%else
Patch0: options-cxx17.patch
%endif
# upstream patch to prevent GTest error with CMake 3.30
Patch2: abseil-cmake-gtest-testonly.patch
%description
Abseil is a collection of C++11 libraries which augment the C++
@ -64,7 +63,6 @@ This package provides the subset needed by protobuf-lite.
%package -n libabsl_%{lname_suffix}
Summary: C++11 libraries which augment the C++ stdlib - others
Obsoletes: abseil-cpp < %{version}-%{release}
Obsoletes: libabsl2401_0_0 < %{version}-%{release}
Provides: abseil-cpp = %{version}-%{release}
%description -n libabsl_%{lname_suffix}
@ -166,6 +164,8 @@ export CXX="g++-%{with_gcc}"
%{_libdir}/libabsl_civil_time.%{soversion}
%{_libdir}/libabsl_cordz_sample_token.%{soversion}
%{_libdir}/libabsl_crc_cpu_detect.%{soversion}
%{_libdir}/libabsl_decode_rust_punycode.%{soversion}
%{_libdir}/libabsl_demangle_rust.%{soversion}
%{_libdir}/libabsl_die_if_null.%{soversion}
%{_libdir}/libabsl_failure_signal_handler.%{soversion}
%{_libdir}/libabsl_flags_commandlineflag_internal.%{soversion}
@ -187,8 +187,10 @@ export CXX="g++-%{with_gcc}"
%{_libdir}/libabsl_log_initialize.%{soversion}
%{_libdir}/libabsl_log_internal_conditions.%{soversion}
%{_libdir}/libabsl_log_internal_fnmatch.%{soversion}
%{_libdir}/libabsl_log_internal_structured_proto.%{soversion}
%{_libdir}/libabsl_log_severity.%{soversion}
%{_libdir}/libabsl_periodic_sampler.%{soversion}
%{_libdir}/libabsl_poison.%{soversion}
%{_libdir}/libabsl_random_distributions.%{soversion}
%{_libdir}/libabsl_random_internal_distribution_test_util.%{soversion}
%{_libdir}/libabsl_random_internal_platform.%{soversion}
@ -203,6 +205,8 @@ export CXX="g++-%{with_gcc}"
%{_libdir}/libabsl_scoped_set_env.%{soversion}
%{_libdir}/libabsl_statusor.%{soversion}
%{_libdir}/libabsl_status.%{soversion}
%{_libdir}/libabsl_tracing_internal.%{soversion}
%{_libdir}/libabsl_utf8_for_code_point.%{soversion}
%{_libdir}/libabsl_vlog_config_internal.%{soversion}
%files devel

View File

@ -1,2 +1,2 @@
libabsl_lite_2401_0_0
libabsl_2401_0_0
libabsl_lite_2501_0_0
libabsl_2501_0_0

View File

@ -1,11 +1,13 @@
--- abseil-cpp-20230125.3/CMakeLists.txt 2023-08-08 13:05:37.796998429 +0200
+++ abseil-cpp-20230125.3/CMakeLists.txt 2023-08-08 13:06:11.263885421 +0200
Index: abseil-cpp-20240722.0/CMakeLists.txt
===================================================================
--- abseil-cpp-20240722.0.orig/CMakeLists.txt
+++ abseil-cpp-20240722.0/CMakeLists.txt
@@ -16,7 +16,7 @@
# https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md
# As of 2022-09-06, CMake 3.10 is the minimum supported version.
-cmake_minimum_required(VERSION 3.10)
# As of 2024-07-01, CMake 3.16 is the minimum supported version.
-cmake_minimum_required(VERSION 3.16)
+cmake_minimum_required(VERSION 3.5)
# Compiler id for Apple Clang is now AppleClang.
if (POLICY CMP0025)
# Allow the user to specify the CMAKE_MSVC_DEBUG_INFORMATION_FORMAT
if (POLICY CMP0141)

View File

@ -43,3 +43,12 @@ Index: abseil-cpp-20240116.1/absl/base/options.h
// ABSL_OPTION_USE_STD_ORDERING
//
@@ -201,7 +201,7 @@
// the ordering types are aliases of std:: ordering types, use the feature macro
// ABSL_USES_STD_ORDERING.
-#define ABSL_OPTION_USE_STD_ORDERING 2
+#define ABSL_OPTION_USE_STD_ORDERING 0
// ABSL_OPTION_USE_INLINE_NAMESPACE
// ABSL_OPTION_INLINE_NAMESPACE_NAME

View File

@ -43,3 +43,12 @@ Index: abseil-cpp-20240116.1/absl/base/options.h
// ABSL_OPTION_USE_STD_ORDERING
//
@@ -201,7 +201,7 @@
// the ordering types are aliases of std:: ordering types, use the feature macro
// ABSL_USES_STD_ORDERING.
-#define ABSL_OPTION_USE_STD_ORDERING 2
+#define ABSL_OPTION_USE_STD_ORDERING 0
// ABSL_OPTION_USE_INLINE_NAMESPACE
// ABSL_OPTION_INLINE_NAMESPACE_NAME