Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/mosflm: ChangeLog mosflm-7.0.7-r1.ebuild mosflm-7.0.6-r2.ebuild
Date: Sat, 28 Apr 2012 07:58:38
Message-Id: 20120428075826.A55E02004B@flycatcher.gentoo.org
1 jlec 12/04/28 07:58:26
2
3 Modified: ChangeLog mosflm-7.0.6-r2.ebuild
4 Added: mosflm-7.0.7-r1.ebuild
5 Log:
6 sci-chemistry/mosflm: Unbundle licbf and libjpeg, fix parallel build, Drop stable ppc keyword due to broken deps
7
8 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.15 sci-chemistry/mosflm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/mosflm/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/mosflm/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/mosflm/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/mosflm/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 7 Sep 2011 15:21:32 -0000 1.14
24 +++ ChangeLog 28 Apr 2012 07:58:26 -0000 1.15
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sci-chemistry/mosflm
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mosflm/ChangeLog,v 1.14 2011/09/07 15:21:32 jlec Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mosflm/ChangeLog,v 1.15 2012/04/28 07:58:26 jlec Exp $
31 +
32 +*mosflm-7.0.7-r1 (28 Apr 2012)
33 +
34 + 28 Apr 2012; Justin Lecher <jlec@g.o> +files/7.0.7-parallel.patch,
35 + mosflm-7.0.6-r2.ebuild, +mosflm-7.0.7-r1.ebuild:
36 + Unbundle licbf and libjpeg, fix parallel build, Drop stable ppc keyword due
37 + to broken deps
38
39 *mosflm-7.0.7 (07 Sep 2011)
40
41
42
43
44 1.11 sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild?rev=1.11&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild?rev=1.11&content-type=text/plain
48 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild?r1=1.10&r2=1.11
49
50 Index: mosflm-7.0.6-r2.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild,v
53 retrieving revision 1.10
54 retrieving revision 1.11
55 diff -u -r1.10 -r1.11
56 --- mosflm-7.0.6-r2.ebuild 19 Jul 2011 19:45:36 -0000 1.10
57 +++ mosflm-7.0.6-r2.ebuild 28 Apr 2012 07:58:26 -0000 1.11
58 @@ -1,6 +1,6 @@
59 -# Copyright 1999-2011 Gentoo Foundation
60 +# Copyright 1999-2012 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild,v 1.10 2011/07/19 19:45:36 maekke Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild,v 1.11 2012/04/28 07:58:26 jlec Exp $
64
65 EAPI="3"
66
67 @@ -15,7 +15,7 @@
68
69 LICENSE="ccp4"
70 SLOT="0"
71 -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
72 +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
73 IUSE=""
74
75 RDEPEND="
76
77
78
79 1.1 sci-chemistry/mosflm/mosflm-7.0.7-r1.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/mosflm/mosflm-7.0.7-r1.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/mosflm/mosflm-7.0.7-r1.ebuild?rev=1.1&content-type=text/plain
83
84 Index: mosflm-7.0.7-r1.ebuild
85 ===================================================================
86 # Copyright 1999-2012 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mosflm/mosflm-7.0.7-r1.ebuild,v 1.1 2012/04/28 07:58:26 jlec Exp $
89
90 EAPI=4
91
92 inherit eutils fortran-2 toolchain-funcs versionator
93
94 MY_PV="$(delete_all_version_separators)"
95 MY_P="${PN}${MY_PV}"
96
97 DESCRIPTION="A program for integrating single crystal diffraction data from area detectors"
98 HOMEPAGE="http://www.mrc-lmb.cam.ac.uk/harry/mosflm/"
99 SRC_URI="${HOMEPAGE}ver${MY_PV}/build-it-yourself/${MY_P}.tgz"
100
101 LICENSE="ccp4"
102 SLOT="0"
103 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
104 IUSE=""
105
106 RDEPEND="
107 virtual/fortran
108 app-shells/tcsh
109 virtual/jpeg
110 sci-libs/cbflib
111 sci-libs/ccp4-libs
112 sys-libs/ncurses
113 x11-libs/libxdl_view"
114 DEPEND="${RDEPEND}"
115
116 S="${WORKDIR}/${MY_P}"
117
118 src_prepare() {
119 sed \
120 -e "s:../cbf/lib/libcbf.a:-lcbf -limg:g" \
121 -e "s:../jpg/libjpeg.a:-ljpeg:g" \
122 -i ${PN}/Makefile || die
123
124 sed \
125 -e '/jinclude.h/d' \
126 -i mosflm/mosflm_jpeg.c || die
127
128 epatch \
129 "${FILESDIR}"/${PV}-parallel.patch \
130 "${FILESDIR}"/7.0.6-impl-dec.patch
131
132 rm -rf test.f {cbf,jpg}/*.{h,c} || die
133 }
134
135 src_compile() {
136 emake \
137 MOSHOME="${S}" \
138 DPS="${S}" \
139 FC=$(tc-getFC) \
140 FLINK=$(tc-getFC) \
141 CC=$(tc-getCC) \
142 AR_FLAGS=vru \
143 MOSLIBS='-lccp4f -lccp4c -lxdl_view -lcurses -lXt -lmmdb -lccif -lstdc++' \
144 MCFLAGS="-O0 -fno-second-underscore" \
145 MOSFLAGS="${FFLAGS} -fno-second-underscore" \
146 FFLAGS="${FFLAGS:- -O2} -fno-second-underscore" \
147 CFLAGS="${CFLAGS}" \
148 MOSCFLAGS="${CFLAGS}" \
149 LFLAGS="${LDFLAGS}"
150 }
151
152 src_install() {
153 exeinto /usr/libexec/ccp4/bin/
154 doexe bin/ipmosflm
155 dosym ../libexec/ccp4/bin/ip${PN} /usr/bin/ip${PN}
156 }