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-2012.05.21.724730.ebuild ChangeLog
Date: Sat, 02 Jun 2012 14:46:09
Message-Id: 20120602144600.2A0A42004B@flycatcher.gentoo.org
1 vadimk 12/06/02 14:46:00
2
3 Modified: ChangeLog
4 Added: open-vm-tools-2012.05.21.724730.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.10.64/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.65 app-emulation/open-vm-tools/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.65&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.65&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?r1=1.64&r2=1.65
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v
20 retrieving revision 1.64
21 retrieving revision 1.65
22 diff -u -r1.64 -r1.65
23 --- ChangeLog 2 Jun 2012 13:13:56 -0000 1.64
24 +++ ChangeLog 2 Jun 2012 14:46:00 -0000 1.65
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-emulation/open-vm-tools
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.64 2012/06/02 13:13:56 vadimk Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.65 2012/06/02 14:46:00 vadimk Exp $
30 +
31 +*open-vm-tools-2012.05.21.724730 (02 Jun 2012)
32 +
33 + 02 Jun 2012; Vadim Kuznetsov vadimk@g.o
34 + +open-vm-tools-2012.05.21.724730.ebuild:
35 + version bump
36
37 02 Jun 2012; Vadim Kuznetsov vadimk@g.o
38 -open-vm-tools-2011.11.20.535097.ebuild:
39
40
41
42 1.1 app-emulation/open-vm-tools/open-vm-tools-2012.05.21.724730.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-2012.05.21.724730.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-2012.05.21.724730.ebuild?rev=1.1&content-type=text/plain
46
47 Index: open-vm-tools-2012.05.21.724730.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-2012.05.21.724730.ebuild,v 1.1 2012/06/02 14:46:00 vadimk Exp $
52
53 EAPI="4"
54
55 inherit eutils pam versionator flag-o-matic toolchain-funcs
56
57 MY_PV="$(replace_version_separator 3 '-')"
58 MY_P="${PN}-${MY_PV}"
59
60 DESCRIPTION="Opensourced tools for VMware guests"
61 HOMEPAGE="http://open-vm-tools.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
63
64 LICENSE="LGPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="X doc fuse icu +pic xinerama"
68
69 RDEPEND="app-emulation/open-vm-tools-kmod
70 dev-libs/glib:2
71 dev-libs/libdnet
72 sys-apps/ethtool
73 sys-process/procps
74 virtual/pam
75 X? (
76 dev-cpp/gtkmm:2.4
77 x11-base/xorg-server
78 x11-drivers/xf86-input-vmmouse
79 x11-drivers/xf86-video-vmware
80 x11-libs/gtk+:2
81 x11-libs/libnotify
82 x11-libs/libX11
83 x11-libs/libXtst
84 )
85 fuse? ( sys-fs/fuse )
86 icu? ( dev-libs/icu )
87 xinerama? ( x11-libs/libXinerama )
88 "
89
90 DEPEND="${RDEPEND}
91 doc? ( app-doc/doxygen )
92 dev-util/pkgconfig
93 virtual/linux-sources
94 sys-apps/findutils
95 "
96
97 S="${WORKDIR}/${MY_P}"
98
99 pkg_setup() {
100 enewgroup vmware
101 }
102
103 src_prepare() {
104 # Do not filter out Werror
105 # Upstream Bug http://sourceforge.net/tracker/?func=detail&aid=2959749&group_id=204462&atid=989708
106 # sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
107 sed -i -e 's:\(TEST_PLUGIN_INSTALLDIR=\).*:\1\$libdir/open-vm-tools/plugins/tests:g' configure || die "sed test_plugin_installdir failed"
108 }
109
110 src_configure() {
111 # http://bugs.gentoo.org/402279
112 if has_version '>=sys-process/procps-3.3.2'; then
113 export CUSTOM_PROCPS_NAME=procps
114 export CUSTOM_PROCPS_LIBS="$($(tc-getPKG_CONFIG) --libs libprocps)"
115 fi
116
117 econf \
118 --with-procps \
119 --with-dnet \
120 --without-kernel-modules \
121 $(use_enable doc docs) \
122 --docdir=/usr/share/doc/${PF} \
123 $(use_with X x) \
124 $(use_with X gtk2) \
125 $(use_with X gtkmm) \
126 $(use_with icu) \
127 $(use_with pic) \
128 $(use_enable xinerama multimon)
129
130 # Bugs 260878, 326761
131 find ./ -name Makefile | xargs sed -i -e 's/-Werror//g' || die "sed out Werror failed"
132 }
133
134 src_install() {
135 default
136
137 rm "${D}"/etc/pam.d/vmtoolsd
138 pamd_mimic_system vmtoolsd auth account
139
140 rm "${D}"/usr/$(get_libdir)/*.la
141 rm "${D}"/usr/$(get_libdir)/open-vm-tools/plugins/common/*.la
142
143 newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools
144 newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools
145
146 exeinto /etc/vmware-tools/scripts/vmware/
147 doexe "${FILESDIR}"/network
148
149 if use X;
150 then
151 fperms 4755 "/usr/bin/vmware-user-suid-wrapper"
152
153 dobin "${S}"/scripts/common/vmware-xdg-detect-de
154
155 insinto /etc/xdg/autostart
156 doins "${FILESDIR}/open-vm-tools.desktop"
157
158 elog "To be able to use the drag'n'drop feature of VMware for file"
159 elog "exchange, please add the users to the 'vmware' group."
160 fi
161 elog "Add 'vmware-tools' service to the default runlevel."
162 }