Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/icm: metadata.xml ChangeLog icm-3.7.2b.ebuild icm-3.6.1i.ebuild
Date: Tue, 12 Jul 2011 21:56:25
Message-Id: 20110712215615.8ACB92004B@flycatcher.gentoo.org
1 alexxy 11/07/12 21:56:15
2
3 Modified: metadata.xml ChangeLog
4 Added: icm-3.7.2b.ebuild
5 Removed: icm-3.6.1i.ebuild
6 Log:
7 [sci-chemistry/icm] Version bump. Also fix to bugs #370917 #372159
8
9 (Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.2 sci-chemistry/icm/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/icm/metadata.xml?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/icm/metadata.xml?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/icm/metadata.xml?r1=1.1&r2=1.2
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/icm/metadata.xml,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- metadata.xml 5 Nov 2009 20:59:05 -0000 1.1
25 +++ metadata.xml 12 Jul 2011 21:56:15 -0000 1.2
26 @@ -1,9 +1,13 @@
27 <?xml version="1.0" encoding="UTF-8"?>
28 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
29 <pkgmetadata>
30 -<herd>sci-chemistry</herd>
31 -<maintainer>
32 - <email>alexxy@g.o</email>
33 - <name>Alexey Shvetsov</name>
34 -</maintainer>
35 + <herd>sci-chemistry</herd>
36 + <maintainer>
37 + <email>alexxy@g.o</email>
38 + <name>Alexey Shvetsov</name>
39 + </maintainer>
40 + <use>
41 + <flag name="32bit">Automatically generated description for 32bit</flag>
42 + <flag name="64bit">Automatically generated description for 64bit</flag>
43 + </use>
44 </pkgmetadata>
45
46
47
48 1.5 sci-chemistry/icm/ChangeLog
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/icm/ChangeLog?rev=1.5&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/icm/ChangeLog?rev=1.5&content-type=text/plain
52 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/icm/ChangeLog?r1=1.4&r2=1.5
53
54 Index: ChangeLog
55 ===================================================================
56 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/icm/ChangeLog,v
57 retrieving revision 1.4
58 retrieving revision 1.5
59 diff -u -r1.4 -r1.5
60 --- ChangeLog 21 May 2010 12:36:43 -0000 1.4
61 +++ ChangeLog 12 Jul 2011 21:56:15 -0000 1.5
62 @@ -1,6 +1,12 @@
63 # ChangeLog for sci-chemistry/icm
64 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
65 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/icm/ChangeLog,v 1.4 2010/05/21 12:36:43 alexxy Exp $
66 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
67 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/icm/ChangeLog,v 1.5 2011/07/12 21:56:15 alexxy Exp $
68 +
69 +*icm-3.7.2b (12 Jul 2011)
70 +
71 + 12 Jul 2011; Alexey Shvetsov <alexxy@g.o> -icm-3.6.1i.ebuild,
72 + +icm-3.7.2b.ebuild, +files/icm.xpm, -files/icm.png, metadata.xml:
73 + Version bump. Also fix to bugs #370917 #372159
74
75 *icm-3.6.1i (21 May 2010)
76
77
78
79
80 1.1 sci-chemistry/icm/icm-3.7.2b.ebuild
81
82 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/icm/icm-3.7.2b.ebuild?rev=1.1&view=markup
83 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/icm/icm-3.7.2b.ebuild?rev=1.1&content-type=text/plain
84
85 Index: icm-3.7.2b.ebuild
86 ===================================================================
87 # Copyright 1999-2011 Gentoo Foundation
88 # Distributed under the terms of the GNU General Public License v2
89 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/icm/icm-3.7.2b.ebuild,v 1.1 2011/07/12 21:56:15 alexxy Exp $
90
91 EAPI="4"
92
93 inherit eutils versionator
94
95 MY_PV=$(replace_version_separator 2 '-' )
96 MY_P="$PN-${MY_PV}"
97
98 DESCRIPTION="MolSoft LCC ICM Pro"
99 HOMEPAGE="http://www.molsoft.com/icm_pro.html"
100 SRC_URI="${MY_P}-linux.sh"
101
102 LICENSE="MolSoft"
103 SLOT="0"
104 KEYWORDS="~amd64 ~x86"
105 IUSE="32bit 64bit"
106
107 REQUIRED_USE="^^ (
108 ( !32bit 64bit )
109 ( 32bit !64bit )
110 ( 32bit 64bit )
111 )"
112
113 RESTRICT="fetch"
114
115 DEPEND="!sci-chemistry/icm-browser
116 app-arch/unzip
117 amd64? (
118 64bit? (
119 media-libs/tiff-compat:3
120 media-libs/libmng
121 app-crypt/mit-krb5
122 app-arch/bzip2
123 media-libs/libpng:1.2
124 media-libs/jpeg:62
125 x11-libs/libdrm
126 x11-libs/libX11
127 sys-apps/keyutils
128 )
129 32bit? (
130 app-emulation/emul-linux-x86-compat
131 app-emulation/emul-linux-x86-xlibs
132 )
133 )
134 x86? (
135 media-libs/tiff-compat:3
136 media-libs/libpng:1.2
137 media-libs/libmng
138 app-crypt/mit-krb5
139 app-arch/bzip2
140 x11-libs/libdrm
141 x11-libs/libX11
142 sys-apps/keyutils
143 )"
144 RDEPEND="$DEPEND"
145
146 S="${WORKDIR}"
147
148 pkg_nofetch() {
149 einfo "Please download ${SRC_URI} from "
150 einfo "${HOMEPAGE}"
151 einfo "and move it to ${DISTDIR}"
152 }
153
154 src_unpack() {
155 unpack_makeself
156 unpack ./data.tgz
157 rm ./data.tgz
158 }
159
160 src_install () {
161 instdir=/opt/icm
162 dodir "${instdir}"
163 dodir "${instdir}/licenses"
164 cp -pPR * "${D}/${instdir}"
165 rm "${D}/${instdir}/unzip"
166 doenvd "${FILESDIR}/90icm" || die
167 if use x86; then
168 dosym "${instdir}/icm" /opt/bin/icm || die
169 rm "${D}/${instdir}/icm64" || die
170 elif use amd64; then
171 if use 32bit; then
172 dosym "${instdir}/icm" /opt/bin/icm || die
173 fi
174 if use 64bit; then
175 dosym "${instdir}/icm64" /opt/bin/icm64 || die
176 fi
177 if ! use 64bit; then
178 rm "${D}/${instdir}/icm64" || die
179 fi
180 if ! use 32bit; then
181 rm "${D}/${instdir}/icm" || die
182 fi
183 fi
184 dosym "${instdir}/txdoc" /opt/bin/txdoc || die
185 dosym "${instdir}/lmhostid" /opt/bin/lmhostid || die
186 # make desktop entry
187 doicon "${FILESDIR}/${PN}.xpm"
188 if use x86; then
189 make_desktop_entry "icm -g" "ICM Pro" ${PN} Chemistry
190 elif use amd64; then
191 use 32bit && make_desktop_entry "icm -g" "ICM Pro (32bit)" ${PN} Chemistry
192 use 64bit && make_desktop_entry "icm64 -g" "ICM Pro (64bit)" ${PN} Chemistry
193 fi
194 }
195
196 pkg_postinst () {
197 einfo
198 einfo "Documentation can be found in ${instdir}/man/"
199 einfo
200 einfo "You will need to place your license in ${instdir}/licenses/"
201 einfo
202
203 }