diff options
author | cheusov <cheusov> | 2011-05-29 15:12:26 +0000 |
---|---|---|
committer | cheusov <cheusov> | 2011-05-29 15:12:26 +0000 |
commit | cdb638f26a39612f9ef13eff7abb00f8264f577f (patch) | |
tree | 393342c7554a3ace44d530a192222817d290e9aa /devel | |
parent | 8b7104b68e13791395f74e9356120b0710c3ae99 (diff) | |
download | pkgsrc-cdb638f26a39612f9ef13eff7abb00f8264f577f.tar.gz |
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].
Diffstat (limited to 'devel')
-rw-r--r-- | devel/sparsehash/Makefile | 11 | ||||
-rw-r--r-- | devel/sparsehash/PLIST | 18 | ||||
-rw-r--r-- | devel/sparsehash/distinfo | 9 | ||||
-rw-r--r-- | devel/sparsehash/patches/patch-aa | 15 |
4 files changed, 26 insertions, 27 deletions
diff --git a/devel/sparsehash/Makefile b/devel/sparsehash/Makefile index 23692350b14..04b302e422b 100644 --- a/devel/sparsehash/Makefile +++ b/devel/sparsehash/Makefile @@ -1,13 +1,14 @@ -# $NetBSD: Makefile,v 1.7 2009/03/17 21:40:45 darcy Exp $ +# $NetBSD: Makefile,v 1.8 2011/05/29 15:12:26 cheusov Exp $ # -DISTNAME= sparsehash-0.4 +DISTNAME= sparsehash-1.10 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=goog-sparsehash/} +MASTER_SITES= http://google-sparsehash.googlecode.com/files/ -MAINTAINER= pkgsrc-users@NetBSD.org +MAINTAINER= vle@gmx.net HOMEPAGE= http://goog-sparsehash.sourceforge.net/ COMMENT= Several hash-map implementations in use at Google +LICENSE= modified-bsd PKG_DESTDIR_SUPPORT= user-destdir @@ -15,4 +16,6 @@ USE_LANGUAGES= c c++ USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes +INSTALL_MAKE_FLAGS= docdir=${PREFIX}/share/doc/sparsehash + .include "../../mk/bsd.pkg.mk" diff --git a/devel/sparsehash/PLIST b/devel/sparsehash/PLIST index 93c5fa207fe..08b26a9427c 100644 --- a/devel/sparsehash/PLIST +++ b/devel/sparsehash/PLIST @@ -1,17 +1,29 @@ -@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:48:18 joerg Exp $ +@comment $NetBSD: PLIST,v 1.5 2011/05/29 15:12:26 cheusov Exp $ include/google/dense_hash_map include/google/dense_hash_set include/google/sparse_hash_map include/google/sparse_hash_set -include/google/sparsehash/config.h include/google/sparsehash/densehashtable.h -include/google/sparsehash/hash_fun.h +include/google/sparsehash/hashtable-common.h +include/google/sparsehash/libc_allocator_with_realloc.h +include/google/sparsehash/sparseconfig.h include/google/sparsehash/sparsehashtable.h include/google/sparsetable include/google/type_traits.h +lib/pkgconfig/libsparsehash.pc +share/doc/sparsehash/AUTHORS +share/doc/sparsehash/COPYING +share/doc/sparsehash/ChangeLog +share/doc/sparsehash/INSTALL +share/doc/sparsehash/NEWS +share/doc/sparsehash/README +share/doc/sparsehash/README_windows.txt +share/doc/sparsehash/TODO share/doc/sparsehash/dense_hash_map.html share/doc/sparsehash/dense_hash_set.html +share/doc/sparsehash/designstyle.css share/doc/sparsehash/implementation.html +share/doc/sparsehash/index.html share/doc/sparsehash/performance.html share/doc/sparsehash/sparse_hash_map.html share/doc/sparsehash/sparse_hash_set.html diff --git a/devel/sparsehash/distinfo b/devel/sparsehash/distinfo index 251a325af10..5a230720a77 100644 --- a/devel/sparsehash/distinfo +++ b/devel/sparsehash/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.2 2006/08/03 19:46:42 wiz Exp $ +$NetBSD: distinfo,v 1.3 2011/05/29 15:12:26 cheusov Exp $ -SHA1 (sparsehash-0.4.tar.gz) = fd0467f3a1cc08e409d4638e98baf625b7565565 -RMD160 (sparsehash-0.4.tar.gz) = b65f032e1a7262940ecea17b4448506bbc35ea88 -Size (sparsehash-0.4.tar.gz) = 249743 bytes -SHA1 (patch-aa) = 1c085b909211d6f1747f5de972113148f22985a3 +SHA1 (sparsehash-1.10.tar.gz) = 47be68232edb4175bde7e1eeda0f0e453a932be8 +RMD160 (sparsehash-1.10.tar.gz) = 7c3dd4310cae69364cb46f4827b403309f539f29 +Size (sparsehash-1.10.tar.gz) = 289819 bytes diff --git a/devel/sparsehash/patches/patch-aa b/devel/sparsehash/patches/patch-aa deleted file mode 100644 index 609b1fd4c0a..00000000000 --- a/devel/sparsehash/patches/patch-aa +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2006/08/03 19:46:42 wiz Exp $ - ---- Makefile.in.orig 2006-07-23 19:19:48.000000000 +0300 -+++ Makefile.in -@@ -93,8 +93,8 @@ googleinclude_HEADERS = \ - src/google/type_traits.h - - --docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) --dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ -+docdir = $(prefix)/share/doc/$(PACKAGE) -+dist_doc_DATA = \ - doc/dense_hash_map.html \ - doc/dense_hash_set.html \ - doc/sparse_hash_map.html \ |