1 |
np-hardass 15/06/30 19:49:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: teamviewer-10.0.41499-r1.ebuild |
5 |
Removed: teamviewer-10.0.41499.ebuild |
6 |
Log: |
7 |
Remove PID location edit in systemd service file. Resolves bug #552564 |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 18F89C67) |
10 |
|
11 |
Revision Changes Path |
12 |
1.22 net-misc/teamviewer/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/ChangeLog?rev=1.22&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/ChangeLog?rev=1.22&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/ChangeLog?r1=1.21&r2=1.22 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/teamviewer/ChangeLog,v |
21 |
retrieving revision 1.21 |
22 |
retrieving revision 1.22 |
23 |
diff -u -r1.21 -r1.22 |
24 |
--- ChangeLog 21 Jun 2015 02:56:05 -0000 1.21 |
25 |
+++ ChangeLog 30 Jun 2015 19:49:11 -0000 1.22 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for net-misc/teamviewer |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/teamviewer/ChangeLog,v 1.21 2015/06/21 02:56:05 np-hardass Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/teamviewer/ChangeLog,v 1.22 2015/06/30 19:49:11 np-hardass Exp $ |
31 |
+ |
32 |
+*teamviewer-10.0.41499-r1 (30 Jun 2015) |
33 |
+ |
34 |
+ 30 Jun 2015; NP-Hardass <NP-Hardass@g.o> |
35 |
+ +teamviewer-10.0.41499-r1.ebuild, -teamviewer-10.0.41499.ebuild, |
36 |
+ files/teamviewer.sh: |
37 |
+ Remove PID location edit in systemd service file. Resolves bug #552564 |
38 |
|
39 |
21 Jun 2015; NP-Hardass <NP-Hardass@g.o> metadata.xml: |
40 |
Fix email address in metadata.xml. |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-misc/teamviewer/teamviewer-10.0.41499-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/teamviewer-10.0.41499-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/teamviewer-10.0.41499-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: teamviewer-10.0.41499-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/teamviewer/teamviewer-10.0.41499-r1.ebuild,v 1.1 2015/06/30 19:49:11 np-hardass Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
inherit eutils gnome2-utils systemd unpacker |
58 |
|
59 |
# Major version |
60 |
MV=${PV/\.*} |
61 |
MY_PN=${PN}${MV} |
62 |
DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet" |
63 |
HOMEPAGE="https://www.teamviewer.com" |
64 |
SRC_URI="https://download.teamviewer.com/download/version_${MV}x/${PN}_${PV}_i386.deb" |
65 |
|
66 |
IUSE="+system-wine" |
67 |
|
68 |
LICENSE="TeamViewer LGPL-2.1" #LGPL for bundled wine |
69 |
SLOT=${MV} |
70 |
KEYWORDS="-* ~amd64 ~x86" |
71 |
|
72 |
RESTRICT="bindist mirror" |
73 |
|
74 |
RDEPEND=" |
75 |
system-wine? ( app-emulation/wine[abi_x86_32(-)] ) |
76 |
dev-qt/qtcore:4[abi_x86_32(-)] |
77 |
dev-qt/qtgui:4[abi_x86_32(-)] |
78 |
dev-qt/qtwebkit:4[abi_x86_32(-)] |
79 |
media-libs/alsa-lib[abi_x86_32(-)] |
80 |
x11-libs/libICE[abi_x86_32(-)] |
81 |
x11-libs/libSM[abi_x86_32(-)] |
82 |
x11-libs/libX11[abi_x86_32(-)] |
83 |
x11-libs/libXau[abi_x86_32(-)] |
84 |
x11-libs/libXdamage[abi_x86_32(-)] |
85 |
x11-libs/libXdmcp[abi_x86_32(-)] |
86 |
x11-libs/libXext[abi_x86_32(-)] |
87 |
x11-libs/libXfixes[abi_x86_32(-)] |
88 |
x11-libs/libXrandr[abi_x86_32(-)] |
89 |
x11-libs/libXtst[abi_x86_32(-)]" |
90 |
|
91 |
QA_PREBUILT="opt/teamviewer${MV}/*" |
92 |
|
93 |
S=${WORKDIR}/opt/teamviewer/tv_bin |
94 |
|
95 |
src_prepare() { |
96 |
#epatch "${FILESDIR}/${P}-gentoo.patch" |
97 |
sed \ |
98 |
-e "s/@TVV@/${MV}/g" \ |
99 |
"${FILESDIR}"/${PN}d.init > "${T}"/init || die |
100 |
sed \ |
101 |
-e "s:/opt/teamviewer:/opt/teamviewer${MV}:g" \ |
102 |
"script//${PN}d.service" > "${T}/${PN}d.service" || die |
103 |
sed \ |
104 |
-e "s/@TVV@/${PV}/g" \ |
105 |
-e "s/@TVMV@/${MV}/g" \ |
106 |
"${FILESDIR}"/${PN}.sh > "${T}"/sh || die |
107 |
if ! use system-wine; then |
108 |
sed -i "s/native=true/native=false/g" "${T}/sh" || die |
109 |
fi |
110 |
} |
111 |
|
112 |
src_install () { |
113 |
local destdir="/opt/${MY_PN}" |
114 |
|
115 |
# install wine prefix skeleton and reg keys |
116 |
insinto "${destdir}/wine/drive_c/" |
117 |
doins -r wine/drive_c/TeamViewer/ |
118 |
# install bundled wine if necessary |
119 |
if ! use system-wine; then |
120 |
insinto "${destdir}/tv_bin/wine" |
121 |
doins -r wine/{lib,share} |
122 |
exeinto "${destdir}/tv_bin/wine/bin" |
123 |
doexe wine/bin/{wine,wine-preloader,wineserver} |
124 |
fi |
125 |
# fix permissions |
126 |
fperms 755 ${destdir}/wine/drive_c/TeamViewer/TeamViewer.exe |
127 |
|
128 |
# install wine wrapper |
129 |
exeinto "/opt/bin" |
130 |
newexe "${T}/sh" "${MY_PN}" |
131 |
|
132 |
# install teamviewer linux binaries |
133 |
exeinto "${destdir}/tv_bin" |
134 |
doexe TeamViewer_Desktop TVGuiDelegate TVGuiSlave.32 |
135 |
use amd64 && doexe TVGuiSlave.64 |
136 |
|
137 |
# install daemon binary and scripts |
138 |
exeinto "${destdir}/tv_bin" |
139 |
doexe ${PN}d |
140 |
newinitd "${T}/init" ${PN}d${MV} |
141 |
newconfd "${FILESDIR}/${PN}d.conf" ${PN}d${MV} |
142 |
systemd_newunit "${T}/${PN}d.service" ${PN}d${MV}.service |
143 |
|
144 |
# set up logdir |
145 |
keepdir /var/log/${MY_PN} |
146 |
dosym /var/log/${MY_PN} /opt/${MY_PN}/logfiles |
147 |
|
148 |
# set up config dir |
149 |
keepdir /etc/${MY_PN} |
150 |
dosym /etc/${MY_PN} /opt/${MY_PN}/config |
151 |
|
152 |
newicon -s 48 desktop/${PN}.png ${MY_PN}.png |
153 |
#dodoc ../doc/linux_FAQ_{EN,DE}.txt |
154 |
make_desktop_entry ${MY_PN} "TeamViewer ${MV}" ${MY_PN} |
155 |
} |
156 |
|
157 |
pkg_preinst() { |
158 |
gnome2_icon_savelist |
159 |
} |
160 |
|
161 |
pkg_postinst() { |
162 |
gnome2_icon_cache_update |
163 |
|
164 |
elog "TeamViewer from upstream uses an overly-complicated set of bash" |
165 |
elog "scripts to start the program. This has been simplified for Gentoo" |
166 |
elog "use. Any issues should be reported via bugzilla." |
167 |
if use system-wine; then |
168 |
elog |
169 |
elog "Due to bug #552016, when using system wine, one is not able to" |
170 |
elog "share one's own screen. At this time, this may be remedied by" |
171 |
elog "toggling the system-wine USE flag." |
172 |
fi |
173 |
elog |
174 |
elog "The end-user client requires running the accompanying daemon," |
175 |
elog "available via init-scripts." |
176 |
} |
177 |
|
178 |
pkg_postrm() { |
179 |
gnome2_icon_cache_update |
180 |
} |