head 1.9; access; symbols pkgsrc-2026Q1:1.9.0.8 pkgsrc-2026Q1-base:1.9 pkgsrc-2025Q4:1.9.0.6 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.9.0.4 pkgsrc-2025Q3-base:1.9 pkgsrc-2025Q2:1.9.0.2 pkgsrc-2025Q2-base:1.9 pkgsrc-2025Q1:1.8.0.8 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.8.0.6 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.8.0.4 pkgsrc-2024Q3-base:1.8 pkgsrc-2024Q2:1.8.0.2 pkgsrc-2024Q2-base:1.8 pkgsrc-2024Q1:1.7.0.2 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.6.0.8 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.6 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.4 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.2 pkgsrc-2023Q1-base:1.6 pkgsrc-2021Q2:1.4.0.12 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.10 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.8 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.6 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.4 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.2 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.3.0.10 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.6 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.4 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.2 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.2.0.14 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.12 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.10 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.8 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.6 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.4 pkgsrc-2017Q3-base:1.2; locks; strict; comment @# @; 1.9 date 2025.03.31.09.42.35; author adam; state Exp; branches; next 1.8; commitid ClvVBud8pSI2DcPF; 1.8 date 2024.04.05.13.40.03; author adam; state Exp; branches; next 1.7; commitid HKi8MPpgaIbYvX4F; 1.7 date 2024.03.22.07.53.09; author wiz; state Exp; branches; next 1.6; commitid 427nCrZZbcVN283F; 1.6 date 2023.03.15.13.29.58; author adam; state Exp; branches; next 1.5; commitid pAR5ttsJZKCKTdhE; 1.5 date 2021.06.28.18.46.09; author wiz; state dead; branches; next 1.4; commitid U3xDEHmmZOmQJVYC; 1.4 date 2020.01.16.10.44.25; author adam; state Exp; branches; next 1.3; commitid xc6UdYdsVZkJ4USB; 1.3 date 2019.01.10.09.38.18; author tnn; state Exp; branches; next 1.2; commitid v3UkwnV99aQrDd7B; 1.2 date 2017.08.25.08.32.19; author adam; state Exp; branches; next 1.1; commitid PvEXCHaDUJ8irz4A; 1.1 date 2017.07.14.17.27.40; author adam; state Exp; branches; next ; commitid DtJmZCN7pyViKdZz; desc @@ 1.9 log @snappy: updated to 1.2.2 Snappy v1.2.2, Mar 26th 2025: * We added a new compression level in v1.2.1 which compresses a bit denser but slower. Decompression speed should be even faster with it. * We fixed a very old issue of data corruption when compressed size exceeds 4GB. This can happen when you compress data close to 4GB and it's incompressible, for example, random data. * Started to use minimum CMake 3.10 because older ones are not planned to be supported. * Various other small fixes and performance improvements (especially for clang). @ text @$NetBSD: patch-CMakeLists.txt,v 1.8 2024/04/05 13:40:03 adam Exp $ Avoid -Werror. --- CMakeLists.txt.orig 2025-03-26 15:19:22.000000000 +0000 +++ CMakeLists.txt @@@@ -66,12 +66,6 @@@@ else(MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra") endif(NOT CMAKE_CXX_FLAGS MATCHES "-Wextra") - # Use -Werror for clang only. - if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") - if(NOT CMAKE_CXX_FLAGS MATCHES "-Werror") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") - endif(NOT CMAKE_CXX_FLAGS MATCHES "-Werror") - endif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") # Disable sign comparison warnings. Matches upcoming Bazel setup. if(NOT CMAKE_CXX_FLAGS MATCHES "-Wno-sign-compare") @ 1.8 log @snappy: updated to 1.2.0 Snappy 1.2.0 Level API was added with level 2 support. Compresses 5-10% denser and decompresses 5-10% faster. The compression speed drop is about 20-30% Minor fixes @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.7 2024/03/22 07:53:09 wiz Exp $ a3 1 Check a different intrinsic to fix build on armv7. d5 1 a5 1 --- CMakeLists.txt.orig 2024-04-04 19:04:38.000000000 +0000 d7 1 a7 1 @@@@ -66,12 +66,6 @@@@ else(CMAKE_CXX_COMPILER_ID STREQUAL "MSV a19 12 @@@@ -207,9 +201,9 @@@@ int main() { check_cxx_source_compiles(" #include int main() { - uint8_t val = 3, dup[8]; + uint8_t val = 3; uint8x16_t v = vld1q_dup_u8(&val); - vst1q_u8(dup, v); + val = vmaxvq_u8(v); return 0; }" SNAPPY_HAVE_NEON) @ 1.7 log @snappy: armv7 build fix from Paul Ripke on pkgsrc-users @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.6 2023/03/15 13:29:58 adam Exp $ d6 1 a6 1 --- CMakeLists.txt.orig 2023-03-08 23:44:00.000000000 +0000 d19 3 a21 3 # Disable C++ exceptions. string(REGEX REPLACE "-fexceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") @@@@ -194,9 +188,9 @@@@ int main() { @ 1.6 log @snappy: updated to 1.1.10 Snappy 1.1.10 Performance improvements Compilation fixes for various environments @ text @d1 1 a1 1 $NetBSD$ d4 1 d6 1 a6 1 --- CMakeLists.txt.orig 2023-03-15 13:20:25.399932889 +0000 d21 12 @ 1.5 log @snappy: update to 1.1.9. Performance improvements. Google Test and Google Benchmark are now bundled in third_party/. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.4 2020/01/16 10:44:25 adam Exp $ d3 1 a3 2 Correcly link against googletest libraries. gtest-all.cc: needs -lpthread d5 1 a5 1 --- CMakeLists.txt.orig 2020-01-14 18:58:53.000000000 +0000 d7 3 a9 6 @@@@ -212,7 +212,7 @@@@ if(SNAPPY_BUILD_TESTS) "snappy-test.cc" ) target_compile_definitions(snappy_unittest PRIVATE -DHAVE_CONFIG_H) - target_link_libraries(snappy_unittest snappy ${GFLAGS_LIBRARIES}) + target_link_libraries(snappy_unittest snappy ${GTEST_BOTH_LIBRARIES} -lpthread) d11 9 a19 2 if(HAVE_LIBZ) target_link_libraries(snappy_unittest z) @ 1.4 log @snappy: updated to 1.1.8 Snappy v1.1.8: * Small performance improvements. * Removed snappy::string alias for std::string. * Improved CMake configuration. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.3 2019/01/10 09:38:18 tnn Exp $ @ 1.3 log @snappy: fix linking of unit test @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2017/08/25 08:32:19 adam Exp $ d6 1 a6 1 --- CMakeLists.txt.orig 2017-08-24 23:54:23.000000000 +0000 d8 2 a9 2 @@@@ -118,7 +118,7 @@@@ if(SNAPPY_BUILD_TESTS) "${PROJECT_SOURCE_DIR}/snappy-test.cc" @ 1.2 log @Snappy 1.1.7 Improved CMake build support for 64-bit Linux distributions. MSVC builds now use MSVC-specific intrinsics that map to clzll. ARM64 (AArch64) builds use the code paths optimized for 64-bit processors. @ text @d1 1 a1 1 $NetBSD$ d4 1 d13 1 a13 1 + target_link_libraries(snappy_unittest snappy ${GTEST_BOTH_LIBRARIES}) @ 1.1 log @Snappy v1.1.6: This is a re-release of v1.1.5 with proper SONAME / SOVERSION values. Snappy v1.1.5: This release has broken SONAME / SOVERSION values. Users of snappy as a shared library should avoid 1.1.5 and use 1.1.6 instead. SONAME / SOVERSION errors will manifest as the dynamic library loader complaining that it cannot find snappy's shared library file (libsnappy.so / libsnappy.dylib), or that the library it found does not have the required version. 1.1.6 has the same code as 1.1.5, but carries build configuration fixes for the issues above. * Add CMake build support. The autoconf build support is now deprecated, and will be removed in the next release. * Add AppVeyor configuration, for Windows CI coverage. * Small performance improvement on little-endian PowerPC. * Small performance improvement on LLVM with position-independent executables. * Fix a few issues with various build environments. @ text @d5 1 a5 1 --- CMakeLists.txt.orig 2017-07-14 08:22:42.000000000 +0000 d7 6 a12 8 @@@@ -147,7 +147,7 @@@@ ENDIF (HAVE_LIBQUICKLZ) ADD_EXECUTABLE(snappy-unittest snappy_unittest.cc snappy-test.cc) TARGET_COMPILE_DEFINITIONS(snappy-unittest PRIVATE -DHAVE_CONFIG_H) TARGET_LINK_LIBRARIES(snappy-unittest snappy ${COMPRESSION_LIBS} - ${GFLAGS_LIBRARIES}) + ${GTEST_BOTH_LIBRARIES}) TARGET_INCLUDE_DIRECTORIES(snappy-unittest BEFORE PRIVATE ${Snappy_SOURCE_DIR} ${GTEST_INCLUDE_DIRS} ${GFLAGS_INCLUDE_DIRS}) d14 2 @