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