pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/mdds



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Oct 15 07:18:52 UTC 2023

Modified Files:
        pkgsrc/devel/mdds: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/devel/mdds/patches: patch-configure

Log Message:
mdds: Update to 2.1.1

Changelog:
2.1.1
flat_segment_tree
  * added a method that returns a segment range object compatible with
    ranged for loop.
  * added a move constructor and a move assignment operator.
  * added variants of search() and search_tree() that return a result data
    structure that contains the value, the start and end keys of the range.
multi_type_vector
  * added a range adaptor for mdds::mtv::element_block compatible with
    ranged for loop.

2.1.0
general
  * switched to using ax_valgrind_check for running memory tests. This
    introduces additional build targets, such as check-valgrind to run
    the tests under valgrind.
multi_type_vector
  * delayed_delete_vector has been introduced as the new default storage
    type for the element blocks. This storage type is optimized for use
    cases where elements get repeatedly erased from the front of the array,
    by delaying the actual deletion of the elements until much later.
    This reduces the amount of element shifting associated with the element
    deletions, which can be costly.
  * added an additional template parameter to the element block types in
    order to allow the underlying storage type to be specified per element
    type. This can be used to switch between std::vector, std::deque,
    delayed_delete_vector, or any other compatible custom container types.
sorted_string_map
  * made the entry type a template parameter to allow optionally defining
    the keys in the entry values as std::string_view.

2.0.3
general
  * defined clang-format rules, and globally applied them to all active
    source files.

multi_type_vector
  * revised the block position lookup implementation to avoid using
    the internal STL iterators. The new implementation should be able to
    handle invalid position hints more gracefully without potential process
    termination.

2.0.2
multi_type_vector
  * added optional trace function that gets called on every called public
    method.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/mdds/DESCR
cvs rdiff -u -r1.54 -r1.55 pkgsrc/devel/mdds/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/mdds/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/mdds/buildlink3.mk
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/mdds/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/mdds/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/mdds/DESCR
diff -u pkgsrc/devel/mdds/DESCR:1.3 pkgsrc/devel/mdds/DESCR:1.4
--- pkgsrc/devel/mdds/DESCR:1.3 Wed Feb  5 13:26:09 2020
+++ pkgsrc/devel/mdds/DESCR     Sun Oct 15 07:18:52 2023
@@ -7,5 +7,3 @@ It implements the following data structu
     * flat segment tree
     * segment tree
     * rectangle set
-
-This package contains the 1.5 branch of the software.

Index: pkgsrc/devel/mdds/Makefile
diff -u pkgsrc/devel/mdds/Makefile:1.54 pkgsrc/devel/mdds/Makefile:1.55
--- pkgsrc/devel/mdds/Makefile:1.54     Wed Jul 19 14:53:20 2023
+++ pkgsrc/devel/mdds/Makefile  Sun Oct 15 07:18:52 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.54 2023/07/19 14:53:20 nia Exp $
+# $NetBSD: Makefile,v 1.55 2023/10/15 07:18:52 ryoon Exp $
 
-DISTNAME=      mdds-2.0.1
-PKGREVISION=   2
+DISTNAME=      mdds-2.1.1
 CATEGORIES=    devel
 MASTER_SITES=  http://kohei.us/files/mdds/src/
 EXTRACT_SUFX=  .tar.bz2

