Gentoo Archives: gentoo-commits

From: Thomas Kahle <tomka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/topcom/files/, sci-mathematics/topcom/
Date: Sun, 25 Sep 2016 18:36:21
Message-Id: 1474828569.8ff5095a9c6644e43fab5f7e9f40d6fc38007b0a.tomka@gentoo
1 commit: 8ff5095a9c6644e43fab5f7e9f40d6fc38007b0a
2 Author: Thomas Kahle <tomka <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 25 18:35:59 2016 +0000
4 Commit: Thomas Kahle <tomka <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 25 18:36:09 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff5095a
7
8 sci-mathematics/topcom: remove old
9
10 Package-Manager: portage-2.3.0
11
12 sci-mathematics/topcom/Manifest | 1 -
13 .../topcom/files/topcom-0.17.4-buildsystem.patch | 105 ---------------------
14 .../files/topcom-0.17.4-no-internal-libs.patch | 77 ---------------
15 sci-mathematics/topcom/topcom-0.17.4-r1.ebuild | 60 ------------
16 4 files changed, 243 deletions(-)
17
18 diff --git a/sci-mathematics/topcom/Manifest b/sci-mathematics/topcom/Manifest
19 index 426626e..30d3ca9 100644
20 --- a/sci-mathematics/topcom/Manifest
21 +++ b/sci-mathematics/topcom/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST TOPCOM-0.17.4.tar.gz 8666508 SHA256 42f3ff4e04613009966a3e3cd942f1fb6aa7bc7439f54f20a0b81d1989f9fef1 SHA512 29cee145ee8ec1a63c0b1ec5d9e5f34a11084767405435eed515f864ba1094ca4566c92bbf7cf56914e3e455dd8bdf9746c0f7192a9455fe7852a65704a6009c WHIRLPOOL 4b5f18b8eee251470281a352a354a683b7f42c852cb47552e4227699d9570aee09cda9f9e84f9e7abc5b9e1997818437618776ed90a8667cb186143da6deab4b
24 DIST TOPCOM-0.17.7.tar.gz 8661519 SHA256 a22be891225589790fb42d618c1c9657d221914612d4567eaeaaf5d6145667c4 SHA512 528e566e488641e078a8c9150f88a1544f607e6859da1d95a98dc5890c5a52882f8c8790097c3a77277066bd5d4c10a1e0a9c131fbc521f56f6139eeab7e21d1 WHIRLPOOL 1857c43d534aa04c15b02a4d5b378402a7e6c0a456f7be1a3c27f37dbd3938e1ca7aa3b645e56b1b57da8bedc58067a13127b5782e1025bb502be1b864b9295c
25 DIST TOPCOM-manual.html 19251 SHA256 b1c3b326044fdb512264fa2bde6fa10962fd276d43fcab71cb0dc8778378608e SHA512 5d0303f141bce12e0354c2fb65420102aa198e2271c0e901621f850b47f9cf9642659b0cf8e9bcc7a6da3b39914c20e47c67e72aa9cf999892f80855daa25c67 WHIRLPOOL cf8da6b8fb7834730d755ba626903547e02864ea7da98be2e08fb9dafb10ef4503340eac3999915d562768ce2aaa07d38088b8b14c6be810681f6ed229f9d7c3
26
27 diff --git a/sci-mathematics/topcom/files/topcom-0.17.4-buildsystem.patch b/sci-mathematics/topcom/files/topcom-0.17.4-buildsystem.patch
28 deleted file mode 100644
29 index e8546aa..00000000
30 --- a/sci-mathematics/topcom/files/topcom-0.17.4-buildsystem.patch
31 +++ /dev/null
32 @@ -1,105 +0,0 @@
33 - lib-src-reg/Makefile.am | 8 +++-----
34 - lib-src/Makefile.am | 8 +++-----
35 - src-reg/Makefile.am | 12 +++++-------
36 - src/Makefile.am | 12 +++++-------
37 - wrap-gmp-gmpxx/Makefile.am | 2 +-
38 - 5 files changed, 17 insertions(+), 25 deletions(-)
39 -
40 -diff --git a/lib-src-reg/Makefile.am b/lib-src-reg/Makefile.am
41 -index 67c1dc9..202d6fa 100644
42 ---- a/lib-src-reg/Makefile.am
43 -+++ b/lib-src-reg/Makefile.am
44 -@@ -10,11 +10,9 @@ SPXinterface.hh \
45 - RegularityCheck.hh \
46 - LPinterface.hh
47 -
48 --INCLUDES = -I../lib-src
49 --INCLUDES += -I../wrap-gmp-gmpxx
50 --INCLUDES += -I../external/include
51 -+INCLUDES = -I$(top_srcdir)/lib-src
52 -+INCLUDES += -I$(top_srcdir)/wrap-gmp-gmpxx
53 -+INCLUDES += -I$(top_srcdir)/external/include
54 - INCLUDES += -I$(includedir)
55 -
56 - AM_CPPFLAGS = -DVERBOSE -DGMPRATIONAL -ftemplate-depth-30
57 --
58 --AM_CXXFLAGS = -O2
59 -diff --git a/lib-src/Makefile.am b/lib-src/Makefile.am
60 -index defed87..c94109c 100644
61 ---- a/lib-src/Makefile.am
62 -+++ b/lib-src/Makefile.am
63 -@@ -88,11 +88,9 @@ VertexFacetTable.hh \
64 - VertexFacetTableArray.hh \
65 - VirtualChiro.hh
66 -
67 --INCLUDES = -I../lib-src-reg
68 --INCLUDES += -I../wrap-gmp-gmpxx
69 --INCLUDES += -I../external/include
70 -+INCLUDES = -I$(top_srcdir)/lib-src-reg
71 -+INCLUDES += -I$(top_srcdir)/wrap-gmp-gmpxx
72 -+INCLUDES += -I$(top_srcdir)/external/include
73 - INCLUDES += -I$(includedir)
74 -
75 - AM_CPPFLAGS = -DVERBOSE -DGMPRATIONAL -ftemplate-depth-35
76 --
77 --AM_CXXFLAGS = -O2 -g
78 -diff --git a/src-reg/Makefile.am b/src-reg/Makefile.am
79 -index b0219a5..e9b00bc 100644
80 ---- a/src-reg/Makefile.am
81 -+++ b/src-reg/Makefile.am
82 -@@ -2,15 +2,13 @@ bin_PROGRAMS = checkregularity
83 -
84 - checkregularity_SOURCES = checkregularity.cc
85 -
86 --LDADD = ../lib-src-reg/libCHECKREG.a \
87 -- ../lib-src/libTOPCOM.a
88 -+LDADD = $(top_builddir)/lib-src-reg/libCHECKREG.a \
89 -+ $(top_builddir)/lib-src/libTOPCOM.a
90 -
91 --INCLUDES = -I../lib-src
92 --INCLUDES += -I../lib-src-reg
93 --INCLUDES += -I../wrap-gmp-gmpxx
94 -+INCLUDES = -I$(top_srcdir)/lib-src
95 -+INCLUDES += -I$(top_srcdir)/lib-src-reg
96 -+INCLUDES += -I$(top_srcdir)/wrap-gmp-gmpxx
97 - INCLUDES += -I$(includedir)
98 -
99 -
100 - AM_CPPFLAGS = -DVERBOSE -DGMPRATIONAL -ftemplate-depth-30
101 --
102 --AM_CXXFLAGS = -O2
103 -diff --git a/src/Makefile.am b/src/Makefile.am
104 -index 5ba9b22..4c59202 100644
105 ---- a/src/Makefile.am
106 -+++ b/src/Makefile.am
107 -@@ -85,14 +85,12 @@ santos_triang_SOURCES = santos_triang.cc
108 - santos_dim4_triang_SOURCES = santos_dim4_triang.cc
109 - santos_22_triang_SOURCES = santos_22_triang.cc
110 -
111 --LDADD = ../lib-src/libTOPCOM.a \
112 -- ../lib-src-reg/libCHECKREG.a
113 -+LDADD = $(top_builddir)/lib-src/libTOPCOM.a \
114 -+ $(top_builddir)/lib-src-reg/libCHECKREG.a
115 -
116 --INCLUDES = -I../lib-src
117 --INCLUDES += -I../lib-src-reg
118 --INCLUDES += -I../wrap-gmp-gmpxx
119 -+INCLUDES = -I$(top_srcdir)/lib-src
120 -+INCLUDES += -I$(top_srcdir)/lib-src-reg
121 -+INCLUDES += -I$(top_srcdir)/wrap-gmp-gmpxx
122 - INCLUDES += -I$(includedir)
123 -
124 - AM_CPPFLAGS = -DVERBOSE -DGMPRATIONAL -ftemplate-depth-30
125 --
126 --AM_CXXFLAGS = -O2
127 -diff --git a/wrap-gmp-gmpxx/Makefile.am b/wrap-gmp-gmpxx/Makefile.am
128 -index 383e003..d93a637 100644
129 ---- a/wrap-gmp-gmpxx/Makefile.am
130 -+++ b/wrap-gmp-gmpxx/Makefile.am
131 -@@ -2,5 +2,5 @@ include_HEADERS = \
132 - Integer.h \
133 - Rational.h
134 -
135 --INCLUDES = -I../external/include
136 -+INCLUDES = -I$(top_srcdir)/external/include
137 - INCLUDES += -I$(includedir)
138
139 diff --git a/sci-mathematics/topcom/files/topcom-0.17.4-no-internal-libs.patch b/sci-mathematics/topcom/files/topcom-0.17.4-no-internal-libs.patch
140 deleted file mode 100644
141 index e9cffee..00000000
142 --- a/sci-mathematics/topcom/files/topcom-0.17.4-no-internal-libs.patch
143 +++ /dev/null
144 @@ -1,77 +0,0 @@
145 - Makefile.am | 4 ----
146 - configure.ac | 6 +-----
147 - src-reg/Makefile.am | 6 +-----
148 - src/Makefile.am | 6 +-----
149 - 4 files changed, 3 insertions(+), 19 deletions(-)
150 -
151 -diff --git a/Makefile.am b/Makefile.am
152 -index 640652f..00ba26a 100644
153 ---- a/Makefile.am
154 -+++ b/Makefile.am
155 -@@ -1,6 +1,2 @@
156 - SUBDIRS = wrap-gmp-gmpxx lib-src-reg lib-src src-reg src examples
157 - EXTRA_DIST = external/Makefile
158 --EXTRA_DIST += external/gmp-5.0.5.tar.bz2
159 --EXTRA_DIST += external/cddlib-0.94f-TOPCOM.tar.gz
160 --EXTRA_DIST += external/gmpxx-patch
161 --
162 -diff --git a/configure.ac b/configure.ac
163 -index b737f27..ecd38ce 100644
164 ---- a/configure.ac
165 -+++ b/configure.ac
166 -@@ -17,12 +17,8 @@ dnl Replace `main' with a function in -lstdc:
167 - dnl AC_CHECK_LIB(stdc, main)
168 - dnl Replace `main' with a function in -lstdc++:
169 - dnl AC_CHECK_LIB(stdc++, main)
170 --dnl Make libgmp:
171 --make -C external gmp
172 --dnl Make libcddgmp:
173 --make -C external cdd
174 - dnl Check for soplex:
175 --AC_CHECK_LIB(soplex, main, , csh -c 'echo soplex not found: --soplex will not work.')
176 -+AC_CHECK_LIB(soplex, main, , sh -c 'echo soplex not found: --soplex will not work.')
177 -
178 - dnl Checks for header files.
179 - AC_HEADER_STDC
180 -diff --git a/src-reg/Makefile.am b/src-reg/Makefile.am
181 -index c976e34..b0219a5 100644
182 ---- a/src-reg/Makefile.am
183 -+++ b/src-reg/Makefile.am
184 -@@ -3,15 +3,11 @@ bin_PROGRAMS = checkregularity
185 - checkregularity_SOURCES = checkregularity.cc
186 -
187 - LDADD = ../lib-src-reg/libCHECKREG.a \
188 -- ../lib-src/libTOPCOM.a \
189 -- ../external/lib/libcddgmp.a \
190 -- ../external/lib/libgmpxx.a \
191 -- ../external/lib/libgmp.a
192 -+ ../lib-src/libTOPCOM.a
193 -
194 - INCLUDES = -I../lib-src
195 - INCLUDES += -I../lib-src-reg
196 - INCLUDES += -I../wrap-gmp-gmpxx
197 --INCLUDES += -I../external/include
198 - INCLUDES += -I$(includedir)
199 -
200 -
201 -diff --git a/src/Makefile.am b/src/Makefile.am
202 -index 4c35135..5ba9b22 100644
203 ---- a/src/Makefile.am
204 -+++ b/src/Makefile.am
205 -@@ -86,15 +86,11 @@ santos_dim4_triang_SOURCES = santos_dim4_triang.cc
206 - santos_22_triang_SOURCES = santos_22_triang.cc
207 -
208 - LDADD = ../lib-src/libTOPCOM.a \
209 -- ../lib-src-reg/libCHECKREG.a \
210 -- ../external/lib/libcddgmp.a \
211 -- ../external/lib/libgmpxx.a \
212 -- ../external/lib/libgmp.a
213 -+ ../lib-src-reg/libCHECKREG.a
214 -
215 - INCLUDES = -I../lib-src
216 - INCLUDES += -I../lib-src-reg
217 - INCLUDES += -I../wrap-gmp-gmpxx
218 --INCLUDES += -I../external/include
219 - INCLUDES += -I$(includedir)
220 -
221 - AM_CPPFLAGS = -DVERBOSE -DGMPRATIONAL -ftemplate-depth-30
222
223 diff --git a/sci-mathematics/topcom/topcom-0.17.4-r1.ebuild b/sci-mathematics/topcom/topcom-0.17.4-r1.ebuild
224 deleted file mode 100644
225 index 3745a13..00000000
226 --- a/sci-mathematics/topcom/topcom-0.17.4-r1.ebuild
227 +++ /dev/null
228 @@ -1,60 +0,0 @@
229 -# Copyright 1999-2015 Gentoo Foundation
230 -# Distributed under the terms of the GNU General Public License v2
231 -# $Id$
232 -
233 -EAPI=4
234 -
235 -AUTOTOOLS_AUTORECONF=yes
236 -
237 -inherit autotools-utils flag-o-matic
238 -
239 -DESCRIPTION="Computing Triangulations Of Point Configurations and Oriented Matroids"
240 -HOMEPAGE="http://www.rambau.wm.uni-bayreuth.de/TOPCOM/"
241 -SRC_URI="
242 - http://www.uni-bayreuth.de/departments/wirtschaftsmathematik/rambau/Software/TOPCOM-${PV}.tar.gz
243 - doc? ( http://www.rambau.wm.uni-bayreuth.de/TOPCOM/TOPCOM-manual.html )"
244 -
245 -KEYWORDS="~amd64 ~x86"
246 -SLOT="0"
247 -LICENSE="GPL-2"
248 -IUSE="doc examples static-libs"
249 -
250 -DEPEND="
251 - >=dev-libs/gmp-5.0.5
252 - >=sci-libs/cddlib-094f"
253 -RDEPEND="${DEPEND}"
254 -
255 -S="${WORKDIR}"/TOPCOM-${PV}
256 -
257 -PATCHES=(
258 - "${FILESDIR}"/${P}-no-internal-libs.patch
259 - "${FILESDIR}"/${P}-buildsystem.patch
260 - )
261 -
262 -src_prepare () {
263 - # ... and link in tree versions:
264 - append-libs -lgmp -lgmpxx -lcddgmp
265 -
266 - find external -delete || die
267 -
268 - mv configure.{in,ac} || die
269 -
270 - autotools-utils_src_prepare
271 -}
272 -
273 -src_install () {
274 - autotools-utils_src_install
275 -
276 - use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*a
277 -
278 - use doc && dohtml "${DISTDIR}"/TOPCOM-manual.html
279 -
280 - use examples && dodoc -r "${S}"/examples
281 -
282 - mv "${ED}"/usr/bin/cube "${ED}"/usr/bin/topcom_cube || die
283 -}
284 -
285 -pkg_postinst() {
286 - elog "Due to a file collision with media-libs/lib3ds the helper"
287 - elog "'cube' has been installed as topcom_cube (see bug #547030)."
288 -}