pkgsrc-WIP-changes archive

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

wip clean-up: remove ann



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sat Jul 2 15:48:11 2022 +0200
Changeset:	d69d40eb03009783fb22a9dc5775a940cc8e0b66

Modified Files:
	Makefile
Removed Files:
	ann/DESCR
	ann/Makefile
	ann/PLIST
	ann/buildlink3.mk
	ann/distinfo
	ann/patches/patch-src_kd__split.cpp
	ann/patches/patch-test_ann__test.cpp

Log Message:
wip clean-up: remove ann

Last tarball released 2010.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d69d40eb03009783fb22a9dc5775a940cc8e0b66

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

diffstat:
 Makefile                             |  1 -
 ann/DESCR                            | 10 ----------
 ann/Makefile                         | 35 -----------------------------------
 ann/PLIST                            |  7 -------
 ann/buildlink3.mk                    | 12 ------------
 ann/distinfo                         |  7 -------
 ann/patches/patch-src_kd__split.cpp  | 32 --------------------------------
 ann/patches/patch-test_ann__test.cpp | 23 -----------------------
 8 files changed, 127 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 1a2cb5ff63..3ca31f1cdf 100644
--- a/Makefile
+++ b/Makefile
@@ -148,7 +148,6 @@ SUBDIR+=	analizo
 SUBDIR+=	and
 SUBDIR+=	android-tools-adb
 SUBDIR+=	angelscript
-SUBDIR+=	ann
 SUBDIR+=	ansible-junos-stdlib
 SUBDIR+=	anthy-dic-jis34
 SUBDIR+=	antlr
