Gentoo Archives: gentoo-commits

From: "Mike Auty (ikelos)" <ikelos@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.20081223.137496.ebuild open-vm-tools-0.0.20080123.74039.ebuild open-vm-tools-0.0.20080414.87182.ebuild
Date: Wed, 31 Dec 2008 00:39:42
Message-Id: E1LHp7b-0003er-Ir@stork.gentoo.org
1 ikelos 08/12/31 00:39:39
2
3 Modified: ChangeLog
4 Added: open-vm-tools-0.0.20081223.137496.ebuild
5 Removed: open-vm-tools-0.0.20080123.74039.ebuild
6 open-vm-tools-0.0.20080414.87182.ebuild
7 Log:
8 Version bump, builds with 2.6.27+ and fixes unity/xinerama issue (bug 249293 and bug 247324).
9 (Portage version: 2.2_rc20/cvs/Linux 2.6.28 i686)
10
11 Revision Changes Path
12 1.12 app-emulation/open-vm-tools/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.12&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.12&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?r1=1.11&r2=1.12
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v
21 retrieving revision 1.11
22 retrieving revision 1.12
23 diff -u -r1.11 -r1.12
24 --- ChangeLog 19 Nov 2008 01:34:12 -0000 1.11
25 +++ ChangeLog 31 Dec 2008 00:39:39 -0000 1.12
26 @@ -1,6 +1,15 @@
27 # ChangeLog for app-emulation/open-vm-tools
28 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.11 2008/11/19 01:34:12 ikelos Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.12 2008/12/31 00:39:39 ikelos Exp $
31 +
32 +*open-vm-tools-0.0.20081223.137496 (31 Dec 2008)
33 +
34 + 31 Dec 2008; Mike Auty <ikelos@g.o>
35 + -open-vm-tools-0.0.20080123.74039.ebuild,
36 + -open-vm-tools-0.0.20080414.87182.ebuild,
37 + +open-vm-tools-0.0.20081223.137496.ebuild:
38 + Version bump, builds with 2.6.27+ and fixes unity/xinerama issue (bug
39 + 249293 and bug 247324).
40
41 19 Nov 2008; Mike Auty <ikelos@g.o>
42 open-vm-tools-0.0.20080808.109361-r1.ebuild:
43
44
45
46 1.1 app-emulation/open-vm-tools/open-vm-tools-0.0.20081223.137496.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20081223.137496.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20081223.137496.ebuild?rev=1.1&content-type=text/plain
50
51 Index: open-vm-tools-0.0.20081223.137496.ebuild
52 ===================================================================
53 # Copyright 1999-2008 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20081223.137496.ebuild,v 1.1 2008/12/31 00:39:39 ikelos Exp $
56
57 inherit pam eutils linux-mod versionator
58
59 MY_DATE="$(get_version_component_range 3)"
60 MY_BUILD="$(get_version_component_range 4)"
61 MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
62 MY_P="${PN}-${MY_PV}"
63
64 S="${WORKDIR}/${MY_P}"
65
66 DESCRIPTION="Opensourced tools for VMware guests"
67 HOMEPAGE="http://open-vm-tools.sourceforge.net/"
68 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
69
70 LICENSE="LGPL-2"
71 SLOT="0"
72 KEYWORDS="~x86 ~amd64"
73 IUSE="X xinerama icu unity"
74 DEPEND="
75 virtual/linux-sources
76 sys-apps/ethtool
77 X? (
78 x11-libs/libX11
79 x11-libs/gtk+
80 )
81 unity? (
82 x11-libs/libXScrnSaver
83 dev-libs/uriparser
84 )
85 xinerama? (
86 x11-libs/libXinerama
87 )
88 !app-emulation/vmware-workstation-tools
89 !app-emulation/vmware-server-tools
90 !app-emulation/vmware-esx-tools
91 sys-process/procps
92 dev-libs/libdnet
93 icu? ( dev-libs/icu )
94 "
95
96 RDEPEND="${DEPEND/virtual\/linux\-sources/}
97 virtual/pam
98 X? (
99 x11-base/xorg-server
100 x11-drivers/xf86-video-vmware
101 x11-drivers/xf86-input-vmmouse
102 )
103 unity? (
104 x11-libs/libXScrnSaver
105 dev-libs/uriparser
106 )
107 "
108
109 VMWARE_MOD_DIR="modules/linux"
110 VMWARE_MODULE_LIST="vmblock vmhgfs vmsync vmmemctl vmxnet"
111
112 pkg_setup() {
113 use unity && ! use xinerama && \
114 die 'The Unity USE flag requires USE="xinerama" as well'
115
116 linux-mod_pkg_setup
117 MODULE_NAMES=""
118 BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR}"
119
120 for mod in ${VMWARE_MODULE_LIST};
121 do
122 if [[ "${mod}" == "vmxnet" ]];
123 then
124 MODTARGET="net"
125 else
126 MODTARGET="openvmtools"
127 fi
128 MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
129 done
130
131 ewarn "If you're compiling with a hardened toolchain, please use the"
132 ewarn "hardenednopie gcc profile (see bug #200376, comment 18)."
133
134 enewgroup vmware
135 }
136
137 src_unpack() {
138 unpack ${A}
139 cd "${S}"
140 epatch "${FILESDIR}/default-scripts.patch"
141 }
142
143 src_compile() {
144 econf \
145 --without-kernel-modules \
146 $(use_with icu) \
147 $(use_with X x) \
148 $(use_enable unity) \
149 $(use_enable xinerama multimon) \
150 || die "Error: econf failed!"
151
152 linux-mod_src_compile
153
154 emake || die
155 }
156
157 src_install() {
158
159 linux-mod_src_install
160
161 pamd_mimic_system vmware-guestd auth account
162
163 emake install DESTDIR="${D}" || die "Failed to install"
164
165 newinitd "${FILESDIR}/open-vm.initd" vmware-tools
166 newconfd "${FILESDIR}/open-vm.confd" vmware-tools
167
168 if use X;
169 then
170 exeinto /etc/X11/xinit/xinitrc.d
171 doexe "${FILESDIR}/10-vmware-tools"
172
173 elog "To be able to use the drag'n'drop feature of VMware for file"
174 elog "exchange, you need to do this:"
175 elog " Add 'vmware-tools' to your default runlevel"
176 elog " Add the users which should have access to this function"
177 elog " to the group 'vmware'"
178 fi
179 }