1 |
vadimk 10/08/31 16:56:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: open-vm-tools-0.0.20100824.292196-r1.ebuild |
5 |
Removed: open-vm-tools-0.0.20100824.292196.ebuild |
6 |
Log: |
7 |
Bug 335128. Thanks to Lech Perczak. |
8 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.40 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.40&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.40&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?r1=1.39&r2=1.40 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v |
20 |
retrieving revision 1.39 |
21 |
retrieving revision 1.40 |
22 |
diff -u -r1.39 -r1.40 |
23 |
--- ChangeLog 27 Aug 2010 20:23:28 -0000 1.39 |
24 |
+++ ChangeLog 31 Aug 2010 16:56:24 -0000 1.40 |
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.39 2010/08/27 20:23:28 vadimk Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.40 2010/08/31 16:56:24 vadimk Exp $ |
30 |
+ |
31 |
+*open-vm-tools-0.0.20100824.292196-r1 (31 Aug 2010) |
32 |
+ |
33 |
+ 31 Aug 2010; Vadim Kuznetsov <vadimk@g.o> |
34 |
+ -open-vm-tools-0.0.20100824.292196.ebuild, |
35 |
+ +open-vm-tools-0.0.20100824.292196-r1.ebuild, files/open-vm-tools.desktop: |
36 |
+ Bug 335128. Thanks to Lech Perczak. |
37 |
|
38 |
*open-vm-tools-0.0.20100824.292196 (27 Aug 2010) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 app-emulation/open-vm-tools/open-vm-tools-0.0.20100824.292196-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20100824.292196-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20100824.292196-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: open-vm-tools-0.0.20100824.292196-r1.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.20100824.292196-r1.ebuild,v 1.1 2010/08/31 16:56:24 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 |
media-libs/libpng |
93 |
x11-libs/libXScrnSaver |
94 |
) |
95 |
xinerama? ( x11-libs/libXinerama ) |
96 |
" |
97 |
|
98 |
DEPEND="${RDEPEND} |
99 |
doc? ( app-doc/doxygen ) |
100 |
dev-util/pkgconfig |
101 |
virtual/linux-sources |
102 |
sys-apps/findutils |
103 |
" |
104 |
|
105 |
S="${WORKDIR}/${MY_P}" |
106 |
|
107 |
pkg_setup() { |
108 |
use unity && ! use X && die 'The Unity USE flag requires "X" USE flag as well' |
109 |
use unity && ! use xinerama && die 'The Unity USE flag requires xinerame USE="xinerama" as well' |
110 |
|
111 |
enewgroup vmware |
112 |
} |
113 |
|
114 |
src_prepare() { |
115 |
epatch "${FILESDIR}/default-scripts.patch" |
116 |
epatch "${FILESDIR}/checkvm-pie-safety.patch" |
117 |
#sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure failed" |
118 |
# Do not filter out Werror |
119 |
# Upstream Bug http://sourceforge.net/tracker/?func=detail&aid=2959749&group_id=204462&atid=989708 |
120 |
# sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed" |
121 |
sed -i -e 's:\(TEST_PLUGIN_INSTALLDIR=\).*:\1\$libdir/open-vm-tools/plugins/tests:g' configure || die "sed test_plugin_installdir failed" |
122 |
} |
123 |
|
124 |
src_configure() { |
125 |
econf \ |
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 pic) \ |
136 |
$(use_enable unity) \ |
137 |
$(use_enable xinerama multimon) |
138 |
|
139 |
# Bugs 260878, 326761 |
140 |
find ./ -name Makefile | xargs sed -i -e 's/-Werror//g' || die "sed out Werror failed" |
141 |
} |
142 |
|
143 |
src_compile() { |
144 |
emake || die "failed to compile" |
145 |
} |
146 |
|
147 |
src_install() { |
148 |
emake DESTDIR="${D}" install || die "failed to install" |
149 |
|
150 |
rm "${D}"/etc/pam.d/vmtoolsd |
151 |
pamd_mimic_system vmtoolsd auth account |
152 |
|
153 |
rm "${D}"/usr/$(get_libdir)/*.la |
154 |
rm "${D}"/usr/$(get_libdir)/open-vm-tools/plugins/common/*.la |
155 |
|
156 |
newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools || die "failed to newinitd" |
157 |
newconfd "${FILESDIR}/open-vm.confd" vmware-tools || die "failed to newconfd" |
158 |
|
159 |
if use X; |
160 |
then |
161 |
insinto /etc/xdg/autostart |
162 |
doins "${FILESDIR}/open-vm-tools.desktop" || die "failed to install .desktop" |
163 |
|
164 |
elog "To be able to use the drag'n'drop feature of VMware for file" |
165 |
elog "exchange, you need to do this:" |
166 |
elog " Add 'vmware-tools' to your default runlevel." |
167 |
elog " Add the users which should have access to this function" |
168 |
elog " to the group 'vmware'." |
169 |
fi |
170 |
} |