Index: pkgsrc/devel/mdds/PLIST
diff -u pkgsrc/devel/mdds/PLIST:1.13 pkgsrc/devel/mdds/PLIST:1.14
--- pkgsrc/devel/mdds/PLIST:1.13        Sat Feb  5 04:00:52 2022
+++ pkgsrc/devel/mdds/PLIST     Sun Oct 15 07:18:52 2023
@@ -1,51 +1,47 @@
-@comment $NetBSD: PLIST,v 1.13 2022/02/05 04:00:52 ryoon Exp $
-include/mdds-2.0/mdds/flat_segment_tree.hpp
-include/mdds-2.0/mdds/flat_segment_tree_def.inl
-include/mdds-2.0/mdds/flat_segment_tree_itr.hpp
-include/mdds-2.0/mdds/global.hpp
-include/mdds-2.0/mdds/multi_type_matrix.hpp
-include/mdds-2.0/mdds/multi_type_matrix_def.inl
-include/mdds-2.0/mdds/multi_type_vector.hpp
-include/mdds-2.0/mdds/multi_type_vector/aos/block_util.hpp
-include/mdds-2.0/mdds/multi_type_vector/aos/iterator.hpp
-include/mdds-2.0/mdds/multi_type_vector/aos/main.hpp
-include/mdds-2.0/mdds/multi_type_vector/aos/main_def.inl
-include/mdds-2.0/mdds/multi_type_vector/collection.hpp
-include/mdds-2.0/mdds/multi_type_vector/collection_def.inl
-include/mdds-2.0/mdds/multi_type_vector/custom_func1.hpp
-include/mdds-2.0/mdds/multi_type_vector/custom_func2.hpp
-include/mdds-2.0/mdds/multi_type_vector/custom_func3.hpp
-include/mdds-2.0/mdds/multi_type_vector/iterator_node.hpp
-include/mdds-2.0/mdds/multi_type_vector/macro.hpp
-include/mdds-2.0/mdds/multi_type_vector/soa/block_util.hpp
-include/mdds-2.0/mdds/multi_type_vector/soa/iterator.hpp
-include/mdds-2.0/mdds/multi_type_vector/soa/main.hpp
-include/mdds-2.0/mdds/multi_type_vector/soa/main_def.inl
-include/mdds-2.0/mdds/multi_type_vector/trait.hpp
-include/mdds-2.0/mdds/multi_type_vector/types.hpp
-include/mdds-2.0/mdds/multi_type_vector/util.hpp
-include/mdds-2.0/mdds/multi_type_vector_custom_func1.hpp
-include/mdds-2.0/mdds/multi_type_vector_custom_func2.hpp
-include/mdds-2.0/mdds/multi_type_vector_custom_func3.hpp
-include/mdds-2.0/mdds/multi_type_vector_itr.hpp
-include/mdds-2.0/mdds/multi_type_vector_macro.hpp
-include/mdds-2.0/mdds/multi_type_vector_trait.hpp
-include/mdds-2.0/mdds/multi_type_vector_types.hpp
-include/mdds-2.0/mdds/node.hpp
-include/mdds-2.0/mdds/point_quad_tree.hpp
-include/mdds-2.0/mdds/quad_node.hpp
-include/mdds-2.0/mdds/ref_pair.hpp
-include/mdds-2.0/mdds/rtree.hpp
-include/mdds-2.0/mdds/rtree_def.inl
-include/mdds-2.0/mdds/segment_tree.hpp
-include/mdds-2.0/mdds/segment_tree_def.inl
-include/mdds-2.0/mdds/sorted_string_map.hpp
-include/mdds-2.0/mdds/sorted_string_map_def.inl
-include/mdds-2.0/mdds/trie_map.hpp
-include/mdds-2.0/mdds/trie_map_def.inl
-include/mdds-2.0/mdds/trie_map_itr.hpp
-share/doc/mdds/AUTHORS
-share/doc/mdds/COPYING
-share/doc/mdds/NEWS
-share/doc/mdds/README.md
-share/pkgconfig/mdds-2.0.pc
+@comment $NetBSD: PLIST,v 1.14 2023/10/15 07:18:52 ryoon Exp $
+include/mdds-2.1/mdds/flat_segment_tree.hpp
+include/mdds-2.1/mdds/flat_segment_tree_def.inl
+include/mdds-2.1/mdds/flat_segment_tree_itr.hpp
+include/mdds-2.1/mdds/global.hpp
+include/mdds-2.1/mdds/multi_type_matrix.hpp
+include/mdds-2.1/mdds/multi_type_matrix_def.inl
+include/mdds-2.1/mdds/multi_type_vector.hpp
+include/mdds-2.1/mdds/multi_type_vector/aos/block_util.hpp
+include/mdds-2.1/mdds/multi_type_vector/aos/iterator.hpp
+include/mdds-2.1/mdds/multi_type_vector/aos/main.hpp
+include/mdds-2.1/mdds/multi_type_vector/aos/main_def.inl
+include/mdds-2.1/mdds/multi_type_vector/block_funcs.hpp
+include/mdds-2.1/mdds/multi_type_vector/collection.hpp
+include/mdds-2.1/mdds/multi_type_vector/collection_def.inl
+include/mdds-2.1/mdds/multi_type_vector/env.hpp
+include/mdds-2.1/mdds/multi_type_vector/iterator_node.hpp
+include/mdds-2.1/mdds/multi_type_vector/macro.hpp
+include/mdds-2.1/mdds/multi_type_vector/soa/block_util.hpp
+include/mdds-2.1/mdds/multi_type_vector/soa/iterator.hpp
+include/mdds-2.1/mdds/multi_type_vector/soa/main.hpp
+include/mdds-2.1/mdds/multi_type_vector/soa/main_def.inl
+include/mdds-2.1/mdds/multi_type_vector/standard_element_blocks.hpp
+include/mdds-2.1/mdds/multi_type_vector/types.hpp
+include/mdds-2.1/mdds/multi_type_vector/types_util.hpp
+include/mdds-2.1/mdds/multi_type_vector/util.hpp
+include/mdds-2.1/mdds/multi_type_vector_itr.hpp
+include/mdds-2.1/mdds/multi_type_vector_macro.hpp
+include/mdds-2.1/mdds/multi_type_vector_types.hpp
+include/mdds-2.1/mdds/node.hpp
+include/mdds-2.1/mdds/point_quad_tree.hpp
+include/mdds-2.1/mdds/quad_node.hpp
+include/mdds-2.1/mdds/ref_pair.hpp
+include/mdds-2.1/mdds/rtree.hpp
+include/mdds-2.1/mdds/rtree_def.inl
+include/mdds-2.1/mdds/segment_tree.hpp
+include/mdds-2.1/mdds/segment_tree_def.inl
+include/mdds-2.1/mdds/sorted_string_map.hpp
+include/mdds-2.1/mdds/sorted_string_map_def.inl
+include/mdds-2.1/mdds/trie_map.hpp
+include/mdds-2.1/mdds/trie_map_def.inl
+include/mdds-2.1/mdds/trie_map_itr.hpp
+share/doc/mdds-2.1/AUTHORS
+share/doc/mdds-2.1/COPYING
+share/doc/mdds-2.1/NEWS
+share/doc/mdds-2.1/README.md
+share/pkgconfig/mdds-2.1.pc

