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