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: metadata.xml ChangeLog open-vm-tools-0.0.20090318.154848.ebuild
Date: Thu, 04 Jun 2009 13:20:36
Message-Id: E1MCCry-0001Jb-NR@stork.gentoo.org
1 vadimk 09/06/04 13:20:34
2
3 Modified: metadata.xml ChangeLog
4 Added: open-vm-tools-0.0.20090318.154848.ebuild
5 Log:
6 Version bump. Ebuild from overlay.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 app-emulation/open-vm-tools/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/metadata.xml?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/metadata.xml?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/metadata.xml?r1=1.4&r2=1.5
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/metadata.xml,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- metadata.xml 5 Jan 2009 21:35:58 -0000 1.4
23 +++ metadata.xml 4 Jun 2009 13:20:34 -0000 1.5
24 @@ -1,8 +1,18 @@
25 <?xml version="1.0" encoding="UTF-8"?>
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 -<herd>vmware</herd>
29 -<use>
30 - <flag name='unity'>Enable host unity support</flag>
31 -</use>
32 + <herd>vmware</herd>
33 + <maintainer>
34 + <email>vadimk@g.o</email>
35 + </maintainer>
36 + <longdescription>
37 + The Open Virtual Machine Tools (open-vm-tools) are the open source
38 + implementation of VMware Tools. They are a set of guest operating system
39 + virtualization components that enhance performance and user experience
40 + of virtual machines.
41 + </longdescription>
42 + <use>
43 + <flag name='unity'>Enable host unity support</flag>
44 + <flag name='gtkmm'>Enable gtkmm support</flag>
45 + </use>
46 </pkgmetadata>
47
48
49
50 1.16 app-emulation/open-vm-tools/ChangeLog
51
52 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.16&view=markup
53 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.16&content-type=text/plain
54 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?r1=1.15&r2=1.16
55
56 Index: ChangeLog
57 ===================================================================
58 RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v
59 retrieving revision 1.15
60 retrieving revision 1.16
61 diff -u -r1.15 -r1.16
62 --- ChangeLog 8 Feb 2009 20:28:08 -0000 1.15
63 +++ ChangeLog 4 Jun 2009 13:20:34 -0000 1.16
64 @@ -1,6 +1,12 @@
65 # ChangeLog for app-emulation/open-vm-tools
66 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
67 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.15 2009/02/08 20:28:08 ikelos Exp $
68 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.16 2009/06/04 13:20:34 vadimk Exp $
69 +
70 +*open-vm-tools-0.0.20090318.154848 (04 Jun 2009)
71 +
72 + 04 Jun 2009; Vadim Kuznetsov vadimk@g.o
73 + +open-vm-tools-0.0.20090318.154848.ebuild:
74 + Version bump. ebuild from overlay.
75
76 *open-vm-tools-0.0.20090121.142982 (08 Feb 2009)
77
78
79
80
81 1.1 app-emulation/open-vm-tools/open-vm-tools-0.0.20090318.154848.ebuild
82
83 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20090318.154848.ebuild?rev=1.1&view=markup
84 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20090318.154848.ebuild?rev=1.1&content-type=text/plain
85
86 Index: open-vm-tools-0.0.20090318.154848.ebuild
87 ===================================================================
88 # Copyright 1999-2009 Gentoo Foundation
89 # Distributed under the terms of the GNU General Public License v2
90 # $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20090318.154848.ebuild,v 1.1 2009/06/04 13:20:34 vadimk Exp $
91
92 inherit pam eutils linux-mod versionator
93
94 MY_DATE="$(get_version_component_range 3)"
95 MY_BUILD="$(get_version_component_range 4)"
96 MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
97 MY_P="${PN}-${MY_PV}"
98
99 S="${WORKDIR}/${MY_P}"
100
101 DESCRIPTION="Opensourced tools for VMware guests"
102 HOMEPAGE="http://open-vm-tools.sourceforge.net/"
103 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
104
105 LICENSE="LGPL-2"
106 SLOT="0"
107 KEYWORDS="~x86 ~amd64"
108 IUSE="X xinerama icu unity gtkmm"
109 DEPEND="
110 virtual/linux-sources
111 sys-apps/ethtool
112 X? (
113 x11-libs/libX11
114 x11-libs/gtk+
115 )
116 unity? (
117 x11-libs/libXScrnSaver
118 dev-libs/uriparser
119 )
120 xinerama? (
121 x11-libs/libXinerama
122 )
123 gtkmm? (
124 dev-cpp/gtkmm
125 )
126 !app-emulation/vmware-workstation-tools
127 !app-emulation/vmware-server-tools
128 !app-emulation/vmware-esx-tools
129 sys-process/procps
130 dev-libs/libdnet
131 icu? ( dev-libs/icu )
132 "
133
134 RDEPEND="${DEPEND/virtual\/linux\-sources/}
135 virtual/pam
136 X? (
137 x11-base/xorg-server
138 x11-drivers/xf86-video-vmware
139 x11-drivers/xf86-input-vmmouse
140 )
141 unity? (
142 x11-libs/libXScrnSaver
143 dev-libs/uriparser
144 )
145 "
146
147 VMWARE_MOD_DIR="modules/linux"
148 VMWARE_MODULE_LIST="vmblock vmhgfs vmsync vmmemctl vmxnet"
149
150 pkg_setup() {
151 use unity && ! use xinerama && \
152 die 'The Unity USE flag requires USE="xinerama" as well'
153
154 linux-mod_pkg_setup
155 MODULE_NAMES=""
156 BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR}"
157
158 for mod in ${VMWARE_MODULE_LIST};
159 do
160 if [[ "${mod}" == "vmxnet" ]];
161 then
162 MODTARGET="net"
163 else
164 MODTARGET="openvmtools"
165 fi
166 MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
167 done
168
169 enewgroup vmware
170 }
171
172 src_unpack() {
173 unpack ${A}
174 cd "${S}"
175 epatch "${FILESDIR}/default-scripts.patch"
176 }
177
178 src_compile() {
179 econf \
180 --without-kernel-modules \
181 $(use_with icu) \
182 $(use_with X x) \
183 $(use_with gtkmm) \
184 $(use_enable unity) \
185 $(use_enable xinerama multimon) \
186 || die "Error: econf failed!"
187
188 linux-mod_src_compile
189
190 emake || die
191 }
192
193 src_install() {
194
195 linux-mod_src_install
196
197 pamd_mimic_system vmware-guestd auth account
198
199 emake install DESTDIR="${D}" || die "Failed to install"
200
201 newinitd "${FILESDIR}/open-vm.initd" vmware-tools
202 newconfd "${FILESDIR}/open-vm.confd" vmware-tools
203
204 if use X;
205 then
206 insinto /etc/xdg/autostart
207 doins "${FILESDIR}/open-vm-tools.desktop"
208
209 elog "To be able to use the drag'n'drop feature of VMware for file"
210 elog "exchange, you need to do this:"
211 elog " Add 'vmware-tools' to your default runlevel"
212 elog " Add the users which should have access to this function"
213 elog " to the group 'vmware'"
214 fi
215 }