head 1.15; access; symbols pkgsrc-2023Q4:1.15.0.32 pkgsrc-2023Q4-base:1.15 pkgsrc-2023Q3:1.15.0.30 pkgsrc-2023Q3-base:1.15 pkgsrc-2023Q2:1.15.0.28 pkgsrc-2023Q2-base:1.15 pkgsrc-2023Q1:1.15.0.26 pkgsrc-2023Q1-base:1.15 pkgsrc-2022Q4:1.15.0.24 pkgsrc-2022Q4-base:1.15 pkgsrc-2022Q3:1.15.0.22 pkgsrc-2022Q3-base:1.15 pkgsrc-2022Q2:1.15.0.20 pkgsrc-2022Q2-base:1.15 pkgsrc-2022Q1:1.15.0.18 pkgsrc-2022Q1-base:1.15 pkgsrc-2021Q4:1.15.0.16 pkgsrc-2021Q4-base:1.15 pkgsrc-2021Q3:1.15.0.14 pkgsrc-2021Q3-base:1.15 pkgsrc-2021Q2:1.15.0.12 pkgsrc-2021Q2-base:1.15 pkgsrc-2021Q1:1.15.0.10 pkgsrc-2021Q1-base:1.15 pkgsrc-2020Q4:1.15.0.8 pkgsrc-2020Q4-base:1.15 pkgsrc-2020Q3:1.15.0.6 pkgsrc-2020Q3-base:1.15 pkgsrc-2020Q2:1.15.0.4 pkgsrc-2020Q2-base:1.15 pkgsrc-2020Q1:1.15.0.2 pkgsrc-2020Q1-base:1.15 pkgsrc-2019Q4:1.13.0.38 pkgsrc-2019Q4-base:1.13 pkgsrc-2019Q3:1.13.0.34 pkgsrc-2019Q3-base:1.13 pkgsrc-2019Q2:1.13.0.32 pkgsrc-2019Q2-base:1.13 pkgsrc-2019Q1:1.13.0.30 pkgsrc-2019Q1-base:1.13 pkgsrc-2018Q4:1.13.0.28 pkgsrc-2018Q4-base:1.13 pkgsrc-2018Q3:1.13.0.26 pkgsrc-2018Q3-base:1.13 pkgsrc-2018Q2:1.13.0.24 pkgsrc-2018Q2-base:1.13 pkgsrc-2018Q1:1.13.0.22 pkgsrc-2018Q1-base:1.13 pkgsrc-2017Q4:1.13.0.20 pkgsrc-2017Q4-base:1.13 pkgsrc-2017Q3:1.13.0.18 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.14 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.12 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.13.0.10 pkgsrc-2016Q4-base:1.13 pkgsrc-2016Q3:1.13.0.8 pkgsrc-2016Q3-base:1.13 pkgsrc-2016Q2:1.13.0.6 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.13.0.4 pkgsrc-2016Q1-base:1.13 pkgsrc-2015Q4:1.13.0.2 pkgsrc-2015Q4-base:1.13 pkgsrc-2015Q3:1.12.0.24 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.22 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.12.0.20 pkgsrc-2015Q1-base:1.12 pkgsrc-2014Q4:1.12.0.18 pkgsrc-2014Q4-base:1.12 pkgsrc-2014Q3:1.12.0.16 pkgsrc-2014Q3-base:1.12 pkgsrc-2014Q2:1.12.0.14 pkgsrc-2014Q2-base:1.12 pkgsrc-2014Q1:1.12.0.12 pkgsrc-2014Q1-base:1.12 pkgsrc-2013Q4:1.12.0.10 pkgsrc-2013Q4-base:1.12 pkgsrc-2013Q3:1.12.0.8 pkgsrc-2013Q3-base:1.12 pkgsrc-2013Q2:1.12.0.6 pkgsrc-2013Q2-base:1.12 pkgsrc-2013Q1:1.12.0.4 pkgsrc-2013Q1-base:1.12 pkgsrc-2012Q4:1.12.0.2 pkgsrc-2012Q4-base:1.12 pkgsrc-2012Q3:1.11.0.2 pkgsrc-2012Q3-base:1.11 pkgsrc-2012Q2:1.9.0.6 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.4 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.2 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.8.0.4 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.2 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.7.0.18 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.16 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.14 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.12 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.10 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.8 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.6 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.4 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.2 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.5.0.10 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.8 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.6 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.4 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.2 pkgsrc-2008Q1:1.4.0.14 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.12 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.10 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.8 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.6 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.4 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.2 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.3.0.2 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.2.0.8 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.6 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.4 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.2 pkgsrc-2005Q2-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.15 date 2020.03.20.11.57.33; author nia; state Exp; branches; next 1.14; commitid XgzioScE8x0eq81C; 1.14 date 2020.01.18.23.30.42; author rillig; state Exp; branches; next 1.13; commitid shGUwZfkr7sleeTB; 1.13 date 2015.12.27.07.36.49; author joerg; state Exp; branches; next 1.12; commitid jPI568xtUuVHDyOy; 1.12 date 2012.10.31.11.19.46; author asau; state Exp; branches; next 1.11; 1.11 date 2012.09.15.17.21.52; author dholland; state Exp; branches; next 1.10; 1.10 date 2012.09.08.16.55.46; author cheusov; state Exp; branches; next 1.9; 1.9 date 2011.10.09.10.02.46; author cheusov; state Exp; branches; next 1.8; 1.8 date 2011.05.29.15.12.26; author cheusov; state Exp; branches; next 1.7; 1.7 date 2009.03.17.21.40.45; author darcy; state Exp; branches; next 1.6; 1.6 date 2009.01.23.21.14.18; author jschauma; state Exp; branches; next 1.5; 1.5 date 2008.06.20.01.09.16; author joerg; state Exp; branches; next 1.4; 1.4 date 2006.08.03.19.46.42; author wiz; state Exp; branches; next 1.3; 1.3 date 2006.06.01.22.42.48; author joerg; state Exp; branches; next 1.2; 1.2 date 2005.04.11.21.45.38; author tv; state Exp; branches; next 1.1; 1.1 date 2005.03.26.23.08.45; author jschauma; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.03.26.23.08.45; author jschauma; state Exp; branches; next ; desc @@ 1.15 log @*: Convert broken sourceforge HOMEPAGEs back to http @ text @# $NetBSD: Makefile,v 1.14 2020/01/18 23:30:42 rillig Exp $ # DISTNAME= sparsehash-2.0.3 GITHUB_TAG= ${DISTNAME} MASTER_SITES= ${MASTER_SITE_GITHUB:=sparsehash/} CATEGORIES= devel MAINTAINER= cheusov@@NetBSD.org HOMEPAGE= http://goog-sparsehash.sourceforge.net/ COMMENT= Extremely memory-efficient hash_map implementation LICENSE= modified-bsd USE_LANGUAGES= c c++ GNU_CONFIGURE= yes TEST_TARGET= check INSTALL_MAKE_FLAGS= docdir=${PREFIX}/share/doc/sparsehash .include "../../mk/bsd.pkg.mk" @ 1.14 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2015/12/27 07:36:49 joerg Exp $ d11 1 a11 1 HOMEPAGE= https://goog-sparsehash.sourceforge.net/ @ 1.13 log @Update to sparsehash-2.0.3: Allow building with more restrict C++ compilers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2012/10/31 11:19:46 asau Exp $ d11 1 a11 1 HOMEPAGE= http://goog-sparsehash.sourceforge.net/ @ 1.12 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2012/09/15 17:21:52 dholland Exp $ d4 4 a7 1 DISTNAME= sparsehash-2.0.2 a8 1 MASTER_SITES= http://sparsehash.googlecode.com/files/ @ 1.11 log @fix COMMENT per pkglint @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2012/09/08 16:55:46 cheusov Exp $ a12 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.10 log @ Update to 2.0.2 as requested in PR 46909, tested on NetBSD/6_RC1/amd64 and SL-6.2/amd64. Set TEST_TARGET to "check". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2011/10/09 10:02:46 cheusov Exp $ d10 1 a10 1 COMMENT= An extremely memory-efficient hash_map implementation. @ 1.9 log @Update my email @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2011/05/29 15:12:26 cheusov Exp $ d4 1 a4 1 DISTNAME= sparsehash-1.10 d6 1 a6 1 MASTER_SITES= http://google-sparsehash.googlecode.com/files/ d10 1 a10 1 COMMENT= Several hash-map implementations in use at Google a15 1 USE_PKGLOCALEDIR= yes d18 2 @ 1.8 log @ Add LICENSE Take maintainership Update to v1.10 == 21 January 2011 == I've just released sparsehash 1.10. This fixes a performance regression in sparsehash 1.8, where sparse_hash_map would copy hashtable keys by value even when the key was explicitly a reference. It also fixes compiler warnings from MSVC 10, which uses some c++0x features that did not interact well with sparsehash. There is no reason to upgrade unless you use references for your hashtable keys, or compile with MSVC 10. A full list of changes is described in [http://google-sparsehash.googlecode.com/svn/tags/sparsehash-1.10/ChangeLog ChangeLog]. === 24 September 2010 === I've just released sparsehash 1.9. This fixes a size regression in sparsehash 1.8, where the new allocator would take up space in `sparse_hash_map`, doubling the sparse_hash_map overhead (from 1-2 bits per bucket to 3 or so). All users are encouraged to upgrade. This change also marks enums as being Plain Old Data, which can speed up hashtables with enum keys and/or values. A full list of changes is described in [http://google-sparsehash.googlecode.com/svn/tags/sparsehash-1.9/ChangeLog ChangeLog]. === 29 July 2010 === I've just released sparsehash 1.8. This includes improved support for `Allocator`, including supporting the allocator constructor arg and `get_allocator()` access method. To work around a bug in gcc 4.0.x, I've renamed the static variables `HT_OCCUPANCY_FLT` and `HT_SHRINK_FLT` to `HT_OCCUPANCY_PCT` and `HT_SHRINK_PCT`, and changed their type from float to int. This should not be a user-visible change, since these variables are only used in the internal hashtable classes (sparsehash clients should use `max_load_factor()` and `min_load_factor()` instead of modifying these static variables), but if you do access these constants, you will need to change your code. Internally, the biggest change is a revamp of the test suite. It now has more complete coverage, and a more capable timing tester. There are other, more minor changes as well. A full list of changes is described in the [http://google-sparsehash.googlecode.com/svn/tags/sparsehash-1.8/ChangeLog ChangeLog]. === 31 March 2010 === I've just released sparsehash 1.7. The major news here is the addition of `Allocator` support. Previously, these hashtable classes would just ignore the `Allocator` template parameter. They now respect it, and even inherit `size_type`, `pointer`, etc. from the allocator class. By default, they use a special allocator we provide that uses libc `malloc` and `free` to allocate. The hash classes notice when this special allocator is being used, and use `realloc` when it can. This means that the default allocator is significantly faster than custom allocators are likely to be (since realloc-like functionality is not supported by STL allocators). There are a few more minor changes as well. A full list of changes is described in the [http://google-sparsehash.googlecode.com/svn/tags/sparsehash-1.7/ChangeLog ChangeLog]. === 11 January 2010 === I've just released sparsehash 1.6. The API has widened a bit with the addition of `deleted_key()` and `empty_key()`, which let you query what values these keys have. A few rather obscure bugs have been fixed (such as an error when copying one hashtable into another when the empty_keys differ). A full list of changes is described in the [http://google-sparsehash.googlecode.com/svn/tags/sparsehash-1.6/ChangeLog ChangeLog]. === 9 May 2009 === I've just released sparsehash 1.5.1. Hot on the heels of sparsehash 1.5, this release fixes a longstanding bug in the sparsehash code, where `equal_range` would always return an empty range. It now works as documented. All sparsehash users are encouraged to upgrade. === 7 May 2009 === I've just released sparsehash 1.5. This release introduces tr1 compatibility: I've added `rehash`, `begin(i)`, and other methods that are expected to be part of the `unordered_map` API once `tr1` in introduced. This allows `sparse_hash_map`, `dense_hash_map`, `sparse_hash_set`, and `dense_hash_set` to be (almost) drop-in replacements for `unordered_map` and `unordered_set`. There is no need to upgrade unless you need this functionality, or need one of the other, more minor, changes described in the [http://google-sparsehash.googlecode.com/svn/tags/sparsehash-1.5/ChangeLog ChangeLog]. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2009/03/17 21:40:45 darcy Exp $ d8 1 a8 1 MAINTAINER= vle@@gmx.net @ 1.7 log @Correct email address for generic MAINTAINER. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2009/01/23 21:14:18 jschauma Exp $ d4 1 a4 1 DISTNAME= sparsehash-0.4 d6 1 a6 1 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=goog-sparsehash/} d8 1 a8 1 MAINTAINER= pkgsrc-users@@NetBSD.org d11 1 d19 2 @ 1.6 log @Give up maintainership, as I have not so much as looked at pkgsrc in well over a year now. Sorry. :-( @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2008/06/20 01:09:16 joerg Exp $ d8 1 a8 1 MAINTAINER= pkgsrc-users@@@@NetBSD.org @ 1.5 log @Add DESTDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2006/08/03 19:46:42 wiz Exp $ d8 1 a8 1 MAINTAINER= jschauma@@NetBSD.org @ 1.4 log @Update to 0.4, provided by Aleksey Cheusov in PR 34063: Mon May 2 07:04:46 2005 Google Inc. * sparsehash: version 0.2 release * Preliminary support for msvc++ compilation. (csilvers) * Documentation fixes -- some example code was incomplete! (csilvers) * Minimize size of config.h to avoid other-package conflicts (csilvers) * Contribute a C-based version of sparsehash that served as the inspiration for this code. One day, I hope to clean it up and support it, but for now it's just in experimental/, for playing around with. (csilvers) * Change default namespace from std to google. (csilvers) Thu Nov 3 20:12:31 2005 Google Inc. * sparsehash: version 0.3 release * Quiet compiler warnings on some compilers. (csilvers) * Some documentation fixes: example code for dense_hash_map. (csilvers) * Fix a bug where swap() wasn't swapping delete_key(). (csilvers) * set_deleted_key() and set_empty_key() now take a key only, allowing hash-map values to be forward-declared. (csilvers) * support for std::insert_iterator (and std::inserter). (csilvers) Sun Apr 23 22:42:35 2006 Google Inc. * sparsehash: version 0.4 release * Remove POD requirement for keys and values! (austern) * Add tr1-compatible type-traits system to speed up POD ops. (austern) * Fixed const-iterator bug where postfix ++ didn't compile. (csilvers) * Fixed iterator comparison bugs where <= was incorrect. (csilvers) * Clean up config.h to keep its #defines from conflicting. (csilvers) * Big documentation sweep and cleanup. (csilvers) * Update documentation to talk more about good hash fns. (csilvers) * Fixes to compile on MSVC (working around some MSVC bugs). (rennie) * Avoid resizing hashtable on operator[] lookups (austern) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2006/06/01 22:42:48 joerg Exp $ d12 2 @ 1.3 log @Uses C++. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2005/04/11 21:45:38 tv Exp $ d4 1 a4 1 DISTNAME= sparsehash-0.1 @ 1.2 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2005/03/26 23:08:45 jschauma Exp $ d12 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ a11 1 USE_BUILDLINK3= yes @ 1.1.1.1 log @Initial import of Google SparseHash, an extremely memory-efficient hash_map implementation. with 2 bits/entry overhead! The Google SparseHash project contains several hash-map implementations in use at Google, with different performance characteristics, including an implementation that optimizes for space and one that optimizes for speed. SparseHash is a template library; there are no binaries to install. SparseHash is distributed under the terms of the BSD License. @ text @@