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.20100119.226760.ebuild
Date: Fri, 19 Feb 2010 17:53:54
Message-Id: E1NiX32-0004D6-UQ@stork.gentoo.org
1 vadimk 10/02/19 17:53:52
2
3 Modified: ChangeLog
4 Added: open-vm-tools-0.0.20100119.226760.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.7.17/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.31 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.31&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.31&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?r1=1.30&r2=1.31
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v
19 retrieving revision 1.30
20 retrieving revision 1.31
21 diff -u -r1.30 -r1.31
22 --- ChangeLog 2 Jan 2010 15:03:02 -0000 1.30
23 +++ ChangeLog 19 Feb 2010 17:53:52 -0000 1.31
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-emulation/open-vm-tools
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.30 2010/01/02 15:03:02 vadimk Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.31 2010/02/19 17:53:52 vadimk Exp $
29 +
30 +*open-vm-tools-0.0.20100119.226760 (19 Feb 2010)
31 +
32 + 19 Feb 2010; Vadim Kuznetsov <vadimk@g.o>
33 + +open-vm-tools-0.0.20100119.226760.ebuild:
34 + Version bump.
35
36 *open-vm-tools-0.0.20091216.217847-r1 (02 Jan 2010)
37
38
39
40
41 1.1 app-emulation/open-vm-tools/open-vm-tools-0.0.20100119.226760.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20100119.226760.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20100119.226760.ebuild?rev=1.1&content-type=text/plain
45
46 Index: open-vm-tools-0.0.20100119.226760.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20100119.226760.ebuild,v 1.1 2010/02/19 17:53:52 vadimk Exp $
51
52 EAPI="2"
53
54 inherit eutils pam versionator
55
56 MY_DATE="$(get_version_component_range 3)"
57 MY_BUILD="$(get_version_component_range 4)"
58 MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
59 MY_P="${PN}-${MY_PV}"
60
61 DESCRIPTION="Opensourced tools for VMware guests"
62 HOMEPAGE="http://open-vm-tools.sourceforge.net/"
63 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
64
65 LICENSE="LGPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="X doc fuse icu +pic unity xinerama"
69
70 RDEPEND="app-emulation/open-vm-tools-kmod
71 >=dev-libs/glib-2
72 dev-libs/libdnet
73 sys-apps/ethtool
74 sys-process/procps
75 virtual/pam
76 X? (
77 dev-cpp/gtkmm
78 x11-base/xorg-server
79 x11-drivers/xf86-input-vmmouse
80 x11-drivers/xf86-video-vmware
81 x11-libs/gtk+
82 x11-libs/libnotify
83 x11-libs/libX11
84 x11-libs/libXtst
85 )
86 fuse? ( sys-fs/fuse )
87 icu? ( dev-libs/icu )
88 unity? (
89 dev-libs/uriparser
90 x11-libs/libXScrnSaver
91 )
92 xinerama? ( x11-libs/libXinerama )
93 "
94
95 DEPEND="${RDEPEND}
96 dev-util/pkgconfig
97 virtual/linux-sources
98 doc? ( app-doc/doxygen )
99 "
100
101 S="${WORKDIR}/${MY_P}"
102
103 pkg_setup() {
104 use unity && ! use xinerama && die 'The Unity USE flag requires USE="xinerama" as well'
105
106 enewgroup vmware
107 }
108
109 src_prepare() {
110 epatch "${FILESDIR}/default-scripts1.patch"
111 epatch "${FILESDIR}/checkvm-pie-safety.patch"
112 sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure failed"
113 sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
114 sed -i -e 's:\(TEST_PLUGIN_INSTALLDIR=\).*:\1\$libdir/open-vm-tools/plugins/tests:g' configure || die "sed test_plugin_installdir failed"
115 }
116
117 src_configure() {
118 econf \
119 --with-procps \
120 --with-dnet \
121 --without-kernel-modules \
122 $(use_enable doc docs) \
123 --docdir=/usr/share/doc/${PF} \
124 $(use_with X x) \
125 $(use_with X gtk2) \
126 $(use_with X gtkmm) \
127 $(use_with icu) \
128 $(use_with pic) \
129 $(use_enable unity) \
130 $(use_enable xinerama multimon)
131 }
132
133 src_compile() {
134 emake || die "failed to compile"
135 }
136
137 src_install() {
138 emake DESTDIR="${D}" install || die "failed to install"
139
140 rm "${D}"/etc/pam.d/vmtoolsd
141 pamd_mimic_system vmtoolsd auth account
142
143 rm "${D}"/usr/$(get_libdir)/*.la
144 rm "${D}"/usr/$(get_libdir)/open-vm-tools/plugins/common/*.la
145
146 newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools || die "failed to newinitd"
147 newconfd "${FILESDIR}/open-vm.confd" vmware-tools || die "failed to newconfd"
148
149 if use X;
150 then
151 insinto /etc/xdg/autostart
152 doins "${FILESDIR}/open-vm-tools.desktop" || die "failed to install .desktop"
153
154 elog "To be able to use the drag'n'drop feature of VMware for file"
155 elog "exchange, you need to do this:"
156 elog " Add 'vmware-tools' to your default runlevel."
157 elog " Add the users which should have access to this function"
158 elog " to the group 'vmware'."
159 fi
160 }