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:           Sat Aug 30 04:55:15 UTC 2025

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

Log Message:
devel/mdds: Update to 3.1.0

Changelog:
mdds 3.1.0

* multi_type_vector

  * revised push_back() to also accept an rvalue reference.

  * added emplace_back() to allow in-place construction of values.  However,
    due to limitation of how the value type is determined, the type of an
    inserted value must be default constructible, and the call incurs the
    overhead of one default construction.

* rtree

  * the erase() methods to take their iterator parameter by value.

* flat_segment_tree

  * both insert() and search() methods to take their const_iterator parameter
    by value.

  * the size of its const_iterator type has been reduced by not caching key
    and value as its data members.  Its size is now equal to the sum of the
    sizes of two pointers and one boolean value.  It also now returns
    immutable references to the stored key and value.

mdds 3.0.0

* trie_map and packed_trie_map

  * implemented equal (==) and non-equal (!=) operators in trie_map.  Previously
    only packed_trie_map implemented these operators.

  * added support for storing values that are only movable but not copyable.
    Note that when using move-only values, the copy constructors do not work.
    Also, due to this change, the trie_map::pack() method is no longer const; it
    now moves the stored values into the packed variant.  If you need to
    preserve the original values stored in the non-packed variant, make a copy
    first before calling the trie_map::pack() method.

  * simplified the template parameters so that the first template parameter
    specifies the key type.

  * revised value storage in packed_trie_map so that the size of the unit value
    type of its internal buffer would not be forced to be the size of a pointer.
    The user can now optionally specify a different-sized unsigned integer type
    as the value type of the internal buffer.  This will benefit mostly when the
    number of stored values is small so that a smaller-sized integer type can
    sufficiently store all values.  In such cases, the size of the in-memory
    buffer as well as the size of a state file will become smaller.

  * implemented a method to allow traversal of the trie structure one node at a
    time.  This can be done by first calling the root_node() method to retrieve
    the root node of the trie then traverse through its child nodes.

  * added overview section in the documentation.

* segment_tree

  * significantly revised its API design to give it necessary polish in order to
    bring its usability to an acceptable level.

  * added boundary_keys() method that returns a sorted sequence of boundary
    keys.

  * re-implemented the equal and non-equal operators to work with move-only
    values.

  * added documentation with code examples.

* sorted_string_map

  * EntryT template parameter has been removed which was previously used to
    optionally allow defining keys in the entry array as std::string_view.
    After the removal of the template parameter, keys in the entry array are
    always defined as std::string_view.

  * added find_key() method to perform reverse lookup of the key from a value,
    with two lookup algorithms to choose from - linear search and hash-based
    search.

  * added documentation with code examples.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/devel/mdds/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/mdds/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/mdds/buildlink3.mk
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/mdds/distinfo
cvs rdiff -u -r1.4 -r1.5 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/Makefile
diff -u pkgsrc/devel/mdds/Makefile:1.59 pkgsrc/devel/mdds/Makefile:1.60
--- pkgsrc/devel/mdds/Makefile:1.59     Sun Dec 29 15:09:45 2024
+++ pkgsrc/devel/mdds/Makefile  Sat Aug 30 04:55:15 2025
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.59 2024/12/29 15:09:45 adam Exp $
+# $NetBSD: Makefile,v 1.60 2025/08/30 04:55:15 ryoon Exp $
 
-DISTNAME=      mdds-2.1.1
-PKGREVISION=   3
+DISTNAME=      mdds-3.1.0
 CATEGORIES=    devel
-MASTER_SITES=  https://kohei.us/files/mdds/src/
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  https://dev-www.libreoffice.org/src/
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://gitlab.com/mdds/mdds

