Gentoo Archives: gentoo-commits

From: "Vadim Kuznetsov (vadimk)" <vadimk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/open-vm-tools: open-vm-tools-0.0.20110124.354108.ebuild ChangeLog open-vm-tools-0.0.20101219.339835-r1.ebuild open-vm-tools-0.0.20101219.339835.ebuild
Date: Sun, 06 Feb 2011 13:53:21
Message-Id: 20110206135305.EBA3420054@flycatcher.gentoo.org
1 vadimk 11/02/06 13:53:05
2
3 Modified: ChangeLog
4 Added: open-vm-tools-0.0.20110124.354108.ebuild
5 open-vm-tools-0.0.20101219.339835-r1.ebuild
6 Removed: open-vm-tools-0.0.20101219.339835.ebuild
7 Log:
8 Version bump, Bug 352879, jobserver fix
9
10 (Portage version: 2.1.9.36/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.43 app-emulation/open-vm-tools/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.43&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.43&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?r1=1.42&r2=1.43
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v
22 retrieving revision 1.42
23 retrieving revision 1.43
24 diff -u -r1.42 -r1.43
25 --- ChangeLog 18 Jan 2011 19:23:05 -0000 1.42
26 +++ ChangeLog 6 Feb 2011 13:53:05 -0000 1.43
27 @@ -1,6 +1,15 @@
28 # ChangeLog for app-emulation/open-vm-tools
29 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.42 2011/01/18 19:23:05 vadimk Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.43 2011/02/06 13:53:05 vadimk Exp $
32 +
33 +*open-vm-tools-0.0.20110124.354108 (06 Feb 2011)
34 +*open-vm-tools-0.0.20101219.339835-r1 (06 Feb 2011)
35 +
36 + 06 Feb 2011; Vadim Kuznetsov <vadimk@g.o>
37 + -open-vm-tools-0.0.20101219.339835.ebuild,
38 + +open-vm-tools-0.0.20101219.339835-r1.ebuild,
39 + +open-vm-tools-0.0.20110124.354108.ebuild:
40 + Version bump, Bug 352879, jobserver fix
41
42 *open-vm-tools-0.0.20101219.339835 (18 Jan 2011)
43
44
45
46
47 1.1 app-emulation/open-vm-tools/open-vm-tools-0.0.20110124.354108.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20110124.354108.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20110124.354108.ebuild?rev=1.1&content-type=text/plain
51
52 Index: open-vm-tools-0.0.20110124.354108.ebuild
53 ===================================================================
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20110124.354108.ebuild,v 1.1 2011/02/06 13:53:05 vadimk Exp $
57
58 EAPI="2"
59
60 inherit eutils pam versionator
61
62 MY_DATE="$(get_version_component_range 3)"
63 MY_BUILD="$(get_version_component_range 4)"
64 MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
65 MY_P="${PN}-${MY_PV}"
66
67 DESCRIPTION="Opensourced tools for VMware guests"
68 HOMEPAGE="http://open-vm-tools.sourceforge.net/"
69 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
70
71 LICENSE="LGPL-2"
72 SLOT="0"
73 KEYWORDS="~amd64 ~x86"
74 IUSE="X doc fuse icu +pic unity xinerama"
75
76 RDEPEND="app-emulation/open-vm-tools-kmod
77 >=dev-libs/glib-2
78 dev-libs/libdnet
79 sys-apps/ethtool
80 sys-process/procps
81 virtual/pam
82 X? (
83 dev-cpp/gtkmm
84 x11-base/xorg-server
85 x11-drivers/xf86-input-vmmouse
86 x11-drivers/xf86-video-vmware
87 x11-libs/gtk+
88 x11-libs/libnotify
89 x11-libs/libX11
90 x11-libs/libXtst
91 )
92 fuse? ( sys-fs/fuse )
93 icu? ( dev-libs/icu )
94 unity? (
95 dev-libs/uriparser
96 media-libs/libpng
97 x11-libs/libXScrnSaver
98 )
99 xinerama? ( x11-libs/libXinerama )
100 "
101
102 DEPEND="${RDEPEND}
103 doc? ( app-doc/doxygen )
104 dev-util/pkgconfig
105 virtual/linux-sources
106 sys-apps/findutils
107 "
108
109 S="${WORKDIR}/${MY_P}"
110
111 pkg_setup() {
112 use unity && ! use X && die 'The Unity USE flag requires "X" USE flag as well'
113 use unity && ! use xinerama && die 'The Unity USE flag requires xinerame USE="xinerama" as well'
114
115 enewgroup vmware
116 }
117
118 src_prepare() {
119 epatch "${FILESDIR}/default-scripts.patch"
120 #epatch "${FILESDIR}/checkvm-pie-safety.patch"
121 #sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure failed"
122 # Do not filter out Werror
123 # Upstream Bug http://sourceforge.net/tracker/?func=detail&aid=2959749&group_id=204462&atid=989708
124 # sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
125 sed -i -e 's:\(TEST_PLUGIN_INSTALLDIR=\).*:\1\$libdir/open-vm-tools/plugins/tests:g' configure || die "sed test_plugin_installdir failed"
126 }
127
128 src_configure() {
129 econf \
130 --with-procps \
131 --with-dnet \
132 --without-kernel-modules \
133 $(use_enable doc docs) \
134 --docdir=/usr/share/doc/${PF} \
135 $(use_with X x) \
136 $(use_with X gtk2) \
137 $(use_with X gtkmm) \
138 $(use_with icu) \
139 $(use_with pic) \
140 $(use_enable unity) \
141 $(use_enable xinerama multimon)
142
143 # Bugs 260878, 326761
144 find ./ -name Makefile | xargs sed -i -e 's/-Werror//g' || die "sed out Werror failed"
145 }
146
147 src_compile() {
148 emake || die "failed to compile"
149 }
150
151 src_install() {
152 emake DESTDIR="${D}" install || die "failed to install"
153
154 rm "${D}"/etc/pam.d/vmtoolsd
155 pamd_mimic_system vmtoolsd auth account
156
157 rm "${D}"/usr/$(get_libdir)/*.la
158 rm "${D}"/usr/$(get_libdir)/open-vm-tools/plugins/common/*.la
159
160 newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools || die "failed to newinitd"
161 newconfd "${FILESDIR}/open-vm.confd" vmware-tools || die "failed to newconfd"
162
163 if use X;
164 then
165 dobin "${S}"/scripts/common/vmware-xdg-detect-de
166
167 insinto /etc/xdg/autostart
168 doins "${FILESDIR}/open-vm-tools.desktop" || die "failed to install .desktop"
169
170 elog "To be able to use the drag'n'drop feature of VMware for file"
171 elog "exchange, you need to do this:"
172 elog " Add 'vmware-tools' to your default runlevel."
173 elog " Add the users which should have access to this function"
174 elog " to the group 'vmware'."
175 fi
176 }
177
178
179
180 1.1 app-emulation/open-vm-tools/open-vm-tools-0.0.20101219.339835-r1.ebuild
181
182 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20101219.339835-r1.ebuild?rev=1.1&view=markup
183 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20101219.339835-r1.ebuild?rev=1.1&content-type=text/plain
184
185 Index: open-vm-tools-0.0.20101219.339835-r1.ebuild
186 ===================================================================
187 # Copyright 1999-2011 Gentoo Foundation
188 # Distributed under the terms of the GNU General Public License v2
189 # $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20101219.339835-r1.ebuild,v 1.1 2011/02/06 13:53:05 vadimk Exp $
190
191 EAPI="2"
192
193 inherit eutils pam versionator
194
195 MY_DATE="$(get_version_component_range 3)"
196 MY_BUILD="$(get_version_component_range 4)"
197 MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
198 MY_P="${PN}-${MY_PV}"
199
200 DESCRIPTION="Opensourced tools for VMware guests"
201 HOMEPAGE="http://open-vm-tools.sourceforge.net/"
202 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
203
204 LICENSE="LGPL-2"
205 SLOT="0"
206 KEYWORDS="~amd64 ~x86"
207 IUSE="X doc fuse icu +pic unity xinerama"
208
209 RDEPEND="app-emulation/open-vm-tools-kmod
210 >=dev-libs/glib-2
211 dev-libs/libdnet
212 sys-apps/ethtool
213 sys-process/procps
214 virtual/pam
215 X? (
216 dev-cpp/gtkmm
217 x11-base/xorg-server
218 x11-drivers/xf86-input-vmmouse
219 x11-drivers/xf86-video-vmware
220 x11-libs/gtk+
221 x11-libs/libnotify
222 x11-libs/libX11
223 x11-libs/libXtst
224 )
225 fuse? ( sys-fs/fuse )
226 icu? ( dev-libs/icu )
227 unity? (
228 dev-libs/uriparser
229 media-libs/libpng
230 x11-libs/libXScrnSaver
231 )
232 xinerama? ( x11-libs/libXinerama )
233 "
234
235 DEPEND="${RDEPEND}
236 doc? ( app-doc/doxygen )
237 dev-util/pkgconfig
238 virtual/linux-sources
239 sys-apps/findutils
240 "
241
242 S="${WORKDIR}/${MY_P}"
243
244 pkg_setup() {
245 use unity && ! use X && die 'The Unity USE flag requires "X" USE flag as well'
246 use unity && ! use xinerama && die 'The Unity USE flag requires xinerame USE="xinerama" as well'
247
248 enewgroup vmware
249 }
250
251 src_prepare() {
252 epatch "${FILESDIR}/default-scripts.patch"
253 #epatch "${FILESDIR}/checkvm-pie-safety.patch"
254 #sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure failed"
255 # Do not filter out Werror
256 # Upstream Bug http://sourceforge.net/tracker/?func=detail&aid=2959749&group_id=204462&atid=989708
257 # sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
258 sed -i -e 's:\(TEST_PLUGIN_INSTALLDIR=\).*:\1\$libdir/open-vm-tools/plugins/tests:g' configure || die "sed test_plugin_installdir failed"
259 }
260
261 src_configure() {
262 econf \
263 --with-procps \
264 --with-dnet \
265 --without-kernel-modules \
266 $(use_enable doc docs) \
267 --docdir=/usr/share/doc/${PF} \
268 $(use_with X x) \
269 $(use_with X gtk2) \
270 $(use_with X gtkmm) \
271 $(use_with icu) \
272 $(use_with pic) \
273 $(use_enable unity) \
274 $(use_enable xinerama multimon)
275
276 # Bugs 260878, 326761
277 find ./ -name Makefile | xargs sed -i -e 's/-Werror//g' || die "sed out Werror failed"
278 }
279
280 src_compile() {
281 emake || die "failed to compile"
282 }
283
284 src_install() {
285 emake DESTDIR="${D}" install || die "failed to install"
286
287 rm "${D}"/etc/pam.d/vmtoolsd
288 pamd_mimic_system vmtoolsd auth account
289
290 rm "${D}"/usr/$(get_libdir)/*.la
291 rm "${D}"/usr/$(get_libdir)/open-vm-tools/plugins/common/*.la
292
293 newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools || die "failed to newinitd"
294 newconfd "${FILESDIR}/open-vm.confd" vmware-tools || die "failed to newconfd"
295
296 if use X;
297 then
298 dobin "${S}"/scripts/common/vmware-xdg-detect-de
299
300 insinto /etc/xdg/autostart
301 doins "${FILESDIR}/open-vm-tools.desktop" || die "failed to install .desktop"
302
303 elog "To be able to use the drag'n'drop feature of VMware for file"
304 elog "exchange, you need to do this:"
305 elog " Add 'vmware-tools' to your default runlevel."
306 elog " Add the users which should have access to this function"
307 elog " to the group 'vmware'."
308 fi
309 }