diff --git a/ann/DESCR b/ann/DESCR
deleted file mode 100644
index 8ec0b85c89..0000000000
--- a/ann/DESCR
+++ /dev/null
@@ -1,10 +0,0 @@
-ANN is a library written in the C++ programming language to support both
-exact and approximate nearest neighbor searching in spaces of various
-dimensions.  It was implemented by David M. Mount of the University of
-Maryland, and Sunil Arya of the Hong Kong University of Science and
-Technology.  ANN (pronounced like the name ``Ann'') stands for
-Approximate Nearest Neighbors.  ANN is also a testbed containing
-programs and procedures for generating data sets, collecting and
-analyzing statistics on the performance of nearest neighbor algorithms
-and data structures, and visualizing the geometric structure of these
-data structures.
diff --git a/ann/Makefile b/ann/Makefile
deleted file mode 100644
index 03d564be86..0000000000
--- a/ann/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2014/09/30 11:22:27 fhajny Exp $
-#
-
-DISTNAME=	ann_1.1.2
-PKGNAME=	${DISTNAME:S/_/-/}
-CATEGORIES=	math
-MASTER_SITES=	http://www.cs.umd.edu/~mount/ANN/Files/${PKGVERSION_NOREV}/
-
-MAINTAINER=	jihbed.research%gmail.com@localhost
-HOMEPAGE=	http://www.cs.umd.edu/~mount/ANN
-COMMENT=	Library for Approximate Nearest Neighbor Searching
-LICENSE=	gnu-lgpl-v2.1
-
-USE_TOOLS+=	gmake pax
-USE_LANGUAGES=	c c++
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-BUILD_TARGET=	sunos5-g++
-.elif ${OPSYS} == "Darwin"
-BUILD_TARGET=	macosx-g++
-.else
-BUILD_TARGET=	linux-g++
-.endif
-
-INSTALLATION_DIRS=	bin lib share/doc/ann
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/ann2fig ${DESTDIR}${PREFIX}/bin/
-	${INSTALL_LIB} ${WRKSRC}/lib/libANN.a ${DESTDIR}${PREFIX}/lib/
-	cd ${WRKSRC}/include/ANN && pax -rw -pp . ${DESTDIR}${PREFIX}/include/ANN
-	${INSTALL_DATA} ${WRKSRC}/doc/ANNmanual.pdf ${DESTDIR}${PREFIX}/share/doc/ann
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/ann/PLIST b/ann/PLIST
deleted file mode 100644
index 064f61f7af..0000000000
--- a/ann/PLIST
+++ /dev/null
@@ -1,7 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2011/01/17 22:02:17 jihbed Exp $
-bin/ann2fig
-include/ANN/ANN.h
-include/ANN/ANNperf.h
-include/ANN/ANNx.h
-lib/libANN.a
-share/doc/ann/ANNmanual.pdf
diff --git a/ann/buildlink3.mk b/ann/buildlink3.mk
deleted file mode 100644
index 9f67d80eaf..0000000000
--- a/ann/buildlink3.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/01/17 22:02:17 jihbed Exp $
-
-BUILDLINK_TREE+=	ann
-
-.if !defined(ANN_BUILDLINK3_MK)
-ANN_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.ann+=	ann>=1.1.2
-BUILDLINK_PKGSRCDIR.ann?=	../../wip/ann
-.endif	# ANN_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-ann
diff --git a/ann/distinfo b/ann/distinfo
deleted file mode 100644
index bb73f34755..0000000000
--- a/ann/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.2 2014/09/30 11:22:27 fhajny Exp $
-
-RMD160 (ann_1.1.2.tar.gz) = 1b76b2f5c25c83c6d52a1a1e19e5b058ccf929d0
-SHA512 (ann_1.1.2.tar.gz) = c863cabaea28c96ddd26b60054162e10e5c28fa9fe700b1966ea4a19150b7b31ea7cf0f56446eb0cc6b1ad890c3fe5958195c9aa319b4821f18f555b989f7265
-Size (ann_1.1.2.tar.gz) = 590517 bytes
-SHA1 (patch-src_kd__split.cpp) = 9048954f70e93f14628ea6a5d6126304ab022af7
-SHA1 (patch-test_ann__test.cpp) = a19ced3772c6576d28c0eeaf8ad7c3a9b4eb7770
diff --git a/ann/patches/patch-src_kd__split.cpp b/ann/patches/patch-src_kd__split.cpp
deleted file mode 100644
index 01c16218d0..0000000000
--- a/ann/patches/patch-src_kd__split.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-src_kd__split.cpp,v 1.1 2014/09/30 11:22:27 fhajny Exp $
-
-Rename reserved symbol.
---- src/kd_split.cpp.orig	2010-01-28 04:40:01.000000000 +0000
-+++ src/kd_split.cpp
-@@ -31,7 +31,7 @@
- //	Constants
- //----------------------------------------------------------------------
- 
--const double ERR = 0.001;				// a small value
-+const double ANN_ERR = 0.001;				// a small value
- const double FS_ASPECT_RATIO = 3.0;		// maximum allowed aspect ratio
- 										// in fair split. Must be >= 2.
- 
-@@ -95,7 +95,7 @@ void midpt_split(
- 	ANNcoord max_spread = -1;			// find long side with most spread
- 	for (d = 0; d < dim; d++) {
- 										// is it among longest?
--		if (double(bnds.hi[d] - bnds.lo[d]) >= (1-ERR)*max_length) {
-+		if (double(bnds.hi[d] - bnds.lo[d]) >= (1-ANN_ERR)*max_length) {
- 										// compute its spread
- 			ANNcoord spr = annSpread(pa, pidx, n, d);
- 			if (spr > max_spread) {		// is it max so far?
-@@ -165,7 +165,7 @@ void sl_midpt_split(
- 	ANNcoord max_spread = -1;			// find long side with most spread
- 	for (d = 0; d < dim; d++) {
- 										// is it among longest?
--		if ((bnds.hi[d] - bnds.lo[d]) >= (1-ERR)*max_length) {
-+		if ((bnds.hi[d] - bnds.lo[d]) >= (1-ANN_ERR)*max_length) {
- 										// compute its spread
- 			ANNcoord spr = annSpread(pa, pidx, n, d);
- 			if (spr > max_spread) {		// is it max so far?
diff --git a/ann/patches/patch-test_ann__test.cpp b/ann/patches/patch-test_ann__test.cpp
deleted file mode 100644
index 61db9870e1..0000000000
--- a/ann/patches/patch-test_ann__test.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-test_ann__test.cpp,v 1.1 2014/09/30 11:22:27 fhajny Exp $
-
-Rename reserved symbol.
---- test/ann_test.cpp.orig	2010-01-28 04:40:01.000000000 +0000
-+++ test/ann_test.cpp
-@@ -281,7 +281,7 @@ using namespace std;					// make std:: a
- //------------------------------------------------------------------------
- 
- const int		STRING_LEN		= 500;			// max string length
--const double	ERR				= 0.00001;		// epsilon (for float compares)
-+const double	ANN_ERR				= 0.00001;		// epsilon (for float compares)
- const double	RND_OFF			= 5E-16;		// double round-off error
- 
- //------------------------------------------------------------------------
-@@ -1502,7 +1502,7 @@ void doValidation()						// perform vali
- 												// reported i-th smallest
- 			double rept_dist = ANN_ROOT(curr_apx_dst[j]);
- 												// better than optimum?
--			if (rept_dist < true_dist*(1-ERR)) {
-+			if (rept_dist < true_dist*(1-ANN_ERR)) {
- 				Error("INTERNAL ERROR: True nearest neighbor incorrect",
- 						ANNabort);
- 			}


Home | Main Index | Thread Index | Old Index