Gentoo Archives: gentoo-commits

From: Jesus Rivero <neurogeek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/neurogeek:master commit in: net-libs/opal/files/, net-libs/opal/
Date: Mon, 24 Mar 2014 18:13:10
Message-Id: 1395669350.31fe6cf674a49d5e8d4b2ffeb0f477061f6e6261.neurogeek@gentoo
1 commit: 31fe6cf674a49d5e8d4b2ffeb0f477061f6e6261
2 Author: Jesus Rivero <neurogeekster <AT> gmail <DOT> com>
3 AuthorDate: Mon Mar 24 13:55:50 2014 +0000
4 Commit: Jesus Rivero <neurogeek <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 24 13:55:50 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/neurogeek.git;a=commit;h=31fe6cf6
7
8 Version bump for opal-3.14.0
9
10 ---
11 net-libs/opal/ChangeLog | 399 +++++++++++++++++++++
12 net-libs/opal/Manifest | 32 ++
13 net-libs/opal/files/opal-2.1.1-notrace.diff | 11 +
14 .../files/opal-3.10.9-avoid_cflags_mixup.patch | 131 +++++++
15 .../opal-3.10.9-disable-h323-workaround.patch | 13 +
16 net-libs/opal/files/opal-3.10.9-ffmpeg.patch | 189 ++++++++++
17 .../files/opal-3.10.9-java-ruby-swig-fix.patch | 29 ++
18 .../opal/files/opal-3.10.9-labs_is_in_stdlib.patch | 11 +
19 .../files/opal-3.10.9-svn_revision_override.patch | 15 +
20 .../files/opal-3.12.4-avoid_cflags_mixup.patch | 132 +++++++
21 .../files/opal-3.12.4-java-ruby-swig-fix.patch | 28 ++
22 .../files/opal-3.14.0-java-ruby-swig-fix.patch | 24 ++
23 .../opal-3.14.0-pmimeinfo_not_declared_fix.patch | 11 +
24 net-libs/opal/files/opal-3.6.4-jdkroot.patch | 15 +
25 net-libs/opal/files/opal-3.6.8-build-fix.patch | 39 ++
26 net-libs/opal/files/opal-3.6.8-ldflags.patch | 240 +++++++++++++
27 .../files/opal-3.6.8-lid-plugins-ldflags.patch | 40 +++
28 net-libs/opal/metadata.xml | 42 +++
29 net-libs/opal/opal-3.10.10.ebuild | 252 +++++++++++++
30 net-libs/opal/opal-3.10.9.ebuild | 252 +++++++++++++
31 net-libs/opal/opal-3.12.4.ebuild | 235 ++++++++++++
32 net-libs/opal/opal-3.14.0.ebuild | 221 ++++++++++++
33 net-libs/opal/opal-3.6.8-r2.ebuild | 280 +++++++++++++++
34 23 files changed, 2641 insertions(+)
35
36 diff --git a/net-libs/opal/ChangeLog b/net-libs/opal/ChangeLog
37 new file mode 100644
38 index 0000000..5ccdf52
39 --- /dev/null
40 +++ b/net-libs/opal/ChangeLog
41 @@ -0,0 +1,399 @@
42 +# ChangeLog for net-libs/opal
43 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
44 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/ChangeLog,v 1.99 2013/12/16 02:26:45 patrick Exp $
45 +
46 + 16 Dec 2013; Patrick Lauer <patrick@g.o> metadata.xml:
47 + Remove unneeded useflags from metadata.xml
48 +
49 + 15 Dec 2013; Dion Moult <moult@g.o> -opal-2.2.11.ebuild:
50 + <=net-libs/opal-2.2.11 removal (pending 11 July 2013), see #290062 and #290063
51 + for reference.
52 +
53 + 27 Oct 2013; Pacho Ramos <pacho@g.o> metadata.xml:
54 + Cleanup due voip herd removal:
55 + http://article.gmane.org/gmane.linux.gentoo.devel/88434
56 +
57 + 25 Jun 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
58 + opal-3.10.10.ebuild, opal-3.10.9.ebuild, opal-3.6.8-r2.ebuild:
59 + Add blockers for libav-9, bug #443206.
60 +
61 + 24 Jun 2013; Tomáš Chvátal <scarabeus@g.o> opal-3.12.4.ebuild:
62 + Fix samples readme install wrt#474614.
63 +
64 +*opal-3.12.4 (22 Jun 2013)
65 +
66 + 22 Jun 2013; Tomáš Chvátal <scarabeus@g.o>
67 + +files/opal-3.12.4-avoid_cflags_mixup.patch,
68 + +files/opal-3.12.4-java-ruby-swig-fix.patch, +opal-3.12.4.ebuild:
69 + Version bump to 3.12.4 to build with libav9. Fixes bug#443206.
70 +
71 + 05 Apr 2013; Agostino Sarubbo <ago@g.o> opal-3.10.10.ebuild:
72 + Stable for ppc64, wrt bug #461842
73 +
74 + 01 Apr 2013; Agostino Sarubbo <ago@g.o> opal-3.10.10.ebuild:
75 + Stable for alpha, wrt bug #461842
76 +
77 + 01 Apr 2013; Agostino Sarubbo <ago@g.o> opal-3.10.10.ebuild:
78 + Stable for ia64, wrt bug #461842
79 +
80 + 30 Mar 2013; Agostino Sarubbo <ago@g.o> opal-3.10.10.ebuild:
81 + Stable for ppc, wrt bug #461842
82 +
83 + 28 Mar 2013; Agostino Sarubbo <ago@g.o> opal-3.10.10.ebuild:
84 + Stable for x86, wrt bug #461842
85 +
86 + 28 Mar 2013; Agostino Sarubbo <ago@g.o> opal-3.10.10.ebuild:
87 + Stable for amd64, wrt bug #461842
88 +
89 +*opal-3.10.10 (05 Mar 2013)
90 +
91 + 05 Mar 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
92 + +opal-3.10.10.ebuild:
93 + Version bump.
94 +
95 + 08 Feb 2013; Alexis Ballier <aballier@g.o> opal-3.10.9.ebuild,
96 + +files/opal-3.10.9-ffmpeg.patch:
97 + backport upstream fix to build with recent ffmpeg versions, part of bug
98 + #443206
99 +
100 + 16 Dec 2012; Pacho Ramos <pacho@g.o> metadata.xml:
101 + Cleanup due retirement, #260683
102 +
103 +*opal-3.10.9 (03 Dec 2012)
104 +
105 + 03 Dec 2012; Jesus Rivero <neurogeek@g.o> -opal-3.10.8-r1.ebuild,
106 + -files/opal-3.10.8-avoid_cflags_mixup.patch,
107 + -files/opal-3.10.8-disable-h323-workaround.patch,
108 + -files/opal-3.10.8-labs_is_in_stdlib.patch,
109 + -files/opal-3.10.8-svn_revision_override.patch, +opal-3.10.9.ebuild,
110 + +files/opal-3.10.9-avoid_cflags_mixup.patch,
111 + +files/opal-3.10.9-disable-h323-workaround.patch,
112 + +files/opal-3.10.9-java-ruby-swig-fix.patch,
113 + +files/opal-3.10.9-labs_is_in_stdlib.patch,
114 + +files/opal-3.10.9-svn_revision_override.patch:
115 + Version bump. Fixes to bugs #439498 and #440184
116 +
117 +*opal-3.10.8-r1 (24 Oct 2012)
118 +
119 + 24 Oct 2012; Jesus Rivero <neurogeek@g.o> -opal-3.10.8.ebuild,
120 + +opal-3.10.8-r1.ebuild, +files/opal-3.10.8-avoid_cflags_mixup.patch:
121 + Revbump. New patches to fix bug #439464 and fix C and CXX flags mixup in
122 + plugins
123 +
124 +*opal-3.10.8 (23 Oct 2012)
125 +
126 + 23 Oct 2012; Jesus Rivero <neurogeek@g.o> opal-3.6.8-r2.ebuild,
127 + +opal-3.10.8.ebuild, +files/opal-3.10.8-disable-h323-workaround.patch,
128 + +files/opal-3.10.8-labs_is_in_stdlib.patch,
129 + +files/opal-3.10.8-svn_revision_override.patch, metadata.xml:
130 + Version bump, fixing several bugs. Adjusted opal-3.6.8 dep on ptlib <
131 + 2.10.8. Added myself as maintainer
132 +
133 + 30 Sep 2012; Raúl Porcel <armin76@g.o> opal-3.6.8-r2.ebuild:
134 + alpha stable wrt #397617
135 +
136 + 17 Jun 2012; Raúl Porcel <armin76@g.o> opal-3.6.8-r2.ebuild:
137 + ia64/sparc stable wrt #397617
138 +
139 + 20 May 2012; Mark Loeser <halcy0n@g.o> opal-3.6.8-r2.ebuild:
140 + Stable for ppc/ppc64; bug #397617
141 +
142 + 16 May 2012; Tomáš Chvátal <scarabeus@g.o> -opal-3.6.8-r1.ebuild,
143 + -opal-3.6.8.ebuild, opal-3.6.8-r2.ebuild:
144 + Reduce versions using media-video/ffmpeg. Stable the version with
145 + virutal/ffmpeg on x86.
146 +
147 + 05 May 2012; Jeff Horelick <jdhore@g.o> opal-3.6.8.ebuild,
148 + opal-3.6.8-r1.ebuild, opal-3.6.8-r2.ebuild:
149 + dev-util/pkgconfig -> virtual/pkgconfig
150 +
151 + 25 Mar 2012; Pacho Ramos <pacho@g.o> metadata.xml:
152 + Set herd as primary maintainer as talked with volkmar.
153 +
154 + 09 Jan 2012; Agostino Sarubbo <ago@g.o> opal-3.6.8-r2.ebuild:
155 + Stable for AMD64, wrt bug #397617
156 +
157 + 04 Jan 2012; Nirbheek Chauhan <nirbheek@g.o> opal-3.6.8-r2.ebuild,
158 + +files/opal-3.6.8-lid-plugins-ldflags.patch:
159 + Fix static libs, fix ldflags for plugins (bug 397681), and fix ptlib dep for
160 + vxml
161 +
162 + 24 May 2011; Peter Volkov <pva@g.o> opal-3.6.8-r2.ebuild:
163 + Update another occurence of media-video/ffmpeg to virtual/ffmpeg.
164 +
165 +*opal-3.6.8-r2 (01 May 2011)
166 +
167 + 01 May 2011; Peter Volkov <pva@g.o> +opal-3.6.8-r2.ebuild,
168 + metadata.xml:
169 + Use virtual/ffmpeg dependency, bug #362161 wrt Tomáš Chvátal. Add
170 + ‘ilbc’ USE flag, bug 348284 by Nico R.
171 +
172 + 18 Jan 2011; Christian Faulhammer <fauli@g.o> opal-3.6.8-r1.ebuild:
173 + stable x86, bug 348987
174 +
175 +*opal-3.6.8-r1 (07 Dec 2010)
176 +
177 + 07 Dec 2010; Peter Volkov <pva@g.o> +opal-3.6.8-r1.ebuild,
178 + +files/opal-3.6.8-build-fix.patch, +files/opal-3.6.8-ldflags.patch:
179 + Respect ldflags, bug #331085 thank Olivier Huber for report and fix. Bug
180 + build issue, #343041 thank Ming-Wei for report and Hamlet for draft fix.
181 +
182 + 01 Nov 2010; Mark Loeser <halcy0n@g.o> opal-3.6.8.ebuild:
183 + Add ~ppc64; bug #276355
184 +
185 + 27 Oct 2010; Mounir Lamouri <volkmar@g.o> opal-3.6.8.ebuild:
186 + Updating celt required version.
187 +
188 + 27 Oct 2010; Mounir Lamouri <volkmar@g.o> -opal-3.6.4.ebuild,
189 + -opal-3.6.4-r1.ebuild, -opal-3.6.6.ebuild, -opal-3.6.7.ebuild,
190 + -files/opal-3.6.7-celt-0.7-update.patch:
191 + Removing old ebulid and patches.
192 +
193 +*opal-3.6.8 (19 Aug 2010)
194 +
195 + 19 Aug 2010; Peter Volkov <pva@g.o> +opal-3.6.8.ebuild:
196 + Version bump, bug #326469 thank Vladimir for report.
197 +
198 + 24 Jul 2010; Panagiotis Christopoulos <pchrist@g.o>
199 + opal-3.6.4.ebuild, opal-3.6.4-r1.ebuild, opal-3.6.6.ebuild,
200 + opal-3.6.7.ebuild:
201 + Fix broken swig deps, after removing old swig ebuilds, reported by
202 + Mr_Bones
203 +
204 + 20 Jul 2010; Jeroen Roovers <jer@g.o> opal-2.2.11.ebuild:
205 + Drop HPPA keywording (bug #324511).
206 +
207 + 21 Jun 2010; Samuli Suominen <ssuominen@g.o> opal-3.6.7.ebuild:
208 + Fix building with FFmpeg >= 0.6 wrt #324323 by Alexis Ballier.
209 +
210 + 28 Feb 2010; Peter Volkov <pva@g.o> opal-3.6.7.ebuild,
211 + +files/opal-3.6.7-celt-0.7-update.patch:
212 + Fixed build issue with newer celt codec, #300629 thank Matti Nykyri for
213 + report and Stefan Knoblich for this fix. Updated ptlib dep, bug #306141,
214 + thank Andrey Grozin for report.
215 +
216 + 25 Feb 2010; Robin H. Johnson <robbat2@g.o> opal-3.6.7.ebuild:
217 + Latest opal requires a new ptlib during configure phase: Package
218 + requirements (ptlib >= 2.6.6) were not met.
219 +
220 +*opal-3.6.7 (18 Feb 2010)
221 +
222 + 18 Feb 2010; Peter Volkov <pva@g.o> +opal-3.6.7.ebuild:
223 + Version bump.
224 +
225 + 17 Dec 2009; Raúl Porcel <armin76@g.o> opal-3.6.4.ebuild,
226 + opal-3.6.4-r1.ebuild, opal-3.6.6.ebuild:
227 + Add ~ia64/~sparc wrt #276355
228 +
229 + 11 Oct 2009; Paul de Vrieze <pauldv@g.o> opal-3.6.6.ebuild:
230 + Update version dependency for ptlib. Version 2.6.2 is certainly broken.
231 + While this version is no longer in the tree people can still have it
232 + installed. Set the minimal version to 2.6.4 as that is in the tree, and
233 + the actual required version is not clear.
234 +
235 + 29 Sep 2009; Mounir Lamouri <volkmar@g.o> opal-3.6.6.ebuild:
236 + Changing filter-flags to append-flags after ssuominen advice.
237 +
238 + 29 Sep 2009; Tobias Klausmann <klausman@g.o> opal-3.6.4-r1.ebuild:
239 + Keyworded on alpha, bug #276355
240 +
241 + 29 Sep 2009; Mounir Lamouri <volkmar@g.o> opal-3.6.6.ebuild:
242 + Filter -fvisibility-inlines-hidden as a workaround for bug 282838
243 +
244 +*opal-3.6.6 (24 Sep 2009)
245 +
246 + 24 Sep 2009; Mounir Lamouri <volkmar@g.o> +opal-3.6.6.ebuild:
247 + Version bump to 3.6.6.
248 +
249 + 12 Sep 2009; Mounir Lamouri <volkmar@g.o> opal-3.6.4.ebuild,
250 + opal-3.6.4-r1.ebuild:
251 + Removing USE flags removed from ptlib from ptlib dep.
252 +
253 + 12 Sep 2009; Mounir Lamouri <volkmar@g.o> +opal-3.6.4.ebuild,
254 + metadata.xml:
255 + Warn instead of dying when USE="h281 -h224". Bug 276475.
256 + Add celt flag/dependency, lost alpha keyword.
257 +
258 + 11 Sep 2009; Mounir Lamouri <volkmar@g.o> opal-3.6.4.ebuild,
259 + metadata.xml:
260 + Merge rfc4175 USE flag with video.
261 +
262 + 11 Sep 2009; Mounir Lamouri <volkmar@g.o> opal-3.6.4.ebuild:
263 + Warning instead of dying when USE="-x264 x265-static"
264 +
265 +*opal-3.6.4 (25 Aug 2009)
266 +
267 + 25 Aug 2009; Mounir Lamouri <volkmar@g.o>
268 + -files/opal-3.6.2-as-needed.patch, -files/opal-3.6.2-gcc-4.4.patch,
269 + -files/opal-3.6.2-jdkroot.patch, -files/opal-3.6.2-sbc.patch,
270 + -files/opal-3.6.2-system-ilbc.patch, +files/opal-3.6.4-jdkroot.patch,
271 + -opal-3.6.2.ebuild, +opal-3.6.4.ebuild:
272 + Version bump to 3.6.4. Bug 281170
273 + Thanks to Colin Macdonald.
274 +
275 + 03 Aug 2009; Markus Meier <maekke@g.o> opal-3.6.2.ebuild:
276 + add ~amd64, bug #276355
277 +
278 + 13 Jul 2009; Mounir Lamouri <volkmar@g.o> opal-3.6.2.ebuild:
279 + Force --enable-statistics if fax USE flag is enabled. Fix bug 277233
280 +
281 + 12 Jul 2009; Tobias Klausmann <klausman@g.o> opal-3.6.2.ebuild:
282 + Keyworded on alpha, bug #276278
283 +
284 + 09 Jul 2009; Mounir Lamouri <volkmar@g.o>
285 + +files/opal-3.6.2-gcc-4.4.patch, opal-3.6.2.ebuild:
286 + Fix compilation with gcc-4.4. Fix bug 269328. Thanks to Michal Górny.
287 +
288 +*opal-3.6.2 (03 Jul 2009)
289 +
290 + 03 Jul 2009; Mounir Lamouri <volkmar@g.o>
291 + +files/opal-3.6.2-as-needed.patch, +files/opal-3.6.2-jdkroot.patch,
292 + +files/opal-3.6.2-sbc.patch, +files/opal-3.6.2-system-ilbc.patch,
293 + metadata.xml, +opal-3.6.2.ebuild:
294 + Version bump to 3.6.2. Add myself as maintainer. Fix bug 238610
295 +
296 + 09 Oct 2008; Diego Pettenò <flameeyes@g.o> opal-2.2.11.ebuild:
297 + Fix build dependencies.
298 +
299 + 21 Nov 2007; Michael Sterrett <mr_bones_@g.o> -opal-2.2.6.ebuild,
300 + -opal-2.2.8.ebuild:
301 + remove old, dep-broken ebuilds
302 +
303 + 12 Oct 2007; Tobias Scherbaum <dertobi123@g.o> opal-2.2.11.ebuild:
304 + ppc stable, bug #193095
305 +
306 + 11 Oct 2007; Raúl Porcel <armin76@g.o> opal-2.2.11.ebuild:
307 + alpha/ia64/sparc stable wrt security #193095
308 +
309 + 11 Oct 2007; Markus Rothe <corsair@g.o> opal-2.2.11.ebuild:
310 + Stable on ppc64; bug #193095
311 +
312 + 11 Oct 2007; Mike Doty <kingtaco@g.o> opal-2.2.11.ebuild:
313 + amd64 stable, bug 193095
314 +
315 + 10 Oct 2007; Jeroen Roovers <jer@g.o> opal-2.2.11.ebuild:
316 + Stable for HPPA (bug #193095).
317 +
318 + 10 Oct 2007; Christian Faulhammer <opfer@g.o> opal-2.2.11.ebuild:
319 + stable x86, security bug 193095
320 +
321 +*opal-2.2.11 (08 Oct 2007)
322 +
323 + 08 Oct 2007; Stefan Schweizer <genstef@g.o> +opal-2.2.11.ebuild:
324 + version bump
325 +
326 + 03 Jun 2007; Stefan Schweizer <genstef@g.o> opal-2.2.8.ebuild:
327 + replace-flags -Os -O2 for bug 180718
328 +
329 + 16 Apr 2007; Timothy Redaelli <drizzt@g.o> opal-2.2.8.ebuild:
330 + Fixed cross-distcc
331 +
332 +*opal-2.2.8 (14 Apr 2007)
333 +
334 + 14 Apr 2007; Stefan Schweizer <genstef@g.o> +opal-2.2.8.ebuild:
335 + version bump
336 +
337 + 14 Apr 2007; Stefan Schweizer <genstef@g.o> -opal-2.2.1.ebuild,
338 + -opal-2.2.2.ebuild, -opal-2.2.3.ebuild, -opal-2.2.5.ebuild:
339 + remove old
340 +
341 + 23 Mar 2007; René Nussbaumer <killerfox@g.o> opal-2.2.6.ebuild:
342 + Stable on hppa. See bug #167643.
343 +
344 + 23 Mar 2007; Chris Gianelloni <wolf31o2@g.o> opal-2.2.6.ebuild:
345 + Stable on alpha/amd64/ia64/ppc wrt bug #167643.
346 +
347 + 23 Mar 2007; Markus Rothe <corsair@g.o> opal-2.2.6.ebuild:
348 + Stable on ppc64; bug #167643
349 +
350 + 23 Mar 2007; Christian Faulhammer <opfer@g.o> opal-2.2.6.ebuild:
351 + stable x86, security bug 167643
352 +
353 +*opal-2.2.6 (21 Mar 2007)
354 +
355 + 21 Mar 2007; Gustavo Zacarias <gustavoz@g.o> +opal-2.2.6.ebuild:
356 + Verbump wrt #167643 and #169066
357 +
358 + 10 Mar 2007; Bryan Østergaard <kloeri@g.o> opal-2.2.5.ebuild:
359 + Stable on Alpha + IA64, bug 167643.
360 +
361 + 03 Mar 2007; Tobias Scherbaum <dertobi123@g.o> opal-2.2.5.ebuild:
362 + Stable on ppc wrt bug #167643.
363 +
364 + 01 Mar 2007; René Nussbaumer <killerfox@g.o> opal-2.2.5.ebuild:
365 + Stable on hppa. See bug #167643.
366 +
367 + 27 Feb 2007; Steve Dibb <beandog@g.o> opal-2.2.5.ebuild:
368 + amd64 stable, security bug 167643
369 +
370 + 27 Feb 2007; Jason Wever <weeve@g.o> opal-2.2.5.ebuild:
371 + Stable on SPARC wrt security bug #167643.
372 +
373 + 25 Feb 2007; Markus Rothe <corsair@g.o> opal-2.2.5.ebuild:
374 + Stable on ppc64; bug #167643
375 +
376 + 24 Feb 2007; Raúl Porcel <armin76@g.o> opal-2.2.5.ebuild:
377 + x86 stable wrt bug 167643
378 +
379 +*opal-2.2.5 (21 Feb 2007)
380 +
381 + 21 Feb 2007; Remi Cardona <remi@g.o> +opal-2.2.5.ebuild:
382 + bumping opal to 2.2.5
383 +
384 + 19 Jan 2007; Jeroen Roovers <jer@g.o> opal-2.2.3.ebuild:
385 + Stable for HPPA (bug #147751).
386 +
387 + 14 Jan 2007; Bryan Østergaard <kloeri@g.o> opal-2.2.3.ebuild:
388 + Stable on Alpha.
389 +
390 + 06 Jan 2007; Bryan Østergaard <kloeri@g.o> opal-2.2.3.ebuild:
391 + Add ~ia64 keyword, bug 142482.
392 +
393 + 21 Dec 2006; Markus Rothe <corsair@g.o> opal-2.2.3.ebuild:
394 + Stable on ppc64; bug #156662
395 +
396 + 18 Dec 2006; Gustavo Zacarias <gustavoz@g.o> opal-2.2.3.ebuild:
397 + Stable on sparc
398 +
399 + 17 Dec 2006; Tobias Scherbaum <dertobi123@g.o> opal-2.2.3.ebuild:
400 + Stable on ppc wrt bug #156662.
401 +
402 + 12 Dec 2006; Chris Gianelloni <wolf31o2@g.o> opal-2.2.3.ebuild:
403 + Stable on amd64 wrt bug #156662.
404 +
405 + 10 Dec 2006; Andrej Kacian <ticho@g.o> opal-2.2.3.ebuild:
406 + Stable on x86, bug #156662.
407 +
408 +*opal-2.2.3 (12 Sep 2006)
409 +
410 + 12 Sep 2006; Stefan Schweizer <genstef@g.o> +opal-2.2.3.ebuild:
411 + version bump
412 +
413 + 17 Aug 2006; Markus Rothe <corsair@g.o> opal-2.2.2.ebuild:
414 + Stable on ppc64
415 +
416 + 21 Jul 2006; Markus Rothe <corsair@g.o> opal-2.2.2.ebuild:
417 + Added ~ppc64
418 +
419 + 17 Jul 2006; Daniel Gryniewicz <dang@g.o> opal-2.2.2.ebuild:
420 + Marked stable on amd64 for bug #139612
421 +
422 + 14 Jul 2006; Tobias Scherbaum <dertobi123@g.o> opal-2.2.2.ebuild:
423 + ppc stable, bug #139612
424 +
425 + 12 Jul 2006; Chris Gianelloni <wolf31o2@g.o> opal-2.2.2.ebuild:
426 + Stable on x86 wrt bug #139612.
427 +
428 + 10 Jul 2006; Gustavo Zacarias <gustavoz@g.o> opal-2.2.2.ebuild:
429 + Stable on sparc wrt #139612 and #115652
430 +
431 +*opal-2.2.2 (06 Jun 2006)
432 +
433 + 06 Jun 2006; Stefan Schweizer <genstef@g.o> +opal-2.2.2.ebuild:
434 + version bump thanks to David PIRY <klessou@×××××.com> in bug 135785
435 +
436 +*opal-2.2.1 (20 Mar 2006)
437 +
438 + 20 Mar 2006; Stefan Schweizer <genstef@g.o>
439 + +files/opal-2.1.1-notrace.diff, +metadata.xml, +opal-2.2.1.ebuild:
440 + New ebuild for ekiga, bug 119611
441
442 diff --git a/net-libs/opal/Manifest b/net-libs/opal/Manifest
443 new file mode 100644
444 index 0000000..a2e1e83
445 --- /dev/null
446 +++ b/net-libs/opal/Manifest
447 @@ -0,0 +1,32 @@
448 +AUX opal-2.1.1-notrace.diff 263 SHA256 3abf99ab2a7bde2e1a2380e22a9c5e15240439bdf7766b4715c78cacd46961c0 SHA512 279ebd4821af25ba1ef795aad66d1ae20489337ab2d78c174b4caa4dbbf02b4f8c7f6fdc5e2822e1c6441e2850d0924f108dcaf06beaf238be58b44daee91b71 WHIRLPOOL b71b6bf51eda7d9a5c24a9bcff85c41c3017e92c6be4f1fed5022ccbfac0ea0f3b66a4cc9b501810b5e342b8f8cf8110c698deca9ed71661a3f5fe40184040da
449 +AUX opal-3.10.9-avoid_cflags_mixup.patch 5378 SHA256 80a41d81a1caeaee31c43c7b71bac9943692eed3e6a5f7f5c4a1bf837cd391e7 SHA512 fdc6b52db3bd299d2235ebdb917921d3c9d01a03ffed65e8e4b833e66da21bde4c1497740a38a41f3d7393a6c65969a64587612a11c9590904b66c9fb86e1e7e WHIRLPOOL fc1d97a7180d50748b521cb345b58487e2183506b68d5d952f004d3f382cd77171b222187fa4bd92510026781012d601c23ec23f5df8023ad3e9ec73c5e98b0c
450 +AUX opal-3.10.9-disable-h323-workaround.patch 498 SHA256 b1d943f7eb33c1828bf5a086abe1256dac55ce7f9a9cd16cbe9fa72b00d7ede2 SHA512 58e8ef12c39bce3a4d386b2b6033e1e242852bbf78371c58e91bd020cfcd95b40a9831db91fa76da431a9f8c4bb40c846b420e3a462dad77658a37c2281a9d39 WHIRLPOOL 6c590b837ebdcb11491aa3b9759d6c7e5930aa07d294bcfd473327f37866df97400bf1de588da853b6c807a233c23388359ac5a1e27c05ae1d4cc361585b98ae
451 +AUX opal-3.10.9-ffmpeg.patch 7084 SHA256 194a95dbb0905f37c6778f628baddc962249c6cbc0b000197ebd8233b1d9c6ad SHA512 109c41fd92793bafdbbf066d5f7e33175be4034fe2a1ce2bd1df8f569e86101d04617151df851025da17c7b46bb345022200990c36bbb47f940afcea306a6701 WHIRLPOOL adb1f24df323f85ea9be1349ce238705cfa656137f96fcd7a45278e4aebfd774f70c8b38e9efa05576fb6be460e32af90ec7e5666ab2050986c959c75b6551fb
452 +AUX opal-3.10.9-java-ruby-swig-fix.patch 874 SHA256 f813a831ac8d8c6c47f951125c1c8e971849d21a9cd7403e2bd72d39a5718930 SHA512 a7132cd6ad61d143cc11e00a048aaf66e1802890ac5fbde7ff964f99dc45a3abc79a081572cbdae5a84a50eee8af11266695a5de9c2691385c6f849e27105022 WHIRLPOOL ea85ac9c3603ff0a9eaf955f232c0197c35bb39ddce9a7d28c0f682e16e3660534eab0c5106bc8395ed2ac2445fb8f615d567e5ad607b5089331c116c4ae16db
453 +AUX opal-3.10.9-labs_is_in_stdlib.patch 532 SHA256 c6d7613fc79d7f1134a4ff9246591d96ab9c264f0c8250b1cf51a33cdafa1fc7 SHA512 f1342804fec2e6422d499f776a39dff2e36e5604e2d43084322c9fd0b4bf7d511852c3ca02dc072d133b9204b4984b4400f56846f58cc2edfc0446176cdbfcf5 WHIRLPOOL 271170a5a2adcffac9d49e146a9a3e947790b155d224cc64800eb773b31a11c34309bfa8c28083534f8e230cc3aa3ae83a6a912a266cbb681b3c120e8ae794aa
454 +AUX opal-3.10.9-svn_revision_override.patch 456 SHA256 78e84456c02f9a8c51f60dfff4882875c2fbefc2ac7953ed96a0dba30ed0e450 SHA512 b78843500d1d90ce11e8620fdad9f4a97184ee603a839828c39aad85d5f33bb08bd776f2faaf7c86e364cd4dc4d3166485d74dd66551ce508c9bee22a336d2ee WHIRLPOOL c82b0ffeba8315d1e0e3e7250dba1c3de17e095b68dcd110539920fb6f99ba9f4a4e5ccf3e97e785b15696c5703a546f08c999dda4d71614a0fdf13074e20197
455 +AUX opal-3.12.4-avoid_cflags_mixup.patch 5534 SHA256 13fe54e9d3a4175edcfba8b797c3e320910c52cf6fe8583b0a587c7ea62db6c2 SHA512 a335dbf7363a185627a489f4bf67bc7d08aba45c450ba110f0fb6073df147c7e5e86543d45acf0cfc6f6f5682c283220727356b93b756c59406734ad0c2ba490 WHIRLPOOL 63fcd73d71d2417b48052a4d90cc22c8784c456010905ac8853b2c348aa99a224a3bdd7d759917ae64628d77d4930e89eaf0f56021d8491be124184622bcce9c
456 +AUX opal-3.12.4-java-ruby-swig-fix.patch 828 SHA256 9b85c31d9b7e776b0ade6a7c51be8993ce6945493d3293567800fb5a6aaee7a4 SHA512 4a02b4f23923c689b2b9a4f44fe6e3f01fa5e2fb871ff7bf5e1f4dfe8123db52fc1e7a4939c7383c89535c9b8e3aaf5bf66afd4a5720837c715079230061977f WHIRLPOOL 15707a039007c1d235fd7290ce8b0c4d4fc35eb04c1dd18ffda6408302416984390eebf283343a5c1f953aaa05394ed48b6b2f28cbaa8896decccbe9eaf5bcae
457 +AUX opal-3.14.0-java-ruby-swig-fix.patch 958 SHA256 8725411e57c4a02da2e5c9d896cc041a2d3117a439ba5e1d2bf9f943dc35b0b1 SHA512 b101d864e94d6345f6c525234772017ea7fd54a062b2ea2007523d22d83c9454a494a95779b7532a692ad9a33ed4c7b09ea87f32cc57af83c7939974ad74c43c WHIRLPOOL 60d81e90b27b79cbc44597a74ee42aba39e7f05219610d58cb1ced14e79b143dd1cf383060488908ee805556efb1186a5de9cbb6bed5aa98dc35f75a0788b91c
458 +AUX opal-3.14.0-pmimeinfo_not_declared_fix.patch 368 SHA256 3e4f614c5ae38d17d521690f044ecc6ef03c5cbed4d5a420fd4c5b81306d3c6f SHA512 be69a82159229baef7d178401bff2557712e47794b2f5e1e0b3c4e93c9b006a5356172bb23c0c366c21f8932dbf3b2cea07cf033c4593262b510451965a912d8 WHIRLPOOL 0fd95ec6216d56b5668ffc70b90e95067595e85063a71bf1df2454cf760d7a9870df05fc29ff846fb8721d00ea6eac2ec0f667b141bd10bc253fc7b24b5ded0f
459 +AUX opal-3.6.4-jdkroot.patch 507 SHA256 c2e930565cd91a7ec75a1ed1657ba524dad810ec934ef854c39331388661f2f6 SHA512 7de9d234f322e0e1e9d00ea598d668b37bc8c0a363b0f922e4fc8105eef1bd5b06913eda61166bdbc8d9d0b87beed823a3c4ad3f600e0fd89bec12c36f8b73a9 WHIRLPOOL 563c08a73e803d028e6b022ecf57e3eeeeea33ddcc07135489c4b18853cb1ee08387e9cc436cadcf28abca86283916a1c11f05b8bb497e1d6a48e4c843836d0f
460 +AUX opal-3.6.8-build-fix.patch 992 SHA256 cbd011cf42b7d691f5b8d71e02f5b317d50ea8c51a7b03e38887119dc07b58c8 SHA512 3e890d0133d5cac4bb2fb6616b65e8d92f56634f2f4f3ca44c39a464c3cc37e34c150eaac39541aba82637163e6a27e95744a5e20d6052e0df21a12b7e3262df WHIRLPOOL eba803a9d4c280ca519444d79b7a6bffa5b53b0eea02fb175a9cde2c3260cadd81836a579e51946c393acf4011bb549ae50f0aa1a21e4290ad39abeafd559740
461 +AUX opal-3.6.8-ldflags.patch 7345 SHA256 c7ecb726688eadbb24d09238c86de8874edc488d82503dbc64802d3d8878e411 SHA512 8008b35069cc8da56f958f27ddbe3fef38e157c9e0bd7498e4e5de0a4039f9a3d287ff053eb172296c7b1637d942365ec58214c2e2c3aa59bb098d306dc9d14e WHIRLPOOL 9e013301de6feec67b51f9f8bddd94a2eb0464dcab97fb2a680c3208f955e1e997ed9f5c4a237bdc9dccd59e01f55fb52f040207ba71237c9dfcda9d6a5f2cfb
462 +AUX opal-3.6.8-lid-plugins-ldflags.patch 1146 SHA256 d4c8662afa93b5651f132280edd56ab87253ce91b829cfeff6ac0f322dffbd9b SHA512 ac10efaaa1323ea6f0fdcf54f46fb1a7c6c0c5f3c3d2e7f96ce19a9fe37105d1799842b7dcee07d64b4dca96bc852b80acd6c4d6af380757ec128c1f9c288390 WHIRLPOOL 97fab41a4c5b1c5a36933f154d4aa1b2c6d16ed9d90a7e9bba23850df503164641540a118b2379718c0572ee187c4f4e331051f7fd75df3804c66dcc74824cb9
463 +DIST opal-3.10.10-htmldoc.tar.bz2 3164570 SHA256 3f535ced87022e2ef53598d79611b3ab1a95f8336b36f8529d0aa9a960e37a62 SHA512 ac39b6ef3228b0b27ffce54a72c0af37612ff9e28c0a6e80ab78decadc7192360cb91793b9397dbbc5553343352856ffc85d8607990654369fbebd40ad8113b8 WHIRLPOOL efec7a3ad777d6e0ab49fbdc2cdf936d019298f144546bf7e17a694276c7b1466177c314f722112ab1573634377bdb3bc0cb4a966184f0a13c6992ae853dc41b
464 +DIST opal-3.10.10.tar.bz2 8592083 SHA256 95f1ad3a823d58b3fa945f40b2a50cc5f2ccd5c376bf2a1e624f4013f2473801 SHA512 b279c78dc8c88d113f0a146013c3a57c13d9d01c511ed3df7496f296b88157a59178cd72b8ed61d61198685ebd74dafa139f1c3952cf5aca47f4dec9a52ceddb WHIRLPOOL 12ee687263156eb3151a91bf36a3b0c0acb7ac7c4cc04eddf8fc9fb60c6121433727d007bb78beaa7bda3285c3384ee8f9de9e36c6c354c0decca1d6263342dd
465 +DIST opal-3.10.9-htmldoc.tar.bz2 3163056 SHA256 c7d2b66415cdcc0544e92dfefdbe0cc03b37e498410e3ea524941f1b7080d6d8 SHA512 7c3f959dbf6b8622b4e36c050e6e66fbfd527d5ce852b441dc0325e74e0f622d025225dc0619d08d2bb3afafe434206a82b52dd52a1ae943dcc12efc8719292e WHIRLPOOL e5c7e7af60523935b255b578369231fe510a27137e58d894377728ff9e69230bbcde4d88cb0b60681480279087c1bf5fe4c69a5b947c387deb3a0b9f4f879da1
466 +DIST opal-3.10.9.tar.bz2 8591506 SHA256 f6a1c380df5c82c24ff6cc82c5c6a94868b112d5914395ad8265e30b0005bf2e SHA512 11e67bbbb7903aa176c0563d48c444d6c3df399dc9f1c7cf1ff9124a96fd719e5608d0e091346de3aa2087e04d28116b14c2c60bb92f2fc83584695e2e61ebcc WHIRLPOOL 5790274802f909f428950d3c249abcdfae03f5046381b631c25c7ccc23a34efd07bfd26d77de755741b786ed69cac8c411d7ec9e70286c828595eac4e00d8c4c
467 +DIST opal-3.12.4-htmldoc.tar.bz2 3094840 SHA256 858cd14bf2de54a6aeb5397d8627a7e50ea6b63e18b0f47c057386d079b07fbc SHA512 c80ed1b0df9fffbfc07ea590a0e80afd9b985ed2971deb640e92776723f12e6a544eaf3441261d34df0ad0bbca6b03a983f7a7b0b92fbf333f1a8688d2ca735d WHIRLPOOL e2d5ba8e4429c60003dd995add2aea12b22a2f23da8dd3ed0025fa451752412805d4f25160809542dd8d61684edca35d73174037650b3546cedc97495faa29b9
468 +DIST opal-3.12.4.tar.bz2 9694052 SHA256 2786bc27f83c59d74165e318656ada230164ebcba61f0d8cb1b55bfcd13b2d82 SHA512 83c44dbd077e45a5bf63963b8a5348c24c65e9ab8b25afccacbf4632aa55fce26b6133c8c40f06da90fe73865165509c67b19286e868eada0270adefd3e38733 WHIRLPOOL 3063d5b9d64e690898d60e5e26f3936b28b954ce7fb2a2dc2f78cfde05932efc63ec7874dd73c87561d1a3c3f564837855559ca031121e7d9fe18c25508042d7
469 +DIST opal-3.14.0-htmldoc.tar.bz2 4731999 SHA256 c7cccdcb1034bf8215b2404f07512165bef67ef428c04d652dc98e399509a063 SHA512 941e147d115042b1b7d4e77339b223e8a95850a8f5d508523038be0cdf5320d3ede79674e09b46625e803eb67e64ebbd5ece985d7c73d7c808c4736dea3f25a2 WHIRLPOOL 969769c41ee537330d2e1af9e62f5c23d939f7265eea2a366a7f9385e6d4514374368ebe18afeb875d9729a79c635b38444eaed018cb38e79b5d28d615f75cfa
470 +DIST opal-3.14.0.tar.bz2 11063531 SHA256 214fc77e97aed79916652bb5c6a9f99890c33f52fe116ebf51618815ae245c4a SHA512 9063610a6eb4f864f35851e595e2a201f7b2ec7e4e766001dfc49b239a106710121a6d40f002fb4c35684ca0ac0a0c17b2258a5e2c8b163a42fd70057b37f676 WHIRLPOOL b9612b3c5d196a219e24bcaa5e777f0b991fc50625ea61aaf577b239c673b3f65a116cd0351b0183d42e10d92ddd26b3d499405969fe3acd7fe0edf1d633de9e
471 +DIST opal-3.6.7-htmldoc.tar.bz2 5842269 SHA256 d6c11b162b4b26cfc3df2c2c12b5d8a0e1b2dfa5c6869995b0fafa2f2a716e7b
472 +DIST opal-3.6.8.tar.bz2 6837993 SHA256 8cbfabb33e5c5563fdafacf1adde536c78638d6d020fae496a52e19e2be6a90c SHA512 bc9ce66af9fc7a82fc33403139f138d732b4f3e013b91b711533572036f0d965b19961aa1dcec63efb0ed906e7525eebc972cd106e6011e40d80ae0a0b7e8a51 WHIRLPOOL 031a98a0e0e6c6b51271898cf836dc805a7341b04f018a6604560572054e00402f1cf092d2a8828ba476ba1bb0331cbd34e7bd2b078ecd3cd0a3b51b7adbd5d5
473 +EBUILD opal-3.10.10.ebuild 7576 SHA256 bca735f87d649a085e360487953a38528223efcac005bf639a6c5474af5e36da SHA512 fdceab74c1277c065f55d8f432cb30335e9cc9b12d8e209b2823a4e324880387f24665a2936bd1a6c7638a741f216ec03497b1690f581ea109f53d65b8621443 WHIRLPOOL 7da5dde7bad815072be81e43106670f985859ce9129198ae4ead5bcd23d293fd3c41dd5f30408a030f479bcc6ad90a07f124037872d666e50a6332b53b3047d4
474 +EBUILD opal-3.10.9.ebuild 7499 SHA256 a848325025549d7d03120018307c932d56e49d4b4f69241dc2d6f08da01d2a87 SHA512 2ec660c2e210439aee9d07dbe963aee0352c724d791244d3deaa0209a9e01cd6a8eae01ffda543ffed6879b0fffa5dceb4822f127278f8b67e405283dca4868e WHIRLPOOL 8983c174c7864b50ee4d523d41d7bf34ef5c0ba4efbc11367f236a6b7f8171a8031df8597eb954487ff8ef1547a1557394252cdb52f85f74a6e8a77b9e5e35f6
475 +EBUILD opal-3.12.4.ebuild 7038 SHA256 efeeb3db5056c1df69fbccd2fa97d214d5cb257e72fa3617c9a7dcb94fdf504c SHA512 4b0951eaadf2ecb50481510eb81e3ab1188f0206ab85528ce5e449efbf66974bd6dd2b9304753d7da2e2c70572401f176d270b63b4c9ebdc7412d73fc401403a WHIRLPOOL 882d5838d030d128d6fcb39cc7754eb0120a5f8b2594929f016041c2fa4272318d241d78146b5acdf7c54564c896778a853cd9621aa21db1d53995e4cfa93165
476 +EBUILD opal-3.14.0.ebuild 6618 SHA256 f57015c08ecd271a17b2d8a903562811a1aa094287c8a843c2f9ea5e592f7370 SHA512 29a7c5048a3418c2bfcdaa86e408da54108861240cbfecb88cc43f430df23d1c4ef927777fb0a3c27b1f53938f99da6167b71d34aa65ca9afc740642c9a9c4a4 WHIRLPOOL 11768743929015d0daad31f3e836b54f37458856fe678e6851fda291aef6a9a8872501dbad631b5dd8244b31431e8cb61a8361faa8ad8a5702a9cb8c4ff5c963
477 +EBUILD opal-3.6.8-r2.ebuild 8586 SHA256 0903e0079cd06942bac4eba1facb8dd51da32e98802142596585b71e73053311 SHA512 769ae0f12d768fc2a7f9fbc20130a930000db145ae55e4968f1ecd949e92fa1717a59fb8db27106d76e7d47406eae2a518150769f2039c0fd053b3d29fffe0d3 WHIRLPOOL 45d77148cb4a01ec0cbbaa9c47f4512f527c15dc3ba5b4007fd0bdafc36ac1cc03d16dfe1c54adbfae9fc8606bd004697246573512ccb756d43f9e5fd28ab9a5
478 +MISC ChangeLog 14625 SHA256 c91b5b350334496be7d95d7072e996e5d3e57f7b4bb6cfcc7abede4223d0dd0c SHA512 2c9147249ee66ac6fb50039128b5f4bd198be963965144007eb88c2910c7a0717d78e3e051e9497b4853db4e72a1da7d880d8d0ba6dffa8f51ea71c26b5fc298 WHIRLPOOL d3c5f04bb123017e6bb5d064faf577ea6fe2155bc00e870865f6342f56fb6cd66e8e06d3be03c2f6cefd9006aeb3b0b4fe27e72274ddfca4654bb0ae44c385f6
479 +MISC metadata.xml 1983 SHA256 f969f663ec04d6d49561f82dcee92da943f4ac35c9db43e61e0e6475837e73e5 SHA512 91798e7a3581515ecb1beea68c5021e3dc9674792d695e46181b2dc055968ff06536a7e0a7a4c39015f330b4d7132df7c405a20e467f1ff753292f8b3d62fe76 WHIRLPOOL e9d062f3d78057bee270f365187212bede3b1906e74aaf7498fd3bcbd2133813b7f7cfbf01e791fa11e031771f6c1d44f4041431d45729ea38b584815ca86072
480
481 diff --git a/net-libs/opal/files/opal-2.1.1-notrace.diff b/net-libs/opal/files/opal-2.1.1-notrace.diff
482 new file mode 100644
483 index 0000000..e03eaa4
484 --- /dev/null
485 +++ b/net-libs/opal/files/opal-2.1.1-notrace.diff
486 @@ -0,0 +1,11 @@
487 +--- opal_v2_1_1/Makefile.in.orig 2005-09-04 03:40:12.000000000 +0000
488 ++++ opal_v2_1_1/Makefile.in 2005-09-04 03:40:49.000000000 +0000
489 +@@ -176,7 +176,7 @@
490 +
491 + OPAL_OBJDIR = $(OPAL_LIBDIR)/$(PT_OBJBASE)
492 + ifdef NOTRACE
493 +-OPAL_OBJDIR += n
494 ++OBJDIR_SUFFIX := n
495 + endif
496 +
497 +
498
499 diff --git a/net-libs/opal/files/opal-3.10.9-avoid_cflags_mixup.patch b/net-libs/opal/files/opal-3.10.9-avoid_cflags_mixup.patch
500 new file mode 100644
501 index 0000000..7f9a3b5
502 --- /dev/null
503 +++ b/net-libs/opal/files/opal-3.10.9-avoid_cflags_mixup.patch
504 @@ -0,0 +1,131 @@
505 +diff -uNr opal-3.10.8.orig/plugins/plugin-inc.mak.in opal-3.10.8/plugins/plugin-inc.mak.in
506 +--- opal-3.10.8.orig/plugins/plugin-inc.mak.in 2012-10-24 12:07:31.000000000 -0400
507 ++++ opal-3.10.8/plugins/plugin-inc.mak.in 2012-10-24 12:09:22.000000000 -0400
508 +@@ -31,11 +31,13 @@
509 + CC := @CC@
510 + CXX := @CXX@
511 + CFLAGS += @CFLAGS@ -I@prefix@/include -I$(PLUGINDIR)/../include -I$(PLUGINDIR)
512 ++CXXFLAGS += @CXXFLAGS@ -I@prefix@/include -I$(PLUGINDIR)/../include -I$(PLUGINDIR)
513 + LDFLAGS += @LDFLAGS@ @LDSO@
514 + PLUGINEXT :=@PLUGINEXT@
515 +
516 + ifneq ($(DEBUG),)
517 + CFLAGS += -g
518 ++CXXFLAGS += -g
519 + endif
520 +
521 + OBJDIR := $(PLUGINDIR)/../lib_@OSTYPE@_@MACHTYPE@/plugins/$(BASENAME)
522 +@@ -64,11 +66,11 @@
523 +
524 + $(OBJDIR)/%.o : %.cxx
525 + @mkdir -p $(OBJDIR) >/dev/null 2>&1
526 +- $(Q_CC)$(CXX) -c $(CXXFLAGS) $(CFLAGS) -o $@ $<
527 ++ $(Q_CC)$(CXX) -c $(CXXFLAGS) -o $@ $<
528 +
529 + $(OBJDIR)/%.o : %.cpp
530 + @mkdir -p $(OBJDIR) >/dev/null 2>&1
531 +- $(Q_CC)$(CXX) -c $(CXXFLAGS) $(CFLAGS) -o $@ $<
532 ++ $(Q_CC)$(CXX) -c $(CXXFLAGS) -o $@ $<
533 +
534 + OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.cxx,%.o,$(patsubst %.cpp,%.o,$(patsubst %.c,%.o,$(notdir $(SRCS))))))
535 +
536 +diff -uNr opal-3.10.8.orig/plugins/video/H.261-vic/Makefile.in opal-3.10.8/plugins/video/H.261-vic/Makefile.in
537 +--- opal-3.10.8.orig/plugins/video/H.261-vic/Makefile.in 2012-10-24 12:07:46.000000000 -0400
538 ++++ opal-3.10.8/plugins/video/H.261-vic/Makefile.in 2012-10-24 12:04:10.000000000 -0400
539 +@@ -39,7 +39,7 @@
540 + $(SRCDIR)/bv.c \
541 +
542 +
543 +-CFLAGS += -I$(COMMONDIR)
544 ++CXXFLAGS += -I$(COMMONDIR)
545 +
546 + INSTALL_DIR := @VC_PLUGIN_DIR@
547 + PLUGINDIR := @PLUGINDIR@
548 +diff -uNr opal-3.10.8.orig/plugins/video/H.263-1998/Makefile.in opal-3.10.8/plugins/video/H.263-1998/Makefile.in
549 +--- opal-3.10.8.orig/plugins/video/H.263-1998/Makefile.in 2012-10-24 12:08:02.000000000 -0400
550 ++++ opal-3.10.8/plugins/video/H.263-1998/Makefile.in 2012-10-24 12:04:00.000000000 -0400
551 +@@ -34,12 +34,12 @@
552 + $(COMMONDIR)/mpi.cxx \
553 + $(COMMONDIR)/dyna.cxx
554 +
555 +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
556 ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
557 + LIBS += @DL_LIBS@
558 +
559 + HAVE_LIBAVCODEC_RTP_MODE=@HAVE_LIBAVCODEC_RTP_MODE@
560 + ifeq ($(HAVE_LIBAVCODEC_RTP_MODE),yes)
561 +-CFLAGS += -DLIBAVCODEC_RTP_MODE=1
562 ++CXXFLAGS += -DLIBAVCODEC_RTP_MODE=1
563 + endif
564 +
565 + vpath %.cxx $(COMMONDIR)
566 +diff -uNr opal-3.10.8.orig/plugins/video/H.264/gpl/Makefile.in opal-3.10.8/plugins/video/H.264/gpl/Makefile.in
567 +--- opal-3.10.8.orig/plugins/video/H.264/gpl/Makefile.in 2012-10-24 12:06:15.000000000 -0400
568 ++++ opal-3.10.8/plugins/video/H.264/gpl/Makefile.in 2012-10-24 12:11:11.000000000 -0400
569 +@@ -47,6 +47,7 @@
570 + CC =@CC@
571 + CXX =@CXX@
572 + CFLAGS =@X264_CFLAGS@ -I.. -I$(PLUGINDIR) -I$(OPALDIR)/include -DGPL_HELPER_APP -DPLUGINCODEC_TRACING
573 ++CXXFLAGS =@X264_CFLAGS@ -I.. -I$(PLUGINDIR) -I$(OPALDIR)/include -DGPL_HELPER_APP -DPLUGINCODEC_TRACING
574 + LDFLAGS =@LDFLAGS@ @X264_LIBS@
575 +
576 +
577 +@@ -59,7 +60,7 @@
578 +
579 + $(OBJDIR)/%.o : %.cxx
580 + @mkdir -p $(OBJDIR) >/dev/null 2>&1
581 +- $(Q_CC)$(CXX) $(CFLAGS) -c $< -o $@
582 ++ $(Q_CC)$(CXX) $(CXXFLAGS) -c $< -o $@
583 +
584 + $(OBJDIR)/%.o : %.c
585 + @mkdir -p $(OBJDIR) >/dev/null 2>&1
586 +diff -uNr opal-3.10.8.orig/plugins/video/H.264/Makefile.in opal-3.10.8/plugins/video/H.264/Makefile.in
587 +--- opal-3.10.8.orig/plugins/video/H.264/Makefile.in 2012-10-24 12:08:17.000000000 -0400
588 ++++ opal-3.10.8/plugins/video/H.264/Makefile.in 2012-10-24 12:04:29.000000000 -0400
589 +@@ -34,12 +34,12 @@
590 + $(SHAREDDIR)/x264wrap.cxx \
591 + $(COMMONDIR)/dyna.cxx \
592 +
593 +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) -DLIB_DIR='"$(libdir)"' -DVC_PLUGIN_DIR='"@VC_PLUGIN_DIR@"'
594 ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) -DLIB_DIR='"$(libdir)"' -DVC_PLUGIN_DIR='"@VC_PLUGIN_DIR@"'
595 + LIBS += @DL_LIBS@
596 +
597 + IS_H264_LICENSED:=@IS_H264_LICENSED@
598 + ifeq ($(IS_H264_LICENSED),yes)
599 +- CFLAGS += @X264_CFLAGS@ -DX264_LICENSED
600 ++ CXXFLAGS += @X264_CFLAGS@ -DX264_LICENSED
601 + LIBS += @X264_LIBS@
602 + else
603 + SUBDIRS := gpl
604 +diff -uNr opal-3.10.8.orig/plugins/video/MPEG4-ffmpeg/Makefile.in opal-3.10.8/plugins/video/MPEG4-ffmpeg/Makefile.in
605 +--- opal-3.10.8.orig/plugins/video/MPEG4-ffmpeg/Makefile.in 2012-10-24 12:08:36.000000000 -0400
606 ++++ opal-3.10.8/plugins/video/MPEG4-ffmpeg/Makefile.in 2012-10-24 12:04:45.000000000 -0400
607 +@@ -30,14 +30,14 @@
608 + SRCDIR := .
609 + SRCS := mpeg4.cxx $(COMMONDIR)/dyna.cxx
610 +
611 +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
612 ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
613 + LIBS += @DL_LIBS@
614 +
615 + # Add LIBAVCODEC_SOURCE_DIR to the include path so we can #include <libavcodec/...h>
616 + # Also add libavutil, so ffmpeg headers can #include "log.h".
617 + LIBAVCODEC_SOURCE_DIR := @LIBAVCODEC_SOURCE_DIR@
618 + ifneq (,$(LIBAVCODEC_SOURCE_DIR))
619 +-CFLAGS += -I$(LIBAVCODEC_SOURCE_DIR) -I$(LIBAVCODEC_SOURCE_DIR)/libavutil
620 ++CXXFLAGS += -I$(LIBAVCODEC_SOURCE_DIR) -I$(LIBAVCODEC_SOURCE_DIR)/libavutil
621 + endif
622 +
623 + vpath %.cxx $(COMMONDIR)
624 +diff -uNr opal-3.10.8.orig/plugins/video/THEORA/Makefile.in opal-3.10.8/plugins/video/THEORA/Makefile.in
625 +--- opal-3.10.8.orig/plugins/video/THEORA/Makefile.in 2012-10-24 12:08:47.000000000 -0400
626 ++++ opal-3.10.8/plugins/video/THEORA/Makefile.in 2012-10-24 12:05:00.000000000 -0400
627 +@@ -30,7 +30,7 @@
628 + SRCDIR := .
629 + SRCS := theora_frame.cxx theora_plugin.cxx
630 +
631 +-CFLAGS += @THEORA_CFLAGS@ -I$(COMMONDIR)
632 ++CXXFLAGS += @THEORA_CFLAGS@ -I$(COMMONDIR)
633 + LIBS += @THEORA_LIBS@
634 +
635 + INSTALL_DIR := @VC_PLUGIN_DIR@
636
637 diff --git a/net-libs/opal/files/opal-3.10.9-disable-h323-workaround.patch b/net-libs/opal/files/opal-3.10.9-disable-h323-workaround.patch
638 new file mode 100644
639 index 0000000..3d17615
640 --- /dev/null
641 +++ b/net-libs/opal/files/opal-3.10.9-disable-h323-workaround.patch
642 @@ -0,0 +1,13 @@
643 +# Sent to upstream on 2012-10-23
644 +# By Jesus Rivero <neurogeek@g.o>
645 +diff -uNr opal-3.10.8.orig/include/h323/h323.h opal-3.10.8/include/h323/h323.h
646 +--- opal-3.10.8.orig/include/h323/h323.h 2012-10-22 07:50:37.000000000 -0400
647 ++++ opal-3.10.8/include/h323/h323.h 2012-10-23 14:10:37.000000000 -0400
648 +@@ -40,6 +40,7 @@
649 + #include <h323/h323con.h>
650 + #include <h323/gkclient.h>
651 + #include <opal/buildopts.h>
652 ++#include <ptlib.h>
653 +
654 + PString OpalGetVersion();
655 + unsigned OpalGetMajorVersion();
656
657 diff --git a/net-libs/opal/files/opal-3.10.9-ffmpeg.patch b/net-libs/opal/files/opal-3.10.9-ffmpeg.patch
658 new file mode 100644
659 index 0000000..1860865
660 --- /dev/null
661 +++ b/net-libs/opal/files/opal-3.10.9-ffmpeg.patch
662 @@ -0,0 +1,189 @@
663 +Note: This is not optimal but is backported from what is in the 3.12 branch.
664 +
665 +
666 +r28871 | rjongbloed | 2013-01-13 02:18:43 -0300 (Sun, 13 Jan 2013) | 2 lines
667 +
668 +Fixed compile against latest FFMPEG, specifically Mac OS-X "port" version. Have no idea what all the deprecated symbols are replaced by!
669 +
670 +Index: opal-3.10.9/plugins/video/H.263-1998/h263-1998.cxx
671 +===================================================================
672 +--- opal-3.10.9.orig/plugins/video/H.263-1998/h263-1998.cxx
673 ++++ opal-3.10.9/plugins/video/H.263-1998/h263-1998.cxx
674 +@@ -312,6 +312,7 @@ void H263_Base_EncoderContext::SetOption
675 + return;
676 + }
677 +
678 ++#ifdef CODEC_FLAG_H263P_UMV
679 + if (STRCMPI(option, H263_ANNEX_D) == 0) {
680 + // Annex D: Unrestructed Motion Vectors
681 + // Level 2+
682 +@@ -322,7 +323,9 @@ void H263_Base_EncoderContext::SetOption
683 + m_context->flags &= ~CODEC_FLAG_H263P_UMV;
684 + return;
685 + }
686 ++#endif
687 +
688 ++#ifdef CODEC_FLAG_OBMC
689 + #if 0 // DO NOT ENABLE THIS FLAG. FFMPEG IS NOT THREAD_SAFE WHEN THIS FLAG IS SET
690 + if (STRCMPI(option, H263_ANNEX_F) == 0) {
691 + // Annex F: Advanced Prediction Mode
692 +@@ -334,7 +337,9 @@ void H263_Base_EncoderContext::SetOption
693 + return;
694 + }
695 + #endif
696 ++#endif
697 +
698 ++#ifdef CODEC_FLAG_AC_PRED
699 + if (STRCMPI(option, H263_ANNEX_I) == 0) {
700 + // Annex I: Advanced Intra Coding
701 + // Level 3+
702 +@@ -345,7 +350,9 @@ void H263_Base_EncoderContext::SetOption
703 + m_context->flags &= ~CODEC_FLAG_AC_PRED;
704 + return;
705 + }
706 ++#endif
707 +
708 ++#ifdef CODEC_FLAG_LOOP_FILTER
709 + if (STRCMPI(option, H263_ANNEX_J) == 0) {
710 + // Annex J: Deblocking Filter
711 + // works with eyeBeam
712 +@@ -355,7 +362,9 @@ void H263_Base_EncoderContext::SetOption
713 + m_context->flags &= ~CODEC_FLAG_LOOP_FILTER;
714 + return;
715 + }
716 ++#endif
717 +
718 ++#ifdef CODEC_FLAG_H263P_SLICE_STRUCT
719 + if (STRCMPI(option, H263_ANNEX_K) == 0) {
720 + // Annex K: Slice Structure
721 + // does not work with eyeBeam
722 +@@ -365,7 +374,9 @@ void H263_Base_EncoderContext::SetOption
723 + m_context->flags &= ~CODEC_FLAG_H263P_SLICE_STRUCT;
724 + return;
725 + }
726 ++#endif
727 +
728 ++#ifdef CODEC_FLAG_H263P_AIV
729 + if (STRCMPI(option, H263_ANNEX_S) == 0) {
730 + // Annex S: Alternative INTER VLC mode
731 + // does not work with eyeBeam
732 +@@ -375,6 +386,7 @@ void H263_Base_EncoderContext::SetOption
733 + m_context->flags &= ~CODEC_FLAG_H263P_AIV;
734 + return;
735 + }
736 ++#endif
737 +
738 + if (STRCMPI(option, PLUGINCODEC_MEDIA_PACKETIZATION) == 0 ||
739 + STRCMPI(option, PLUGINCODEC_MEDIA_PACKETIZATIONS) == 0) {
740 +@@ -452,12 +464,24 @@ bool H263_Base_EncoderContext::OpenCodec
741 +
742 + #define CODEC_TRACER_FLAG(tracer, flag) \
743 + PTRACE(4, m_prefix, #flag " is " << ((m_context->flags & flag) ? "enabled" : "disabled"));
744 ++#ifdef CODEC_FLAG_H263P_UMV
745 + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_UMV);
746 ++#endif
747 ++#ifdef CODEC_FLAG_OBMC
748 + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_OBMC);
749 ++#endif
750 ++#ifdef CODEC_FLAG_AC_PRED
751 + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_AC_PRED);
752 ++#endif
753 ++#ifdef CODEC_FLAG_H263P_SLICE_STRUCT
754 + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_SLICE_STRUCT)
755 ++#endif
756 ++#ifdef CODEC_FLAG_LOOP_FILTER
757 + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_LOOP_FILTER);
758 ++#endif
759 ++#ifdef CODEC_FLAG_H263P_AIV
760 + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_AIV);
761 ++#endif
762 +
763 + return FFMPEGLibraryInstance.AvcodecOpen(m_context, m_codec) == 0;
764 + }
765 +@@ -521,7 +545,7 @@ bool H263_Base_EncoderContext::EncodeFra
766 +
767 + // Need to copy to local buffer to guarantee 16 byte alignment
768 + memcpy(m_inputFrame->data[0], OPAL_VIDEO_FRAME_DATA_PTR(header), header->width*header->height*3/2);
769 +- m_inputFrame->pict_type = (flags & PluginCodec_CoderForceIFrame) ? FF_I_TYPE : AV_PICTURE_TYPE_NONE;
770 ++ m_inputFrame->pict_type = (flags & PluginCodec_CoderForceIFrame) ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_NONE;
771 +
772 + /*
773 + m_inputFrame->pts = (int64_t)srcRTP.GetTimestamp()*m_context->time_base.den/m_context->time_base.num/VIDEO_CLOCKRATE;
774 +@@ -603,13 +627,21 @@ bool H263_RFC2190_EncoderContext::Init()
775 + m_context->rtp_callback = &H263_RFC2190_EncoderContext::RTPCallBack;
776 + m_context->opaque = this; // used to separate out packets from different encode threads
777 +
778 ++#ifdef CODEC_FLAG_H263P_UMV
779 + m_context->flags &= ~CODEC_FLAG_H263P_UMV;
780 ++#endif
781 ++#ifdef CODEC_FLAG_4MV
782 + m_context->flags &= ~CODEC_FLAG_4MV;
783 +-#if LIBAVCODEC_RTP_MODE
784 ++#endif
785 ++#if LIBAVCODEC_RTP_MODE && defined(CODEC_FLAG_H263P_AIC)
786 + m_context->flags &= ~CODEC_FLAG_H263P_AIC;
787 + #endif
788 ++#ifdef CODEC_FLAG_H263P_AIV
789 + m_context->flags &= ~CODEC_FLAG_H263P_AIV;
790 ++#endif
791 ++#ifdef CODEC_FLAG_H263P_SLICE_STRUCT
792 + m_context->flags &= ~CODEC_FLAG_H263P_SLICE_STRUCT;
793 ++#endif
794 +
795 + return true;
796 + }
797 +Index: opal-3.10.9/plugins/video/H.264/h264-x264.cxx
798 +===================================================================
799 +--- opal-3.10.9.orig/plugins/video/H.264/h264-x264.cxx
800 ++++ opal-3.10.9/plugins/video/H.264/h264-x264.cxx
801 +@@ -1071,13 +1071,13 @@ class MyDecoder : public PluginCodec<MY_
802 + return false;
803 +
804 + m_context->workaround_bugs = FF_BUG_AUTODETECT;
805 ++#ifdef FF_ER_AGGRESSIVE
806 + m_context->error_recognition = FF_ER_AGGRESSIVE;
807 ++#endif
808 + m_context->idct_algo = FF_IDCT_H264;
809 + m_context->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK;
810 + m_context->flags = CODEC_FLAG_INPUT_PRESERVED | CODEC_FLAG_EMU_EDGE;
811 +- m_context->flags2 = CODEC_FLAG2_BRDO |
812 +- CODEC_FLAG2_MEMC_ONLY |
813 +- CODEC_FLAG2_DROP_FRAME_TIMECODE |
814 ++ m_context->flags2 = CODEC_FLAG2_DROP_FRAME_TIMECODE |
815 + CODEC_FLAG2_SKIP_RD |
816 + CODEC_FLAG2_CHUNKS;
817 +
818 +Index: opal-3.10.9/plugins/video/MPEG4-ffmpeg/mpeg4.cxx
819 +===================================================================
820 +--- opal-3.10.9.orig/plugins/video/MPEG4-ffmpeg/mpeg4.cxx
821 ++++ opal-3.10.9/plugins/video/MPEG4-ffmpeg/mpeg4.cxx
822 +@@ -594,12 +594,10 @@ void MPEG4EncoderContext::SetStaticEncod
823 + #else
824 + m_avcontext->max_b_frames=0; /*don't use b frames*/
825 + m_avcontext->flags|=CODEC_FLAG_AC_PRED;
826 +- m_avcontext->flags|=CODEC_FLAG_H263P_UMV;
827 + /*c->flags|=CODEC_FLAG_QPEL;*/ /*don't enable this one: this forces profile_level to advanced simple profile */
828 + m_avcontext->flags|=CODEC_FLAG_4MV;
829 + m_avcontext->flags|=CODEC_FLAG_GMC;
830 + m_avcontext->flags|=CODEC_FLAG_LOOP_FILTER;
831 +- m_avcontext->flags|=CODEC_FLAG_H263P_SLICE_STRUCT;
832 + #endif
833 + m_avcontext->opaque = this; // for use in RTP callback
834 + }
835 +@@ -804,7 +802,7 @@ int MPEG4EncoderContext::EncodeFrames(co
836 + // Should the next frame be an I-Frame?
837 + if ((flags & PluginCodec_CoderForceIFrame) || (m_frameNum == 0))
838 + {
839 +- m_avpicture->pict_type = FF_I_TYPE;
840 ++ m_avpicture->pict_type = AV_PICTURE_TYPE_I;
841 + }
842 + else // No IFrame requested, let avcodec decide what to do
843 + {
844 +@@ -1325,7 +1323,6 @@ void MPEG4DecoderContext::SetFrameHeight
845 +
846 + void MPEG4DecoderContext::SetStaticDecodingParams() {
847 + m_avcontext->flags |= CODEC_FLAG_4MV;
848 +- m_avcontext->flags |= CODEC_FLAG_PART;
849 + m_avcontext->workaround_bugs = 0; // no workaround for buggy implementations
850 + }
851 +
852
853 diff --git a/net-libs/opal/files/opal-3.10.9-java-ruby-swig-fix.patch b/net-libs/opal/files/opal-3.10.9-java-ruby-swig-fix.patch
854 new file mode 100644
855 index 0000000..6570863
856 --- /dev/null
857 +++ b/net-libs/opal/files/opal-3.10.9-java-ruby-swig-fix.patch
858 @@ -0,0 +1,29 @@
859 +diff -uNr opal-3.10.9.orig/Makefile.in opal-3.10.9/Makefile.in
860 +--- opal-3.10.9.orig/Makefile.in 2012-12-03 11:09:17.000000000 -0500
861 ++++ opal-3.10.9/Makefile.in 2012-12-03 11:09:35.000000000 -0500
862 +@@ -371,9 +371,9 @@
863 + ifeq ($(OPAL_JAVA), yes)
864 +
865 + JAVA_SRCDIR = $(OPAL_SRCDIR)/java
866 +-JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.c
867 ++JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.cxx
868 +
869 +-VPATH_C += $(JAVA_SRCDIR)
870 ++VPATH_CXX += $(JAVA_SRCDIR)
871 + SOURCES += $(JAVA_WRAPPER)
872 +
873 + endif
874 +@@ -384,10 +384,10 @@
875 +
876 + ifeq ($(OPAL_RUBY), yes)
877 +
878 +-RUBY_SRCDIR = $(OPAL_SRCDIR)/ruby
879 +-RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.c
880 ++RUBY_SRCDIR = $(OPAL_SRCDIR)/Ruby
881 ++RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.cxx
882 +
883 +-VPATH_C += $(RUBY_SRCDIR)
884 ++VPATH_CXX += $(RUBY_SRCDIR)
885 + SOURCES += $(RUBY_WRAPPER)
886 +
887 + endif
888
889 diff --git a/net-libs/opal/files/opal-3.10.9-labs_is_in_stdlib.patch b/net-libs/opal/files/opal-3.10.9-labs_is_in_stdlib.patch
890 new file mode 100644
891 index 0000000..ac8a7ef
892 --- /dev/null
893 +++ b/net-libs/opal/files/opal-3.10.9-labs_is_in_stdlib.patch
894 @@ -0,0 +1,11 @@
895 +diff -uNr opal-3.10.8.orig/plugins/audio/G.722.2/AMR-WB/dec_lpc.c opal-3.10.8/plugins/audio/G.722.2/AMR-WB/dec_lpc.c
896 +--- opal-3.10.8.orig/plugins/audio/G.722.2/AMR-WB/dec_lpc.c 2012-10-22 07:50:37.000000000 -0400
897 ++++ opal-3.10.8/plugins/audio/G.722.2/AMR-WB/dec_lpc.c 2012-10-22 10:20:49.000000000 -0400
898 +@@ -3,6 +3,7 @@
899 + * 3GPP AMR Wideband Floating-point Speech Codec
900 + *===================================================================
901 + */
902 ++#include <stdlib.h>
903 + #include <math.h>
904 + #include "typedef.h"
905 + #include "dec_util.h"
906
907 diff --git a/net-libs/opal/files/opal-3.10.9-svn_revision_override.patch b/net-libs/opal/files/opal-3.10.9-svn_revision_override.patch
908 new file mode 100644
909 index 0000000..c2a15b1
910 --- /dev/null
911 +++ b/net-libs/opal/files/opal-3.10.9-svn_revision_override.patch
912 @@ -0,0 +1,15 @@
913 +diff -uNr opal-3.10.8.orig/src/opal/manager.cxx opal-3.10.8/src/opal/manager.cxx
914 +--- opal-3.10.8.orig/src/opal/manager.cxx 2012-10-22 07:50:36.000000000 -0400
915 ++++ opal-3.10.8/src/opal/manager.cxx 2012-10-22 08:30:45.000000000 -0400
916 +@@ -56,7 +56,10 @@
917 + #include <ptclib/url.h>
918 +
919 + #include "../../version.h"
920 +-#include "../../revision.h"
921 ++
922 ++# define SVN_REVISION 0
923 ++//#include "../../revision.h"
924 ++
925 +
926 +
927 + static const char * const DefaultMediaFormatOrder[] = {
928
929 diff --git a/net-libs/opal/files/opal-3.12.4-avoid_cflags_mixup.patch b/net-libs/opal/files/opal-3.12.4-avoid_cflags_mixup.patch
930 new file mode 100644
931 index 0000000..2468611
932 --- /dev/null
933 +++ b/net-libs/opal/files/opal-3.12.4-avoid_cflags_mixup.patch
934 @@ -0,0 +1,132 @@
935 +diff -urN opal-3.12.4.old/plugins/plugin-inc.mak.in opal-3.12.4/plugins/plugin-inc.mak.in
936 +--- opal-3.12.4.old/plugins/plugin-inc.mak.in 2013-06-22 21:14:01.528580888 +0200
937 ++++ opal-3.12.4/plugins/plugin-inc.mak.in 2013-06-22 21:14:42.652579425 +0200
938 +@@ -32,11 +32,13 @@
939 + CXX := @CXX@
940 + INSTALL := @INSTALL@
941 + CFLAGS += @CFLAGS@ -I@prefix@/include -I$(PLUGINDIR)/../include -I$(PLUGINDIR)
942 ++CXXFLAGS += @CXXFLAGS@ -I@prefix@/include -I$(PLUGINDIR)/../include -I$(PLUGINDIR)
943 + LDFLAGS += @LDFLAGS@ @LDSO@
944 + PLUGINEXT :=@PLUGINEXT@
945 +
946 + ifneq ($(DEBUG),)
947 + CFLAGS += -g
948 ++CXXFLAGS += -g
949 + endif
950 +
951 + OBJDIR := $(PLUGINDIR)/../lib_@target@/plugins/$(BASENAME)
952 +@@ -65,11 +67,11 @@
953 +
954 + $(OBJDIR)/%.o : %.cxx
955 + @mkdir -p $(OBJDIR) >/dev/null 2>&1
956 +- $(Q_CC)$(CXX) -c $(CXXFLAGS) $(CFLAGS) -o $@ $<
957 ++ $(Q_CC)$(CXX) -c $(CXXFLAGS) -o $@ $<
958 +
959 + $(OBJDIR)/%.o : %.cpp
960 + @mkdir -p $(OBJDIR) >/dev/null 2>&1
961 +- $(Q_CC)$(CXX) -c $(CXXFLAGS) $(CFLAGS) -o $@ $<
962 ++ $(Q_CC)$(CXX) -c $(CXXFLAGS) -o $@ $<
963 +
964 + OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.cxx,%.o,$(patsubst %.cpp,%.o,$(patsubst %.c,%.o,$(notdir $(SRCS))))))
965 +
966 +diff -urN opal-3.12.4.old/plugins/video/H.261-vic/Makefile.in opal-3.12.4/plugins/video/H.261-vic/Makefile.in
967 +--- opal-3.12.4.old/plugins/video/H.261-vic/Makefile.in 2013-06-22 21:14:01.503580889 +0200
968 ++++ opal-3.12.4/plugins/video/H.261-vic/Makefile.in 2013-06-22 21:14:42.652579425 +0200
969 +@@ -39,7 +39,7 @@
970 + $(SRCDIR)/bv.c \
971 +
972 +
973 +-CFLAGS += -I$(COMMONDIR)
974 ++CXXFLAGS += -I$(COMMONDIR)
975 +
976 + INSTALL_DIR := @VC_PLUGIN_DIR@
977 + PLUGINDIR := @PLUGINDIR@
978 +diff -urN opal-3.12.4.old/plugins/video/H.263-1998/Makefile.in opal-3.12.4/plugins/video/H.263-1998/Makefile.in
979 +--- opal-3.12.4.old/plugins/video/H.263-1998/Makefile.in 2013-06-22 21:14:01.499580889 +0200
980 ++++ opal-3.12.4/plugins/video/H.263-1998/Makefile.in 2013-06-22 21:16:18.196576026 +0200
981 +@@ -34,12 +34,12 @@
982 + $(COMMONDIR)/ffmpeg.cxx \
983 + $(COMMONDIR)/dyna.cxx
984 +
985 +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
986 ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
987 + LIBS += @LIBAVCODEC_LIBS@ @LIBAVUTIL_LIBS@
988 +
989 + HAVE_LIBAVCODEC_RTP_MODE=@HAVE_LIBAVCODEC_RTP_MODE@
990 + ifeq ($(HAVE_LIBAVCODEC_RTP_MODE),yes)
991 +-CFLAGS += -DLIBAVCODEC_RTP_MODE=1
992 ++CXXFLAGS += -DLIBAVCODEC_RTP_MODE=1
993 + endif
994 +
995 + vpath %.cxx $(COMMONDIR)
996 +diff -urN opal-3.12.4.old/plugins/video/H.264/gpl/Makefile.in opal-3.12.4/plugins/video/H.264/gpl/Makefile.in
997 +--- opal-3.12.4.old/plugins/video/H.264/gpl/Makefile.in 2013-06-22 21:14:01.500580889 +0200
998 ++++ opal-3.12.4/plugins/video/H.264/gpl/Makefile.in 2013-06-22 21:16:35.515575410 +0200
999 +@@ -48,7 +48,7 @@
1000 +
1001 + CC =@CC@
1002 + CXX =@CXX@
1003 +-CFLAGS =@X264_CFLAGS@ @LIBAVCODEC_CFLAGS@ -I.. -I$(PLUGINDIR) -I$(OPALDIR)/include -DGPL_HELPER_APP -DPLUGINCODEC_TRACING
1004 ++CXXFLAGS =@X264_CFLAGS@ @LIBAVCODEC_CFLAGS@ -I.. -I$(PLUGINDIR) -I$(OPALDIR)/include -DGPL_HELPER_APP -DPLUGINCODEC_TRACING
1005 + LDFLAGS = @X264_LIBS@ @LIBAVCODEC_LIBS@ @LIBAVUTIL_LIBS@ @DL_LIBS@ @LDFLAGS@
1006 +
1007 +
1008 +@@ -61,7 +61,7 @@
1009 +
1010 + $(OBJDIR)/%.o : %.cxx
1011 + @mkdir -p $(OBJDIR) >/dev/null 2>&1
1012 +- $(Q_CC)$(CXX) $(CFLAGS) -c $< -o $@
1013 ++ $(Q_CC)$(CXX) $(CXXFLAGS) -c $< -o $@
1014 +
1015 + $(OBJDIR)/%.o : %.c
1016 + @mkdir -p $(OBJDIR) >/dev/null 2>&1
1017 +diff -urN opal-3.12.4.old/plugins/video/H.264/Makefile.in opal-3.12.4/plugins/video/H.264/Makefile.in
1018 +--- opal-3.12.4.old/plugins/video/H.264/Makefile.in 2013-06-22 21:14:01.500580889 +0200
1019 ++++ opal-3.12.4/plugins/video/H.264/Makefile.in 2013-06-22 21:16:52.874574792 +0200
1020 +@@ -35,12 +35,12 @@
1021 + $(COMMONDIR)/ffmpeg.cxx \
1022 + $(COMMONDIR)/dyna.cxx
1023 +
1024 +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) -DLIB_DIR='"$(libdir)"' -DVC_PLUGIN_DIR='"@VC_PLUGIN_DIR@"'
1025 ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) -DLIB_DIR='"$(libdir)"' -DVC_PLUGIN_DIR='"@VC_PLUGIN_DIR@"'
1026 + LIBS += @LIBAVCODEC_LIBS@ @LIBAVUTIL_LIBS@
1027 +
1028 + IS_H264_LICENSED:=@IS_H264_LICENSED@
1029 + ifeq ($(IS_H264_LICENSED),yes)
1030 +- CFLAGS += @X264_CFLAGS@ -DX264_LICENSED
1031 ++ CXXFLAGS += @X264_CFLAGS@ -DX264_LICENSED
1032 + LIBS += @X264_LIBS@
1033 + else
1034 + SUBDIRS := gpl
1035 +diff -urN opal-3.12.4.old/plugins/video/MPEG4-ffmpeg/Makefile.in opal-3.12.4/plugins/video/MPEG4-ffmpeg/Makefile.in
1036 +--- opal-3.12.4.old/plugins/video/MPEG4-ffmpeg/Makefile.in 2013-06-22 21:14:01.499580889 +0200
1037 ++++ opal-3.12.4/plugins/video/MPEG4-ffmpeg/Makefile.in 2013-06-22 21:15:53.183576916 +0200
1038 +@@ -32,14 +32,14 @@
1039 + $(COMMONDIR)/ffmpeg.cxx \
1040 + $(COMMONDIR)/dyna.cxx
1041 +
1042 +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
1043 ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
1044 + LIBS += @LIBAVCODEC_LIBS@ @LIBAVUTIL_LIBS@
1045 +
1046 + # Add LIBAVCODEC_SOURCE_DIR to the include path so we can #include <libavcodec/...h>
1047 + # Also add libavutil, so ffmpeg headers can #include "log.h".
1048 + LIBAVCODEC_SOURCE_DIR := @LIBAVCODEC_SOURCE_DIR@
1049 + ifneq (,$(LIBAVCODEC_SOURCE_DIR))
1050 +-CFLAGS += -I$(LIBAVCODEC_SOURCE_DIR) -I$(LIBAVCODEC_SOURCE_DIR)/libavutil
1051 ++CXXFLAGS += -I$(LIBAVCODEC_SOURCE_DIR) -I$(LIBAVCODEC_SOURCE_DIR)/libavutil
1052 + endif
1053 +
1054 + vpath %.cxx $(COMMONDIR)
1055 +diff -urN opal-3.12.4.old/plugins/video/THEORA/Makefile.in opal-3.12.4/plugins/video/THEORA/Makefile.in
1056 +--- opal-3.12.4.old/plugins/video/THEORA/Makefile.in 2013-06-22 21:14:01.503580889 +0200
1057 ++++ opal-3.12.4/plugins/video/THEORA/Makefile.in 2013-06-22 21:14:42.654579425 +0200
1058 +@@ -30,7 +30,7 @@
1059 + SRCDIR := .
1060 + SRCS := theora_frame.cxx theora_plugin.cxx
1061 +
1062 +-CFLAGS += @THEORA_CFLAGS@ -I$(COMMONDIR)
1063 ++CXXFLAGS += @THEORA_CFLAGS@ -I$(COMMONDIR)
1064 + LIBS += @THEORA_LIBS@
1065 +
1066 + INSTALL_DIR := @VC_PLUGIN_DIR@
1067
1068 diff --git a/net-libs/opal/files/opal-3.12.4-java-ruby-swig-fix.patch b/net-libs/opal/files/opal-3.12.4-java-ruby-swig-fix.patch
1069 new file mode 100644
1070 index 0000000..616468e
1071 --- /dev/null
1072 +++ b/net-libs/opal/files/opal-3.12.4-java-ruby-swig-fix.patch
1073 @@ -0,0 +1,28 @@
1074 +--- opal-3.12.4.old/make/toplevel.mak.in 2013-06-22 21:14:01.536580887 +0200
1075 ++++ opal-3.12.4/make/toplevel.mak.in 2013-06-22 21:21:08.342565703 +0200
1076 +@@ -407,9 +407,9 @@
1077 + ifeq ($(OPAL_JAVA), yes)
1078 +
1079 + JAVA_SRCDIR = $(OPAL_SRCDIR)/java
1080 +-JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.c
1081 ++JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.cxx
1082 +
1083 +-VPATH_C += $(JAVA_SRCDIR)
1084 ++VPATH_CXX += $(JAVA_SRCDIR)
1085 + SOURCES += $(JAVA_WRAPPER)
1086 +
1087 + endif
1088 +@@ -420,10 +420,10 @@
1089 +
1090 + ifeq ($(OPAL_RUBY), yes)
1091 +
1092 +-RUBY_SRCDIR = $(OPAL_SRCDIR)/ruby
1093 +-RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.c
1094 ++RUBY_SRCDIR = $(OPAL_SRCDIR)/Ruby
1095 ++RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.cxx
1096 +
1097 +-VPATH_C += $(RUBY_SRCDIR)
1098 ++VPATH_CXX += $(RUBY_SRCDIR)
1099 + SOURCES += $(RUBY_WRAPPER)
1100 +
1101 + endif
1102
1103 diff --git a/net-libs/opal/files/opal-3.14.0-java-ruby-swig-fix.patch b/net-libs/opal/files/opal-3.14.0-java-ruby-swig-fix.patch
1104 new file mode 100644
1105 index 0000000..5cf4508
1106 --- /dev/null
1107 +++ b/net-libs/opal/files/opal-3.14.0-java-ruby-swig-fix.patch
1108 @@ -0,0 +1,24 @@
1109 +diff -uNr opal-3.14.0.orig/make/toplevel.mak opal-3.14.0/make/toplevel.mak
1110 +--- opal-3.14.0.orig/make/toplevel.mak 2014-03-21 05:28:27.230000001 -0400
1111 ++++ opal-3.14.0/make/toplevel.mak 2014-03-21 05:31:07.290000001 -0400
1112 +@@ -368,15 +368,15 @@
1113 + ifneq (,$(SWIG))
1114 + ifeq ($(OPAL_JAVA), yes)
1115 + JAVA_SRCDIR = $(OPAL_SRCDIR)/java
1116 +- JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.c
1117 +- VPATH_C += $(JAVA_SRCDIR)
1118 ++ JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.cxx
1119 ++ VPATH_CXX += $(JAVA_SRCDIR)
1120 + SOURCES += $(JAVA_WRAPPER)
1121 + endif
1122 +
1123 + ifeq ($(OPAL_RUBY), yes)
1124 +- RUBY_SRCDIR = $(OPAL_SRCDIR)/ruby
1125 +- RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.c
1126 +- VPATH_C += $(RUBY_SRCDIR)
1127 ++ RUBY_SRCDIR = $(OPAL_SRCDIR)/Ruby
1128 ++ RUBY_WRAPPER = $(RUBY_SRCDIR)/ruby_swig_wrapper.cxx
1129 ++ VPATH_CXX += $(RUBY_SRCDIR)
1130 + SOURCES += $(RUBY_WRAPPER)
1131 + endif
1132 + endif # SWIG
1133
1134 diff --git a/net-libs/opal/files/opal-3.14.0-pmimeinfo_not_declared_fix.patch b/net-libs/opal/files/opal-3.14.0-pmimeinfo_not_declared_fix.patch
1135 new file mode 100644
1136 index 0000000..b44adc2
1137 --- /dev/null
1138 +++ b/net-libs/opal/files/opal-3.14.0-pmimeinfo_not_declared_fix.patch
1139 @@ -0,0 +1,11 @@
1140 +diff -uNr opal-3.14.0.orig/src/opal/opal_c.cxx opal-3.14.0/src/opal/opal_c.cxx
1141 +--- opal-3.14.0.orig/src/opal/opal_c.cxx 2014-03-21 05:28:28.850000001 -0400
1142 ++++ opal-3.14.0/src/opal/opal_c.cxx 2014-03-21 10:27:09.200000001 -0400
1143 +@@ -37,6 +37,7 @@
1144 +
1145 + #include <opal.h>
1146 + #include <opal/manager.h>
1147 ++#include <sip/sippdu.h>
1148 +
1149 + #include <ep/pcss.h>
1150 + #include <ep/localep.h>
1151
1152 diff --git a/net-libs/opal/files/opal-3.6.4-jdkroot.patch b/net-libs/opal/files/opal-3.6.4-jdkroot.patch
1153 new file mode 100644
1154 index 0000000..480a0ee
1155 --- /dev/null
1156 +++ b/net-libs/opal/files/opal-3.6.4-jdkroot.patch
1157 @@ -0,0 +1,15 @@
1158 +Index: opal.m4
1159 +===================================================================
1160 +--- opal.m4 (revision 22933)
1161 ++++ opal.m4 (working copy)
1162 +@@ -996,6 +996,10 @@
1163 + AC_CHECK_HEADERS([jni.h], [opal_java=yes])
1164 +
1165 + if test "x$opal_java" = "xno" ; then
1166 ++ if test "x${JDK_ROOT}" = "x" ; then
1167 ++ JDK_ROOT=${JDK_HOME}
1168 ++ fi
1169 ++
1170 + if test "x${JDK_ROOT}" != "x" ; then
1171 + AC_CHECK_FILE([${JDK_ROOT}/include/jni.h],
1172 + [
1173
1174 diff --git a/net-libs/opal/files/opal-3.6.8-build-fix.patch b/net-libs/opal/files/opal-3.6.8-build-fix.patch
1175 new file mode 100644
1176 index 0000000..2a052e1
1177 --- /dev/null
1178 +++ b/net-libs/opal/files/opal-3.6.8-build-fix.patch
1179 @@ -0,0 +1,39 @@
1180 +=== modified file 'plugins/video/H.263-1998/h263-1998.cxx'
1181 +--- plugins/video/H.263-1998/h263-1998.cxx 2010-12-06 15:18:06 +0000
1182 ++++ plugins/video/H.263-1998/h263-1998.cxx 2010-12-06 15:18:46 +0000
1183 +@@ -51,6 +51,8 @@
1184 +
1185 + #include "plugin-config.h"
1186 +
1187 ++#define __STDC_CONSTANT_MACROS
1188 ++
1189 + #include "h263-1998.h"
1190 + #include <limits.h>
1191 + #include <math.h>
1192 +
1193 +=== modified file 'plugins/video/H.263-1998/h263pframe.h'
1194 +--- plugins/video/H.263-1998/h263pframe.h 2010-12-06 15:18:06 +0000
1195 ++++ plugins/video/H.263-1998/h263pframe.h 2010-12-06 15:19:56 +0000
1196 +@@ -25,6 +25,8 @@
1197 +
1198 + #include "plugin-config.h"
1199 +
1200 ++#define __STDC_CONSTANT_MACROS
1201 ++
1202 + #include <stdint.h>
1203 + #include <vector>
1204 + #include <string.h>
1205 +
1206 +=== modified file 'plugins/video/common/trace.h'
1207 +--- plugins/video/common/trace.h 2010-12-06 15:18:06 +0000
1208 ++++ plugins/video/common/trace.h 2010-12-06 15:18:46 +0000
1209 +@@ -34,6 +34,8 @@
1210 +
1211 + #define TRACING 1
1212 +
1213 ++#define __STDC_CONSTANT_MACROS
1214 ++
1215 + #include <iostream>
1216 + #include <iomanip>
1217 + using namespace std;
1218 +
1219
1220 diff --git a/net-libs/opal/files/opal-3.6.8-ldflags.patch b/net-libs/opal/files/opal-3.6.8-ldflags.patch
1221 new file mode 100644
1222 index 0000000..995f9b4
1223 --- /dev/null
1224 +++ b/net-libs/opal/files/opal-3.6.8-ldflags.patch
1225 @@ -0,0 +1,240 @@
1226 +Reported upstream:
1227 +https://sourceforge.net/tracker/?func=detail&atid=989750&aid=3131118&group_id=204472
1228 +
1229 +=== modified file 'plugins/audio/G722/Makefile.in'
1230 +--- plugins/audio/G722/Makefile.in 2010-12-07 05:39:18 +0000
1231 ++++ plugins/audio/G722/Makefile.in 2010-12-07 05:49:21 +0000
1232 +@@ -71,11 +71,9 @@
1233 +
1234 + $(PLUGIN): $(OBJECTS)
1235 + ifeq (solaris,$(findstring solaris,$(target_os)))
1236 +-
1237 +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1238 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1239 + else
1240 +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS)
1241 +-
1242 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS)
1243 + endif
1244 +
1245 + install:
1246 +
1247 +=== modified file 'plugins/audio/G726/Makefile.in'
1248 +--- plugins/audio/G726/Makefile.in 2010-12-07 05:39:18 +0000
1249 ++++ plugins/audio/G726/Makefile.in 2010-12-07 05:49:51 +0000
1250 +@@ -100,11 +100,9 @@
1251 + $(PLUGIN): $(OBJECTS)
1252 +
1253 + ifeq (solaris,$(findstring solaris,$(target_os)))
1254 +-
1255 +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1256 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1257 + else
1258 +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS)
1259 +-
1260 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS)
1261 + endif
1262 +
1263 + install:
1264 +
1265 +=== modified file 'plugins/audio/GSM0610/Makefile.in'
1266 +--- plugins/audio/GSM0610/Makefile.in 2010-12-07 05:39:18 +0000
1267 ++++ plugins/audio/GSM0610/Makefile.in 2010-12-07 05:50:09 +0000
1268 +@@ -160,11 +160,9 @@
1269 + $(PLUGIN): $(OBJECTS)
1270 +
1271 + ifeq (solaris,$(findstring solaris,$(target_os)))
1272 +-
1273 +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1274 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1275 + else
1276 +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS)
1277 +-
1278 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS)
1279 + endif
1280 +
1281 + endif
1282 +
1283 +=== modified file 'plugins/audio/IMA_ADPCM/Makefile.in'
1284 +--- plugins/audio/IMA_ADPCM/Makefile.in 2010-12-07 05:39:18 +0000
1285 ++++ plugins/audio/IMA_ADPCM/Makefile.in 2010-12-07 05:50:53 +0000
1286 +@@ -90,11 +90,9 @@
1287 + $(PLUGIN): $(OBJECTS)
1288 +
1289 + ifeq (solaris,$(findstring solaris,$(target_os)))
1290 +-
1291 +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1292 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1293 + else
1294 +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS)
1295 +-
1296 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS)
1297 + endif
1298 +
1299 + install:
1300 +
1301 +=== modified file 'plugins/audio/LPC_10/Makefile.in'
1302 +--- plugins/audio/LPC_10/Makefile.in 2010-12-07 05:39:18 +0000
1303 ++++ plugins/audio/LPC_10/Makefile.in 2010-12-07 05:51:07 +0000
1304 +@@ -128,11 +128,9 @@
1305 + $(PLUGIN): $(OBJECTS)
1306 +
1307 + ifeq (solaris,$(findstring solaris,$(target_os)))
1308 +-
1309 +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1310 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1311 + else
1312 +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS)
1313 +-
1314 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS)
1315 + endif
1316 +
1317 + install:
1318 +
1319 +=== modified file 'plugins/audio/SBC/Makefile.in'
1320 +--- plugins/audio/SBC/Makefile.in 2010-12-07 05:39:18 +0000
1321 ++++ plugins/audio/SBC/Makefile.in 2010-12-07 05:51:28 +0000
1322 +@@ -78,7 +78,7 @@
1323 + OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.cxx,%.o,$(patsubst %.c,%.o,$(notdir $(SRCS)))))
1324 +
1325 + $(PLUGIN): $(OBJECTS)
1326 +- $(Q_LD)$(CXX) $(LDSO) -o $@ $^ $(EXTRALIBS)
1327 ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS)
1328 +
1329 + $(SRCDIR)/g711a1_plc.cxx: ../../../src/codec/g711a1_plc.cxx
1330 + @ln -s ../../../src/codec/g711a1_plc.cxx $(SRCDIR)/g711a1_plc.cxx
1331 +
1332 +=== modified file 'plugins/audio/Speex/Makefile.in'
1333 +--- plugins/audio/Speex/Makefile.in 2010-12-07 05:39:18 +0000
1334 ++++ plugins/audio/Speex/Makefile.in 2010-12-07 05:51:51 +0000
1335 +@@ -166,11 +166,9 @@
1336 +
1337 + $(PLUGIN): $(OBJECTS)
1338 + ifeq (solaris,$(findstring solaris,$(target_os)))
1339 +-
1340 +- $(Q_LD)$(CXX) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1341 ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1342 + else
1343 +- $(Q_LD)$(CXX) $(LDSO) -o $@ $^ $(EXTRALIBS)
1344 +-
1345 ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS)
1346 + endif
1347 +
1348 + install:
1349 +
1350 +=== modified file 'plugins/audio/celt/Makefile.in'
1351 +--- plugins/audio/celt/Makefile.in 2010-12-07 05:39:18 +0000
1352 ++++ plugins/audio/celt/Makefile.in 2010-12-07 05:48:49 +0000
1353 +@@ -47,11 +47,9 @@
1354 + $(PLUGIN): $(OBJECTS)
1355 +
1356 + ifeq (solaris,$(findstring solaris,$(target_os)))
1357 +-
1358 +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(LIBS)
1359 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(LIBS)
1360 + else
1361 +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(LIBS)
1362 +-
1363 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(LIBS)
1364 + endif
1365 +
1366 + install:
1367 +
1368 +=== modified file 'plugins/audio/gsm-amr/Makefile.in'
1369 +--- plugins/audio/gsm-amr/Makefile.in 2010-12-07 05:39:18 +0000
1370 ++++ plugins/audio/gsm-amr/Makefile.in 2010-12-07 05:50:25 +0000
1371 +@@ -59,11 +59,9 @@
1372 + $(PLUGIN): $(OBJECTS)
1373 +
1374 + ifeq (solaris,$(findstring solaris,$(target_os)))
1375 +-
1376 +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^
1377 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^
1378 + else
1379 +- $(Q_LD)$(CC) $(LDSO) -o $@ $^
1380 +-
1381 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^
1382 + endif
1383 +
1384 + install:
1385 +
1386 +=== modified file 'plugins/audio/iLBC/Makefile.in'
1387 +--- plugins/audio/iLBC/Makefile.in 2010-12-07 05:39:18 +0000
1388 ++++ plugins/audio/iLBC/Makefile.in 2010-12-07 05:50:41 +0000
1389 +@@ -119,9 +119,9 @@
1390 +
1391 + $(PLUGIN): $(OBJECTS)
1392 + ifeq (solaris,$(findstring solaris,$(target_os)))
1393 +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1394 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1395 + else
1396 +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS)
1397 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS)
1398 + endif
1399 +
1400 + install:
1401 +
1402 +=== modified file 'plugins/video/H.261-vic/Makefile.in'
1403 +--- plugins/video/H.261-vic/Makefile.in 2010-12-07 05:39:18 +0000
1404 ++++ plugins/video/H.261-vic/Makefile.in 2010-12-07 05:45:17 +0000
1405 +@@ -116,9 +116,9 @@
1406 +
1407 + $(PLUGIN): $(OBJECTS)
1408 + ifeq (,$(findstring solaris,$(target_os)))
1409 +- $(Q_LD)$(CXX) $(LDSO) -o $@ $^
1410 ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $(LDFLAGS) -o $@ $^
1411 + else
1412 +- $(Q_LD)$(CXX) $(LDSO) $@ -o $@ $^
1413 ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $@ -o $@ $^
1414 + endif
1415 +
1416 + install:
1417 +
1418 +=== modified file 'plugins/video/H.263-1998/Makefile.in'
1419 +--- plugins/video/H.263-1998/Makefile.in 2010-12-07 05:39:18 +0000
1420 ++++ plugins/video/H.263-1998/Makefile.in 2010-12-07 05:45:53 +0000
1421 +@@ -86,9 +86,9 @@
1422 +
1423 + $(PLUGIN): $(OBJECTS)
1424 + ifeq (,$(findstring solaris,$(target_os)))
1425 +- $(Q_LD)$(CXX) $(LDSO) $(DL_LIBS) -o $@ $^ $(LDFLAGS)
1426 ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) -o $@ $^ $(DL_LIBS)
1427 + else
1428 +- $(Q_LD)$(CXX) $(LDSO) $(DL_LIBS) $@ -o $@ $^ $(LDFLAGS)
1429 ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(DL_LIBS)
1430 + endif
1431 +
1432 + install: $(PLUGIN)
1433 +
1434 +=== modified file 'plugins/video/H.264/Makefile.in'
1435 +--- plugins/video/H.264/Makefile.in 2010-12-07 05:39:18 +0000
1436 ++++ plugins/video/H.264/Makefile.in 2010-12-07 05:46:27 +0000
1437 +@@ -130,9 +130,9 @@
1438 + $(PLUGIN): $(OBJECTS)
1439 + @set -e; $(foreach dir,$(SUBDIRS),if test -d ${dir} ; then $(MAKE) -C $(dir); fi ; )
1440 + ifeq (,$(findstring solaris,$(target_os)))
1441 +- $(Q_LD)$(CXX) $(LDSO) $(LDFLAGS) $(DL_LIBS) -o $@ $^
1442 ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $(LDFLAGS) -o $@ $^ $(DL_LIBS)
1443 + else
1444 +- $(Q_LD)$(CXX) $(LDSO) $(LDFLAGS) $(DL_LIBS) $@ -o $@ $^
1445 ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $(LDFLAGS) $@ -o $@ $^ $(DL_LIBS)
1446 + endif
1447 +
1448 +
1449 +
1450 +=== modified file 'plugins/video/MPEG4-ffmpeg/Makefile.in'
1451 +--- plugins/video/MPEG4-ffmpeg/Makefile.in 2010-12-07 05:39:18 +0000
1452 ++++ plugins/video/MPEG4-ffmpeg/Makefile.in 2010-12-07 05:47:12 +0000
1453 +@@ -101,9 +101,9 @@
1454 +
1455 + $(PLUGIN): $(OBJECTS)
1456 + ifeq (,$(findstring solaris,$(target_os)))
1457 +- $(Q_LD)$(CXX) $(LDSO) $(DL_LIBS) -o $@ $^
1458 ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) -o $@ $^ $(DL_LIBS)
1459 + else
1460 +- $(Q_LD)$(CXX) $(LDSO) $(DL_LIBS) $@ -o $@ $^
1461 ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(DL_LIBS)
1462 + endif
1463 +
1464 + install:
1465 +
1466
1467 diff --git a/net-libs/opal/files/opal-3.6.8-lid-plugins-ldflags.patch b/net-libs/opal/files/opal-3.6.8-lid-plugins-ldflags.patch
1468 new file mode 100644
1469 index 0000000..071c7f0
1470 --- /dev/null
1471 +++ b/net-libs/opal/files/opal-3.6.8-lid-plugins-ldflags.patch
1472 @@ -0,0 +1,40 @@
1473 +Fix LID plugin ldflags
1474 +
1475 +https://bugs.gentoo.org/397681
1476 +
1477 +--- plugins/LID/CAPI/Makefile.in
1478 ++++ plugins/LID/CAPI/Makefile.in
1479 +@@ -67,7 +67,7 @@
1480 + OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.cxx,%.o,$(notdir $(SRCS))))
1481 +
1482 + $(PLUGIN): $(OBJECTS)
1483 +- $(Q_LD)$(CC) $(LDSO)$(SONAME) -o $@ $^ $(EXTRALIBS)
1484 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO)$(SONAME) -o $@ $^ $(EXTRALIBS)
1485 +
1486 + install:
1487 + mkdir -p $(DESTDIR)$(libdir)/$(LID_PLUGIN_DIR)
1488 +--- plugins/LID/IxJ/Makefile.in
1489 ++++ plugins/LID/IxJ/Makefile.in
1490 +@@ -72,7 +72,7 @@
1491 + OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.cxx,%.o,$(notdir $(SRCS))))
1492 +
1493 + $(PLUGIN): $(OBJECTS)
1494 +- $(Q_LD)$(CC) $(LDSO)$(SONAME) -o $@ $^ $(EXTRALIBS)
1495 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO)$(SONAME) -o $@ $^ $(EXTRALIBS)
1496 +
1497 + install:
1498 + mkdir -p $(DESTDIR)$(libdir)/$(LID_PLUGIN_DIR)
1499 +--- plugins/LID/VPB/Makefile.in
1500 ++++ plugins/LID/VPB/Makefile.in
1501 +@@ -79,9 +79,9 @@
1502 +
1503 + ifeq (solaris,$(findstring solaris,$(target_os)))
1504 +
1505 +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1506 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
1507 + else
1508 +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS)
1509 ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS)
1510 +
1511 + endif
1512 +
1513
1514 diff --git a/net-libs/opal/metadata.xml b/net-libs/opal/metadata.xml
1515 new file mode 100644
1516 index 0000000..cd39484
1517 --- /dev/null
1518 +++ b/net-libs/opal/metadata.xml
1519 @@ -0,0 +1,42 @@
1520 +<?xml version="1.0" encoding="UTF-8"?>
1521 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1522 +<pkgmetadata>
1523 +<maintainer>
1524 + <email>neurogeek@g.o</email>
1525 + <name>Jesus Rivero</name>
1526 +</maintainer>
1527 + <use>
1528 + <flag name="audio">Enable audio support</flag>
1529 + <flag name="capi">Enable CAPI support</flag>
1530 + <flag name="celt">Enable CELT ultra-low delay audio codec</flag>
1531 + <flag name="dtmf">Enable DTMF encoding/decoding support</flag>
1532 + <flag name="fax">Enable T.38 FAX protocol</flag>
1533 + <flag name="h224">Enable H.224 real time control protocol</flag>
1534 + <flag name="h281">Enable H.281 Far-End Camera Control protocol</flag>
1535 + <flag name="h323">Enable H.323 protocol</flag>
1536 + <flag name="iax">Enable Inter-Asterisk eXchange protocol</flag>
1537 + <flag name="ivr">Enable Interactive Voice Response</flag>
1538 + <flag name="ilbc">Enable iLBC (RFC 3951) speech codec</flag>
1539 + <flag name="ixj">Enable xJack cards support</flag>
1540 + <flag name="lid">Enable Line Interface Device</flag>
1541 + <flag name="plugins">Enable plugins support</flag>
1542 + <flag name="sbc">Enable the Bluetooth low-complexity, SubBand Codec
1543 + </flag>
1544 + <flag name="sip">Enable Session Initiation Protocol</flag>
1545 + <flag name="sipim">Enable SIP Instant Messages session</flag>
1546 + <flag name="srtp">Enable Secure Real-time Transport Protocol</flag>
1547 + <flag name="stats">Enable statistic reporting</flag>
1548 + <flag name="swig">Use swig to generate bindings</flag>
1549 + <flag name="video">Enable video support</flag>
1550 + <flag name="vpb">Enable Voicetronics VPB card support</flag>
1551 + <flag name="vxml">Enable VXML support</flag>
1552 + <flag name="wav">Enable WAVFILE support</flag>
1553 + <flag name="x264-static">Install x264 plugin statically linked with x264
1554 + </flag>
1555 + <!-- unused atm
1556 + <flag name="g711plc">Enable G711 Packet Loss Concealment</flag>
1557 + <flag name="msrp">Enable Message Session Relay Protocol</flag>
1558 + <flag name="rfc4103">Enable RTP Payload for Text Conversation</flag>
1559 + -->
1560 + </use>
1561 +</pkgmetadata>
1562
1563 diff --git a/net-libs/opal/opal-3.10.10.ebuild b/net-libs/opal/opal-3.10.10.ebuild
1564 new file mode 100644
1565 index 0000000..d96ba0c
1566 --- /dev/null
1567 +++ b/net-libs/opal/opal-3.10.10.ebuild
1568 @@ -0,0 +1,252 @@
1569 +# Copyright 1999-2013 Gentoo Foundation
1570 +# Distributed under the terms of the GNU General Public License v2
1571 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.10.10.ebuild,v 1.8 2013/06/25 16:11:52 chithanh Exp $
1572 +
1573 +EAPI=5
1574 +
1575 +inherit eutils autotools toolchain-funcs java-pkg-opt-2 flag-o-matic
1576 +
1577 +DESCRIPTION="C++ class library normalising numerous telephony protocols"
1578 +HOMEPAGE="http://www.opalvoip.org/"
1579 +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2
1580 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )"
1581 +
1582 +LICENSE="MPL-1.0"
1583 +SLOT="0"
1584 +KEYWORDS="alpha amd64 ia64 ppc ppc64 ~sparc x86"
1585 +IUSE="+audio capi celt debug doc +dtmf examples fax ffmpeg h224 h281 h323 iax
1586 +ilbc ipv6 ivr ixj java ldap lid +plugins sbc sip sipim srtp ssl static-libs
1587 +stats swig theora +video vpb vxml wav x264 x264-static xml"
1588 +
1589 +REQUIRED_USE="x264-static? ( x264 )
1590 + h281? ( h224 )
1591 + sip? ( sipim )"
1592 +
1593 +RDEPEND=">=net-libs/ptlib-2.10.10:=[stun,debug=,audio?,dtmf,http,ipv6?,ldap?,ssl?,video?,vxml?,wav?,xml?]
1594 + >=media-libs/speex-1.2_beta
1595 + fax? ( net-libs/ptlib[asn] )
1596 + h323? ( net-libs/ptlib[asn] )
1597 + ivr? ( net-libs/ptlib[http,xml,vxml] )
1598 + java? ( >=virtual/jre-1.4 )
1599 + plugins? (
1600 + media-sound/gsm
1601 + capi? ( net-dialup/capi4k-utils )
1602 + celt? ( media-libs/celt )
1603 + ffmpeg? ( virtual/ffmpeg[encode] !!>=media-libs/libav-9 )
1604 + ixj? ( sys-kernel/linux-headers )
1605 + ilbc? ( dev-libs/ilbc-rfc3951 )
1606 + sbc? ( media-libs/libsamplerate )
1607 + theora? ( media-libs/libtheora )
1608 + x264? ( virtual/ffmpeg
1609 + media-libs/x264 ) )
1610 + srtp? ( net-libs/libsrtp )
1611 + vxml? ( net-libs/ptlib[http,vxml] )"
1612 +DEPEND="${RDEPEND}
1613 + virtual/pkgconfig
1614 + >=sys-devel/gcc-3
1615 + java? ( swig? ( dev-lang/swig )
1616 + >=virtual/jdk-1.4 )"
1617 +
1618 +# NOTES:
1619 +# ffmpeg[encode] is for h263 and mpeg4
1620 +# ssl, xml, vxml, ipv6, ldap, audio, wav, and video are use flags
1621 +# herited from ptlib: feature is enabled if ptlib has enabled it
1622 +# however, disabling it if ptlib has it looks hard (coz of buildopts.h)
1623 +# forcing ptlib to disable it for opal is not a solution too
1624 +# atm, accepting the "auto-feature" looks like a good solution
1625 +# (asn is used for fax and config _only_ for examples)
1626 +# OPALDIR should not be used anymore but if a package still need it, create it
1627 +
1628 +pkg_setup() {
1629 + # workaround for bug 282838
1630 + append-cxxflags "-fno-visibility-inlines-hidden"
1631 + append-cxxflags "-fno-strict-aliasing"
1632 +
1633 + # need >=gcc-3
1634 + if [[ $(gcc-major-version) -lt 3 ]]; then
1635 + eerror "You need to use gcc-3 at least."
1636 + eerror "Please change gcc version with 'gcc-config'."
1637 + die "You need to use gcc-3 at least."
1638 + fi
1639 +
1640 + java-pkg-opt-2_pkg_setup
1641 +}
1642 +
1643 +src_prepare() {
1644 + # remove visual studio related files from samples/
1645 + if use examples; then
1646 + rm -f samples/*/*.vcproj
1647 + rm -f samples/*/*.sln
1648 + rm -f samples/*/*.dsp
1649 + rm -f samples/*/*.dsw
1650 + fi
1651 +
1652 + epatch "${FILESDIR}/${PN}-3.10.9-svn_revision_override.patch"
1653 + epatch "${FILESDIR}/${PN}-3.10.9-labs_is_in_stdlib.patch"
1654 + epatch "${FILESDIR}/${PN}-3.10.9-avoid_cflags_mixup.patch"
1655 + epatch "${FILESDIR}/${PN}-3.10.9-ffmpeg.patch"
1656 +
1657 + if ! use h323; then
1658 + # Without this patch, ekiga wont compile, even with
1659 + # USE=-h323.
1660 + epatch "${FILESDIR}/${PN}-3.10.9-disable-h323-workaround.patch"
1661 + fi
1662 +
1663 + epatch "${FILESDIR}/${PN}-3.10.9-java-ruby-swig-fix.patch"
1664 +
1665 + sed -i -e "s:\(.*HAS_H224.*\), \[OPAL_H323\]:\1:" configure.ac \
1666 + || die "sed failed"
1667 +
1668 + eaclocal
1669 + eautoconf
1670 +
1671 + # in plugins
1672 + cd plugins/
1673 + eaclocal
1674 + eautoconf
1675 + cd ..
1676 +
1677 + # disable celt if celt is not enabled (prevent auto magic dep)
1678 + # already in repository
1679 + if ! use celt; then
1680 + sed -i -e "s/HAVE_CELT=yes/HAVE_CELT=no/" plugins/configure \
1681 + || die "sed failed"
1682 + fi
1683 +
1684 + # fix automatic swig detection, upstream bug 2712521 (upstream reject it)
1685 + if ! use swig; then
1686 + sed -i -e "/^SWIG=/d" configure || die "patching configure failed"
1687 + fi
1688 +
1689 + use ilbc || { rm -r plugins/audio/iLBC/ || die "removing iLBC failed"; }
1690 +
1691 + java-pkg-opt-2_src_prepare
1692 +}
1693 +
1694 +src_configure() {
1695 + local forcedconf=""
1696 +
1697 + # fix bug 277233, upstream bug 2820939
1698 + if use fax; then
1699 + forcedconf="${forcedconf} --enable-statistics"
1700 + fi
1701 +
1702 + # --with-libavcodec-source-dir should _not_ be set, it's for trunk sources
1703 + # versioncheck: check for ptlib version
1704 + # shared: should always be enabled for a lib
1705 + # localspeex, localspeexdsp, localgsm, localilbc: never use bundled libs
1706 + # samples: only build some samples, useless
1707 + # libavcodec-stackalign-hack: prevent hack (default disable by upstream)
1708 + # default-to-full-capabilties: default enable by upstream
1709 + # aec: atm, only used when bundled speex, so it's painless for us
1710 + # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from
1711 + # http://zfoneproject.com/ wich is not in portage
1712 + # msrp: highly experimental
1713 + # spandsp: doesn't work with newest spandsp, upstream bug 2796047
1714 + # g711plc: force enable
1715 + # rfc4103: not really used, upstream bug 2795831
1716 + # t38, spandsp: merged in fax
1717 + # h450, h460, h501: merged in h323 (they are additional features of h323)
1718 + econf \
1719 + --enable-versioncheck \
1720 + --enable-shared \
1721 + --disable-zrtp \
1722 + --disable-localspeex \
1723 + --disable-localspeexdsp \
1724 + --disable-localgsm \
1725 + --disable-localilbc \
1726 + --disable-samples \
1727 + --disable-libavcodec-stackalign-hack \
1728 + --enable-default-to-full-capabilties \
1729 + --enable-aec \
1730 + --disable-msrp \
1731 + --disable-spandsp \
1732 + --enable-g711plc \
1733 + --enable-rfc4103 \
1734 + $(use_enable debug) \
1735 + $(use_enable capi) \
1736 + $(use_enable fax) \
1737 + $(use_enable fax t38) \
1738 + $(use_enable h224) \
1739 + $(use_enable h281) \
1740 + $(use_enable h323) \
1741 + $(use_enable h323 h450) \
1742 + $(use_enable h323 h460) \
1743 + $(use_enable h323 h501) \
1744 + $(use_enable iax) \
1745 + $(use_enable ivr) \
1746 + $(use_enable ixj) \
1747 + $(use_enable java) \
1748 + $(use_enable lid) \
1749 + $(use_enable plugins) \
1750 + $(use_enable sbc) \
1751 + $(use_enable sip) \
1752 + $(use_enable sipim) \
1753 + $(use_enable stats statistics) \
1754 + $(use_enable video) $(use_enable video rfc4175) \
1755 + $(use_enable vpb) \
1756 + $(use_enable x264 h264) \
1757 + $(use_enable x264-static x264-link-static) \
1758 + ${forcedconf}
1759 +}
1760 +
1761 +src_compile() {
1762 + local makeopts=""
1763 +
1764 + use debug && makeopts="debug"
1765 +
1766 + emake ${makeopts} || die "emake failed"
1767 +}
1768 +
1769 +src_install() {
1770 + emake DESTDIR="${D}" install || die "emake install failed"
1771 +
1772 + # Get rid of static libraries if not requested
1773 + # There seems to be no easy way to disable this in the build system
1774 + if ! use static-libs; then
1775 + rm -v "${D}"/usr/lib*/*.a || die
1776 + fi
1777 +
1778 + if use doc; then
1779 + dohtml -r "${WORKDIR}"/html/* docs/* || die "dohtml failed"
1780 + fi
1781 +
1782 + # ChangeLog is not standard and does not exist on 3.10.10
1783 +# dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed"
1784 +
1785 + if use examples; then
1786 + local exampledir="/usr/share/doc/${PF}/examples"
1787 + local basedir="samples"
1788 + local sampledirs="`ls ${basedir} --hide=configure* \
1789 + --hide=opal_samples.mak.in`"
1790 +
1791 + # first, install files
1792 + insinto ${exampledir}/
1793 + doins ${basedir}/{configure*,opal_samples*} \
1794 + || die "doins failed"
1795 +
1796 + # now, all examples
1797 + for x in ${sampledirs}; do
1798 + insinto ${exampledir}/${x}/
1799 + doins ${basedir}/${x}/* || die "doins failed"
1800 + done
1801 +
1802 + # some examples need version.h
1803 + insinto "/usr/share/doc/${PF}/"
1804 + doins version.h || die "doins failed"
1805 + fi
1806 +}
1807 +
1808 +pkg_postinst() {
1809 + if use examples; then
1810 + ewarn "All examples have been installed, some of them will not work on your system"
1811 + ewarn "it will depend of the enabled USE flags in ptlib and opal"
1812 + fi
1813 +
1814 + if ! use plugins || ! use audio || ! use video; then
1815 + ewarn "You have disabled audio, video or plugins USE flags."
1816 + ewarn "Most audio/video features or plugins have been disabled silently"
1817 + ewarn "even if enabled via USE flags."
1818 + ewarn "Having a feature enabled via USE flag but disabled can lead to issues."
1819 + fi
1820 +}
1821
1822 diff --git a/net-libs/opal/opal-3.10.9.ebuild b/net-libs/opal/opal-3.10.9.ebuild
1823 new file mode 100644
1824 index 0000000..131fc77
1825 --- /dev/null
1826 +++ b/net-libs/opal/opal-3.10.9.ebuild
1827 @@ -0,0 +1,252 @@
1828 +# Copyright 1999-2013 Gentoo Foundation
1829 +# Distributed under the terms of the GNU General Public License v2
1830 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.10.9.ebuild,v 1.3 2013/06/25 16:11:52 chithanh Exp $
1831 +
1832 +EAPI=4
1833 +
1834 +inherit eutils autotools toolchain-funcs java-pkg-opt-2 flag-o-matic
1835 +
1836 +DESCRIPTION="C++ class library normalising numerous telephony protocols"
1837 +HOMEPAGE="http://www.opalvoip.org/"
1838 +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2
1839 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )"
1840 +
1841 +LICENSE="MPL-1.0"
1842 +SLOT="0"
1843 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
1844 +IUSE="+audio capi celt debug doc +dtmf examples fax ffmpeg h224 h281 h323 iax
1845 +ilbc ipv6 ivr ixj java ldap lid +plugins sbc sip sipim srtp ssl static-libs
1846 +stats swig theora +video vpb vxml wav x264 x264-static xml"
1847 +
1848 +REQUIRED_USE="x264-static? ( x264 )
1849 + h281? ( h224 )
1850 + sip? ( sipim )"
1851 +
1852 +RDEPEND=">=net-libs/ptlib-2.10.9[stun,debug=,audio?,dtmf,http,ipv6?,ldap?,ssl?,video?,vxml?,wav?,xml?]
1853 + >=media-libs/speex-1.2_beta
1854 + fax? ( net-libs/ptlib[asn] )
1855 + h323? ( net-libs/ptlib[asn] )
1856 + ivr? ( net-libs/ptlib[http,xml,vxml] )
1857 + java? ( >=virtual/jre-1.4 )
1858 + plugins? (
1859 + media-sound/gsm
1860 + capi? ( net-dialup/capi4k-utils )
1861 + celt? ( media-libs/celt )
1862 + ffmpeg? ( virtual/ffmpeg[encode] !!>=media-libs/libav-9 )
1863 + ixj? ( sys-kernel/linux-headers )
1864 + ilbc? ( dev-libs/ilbc-rfc3951 )
1865 + sbc? ( media-libs/libsamplerate )
1866 + theora? ( media-libs/libtheora )
1867 + x264? ( virtual/ffmpeg
1868 + media-libs/x264 ) )
1869 + srtp? ( net-libs/libsrtp )
1870 + vxml? ( net-libs/ptlib[http,vxml] )"
1871 +DEPEND="${RDEPEND}
1872 + virtual/pkgconfig
1873 + >=sys-devel/gcc-3
1874 + java? ( swig? ( dev-lang/swig )
1875 + >=virtual/jdk-1.4 )"
1876 +
1877 +# NOTES:
1878 +# ffmpeg[encode] is for h263 and mpeg4
1879 +# ssl, xml, vxml, ipv6, ldap, audio, wav, and video are use flags
1880 +# herited from ptlib: feature is enabled if ptlib has enabled it
1881 +# however, disabling it if ptlib has it looks hard (coz of buildopts.h)
1882 +# forcing ptlib to disable it for opal is not a solution too
1883 +# atm, accepting the "auto-feature" looks like a good solution
1884 +# (asn is used for fax and config _only_ for examples)
1885 +# OPALDIR should not be used anymore but if a package still need it, create it
1886 +
1887 +pkg_setup() {
1888 + # workaround for bug 282838
1889 + append-cxxflags "-fno-visibility-inlines-hidden"
1890 + append-cxxflags "-fno-strict-aliasing"
1891 +
1892 + # need >=gcc-3
1893 + if [[ $(gcc-major-version) -lt 3 ]]; then
1894 + eerror "You need to use gcc-3 at least."
1895 + eerror "Please change gcc version with 'gcc-config'."
1896 + die "You need to use gcc-3 at least."
1897 + fi
1898 +
1899 + java-pkg-opt-2_pkg_setup
1900 +}
1901 +
1902 +src_prepare() {
1903 + # remove visual studio related files from samples/
1904 + if use examples; then
1905 + rm -f samples/*/*.vcproj
1906 + rm -f samples/*/*.sln
1907 + rm -f samples/*/*.dsp
1908 + rm -f samples/*/*.dsw
1909 + fi
1910 +
1911 + epatch "${FILESDIR}/${P}-svn_revision_override.patch"
1912 + epatch "${FILESDIR}/${P}-labs_is_in_stdlib.patch"
1913 + epatch "${FILESDIR}/${P}-avoid_cflags_mixup.patch"
1914 + epatch "${FILESDIR}/${P}-ffmpeg.patch"
1915 +
1916 + if ! use h323; then
1917 + # Without this patch, ekiga wont compile, even with
1918 + # USE=-h323.
1919 + epatch "${FILESDIR}/${P}-disable-h323-workaround.patch"
1920 + fi
1921 +
1922 + epatch "${FILESDIR}/${P}-java-ruby-swig-fix.patch"
1923 +
1924 + sed -i -e "s:\(.*HAS_H224.*\), \[OPAL_H323\]:\1:" configure.ac \
1925 + || die "sed failed"
1926 +
1927 + eaclocal
1928 + eautoconf
1929 +
1930 + # in plugins
1931 + cd plugins/
1932 + eaclocal
1933 + eautoconf
1934 + cd ..
1935 +
1936 + # disable celt if celt is not enabled (prevent auto magic dep)
1937 + # already in repository
1938 + if ! use celt; then
1939 + sed -i -e "s/HAVE_CELT=yes/HAVE_CELT=no/" plugins/configure \
1940 + || die "sed failed"
1941 + fi
1942 +
1943 + # fix automatic swig detection, upstream bug 2712521 (upstream reject it)
1944 + if ! use swig; then
1945 + sed -i -e "/^SWIG=/d" configure || die "patching configure failed"
1946 + fi
1947 +
1948 + use ilbc || { rm -r plugins/audio/iLBC/ || die "removing iLBC failed"; }
1949 +
1950 + java-pkg-opt-2_src_prepare
1951 +}
1952 +
1953 +src_configure() {
1954 + local forcedconf=""
1955 +
1956 + # fix bug 277233, upstream bug 2820939
1957 + if use fax; then
1958 + forcedconf="${forcedconf} --enable-statistics"
1959 + fi
1960 +
1961 + # --with-libavcodec-source-dir should _not_ be set, it's for trunk sources
1962 + # versioncheck: check for ptlib version
1963 + # shared: should always be enabled for a lib
1964 + # localspeex, localspeexdsp, localgsm, localilbc: never use bundled libs
1965 + # samples: only build some samples, useless
1966 + # libavcodec-stackalign-hack: prevent hack (default disable by upstream)
1967 + # default-to-full-capabilties: default enable by upstream
1968 + # aec: atm, only used when bundled speex, so it's painless for us
1969 + # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from
1970 + # http://zfoneproject.com/ wich is not in portage
1971 + # msrp: highly experimental
1972 + # spandsp: doesn't work with newest spandsp, upstream bug 2796047
1973 + # g711plc: force enable
1974 + # rfc4103: not really used, upstream bug 2795831
1975 + # t38, spandsp: merged in fax
1976 + # h450, h460, h501: merged in h323 (they are additional features of h323)
1977 + econf \
1978 + --enable-versioncheck \
1979 + --enable-shared \
1980 + --disable-zrtp \
1981 + --disable-localspeex \
1982 + --disable-localspeexdsp \
1983 + --disable-localgsm \
1984 + --disable-localilbc \
1985 + --disable-samples \
1986 + --disable-libavcodec-stackalign-hack \
1987 + --enable-default-to-full-capabilties \
1988 + --enable-aec \
1989 + --disable-msrp \
1990 + --disable-spandsp \
1991 + --enable-g711plc \
1992 + --enable-rfc4103 \
1993 + $(use_enable debug) \
1994 + $(use_enable capi) \
1995 + $(use_enable fax) \
1996 + $(use_enable fax t38) \
1997 + $(use_enable h224) \
1998 + $(use_enable h281) \
1999 + $(use_enable h323) \
2000 + $(use_enable h323 h450) \
2001 + $(use_enable h323 h460) \
2002 + $(use_enable h323 h501) \
2003 + $(use_enable iax) \
2004 + $(use_enable ivr) \
2005 + $(use_enable ixj) \
2006 + $(use_enable java) \
2007 + $(use_enable lid) \
2008 + $(use_enable plugins) \
2009 + $(use_enable sbc) \
2010 + $(use_enable sip) \
2011 + $(use_enable sipim) \
2012 + $(use_enable stats statistics) \
2013 + $(use_enable video) $(use_enable video rfc4175) \
2014 + $(use_enable vpb) \
2015 + $(use_enable x264 h264) \
2016 + $(use_enable x264-static x264-link-static) \
2017 + ${forcedconf}
2018 +}
2019 +
2020 +src_compile() {
2021 + local makeopts=""
2022 +
2023 + use debug && makeopts="debug"
2024 +
2025 + emake ${makeopts} || die "emake failed"
2026 +}
2027 +
2028 +src_install() {
2029 + emake DESTDIR="${D}" install || die "emake install failed"
2030 +
2031 + # Get rid of static libraries if not requested
2032 + # There seems to be no easy way to disable this in the build system
2033 + if ! use static-libs; then
2034 + rm -v "${D}"/usr/lib*/*.a || die
2035 + fi
2036 +
2037 + if use doc; then
2038 + dohtml -r "${WORKDIR}"/html/* docs/* || die "dohtml failed"
2039 + fi
2040 +
2041 + # ChangeLog is not standard
2042 + dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed"
2043 +
2044 + if use examples; then
2045 + local exampledir="/usr/share/doc/${PF}/examples"
2046 + local basedir="samples"
2047 + local sampledirs="`ls ${basedir} --hide=configure* \
2048 + --hide=opal_samples.mak.in`"
2049 +
2050 + # first, install files
2051 + insinto ${exampledir}/
2052 + doins ${basedir}/{configure*,opal_samples*} \
2053 + || die "doins failed"
2054 +
2055 + # now, all examples
2056 + for x in ${sampledirs}; do
2057 + insinto ${exampledir}/${x}/
2058 + doins ${basedir}/${x}/* || die "doins failed"
2059 + done
2060 +
2061 + # some examples need version.h
2062 + insinto "/usr/share/doc/${PF}/"
2063 + doins version.h || die "doins failed"
2064 + fi
2065 +}
2066 +
2067 +pkg_postinst() {
2068 + if use examples; then
2069 + ewarn "All examples have been installed, some of them will not work on your system"
2070 + ewarn "it will depend of the enabled USE flags in ptlib and opal"
2071 + fi
2072 +
2073 + if ! use plugins || ! use audio || ! use video; then
2074 + ewarn "You have disabled audio, video or plugins USE flags."
2075 + ewarn "Most audio/video features or plugins have been disabled silently"
2076 + ewarn "even if enabled via USE flags."
2077 + ewarn "Having a feature enabled via USE flag but disabled can lead to issues."
2078 + fi
2079 +}
2080
2081 diff --git a/net-libs/opal/opal-3.12.4.ebuild b/net-libs/opal/opal-3.12.4.ebuild
2082 new file mode 100644
2083 index 0000000..479d684
2084 --- /dev/null
2085 +++ b/net-libs/opal/opal-3.12.4.ebuild
2086 @@ -0,0 +1,235 @@
2087 +# Copyright 1999-2013 Gentoo Foundation
2088 +# Distributed under the terms of the GNU General Public License v2
2089 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.12.4.ebuild,v 1.2 2013/06/24 16:43:40 scarabeus Exp $
2090 +
2091 +EAPI=5
2092 +
2093 +inherit eutils autotools toolchain-funcs java-pkg-opt-2 flag-o-matic
2094 +
2095 +DESCRIPTION="C++ class library normalising numerous telephony protocols"
2096 +HOMEPAGE="http://www.opalvoip.org/"
2097 +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2
2098 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )"
2099 +
2100 +LICENSE="MPL-1.0"
2101 +SLOT="0"
2102 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
2103 +IUSE="+audio capi celt debug doc +dtmf examples fax ffmpeg h224 h281 h323 iax
2104 +ilbc ipv6 ivr ixj java ldap lid +plugins sbc sip sipim srtp ssl static-libs
2105 +stats swig theora +video vpb vxml wav x264 x264-static xml"
2106 +
2107 +REQUIRED_USE="x264-static? ( x264 )
2108 + h281? ( h224 )
2109 + sip? ( sipim )"
2110 +
2111 +RDEPEND=">=net-libs/ptlib-2.12.4:=[stun,debug=,audio?,dtmf,http,ipv6?,ldap?,ssl?,video?,vxml?,wav?,xml?]
2112 + >=media-libs/speex-1.2_beta
2113 + fax? ( net-libs/ptlib[asn] )
2114 + h323? ( net-libs/ptlib[asn] )
2115 + ivr? ( net-libs/ptlib[http,xml,vxml] )
2116 + java? ( >=virtual/jre-1.4 )
2117 + plugins? (
2118 + media-sound/gsm
2119 + capi? ( net-dialup/capi4k-utils )
2120 + celt? ( media-libs/celt )
2121 + ffmpeg? ( virtual/ffmpeg[encode] )
2122 + ixj? ( sys-kernel/linux-headers )
2123 + ilbc? ( dev-libs/ilbc-rfc3951 )
2124 + sbc? ( media-libs/libsamplerate )
2125 + theora? ( media-libs/libtheora )
2126 + x264? ( virtual/ffmpeg
2127 + media-libs/x264 ) )
2128 + srtp? ( net-libs/libsrtp )
2129 + vxml? ( net-libs/ptlib[http,vxml] )"
2130 +DEPEND="${RDEPEND}
2131 + virtual/pkgconfig
2132 + >=sys-devel/gcc-3
2133 + java? ( swig? ( dev-lang/swig )
2134 + >=virtual/jdk-1.4 )"
2135 +
2136 +# NOTES:
2137 +# ffmpeg[encode] is for h263 and mpeg4
2138 +# ssl, xml, vxml, ipv6, ldap, audio, wav, and video are use flags
2139 +# herited from ptlib: feature is enabled if ptlib has enabled it
2140 +# however, disabling it if ptlib has it looks hard (coz of buildopts.h)
2141 +# forcing ptlib to disable it for opal is not a solution too
2142 +# atm, accepting the "auto-feature" looks like a good solution
2143 +# (asn is used for fax and config _only_ for examples)
2144 +# OPALDIR should not be used anymore but if a package still need it, create it
2145 +
2146 +pkg_setup() {
2147 + # workaround for bug 282838
2148 + append-cxxflags "-fno-visibility-inlines-hidden"
2149 + append-cxxflags "-fno-strict-aliasing"
2150 +
2151 + java-pkg-opt-2_pkg_setup
2152 +}
2153 +
2154 +src_prepare() {
2155 + # remove visual studio related files from samples/
2156 + if use examples; then
2157 + rm -f samples/*/*.vcproj
2158 + rm -f samples/*/*.sln
2159 + rm -f samples/*/*.dsp
2160 + rm -f samples/*/*.dsw
2161 + fi
2162 +
2163 + epatch "${FILESDIR}/${PN}-3.10.9-svn_revision_override.patch"
2164 + epatch "${FILESDIR}/${PN}-3.10.9-labs_is_in_stdlib.patch"
2165 + epatch "${FILESDIR}/${PN}-3.12.4-avoid_cflags_mixup.patch"
2166 +
2167 + if ! use h323; then
2168 + # Without this patch, ekiga wont compile, even with
2169 + # USE=-h323.
2170 + epatch "${FILESDIR}/${PN}-3.10.9-disable-h323-workaround.patch"
2171 + fi
2172 +
2173 + epatch "${FILESDIR}/${PN}-3.12.4-java-ruby-swig-fix.patch"
2174 +
2175 + sed -i -e "s:\(.*HAS_H224.*\), \[OPAL_H323\]:\1:" configure.ac \
2176 + || die "sed failed"
2177 +
2178 + eaclocal
2179 + eautoconf
2180 +
2181 + # in plugins
2182 + cd plugins/
2183 + eaclocal
2184 + eautoconf
2185 + cd ..
2186 +
2187 + # disable celt if celt is not enabled (prevent auto magic dep)
2188 + # already in repository
2189 + if ! use celt; then
2190 + sed -i -e "s/HAVE_CELT=yes/HAVE_CELT=no/" plugins/configure \
2191 + || die "sed failed"
2192 + fi
2193 +
2194 + # fix automatic swig detection, upstream bug 2712521 (upstream reject it)
2195 + if ! use swig; then
2196 + sed -i -e "/^SWIG=/d" configure || die "patching configure failed"
2197 + fi
2198 +
2199 + use ilbc || { rm -r plugins/audio/iLBC/ || die "removing iLBC failed"; }
2200 +
2201 + java-pkg-opt-2_src_prepare
2202 +}
2203 +
2204 +src_configure() {
2205 + # --with-libavcodec-source-dir should _not_ be set, it's for trunk sources
2206 + # versioncheck: check for ptlib version
2207 + # shared: should always be enabled for a lib
2208 + # localspeex, localspeexdsp, localgsm, localilbc: never use bundled libs
2209 + # samples: only build some samples, useless
2210 + # libavcodec-stackalign-hack: prevent hack (default disable by upstream)
2211 + # default-to-full-capabilties: default enable by upstream
2212 + # aec: atm, only used when bundled speex, so it's painless for us
2213 + # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from
2214 + # http://zfoneproject.com/ wich is not in portage
2215 + # msrp: highly experimental
2216 + # spandsp: doesn't work with newest spandsp, upstream bug 2796047
2217 + # g711plc: force enable
2218 + # rfc4103: not really used, upstream bug 2795831
2219 + # t38, spandsp: merged in fax
2220 + # h450, h460, h501: merged in h323 (they are additional features of h323)
2221 + econf \
2222 + --enable-versioncheck \
2223 + --enable-shared \
2224 + --disable-zrtp \
2225 + --disable-localspeex \
2226 + --disable-localspeexdsp \
2227 + --disable-localgsm \
2228 + --disable-localilbc \
2229 + --disable-samples \
2230 + --disable-libavcodec-stackalign-hack \
2231 + --enable-default-to-full-capabilties \
2232 + --enable-aec \
2233 + --disable-msrp \
2234 + --disable-spandsp \
2235 + --enable-g711plc \
2236 + --enable-rfc4103 \
2237 + $(use_enable debug) \
2238 + $(use_enable capi) \
2239 + $(use_enable fax) \
2240 + $(use_enable fax t38) \
2241 + $(use_enable h224) \
2242 + $(use_enable h281) \
2243 + $(use_enable h323) \
2244 + $(use_enable h323 h450) \
2245 + $(use_enable h323 h460) \
2246 + $(use_enable h323 h501) \
2247 + $(use_enable iax) \
2248 + $(use_enable ivr) \
2249 + $(use_enable ixj) \
2250 + $(use_enable java) \
2251 + $(use_enable lid) \
2252 + $(use_enable plugins) \
2253 + $(use_enable sbc) \
2254 + $(use_enable sip) \
2255 + $(use_enable sipim) \
2256 + $(use_enable stats statistics) \
2257 + $(use_enable video) $(use_enable video rfc4175) \
2258 + $(use_enable vpb) \
2259 + $(use_enable x264 h264) \
2260 + $(use_enable x264-static x264-link-static)
2261 +}
2262 +
2263 +src_compile() {
2264 + local makeopts=""
2265 +
2266 + use debug && makeopts="debug"
2267 +
2268 + emake ${makeopts}
2269 +}
2270 +
2271 +src_install() {
2272 + emake DESTDIR="${D}" install
2273 +
2274 + # Get rid of static libraries if not requested
2275 + # There seems to be no easy way to disable this in the build system
2276 + if ! use static-libs; then
2277 + rm -v "${D}"/usr/lib*/*.a || die
2278 + fi
2279 +
2280 + if use doc; then
2281 + dohtml -r "${WORKDIR}"/html/* docs/*
2282 + fi
2283 +
2284 + # ChangeLog is not standard and does not exist on 3.10.10
2285 +# dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed"
2286 +
2287 + if use examples; then
2288 + local exampledir="/usr/share/doc/${PF}/examples"
2289 + local basedir="samples"
2290 + local sampledirs="`ls ${basedir} --hide=configure* \
2291 + --hide=opal_samples.mak.in --hide=ReadMe.txt`"
2292 +
2293 + # first, install files
2294 + insinto ${exampledir}/
2295 + doins ${basedir}/{configure*,opal_samples*,ReadMe.txt}
2296 +
2297 + # now, all examples
2298 + for x in ${sampledirs}; do
2299 + insinto ${exampledir}/${x}/
2300 + doins ${basedir}/${x}/*
2301 + done
2302 +
2303 + # some examples need version.h
2304 + insinto "/usr/share/doc/${PF}/"
2305 + doins version.h
2306 + fi
2307 +}
2308 +
2309 +pkg_postinst() {
2310 + if use examples; then
2311 + ewarn "All examples have been installed, some of them will not work on your system"
2312 + ewarn "it will depend of the enabled USE flags in ptlib and opal"
2313 + fi
2314 +
2315 + if ! use plugins || ! use audio || ! use video; then
2316 + ewarn "You have disabled audio, video or plugins USE flags."
2317 + ewarn "Most audio/video features or plugins have been disabled silently"
2318 + ewarn "even if enabled via USE flags."
2319 + ewarn "Having a feature enabled via USE flag but disabled can lead to issues."
2320 + fi
2321 +}
2322
2323 diff --git a/net-libs/opal/opal-3.14.0.ebuild b/net-libs/opal/opal-3.14.0.ebuild
2324 new file mode 100644
2325 index 0000000..fb404eb
2326 --- /dev/null
2327 +++ b/net-libs/opal/opal-3.14.0.ebuild
2328 @@ -0,0 +1,221 @@
2329 +# Copyright 1999-2013 Gentoo Foundation
2330 +# Distributed under the terms of the GNU General Public License v2
2331 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.12.4.ebuild,v 1.2 2013/06/24 16:43:40 scarabeus Exp $
2332 +
2333 +EAPI=5
2334 +
2335 +inherit eutils autotools toolchain-funcs java-pkg-opt-2 flag-o-matic
2336 +
2337 +DESCRIPTION="C++ class library normalising numerous telephony protocols"
2338 +HOMEPAGE="http://www.opalvoip.org/"
2339 +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2
2340 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )"
2341 +
2342 +LICENSE="MPL-1.0"
2343 +SLOT="0"
2344 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
2345 +IUSE="+audio capi celt debug doc +dtmf examples fax ffmpeg h224 h281 h323 iax
2346 +ilbc ipv6 ivr ixj java ldap lid +plugins rfc4103 sbc sip sipim srtp ssl static-libs
2347 +stats swig theora +video vpb vxml wav x264 x264-static xml"
2348 +
2349 +REQUIRED_USE="x264-static? ( x264 )
2350 + h281? ( h224 )
2351 + rfc4103? ( sip )
2352 + sip? ( sipim )"
2353 +
2354 +RDEPEND=">=net-libs/ptlib-2.14.0:=[stun,debug=,audio?,dtmf,http,ipv6?,ldap?,ssl?,video?,vxml?,wav?,xml?]
2355 + >=media-libs/speex-1.2_beta
2356 + fax? ( net-libs/ptlib[asn] )
2357 + h323? ( net-libs/ptlib[asn] )
2358 + ivr? ( net-libs/ptlib[http,xml,vxml] )
2359 + java? ( >=virtual/jre-1.4 )
2360 + plugins? (
2361 + media-sound/gsm
2362 + capi? ( net-dialup/capi4k-utils )
2363 + celt? ( media-libs/celt )
2364 + ffmpeg? ( virtual/ffmpeg[encode] )
2365 + ixj? ( sys-kernel/linux-headers )
2366 + ilbc? ( dev-libs/ilbc-rfc3951 )
2367 + sbc? ( media-libs/libsamplerate )
2368 + theora? ( media-libs/libtheora )
2369 + x264? ( virtual/ffmpeg
2370 + media-libs/x264 ) )
2371 + srtp? ( net-libs/libsrtp )
2372 + vxml? ( net-libs/ptlib[http,vxml] )"
2373 +DEPEND="${RDEPEND}
2374 + virtual/pkgconfig
2375 + >=sys-devel/gcc-3
2376 + java? ( swig? ( dev-lang/swig )
2377 + >=virtual/jdk-1.4 )"
2378 +
2379 +# NOTES:
2380 +# ffmpeg[encode] is for h263 and mpeg4
2381 +# ssl, xml, vxml, ipv6, ldap, audio, wav, and video are use flags
2382 +# herited from ptlib: feature is enabled if ptlib has enabled it
2383 +# however, disabling it if ptlib has it looks hard (coz of buildopts.h)
2384 +# forcing ptlib to disable it for opal is not a solution too
2385 +# atm, accepting the "auto-feature" looks like a good solution
2386 +# (asn is used for fax and config _only_ for examples)
2387 +# OPALDIR should not be used anymore but if a package still need it, create it
2388 +
2389 +pkg_setup() {
2390 + # workaround for bug 282838
2391 + append-cxxflags "-fno-visibility-inlines-hidden"
2392 + append-cxxflags "-fno-strict-aliasing"
2393 +
2394 + java-pkg-opt-2_pkg_setup
2395 +}
2396 +
2397 +src_prepare() {
2398 + # remove visual studio related files from samples/
2399 + if use examples; then
2400 + rm -f samples/*/*.vcproj
2401 + rm -f samples/*/*.sln
2402 + rm -f samples/*/*.dsp
2403 + rm -f samples/*/*.dsw
2404 + fi
2405 +
2406 + epatch "${FILESDIR}/${PN}-3.10.9-svn_revision_override.patch"
2407 + epatch "${FILESDIR}/${P}-java-ruby-swig-fix.patch"
2408 + epatch "${FILESDIR}/${P}-pmimeinfo_not_declared_fix.patch"
2409 +
2410 + sed -i -e "s:\(.*HAS_H224.*\), \[OPAL_H323\]:\1:" configure.ac \
2411 + || die "sed failed"
2412 +
2413 + eaclocal
2414 + eautoconf
2415 +
2416 + # in plugins
2417 + cd plugins/
2418 + eaclocal
2419 + eautoconf
2420 + cd ..
2421 +
2422 + # disable celt if celt is not enabled (prevent auto magic dep)
2423 + # already in repository
2424 + if ! use celt; then
2425 + sed -i -e "s/HAVE_CELT=yes/HAVE_CELT=no/" plugins/configure \
2426 + || die "sed failed"
2427 + fi
2428 +
2429 + # fix automatic swig detection, upstream bug 2712521 (upstream reject it)
2430 + if ! use swig; then
2431 + sed -i -e "/^SWIG=/d" configure || die "patching configure failed"
2432 + fi
2433 +
2434 + use ilbc || { rm -r plugins/audio/iLBC/ || die "removing iLBC failed"; }
2435 +
2436 + java-pkg-opt-2_src_prepare
2437 +}
2438 +
2439 +src_configure() {
2440 + # --with-libavcodec-source-dir should _not_ be set, it's for trunk sources
2441 + # versioncheck: check for ptlib version
2442 + # shared: should always be enabled for a lib
2443 + # localspeex, localspeexdsp, localgsm, localilbc: never use bundled libs
2444 + # samples: only build some samples, useless
2445 + # libavcodec-stackalign-hack: prevent hack (default disable by upstream)
2446 + # default-to-full-capabilties: default enable by upstream
2447 + # aec: atm, only used when bundled speex, so it's painless for us
2448 + # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from
2449 + # http://zfoneproject.com/ wich is not in portage
2450 + # msrp: highly experimental
2451 + # spandsp: doesn't work with newest spandsp, upstream bug 2796047
2452 + # g711plc: force enable
2453 + # rfc4103: not really used, upstream bug 2795831
2454 + # t38, spandsp: merged in fax
2455 + # h450, h460, h501: merged in h323 (they are additional features of h323)
2456 + econf \
2457 + --enable-versioncheck \
2458 + --enable-shared \
2459 + --disable-zrtp \
2460 + --disable-localspeex \
2461 + --disable-localspeexdsp \
2462 + --disable-localgsm \
2463 + --disable-localilbc \
2464 + --disable-samples \
2465 + --disable-libavcodec-stackalign-hack \
2466 + --enable-default-to-full-capabilties \
2467 + --enable-aec \
2468 + --disable-msrp \
2469 + --disable-spandsp \
2470 + --enable-g711plc \
2471 + $(use_enable debug) \
2472 + $(use_enable capi) \
2473 + $(use_enable fax) \
2474 + $(use_enable fax t38) \
2475 + $(use_enable h224) \
2476 + $(use_enable h281) \
2477 + $(use_enable h323) \
2478 + $(use_enable h323 h450) \
2479 + $(use_enable h323 h460) \
2480 + $(use_enable h323 h501) \
2481 + $(use_enable iax) \
2482 + $(use_enable ivr) \
2483 + $(use_enable ixj) \
2484 + $(use_enable java) \
2485 + $(use_enable lid) \
2486 + $(use_enable plugins) \
2487 + $(use_enable sbc) \
2488 + $(use_enable sip) \
2489 + $(use_enable sipim) \
2490 + $(use_enable stats statistics) \
2491 + $(use_enable video) $(use_enable video rfc4175) \
2492 + $(use_enable rfc4103) \
2493 + $(use_enable vpb) \
2494 + $(use_enable x264 h264) \
2495 + $(use_enable x264-static x264-link-static)
2496 +}
2497 +
2498 +src_compile() {
2499 + local makeopts="opt"
2500 +
2501 + use debug && makeopts="debug"
2502 +
2503 + emake ${makeopts}
2504 +}
2505 +
2506 +src_install() {
2507 + emake DESTDIR="${D}" install
2508 +
2509 + # Get rid of static libraries if not requested
2510 + # There seems to be no easy way to disable this in the build system
2511 + if ! use static-libs; then
2512 + rm -v "${D}"/usr/lib*/*.a || die
2513 + fi
2514 +
2515 + if use doc; then
2516 + dohtml -r "${WORKDIR}"/html/* docs/*
2517 + fi
2518 +
2519 + # ChangeLog is not standard and does not exist on 3.10.10
2520 +# dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed"
2521 +
2522 + if use examples; then
2523 + local exampledir="/usr/share/doc/${PF}/examples"
2524 + local basedir="samples"
2525 +
2526 + # first, install files
2527 + insinto ${exampledir}
2528 + docompress -x ${exampledir}
2529 + doins -r ${basedir}/*
2530 +
2531 + # some examples need version.h
2532 + insinto "/usr/share/doc/${PF}/"
2533 + doins version.h
2534 + fi
2535 +}
2536 +
2537 +pkg_postinst() {
2538 + if use examples; then
2539 + ewarn "All examples have been installed, some of them will not work on your system"
2540 + ewarn "it will depend of the enabled USE flags in ptlib and opal"
2541 + fi
2542 +
2543 + if ! use plugins || ! use audio || ! use video; then
2544 + ewarn "You have disabled audio, video or plugins USE flags."
2545 + ewarn "Most audio/video features or plugins have been disabled silently"
2546 + ewarn "even if enabled via USE flags."
2547 + ewarn "Having a feature enabled via USE flag but disabled can lead to issues."
2548 + fi
2549 +}
2550
2551 diff --git a/net-libs/opal/opal-3.6.8-r2.ebuild b/net-libs/opal/opal-3.6.8-r2.ebuild
2552 new file mode 100644
2553 index 0000000..5f95c35
2554 --- /dev/null
2555 +++ b/net-libs/opal/opal-3.6.8-r2.ebuild
2556 @@ -0,0 +1,280 @@
2557 +# Copyright 1999-2013 Gentoo Foundation
2558 +# Distributed under the terms of the GNU General Public License v2
2559 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.6.8-r2.ebuild,v 1.11 2013/06/25 16:11:52 chithanh Exp $
2560 +
2561 +EAPI="4"
2562 +
2563 +inherit eutils autotools toolchain-funcs java-pkg-opt-2 flag-o-matic
2564 +
2565 +HTMLV="3.6.7" # There is no 3.6.8 release of htmldoc
2566 +DESCRIPTION="C++ class library normalising numerous telephony protocols"
2567 +HOMEPAGE="http://www.opalvoip.org/"
2568 +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2
2569 + doc? ( mirror://sourceforge/opalvoip/${PN}-${HTMLV}-htmldoc.tar.bz2 )"
2570 +
2571 +LICENSE="MPL-1.0"
2572 +SLOT="0"
2573 +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
2574 +IUSE="+audio capi celt debug doc dtmf examples fax ffmpeg h224 h281 h323 iax
2575 +ilbc ipv6 ivr ixj java ldap lid +plugins sbc sip sipim srtp ssl static-libs
2576 +stats swig theora +video vpb vxml wav x264 x264-static xml"
2577 +
2578 +REQUIRED_USE="x264-static? ( x264 )
2579 + h281? ( h224 )"
2580 +
2581 +RDEPEND="<net-libs/ptlib-2.10.8[stun,debug=,audio?,dtmf?,ipv6?,ldap?,ssl?,video?,vxml?,wav?,xml?]
2582 + >=media-libs/speex-1.2_beta
2583 + fax? ( net-libs/ptlib[asn] )
2584 + h323? ( net-libs/ptlib[asn] )
2585 + ivr? ( net-libs/ptlib[http,xml,vxml] )
2586 + java? ( >=virtual/jre-1.4 )
2587 + plugins? (
2588 + media-sound/gsm
2589 + capi? ( net-dialup/capi4k-utils )
2590 + celt? ( media-libs/celt )
2591 + ffmpeg? ( virtual/ffmpeg[encode] !!>=media-libs/libav-9 )
2592 + ixj? ( sys-kernel/linux-headers )
2593 + ilbc? ( dev-libs/ilbc-rfc3951 )
2594 + sbc? ( media-libs/libsamplerate )
2595 + theora? ( media-libs/libtheora )
2596 + x264? ( virtual/ffmpeg
2597 + media-libs/x264 ) )
2598 + srtp? ( net-libs/libsrtp )
2599 + vxml? ( net-libs/ptlib[http,vxml] )"
2600 +DEPEND="${RDEPEND}
2601 + virtual/pkgconfig
2602 + >=sys-devel/gcc-3
2603 + java? ( swig? ( dev-lang/swig )
2604 + >=virtual/jdk-1.4 )"
2605 +
2606 +# NOTES:
2607 +# ffmpeg[encode] is for h263 and mpeg4
2608 +# ssl, xml, vxml, ipv6, dtmf, ldap, audio, wav, and video are use flags
2609 +# herited from ptlib: feature is enabled if ptlib has enabled it
2610 +# however, disabling it if ptlib has it looks hard (coz of buildopts.h)
2611 +# forcing ptlib to disable it for opal is not a solution too
2612 +# atm, accepting the "auto-feature" looks like a good solution
2613 +# (asn is used for fax and config _only_ for examples)
2614 +# OPALDIR should not be used anymore but if a package still need it, create it
2615 +
2616 +pkg_setup() {
2617 + # workaround for bug 282838
2618 + append-flags "-fno-visibility-inlines-hidden"
2619 +
2620 + # Upstream fixed this in trunk
2621 + # http://opalvoip.svn.sourceforge.net/viewvc/opalvoip?view=revision&revision=25165
2622 + append-flags -D__STDC_CONSTANT_MACROS #324323
2623 +
2624 + # need >=gcc-3
2625 + if [[ $(gcc-major-version) -lt 3 ]]; then
2626 + eerror "You need to use gcc-3 at least."
2627 + eerror "Please change gcc version with 'gcc-config'."
2628 + die "You need to use gcc-3 at least."
2629 + fi
2630 +
2631 + java-pkg-opt-2_pkg_setup
2632 +}
2633 +
2634 +src_prepare() {
2635 + # remove visual studio related files from samples/
2636 + if use examples; then
2637 + rm -f samples/*/*.vcproj
2638 + rm -f samples/*/*.sln
2639 + rm -f samples/*/*.dsp
2640 + rm -f samples/*/*.dsw
2641 + fi
2642 +
2643 + # upstream patch 2808915
2644 + epatch "${FILESDIR}"/${PN}-3.6.4-jdkroot.patch
2645 +
2646 + epatch "${FILESDIR}"/${P}-build-fix.patch #343041
2647 + epatch "${FILESDIR}"/${P}-ldflags.patch
2648 + epatch "${FILESDIR}"/${P}-lid-plugins-ldflags.patch #397681
2649 +
2650 + # h224 really needs h323 ?
2651 + # TODO: get a confirmation in ml
2652 + sed -i -e "s:\(.*HAS_H224.*\), \[OPAL_H323\]:\1:" configure.ac \
2653 + || die "sed failed"
2654 +
2655 + eaclocal
2656 + eautoconf
2657 +
2658 + # in plugins
2659 + cd plugins/
2660 + eaclocal
2661 + eautoconf
2662 + cd ..
2663 +
2664 + # disable srtp if srtp is not enabled (prevent auto magic dep)
2665 + # upstream bug 2686485 (fixed in 3.7)
2666 + if ! use srtp; then
2667 + sed -i -e "s/OPAL_SRTP=yes/OPAL_SRTP=no/" configure \
2668 + || die "patching configure failed"
2669 + fi
2670 +
2671 + # disable theora if theora is not enabled (prevent auto magic dep)
2672 + # upstream bug 2686488 (fixed in 3.7)
2673 + if ! use theora; then
2674 + sed -i -e "s/HAVE_THEORA=yes/HAVE_THEORA=no/" plugins/configure \
2675 + || die "patching plugins/configure failed"
2676 + fi
2677 +
2678 + # disable mpeg4 and h263p if ffmpeg is not enabled (prevent auto magic dep)
2679 + # upstream bug 2686495 (fixed in 3.7)
2680 + if ! use ffmpeg; then
2681 + sed -i -e "s/HAVE_H263P=yes/HAVE_H263P=no/" plugins/configure \
2682 + || die "patching plugins/configure failed"
2683 + sed -i -e "s/HAVE_MPEG4=yes/HAVE_MPEG4=no/" plugins/configure \
2684 + || die "patching plugins/configure failed"
2685 + fi
2686 +
2687 + # disable celt if celt is not enabled (prevent auto magic dep)
2688 + # already in repository
2689 + if ! use celt; then
2690 + sed -i -e "s/HAVE_CELT=yes/HAVE_CELT=no/" plugins/configure \
2691 + || die "sed failed"
2692 + fi
2693 +
2694 + # fix gsm wav49 support check, upstream bug 2686500 (fixed in 3.7)
2695 + if use plugins; then
2696 + sed -i -e "s:gsm\.h:gsm/gsm.h:" plugins/configure \
2697 + || die "patching plugins/configure failed"
2698 + fi
2699 +
2700 + # fix automatic swig detection, upstream bug 2712521 (upstream reject it)
2701 + if ! use swig; then
2702 + sed -i -e "/^SWIG=/d" configure || die "patching configure failed"
2703 + fi
2704 +
2705 + use ilbc || { rm -r plugins/audio/iLBC/ || die "removing iLBC failed"; }
2706 +
2707 + java-pkg-opt-2_src_prepare
2708 +}
2709 +
2710 +src_configure() {
2711 + local forcedconf=""
2712 +
2713 + # fix bug 277233, upstream bug 2820939
2714 + if use fax; then
2715 + forcedconf="${forcedconf} --enable-statistics"
2716 + fi
2717 +
2718 + # --with-libavcodec-source-dir should _not_ be set, it's for trunk sources
2719 + # versioncheck: check for ptlib version
2720 + # shared: should always be enabled for a lib
2721 + # localspeex, localspeexdsp, localgsm, localilbc: never use bundled libs
2722 + # samples: only build some samples, useless
2723 + # libavcodec-stackalign-hack: prevent hack (default disable by upstream)
2724 + # default-to-full-capabilties: default enable by upstream
2725 + # aec: atm, only used when bundled speex, so it's painless for us
2726 + # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from
2727 + # http://zfoneproject.com/ wich is not in portage
2728 + # msrp: highly experimental
2729 + # spandsp: doesn't work with newest spandsp, upstream bug 2796047
2730 + # g711plc: force enable
2731 + # rfc4103: not really used, upstream bug 2795831
2732 + # t38, spandsp: merged in fax
2733 + # h450, h460, h501: merged in h323 (they are additional features of h323)
2734 + econf \
2735 + --enable-versioncheck \
2736 + --enable-shared \
2737 + --disable-zrtp \
2738 + --disable-localspeex \
2739 + --disable-localspeexdsp \
2740 + --disable-localgsm \
2741 + --disable-localilbc \
2742 + --disable-samples \
2743 + --disable-libavcodec-stackalign-hack \
2744 + --enable-default-to-full-capabilties \
2745 + --enable-aec \
2746 + --disable-msrp \
2747 + --disable-spandsp \
2748 + --enable-g711plc \
2749 + --enable-rfc4103 \
2750 + $(use_enable debug) \
2751 + $(use_enable capi) \
2752 + $(use_enable fax) \
2753 + $(use_enable fax t38) \
2754 + $(use_enable h224) \
2755 + $(use_enable h281) \
2756 + $(use_enable h323) \
2757 + $(use_enable h323 h450) \
2758 + $(use_enable h323 h460) \
2759 + $(use_enable h323 h501) \
2760 + $(use_enable iax) \
2761 + $(use_enable ivr) \
2762 + $(use_enable ixj) \
2763 + $(use_enable java) \
2764 + $(use_enable lid) \
2765 + $(use_enable plugins) \
2766 + $(use_enable sbc) \
2767 + $(use_enable sip) \
2768 + $(use_enable sipim) \
2769 + $(use_enable stats statistics) \
2770 + $(use_enable video) $(use_enable video rfc4175) \
2771 + $(use_enable vpb) \
2772 + $(use_enable x264 h264) \
2773 + $(use_enable x264-static x264-link-static) \
2774 + ${forcedconf}
2775 +}
2776 +
2777 +src_compile() {
2778 + local makeopts=""
2779 +
2780 + use debug && makeopts="debug"
2781 +
2782 + emake ${makeopts} || die "emake failed"
2783 +}
2784 +
2785 +src_install() {
2786 + emake DESTDIR="${D}" install || die "emake install failed"
2787 +
2788 + # Get rid of static libraries if not requested
2789 + # There seems to be no easy way to disable this in the build system
2790 + if ! use static-libs; then
2791 + rm -v "${D}"/usr/lib*/*.a || die
2792 + fi
2793 +
2794 + if use doc; then
2795 + dohtml -r "${WORKDIR}"/html/* docs/* || die "dohtml failed"
2796 + fi
2797 +
2798 + # ChangeLog is not standard
2799 + dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed"
2800 +
2801 + if use examples; then
2802 + local exampledir="/usr/share/doc/${PF}/examples"
2803 + local basedir="samples"
2804 + local sampledirs="`ls ${basedir} --hide=configure* \
2805 + --hide=opal_samples.mak.in`"
2806 +
2807 + # first, install files
2808 + insinto ${exampledir}/
2809 + doins ${basedir}/{configure*,opal_samples*} \
2810 + || die "doins failed"
2811 +
2812 + # now, all examples
2813 + for x in ${sampledirs}; do
2814 + insinto ${exampledir}/${x}/
2815 + doins ${basedir}/${x}/* || die "doins failed"
2816 + done
2817 +
2818 + # some examples need version.h
2819 + insinto "/usr/share/doc/${PF}/"
2820 + doins version.h || die "doins failed"
2821 + fi
2822 +}
2823 +
2824 +pkg_postinst() {
2825 + if use examples; then
2826 + ewarn "All examples have been installed, some of them will not work on your system"
2827 + ewarn "it will depend of the enabled USE flags in ptlib and opal"
2828 + fi
2829 +
2830 + if ! use plugins || ! use audio || ! use video; then
2831 + ewarn "You have disabled audio, video or plugins USE flags."
2832 + ewarn "Most audio/video features or plugins have been disabled silently"
2833 + ewarn "even if enabled via USE flags."
2834 + ewarn "Having a feature enabled via USE flag but disabled can lead to issues."
2835 + fi
2836 +}