1 |
ottxor 13/02/27 23:38:26 |
2 |
|
3 |
Modified: google-talkplugin-9999.ebuild ChangeLog |
4 |
Added: google-talkplugin-3.14.17.0-r1.ebuild |
5 |
Removed: google-talkplugin-3.14.17.0.ebuild |
6 |
Log: |
7 |
install additional datafiles to make plugins work (bug #438198) |
8 |
|
9 |
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key C2000586) |
10 |
|
11 |
Revision Changes Path |
12 |
1.12 www-plugins/google-talkplugin/google-talkplugin-9999.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild?rev=1.12&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild?rev=1.12&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild?r1=1.11&r2=1.12 |
17 |
|
18 |
Index: google-talkplugin-9999.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild,v |
21 |
retrieving revision 1.11 |
22 |
retrieving revision 1.12 |
23 |
diff -u -r1.11 -r1.12 |
24 |
--- google-talkplugin-9999.ebuild 9 Jan 2013 03:22:25 -0000 1.11 |
25 |
+++ google-talkplugin-9999.ebuild 27 Feb 2013 23:38:26 -0000 1.12 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2013 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild,v 1.11 2013/01/09 03:22:25 ottxor Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild,v 1.12 2013/02/27 23:38:26 ottxor Exp $ |
31 |
|
32 |
EAPI=4 |
33 |
|
34 |
@@ -55,13 +55,7 @@ |
35 |
|
36 |
INSTALL_BASE="opt/google/talkplugin" |
37 |
|
38 |
-QA_EXECSTACK="${INSTALL_BASE}/GoogleTalkPlugin" |
39 |
- |
40 |
-QA_TEXTRELS="${INSTALL_BASE}/lib*.so" |
41 |
- |
42 |
-QA_FLAGS_IGNORED="${INSTALL_BASE}/lib.*so |
43 |
- ${INSTALL_BASE}/lib/libCg.*so |
44 |
- ${INSTALL_BASE}/GoogleTalkPlugin" |
45 |
+QA_PREBUILT="${INSTALL_BASE}/*" |
46 |
|
47 |
S="${WORKDIR}" |
48 |
|
49 |
@@ -104,6 +98,8 @@ |
50 |
#install screen-sharing stuff - bug #397463 |
51 |
insinto "/${INSTALL_BASE}" |
52 |
doins "${INSTALL_BASE}"/windowpicker.glade |
53 |
+ doins "${INSTALL_BASE}"/remoting24x24.png |
54 |
+ doins -r "${INSTALL_BASE}"/data |
55 |
|
56 |
strip-linguas ${LANGS} |
57 |
for l in ${LINGUAS}; do |
58 |
|
59 |
|
60 |
|
61 |
1.44 www-plugins/google-talkplugin/ChangeLog |
62 |
|
63 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.44&view=markup |
64 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.44&content-type=text/plain |
65 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?r1=1.43&r2=1.44 |
66 |
|
67 |
Index: ChangeLog |
68 |
=================================================================== |
69 |
RCS file: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v |
70 |
retrieving revision 1.43 |
71 |
retrieving revision 1.44 |
72 |
diff -u -r1.43 -r1.44 |
73 |
--- ChangeLog 26 Feb 2013 02:58:56 -0000 1.43 |
74 |
+++ ChangeLog 27 Feb 2013 23:38:26 -0000 1.44 |
75 |
@@ -1,6 +1,13 @@ |
76 |
# ChangeLog for www-plugins/google-talkplugin |
77 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
78 |
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v 1.43 2013/02/26 02:58:56 ottxor Exp $ |
79 |
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v 1.44 2013/02/27 23:38:26 ottxor Exp $ |
80 |
+ |
81 |
+*google-talkplugin-3.14.17.0-r1 (27 Feb 2013) |
82 |
+ |
83 |
+ 27 Feb 2013; Christoph Junghans <ottxor@g.o> |
84 |
+ +google-talkplugin-3.14.17.0-r1.ebuild, -google-talkplugin-3.14.17.0.ebuild, |
85 |
+ google-talkplugin-9999.ebuild: |
86 |
+ install additional datafiles to make plugins work (bug #438198) |
87 |
|
88 |
*google-talkplugin-3.14.17.0 (26 Feb 2013) |
89 |
|
90 |
|
91 |
|
92 |
|
93 |
1.1 www-plugins/google-talkplugin/google-talkplugin-3.14.17.0-r1.ebuild |
94 |
|
95 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-3.14.17.0-r1.ebuild?rev=1.1&view=markup |
96 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-3.14.17.0-r1.ebuild?rev=1.1&content-type=text/plain |
97 |
|
98 |
Index: google-talkplugin-3.14.17.0-r1.ebuild |
99 |
=================================================================== |
100 |
# Copyright 1999-2013 Gentoo Foundation |
101 |
# Distributed under the terms of the GNU General Public License v2 |
102 |
# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-3.14.17.0-r1.ebuild,v 1.1 2013/02/27 23:38:26 ottxor Exp $ |
103 |
|
104 |
EAPI=4 |
105 |
|
106 |
inherit eutils nsplugins unpacker |
107 |
|
108 |
if [ "${PV}" != "9999" ]; then |
109 |
DEB_PATCH="1" |
110 |
#http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages |
111 |
MY_URL="http://dl.google.com/linux/talkplugin/deb/pool/main/${P:0:1}/${PN}" |
112 |
MY_PKG="${PN}_${PV}-${DEB_PATCH}_i386.deb" |
113 |
SRC_URI="x86? ( ${MY_URL}/${MY_PKG} ) |
114 |
amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )" |
115 |
else |
116 |
MY_URL="http://dl.google.com/linux/direct" |
117 |
MY_PKG="${PN}_current_i386.deb" |
118 |
SRC_URI="" |
119 |
fi |
120 |
|
121 |
DESCRIPTION="Video chat browser plug-in for Google Talk" |
122 |
|
123 |
HOMEPAGE="http://www.google.com/chat/video" |
124 |
IUSE="libnotify +system-libCg video_cards_fglrx video_cards_radeon" |
125 |
SLOT="0" |
126 |
|
127 |
KEYWORDS="-* ~amd64 ~x86" |
128 |
#GoogleTalkPlugin binary contains openssl and celt |
129 |
LICENSE="Google-TOS openssl BSD" |
130 |
RESTRICT="strip mirror" |
131 |
|
132 |
RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib ) |
133 |
dev-libs/glib:2 |
134 |
system-libCg? ( media-gfx/nvidia-cg-toolkit ) |
135 |
media-libs/fontconfig |
136 |
media-libs/freetype:2 |
137 |
media-libs/libpng:1.2 |
138 |
sys-libs/glibc |
139 |
x11-libs/cairo |
140 |
x11-libs/gdk-pixbuf |
141 |
x11-libs/gtk+:2 |
142 |
x11-libs/libX11 |
143 |
x11-libs/libXcomposite |
144 |
x11-libs/libXfixes |
145 |
x11-libs/libXrandr |
146 |
x11-libs/libXrender |
147 |
x11-libs/libXt |
148 |
x11-libs/pango |
149 |
sys-apps/lsb-release |
150 |
virtual/opengl |
151 |
libnotify? ( x11-libs/libnotify )" |
152 |
|
153 |
DEPEND="" |
154 |
|
155 |
INSTALL_BASE="opt/google/talkplugin" |
156 |
|
157 |
QA_PREBUILT="${INSTALL_BASE}/*" |
158 |
|
159 |
S="${WORKDIR}" |
160 |
|
161 |
LANGS="ar cs en et fr hu lt ms pl ru sv tl vi bg da fa gu id ja lv nl |
162 |
sk ta tr bn de es fi hi is kn ml no sl te uk ca el fil hr it ko mr or |
163 |
ro sr th ur" |
164 |
|
165 |
for X in ${LANGS} ; do |
166 |
IUSE="${IUSE} linguas_${X}" |
167 |
done |
168 |
|
169 |
# nofetch means upstream bumped and thus needs version bump |
170 |
pkg_nofetch() { |
171 |
einfo "This version is no longer available from Google." |
172 |
einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump." |
173 |
einfo "Please file a version bump bug on http://bugs.gentoo.org (search existing bugs for ${PN} first!)." |
174 |
} |
175 |
|
176 |
src_unpack() { |
177 |
local pkg="${A:=${MY_PKG}}" |
178 |
if [ "${PV}" = "9999" ]; then |
179 |
use amd64 && pkg="${pkg/i386/amd64}" |
180 |
einfo "Fetching ${pkg}" |
181 |
wget "${MY_URL}/${pkg}" || die |
182 |
fi |
183 |
unpacker ${pkg} |
184 |
} |
185 |
|
186 |
src_install() { |
187 |
unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz |
188 |
dodoc changelog.Debian |
189 |
|
190 |
exeinto "/${INSTALL_BASE}" |
191 |
doexe "${INSTALL_BASE}"/GoogleTalkPlugin |
192 |
for i in "${INSTALL_BASE}"/lib*.so; do |
193 |
doexe "${i}" |
194 |
[[ ${i##*/} = libnp* ]] && inst_plugin "/${i}" |
195 |
done |
196 |
|
197 |
#install screen-sharing stuff - bug #397463 |
198 |
insinto "/${INSTALL_BASE}" |
199 |
doins "${INSTALL_BASE}"/windowpicker.glade |
200 |
doins "${INSTALL_BASE}"/remoting24x24.png |
201 |
doins -r "${INSTALL_BASE}"/data |
202 |
|
203 |
strip-linguas ${LANGS} |
204 |
for l in ${LINGUAS}; do |
205 |
insinto "/${INSTALL_BASE}"/locale/$l/LC_MESSAGES/ |
206 |
doins "${INSTALL_BASE}"/locale/$l/LC_MESSAGES/windowpicker.mo |
207 |
done |
208 |
|
209 |
#install bundled libCg |
210 |
if use video_cards_radeon || use video_cards_fglrx; then |
211 |
#hack from #402401 |
212 |
exeinto "/${INSTALL_BASE}"/lib |
213 |
doexe "${INSTALL_BASE}"/lib/libCg*.so |
214 |
if use system-libCg; then |
215 |
ewarn "There seems to be a problem with ati cards and USE='-system-libCG," |
216 |
ewarn "so we install the bundled version of libCG anyway. (bug #402401)" |
217 |
fi |
218 |
echo "O3D_OVERRIDE_RENDER_MODE=2D" > "${ED}/opt/google/talkplugin/envvars" |
219 |
ewarn "We have set O3D_OVERRIDE_RENDER_MODE=2D in ${EROOT}opt/google/talkplugin/envvars" |
220 |
ewarn "please report your experience, good or bad, with this workaround on bug #402401" |
221 |
elif ! use system-libCg; then |
222 |
exeinto "/${INSTALL_BASE}"/lib |
223 |
doexe "${INSTALL_BASE}"/lib/libCg*.so |
224 |
fi |
225 |
} |