Index: pkgsrc/devel/mdds/buildlink3.mk
diff -u pkgsrc/devel/mdds/buildlink3.mk:1.7 pkgsrc/devel/mdds/buildlink3.mk:1.8
--- pkgsrc/devel/mdds/buildlink3.mk:1.7 Wed Jul 19 14:53:20 2023
+++ pkgsrc/devel/mdds/buildlink3.mk     Sun Oct 15 07:18:52 2023
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2023/07/19 14:53:20 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2023/10/15 07:18:52 ryoon Exp $
 
 BUILDLINK_TREE+=       mdds
 
@@ -7,7 +7,7 @@ MDDS_BUILDLINK3_MK:=
 
 USE_CXX_FEATURES+=     c++17
 
-BUILDLINK_API_DEPENDS.mdds+=   mdds>=2.0.1
+BUILDLINK_API_DEPENDS.mdds+=   mdds>=2.1.1
 BUILDLINK_PKGSRCDIR.mdds?=     ../../devel/mdds
 # only contains header files
 BUILDLINK_DEPMETHOD.mdds?=     build

Index: pkgsrc/devel/mdds/distinfo
diff -u pkgsrc/devel/mdds/distinfo:1.23 pkgsrc/devel/mdds/distinfo:1.24
--- pkgsrc/devel/mdds/distinfo:1.23     Sat Feb  5 04:00:52 2022
+++ pkgsrc/devel/mdds/distinfo  Sun Oct 15 07:18:52 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.23 2022/02/05 04:00:52 ryoon Exp $
+$NetBSD: distinfo,v 1.24 2023/10/15 07:18:52 ryoon Exp $
 