Index: pkgsrc/devel/mdds/PLIST
diff -u pkgsrc/devel/mdds/PLIST:1.14 pkgsrc/devel/mdds/PLIST:1.15
--- pkgsrc/devel/mdds/PLIST:1.14        Sun Oct 15 07:18:52 2023
+++ pkgsrc/devel/mdds/PLIST     Sat Aug 30 04:55:15 2025
@@ -1,47 +1,49 @@
-@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
+@comment $NetBSD: PLIST,v 1.15 2025/08/30 04:55:15 ryoon Exp $
+include/mdds-3.0/mdds/cref_wrapper.hpp
+include/mdds-3.0/mdds/flat_segment_tree.hpp
+include/mdds-3.0/mdds/flat_segment_tree_def.inl
+include/mdds-3.0/mdds/flat_segment_tree_itr.hpp
+include/mdds-3.0/mdds/global.hpp
+include/mdds-3.0/mdds/multi_type_matrix.hpp
+include/mdds-3.0/mdds/multi_type_matrix_def.inl
+include/mdds-3.0/mdds/multi_type_vector.hpp
+include/mdds-3.0/mdds/multi_type_vector/aos/block_util.hpp
+include/mdds-3.0/mdds/multi_type_vector/aos/iterator.hpp
+include/mdds-3.0/mdds/multi_type_vector/aos/main.hpp
+include/mdds-3.0/mdds/multi_type_vector/aos/main_def.inl
+include/mdds-3.0/mdds/multi_type_vector/block_funcs.hpp
+include/mdds-3.0/mdds/multi_type_vector/collection.hpp
+include/mdds-3.0/mdds/multi_type_vector/collection_def.inl
+include/mdds-3.0/mdds/multi_type_vector/delayed_delete_vector.hpp
+include/mdds-3.0/mdds/multi_type_vector/env.hpp
+include/mdds-3.0/mdds/multi_type_vector/iterator_node.hpp
+include/mdds-3.0/mdds/multi_type_vector/macro.hpp
+include/mdds-3.0/mdds/multi_type_vector/soa/block_util.hpp
+include/mdds-3.0/mdds/multi_type_vector/soa/iterator.hpp
+include/mdds-3.0/mdds/multi_type_vector/soa/main.hpp
+include/mdds-3.0/mdds/multi_type_vector/soa/main_def.inl
+include/mdds-3.0/mdds/multi_type_vector/standard_element_blocks.hpp
+include/mdds-3.0/mdds/multi_type_vector/types.hpp
+include/mdds-3.0/mdds/multi_type_vector/types_util.hpp
+include/mdds-3.0/mdds/multi_type_vector/util.hpp
+include/mdds-3.0/mdds/multi_type_vector_itr.hpp
+include/mdds-3.0/mdds/multi_type_vector_macro.hpp
+include/mdds-3.0/mdds/multi_type_vector_types.hpp
+include/mdds-3.0/mdds/node.hpp
+include/mdds-3.0/mdds/point_quad_tree.hpp
+include/mdds-3.0/mdds/quad_node.hpp
+include/mdds-3.0/mdds/ref_pair.hpp
+include/mdds-3.0/mdds/rtree.hpp
+include/mdds-3.0/mdds/rtree_def.inl
+include/mdds-3.0/mdds/segment_tree.hpp
+include/mdds-3.0/mdds/segment_tree_def.inl
+include/mdds-3.0/mdds/sorted_string_map.hpp
+include/mdds-3.0/mdds/sorted_string_map_def.inl
+include/mdds-3.0/mdds/trie_map.hpp
+include/mdds-3.0/mdds/trie_map_def.inl
+include/mdds-3.0/mdds/trie_map_itr.hpp
+share/doc/mdds-3.0/AUTHORS
+share/doc/mdds-3.0/COPYING
+share/doc/mdds-3.0/NEWS
+share/doc/mdds-3.0/README.md
+share/pkgconfig/mdds-3.0.pc

Index: pkgsrc/devel/mdds/buildlink3.mk
diff -u pkgsrc/devel/mdds/buildlink3.mk:1.8 pkgsrc/devel/mdds/buildlink3.mk:1.9
--- pkgsrc/devel/mdds/buildlink3.mk:1.8 Sun Oct 15 07:18:52 2023
+++ pkgsrc/devel/mdds/buildlink3.mk     Sat Aug 30 04:55:15 2025
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2023/10/15 07:18:52 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2025/08/30 04:55:15 ryoon Exp $
 
 BUILDLINK_TREE+=       mdds
 
@@ -7,7 +7,7 @@ MDDS_BUILDLINK3_MK:=
 
 USE_CXX_FEATURES+=     c++17
 
-BUILDLINK_API_DEPENDS.mdds+=   mdds>=2.1.1
+BUILDLINK_API_DEPENDS.mdds+=   mdds>=3.1.0
 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.24 pkgsrc/devel/mdds/distinfo:1.25
--- pkgsrc/devel/mdds/distinfo:1.24     Sun Oct 15 07:18:52 2023
+++ pkgsrc/devel/mdds/distinfo  Sat Aug 30 04:55:15 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.24 2023/10/15 07:18:52 ryoon Exp $
+$NetBSD: distinfo,v 1.25 2025/08/30 04:55:15 ryoon Exp $
 
-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
+BLAKE2s (mdds-3.1.0.tar.xz) = a9d2b0ad190c8a8ce891bf709820e75e7d9fe1b76ed505f7d0c50f4512a3ed63
+SHA512 (mdds-3.1.0.tar.xz) = 54620178c44f3bd10515c5f8ff765b252b04890682110a12098b4eb661a80a857d8c71ac2b2641866c4654efbf682578ab9262cc44f19c389c7332d176c6123b
+Size (mdds-3.1.0.tar.xz) = 638576 bytes
+SHA1 (patch-configure) = bfb7ed4b83292475972c09f660f5a4f28b043437

Index: pkgsrc/devel/mdds/patches/patch-configure
diff -u pkgsrc/devel/mdds/patches/patch-configure:1.4 pkgsrc/devel/mdds/patches/patch-configure:1.5
--- pkgsrc/devel/mdds/patches/patch-configure:1.4       Sun Oct 15 07:18:52 2023
+++ pkgsrc/devel/mdds/patches/patch-configure   Sat Aug 30 04:55:15 2025
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.4 2023/10/15 07:18:52 ryoon Exp $
+$NetBSD: patch-configure,v 1.5 2025/08/30 04:55:15 ryoon Exp $
 
 * Do not conflict with older mdds.
 
@@ -9,7 +9,7 @@ $NetBSD: patch-configure,v 1.4 2023/10/1
  includedir='${prefix}/include'
  oldincludedir='/usr/include'
 -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}-2.1'
++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}-3.0'
  infodir='${datarootdir}/info'
  htmldir='${docdir}'
  dvidir='${docdir}'



Home | Main Index | Thread Index | Old Index