diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-12-14 09:20:30 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-12-14 09:20:30 +0000 |
commit | dba18d73e6dda6087406cbac88283c6dcd9c2c0b (patch) | |
tree | 943a140c77a30eb3d6025ba81f74e9d79149eac5 /sci-libs/neartree | |
parent | x86 stable wrt bug #393703 (diff) | |
download | historical-dba18d73e6dda6087406cbac88283c6dcd9c2c0b.tar.gz historical-dba18d73e6dda6087406cbac88283c6dcd9c2c0b.tar.bz2 historical-dba18d73e6dda6087406cbac88283c6dcd9c2c0b.zip |
Version Bump
Package-Manager: portage-2.2.0_alpha80/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/neartree')
-rw-r--r-- | sci-libs/neartree/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/neartree/Manifest | 23 | ||||
-rw-r--r-- | sci-libs/neartree/files/2.1.4-gcc4.3.patch | 20 | ||||
-rw-r--r-- | sci-libs/neartree/files/2.1.4-iterator.patch | 27 | ||||
-rw-r--r-- | sci-libs/neartree/files/3.1.1-gentoo.patch (renamed from sci-libs/neartree/files/2.1.4-gentoo.patch) | 77 | ||||
-rw-r--r-- | sci-libs/neartree/files/3.1.1-notest.patch | 34 | ||||
-rw-r--r-- | sci-libs/neartree/files/3.1.1-test.patch | 34 | ||||
-rw-r--r-- | sci-libs/neartree/neartree-2.1.4-r2.ebuild | 53 | ||||
-rw-r--r-- | sci-libs/neartree/neartree-3.1.1.ebuild (renamed from sci-libs/neartree/neartree-2.3.1.ebuild) | 29 |
9 files changed, 142 insertions, 166 deletions
diff --git a/sci-libs/neartree/ChangeLog b/sci-libs/neartree/ChangeLog index 63d1a7bd09ec..d6e01286ee4d 100644 --- a/sci-libs/neartree/ChangeLog +++ b/sci-libs/neartree/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sci-libs/neartree # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/ChangeLog,v 1.12 2011/05/09 15:07:22 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/ChangeLog,v 1.13 2011/12/14 09:20:30 jlec Exp $ + +*neartree-3.1.1 (14 Dec 2011) + + 14 Dec 2011; Justin Lecher <jlec@gentoo.org> +files/3.1.1-gentoo.patch, + +files/3.1.1-notest.patch, +files/3.1.1-test.patch, + -files/2.1.4-gcc4.3.patch, -files/2.1.4-gentoo.patch, + -files/2.1.4-iterator.patch, -neartree-2.1.4-r2.ebuild, + -neartree-2.3.1.ebuild, +neartree-3.1.1.ebuild: + Version Bump 09 May 2011; Justin Lecher <jlec@gentoo.org> +files/2.3.2-notest.patch, neartree-2.3.2.ebuild: diff --git a/sci-libs/neartree/Manifest b/sci-libs/neartree/Manifest index 4253ab770cd4..0d214c98c855 100644 --- a/sci-libs/neartree/Manifest +++ b/sci-libs/neartree/Manifest @@ -1,26 +1,25 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 -AUX 2.1.4-gcc4.3.patch 616 RMD160 9a3c54f125c8f8d15b026a8799d58aff6c7b9faf SHA1 7dc0d4a04b7a4f7456059da1ebf223ca699773d3 SHA256 a04edc6d830d13707adb4b386ad5f31cc93efae2e4168cfb6e94cd7c1bd8f6b0 -AUX 2.1.4-gentoo.patch 4037 RMD160 8e9281b4649e40377ca024de1911ffed61d897a8 SHA1 5f13c7ca2b4de743addf988b30e4d9d93baf6d85 SHA256 2775c71b6655a50e3957be713208f4602d365bfbe0c0ff0a42b3a80c8a4cc79f -AUX 2.1.4-iterator.patch 845 RMD160 33c451d43b0817680818648e91ce146e5c2f71c2 SHA1 b0e7b24400eedd129a1a0bd4fffeada2a79c80bd SHA256 977f9d70688cbd42baeba9262ad113797bcee76e455629ca7fac26d06e2a7de8 AUX 2.1.4-test.patch 638 RMD160 8d3352b9c48ed13f724d10e6551cca4df478e466 SHA1 86937e57f7e5d0f5e82d91b91bfe42394502d29b SHA256 0771a2a7ac552d56d8642388300ba1b4b51d781aeb89e7594ef9ea0129d5f0ad AUX 2.3.1-gentoo.patch 4422 RMD160 fb2773f84bd00f891499362978225426136b7e94 SHA1 4affc0201cf4c719321304c9361d9447fa4a10fb SHA256 50babce2d4716e04443d97389b86971ded740c2cdd7597dcf335a83552149688 AUX 2.3.2-gentoo.patch 3749 RMD160 f2e6c709b1fba436141a14420f8b29db60691f0a SHA1 562ae63329110a50eda4a046c60baef12d48b3ee SHA256 620e216fe0788bac4dbdd24c1df01293548449b1ead22b965455ed99f45a86bb AUX 2.3.2-notest.patch 909 RMD160 ebe5d417543eb4c2858b437e72fd27481f4d2029 SHA1 372d9bde141745365eab8d9294418f98bfe4380d SHA256 5e31a0af5fe26932c00d7af9f61cde791b7651d289d228d72eaf15607bf59c9c -DIST neartree-2.1.4.zip 95970 RMD160 cbf90912f9ce8f162c5440bd67d695168c92c6c3 SHA1 aa5ef6174ed81423423145cf7facdc0f6a4decb8 SHA256 54ba8d6e35734586605221342b62b78ee11e88d7855e2ba34130deed5f70ef55 +AUX 3.1.1-gentoo.patch 4126 RMD160 cf24a708043b3c787480e1579659f85eb9d1c2ea SHA1 6382cd1a3249dedfe878af09f2b94728de7c2bf5 SHA256 c8f982a452150e77af0fdce0c553482843f01035da21239cbc0fb29617ea8a31 +AUX 3.1.1-notest.patch 1366 RMD160 9b5c3478ccbe1903a2c9f767187db548eb2676b1 SHA1 7599c18b060ad7343e250e9462698e050f209943 SHA256 8be383d574238ee7624be5ae9ad2bcb764bf7527278374510b4647dce5448fc4 +AUX 3.1.1-test.patch 1199 RMD160 9533be0e26e4c950671eff35edf7d7c7274c2851 SHA1 61bbd5408793af174f7b06409b1caeb464196a55 SHA256 aaeac706dbd67c700907d6ee9a21229cbf63ee86b15891e1839811289871e7ba DIST neartree-2.3.1.tar.gz 96644 RMD160 1e38897b84716de63268b741fe8a55867b158c03 SHA1 856a678e04a5263b108123074c46ec0782266df1 SHA256 02bd8ea3e14fa8afdb67e7071315b090138bbe4ddc8c674586c7f4723455c056 DIST neartree-2.3.2.tar.gz 99412 RMD160 6969e5d82b70462bc0a61913b72e37feef3028d1 SHA1 5963e766f9de2a1c8b111c9b60e314760c2ac297 SHA256 1bdb2f9e157008e2c99ffbbe031b36b0ccb95ef18cd6df5a1b06892c9a562f2c -EBUILD neartree-2.1.4-r2.ebuild 1226 RMD160 05195270532545b52914b61ad980e8a209c6604c SHA1 b8546ab714455001df5f4919d41eaabd03eec4e8 SHA256 80e2274f10feee3040dd14cef807b629637db85836552fc094d61603b9d7bca8 +DIST neartree-3.1.1.tar.gz 124848 RMD160 9b3d8a1a0cab19c36f136adbb6b341f8c36b50a2 SHA1 7ebb331c850665af68ffbe01c53278ada6a8cf8a SHA256 5f26d0bef816f492d3939fbe06b8523a495a1fe4d06e9f8283f68a55436961ae EBUILD neartree-2.3.1-r1.ebuild 1163 RMD160 cdae217a62bba268ea6f567d6ee74bc1efba2c32 SHA1 b5ecfe80b814acd41172dadbd9d445a272feb4db SHA256 bf6f3e64fbf805d2d56c0cbc98ef158c8398d2813db326a199cc480fedc2423d -EBUILD neartree-2.3.1.ebuild 1157 RMD160 8e3ced62c40882619aaf7b4cc04f8eded57d856e SHA1 87944d316a88b0d965b2381d96feedca8739526d SHA256 d623a51b489525015ecc56537c8ca1a54a58debbee20e75842fc8a9096373e41 EBUILD neartree-2.3.2.ebuild 1171 RMD160 b1deaefeb822054ee1684727618be54168d5cce4 SHA1 2efc7890312fd03d8cad0b88798e25d87ac4cb84 SHA256 665136f38208fa7d77f357296a5a8f67b390efed3ac0d786f5d085050f2ca110 -MISC ChangeLog 2226 RMD160 aad70f29db33aff901fb7eb337253a3bc984f040 SHA1 d021815e4421c4a90a29b8c478fd7adacd291fe4 SHA256 eb916fbfe67d3d5fd9e26003d881afc9afe3288447b363ee4533d137d1503db2 +EBUILD neartree-3.1.1.ebuild 1088 RMD160 911985d697da07eb57cde09b138e122c3d198e29 SHA1 16e405de2714c4b189beb937028ea7c1e3ab5850 SHA256 e6318605a0e568658eb9d748d357d07c88ec8cc2f60ce46f175ce9b67ad82915 +MISC ChangeLog 2565 RMD160 3ec7a43be1cecd2e221bd5e5ce94a6e563cadf16 SHA1 1734d758ff9b2df2a86876676912106906326dae SHA256 2db1c8b6b31e1ded2abecb52cecb9b5d2edd5e7633ac2ab12276e0534b8d3a35 MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk3IAy8ACgkQgAnW8HDreRYktQCdFgggQZes/Sc0jCuQkZ8BG0x/ -UyYAoJfliSMMXTSYFB31vIfsmkxNmY3M -=LpKO +iEYEAREKAAYFAk7oamMACgkQgAnW8HDreRY2gwCgzCtd+uAbkNin9eaM4QLggrZv +8u8Anj9dVhp5GEQMC5xbvl7K3c/7Qff/ +=qJ6C -----END PGP SIGNATURE----- diff --git a/sci-libs/neartree/files/2.1.4-gcc4.3.patch b/sci-libs/neartree/files/2.1.4-gcc4.3.patch deleted file mode 100644 index 527254ce57d3..000000000000 --- a/sci-libs/neartree/files/2.1.4-gcc4.3.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- CNearTreeTest.cpp 2009-06-08 04:54:29.000000000 +0200 -+++ CNearTreeTest.cpp.new 2009-07-25 12:36:33.000000000 +0200 -@@ -47,6 +47,7 @@ - #include <cmath> - #include <stdio.h> - #include <stdlib.h> -+#include <cstring> - - #ifndef USE_LOCAL_HEADERS - #include <TNear.h> ---- TNear.h 2009-06-08 04:54:29.000000000 +0200 -+++ TNear.h.new 2009-07-25 12:39:09.000000000 +0200 -@@ -272,6 +272,7 @@ - #define TRIANG(a,b,c) ( (((b)+(c))-(a) >= 0)) - #endif - -+#include <algorithm> - - //======================================================================= - // CNearTree is the root class for the neartree. The actual data of the diff --git a/sci-libs/neartree/files/2.1.4-iterator.patch b/sci-libs/neartree/files/2.1.4-iterator.patch deleted file mode 100644 index 4563ecb8619d..000000000000 --- a/sci-libs/neartree/files/2.1.4-iterator.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/TNear.h b/TNear.h -index d848b61..a5d255e 100644 ---- a/TNear.h -+++ b/TNear.h -@@ -735,7 +735,7 @@ void BelongsToPoints( const T& t1, const T& t2, ContainerType& group1, Container - { - group1.clear(); - group2.clear(); -- CNearTree<T>::iterator it; -+ typename CNearTree<T>::iterator it; - - for ( it=this->begin( ); it!=this->end( ); ++it ) - { -@@ -756,11 +756,11 @@ void SeparateByRadius( const DistanceType radius, const T& tProbe, ContainerType - { - inside.clear(); - outside.clear(); -- CNearTree<T>::iterator it; -+ typename CNearTree<T>::iterator it; - - for ( it=this->begin( ); it!=this->end( ); ++it ) - { -- if( DistanceBetween( (*it), probe ) > radius ) -+ if( DistanceBetween( (*it), tProbe ) > radius ) - { - inside.insert( inside.end( ), (*it) ); - } diff --git a/sci-libs/neartree/files/2.1.4-gentoo.patch b/sci-libs/neartree/files/3.1.1-gentoo.patch index 1570c9173f2f..4f72e022e345 100644 --- a/sci-libs/neartree/files/2.1.4-gentoo.patch +++ b/sci-libs/neartree/files/3.1.1-gentoo.patch @@ -1,30 +1,36 @@ +From eb88a598f46f835782ba93bfbde68761cb159f4c Mon Sep 17 00:00:00 2001 +Message-Id: <eb88a598f46f835782ba93bfbde68761cb159f4c.1323853429.git.jlec@gentoo.org> +From: Justin Lecher <jlec@gentoo.org> +Date: Wed, 14 Dec 2011 09:50:42 +0100 +Subject: [PATCH 1/2] gentoo.patch + +Conflicts: + + Makefile +--- + Makefile | 30 +++++++++++++++--------------- + 1 files changed, 15 insertions(+), 15 deletions(-) + diff --git a/Makefile b/Makefile -index 10e9ba2..a992ea6 100644 +index 5c92d8b..859363e 100644 --- a/Makefile +++ b/Makefile -@@ -42,17 +42,17 @@ - - # Version string - VERSION = 3:0:0 --RELEASE = 2.1.3 -+RELEASE = 2.1.4 - - - # - # Compiler and compilation flags +@@ -52,11 +52,10 @@ RELEASE = 3.1 # -CC = gcc -+CC ?= gcc ifneq ($(MSYSTEM),MINGW32) -CFLAGS = -g -O2 -Wall -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 +CFLAGS += -ansi -DCNEARTREE_SAFE_TRIANG=1 + TIME = time else -CFLAGS = -g -O2 -Wall -DCNEARTREE_SAFE_TRIANG=1 +-TIME = +CFLAGS += -DCNEARTREE_SAFE_TRIANG=1 ++TIME = endif # -@@ -72,8 +72,8 @@ endif +@@ -76,8 +76,8 @@ endif # Uncomment the next two lines if CVector is installed locally in $(HOME)/include # and $(HOME)/lib # @@ -35,7 +41,7 @@ index 10e9ba2..a992ea6 100644 # # Directories -@@ -86,7 +86,7 @@ INC = $(ROOT) +@@ -90,7 +90,7 @@ INC = $(ROOT) EXAMPLES = $(ROOT) TESTDATA = $(ROOT) ifndef INSTALL_PREFIX @@ -44,22 +50,31 @@ index 10e9ba2..a992ea6 100644 #INSTALL_PREFIX = $(HOME) endif -@@ -112,7 +112,7 @@ CLIBRARIES = $(CVECTOR_LIBLOC) -lCVector -lm +@@ -115,10 +115,10 @@ CPPLIBRARIES = -lm + CLIBRARIES = $(CVECTOR_LIBLOC) -lCVector -lm COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c - CPPCOMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CXX) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c --LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -release $(RELEASE) -no-undefined -rpath $(INSTALL_PREFIX)/lib +-CPPCOMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CXX) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c +-LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -no-undefined -rpath $(INSTALL_PREFIX)/lib ++CPPCOMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CXX) $(CXXFLAGS) $(INCLUDES) $(WARNINGS) -c +LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -release $(RELEASE) -no-undefined -rpath $(INSTALL_PREFIX)/GENTOOLIBDIR $(LDFLAGS) BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES) - CPPBUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CXX) -no-undefined $(CFLAGS) $(INCLUDES) +-CPPBUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CXX) -no-undefined $(CFLAGS) $(INCLUDES) ++CPPBUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CXX) -no-undefined $(CXXFLAGS) $(INCLUDES) BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) -no-undefined $(CFLAGS) -shared -I$(INSTALL_PREFIX)/include -@@ -221,10 +221,10 @@ all: $(LIB) $(BIN) $(SOURCE) $(HEADERS) \ + BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static-libtool-libs -I$(INSTALL_PREFIX)/include + INSTALL_COMMAND = $(LIBTOOL) --mode=install cp +@@ -223,13 +223,13 @@ endif + # + all: $(LIB) $(BIN) $(SOURCE) $(HEADERS) \ $(LIB)/libCNearTree.$(LIB_EXT) \ - $(BIN)/CPPMain $(BIN)/CMain $(BIN)/CPPNearTreeTest $(BIN)/CNearTreeTest +- $(BIN)/CPPMain $(BIN)/CMain $(BIN)/CPPNearTreeTest $(BIN)/CNearTreeTest $(BIN)/CNearTreeTestInst ++ $(BIN)/CPPMain $(BIN)/CMain $(BIN)/CPPNearTreeTest $(BIN)/CNearTreeTest -install: all $(INSTALL_PREFIX) $(INSTALL_PREFIX)/lib $(INSTALL_PREFIX)/include \ +install: all $(INSTALL_PREFIX) $(INSTALL_PREFIX)/GENTOOLIBDIR $(INSTALL_PREFIX)/include \ - $(INC) $(LIB)/libCNearTree.$(LIB_EXT) $(INC)/TNear.h $(INC)/CNearTree.h $(INC)/rhrand.h + $(INC) $(LIB)/libCNearTree.$(LIB_EXT) $(INC)/TNear.h $(INC)/CNearTree.h \ + $(INC)/rhrand.h $(INC)/triple.h - $(INSTALL_COMMAND) $(LIB)/libCNearTree.$(LIB_EXT) $(INSTALL_PREFIX)/lib/libCNearTree.$(LIB_EXT) - $(INSTALL_FINISH_COMMAND) $(INSTALL_PREFIX)/lib/libCNearTree.$(LIB_EXT) + $(INSTALL_COMMAND) $(LIB)/libCNearTree.$(LIB_EXT) $(INSTALL_PREFIX)/GENTOOLIBDIR/libCNearTree.$(LIB_EXT) @@ -67,22 +82,7 @@ index 10e9ba2..a992ea6 100644 -cp $(INSTALL_PREFIX)/include/TNear.h $(INSTALL_PREFIX)/include/TNear_old.h -cp $(INSTALL_PREFIX)/include/CNearTree.h $(INSTALL_PREFIX)/include/CNearTree_old.h cp $(INC)/TNear.h $(INSTALL_PREFIX)/include/TNear.h -@@ -233,14 +233,6 @@ install: all $(INSTALL_PREFIX) $(INSTALL_PREFIX)/lib $(INSTALL_PREFIX)/include - chmod 644 $(INSTALL_PREFIX)/include/TNear.h - chmod 644 $(INSTALL_PREFIX)/include/CNearTree.h - chmod 644 $(INSTALL_PREFIX)/include/rhrand.h -- echo "Testing final install dynamic" -- $(BUILD_COMMAND_DYNAMIC) $(INCLUDES) $(EXAMPLES)/CNearTreeTest.c \ -- -L$(INSTALL_PREFIX)/lib -lCNearTree $(CLIBRARIES) -o $(BIN)/CNearTreeTest_dynamic -- $(BIN)/CNearTreeTest_dynamic -- echo "Testing final install static" -- $(BUILD_COMMAND_STATIC) $(INCLUDES) $(EXAMPLES)/CNearTreeTest.c \ -- -L$(INSTALL_PREFIX)/lib -lCNearTree $(CLIBRARIES) -o $(BIN)/CNearTreeTest_static -- $(BIN)/CNearTreeTest_static - - - -@@ -250,8 +242,8 @@ install: all $(INSTALL_PREFIX) $(INSTALL_PREFIX)/lib $(INSTALL_PREFIX)/include +@@ -257,8 +257,8 @@ install: all $(INSTALL_PREFIX) $(INSTALL_PREFIX)/lib $(INSTALL_PREFIX)/include $(INSTALL_PREFIX): mkdir -p $(INSTALL_PREFIX) @@ -93,3 +93,6 @@ index 10e9ba2..a992ea6 100644 $(INSTALL_PREFIX)/bin: $(INSTALL_PREFIX) mkdir -p $(INSTALL_PREFIX)/bin +-- +1.7.8 + diff --git a/sci-libs/neartree/files/3.1.1-notest.patch b/sci-libs/neartree/files/3.1.1-notest.patch new file mode 100644 index 000000000000..c85a50537894 --- /dev/null +++ b/sci-libs/neartree/files/3.1.1-notest.patch @@ -0,0 +1,34 @@ +From c9367aefa380d276590e3e0045f69fc884fed948 Mon Sep 17 00:00:00 2001 +Message-Id: <c9367aefa380d276590e3e0045f69fc884fed948.1323853429.git.jlec@gentoo.org> +In-Reply-To: <eb88a598f46f835782ba93bfbde68761cb159f4c.1323853429.git.jlec@gentoo.org> +References: <eb88a598f46f835782ba93bfbde68761cb159f4c.1323853429.git.jlec@gentoo.org> +From: Justin Lecher <jlec@gentoo.org> +Date: Wed, 14 Dec 2011 09:56:51 +0100 +Subject: [PATCH 2/2] notest.patch + +--- + Makefile | 8 -------- + 1 files changed, 0 insertions(+), 8 deletions(-) + +diff --git a/Makefile b/Makefile +index 859363e..8de706b 100644 +--- a/Makefile ++++ b/Makefile +@@ -240,14 +240,6 @@ install: all $(INSTALL_PREFIX) $(INSTALL_PREFIX)/GENTOOLIBDIR $(INSTALL_PREFIX) + chmod 644 $(INSTALL_PREFIX)/include/CNearTree.h + chmod 644 $(INSTALL_PREFIX)/include/rhrand.h + chmod 644 $(INSTALL_PREFIX)/include/triple.h +- echo "Testing final install dynamic" +- $(BUILD_COMMAND_DYNAMIC) $(INCLUDES) $(EXAMPLES)/CNearTreeTest.c \ +- -L$(INSTALL_PREFIX)/lib -lCNearTree $(CLIBRARIES) -o $(BIN)/CNearTreeTest_dynamic +- $(BIN)/CNearTreeTest_dynamic +- echo "Testing final install static" +- $(BUILD_COMMAND_STATIC) $(INCLUDES) $(EXAMPLES)/CNearTreeTest.c \ +- -L$(INSTALL_PREFIX)/lib -lCNearTree $(CLIBRARIES) -o $(BIN)/CNearTreeTest_static +- $(BIN)/CNearTreeTest_static + + + +-- +1.7.8 + diff --git a/sci-libs/neartree/files/3.1.1-test.patch b/sci-libs/neartree/files/3.1.1-test.patch new file mode 100644 index 000000000000..2796be6eaf85 --- /dev/null +++ b/sci-libs/neartree/files/3.1.1-test.patch @@ -0,0 +1,34 @@ +From 6a9ec8e68191a3ff9ad21a34814e71f6baf6f5ce Mon Sep 17 00:00:00 2001 +Message-Id: <6a9ec8e68191a3ff9ad21a34814e71f6baf6f5ce.1323853619.git.jlec@gentoo.org> +From: Justin Lecher <jlec@gentoo.org> +Date: Wed, 14 Dec 2011 10:06:51 +0100 +Subject: [PATCH] 3.1.1-test.patch + +--- + Makefile | 10 ---------- + 1 files changed, 0 insertions(+), 10 deletions(-) + +diff --git a/Makefile b/Makefile +index 8de706b..73ae0da 100644 +--- a/Makefile ++++ b/Makefile +@@ -339,16 +339,6 @@ tests: $(LIB) $(BIN) $(BIN)/CPPMain $(BIN)/CPPMain_Flip $(BIN)/CPPNearTreeTest + $(TIME) $(BIN)/CPPNearTreeTestInstNoFlip + $(TIME) $(BIN)/CNearTreeTest --debug + $(TIME) $(BIN)/CNearTreeTestInst --debug +-ifneq ($(MSYSTEM),MINGW32) +- diff -b -c $(TESTDATA)/CPPMain_orig.lst $(TESTDATA)/CPPMain.lst +- diff -b -c $(TESTDATA)/CPPMain_orig.lst $(TESTDATA)/CPPMain_Flip.lst +- diff -b -c $(TESTDATA)/CMain_orig.lst $(TESTDATA)/CMain.lst +-else +- diff -b -c $(TESTDATA)/CPPMain_MINGW_orig.lst $(TESTDATA)/CPPMain.lst +- diff -b -c $(TESTDATA)/CPPMain_MINGW_orig.lst $(TESTDATA)/CPPMain_Flip.lst +- diff -b -c $(TESTDATA)/CMain_MINGW_orig.lst $(TESTDATA)/CMain.lst +-endif +- + # + # Remove all non-source files + # +-- +1.7.8 + diff --git a/sci-libs/neartree/neartree-2.1.4-r2.ebuild b/sci-libs/neartree/neartree-2.1.4-r2.ebuild deleted file mode 100644 index ecb0dafaa973..000000000000 --- a/sci-libs/neartree/neartree-2.1.4-r2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-2.1.4-r2.ebuild,v 1.3 2010/07/15 20:23:27 maekke Exp $ - -EAPI="3" - -inherit base flag-o-matic multilib toolchain-funcs versionator - -MY_PN=NearTree -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Function library efficiently solving the Nearest Neighbor Problem(known as the post office problem)" -HOMEPAGE="http://neartree.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}/${MY_PN}.zip -> ${P}.zip" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND="dev-libs/cvector" -DEPEND="${RDEPEND}" - -S="${WORKDIR}" - -src_prepare() { - epatch "${FILESDIR}"/${PV}-gcc4.3.patch - epatch "${FILESDIR}"/${PV}-iterator.patch - epatch "${FILESDIR}"/${PV}-test.patch - epatch "${FILESDIR}"/${PV}-gentoo.patch - - sed \ - -e "s:GENTOOLIBDIR:$(get_libdir):g" \ - -e "s:/usr:${EPREFIX}/usr:g" \ - -i Makefile -} - -src_compile() { - emake \ - CC=$(tc-getCC) \ - CXX=$(tc-getCXX) \ - all || die -} - -src_install() { - emake \ - CC=$(tc-getCC) \ - CXX=$(tc-getCXX) \ - DESTDIR="${D}" install || die - - dodoc README_NearTree.txt || die - dohtml *.html || die -} diff --git a/sci-libs/neartree/neartree-2.3.1.ebuild b/sci-libs/neartree/neartree-3.1.1.ebuild index f51c6801fd59..a80cb41ecd94 100644 --- a/sci-libs/neartree/neartree-2.3.1.ebuild +++ b/sci-libs/neartree/neartree-3.1.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-2.3.1.ebuild,v 1.2 2011/05/05 16:17:48 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-3.1.1.ebuild,v 1.1 2011/12/14 09:20:30 jlec Exp $ -EAPI=3 +EAPI=4 inherit base flag-o-matic multilib toolchain-funcs versionator @@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_P}/${MY_P}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="" RDEPEND="dev-libs/cvector" @@ -25,28 +25,25 @@ S="${WORKDIR}"/${MY_P} src_prepare() { epatch \ - "${FILESDIR}"/2.1.4-test.patch \ - "${FILESDIR}"/${PV}-gentoo.patch + "${FILESDIR}"/${PV}-test.patch \ + "${FILESDIR}"/${PV}-gentoo.patch \ + "${FILESDIR}"/${PV}-notest.patch sed \ -e "s:GENTOOLIBDIR:$(get_libdir):g" \ -e "s:/usr:${EPREFIX}/usr:g" \ - -i Makefile + -i Makefile || die + + tc-export CC CXX } src_compile() { - emake \ - CC=$(tc-getCC) \ - CXX=$(tc-getCXX) \ - all || die + emake all } src_install() { - emake \ - CC=$(tc-getCC) \ - CXX=$(tc-getCXX) \ - DESTDIR="${D}" install || die + default - dodoc README_NearTree.txt || die - dohtml *.html || die + dodoc README_NearTree.txt + dohtml *.html } |