-BLAKE2s (mdds-2.0.1.tar.bz2) = 893a7f4107ff5d8c98c236c80cf4c24fc116e2d3835f42ff6b79508fdcb9bb1a
-SHA512 (mdds-2.0.1.tar.bz2) = 61b932d643e7769f840557dfe8df4527477fd70ea69ec9c11b26d85ee2409bc11eaa2670e69b64e4700d4dbe6942360752b6efd4e99880b3193ec6bcdd54071a
-Size (mdds-2.0.1.tar.bz2) = 500269 bytes
-SHA1 (patch-configure) = 7eaab42f04054f1034cd466a4e7b1e21d4d3fea2
+BLAKE2s (mdds-2.1.1.tar.bz2) = ba85e2c235cb4400134aeec3ea3737166aeaaddb28fa6f053898fe97255b791a
+SHA512 (mdds-2.1.1.tar.bz2) = f99dd43cc824112027a5dd1f5077ecd2e4a40a3dc83061801da1622b8ea850581704b79bac88ea9f52469ea05573e257c76535ac9b9984da46746f98bea3a414
+Size (mdds-2.1.1.tar.bz2) = 688093 bytes
+SHA1 (patch-configure) = e020621f00d3fbfe3e3c72ff7a93519e3d26be0a

Index: pkgsrc/devel/mdds/patches/patch-configure
diff -u pkgsrc/devel/mdds/patches/patch-configure:1.3 pkgsrc/devel/mdds/patches/patch-configure:1.4
--- pkgsrc/devel/mdds/patches/patch-configure:1.3       Sat Feb  5 04:00:52 2022
+++ pkgsrc/devel/mdds/patches/patch-configure   Sun Oct 15 07:18:52 2023
@@ -1,67 +1,15 @@
-$NetBSD: patch-configure,v 1.3 2022/02/05 04:00:52 ryoon Exp $
+$NetBSD: patch-configure,v 1.4 2023/10/15 07:18:52 ryoon Exp $
 
-* POSIX shell portability
+* Do not conflict with older mdds.
 
---- configure.orig     2021-12-11 01:51:19.000000000 +0000
+--- configure.orig     2023-04-29 13:07:54.000000000 +0000
 +++ configure
-@@ -5607,7 +5607,7 @@ if test "${enable_debug_stdcxx+set}" = s
- fi
- 
- 
--if test x"$debug_stdcxx" == "xyes"; then :
-+if test x"$debug_stdcxx" = "xyes"; then :
- 
-   CXXFLAGS="$CXXFLAGS -D_GLIBCXX_DEBUG"
- 
-@@ -5619,7 +5619,7 @@ if test "${enable_release_tests+set}" = 
- fi
- 
- 
--if test x"$release_tests" == "xyes"; then :
-+if test x"$release_tests" = "xyes"; then :
- 
-   CXXFLAGS="$CXXFLAGS -DNDEBUG -O2"
- 
-@@ -5643,13 +5643,13 @@ else
- fi
- 
- 
--if test x"$enable_loop_unrolling" == "xno"; then :
-+if test x"$enable_loop_unrolling" = "xno"; then :
- 
-   CXXFLAGS="$CXXFLAGS -DMDDS_LOOP_UNROLLING=0"
- 
- fi
- 
--if test x"$enable_gcov" == "xyes"; then :
-+if test x"$enable_gcov" = "xyes"; then :
- 
-   CXXFLAGS="$CXXFLAGS --coverage -O0"
- 
-@@ -5664,7 +5664,7 @@ else
- fi
- 
- 
--if test x"$enable_openmp" == "xyes"; then :
-+if test x"$enable_openmp" = "xyes"; then :
- 
-   CXXFLAGS="$CXXFLAGS -fopenmp -DMDDS_USE_OPENMP=1"
-   LDFLAGS="$LDFLAGS -fopenmp"
-@@ -5680,7 +5680,7 @@ else
- fi
- 
- 
--if test x"$enable_sanitizer_coverage" == "xyes"; then :
-+if test x"$enable_sanitizer_coverage" = "xyes"; then :
- 
-   CXXFLAGS="$CXXFLAGS -fprofile-instr-generate -fcoverage-mapping -O0"
- 
-@@ -6374,7 +6374,7 @@ else
- 
- fi
- 
--if test x"$enable_werror" == "xyes"; then :
-+if test x"$enable_werror" = "xyes"; then :
- 
-       CXXFLAGS="$CXXFLAGS -Werror"
- 
+@@ -845,7 +845,7 @@ localstatedir='${prefix}/var'
+ runstatedir='${localstatedir}/run'
+ includedir='${prefix}/include'
+ oldincludedir='/usr/include'
+-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}-2.1'
+ infodir='${datarootdir}/info'
+ htmldir='${docdir}'
+ dvidir='${docdir}'



Home | Main Index | Thread Index | Old Index