pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/xxhash



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun May 31 09:51:35 UTC 2020

Modified Files:
        pkgsrc/devel/xxhash: Makefile PLIST buildlink3.mk distinfo

Log Message:
xxhash: Update to 0.7.3. Fix installation of libs.

v0.7.3
- perf: improved speed for large inputs (~+20%)
- perf: improved latency for small inputs (~10%)
- perf: s390x Vectorial code, by @easyaspi314
- cli: improved support for Unicode filenames on Windows, thanks to @easyaspi314 and @t-mat
- api: `xxhash.h` can now be included in any order, with and without `XXH_STATIC_LINKING_ONLY` and `XXH_INLINE_ALL`
- build: xxHash's implementation transferred into `xxhash.h`. No more need to have `xxhash.c` in the `/include` directory for `XXH_INLINE_ALL` to work
- install: created pkg-config file, by @bket
- install: VCpkg installation instructions, by @LilyWangL
- doc: Highly improved code documentation, by @easyaspi314
- misc: New test tool in `/tests/collisions`: brute force collision tester for 64-bit hashes

v0.7.2
- Fixed collision ratio of `XXH128` for some specific input lengths, reported by @svpv
- Improved `VSX` and `NEON` variants, by @easyaspi314
- Improved performance of scalar code path (`XXH_VECTOR=0`), by @easyaspi314
- `xxhsum`: can generate 128-bit hashes with the `-H2` option (note: for experimental purposes only! `XXH128` is not yet frozen)
- `xxhsum`: option `-q` removes status notifications

v0.7.1
- Secret first: the algorithm computation can be altered by providing a "secret", which is any blob of bytes, of size >= `XXH3_SECRET_SIZE_MIN`.
- `seed` is still available, and acts as a secret generator
- updated `ARM NEON` variant by @easyaspi314
- Streaming implementation is available
- Improve compatibility and performance with Visual Studio, with help from @aras-p
- Better integration when using `XXH_INLINE_ALL`: do not pollute host namespace, use its own macros, such as `XXH_ASSERT()`, `XXH_ALIGN`, etc.
- 128-bit variant provides helper functions for comparison of hashes.
- Better `clang` generation of `rotl` instruction, thanks to @easyaspi314
- `XXH_REROLL` build macro to reduce binary size, by @easyaspi314
- Improved `cmake` script, by @Mezozoysky
- Full benchmark program provided in `/tests/bench`


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/xxhash/Makefile \
    pkgsrc/devel/xxhash/PLIST pkgsrc/devel/xxhash/buildlink3.mk \
    pkgsrc/devel/xxhash/distinfo

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

Modified files:

Index: pkgsrc/devel/xxhash/Makefile
diff -u pkgsrc/devel/xxhash/Makefile:1.1 pkgsrc/devel/xxhash/Makefile:1.2
--- pkgsrc/devel/xxhash/Makefile:1.1    Mon Sep 10 13:47:31 2018
+++ pkgsrc/devel/xxhash/Makefile        Sun May 31 09:51:35 2020
@@ -1,24 +1,44 @@
-# $NetBSD: Makefile,v 1.1 2018/09/10 13:47:31 fhajny Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/31 09:51:35 nia Exp $
 
-DISTNAME=      xxhash-0.6.5
+DISTNAME=      xxhash-0.7.3
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Cyan4973/}
+GITHUB_PROJECT=        xxHash
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/Cyan4973/xxHash/
+HOMEPAGE=      https://github.com/Cyan4973/xxHash
 COMMENT=       Extremely fast non-cryptographic hash algorithm
 LICENSE=       2-clause-bsd
 
-GITHUB_PROJECT=        xxHash
-GITHUB_TAG=    v${PKGVERSION_NOREV}
-
 USE_TOOLS+=    gmake
 
-INSTALLATION_DIRS+=    bin include ${PKGMANDIR}/man1
+BUILD_TARGET=  all pkgconfig
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+=   darwin notdarwin
+
+.if ${OPSYS} == "Darwin"
+PLIST.darwin=          yes
+.else
+PLIST.notdarwin=       yes
+.endif
+
+INSTALLATION_DIRS+=    bin include ${PKGMANDIR}/man1 lib lib/pkgconfig
+
+PKGCONFIG_OVERRIDE+=   libxxhash.pc.in
 
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/xxhash.h ${DESTDIR}${PREFIX}/include
        ${INSTALL_MAN} ${WRKSRC}/xxhsum.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        ${INSTALL_PROGRAM} ${WRKSRC}/xxhsum ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/libxxhash.a ${DESTDIR}${PREFIX}/lib
