1 |
commit: 3605f056cf642519c64e03544115555b3d347ec2 |
2 |
Author: Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca> |
3 |
AuthorDate: Mon Jul 9 17:55:01 2012 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 9 17:55:01 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3605f056 |
7 |
|
8 |
sci-libs/dsdp: changes incorporated in main tree |
9 |
|
10 |
--- |
11 |
sci-libs/dsdp/ChangeLog | 42 -------------- |
12 |
sci-libs/dsdp/dsdp-5.8-r2.ebuild | 75 ------------------------- |
13 |
sci-libs/dsdp/files/dsdp-5.8-gold.patch | 13 ---- |
14 |
sci-libs/dsdp/files/dsdp-5.8-malloc.patch | 10 --- |
15 |
sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch | 11 ---- |
16 |
sci-libs/dsdp/files/dsdp-5.8-sharedmake.patch | 36 ------------ |
17 |
sci-libs/dsdp/metadata.xml | 21 ------- |
18 |
7 files changed, 0 insertions(+), 208 deletions(-) |
19 |
|
20 |
diff --git a/sci-libs/dsdp/ChangeLog b/sci-libs/dsdp/ChangeLog |
21 |
deleted file mode 100644 |
22 |
index 464c42e..0000000 |
23 |
--- a/sci-libs/dsdp/ChangeLog |
24 |
+++ /dev/null |
25 |
@@ -1,42 +0,0 @@ |
26 |
-# ChangeLog for sci-libs/dsdp |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/dsdp/ChangeLog,v 1.5 2012/01/17 17:36:56 bicatali Exp $ |
29 |
- |
30 |
- 11 Apr 2012; François Bissey <francois.bissey@×××××××××××××.nz> |
31 |
- files/dsdp-5.8-gold.patch: |
32 |
- fix test |
33 |
- |
34 |
-*dsdp-5.8-r2 (04 Apr 2012) |
35 |
- |
36 |
- 04 Apr 2012; François Bissey <francois.bissey@×××××××××××××.nz> |
37 |
- +dsdp-5.8-r2.ebuild, +files/dsdp-5.8-gold.patch, |
38 |
- +files/dsdp-5.8-malloc.patch, +files/dsdp-5.8-readsdpa.patch, |
39 |
- +files/dsdp-5.8-sharedmake.patch, +metadata.xml: |
40 |
- Massive amount of fixes: work on macos prefix with correct dylib, removal of |
41 |
- malloc.h, stdlib.h is enough on modern |
42 |
- systems. Fix parallel make - there was a direct call to make in make.include. |
43 |
- Fix bug 410735 and link to lapack properly. |
44 |
- |
45 |
-*dsdp-5.8-r1 (17 Jan 2012) |
46 |
- |
47 |
- 17 Jan 2012; Sébastien Fabbro <bicatali@g.o> -dsdp-5.8.ebuild, |
48 |
- +dsdp-5.8-r1.ebuild: |
49 |
- Now installs header files as well, bug #399035 |
50 |
- |
51 |
- 28 Jun 2011; Justin Lecher <jlec@g.o> dsdp-5.8.ebuild, metadata.xml: |
52 |
- Fix sed on *FLAGS from : to | |
53 |
- |
54 |
- 05 Jun 2011; Justin Lecher <jlec@g.o> dsdp-5.8.ebuild, |
55 |
- +files/dsdp-5.8-gold.patch: |
56 |
- Make it gold resistant, #370109 |
57 |
- |
58 |
- 14 Mar 2011; Sébastien Fabbro <bicatali@g.o> dsdp-5.8.ebuild, |
59 |
- +files/dsdp-5.8-readsdpa.patch: |
60 |
- Fixed leak in one of the examples |
61 |
- |
62 |
-*dsdp-5.8 (07 Mar 2011) |
63 |
- |
64 |
- 07 Mar 2011; Sébastien Fabbro <bicatali@g.o> +dsdp-5.8.ebuild, |
65 |
- +metadata.xml: |
66 |
- Initial import |
67 |
- |
68 |
|
69 |
diff --git a/sci-libs/dsdp/dsdp-5.8-r2.ebuild b/sci-libs/dsdp/dsdp-5.8-r2.ebuild |
70 |
deleted file mode 100644 |
71 |
index c93546b..0000000 |
72 |
--- a/sci-libs/dsdp/dsdp-5.8-r2.ebuild |
73 |
+++ /dev/null |
74 |
@@ -1,75 +0,0 @@ |
75 |
-# Copyright 1999-2012 Gentoo Foundation |
76 |
-# Distributed under the terms of the GNU General Public License v2 |
77 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/dsdp/dsdp-5.8-r1.ebuild,v 1.1 2012/01/17 17:36:56 bicatali Exp $ |
78 |
- |
79 |
-EAPI=4 |
80 |
- |
81 |
-inherit eutils toolchain-funcs versionator multilib |
82 |
- |
83 |
-MYP=DSDP${PV} |
84 |
- |
85 |
-DESCRIPTION="Software for interior-point for semidefinite programming" |
86 |
-HOMEPAGE="http://www.mcs.anl.gov/hs/software/DSDP/" |
87 |
-SRC_URI="http://www.mcs.anl.gov/hs/software/DSDP//${MYP}.tar.gz" |
88 |
- |
89 |
-LICENSE="BSD" |
90 |
-SLOT="0" |
91 |
-KEYWORDS="~amd64 ~x86 ~ppc-macos ~x86-macos ~x64-macos" |
92 |
-IUSE="doc examples" |
93 |
- |
94 |
-RDEPEND="virtual/lapack" |
95 |
-DEPEND="${RDEPEND} |
96 |
- dev-util/pkgconfig" |
97 |
- |
98 |
-S="${WORKDIR}/${MYP}" |
99 |
- |
100 |
-src_prepare() { |
101 |
- epatch \ |
102 |
- "${FILESDIR}"/${P}-readsdpa.patch \ |
103 |
- "${FILESDIR}"/${P}-gold.patch \ |
104 |
- "${FILESDIR}"/${P}-sharedmake.patch \ |
105 |
- "${FILESDIR}"/${P}-malloc.patch |
106 |
- find . -name Makefile -exec \ |
107 |
- sed -i -e 's:make :$(MAKE) :g' '{}' \; |
108 |
- |
109 |
- local sharedlib="-Wl,-soname=lib${PN}$(get_libname $(get_major_version))" |
110 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
111 |
- sharedlib="-Wl,-install_name -Wl,${EPREFIX}/usr/$(get_libdir)/lib${PN}$(get_libname $(get_major_version))" |
112 |
- fi |
113 |
- |
114 |
- sed -i \ |
115 |
- -e "s|#\(DSDPROOT[[:space:]]*=\).*|\1${S}|" \ |
116 |
- -e "s|\(CC[[:space:]]*=\).*|\1$(tc-getCC)|" \ |
117 |
- -e "s|\(OPTFLAGS[[:space:]]*=\).*|\1${CFLAGS}|" \ |
118 |
- -e "s|\(LAPACKBLAS[[:space:]]*=\).*|\1 $(pkg-config --libs blas lapack)|" \ |
119 |
- -e "s|\(^ARCH[[:space:]]*=\).*|\1$(tc-getAR) cr|" \ |
120 |
- -e "s|\(^RANLIB[[:space:]]*=\).*|\1$(tc-getRANLIB)|" \ |
121 |
- -e "s|libdsdp.so|lib${PN}$(get_libname $(get_major_version))|" \ |
122 |
- make.include |
123 |
- # separate SH_LD due to weird sed behavior |
124 |
- sed -i "s:SH_LD =:SH_LD=$(tc-getCC) -shared ${LDFLAGS} ${sharedlib}:g" \ |
125 |
- make.include |
126 |
-} |
127 |
- |
128 |
-src_compile() { |
129 |
- emake OPTFLAGS="${CFLAGS} -fPIC" dsdplibrary |
130 |
-} |
131 |
- |
132 |
-src_test() { |
133 |
- emake -j1 example test |
134 |
-} |
135 |
- |
136 |
-src_install() { |
137 |
- dolib.so lib/lib${PN}$(get_libname $(get_major_version)) |
138 |
- dosym lib${PN}$(get_libname $(get_major_version)) /usr/$(get_libdir)/lib${PN}$(get_libname) |
139 |
- |
140 |
- insinto /usr/include |
141 |
- doins include/*.h src/sdp/*.h |
142 |
- |
143 |
- use doc && dodoc docs/*.pdf |
144 |
- |
145 |
- if use examples; then |
146 |
- insinto /usr/share/doc/${PF} |
147 |
- doins -r examples |
148 |
- fi |
149 |
-} |
150 |
|
151 |
diff --git a/sci-libs/dsdp/files/dsdp-5.8-gold.patch b/sci-libs/dsdp/files/dsdp-5.8-gold.patch |
152 |
deleted file mode 100644 |
153 |
index 2194c94..0000000 |
154 |
--- a/sci-libs/dsdp/files/dsdp-5.8-gold.patch |
155 |
+++ /dev/null |
156 |
@@ -1,13 +0,0 @@ |
157 |
-diff --git a/examples/Makefile b/examples/Makefile |
158 |
-index 8d7d433..11b9c8c 100644 |
159 |
---- a/examples/Makefile |
160 |
-+++ b/examples/Makefile |
161 |
-@@ -4,7 +4,7 @@ default: |
162 |
- |
163 |
- include ../make.include |
164 |
- |
165 |
--EXAMPLE_LIBS = ${DSDPLIB} ${LAPACKBLAS} |
166 |
-+EXAMPLE_LIBS = -L${DSDPROOT}/lib -ldsdp ${LAPACKBLAS} -lm |
167 |
- |
168 |
- dsdp: exinfo clean |
169 |
- ${MEX} -I${DSDPROOT}/include dsdp.c ${DSDPLIB}; |
170 |
|
171 |
diff --git a/sci-libs/dsdp/files/dsdp-5.8-malloc.patch b/sci-libs/dsdp/files/dsdp-5.8-malloc.patch |
172 |
deleted file mode 100644 |
173 |
index 48e067d..0000000 |
174 |
--- a/sci-libs/dsdp/files/dsdp-5.8-malloc.patch |
175 |
+++ /dev/null |
176 |
@@ -1,10 +0,0 @@ |
177 |
---- src/sys/dsdploginfo.c.orig 2012-04-04 09:59:25.212518434 +1200 |
178 |
-+++ src/sys/dsdploginfo.c 2012-04-04 10:00:05.676522161 +1200 |
179 |
-@@ -6,7 +6,6 @@ |
180 |
- #include <stdarg.h> |
181 |
- #include <sys/types.h> |
182 |
- #include <stdlib.h> |
183 |
--#include <malloc.h> |
184 |
- #include "dsdpsys.h" |
185 |
- #include "dsdpbasictypes.h" |
186 |
- |
187 |
|
188 |
diff --git a/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch b/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch |
189 |
deleted file mode 100644 |
190 |
index f555e50..0000000 |
191 |
--- a/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch |
192 |
+++ /dev/null |
193 |
@@ -1,11 +0,0 @@ |
194 |
---- examples/readsdpa.c.orig 2011-03-14 16:49:10.000000000 +0000 |
195 |
-+++ examples/readsdpa.c 2011-03-14 17:05:52.000000000 +0000 |
196 |
-@@ -87,7 +87,7 @@ |
197 |
- double ddobj,ppobj,scl,dpot; |
198 |
- char problemname[100],thisline[100], filename[300],savefile[100]; |
199 |
- char directory[100]="/home/benson/sdpexamples/sdplib/"; |
200 |
-- char outputfile[50]="",suffix[20]=".dat-s", tablename[20]="results-dsdp-5.8"; |
201 |
-+ char outputfile[50]="",suffix[20]=".dat-s", tablename[100]="results-dsdp-5.8"; |
202 |
- char success='s',sformat; |
203 |
- FILE *fp1=0,*fp2=0,*fout; |
204 |
- DSDPData dddd; |
205 |
|
206 |
diff --git a/sci-libs/dsdp/files/dsdp-5.8-sharedmake.patch b/sci-libs/dsdp/files/dsdp-5.8-sharedmake.patch |
207 |
deleted file mode 100644 |
208 |
index 3a146b9..0000000 |
209 |
--- a/sci-libs/dsdp/files/dsdp-5.8-sharedmake.patch |
210 |
+++ /dev/null |
211 |
@@ -1,36 +0,0 @@ |
212 |
---- Makefile.orig 2005-10-22 08:31:14.000000000 +1300 |
213 |
-+++ Makefile 2012-04-03 14:22:10.488043308 +1200 |
214 |
-@@ -10,8 +10,8 @@ |
215 |
- include make.include |
216 |
- |
217 |
- dsdplibrary: chkroot info |
218 |
-- cd ${D1}; make all |
219 |
-- ${RANLIB} ${DSDPLIB} |
220 |
-+ make -C ${D1} all |
221 |
-+ ${SH_LD} -o ${DSDPLIBSO} lib/*.o ${LAPACKBLAS}; |
222 |
- |
223 |
- example: |
224 |
- cd ${D2}; make most |
225 |
---- make.include.orig 2005-10-22 08:31:14.000000000 +1300 |
226 |
-+++ make.include 2012-04-04 12:48:12.190409224 +1200 |
227 |
-@@ -48,7 +48,7 @@ |
228 |
- #CLINKER = ${CXX} ${OPTFLAGS} -static |
229 |
- #CLINKER = link /out:dsdp5.exe |
230 |
- |
231 |
--#SH_LD = ${CC} -shared -W1,-soname, |
232 |
-+SH_LD = |
233 |
- |
234 |
- # STEP 5: |
235 |
- # Location of BLAS AND LAPACK libraries. |
236 |
-@@ -90,9 +90,8 @@ |
237 |
- PP = ../ |
238 |
- |
239 |
- dsdplib: ${DSDPOBJ} |
240 |
-- ${ARCH} ${DSDPLIB} ${DSDPOBJ} |
241 |
-- ${RANLIB} ${DSDPLIB} |
242 |
-- make clean |
243 |
-+ ${CP} ${DSDPOBJ} -t ${DSDPROOT}/lib |
244 |
-+ $(MAKE) clean |
245 |
- |
246 |
- .c.o: |
247 |
- ${CC} ${CFLAGS} ${DCFLAGS} -c $*.c |
248 |
|
249 |
diff --git a/sci-libs/dsdp/metadata.xml b/sci-libs/dsdp/metadata.xml |
250 |
deleted file mode 100644 |
251 |
index 1b56f87..0000000 |
252 |
--- a/sci-libs/dsdp/metadata.xml |
253 |
+++ /dev/null |
254 |
@@ -1,21 +0,0 @@ |
255 |
-<?xml version="1.0" encoding="UTF-8"?> |
256 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
257 |
-<pkgmetadata> |
258 |
- <herd>sci</herd> |
259 |
- <longdescription lang="en"> |
260 |
- The DSDP software is a free open source implementation of an |
261 |
- interior-point method for semidefinite programming. It provides |
262 |
- primal and dual solutions, exploits low-rank structure and sparsity |
263 |
- in the data, and has relatively low memory requirements for an |
264 |
- interior-point method. It allows feasible and infeasible starting |
265 |
- points and provides approximate certificates of infeasibility when |
266 |
- no feasible solution exists. The dual-scaling algorithm implemented |
267 |
- in this package has a convergence proof and worst-case polynomial |
268 |
- complexity under mild assumptions on the data. Furthermore, the |
269 |
- solver offers scalable parallel performance for large problems and a |
270 |
- well documented interface. Some of the most popular applications of |
271 |
- semidefinite programming and linear matrix inequalities (LMI) are |
272 |
- model control, truss topology design, and semidefinite relaxations |
273 |
- of combinatorial and global optimization problems. |
274 |
-</longdescription> |
275 |
-</pkgmetadata> |