Gentoo Archives: gentoo-commits

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