+       ${INSTALL_DATA} ${WRKSRC}/libxxhash.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
+.if ${OPSYS} == "Darwin"
+       ${INSTALL_LIB} ${WRKSRC}/libxxhash*dylib ${DESTDIR}${PREFIX}/lib
+.else
+       ${INSTALL_LIB} ${WRKSRC}/libxxhash.so* ${DESTDIR}${PREFIX}/lib
+.endif
 
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/xxhash/PLIST
diff -u pkgsrc/devel/xxhash/PLIST:1.1 pkgsrc/devel/xxhash/PLIST:1.2
--- pkgsrc/devel/xxhash/PLIST:1.1       Mon Sep 10 13:47:31 2018
+++ pkgsrc/devel/xxhash/PLIST   Sun May 31 09:51:35 2020
@@ -1,4 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1 2018/09/10 13:47:31 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/05/31 09:51:35 nia Exp $
 bin/xxhsum
 include/xxhash.h
+${PLIST.darwin}lib/libxxhash.0.dylib
+lib/libxxhash.a
+${PLIST.darwin}lib/libxxhash.${PKGVERSION}.dylib
+${PLIST.darwin}lib/libxxhash.dylib
+${PLIST.notdarwin}lib/libxxhash.so
+${PLIST.notdarwin}lib/libxxhash.so.0
+${PLIST.notdarwin}lib/libxxhash.so.${PKGVERSION}
+lib/pkgconfig/libxxhash.pc
 man/man1/xxhsum.1
Index: pkgsrc/devel/xxhash/buildlink3.mk
diff -u pkgsrc/devel/xxhash/buildlink3.mk:1.1 pkgsrc/devel/xxhash/buildlink3.mk:1.2
--- pkgsrc/devel/xxhash/buildlink3.mk:1.1       Mon Sep 10 13:47:31 2018
+++ pkgsrc/devel/xxhash/buildlink3.mk   Sun May 31 09:51:35 2020
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2018/09/10 13:47:31 fhajny Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2020/05/31 09:51:35 nia Exp $
 
 BUILDLINK_TREE+=       xxhash
 
 .if !defined(XXHASH_BUILDLINK3_MK)
 XXHASH_BUILDLINK3_MK:=
 
-BUILDLINK_ABI_DEPENDS.xxhash+= xxhash>=0.6.0
-BUILDLINK_API_DEPENDS.xxhash+= xxhash>=0.6.0
+BUILDLINK_ABI_DEPENDS.xxhash+= xxhash>=0.7.3
+BUILDLINK_API_DEPENDS.xxhash+= xxhash>=0.7.3
 BUILDLINK_PKGSRCDIR.xxhash?=   ../../devel/xxhash
 .endif # XXHASH_BUILDLINK3_MK
 
Index: pkgsrc/devel/xxhash/distinfo
diff -u pkgsrc/devel/xxhash/distinfo:1.1 pkgsrc/devel/xxhash/distinfo:1.2
--- pkgsrc/devel/xxhash/distinfo:1.1    Mon Sep 10 13:47:31 2018
+++ pkgsrc/devel/xxhash/distinfo        Sun May 31 09:51:35 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/09/10 13:47:31 fhajny Exp $
+$NetBSD: distinfo,v 1.2 2020/05/31 09:51:35 nia Exp $
 
-SHA1 (xxhash-0.6.5.tar.gz) = dc88bee2c1aa1080ae28a8f00967043af926691f
-RMD160 (xxhash-0.6.5.tar.gz) = c70dfe2d2beddd292f521a5788bd94d4ec39cd5c
-SHA512 (xxhash-0.6.5.tar.gz) = 085643b52e091ac0eedd54c4459220b3643d825ca71a11e952d00ea2041c570ff57d8553d0378f34e038ca9ee3b40d2048ed02d44d5aff1fbfcbf5e642487ba0
-Size (xxhash-0.6.5.tar.gz) = 37521 bytes
+SHA1 (xxhash-0.7.3.tar.gz) = f05904b4877fdedfae2a62391245a41e433cbc44
+RMD160 (xxhash-0.7.3.tar.gz) = e5c3111cda04157f8c686248c4cf34c189c6073e
+SHA512 (xxhash-0.7.3.tar.gz) = 72949010a267f063768241b182464c386005b4078f56902fee2f7804bd01f6c27878a6a4ec2a266cd59162934a7e471264ac5757dba570a97a2b5dad7703c664
+Size (xxhash-0.7.3.tar.gz) = 126405 bytes



Home | Main Index | Thread Index | Old Index