1 |
jlec 10/06/24 16:03:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: molden-4.7-r1.ebuild molden-4.8-r1.ebuild |
5 |
Log: |
6 |
Fix for glibc-2.11, fix for bug 315595 |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.33 sci-chemistry/molden/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/molden/ChangeLog?rev=1.33&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/molden/ChangeLog?rev=1.33&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/molden/ChangeLog?r1=1.32&r2=1.33 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/molden/ChangeLog,v |
19 |
retrieving revision 1.32 |
20 |
retrieving revision 1.33 |
21 |
diff -u -r1.32 -r1.33 |
22 |
--- ChangeLog 26 Feb 2010 05:33:34 -0000 1.32 |
23 |
+++ ChangeLog 24 Jun 2010 16:03:06 -0000 1.33 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for sci-chemistry/molden |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/ChangeLog,v 1.32 2010/02/26 05:33:34 markusle Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/ChangeLog,v 1.33 2010/06/24 16:03:06 jlec Exp $ |
29 |
+ |
30 |
+*molden-4.8-r1 (24 Jun 2010) |
31 |
+*molden-4.7-r1 (24 Jun 2010) |
32 |
+ |
33 |
+ 24 Jun 2010; Justin Lecher <jlec@g.o> +molden-4.7-r1.ebuild, |
34 |
+ +files/molden-4.7-glibc-2.11.patch, +files/molden-4.7-implicit-dec.patch, |
35 |
+ +files/molden-4.7-ldflags.patch, +molden-4.8-r1.ebuild, |
36 |
+ files/molden-4.8-ldflags.patch: |
37 |
+ Fix for glibc-2.11, fix for bug #315595 |
38 |
|
39 |
*molden-4.8 (26 Feb 2010) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 sci-chemistry/molden/molden-4.7-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/molden/molden-4.7-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/molden/molden-4.7-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: molden-4.7-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/molden-4.7-r1.ebuild,v 1.1 2010/06/24 16:03:06 jlec Exp $ |
54 |
|
55 |
EAPI="3" |
56 |
|
57 |
inherit eutils flag-o-matic fortran toolchain-funcs |
58 |
|
59 |
FORTRAN="g77 gfortran" |
60 |
MY_P="${PN}${PV}" |
61 |
|
62 |
DESCRIPTION="Display molecular density from GAMESS-UK, GAMESS-US, GAUSSIAN and Mopac/Ampac." |
63 |
HOMEPAGE="http://www.cmbi.kun.nl/~schaft/molden/molden.html" |
64 |
SRC_URI="ftp://ftp.cmbi.kun.nl/pub/molgraph/${PN}/${MY_P}.tar.gz" |
65 |
|
66 |
LICENSE="as-is" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~ia64 ~x86" |
69 |
IUSE="opengl" |
70 |
|
71 |
RDEPEND=" |
72 |
x11-libs/libXmu |
73 |
opengl? ( |
74 |
virtual/glut |
75 |
virtual/opengl )" |
76 |
DEPEND="${RDEPEND} |
77 |
app-editors/vim" |
78 |
# vim provides ex, which the build system uses (surf/Makefile, at least) |
79 |
|
80 |
S="${WORKDIR}/${MY_P}" |
81 |
|
82 |
src_prepare() { |
83 |
epatch "${FILESDIR}"/${P}-glibc-2.11.patch |
84 |
epatch "${FILESDIR}"/${P}-ldflags.patch |
85 |
epatch "${FILESDIR}"/${P}-implicit-dec.patch |
86 |
sed 's:makedepend:gccmakedep:g' -i surf/Makefile |
87 |
} |
88 |
|
89 |
src_compile() { |
90 |
# Use -mieee on alpha, according to the Makefile |
91 |
use alpha && append-flags -mieee |
92 |
|
93 |
# Honor CC, CFLAGS, FC, and FFLAGS from environment; |
94 |
# unfortunately a bash bug prevents us from doing typeset and |
95 |
# assignment on the same line. |
96 |
typeset -a args |
97 |
args=( CC="$(tc-getCC) ${CFLAGS}" \ |
98 |
FC="${FORTRANC}" LDR="${FORTRANC} ${LDFLAGS}" FFLAGS="${FFLAGS}" ) |
99 |
|
100 |
einfo "Building Molden..." |
101 |
emake -j1 "${args[@]}" || die "molden emake failed" |
102 |
if use opengl ; then |
103 |
einfo "Building Molden OpenGL helper..." |
104 |
emake -j1 "${args[@]}" moldenogl || die "moldenogl emake failed" |
105 |
fi |
106 |
} |
107 |
|
108 |
src_install() { |
109 |
dobin ${PN} g${PN} || die "failed to install molden executable." |
110 |
if use opengl ; then |
111 |
dobin ${PN}ogl || die "failed to install moldenogl." |
112 |
fi |
113 |
|
114 |
dodoc HISTORY README REGISTER || die "failed to install docs." |
115 |
cd doc |
116 |
uncompress * && dodoc * || die "failed to install docs." |
117 |
} |
118 |
|
119 |
|
120 |
|
121 |
1.1 sci-chemistry/molden/molden-4.8-r1.ebuild |
122 |
|
123 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/molden/molden-4.8-r1.ebuild?rev=1.1&view=markup |
124 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/molden/molden-4.8-r1.ebuild?rev=1.1&content-type=text/plain |
125 |
|
126 |
Index: molden-4.8-r1.ebuild |
127 |
=================================================================== |
128 |
# Copyright 1999-2010 Gentoo Foundation |
129 |
# Distributed under the terms of the GNU General Public License v2 |
130 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/molden-4.8-r1.ebuild,v 1.1 2010/06/24 16:03:06 jlec Exp $ |
131 |
|
132 |
EAPI="3" |
133 |
|
134 |
inherit eutils flag-o-matic fortran toolchain-funcs |
135 |
|
136 |
FORTRAN="g77 gfortran" |
137 |
MY_P="${PN}${PV}" |
138 |
|
139 |
DESCRIPTION="Display molecular density from GAMESS-UK, GAMESS-US, GAUSSIAN and Mopac/Ampac." |
140 |
HOMEPAGE="http://www.cmbi.kun.nl/~schaft/molden/molden.html" |
141 |
SRC_URI="ftp://ftp.cmbi.kun.nl/pub/molgraph/${PN}/${MY_P}.tar.gz" |
142 |
|
143 |
LICENSE="as-is" |
144 |
SLOT="0" |
145 |
KEYWORDS="~alpha ~amd64 ~ia64 ~x86" |
146 |
IUSE="opengl" |
147 |
|
148 |
RDEPEND=" |
149 |
x11-libs/libXmu |
150 |
opengl? ( |
151 |
virtual/glut |
152 |
virtual/opengl )" |
153 |
DEPEND="${RDEPEND} |
154 |
app-editors/vim" |
155 |
# vim provides ex, which the build system uses (surf/Makefile, at least) |
156 |
|
157 |
S="${WORKDIR}/${MY_P}" |
158 |
|
159 |
src_prepare() { |
160 |
epatch "${FILESDIR}"/${P}-ambfor.patch |
161 |
epatch "${FILESDIR}"/${P}-overflow.patch |
162 |
epatch "${FILESDIR}"/${P}-ldflags.patch |
163 |
epatch "${FILESDIR}"/${PN}-4.7-implicit-dec.patch |
164 |
sed 's:makedepend:gccmakedep:g' -i surf/Makefile |
165 |
} |
166 |
|
167 |
src_compile() { |
168 |
# Use -mieee on alpha, according to the Makefile |
169 |
use alpha && append-flags -mieee |
170 |
|
171 |
# Honor CC, CFLAGS, FC, and FFLAGS from environment; |
172 |
# unfortunately a bash bug prevents us from doing typeset and |
173 |
# assignment on the same line. |
174 |
typeset -a args |
175 |
args=( CC="$(tc-getCC) ${CFLAGS}" \ |
176 |
FC="${FORTRANC}" LDR="${FORTRANC}" FFLAGS="${FFLAGS}" ) |
177 |
|
178 |
einfo "Building Molden..." |
179 |
emake -j1 "${args[@]}" || die "molden emake failed" |
180 |
if use opengl ; then |
181 |
einfo "Building Molden OpenGL helper..." |
182 |
emake -j1 "${args[@]}" moldenogl || die "moldenogl emake failed" |
183 |
fi |
184 |
} |
185 |
|
186 |
src_install() { |
187 |
dobin ${PN} g${PN} || die "failed to install molden executable." |
188 |
if use opengl ; then |
189 |
dobin ${PN}ogl || die "failed to install moldenogl." |
190 |
fi |
191 |
|
192 |
dodoc HISTORY README REGISTER || die "failed to install docs." |
193 |
cd doc |
194 |
uncompress * && dodoc * || die "failed to install docs." |
195 |
} |