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