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/rasmol: rasmol-2.7.5.ebuild ChangeLog rasmol-2.7.2.1.1-r1.ebuild
Date: Wed, 03 Feb 2010 22:35:36
Message-Id: E1Ncnoq-0004ij-Ta@stork.gentoo.org
1 jlec 10/02/03 22:35:32
2
3 Modified: ChangeLog rasmol-2.7.2.1.1-r1.ebuild
4 Added: rasmol-2.7.5.ebuild
5 Log:
6 Version bump, fixing 238302
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.14 sci-chemistry/rasmol/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 22 Jul 2007 07:26:04 -0000 1.13
23 +++ ChangeLog 3 Feb 2010 22:35:31 -0000 1.14
24 @@ -1,6 +1,14 @@
25 # ChangeLog for sci-chemistry/rasmol
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/ChangeLog,v 1.13 2007/07/22 07:26:04 dberkholz Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/ChangeLog,v 1.14 2010/02/03 22:35:31 jlec Exp $
30 +
31 +*rasmol-2.7.5 (03 Feb 2010)
32 +
33 + 03 Feb 2010; Justin Lecher (jlec) <jlec@g.o>
34 + +files/2.7.5-bundled-lib.patch, rasmol-2.7.2.1.1-r1.ebuild,
35 + +rasmol-2.7.5.ebuild, +files/ldflags.patch:
36 + Version Bump
37 + Only providing 32bit colordepth gtk interface now
38
39 22 Jul 2007; Donnie Berkholz <dberkholz@g.o>;
40 rasmol-2.7.2.1.1-r1.ebuild:
41
42
43
44 1.7 sci-chemistry/rasmol/rasmol-2.7.2.1.1-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.2.1.1-r1.ebuild?rev=1.7&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.2.1.1-r1.ebuild?rev=1.7&content-type=text/plain
48 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.2.1.1-r1.ebuild?r1=1.6&r2=1.7
49
50 Index: rasmol-2.7.2.1.1-r1.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.2.1.1-r1.ebuild,v
53 retrieving revision 1.6
54 retrieving revision 1.7
55 diff -u -r1.6 -r1.7
56 --- rasmol-2.7.2.1.1-r1.ebuild 22 Jul 2007 07:26:04 -0000 1.6
57 +++ rasmol-2.7.2.1.1-r1.ebuild 3 Feb 2010 22:35:31 -0000 1.7
58 @@ -1,6 +1,6 @@
59 -# Copyright 1999-2007 Gentoo Foundation
60 +# Copyright 1999-2010 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.2.1.1-r1.ebuild,v 1.6 2007/07/22 07:26:04 dberkholz Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.2.1.1-r1.ebuild,v 1.7 2010/02/03 22:35:31 jlec Exp $
64
65 inherit toolchain-funcs
66
67 @@ -28,7 +28,7 @@
68
69 src_unpack() {
70 unpack ${A}
71 - cd ${S}
72 + cd "${S}"
73
74 # Hack required for build
75 cd src
76 @@ -56,7 +56,7 @@
77 }
78
79 src_install () {
80 - newbin ${FILESDIR}/rasmol.sh.debian rasmol
81 + newbin "${FILESDIR}"/rasmol.sh.debian rasmol
82 insinto /usr/lib/${PN}
83 doins doc/rasmol.hlp
84 exeinto /usr/lib/${PN}
85
86
87
88 1.1 sci-chemistry/rasmol/rasmol-2.7.5.ebuild
89
90 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.5.ebuild?rev=1.1&view=markup
91 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.5.ebuild?rev=1.1&content-type=text/plain
92
93 Index: rasmol-2.7.5.ebuild
94 ===================================================================
95 # Copyright 1999-2010 Gentoo Foundation
96 # Distributed under the terms of the GNU General Public License v2
97 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.5.ebuild,v 1.1 2010/02/03 22:35:31 jlec Exp $
98
99 EAPI="3"
100
101 inherit toolchain-funcs eutils
102
103 MY_P="RasMol_${PV}"
104 VERS="23Jul09"
105
106 DESCRIPTION="Molecular Graphics Visualisation Tool"
107 HOMEPAGE="http://www.openrasmol.org/"
108 SRC_URI="http://www.rasmol.org/software/${MY_P}.tar.gz"
109
110 LICENSE="|| ( GPL-2 RASLIC )"
111 SLOT="0"
112 KEYWORDS="~amd64 ~x86"
113 IUSE=""
114
115 RDEPEND="
116 x11-libs/cairo
117 x11-libs/gtk+:2
118 x11-libs/libXext
119 x11-libs/libXi
120 x11-libs/vte
121 >=x11-libs/xforms-1.0.91
122 dev-libs/cvector
123 sci-libs/cbflib
124 sci-libs/cqrlib
125 sci-libs/neartree"
126 DEPEND="${RDEPEND}
127 x11-proto/inputproto
128 x11-proto/xextproto
129 app-text/rman
130 x11-misc/imake"
131
132 S="${WORKDIR}/${P}-${VERS}"
133
134 src_prepare() {
135 cd src
136
137 use amd64 && \
138 mv rasmol.h rasmol_amd64_save.h && \
139 echo "#define _LONGLONG"|cat - rasmol_amd64_save.h > rasmol.h
140
141 mv Imakefile_base Imakefile
142 epatch "${FILESDIR}"/${PV}-bundled-lib.patch
143
144 sed "s:EPREFIX:${EPREFIX}:g" -i Imakefile || die
145
146 xmkmf -DGTKWIN ${myconf}|| die "xmkmf failed with ${myconf}"
147
148 epatch "${FILESDIR}"/ldflags.patch
149 }
150
151 src_compile() {
152 cd src
153 make clean
154 emake \
155 DEPTHDEF=-DTHIRTYTWOBIT \
156 CC="$(tc-getCC)" \
157 CDEBUGFLAGS="${CFLAGS}" \
158 || die "make failed"
159 }
160
161 src_install () {
162 libdir=$(get_libdir)
163 insinto /usr/${libdir}/${PN}
164 doins doc/rasmol.hlp || die
165 dobin src/rasmol || die
166 dodoc PROJECTS {README,TODO}.txt doc/*.{ps,pdf}.gz doc/rasmol.txt.gz || die
167 doman doc/rasmol.1 || die
168 insinto /usr/${libdir}/${PN}/databases
169 doins data/* || die
170
171 dohtml -r *html doc/*.html html_graphics || die
172 }