./devel/abseil, C++ Common Libraries

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 20260107.0, Package name: abseil-20260107.0, Maintainer: pkgsrc-users

Abseil is an open-source collection of C++ library code designed to augment the
C++ standard library. The Abseil library code is collected from Google's own
C++ code base, has been extensively tested and used in production, and is the
same code we depend on in our daily coding lives.

In some cases, Abseil provides pieces missing from the C++ standard; in others,
Abseil provides alternatives to the standard for special needs we've found
through usage in the Google code base. We denote those cases clearly within the
library code we provide you.

Abseil is not meant to be a competitor to the standard library; we've just
found that many of these utilities serve a purpose within our code base, and we
now want to provide those resources to the C++ community as a whole.


Required to build:
[pkgtools/cwrappers]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2026-01-14 13:57:37 by Thomas Klausner | Files touched by this commit (66)
Log message:
*: recursive bump for abseil-20260107.0 shlib version bump
   2026-01-14 13:56:47 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
abseil: update to 20260107.0.

What's New

    absl::StringResizeAndOverwrite(): A new function in
    absl/strings/resize_and_overwrite.h that acts as a polyfill
    for C++23's std::basic_string::resize_and_overwrite. This allows
    for efficient resizing and in-place initialization of strings,
    avoiding the overhead of default initialization, which is
    particularly useful when working with C-style APIs that write
    directly to a buffer. See #1136 (comment) for performance notes.

    absl::chunked_queue: A new container in absl/container/chunked_queue.h
    optimized for use as a FIFO (First-In, First-Out) queue.

    absl::linked_hash_map and absl::linked_hash_set: New hash
    containers that maintain iteration order matching the insertion
    order. These are available in absl/container/linked_hash_map.h
    and absl/container/linked_hash_set.h.

    absl::down_cast: Added to absl/base/casts.h. This function
    provides a safer way to perform downcasts in a polymorphic type
    hierarchy. In debug builds (or when hardened asserts are
    enabled), it uses dynamic_cast to verify the validity of the
    cast and terminates the program if the cast is invalid. In
    optimized builds, it uses static_cast for performance.

Breaking Changes

    Mutex Deprecations: Legacy Mutex methods and MutexLock pointer
    constructors have been marked as deprecated. Users should
    migrate to the recommended APIs.

    The polyfill type absl::string_view is now an alias for
    std::string_view in all builds. (9ebd93a)
   2025-12-04 16:37:42 by Ryo ONODERA | Files touched by this commit (2)
Log message:
devel/abseil: Use _SYS_EXEC_ELF_H_ to detect ELF header v2 for NetBSD
   2025-11-15 12:51:58 by Ryo ONODERA | Files touched by this commit (2)
Log message:
devel/abseil: Fix build under NetBSD/amd64 11.99.4
   2025-09-24 14:06:25 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
abseil: updated to 20250814.1

20250814.1
Bug fixes
   2025-09-19 08:56:57 by Patrick Welche | Files touched by this commit (3)
Log message:
abseil: add upstream gcc 8 std::underlying_type build fix

Hopefully fixes build on NetBSD 9
   2025-08-24 18:36:20 by Thomas Klausner | Files touched by this commit (65)
Log message:
*: recursive bump for abseil 20250814.0
   2025-08-24 18:34:57 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
abseil: update to 20250814.0.

What's New:

    absl::Mutex now contains lower-case method names like lock() and \ 
shared_lock() to align with standard C++ mutex methods. This allows absl::Mutex \ 
to be used with std::scoped_lock and friends. The old names are still present \ 
but may be removed in a future release.
    The RAII Mutex-locker types like absl::MutexLock, absl::ReaderMutexLock, and \ 
friends now accept references to absl::Mutex. The pointer-accepting constructors \ 
are now deprecated, and may be removed in a future release.

Breaking Changes:

    Nullability template types, which were deprecated in the May 2025 release, \ 
have been removed.
    absl::string_view(nullptr), which is undefined behavior according to the C++ \ 
standard, now triggers an assert failure. Note that unless you changed \ 
absl/base/options.h, absl::string_view is an alias for std::string_view, so by \ 
default you will be inheriting the behavior of your standard library instead of \ 
using the Abseil implementation.
    Abseil's hash tables now require a hash function that has a return type with \ 
size >= sizeof(size_t).