1 |
jlec 11/02/27 10:40:36 |
2 |
|
3 |
Modified: raster3d-2.7c.ebuild ChangeLog metadata.xml |
4 |
Added: raster3d-3.0.2.ebuild |
5 |
Log: |
6 |
Version BUmp |
7 |
|
8 |
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.12 sci-chemistry/raster3d/raster3d-2.7c.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/raster3d/raster3d-2.7c.ebuild?rev=1.12&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/raster3d/raster3d-2.7c.ebuild?rev=1.12&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/raster3d/raster3d-2.7c.ebuild?r1=1.11&r2=1.12 |
16 |
|
17 |
Index: raster3d-2.7c.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/raster3d-2.7c.ebuild,v |
20 |
retrieving revision 1.11 |
21 |
retrieving revision 1.12 |
22 |
diff -u -r1.11 -r1.12 |
23 |
--- raster3d-2.7c.ebuild 16 Dec 2010 13:55:41 -0000 1.11 |
24 |
+++ raster3d-2.7c.ebuild 27 Feb 2011 10:40:36 -0000 1.12 |
25 |
@@ -1,24 +1,24 @@ |
26 |
-# Copyright 1999-2010 Gentoo Foundation |
27 |
+# Copyright 1999-2011 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/raster3d-2.7c.ebuild,v 1.11 2010/12/16 13:55:41 jlec Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/raster3d-2.7c.ebuild,v 1.12 2011/02/27 10:40:36 jlec Exp $ |
31 |
|
32 |
inherit toolchain-funcs |
33 |
|
34 |
NAME="Raster3D" |
35 |
|
36 |
-DESCRIPTION="a set of tools for generating high quality raster images of proteins or other molecules" |
37 |
-LICENSE="as-is" |
38 |
+DESCRIPTION="A set of tools for generating high quality raster images of proteins or other molecules" |
39 |
HOMEPAGE="http://www.bmsc.washington.edu/raster3d/raster3d.html" |
40 |
SRC_URI="http://www.bmsc.washington.edu/${PN}/${NAME}_${PV}.tar.gz" |
41 |
|
42 |
+LICENSE="as-is" |
43 |
SLOT="0" |
44 |
IUSE="" |
45 |
KEYWORDS="ppc x86" |
46 |
|
47 |
-RDEPEND="virtual/jpeg |
48 |
+RDEPEND=" |
49 |
+ virtual/jpeg |
50 |
media-libs/libpng |
51 |
media-libs/tiff" |
52 |
- |
53 |
DEPEND="${RDEPEND} |
54 |
x11-misc/imake" |
55 |
|
56 |
|
57 |
|
58 |
|
59 |
1.23 sci-chemistry/raster3d/ChangeLog |
60 |
|
61 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/raster3d/ChangeLog?rev=1.23&view=markup |
62 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/raster3d/ChangeLog?rev=1.23&content-type=text/plain |
63 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/raster3d/ChangeLog?r1=1.22&r2=1.23 |
64 |
|
65 |
Index: ChangeLog |
66 |
=================================================================== |
67 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/ChangeLog,v |
68 |
retrieving revision 1.22 |
69 |
retrieving revision 1.23 |
70 |
diff -u -r1.22 -r1.23 |
71 |
--- ChangeLog 17 Dec 2010 07:57:02 -0000 1.22 |
72 |
+++ ChangeLog 27 Feb 2011 10:40:36 -0000 1.23 |
73 |
@@ -1,6 +1,13 @@ |
74 |
# ChangeLog for sci-chemistry/raster3d |
75 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
76 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/ChangeLog,v 1.22 2010/12/17 07:57:02 jlec Exp $ |
77 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
78 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/ChangeLog,v 1.23 2011/02/27 10:40:36 jlec Exp $ |
79 |
+ |
80 |
+*raster3d-3.0.2 (27 Feb 2011) |
81 |
+ |
82 |
+ 27 Feb 2011; Justin Lecher <jlec@g.o> +files/3.0.2-as-needed.patch, |
83 |
+ +files/3.0.2-gentoo-prefix.patch, raster3d-2.7c.ebuild, |
84 |
+ +raster3d-3.0.2.ebuild, metadata.xml: |
85 |
+ Version BUmp |
86 |
|
87 |
17 Dec 2010; Justin Lecher <jlec@g.o> raster3d-2.9.2.ebuild: |
88 |
Fix for fortran.eclass removal |
89 |
|
90 |
|
91 |
|
92 |
1.4 sci-chemistry/raster3d/metadata.xml |
93 |
|
94 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/raster3d/metadata.xml?rev=1.4&view=markup |
95 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/raster3d/metadata.xml?rev=1.4&content-type=text/plain |
96 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/raster3d/metadata.xml?r1=1.3&r2=1.4 |
97 |
|
98 |
Index: metadata.xml |
99 |
=================================================================== |
100 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/metadata.xml,v |
101 |
retrieving revision 1.3 |
102 |
retrieving revision 1.4 |
103 |
diff -u -r1.3 -r1.4 |
104 |
--- metadata.xml 28 Mar 2010 10:27:42 -0000 1.3 |
105 |
+++ metadata.xml 27 Feb 2011 10:40:36 -0000 1.4 |
106 |
@@ -5,4 +5,8 @@ |
107 |
<upstream> |
108 |
<changelog>http://skuld.bmsc.washington.edu/raster3d/CHANGELOG</changelog> |
109 |
</upstream> |
110 |
+<use> |
111 |
+ <flag name='gd'>libgd support for PNG and JPEG output</flag> |
112 |
+</use> |
113 |
+ |
114 |
</pkgmetadata> |
115 |
|
116 |
|
117 |
|
118 |
1.1 sci-chemistry/raster3d/raster3d-3.0.2.ebuild |
119 |
|
120 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/raster3d/raster3d-3.0.2.ebuild?rev=1.1&view=markup |
121 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/raster3d/raster3d-3.0.2.ebuild?rev=1.1&content-type=text/plain |
122 |
|
123 |
Index: raster3d-3.0.2.ebuild |
124 |
=================================================================== |
125 |
# Copyright 1999-2011 Gentoo Foundation |
126 |
# Distributed under the terms of the GNU General Public License v2 |
127 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/raster3d-3.0.2.ebuild,v 1.1 2011/02/27 10:40:36 jlec Exp $ |
128 |
|
129 |
EAPI="4" |
130 |
|
131 |
inherit flag-o-matic multilib toolchain-funcs versionator prefix |
132 |
|
133 |
MY_PN="Raster3D" |
134 |
MY_PV=$(replace_version_separator 2 -) |
135 |
MY_P="${MY_PN}_${MY_PV}" |
136 |
|
137 |
DESCRIPTION="A set of tools for generating high quality raster images of proteins or other molecules" |
138 |
HOMEPAGE="http://www.bmsc.washington.edu/raster3d/raster3d.html" |
139 |
SRC_URI="http://www.bmsc.washington.edu/${PN}/${MY_P}.tar.gz -> ${MY_P}.tar" |
140 |
|
141 |
LICENSE="as-is" |
142 |
SLOT="0" |
143 |
IUSE="gd tiff" |
144 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
145 |
|
146 |
RDEPEND=" |
147 |
tiff? ( media-libs/tiff ) |
148 |
gd? ( media-libs/gd[jpeg,png] )" |
149 |
DEPEND="${RDEPEND}" |
150 |
|
151 |
S="${WORKDIR}/${MY_P}" |
152 |
|
153 |
src_prepare() { |
154 |
epatch \ |
155 |
"${FILESDIR}"/${PV}-as-needed.patch \ |
156 |
"${FILESDIR}"/${PV}-gentoo-prefix.patch |
157 |
|
158 |
sed \ |
159 |
-e "s:MYPF:${PF}:" \ |
160 |
-e "s:MYLIB:$(get_libdir):g" \ |
161 |
-i Makefile.template || \ |
162 |
die "Failed to patch makefile.template" |
163 |
|
164 |
if ! use gd; then |
165 |
sed \ |
166 |
-e "/GDLIBS/s:^:#:g" \ |
167 |
-e "/GDDEFS/s:^:#:g" \ |
168 |
-i Makefile.template || die |
169 |
fi |
170 |
|
171 |
if ! use tiff; then |
172 |
sed \ |
173 |
-e "/TLIBS/s:^:#:g" \ |
174 |
-e "/TDEFS/s:^:#:g" \ |
175 |
-i Makefile.template || die |
176 |
fi |
177 |
|
178 |
if [[ $(tc-getFC) =~ gfortran ]]; then |
179 |
append-cflags -Dgfortran |
180 |
fi |
181 |
|
182 |
append-fflags -ffixed-line-length-132 |
183 |
|
184 |
eprefixify Makefile.template |
185 |
cp Makefile.template Makefile.incl || die |
186 |
} |
187 |
|
188 |
src_compile() { |
189 |
local target |
190 |
local i |
191 |
|
192 |
if [[ $(tc-getFC) =~ gfortran ]]; then |
193 |
target="linux" |
194 |
else |
195 |
target="linux-$(tc-getFC)" |
196 |
fi |
197 |
|
198 |
for i in ${target} all; do |
199 |
emake \ |
200 |
CFLAGS="${CFLAGS}" \ |
201 |
LDFLAGS="${LDFLAGS}" \ |
202 |
FFLAGS="${FFLAGS}" \ |
203 |
CC="$(tc-getCC)"\ |
204 |
FC="$(tc-getFC)" \ |
205 |
INCDIRS="-I${EPREFIX}/usr/include" \ |
206 |
LIBDIRS="-L${EPREFIX}/usr/$(get_libdir)" \ |
207 |
${i} |
208 |
done |
209 |
} |
210 |
|
211 |
src_install() { |
212 |
emake prefix="${ED}"/usr \ |
213 |
bindir="${ED}"/usr/bin \ |
214 |
datadir="${ED}"/usr/share/Raster3D/materials \ |
215 |
mandir="${ED}"/usr/share/man/man1 \ |
216 |
htmldir="${ED}"/usr/share/doc/${PF}/html \ |
217 |
examdir="${ED}"/usr/share/Raster3D/examples \ |
218 |
install |
219 |
|
220 |
dodir /etc/env.d |
221 |
echo -e "R3D_LIB=${EPREFIX}/usr/share/${NAME}/materials" > \ |
222 |
"${ED}"/etc/env.d/10raster3d || \ |
223 |
die "Failed to install env file." |
224 |
} |
225 |
|
226 |
pkg_postinst() { |
227 |
elog "Add following line:" |
228 |
elog "<delegate decode=\"r3d\" command='\"render\" < \"%i\" > \"%o\"' />" |
229 |
elog "to ${EPREFIX}/usr/$(get_libdir)/ImageMagick-6.5.8/config/delegates.xml" |
230 |
elog "to make imagemagick use raster3d for .r3d files" |
231 |
} |