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