From 31fe6cf674a49d5e8d4b2ffeb0f477061f6e6261 Mon Sep 17 00:00:00 2001 From: Jesus Rivero Date: Mon, 24 Mar 2014 09:55:50 -0400 Subject: Version bump for opal-3.14.0 --- net-libs/opal/ChangeLog | 399 +++++++++++++++++++++ net-libs/opal/Manifest | 32 ++ net-libs/opal/files/opal-2.1.1-notrace.diff | 11 + .../files/opal-3.10.9-avoid_cflags_mixup.patch | 131 +++++++ .../opal-3.10.9-disable-h323-workaround.patch | 13 + net-libs/opal/files/opal-3.10.9-ffmpeg.patch | 189 ++++++++++ .../files/opal-3.10.9-java-ruby-swig-fix.patch | 29 ++ .../opal/files/opal-3.10.9-labs_is_in_stdlib.patch | 11 + .../files/opal-3.10.9-svn_revision_override.patch | 15 + .../files/opal-3.12.4-avoid_cflags_mixup.patch | 132 +++++++ .../files/opal-3.12.4-java-ruby-swig-fix.patch | 28 ++ .../files/opal-3.14.0-java-ruby-swig-fix.patch | 24 ++ .../opal-3.14.0-pmimeinfo_not_declared_fix.patch | 11 + net-libs/opal/files/opal-3.6.4-jdkroot.patch | 15 + net-libs/opal/files/opal-3.6.8-build-fix.patch | 39 ++ net-libs/opal/files/opal-3.6.8-ldflags.patch | 240 +++++++++++++ .../files/opal-3.6.8-lid-plugins-ldflags.patch | 40 +++ net-libs/opal/metadata.xml | 42 +++ net-libs/opal/opal-3.10.10.ebuild | 252 +++++++++++++ net-libs/opal/opal-3.10.9.ebuild | 252 +++++++++++++ net-libs/opal/opal-3.12.4.ebuild | 235 ++++++++++++ net-libs/opal/opal-3.14.0.ebuild | 221 ++++++++++++ net-libs/opal/opal-3.6.8-r2.ebuild | 280 +++++++++++++++ 23 files changed, 2641 insertions(+) create mode 100644 net-libs/opal/ChangeLog create mode 100644 net-libs/opal/Manifest create mode 100644 net-libs/opal/files/opal-2.1.1-notrace.diff create mode 100644 net-libs/opal/files/opal-3.10.9-avoid_cflags_mixup.patch create mode 100644 net-libs/opal/files/opal-3.10.9-disable-h323-workaround.patch create mode 100644 net-libs/opal/files/opal-3.10.9-ffmpeg.patch create mode 100644 net-libs/opal/files/opal-3.10.9-java-ruby-swig-fix.patch create mode 100644 net-libs/opal/files/opal-3.10.9-labs_is_in_stdlib.patch create mode 100644 net-libs/opal/files/opal-3.10.9-svn_revision_override.patch create mode 100644 net-libs/opal/files/opal-3.12.4-avoid_cflags_mixup.patch create mode 100644 net-libs/opal/files/opal-3.12.4-java-ruby-swig-fix.patch create mode 100644 net-libs/opal/files/opal-3.14.0-java-ruby-swig-fix.patch create mode 100644 net-libs/opal/files/opal-3.14.0-pmimeinfo_not_declared_fix.patch create mode 100644 net-libs/opal/files/opal-3.6.4-jdkroot.patch create mode 100644 net-libs/opal/files/opal-3.6.8-build-fix.patch create mode 100644 net-libs/opal/files/opal-3.6.8-ldflags.patch create mode 100644 net-libs/opal/files/opal-3.6.8-lid-plugins-ldflags.patch create mode 100644 net-libs/opal/metadata.xml create mode 100644 net-libs/opal/opal-3.10.10.ebuild create mode 100644 net-libs/opal/opal-3.10.9.ebuild create mode 100644 net-libs/opal/opal-3.12.4.ebuild create mode 100644 net-libs/opal/opal-3.14.0.ebuild create mode 100644 net-libs/opal/opal-3.6.8-r2.ebuild diff --git a/net-libs/opal/ChangeLog b/net-libs/opal/ChangeLog new file mode 100644 index 0000000..5ccdf52 --- /dev/null +++ b/net-libs/opal/ChangeLog @@ -0,0 +1,399 @@ +# ChangeLog for net-libs/opal +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/ChangeLog,v 1.99 2013/12/16 02:26:45 patrick Exp $ + + 16 Dec 2013; Patrick Lauer metadata.xml: + Remove unneeded useflags from metadata.xml + + 15 Dec 2013; Dion Moult -opal-2.2.11.ebuild: + <=net-libs/opal-2.2.11 removal (pending 11 July 2013), see #290062 and #290063 + for reference. + + 27 Oct 2013; Pacho Ramos metadata.xml: + Cleanup due voip herd removal: + http://article.gmane.org/gmane.linux.gentoo.devel/88434 + + 25 Jun 2013; Chí-Thanh Christopher Nguyễn + opal-3.10.10.ebuild, opal-3.10.9.ebuild, opal-3.6.8-r2.ebuild: + Add blockers for libav-9, bug #443206. + + 24 Jun 2013; Tomáš Chvátal opal-3.12.4.ebuild: + Fix samples readme install wrt#474614. + +*opal-3.12.4 (22 Jun 2013) + + 22 Jun 2013; Tomáš Chvátal + +files/opal-3.12.4-avoid_cflags_mixup.patch, + +files/opal-3.12.4-java-ruby-swig-fix.patch, +opal-3.12.4.ebuild: + Version bump to 3.12.4 to build with libav9. Fixes bug#443206. + + 05 Apr 2013; Agostino Sarubbo opal-3.10.10.ebuild: + Stable for ppc64, wrt bug #461842 + + 01 Apr 2013; Agostino Sarubbo opal-3.10.10.ebuild: + Stable for alpha, wrt bug #461842 + + 01 Apr 2013; Agostino Sarubbo opal-3.10.10.ebuild: + Stable for ia64, wrt bug #461842 + + 30 Mar 2013; Agostino Sarubbo opal-3.10.10.ebuild: + Stable for ppc, wrt bug #461842 + + 28 Mar 2013; Agostino Sarubbo opal-3.10.10.ebuild: + Stable for x86, wrt bug #461842 + + 28 Mar 2013; Agostino Sarubbo opal-3.10.10.ebuild: + Stable for amd64, wrt bug #461842 + +*opal-3.10.10 (05 Mar 2013) + + 05 Mar 2013; Chí-Thanh Christopher Nguyễn + +opal-3.10.10.ebuild: + Version bump. + + 08 Feb 2013; Alexis Ballier opal-3.10.9.ebuild, + +files/opal-3.10.9-ffmpeg.patch: + backport upstream fix to build with recent ffmpeg versions, part of bug + #443206 + + 16 Dec 2012; Pacho Ramos metadata.xml: + Cleanup due retirement, #260683 + +*opal-3.10.9 (03 Dec 2012) + + 03 Dec 2012; Jesus Rivero -opal-3.10.8-r1.ebuild, + -files/opal-3.10.8-avoid_cflags_mixup.patch, + -files/opal-3.10.8-disable-h323-workaround.patch, + -files/opal-3.10.8-labs_is_in_stdlib.patch, + -files/opal-3.10.8-svn_revision_override.patch, +opal-3.10.9.ebuild, + +files/opal-3.10.9-avoid_cflags_mixup.patch, + +files/opal-3.10.9-disable-h323-workaround.patch, + +files/opal-3.10.9-java-ruby-swig-fix.patch, + +files/opal-3.10.9-labs_is_in_stdlib.patch, + +files/opal-3.10.9-svn_revision_override.patch: + Version bump. Fixes to bugs #439498 and #440184 + +*opal-3.10.8-r1 (24 Oct 2012) + + 24 Oct 2012; Jesus Rivero -opal-3.10.8.ebuild, + +opal-3.10.8-r1.ebuild, +files/opal-3.10.8-avoid_cflags_mixup.patch: + Revbump. New patches to fix bug #439464 and fix C and CXX flags mixup in + plugins + +*opal-3.10.8 (23 Oct 2012) + + 23 Oct 2012; Jesus Rivero opal-3.6.8-r2.ebuild, + +opal-3.10.8.ebuild, +files/opal-3.10.8-disable-h323-workaround.patch, + +files/opal-3.10.8-labs_is_in_stdlib.patch, + +files/opal-3.10.8-svn_revision_override.patch, metadata.xml: + Version bump, fixing several bugs. Adjusted opal-3.6.8 dep on ptlib < + 2.10.8. Added myself as maintainer + + 30 Sep 2012; Raúl Porcel opal-3.6.8-r2.ebuild: + alpha stable wrt #397617 + + 17 Jun 2012; Raúl Porcel opal-3.6.8-r2.ebuild: + ia64/sparc stable wrt #397617 + + 20 May 2012; Mark Loeser opal-3.6.8-r2.ebuild: + Stable for ppc/ppc64; bug #397617 + + 16 May 2012; Tomáš Chvátal -opal-3.6.8-r1.ebuild, + -opal-3.6.8.ebuild, opal-3.6.8-r2.ebuild: + Reduce versions using media-video/ffmpeg. Stable the version with + virutal/ffmpeg on x86. + + 05 May 2012; Jeff Horelick opal-3.6.8.ebuild, + opal-3.6.8-r1.ebuild, opal-3.6.8-r2.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + + 25 Mar 2012; Pacho Ramos metadata.xml: + Set herd as primary maintainer as talked with volkmar. + + 09 Jan 2012; Agostino Sarubbo opal-3.6.8-r2.ebuild: + Stable for AMD64, wrt bug #397617 + + 04 Jan 2012; Nirbheek Chauhan opal-3.6.8-r2.ebuild, + +files/opal-3.6.8-lid-plugins-ldflags.patch: + Fix static libs, fix ldflags for plugins (bug 397681), and fix ptlib dep for + vxml + + 24 May 2011; Peter Volkov opal-3.6.8-r2.ebuild: + Update another occurence of media-video/ffmpeg to virtual/ffmpeg. + +*opal-3.6.8-r2 (01 May 2011) + + 01 May 2011; Peter Volkov +opal-3.6.8-r2.ebuild, + metadata.xml: + Use virtual/ffmpeg dependency, bug #362161 wrt Tomáš Chvátal. Add + ‘ilbc’ USE flag, bug 348284 by Nico R. + + 18 Jan 2011; Christian Faulhammer opal-3.6.8-r1.ebuild: + stable x86, bug 348987 + +*opal-3.6.8-r1 (07 Dec 2010) + + 07 Dec 2010; Peter Volkov +opal-3.6.8-r1.ebuild, + +files/opal-3.6.8-build-fix.patch, +files/opal-3.6.8-ldflags.patch: + Respect ldflags, bug #331085 thank Olivier Huber for report and fix. Bug + build issue, #343041 thank Ming-Wei for report and Hamlet for draft fix. + + 01 Nov 2010; Mark Loeser opal-3.6.8.ebuild: + Add ~ppc64; bug #276355 + + 27 Oct 2010; Mounir Lamouri opal-3.6.8.ebuild: + Updating celt required version. + + 27 Oct 2010; Mounir Lamouri -opal-3.6.4.ebuild, + -opal-3.6.4-r1.ebuild, -opal-3.6.6.ebuild, -opal-3.6.7.ebuild, + -files/opal-3.6.7-celt-0.7-update.patch: + Removing old ebulid and patches. + +*opal-3.6.8 (19 Aug 2010) + + 19 Aug 2010; Peter Volkov +opal-3.6.8.ebuild: + Version bump, bug #326469 thank Vladimir for report. + + 24 Jul 2010; Panagiotis Christopoulos + opal-3.6.4.ebuild, opal-3.6.4-r1.ebuild, opal-3.6.6.ebuild, + opal-3.6.7.ebuild: + Fix broken swig deps, after removing old swig ebuilds, reported by + Mr_Bones + + 20 Jul 2010; Jeroen Roovers opal-2.2.11.ebuild: + Drop HPPA keywording (bug #324511). + + 21 Jun 2010; Samuli Suominen opal-3.6.7.ebuild: + Fix building with FFmpeg >= 0.6 wrt #324323 by Alexis Ballier. + + 28 Feb 2010; Peter Volkov opal-3.6.7.ebuild, + +files/opal-3.6.7-celt-0.7-update.patch: + Fixed build issue with newer celt codec, #300629 thank Matti Nykyri for + report and Stefan Knoblich for this fix. Updated ptlib dep, bug #306141, + thank Andrey Grozin for report. + + 25 Feb 2010; Robin H. Johnson opal-3.6.7.ebuild: + Latest opal requires a new ptlib during configure phase: Package + requirements (ptlib >= 2.6.6) were not met. + +*opal-3.6.7 (18 Feb 2010) + + 18 Feb 2010; Peter Volkov +opal-3.6.7.ebuild: + Version bump. + + 17 Dec 2009; Raúl Porcel opal-3.6.4.ebuild, + opal-3.6.4-r1.ebuild, opal-3.6.6.ebuild: + Add ~ia64/~sparc wrt #276355 + + 11 Oct 2009; Paul de Vrieze opal-3.6.6.ebuild: + Update version dependency for ptlib. Version 2.6.2 is certainly broken. + While this version is no longer in the tree people can still have it + installed. Set the minimal version to 2.6.4 as that is in the tree, and + the actual required version is not clear. + + 29 Sep 2009; Mounir Lamouri opal-3.6.6.ebuild: + Changing filter-flags to append-flags after ssuominen advice. + + 29 Sep 2009; Tobias Klausmann opal-3.6.4-r1.ebuild: + Keyworded on alpha, bug #276355 + + 29 Sep 2009; Mounir Lamouri opal-3.6.6.ebuild: + Filter -fvisibility-inlines-hidden as a workaround for bug 282838 + +*opal-3.6.6 (24 Sep 2009) + + 24 Sep 2009; Mounir Lamouri +opal-3.6.6.ebuild: + Version bump to 3.6.6. + + 12 Sep 2009; Mounir Lamouri opal-3.6.4.ebuild, + opal-3.6.4-r1.ebuild: + Removing USE flags removed from ptlib from ptlib dep. + + 12 Sep 2009; Mounir Lamouri +opal-3.6.4.ebuild, + metadata.xml: + Warn instead of dying when USE="h281 -h224". Bug 276475. + Add celt flag/dependency, lost alpha keyword. + + 11 Sep 2009; Mounir Lamouri opal-3.6.4.ebuild, + metadata.xml: + Merge rfc4175 USE flag with video. + + 11 Sep 2009; Mounir Lamouri opal-3.6.4.ebuild: + Warning instead of dying when USE="-x264 x265-static" + +*opal-3.6.4 (25 Aug 2009) + + 25 Aug 2009; Mounir Lamouri + -files/opal-3.6.2-as-needed.patch, -files/opal-3.6.2-gcc-4.4.patch, + -files/opal-3.6.2-jdkroot.patch, -files/opal-3.6.2-sbc.patch, + -files/opal-3.6.2-system-ilbc.patch, +files/opal-3.6.4-jdkroot.patch, + -opal-3.6.2.ebuild, +opal-3.6.4.ebuild: + Version bump to 3.6.4. Bug 281170 + Thanks to Colin Macdonald. + + 03 Aug 2009; Markus Meier opal-3.6.2.ebuild: + add ~amd64, bug #276355 + + 13 Jul 2009; Mounir Lamouri opal-3.6.2.ebuild: + Force --enable-statistics if fax USE flag is enabled. Fix bug 277233 + + 12 Jul 2009; Tobias Klausmann opal-3.6.2.ebuild: + Keyworded on alpha, bug #276278 + + 09 Jul 2009; Mounir Lamouri + +files/opal-3.6.2-gcc-4.4.patch, opal-3.6.2.ebuild: + Fix compilation with gcc-4.4. Fix bug 269328. Thanks to Michal Górny. + +*opal-3.6.2 (03 Jul 2009) + + 03 Jul 2009; Mounir Lamouri + +files/opal-3.6.2-as-needed.patch, +files/opal-3.6.2-jdkroot.patch, + +files/opal-3.6.2-sbc.patch, +files/opal-3.6.2-system-ilbc.patch, + metadata.xml, +opal-3.6.2.ebuild: + Version bump to 3.6.2. Add myself as maintainer. Fix bug 238610 + + 09 Oct 2008; Diego Pettenò opal-2.2.11.ebuild: + Fix build dependencies. + + 21 Nov 2007; Michael Sterrett -opal-2.2.6.ebuild, + -opal-2.2.8.ebuild: + remove old, dep-broken ebuilds + + 12 Oct 2007; Tobias Scherbaum opal-2.2.11.ebuild: + ppc stable, bug #193095 + + 11 Oct 2007; Raúl Porcel opal-2.2.11.ebuild: + alpha/ia64/sparc stable wrt security #193095 + + 11 Oct 2007; Markus Rothe opal-2.2.11.ebuild: + Stable on ppc64; bug #193095 + + 11 Oct 2007; Mike Doty opal-2.2.11.ebuild: + amd64 stable, bug 193095 + + 10 Oct 2007; Jeroen Roovers opal-2.2.11.ebuild: + Stable for HPPA (bug #193095). + + 10 Oct 2007; Christian Faulhammer opal-2.2.11.ebuild: + stable x86, security bug 193095 + +*opal-2.2.11 (08 Oct 2007) + + 08 Oct 2007; Stefan Schweizer +opal-2.2.11.ebuild: + version bump + + 03 Jun 2007; Stefan Schweizer opal-2.2.8.ebuild: + replace-flags -Os -O2 for bug 180718 + + 16 Apr 2007; Timothy Redaelli opal-2.2.8.ebuild: + Fixed cross-distcc + +*opal-2.2.8 (14 Apr 2007) + + 14 Apr 2007; Stefan Schweizer +opal-2.2.8.ebuild: + version bump + + 14 Apr 2007; Stefan Schweizer -opal-2.2.1.ebuild, + -opal-2.2.2.ebuild, -opal-2.2.3.ebuild, -opal-2.2.5.ebuild: + remove old + + 23 Mar 2007; René Nussbaumer opal-2.2.6.ebuild: + Stable on hppa. See bug #167643. + + 23 Mar 2007; Chris Gianelloni opal-2.2.6.ebuild: + Stable on alpha/amd64/ia64/ppc wrt bug #167643. + + 23 Mar 2007; Markus Rothe opal-2.2.6.ebuild: + Stable on ppc64; bug #167643 + + 23 Mar 2007; Christian Faulhammer opal-2.2.6.ebuild: + stable x86, security bug 167643 + +*opal-2.2.6 (21 Mar 2007) + + 21 Mar 2007; Gustavo Zacarias +opal-2.2.6.ebuild: + Verbump wrt #167643 and #169066 + + 10 Mar 2007; Bryan Østergaard opal-2.2.5.ebuild: + Stable on Alpha + IA64, bug 167643. + + 03 Mar 2007; Tobias Scherbaum opal-2.2.5.ebuild: + Stable on ppc wrt bug #167643. + + 01 Mar 2007; René Nussbaumer opal-2.2.5.ebuild: + Stable on hppa. See bug #167643. + + 27 Feb 2007; Steve Dibb opal-2.2.5.ebuild: + amd64 stable, security bug 167643 + + 27 Feb 2007; Jason Wever opal-2.2.5.ebuild: + Stable on SPARC wrt security bug #167643. + + 25 Feb 2007; Markus Rothe opal-2.2.5.ebuild: + Stable on ppc64; bug #167643 + + 24 Feb 2007; Raúl Porcel opal-2.2.5.ebuild: + x86 stable wrt bug 167643 + +*opal-2.2.5 (21 Feb 2007) + + 21 Feb 2007; Remi Cardona +opal-2.2.5.ebuild: + bumping opal to 2.2.5 + + 19 Jan 2007; Jeroen Roovers opal-2.2.3.ebuild: + Stable for HPPA (bug #147751). + + 14 Jan 2007; Bryan Østergaard opal-2.2.3.ebuild: + Stable on Alpha. + + 06 Jan 2007; Bryan Østergaard opal-2.2.3.ebuild: + Add ~ia64 keyword, bug 142482. + + 21 Dec 2006; Markus Rothe opal-2.2.3.ebuild: + Stable on ppc64; bug #156662 + + 18 Dec 2006; Gustavo Zacarias opal-2.2.3.ebuild: + Stable on sparc + + 17 Dec 2006; Tobias Scherbaum opal-2.2.3.ebuild: + Stable on ppc wrt bug #156662. + + 12 Dec 2006; Chris Gianelloni opal-2.2.3.ebuild: + Stable on amd64 wrt bug #156662. + + 10 Dec 2006; Andrej Kacian opal-2.2.3.ebuild: + Stable on x86, bug #156662. + +*opal-2.2.3 (12 Sep 2006) + + 12 Sep 2006; Stefan Schweizer +opal-2.2.3.ebuild: + version bump + + 17 Aug 2006; Markus Rothe opal-2.2.2.ebuild: + Stable on ppc64 + + 21 Jul 2006; Markus Rothe opal-2.2.2.ebuild: + Added ~ppc64 + + 17 Jul 2006; Daniel Gryniewicz opal-2.2.2.ebuild: + Marked stable on amd64 for bug #139612 + + 14 Jul 2006; Tobias Scherbaum opal-2.2.2.ebuild: + ppc stable, bug #139612 + + 12 Jul 2006; Chris Gianelloni opal-2.2.2.ebuild: + Stable on x86 wrt bug #139612. + + 10 Jul 2006; Gustavo Zacarias opal-2.2.2.ebuild: + Stable on sparc wrt #139612 and #115652 + +*opal-2.2.2 (06 Jun 2006) + + 06 Jun 2006; Stefan Schweizer +opal-2.2.2.ebuild: + version bump thanks to David PIRY in bug 135785 + +*opal-2.2.1 (20 Mar 2006) + + 20 Mar 2006; Stefan Schweizer + +files/opal-2.1.1-notrace.diff, +metadata.xml, +opal-2.2.1.ebuild: + New ebuild for ekiga, bug 119611 diff --git a/net-libs/opal/Manifest b/net-libs/opal/Manifest new file mode 100644 index 0000000..a2e1e83 --- /dev/null +++ b/net-libs/opal/Manifest @@ -0,0 +1,32 @@ +AUX opal-2.1.1-notrace.diff 263 SHA256 3abf99ab2a7bde2e1a2380e22a9c5e15240439bdf7766b4715c78cacd46961c0 SHA512 279ebd4821af25ba1ef795aad66d1ae20489337ab2d78c174b4caa4dbbf02b4f8c7f6fdc5e2822e1c6441e2850d0924f108dcaf06beaf238be58b44daee91b71 WHIRLPOOL b71b6bf51eda7d9a5c24a9bcff85c41c3017e92c6be4f1fed5022ccbfac0ea0f3b66a4cc9b501810b5e342b8f8cf8110c698deca9ed71661a3f5fe40184040da +AUX opal-3.10.9-avoid_cflags_mixup.patch 5378 SHA256 80a41d81a1caeaee31c43c7b71bac9943692eed3e6a5f7f5c4a1bf837cd391e7 SHA512 fdc6b52db3bd299d2235ebdb917921d3c9d01a03ffed65e8e4b833e66da21bde4c1497740a38a41f3d7393a6c65969a64587612a11c9590904b66c9fb86e1e7e WHIRLPOOL fc1d97a7180d50748b521cb345b58487e2183506b68d5d952f004d3f382cd77171b222187fa4bd92510026781012d601c23ec23f5df8023ad3e9ec73c5e98b0c +AUX opal-3.10.9-disable-h323-workaround.patch 498 SHA256 b1d943f7eb33c1828bf5a086abe1256dac55ce7f9a9cd16cbe9fa72b00d7ede2 SHA512 58e8ef12c39bce3a4d386b2b6033e1e242852bbf78371c58e91bd020cfcd95b40a9831db91fa76da431a9f8c4bb40c846b420e3a462dad77658a37c2281a9d39 WHIRLPOOL 6c590b837ebdcb11491aa3b9759d6c7e5930aa07d294bcfd473327f37866df97400bf1de588da853b6c807a233c23388359ac5a1e27c05ae1d4cc361585b98ae +AUX opal-3.10.9-ffmpeg.patch 7084 SHA256 194a95dbb0905f37c6778f628baddc962249c6cbc0b000197ebd8233b1d9c6ad SHA512 109c41fd92793bafdbbf066d5f7e33175be4034fe2a1ce2bd1df8f569e86101d04617151df851025da17c7b46bb345022200990c36bbb47f940afcea306a6701 WHIRLPOOL adb1f24df323f85ea9be1349ce238705cfa656137f96fcd7a45278e4aebfd774f70c8b38e9efa05576fb6be460e32af90ec7e5666ab2050986c959c75b6551fb +AUX opal-3.10.9-java-ruby-swig-fix.patch 874 SHA256 f813a831ac8d8c6c47f951125c1c8e971849d21a9cd7403e2bd72d39a5718930 SHA512 a7132cd6ad61d143cc11e00a048aaf66e1802890ac5fbde7ff964f99dc45a3abc79a081572cbdae5a84a50eee8af11266695a5de9c2691385c6f849e27105022 WHIRLPOOL ea85ac9c3603ff0a9eaf955f232c0197c35bb39ddce9a7d28c0f682e16e3660534eab0c5106bc8395ed2ac2445fb8f615d567e5ad607b5089331c116c4ae16db +AUX opal-3.10.9-labs_is_in_stdlib.patch 532 SHA256 c6d7613fc79d7f1134a4ff9246591d96ab9c264f0c8250b1cf51a33cdafa1fc7 SHA512 f1342804fec2e6422d499f776a39dff2e36e5604e2d43084322c9fd0b4bf7d511852c3ca02dc072d133b9204b4984b4400f56846f58cc2edfc0446176cdbfcf5 WHIRLPOOL 271170a5a2adcffac9d49e146a9a3e947790b155d224cc64800eb773b31a11c34309bfa8c28083534f8e230cc3aa3ae83a6a912a266cbb681b3c120e8ae794aa +AUX opal-3.10.9-svn_revision_override.patch 456 SHA256 78e84456c02f9a8c51f60dfff4882875c2fbefc2ac7953ed96a0dba30ed0e450 SHA512 b78843500d1d90ce11e8620fdad9f4a97184ee603a839828c39aad85d5f33bb08bd776f2faaf7c86e364cd4dc4d3166485d74dd66551ce508c9bee22a336d2ee WHIRLPOOL c82b0ffeba8315d1e0e3e7250dba1c3de17e095b68dcd110539920fb6f99ba9f4a4e5ccf3e97e785b15696c5703a546f08c999dda4d71614a0fdf13074e20197 +AUX opal-3.12.4-avoid_cflags_mixup.patch 5534 SHA256 13fe54e9d3a4175edcfba8b797c3e320910c52cf6fe8583b0a587c7ea62db6c2 SHA512 a335dbf7363a185627a489f4bf67bc7d08aba45c450ba110f0fb6073df147c7e5e86543d45acf0cfc6f6f5682c283220727356b93b756c59406734ad0c2ba490 WHIRLPOOL 63fcd73d71d2417b48052a4d90cc22c8784c456010905ac8853b2c348aa99a224a3bdd7d759917ae64628d77d4930e89eaf0f56021d8491be124184622bcce9c +AUX opal-3.12.4-java-ruby-swig-fix.patch 828 SHA256 9b85c31d9b7e776b0ade6a7c51be8993ce6945493d3293567800fb5a6aaee7a4 SHA512 4a02b4f23923c689b2b9a4f44fe6e3f01fa5e2fb871ff7bf5e1f4dfe8123db52fc1e7a4939c7383c89535c9b8e3aaf5bf66afd4a5720837c715079230061977f WHIRLPOOL 15707a039007c1d235fd7290ce8b0c4d4fc35eb04c1dd18ffda6408302416984390eebf283343a5c1f953aaa05394ed48b6b2f28cbaa8896decccbe9eaf5bcae +AUX opal-3.14.0-java-ruby-swig-fix.patch 958 SHA256 8725411e57c4a02da2e5c9d896cc041a2d3117a439ba5e1d2bf9f943dc35b0b1 SHA512 b101d864e94d6345f6c525234772017ea7fd54a062b2ea2007523d22d83c9454a494a95779b7532a692ad9a33ed4c7b09ea87f32cc57af83c7939974ad74c43c WHIRLPOOL 60d81e90b27b79cbc44597a74ee42aba39e7f05219610d58cb1ced14e79b143dd1cf383060488908ee805556efb1186a5de9cbb6bed5aa98dc35f75a0788b91c +AUX opal-3.14.0-pmimeinfo_not_declared_fix.patch 368 SHA256 3e4f614c5ae38d17d521690f044ecc6ef03c5cbed4d5a420fd4c5b81306d3c6f SHA512 be69a82159229baef7d178401bff2557712e47794b2f5e1e0b3c4e93c9b006a5356172bb23c0c366c21f8932dbf3b2cea07cf033c4593262b510451965a912d8 WHIRLPOOL 0fd95ec6216d56b5668ffc70b90e95067595e85063a71bf1df2454cf760d7a9870df05fc29ff846fb8721d00ea6eac2ec0f667b141bd10bc253fc7b24b5ded0f +AUX opal-3.6.4-jdkroot.patch 507 SHA256 c2e930565cd91a7ec75a1ed1657ba524dad810ec934ef854c39331388661f2f6 SHA512 7de9d234f322e0e1e9d00ea598d668b37bc8c0a363b0f922e4fc8105eef1bd5b06913eda61166bdbc8d9d0b87beed823a3c4ad3f600e0fd89bec12c36f8b73a9 WHIRLPOOL 563c08a73e803d028e6b022ecf57e3eeeeea33ddcc07135489c4b18853cb1ee08387e9cc436cadcf28abca86283916a1c11f05b8bb497e1d6a48e4c843836d0f +AUX opal-3.6.8-build-fix.patch 992 SHA256 cbd011cf42b7d691f5b8d71e02f5b317d50ea8c51a7b03e38887119dc07b58c8 SHA512 3e890d0133d5cac4bb2fb6616b65e8d92f56634f2f4f3ca44c39a464c3cc37e34c150eaac39541aba82637163e6a27e95744a5e20d6052e0df21a12b7e3262df WHIRLPOOL eba803a9d4c280ca519444d79b7a6bffa5b53b0eea02fb175a9cde2c3260cadd81836a579e51946c393acf4011bb549ae50f0aa1a21e4290ad39abeafd559740 +AUX opal-3.6.8-ldflags.patch 7345 SHA256 c7ecb726688eadbb24d09238c86de8874edc488d82503dbc64802d3d8878e411 SHA512 8008b35069cc8da56f958f27ddbe3fef38e157c9e0bd7498e4e5de0a4039f9a3d287ff053eb172296c7b1637d942365ec58214c2e2c3aa59bb098d306dc9d14e WHIRLPOOL 9e013301de6feec67b51f9f8bddd94a2eb0464dcab97fb2a680c3208f955e1e997ed9f5c4a237bdc9dccd59e01f55fb52f040207ba71237c9dfcda9d6a5f2cfb +AUX opal-3.6.8-lid-plugins-ldflags.patch 1146 SHA256 d4c8662afa93b5651f132280edd56ab87253ce91b829cfeff6ac0f322dffbd9b SHA512 ac10efaaa1323ea6f0fdcf54f46fb1a7c6c0c5f3c3d2e7f96ce19a9fe37105d1799842b7dcee07d64b4dca96bc852b80acd6c4d6af380757ec128c1f9c288390 WHIRLPOOL 97fab41a4c5b1c5a36933f154d4aa1b2c6d16ed9d90a7e9bba23850df503164641540a118b2379718c0572ee187c4f4e331051f7fd75df3804c66dcc74824cb9 +DIST opal-3.10.10-htmldoc.tar.bz2 3164570 SHA256 3f535ced87022e2ef53598d79611b3ab1a95f8336b36f8529d0aa9a960e37a62 SHA512 ac39b6ef3228b0b27ffce54a72c0af37612ff9e28c0a6e80ab78decadc7192360cb91793b9397dbbc5553343352856ffc85d8607990654369fbebd40ad8113b8 WHIRLPOOL efec7a3ad777d6e0ab49fbdc2cdf936d019298f144546bf7e17a694276c7b1466177c314f722112ab1573634377bdb3bc0cb4a966184f0a13c6992ae853dc41b +DIST opal-3.10.10.tar.bz2 8592083 SHA256 95f1ad3a823d58b3fa945f40b2a50cc5f2ccd5c376bf2a1e624f4013f2473801 SHA512 b279c78dc8c88d113f0a146013c3a57c13d9d01c511ed3df7496f296b88157a59178cd72b8ed61d61198685ebd74dafa139f1c3952cf5aca47f4dec9a52ceddb WHIRLPOOL 12ee687263156eb3151a91bf36a3b0c0acb7ac7c4cc04eddf8fc9fb60c6121433727d007bb78beaa7bda3285c3384ee8f9de9e36c6c354c0decca1d6263342dd +DIST opal-3.10.9-htmldoc.tar.bz2 3163056 SHA256 c7d2b66415cdcc0544e92dfefdbe0cc03b37e498410e3ea524941f1b7080d6d8 SHA512 7c3f959dbf6b8622b4e36c050e6e66fbfd527d5ce852b441dc0325e74e0f622d025225dc0619d08d2bb3afafe434206a82b52dd52a1ae943dcc12efc8719292e WHIRLPOOL e5c7e7af60523935b255b578369231fe510a27137e58d894377728ff9e69230bbcde4d88cb0b60681480279087c1bf5fe4c69a5b947c387deb3a0b9f4f879da1 +DIST opal-3.10.9.tar.bz2 8591506 SHA256 f6a1c380df5c82c24ff6cc82c5c6a94868b112d5914395ad8265e30b0005bf2e SHA512 11e67bbbb7903aa176c0563d48c444d6c3df399dc9f1c7cf1ff9124a96fd719e5608d0e091346de3aa2087e04d28116b14c2c60bb92f2fc83584695e2e61ebcc WHIRLPOOL 5790274802f909f428950d3c249abcdfae03f5046381b631c25c7ccc23a34efd07bfd26d77de755741b786ed69cac8c411d7ec9e70286c828595eac4e00d8c4c +DIST opal-3.12.4-htmldoc.tar.bz2 3094840 SHA256 858cd14bf2de54a6aeb5397d8627a7e50ea6b63e18b0f47c057386d079b07fbc SHA512 c80ed1b0df9fffbfc07ea590a0e80afd9b985ed2971deb640e92776723f12e6a544eaf3441261d34df0ad0bbca6b03a983f7a7b0b92fbf333f1a8688d2ca735d WHIRLPOOL e2d5ba8e4429c60003dd995add2aea12b22a2f23da8dd3ed0025fa451752412805d4f25160809542dd8d61684edca35d73174037650b3546cedc97495faa29b9 +DIST opal-3.12.4.tar.bz2 9694052 SHA256 2786bc27f83c59d74165e318656ada230164ebcba61f0d8cb1b55bfcd13b2d82 SHA512 83c44dbd077e45a5bf63963b8a5348c24c65e9ab8b25afccacbf4632aa55fce26b6133c8c40f06da90fe73865165509c67b19286e868eada0270adefd3e38733 WHIRLPOOL 3063d5b9d64e690898d60e5e26f3936b28b954ce7fb2a2dc2f78cfde05932efc63ec7874dd73c87561d1a3c3f564837855559ca031121e7d9fe18c25508042d7 +DIST opal-3.14.0-htmldoc.tar.bz2 4731999 SHA256 c7cccdcb1034bf8215b2404f07512165bef67ef428c04d652dc98e399509a063 SHA512 941e147d115042b1b7d4e77339b223e8a95850a8f5d508523038be0cdf5320d3ede79674e09b46625e803eb67e64ebbd5ece985d7c73d7c808c4736dea3f25a2 WHIRLPOOL 969769c41ee537330d2e1af9e62f5c23d939f7265eea2a366a7f9385e6d4514374368ebe18afeb875d9729a79c635b38444eaed018cb38e79b5d28d615f75cfa +DIST opal-3.14.0.tar.bz2 11063531 SHA256 214fc77e97aed79916652bb5c6a9f99890c33f52fe116ebf51618815ae245c4a SHA512 9063610a6eb4f864f35851e595e2a201f7b2ec7e4e766001dfc49b239a106710121a6d40f002fb4c35684ca0ac0a0c17b2258a5e2c8b163a42fd70057b37f676 WHIRLPOOL b9612b3c5d196a219e24bcaa5e777f0b991fc50625ea61aaf577b239c673b3f65a116cd0351b0183d42e10d92ddd26b3d499405969fe3acd7fe0edf1d633de9e +DIST opal-3.6.7-htmldoc.tar.bz2 5842269 SHA256 d6c11b162b4b26cfc3df2c2c12b5d8a0e1b2dfa5c6869995b0fafa2f2a716e7b +DIST opal-3.6.8.tar.bz2 6837993 SHA256 8cbfabb33e5c5563fdafacf1adde536c78638d6d020fae496a52e19e2be6a90c SHA512 bc9ce66af9fc7a82fc33403139f138d732b4f3e013b91b711533572036f0d965b19961aa1dcec63efb0ed906e7525eebc972cd106e6011e40d80ae0a0b7e8a51 WHIRLPOOL 031a98a0e0e6c6b51271898cf836dc805a7341b04f018a6604560572054e00402f1cf092d2a8828ba476ba1bb0331cbd34e7bd2b078ecd3cd0a3b51b7adbd5d5 +EBUILD opal-3.10.10.ebuild 7576 SHA256 bca735f87d649a085e360487953a38528223efcac005bf639a6c5474af5e36da SHA512 fdceab74c1277c065f55d8f432cb30335e9cc9b12d8e209b2823a4e324880387f24665a2936bd1a6c7638a741f216ec03497b1690f581ea109f53d65b8621443 WHIRLPOOL 7da5dde7bad815072be81e43106670f985859ce9129198ae4ead5bcd23d293fd3c41dd5f30408a030f479bcc6ad90a07f124037872d666e50a6332b53b3047d4 +EBUILD opal-3.10.9.ebuild 7499 SHA256 a848325025549d7d03120018307c932d56e49d4b4f69241dc2d6f08da01d2a87 SHA512 2ec660c2e210439aee9d07dbe963aee0352c724d791244d3deaa0209a9e01cd6a8eae01ffda543ffed6879b0fffa5dceb4822f127278f8b67e405283dca4868e WHIRLPOOL 8983c174c7864b50ee4d523d41d7bf34ef5c0ba4efbc11367f236a6b7f8171a8031df8597eb954487ff8ef1547a1557394252cdb52f85f74a6e8a77b9e5e35f6 +EBUILD opal-3.12.4.ebuild 7038 SHA256 efeeb3db5056c1df69fbccd2fa97d214d5cb257e72fa3617c9a7dcb94fdf504c SHA512 4b0951eaadf2ecb50481510eb81e3ab1188f0206ab85528ce5e449efbf66974bd6dd2b9304753d7da2e2c70572401f176d270b63b4c9ebdc7412d73fc401403a WHIRLPOOL 882d5838d030d128d6fcb39cc7754eb0120a5f8b2594929f016041c2fa4272318d241d78146b5acdf7c54564c896778a853cd9621aa21db1d53995e4cfa93165 +EBUILD opal-3.14.0.ebuild 6618 SHA256 f57015c08ecd271a17b2d8a903562811a1aa094287c8a843c2f9ea5e592f7370 SHA512 29a7c5048a3418c2bfcdaa86e408da54108861240cbfecb88cc43f430df23d1c4ef927777fb0a3c27b1f53938f99da6167b71d34aa65ca9afc740642c9a9c4a4 WHIRLPOOL 11768743929015d0daad31f3e836b54f37458856fe678e6851fda291aef6a9a8872501dbad631b5dd8244b31431e8cb61a8361faa8ad8a5702a9cb8c4ff5c963 +EBUILD opal-3.6.8-r2.ebuild 8586 SHA256 0903e0079cd06942bac4eba1facb8dd51da32e98802142596585b71e73053311 SHA512 769ae0f12d768fc2a7f9fbc20130a930000db145ae55e4968f1ecd949e92fa1717a59fb8db27106d76e7d47406eae2a518150769f2039c0fd053b3d29fffe0d3 WHIRLPOOL 45d77148cb4a01ec0cbbaa9c47f4512f527c15dc3ba5b4007fd0bdafc36ac1cc03d16dfe1c54adbfae9fc8606bd004697246573512ccb756d43f9e5fd28ab9a5 +MISC ChangeLog 14625 SHA256 c91b5b350334496be7d95d7072e996e5d3e57f7b4bb6cfcc7abede4223d0dd0c SHA512 2c9147249ee66ac6fb50039128b5f4bd198be963965144007eb88c2910c7a0717d78e3e051e9497b4853db4e72a1da7d880d8d0ba6dffa8f51ea71c26b5fc298 WHIRLPOOL d3c5f04bb123017e6bb5d064faf577ea6fe2155bc00e870865f6342f56fb6cd66e8e06d3be03c2f6cefd9006aeb3b0b4fe27e72274ddfca4654bb0ae44c385f6 +MISC metadata.xml 1983 SHA256 f969f663ec04d6d49561f82dcee92da943f4ac35c9db43e61e0e6475837e73e5 SHA512 91798e7a3581515ecb1beea68c5021e3dc9674792d695e46181b2dc055968ff06536a7e0a7a4c39015f330b4d7132df7c405a20e467f1ff753292f8b3d62fe76 WHIRLPOOL e9d062f3d78057bee270f365187212bede3b1906e74aaf7498fd3bcbd2133813b7f7cfbf01e791fa11e031771f6c1d44f4041431d45729ea38b584815ca86072 diff --git a/net-libs/opal/files/opal-2.1.1-notrace.diff b/net-libs/opal/files/opal-2.1.1-notrace.diff new file mode 100644 index 0000000..e03eaa4 --- /dev/null +++ b/net-libs/opal/files/opal-2.1.1-notrace.diff @@ -0,0 +1,11 @@ +--- opal_v2_1_1/Makefile.in.orig 2005-09-04 03:40:12.000000000 +0000 ++++ opal_v2_1_1/Makefile.in 2005-09-04 03:40:49.000000000 +0000 +@@ -176,7 +176,7 @@ + + OPAL_OBJDIR = $(OPAL_LIBDIR)/$(PT_OBJBASE) + ifdef NOTRACE +-OPAL_OBJDIR += n ++OBJDIR_SUFFIX := n + endif + + 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 new file mode 100644 index 0000000..7f9a3b5 --- /dev/null +++ b/net-libs/opal/files/opal-3.10.9-avoid_cflags_mixup.patch @@ -0,0 +1,131 @@ +diff -uNr opal-3.10.8.orig/plugins/plugin-inc.mak.in opal-3.10.8/plugins/plugin-inc.mak.in +--- opal-3.10.8.orig/plugins/plugin-inc.mak.in 2012-10-24 12:07:31.000000000 -0400 ++++ opal-3.10.8/plugins/plugin-inc.mak.in 2012-10-24 12:09:22.000000000 -0400 +@@ -31,11 +31,13 @@ + CC := @CC@ + CXX := @CXX@ + CFLAGS += @CFLAGS@ -I@prefix@/include -I$(PLUGINDIR)/../include -I$(PLUGINDIR) ++CXXFLAGS += @CXXFLAGS@ -I@prefix@/include -I$(PLUGINDIR)/../include -I$(PLUGINDIR) + LDFLAGS += @LDFLAGS@ @LDSO@ + PLUGINEXT :=@PLUGINEXT@ + + ifneq ($(DEBUG),) + CFLAGS += -g ++CXXFLAGS += -g + endif + + OBJDIR := $(PLUGINDIR)/../lib_@OSTYPE@_@MACHTYPE@/plugins/$(BASENAME) +@@ -64,11 +66,11 @@ + + $(OBJDIR)/%.o : %.cxx + @mkdir -p $(OBJDIR) >/dev/null 2>&1 +- $(Q_CC)$(CXX) -c $(CXXFLAGS) $(CFLAGS) -o $@ $< ++ $(Q_CC)$(CXX) -c $(CXXFLAGS) -o $@ $< + + $(OBJDIR)/%.o : %.cpp + @mkdir -p $(OBJDIR) >/dev/null 2>&1 +- $(Q_CC)$(CXX) -c $(CXXFLAGS) $(CFLAGS) -o $@ $< ++ $(Q_CC)$(CXX) -c $(CXXFLAGS) -o $@ $< + + OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.cxx,%.o,$(patsubst %.cpp,%.o,$(patsubst %.c,%.o,$(notdir $(SRCS)))))) + +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 +--- opal-3.10.8.orig/plugins/video/H.261-vic/Makefile.in 2012-10-24 12:07:46.000000000 -0400 ++++ opal-3.10.8/plugins/video/H.261-vic/Makefile.in 2012-10-24 12:04:10.000000000 -0400 +@@ -39,7 +39,7 @@ + $(SRCDIR)/bv.c \ + + +-CFLAGS += -I$(COMMONDIR) ++CXXFLAGS += -I$(COMMONDIR) + + INSTALL_DIR := @VC_PLUGIN_DIR@ + PLUGINDIR := @PLUGINDIR@ +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 +--- opal-3.10.8.orig/plugins/video/H.263-1998/Makefile.in 2012-10-24 12:08:02.000000000 -0400 ++++ opal-3.10.8/plugins/video/H.263-1998/Makefile.in 2012-10-24 12:04:00.000000000 -0400 +@@ -34,12 +34,12 @@ + $(COMMONDIR)/mpi.cxx \ + $(COMMONDIR)/dyna.cxx + +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) + LIBS += @DL_LIBS@ + + HAVE_LIBAVCODEC_RTP_MODE=@HAVE_LIBAVCODEC_RTP_MODE@ + ifeq ($(HAVE_LIBAVCODEC_RTP_MODE),yes) +-CFLAGS += -DLIBAVCODEC_RTP_MODE=1 ++CXXFLAGS += -DLIBAVCODEC_RTP_MODE=1 + endif + + vpath %.cxx $(COMMONDIR) +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 +--- opal-3.10.8.orig/plugins/video/H.264/gpl/Makefile.in 2012-10-24 12:06:15.000000000 -0400 ++++ opal-3.10.8/plugins/video/H.264/gpl/Makefile.in 2012-10-24 12:11:11.000000000 -0400 +@@ -47,6 +47,7 @@ + CC =@CC@ + CXX =@CXX@ + CFLAGS =@X264_CFLAGS@ -I.. -I$(PLUGINDIR) -I$(OPALDIR)/include -DGPL_HELPER_APP -DPLUGINCODEC_TRACING ++CXXFLAGS =@X264_CFLAGS@ -I.. -I$(PLUGINDIR) -I$(OPALDIR)/include -DGPL_HELPER_APP -DPLUGINCODEC_TRACING + LDFLAGS =@LDFLAGS@ @X264_LIBS@ + + +@@ -59,7 +60,7 @@ + + $(OBJDIR)/%.o : %.cxx + @mkdir -p $(OBJDIR) >/dev/null 2>&1 +- $(Q_CC)$(CXX) $(CFLAGS) -c $< -o $@ ++ $(Q_CC)$(CXX) $(CXXFLAGS) -c $< -o $@ + + $(OBJDIR)/%.o : %.c + @mkdir -p $(OBJDIR) >/dev/null 2>&1 +diff -uNr opal-3.10.8.orig/plugins/video/H.264/Makefile.in opal-3.10.8/plugins/video/H.264/Makefile.in +--- opal-3.10.8.orig/plugins/video/H.264/Makefile.in 2012-10-24 12:08:17.000000000 -0400 ++++ opal-3.10.8/plugins/video/H.264/Makefile.in 2012-10-24 12:04:29.000000000 -0400 +@@ -34,12 +34,12 @@ + $(SHAREDDIR)/x264wrap.cxx \ + $(COMMONDIR)/dyna.cxx \ + +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) -DLIB_DIR='"$(libdir)"' -DVC_PLUGIN_DIR='"@VC_PLUGIN_DIR@"' ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) -DLIB_DIR='"$(libdir)"' -DVC_PLUGIN_DIR='"@VC_PLUGIN_DIR@"' + LIBS += @DL_LIBS@ + + IS_H264_LICENSED:=@IS_H264_LICENSED@ + ifeq ($(IS_H264_LICENSED),yes) +- CFLAGS += @X264_CFLAGS@ -DX264_LICENSED ++ CXXFLAGS += @X264_CFLAGS@ -DX264_LICENSED + LIBS += @X264_LIBS@ + else + SUBDIRS := gpl +diff -uNr opal-3.10.8.orig/plugins/video/MPEG4-ffmpeg/Makefile.in opal-3.10.8/plugins/video/MPEG4-ffmpeg/Makefile.in +--- opal-3.10.8.orig/plugins/video/MPEG4-ffmpeg/Makefile.in 2012-10-24 12:08:36.000000000 -0400 ++++ opal-3.10.8/plugins/video/MPEG4-ffmpeg/Makefile.in 2012-10-24 12:04:45.000000000 -0400 +@@ -30,14 +30,14 @@ + SRCDIR := . + SRCS := mpeg4.cxx $(COMMONDIR)/dyna.cxx + +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) + LIBS += @DL_LIBS@ + + # Add LIBAVCODEC_SOURCE_DIR to the include path so we can #include + # Also add libavutil, so ffmpeg headers can #include "log.h". + LIBAVCODEC_SOURCE_DIR := @LIBAVCODEC_SOURCE_DIR@ + ifneq (,$(LIBAVCODEC_SOURCE_DIR)) +-CFLAGS += -I$(LIBAVCODEC_SOURCE_DIR) -I$(LIBAVCODEC_SOURCE_DIR)/libavutil ++CXXFLAGS += -I$(LIBAVCODEC_SOURCE_DIR) -I$(LIBAVCODEC_SOURCE_DIR)/libavutil + endif + + vpath %.cxx $(COMMONDIR) +diff -uNr opal-3.10.8.orig/plugins/video/THEORA/Makefile.in opal-3.10.8/plugins/video/THEORA/Makefile.in +--- opal-3.10.8.orig/plugins/video/THEORA/Makefile.in 2012-10-24 12:08:47.000000000 -0400 ++++ opal-3.10.8/plugins/video/THEORA/Makefile.in 2012-10-24 12:05:00.000000000 -0400 +@@ -30,7 +30,7 @@ + SRCDIR := . + SRCS := theora_frame.cxx theora_plugin.cxx + +-CFLAGS += @THEORA_CFLAGS@ -I$(COMMONDIR) ++CXXFLAGS += @THEORA_CFLAGS@ -I$(COMMONDIR) + LIBS += @THEORA_LIBS@ + + INSTALL_DIR := @VC_PLUGIN_DIR@ 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 new file mode 100644 index 0000000..3d17615 --- /dev/null +++ b/net-libs/opal/files/opal-3.10.9-disable-h323-workaround.patch @@ -0,0 +1,13 @@ +# Sent to upstream on 2012-10-23 +# By Jesus Rivero +diff -uNr opal-3.10.8.orig/include/h323/h323.h opal-3.10.8/include/h323/h323.h +--- opal-3.10.8.orig/include/h323/h323.h 2012-10-22 07:50:37.000000000 -0400 ++++ opal-3.10.8/include/h323/h323.h 2012-10-23 14:10:37.000000000 -0400 +@@ -40,6 +40,7 @@ + #include + #include + #include ++#include + + PString OpalGetVersion(); + unsigned OpalGetMajorVersion(); diff --git a/net-libs/opal/files/opal-3.10.9-ffmpeg.patch b/net-libs/opal/files/opal-3.10.9-ffmpeg.patch new file mode 100644 index 0000000..1860865 --- /dev/null +++ b/net-libs/opal/files/opal-3.10.9-ffmpeg.patch @@ -0,0 +1,189 @@ +Note: This is not optimal but is backported from what is in the 3.12 branch. + + +r28871 | rjongbloed | 2013-01-13 02:18:43 -0300 (Sun, 13 Jan 2013) | 2 lines + +Fixed compile against latest FFMPEG, specifically Mac OS-X "port" version. Have no idea what all the deprecated symbols are replaced by! + +Index: opal-3.10.9/plugins/video/H.263-1998/h263-1998.cxx +=================================================================== +--- opal-3.10.9.orig/plugins/video/H.263-1998/h263-1998.cxx ++++ opal-3.10.9/plugins/video/H.263-1998/h263-1998.cxx +@@ -312,6 +312,7 @@ void H263_Base_EncoderContext::SetOption + return; + } + ++#ifdef CODEC_FLAG_H263P_UMV + if (STRCMPI(option, H263_ANNEX_D) == 0) { + // Annex D: Unrestructed Motion Vectors + // Level 2+ +@@ -322,7 +323,9 @@ void H263_Base_EncoderContext::SetOption + m_context->flags &= ~CODEC_FLAG_H263P_UMV; + return; + } ++#endif + ++#ifdef CODEC_FLAG_OBMC + #if 0 // DO NOT ENABLE THIS FLAG. FFMPEG IS NOT THREAD_SAFE WHEN THIS FLAG IS SET + if (STRCMPI(option, H263_ANNEX_F) == 0) { + // Annex F: Advanced Prediction Mode +@@ -334,7 +337,9 @@ void H263_Base_EncoderContext::SetOption + return; + } + #endif ++#endif + ++#ifdef CODEC_FLAG_AC_PRED + if (STRCMPI(option, H263_ANNEX_I) == 0) { + // Annex I: Advanced Intra Coding + // Level 3+ +@@ -345,7 +350,9 @@ void H263_Base_EncoderContext::SetOption + m_context->flags &= ~CODEC_FLAG_AC_PRED; + return; + } ++#endif + ++#ifdef CODEC_FLAG_LOOP_FILTER + if (STRCMPI(option, H263_ANNEX_J) == 0) { + // Annex J: Deblocking Filter + // works with eyeBeam +@@ -355,7 +362,9 @@ void H263_Base_EncoderContext::SetOption + m_context->flags &= ~CODEC_FLAG_LOOP_FILTER; + return; + } ++#endif + ++#ifdef CODEC_FLAG_H263P_SLICE_STRUCT + if (STRCMPI(option, H263_ANNEX_K) == 0) { + // Annex K: Slice Structure + // does not work with eyeBeam +@@ -365,7 +374,9 @@ void H263_Base_EncoderContext::SetOption + m_context->flags &= ~CODEC_FLAG_H263P_SLICE_STRUCT; + return; + } ++#endif + ++#ifdef CODEC_FLAG_H263P_AIV + if (STRCMPI(option, H263_ANNEX_S) == 0) { + // Annex S: Alternative INTER VLC mode + // does not work with eyeBeam +@@ -375,6 +386,7 @@ void H263_Base_EncoderContext::SetOption + m_context->flags &= ~CODEC_FLAG_H263P_AIV; + return; + } ++#endif + + if (STRCMPI(option, PLUGINCODEC_MEDIA_PACKETIZATION) == 0 || + STRCMPI(option, PLUGINCODEC_MEDIA_PACKETIZATIONS) == 0) { +@@ -452,12 +464,24 @@ bool H263_Base_EncoderContext::OpenCodec + + #define CODEC_TRACER_FLAG(tracer, flag) \ + PTRACE(4, m_prefix, #flag " is " << ((m_context->flags & flag) ? "enabled" : "disabled")); ++#ifdef CODEC_FLAG_H263P_UMV + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_UMV); ++#endif ++#ifdef CODEC_FLAG_OBMC + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_OBMC); ++#endif ++#ifdef CODEC_FLAG_AC_PRED + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_AC_PRED); ++#endif ++#ifdef CODEC_FLAG_H263P_SLICE_STRUCT + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_SLICE_STRUCT) ++#endif ++#ifdef CODEC_FLAG_LOOP_FILTER + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_LOOP_FILTER); ++#endif ++#ifdef CODEC_FLAG_H263P_AIV + CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_AIV); ++#endif + + return FFMPEGLibraryInstance.AvcodecOpen(m_context, m_codec) == 0; + } +@@ -521,7 +545,7 @@ bool H263_Base_EncoderContext::EncodeFra + + // Need to copy to local buffer to guarantee 16 byte alignment + memcpy(m_inputFrame->data[0], OPAL_VIDEO_FRAME_DATA_PTR(header), header->width*header->height*3/2); +- m_inputFrame->pict_type = (flags & PluginCodec_CoderForceIFrame) ? FF_I_TYPE : AV_PICTURE_TYPE_NONE; ++ m_inputFrame->pict_type = (flags & PluginCodec_CoderForceIFrame) ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_NONE; + + /* + m_inputFrame->pts = (int64_t)srcRTP.GetTimestamp()*m_context->time_base.den/m_context->time_base.num/VIDEO_CLOCKRATE; +@@ -603,13 +627,21 @@ bool H263_RFC2190_EncoderContext::Init() + m_context->rtp_callback = &H263_RFC2190_EncoderContext::RTPCallBack; + m_context->opaque = this; // used to separate out packets from different encode threads + ++#ifdef CODEC_FLAG_H263P_UMV + m_context->flags &= ~CODEC_FLAG_H263P_UMV; ++#endif ++#ifdef CODEC_FLAG_4MV + m_context->flags &= ~CODEC_FLAG_4MV; +-#if LIBAVCODEC_RTP_MODE ++#endif ++#if LIBAVCODEC_RTP_MODE && defined(CODEC_FLAG_H263P_AIC) + m_context->flags &= ~CODEC_FLAG_H263P_AIC; + #endif ++#ifdef CODEC_FLAG_H263P_AIV + m_context->flags &= ~CODEC_FLAG_H263P_AIV; ++#endif ++#ifdef CODEC_FLAG_H263P_SLICE_STRUCT + m_context->flags &= ~CODEC_FLAG_H263P_SLICE_STRUCT; ++#endif + + return true; + } +Index: opal-3.10.9/plugins/video/H.264/h264-x264.cxx +=================================================================== +--- opal-3.10.9.orig/plugins/video/H.264/h264-x264.cxx ++++ opal-3.10.9/plugins/video/H.264/h264-x264.cxx +@@ -1071,13 +1071,13 @@ class MyDecoder : public PluginCodecworkaround_bugs = FF_BUG_AUTODETECT; ++#ifdef FF_ER_AGGRESSIVE + m_context->error_recognition = FF_ER_AGGRESSIVE; ++#endif + m_context->idct_algo = FF_IDCT_H264; + m_context->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK; + m_context->flags = CODEC_FLAG_INPUT_PRESERVED | CODEC_FLAG_EMU_EDGE; +- m_context->flags2 = CODEC_FLAG2_BRDO | +- CODEC_FLAG2_MEMC_ONLY | +- CODEC_FLAG2_DROP_FRAME_TIMECODE | ++ m_context->flags2 = CODEC_FLAG2_DROP_FRAME_TIMECODE | + CODEC_FLAG2_SKIP_RD | + CODEC_FLAG2_CHUNKS; + +Index: opal-3.10.9/plugins/video/MPEG4-ffmpeg/mpeg4.cxx +=================================================================== +--- opal-3.10.9.orig/plugins/video/MPEG4-ffmpeg/mpeg4.cxx ++++ opal-3.10.9/plugins/video/MPEG4-ffmpeg/mpeg4.cxx +@@ -594,12 +594,10 @@ void MPEG4EncoderContext::SetStaticEncod + #else + m_avcontext->max_b_frames=0; /*don't use b frames*/ + m_avcontext->flags|=CODEC_FLAG_AC_PRED; +- m_avcontext->flags|=CODEC_FLAG_H263P_UMV; + /*c->flags|=CODEC_FLAG_QPEL;*/ /*don't enable this one: this forces profile_level to advanced simple profile */ + m_avcontext->flags|=CODEC_FLAG_4MV; + m_avcontext->flags|=CODEC_FLAG_GMC; + m_avcontext->flags|=CODEC_FLAG_LOOP_FILTER; +- m_avcontext->flags|=CODEC_FLAG_H263P_SLICE_STRUCT; + #endif + m_avcontext->opaque = this; // for use in RTP callback + } +@@ -804,7 +802,7 @@ int MPEG4EncoderContext::EncodeFrames(co + // Should the next frame be an I-Frame? + if ((flags & PluginCodec_CoderForceIFrame) || (m_frameNum == 0)) + { +- m_avpicture->pict_type = FF_I_TYPE; ++ m_avpicture->pict_type = AV_PICTURE_TYPE_I; + } + else // No IFrame requested, let avcodec decide what to do + { +@@ -1325,7 +1323,6 @@ void MPEG4DecoderContext::SetFrameHeight + + void MPEG4DecoderContext::SetStaticDecodingParams() { + m_avcontext->flags |= CODEC_FLAG_4MV; +- m_avcontext->flags |= CODEC_FLAG_PART; + m_avcontext->workaround_bugs = 0; // no workaround for buggy implementations + } + 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 new file mode 100644 index 0000000..6570863 --- /dev/null +++ b/net-libs/opal/files/opal-3.10.9-java-ruby-swig-fix.patch @@ -0,0 +1,29 @@ +diff -uNr opal-3.10.9.orig/Makefile.in opal-3.10.9/Makefile.in +--- opal-3.10.9.orig/Makefile.in 2012-12-03 11:09:17.000000000 -0500 ++++ opal-3.10.9/Makefile.in 2012-12-03 11:09:35.000000000 -0500 +@@ -371,9 +371,9 @@ + ifeq ($(OPAL_JAVA), yes) + + JAVA_SRCDIR = $(OPAL_SRCDIR)/java +-JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.c ++JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.cxx + +-VPATH_C += $(JAVA_SRCDIR) ++VPATH_CXX += $(JAVA_SRCDIR) + SOURCES += $(JAVA_WRAPPER) + + endif +@@ -384,10 +384,10 @@ + + ifeq ($(OPAL_RUBY), yes) + +-RUBY_SRCDIR = $(OPAL_SRCDIR)/ruby +-RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.c ++RUBY_SRCDIR = $(OPAL_SRCDIR)/Ruby ++RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.cxx + +-VPATH_C += $(RUBY_SRCDIR) ++VPATH_CXX += $(RUBY_SRCDIR) + SOURCES += $(RUBY_WRAPPER) + + endif 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 new file mode 100644 index 0000000..ac8a7ef --- /dev/null +++ b/net-libs/opal/files/opal-3.10.9-labs_is_in_stdlib.patch @@ -0,0 +1,11 @@ +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 +--- opal-3.10.8.orig/plugins/audio/G.722.2/AMR-WB/dec_lpc.c 2012-10-22 07:50:37.000000000 -0400 ++++ opal-3.10.8/plugins/audio/G.722.2/AMR-WB/dec_lpc.c 2012-10-22 10:20:49.000000000 -0400 +@@ -3,6 +3,7 @@ + * 3GPP AMR Wideband Floating-point Speech Codec + *=================================================================== + */ ++#include + #include + #include "typedef.h" + #include "dec_util.h" 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 new file mode 100644 index 0000000..c2a15b1 --- /dev/null +++ b/net-libs/opal/files/opal-3.10.9-svn_revision_override.patch @@ -0,0 +1,15 @@ +diff -uNr opal-3.10.8.orig/src/opal/manager.cxx opal-3.10.8/src/opal/manager.cxx +--- opal-3.10.8.orig/src/opal/manager.cxx 2012-10-22 07:50:36.000000000 -0400 ++++ opal-3.10.8/src/opal/manager.cxx 2012-10-22 08:30:45.000000000 -0400 +@@ -56,7 +56,10 @@ + #include + + #include "../../version.h" +-#include "../../revision.h" ++ ++# define SVN_REVISION 0 ++//#include "../../revision.h" ++ + + + static const char * const DefaultMediaFormatOrder[] = { 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 new file mode 100644 index 0000000..2468611 --- /dev/null +++ b/net-libs/opal/files/opal-3.12.4-avoid_cflags_mixup.patch @@ -0,0 +1,132 @@ +diff -urN opal-3.12.4.old/plugins/plugin-inc.mak.in opal-3.12.4/plugins/plugin-inc.mak.in +--- opal-3.12.4.old/plugins/plugin-inc.mak.in 2013-06-22 21:14:01.528580888 +0200 ++++ opal-3.12.4/plugins/plugin-inc.mak.in 2013-06-22 21:14:42.652579425 +0200 +@@ -32,11 +32,13 @@ + CXX := @CXX@ + INSTALL := @INSTALL@ + CFLAGS += @CFLAGS@ -I@prefix@/include -I$(PLUGINDIR)/../include -I$(PLUGINDIR) ++CXXFLAGS += @CXXFLAGS@ -I@prefix@/include -I$(PLUGINDIR)/../include -I$(PLUGINDIR) + LDFLAGS += @LDFLAGS@ @LDSO@ + PLUGINEXT :=@PLUGINEXT@ + + ifneq ($(DEBUG),) + CFLAGS += -g ++CXXFLAGS += -g + endif + + OBJDIR := $(PLUGINDIR)/../lib_@target@/plugins/$(BASENAME) +@@ -65,11 +67,11 @@ + + $(OBJDIR)/%.o : %.cxx + @mkdir -p $(OBJDIR) >/dev/null 2>&1 +- $(Q_CC)$(CXX) -c $(CXXFLAGS) $(CFLAGS) -o $@ $< ++ $(Q_CC)$(CXX) -c $(CXXFLAGS) -o $@ $< + + $(OBJDIR)/%.o : %.cpp + @mkdir -p $(OBJDIR) >/dev/null 2>&1 +- $(Q_CC)$(CXX) -c $(CXXFLAGS) $(CFLAGS) -o $@ $< ++ $(Q_CC)$(CXX) -c $(CXXFLAGS) -o $@ $< + + OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.cxx,%.o,$(patsubst %.cpp,%.o,$(patsubst %.c,%.o,$(notdir $(SRCS)))))) + +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 +--- opal-3.12.4.old/plugins/video/H.261-vic/Makefile.in 2013-06-22 21:14:01.503580889 +0200 ++++ opal-3.12.4/plugins/video/H.261-vic/Makefile.in 2013-06-22 21:14:42.652579425 +0200 +@@ -39,7 +39,7 @@ + $(SRCDIR)/bv.c \ + + +-CFLAGS += -I$(COMMONDIR) ++CXXFLAGS += -I$(COMMONDIR) + + INSTALL_DIR := @VC_PLUGIN_DIR@ + PLUGINDIR := @PLUGINDIR@ +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 +--- opal-3.12.4.old/plugins/video/H.263-1998/Makefile.in 2013-06-22 21:14:01.499580889 +0200 ++++ opal-3.12.4/plugins/video/H.263-1998/Makefile.in 2013-06-22 21:16:18.196576026 +0200 +@@ -34,12 +34,12 @@ + $(COMMONDIR)/ffmpeg.cxx \ + $(COMMONDIR)/dyna.cxx + +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) + LIBS += @LIBAVCODEC_LIBS@ @LIBAVUTIL_LIBS@ + + HAVE_LIBAVCODEC_RTP_MODE=@HAVE_LIBAVCODEC_RTP_MODE@ + ifeq ($(HAVE_LIBAVCODEC_RTP_MODE),yes) +-CFLAGS += -DLIBAVCODEC_RTP_MODE=1 ++CXXFLAGS += -DLIBAVCODEC_RTP_MODE=1 + endif + + vpath %.cxx $(COMMONDIR) +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 +--- opal-3.12.4.old/plugins/video/H.264/gpl/Makefile.in 2013-06-22 21:14:01.500580889 +0200 ++++ opal-3.12.4/plugins/video/H.264/gpl/Makefile.in 2013-06-22 21:16:35.515575410 +0200 +@@ -48,7 +48,7 @@ + + CC =@CC@ + CXX =@CXX@ +-CFLAGS =@X264_CFLAGS@ @LIBAVCODEC_CFLAGS@ -I.. -I$(PLUGINDIR) -I$(OPALDIR)/include -DGPL_HELPER_APP -DPLUGINCODEC_TRACING ++CXXFLAGS =@X264_CFLAGS@ @LIBAVCODEC_CFLAGS@ -I.. -I$(PLUGINDIR) -I$(OPALDIR)/include -DGPL_HELPER_APP -DPLUGINCODEC_TRACING + LDFLAGS = @X264_LIBS@ @LIBAVCODEC_LIBS@ @LIBAVUTIL_LIBS@ @DL_LIBS@ @LDFLAGS@ + + +@@ -61,7 +61,7 @@ + + $(OBJDIR)/%.o : %.cxx + @mkdir -p $(OBJDIR) >/dev/null 2>&1 +- $(Q_CC)$(CXX) $(CFLAGS) -c $< -o $@ ++ $(Q_CC)$(CXX) $(CXXFLAGS) -c $< -o $@ + + $(OBJDIR)/%.o : %.c + @mkdir -p $(OBJDIR) >/dev/null 2>&1 +diff -urN opal-3.12.4.old/plugins/video/H.264/Makefile.in opal-3.12.4/plugins/video/H.264/Makefile.in +--- opal-3.12.4.old/plugins/video/H.264/Makefile.in 2013-06-22 21:14:01.500580889 +0200 ++++ opal-3.12.4/plugins/video/H.264/Makefile.in 2013-06-22 21:16:52.874574792 +0200 +@@ -35,12 +35,12 @@ + $(COMMONDIR)/ffmpeg.cxx \ + $(COMMONDIR)/dyna.cxx + +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) -DLIB_DIR='"$(libdir)"' -DVC_PLUGIN_DIR='"@VC_PLUGIN_DIR@"' ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) -DLIB_DIR='"$(libdir)"' -DVC_PLUGIN_DIR='"@VC_PLUGIN_DIR@"' + LIBS += @LIBAVCODEC_LIBS@ @LIBAVUTIL_LIBS@ + + IS_H264_LICENSED:=@IS_H264_LICENSED@ + ifeq ($(IS_H264_LICENSED),yes) +- CFLAGS += @X264_CFLAGS@ -DX264_LICENSED ++ CXXFLAGS += @X264_CFLAGS@ -DX264_LICENSED + LIBS += @X264_LIBS@ + else + SUBDIRS := gpl +diff -urN opal-3.12.4.old/plugins/video/MPEG4-ffmpeg/Makefile.in opal-3.12.4/plugins/video/MPEG4-ffmpeg/Makefile.in +--- opal-3.12.4.old/plugins/video/MPEG4-ffmpeg/Makefile.in 2013-06-22 21:14:01.499580889 +0200 ++++ opal-3.12.4/plugins/video/MPEG4-ffmpeg/Makefile.in 2013-06-22 21:15:53.183576916 +0200 +@@ -32,14 +32,14 @@ + $(COMMONDIR)/ffmpeg.cxx \ + $(COMMONDIR)/dyna.cxx + +-CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) ++CXXFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR) + LIBS += @LIBAVCODEC_LIBS@ @LIBAVUTIL_LIBS@ + + # Add LIBAVCODEC_SOURCE_DIR to the include path so we can #include + # Also add libavutil, so ffmpeg headers can #include "log.h". + LIBAVCODEC_SOURCE_DIR := @LIBAVCODEC_SOURCE_DIR@ + ifneq (,$(LIBAVCODEC_SOURCE_DIR)) +-CFLAGS += -I$(LIBAVCODEC_SOURCE_DIR) -I$(LIBAVCODEC_SOURCE_DIR)/libavutil ++CXXFLAGS += -I$(LIBAVCODEC_SOURCE_DIR) -I$(LIBAVCODEC_SOURCE_DIR)/libavutil + endif + + vpath %.cxx $(COMMONDIR) +diff -urN opal-3.12.4.old/plugins/video/THEORA/Makefile.in opal-3.12.4/plugins/video/THEORA/Makefile.in +--- opal-3.12.4.old/plugins/video/THEORA/Makefile.in 2013-06-22 21:14:01.503580889 +0200 ++++ opal-3.12.4/plugins/video/THEORA/Makefile.in 2013-06-22 21:14:42.654579425 +0200 +@@ -30,7 +30,7 @@ + SRCDIR := . + SRCS := theora_frame.cxx theora_plugin.cxx + +-CFLAGS += @THEORA_CFLAGS@ -I$(COMMONDIR) ++CXXFLAGS += @THEORA_CFLAGS@ -I$(COMMONDIR) + LIBS += @THEORA_LIBS@ + + INSTALL_DIR := @VC_PLUGIN_DIR@ 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 new file mode 100644 index 0000000..616468e --- /dev/null +++ b/net-libs/opal/files/opal-3.12.4-java-ruby-swig-fix.patch @@ -0,0 +1,28 @@ +--- opal-3.12.4.old/make/toplevel.mak.in 2013-06-22 21:14:01.536580887 +0200 ++++ opal-3.12.4/make/toplevel.mak.in 2013-06-22 21:21:08.342565703 +0200 +@@ -407,9 +407,9 @@ + ifeq ($(OPAL_JAVA), yes) + + JAVA_SRCDIR = $(OPAL_SRCDIR)/java +-JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.c ++JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.cxx + +-VPATH_C += $(JAVA_SRCDIR) ++VPATH_CXX += $(JAVA_SRCDIR) + SOURCES += $(JAVA_WRAPPER) + + endif +@@ -420,10 +420,10 @@ + + ifeq ($(OPAL_RUBY), yes) + +-RUBY_SRCDIR = $(OPAL_SRCDIR)/ruby +-RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.c ++RUBY_SRCDIR = $(OPAL_SRCDIR)/Ruby ++RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.cxx + +-VPATH_C += $(RUBY_SRCDIR) ++VPATH_CXX += $(RUBY_SRCDIR) + SOURCES += $(RUBY_WRAPPER) + + endif 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 new file mode 100644 index 0000000..5cf4508 --- /dev/null +++ b/net-libs/opal/files/opal-3.14.0-java-ruby-swig-fix.patch @@ -0,0 +1,24 @@ +diff -uNr opal-3.14.0.orig/make/toplevel.mak opal-3.14.0/make/toplevel.mak +--- opal-3.14.0.orig/make/toplevel.mak 2014-03-21 05:28:27.230000001 -0400 ++++ opal-3.14.0/make/toplevel.mak 2014-03-21 05:31:07.290000001 -0400 +@@ -368,15 +368,15 @@ + ifneq (,$(SWIG)) + ifeq ($(OPAL_JAVA), yes) + JAVA_SRCDIR = $(OPAL_SRCDIR)/java +- JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.c +- VPATH_C += $(JAVA_SRCDIR) ++ JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.cxx ++ VPATH_CXX += $(JAVA_SRCDIR) + SOURCES += $(JAVA_WRAPPER) + endif + + ifeq ($(OPAL_RUBY), yes) +- RUBY_SRCDIR = $(OPAL_SRCDIR)/ruby +- RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.c +- VPATH_C += $(RUBY_SRCDIR) ++ RUBY_SRCDIR = $(OPAL_SRCDIR)/Ruby ++ RUBY_WRAPPER = $(RUBY_SRCDIR)/ruby_swig_wrapper.cxx ++ VPATH_CXX += $(RUBY_SRCDIR) + SOURCES += $(RUBY_WRAPPER) + endif + endif # SWIG 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 new file mode 100644 index 0000000..b44adc2 --- /dev/null +++ b/net-libs/opal/files/opal-3.14.0-pmimeinfo_not_declared_fix.patch @@ -0,0 +1,11 @@ +diff -uNr opal-3.14.0.orig/src/opal/opal_c.cxx opal-3.14.0/src/opal/opal_c.cxx +--- opal-3.14.0.orig/src/opal/opal_c.cxx 2014-03-21 05:28:28.850000001 -0400 ++++ opal-3.14.0/src/opal/opal_c.cxx 2014-03-21 10:27:09.200000001 -0400 +@@ -37,6 +37,7 @@ + + #include + #include ++#include + + #include + #include diff --git a/net-libs/opal/files/opal-3.6.4-jdkroot.patch b/net-libs/opal/files/opal-3.6.4-jdkroot.patch new file mode 100644 index 0000000..480a0ee --- /dev/null +++ b/net-libs/opal/files/opal-3.6.4-jdkroot.patch @@ -0,0 +1,15 @@ +Index: opal.m4 +=================================================================== +--- opal.m4 (revision 22933) ++++ opal.m4 (working copy) +@@ -996,6 +996,10 @@ + AC_CHECK_HEADERS([jni.h], [opal_java=yes]) + + if test "x$opal_java" = "xno" ; then ++ if test "x${JDK_ROOT}" = "x" ; then ++ JDK_ROOT=${JDK_HOME} ++ fi ++ + if test "x${JDK_ROOT}" != "x" ; then + AC_CHECK_FILE([${JDK_ROOT}/include/jni.h], + [ 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 new file mode 100644 index 0000000..2a052e1 --- /dev/null +++ b/net-libs/opal/files/opal-3.6.8-build-fix.patch @@ -0,0 +1,39 @@ +=== modified file 'plugins/video/H.263-1998/h263-1998.cxx' +--- plugins/video/H.263-1998/h263-1998.cxx 2010-12-06 15:18:06 +0000 ++++ plugins/video/H.263-1998/h263-1998.cxx 2010-12-06 15:18:46 +0000 +@@ -51,6 +51,8 @@ + + #include "plugin-config.h" + ++#define __STDC_CONSTANT_MACROS ++ + #include "h263-1998.h" + #include + #include + +=== modified file 'plugins/video/H.263-1998/h263pframe.h' +--- plugins/video/H.263-1998/h263pframe.h 2010-12-06 15:18:06 +0000 ++++ plugins/video/H.263-1998/h263pframe.h 2010-12-06 15:19:56 +0000 +@@ -25,6 +25,8 @@ + + #include "plugin-config.h" + ++#define __STDC_CONSTANT_MACROS ++ + #include + #include + #include + +=== modified file 'plugins/video/common/trace.h' +--- plugins/video/common/trace.h 2010-12-06 15:18:06 +0000 ++++ plugins/video/common/trace.h 2010-12-06 15:18:46 +0000 +@@ -34,6 +34,8 @@ + + #define TRACING 1 + ++#define __STDC_CONSTANT_MACROS ++ + #include + #include + using namespace std; + diff --git a/net-libs/opal/files/opal-3.6.8-ldflags.patch b/net-libs/opal/files/opal-3.6.8-ldflags.patch new file mode 100644 index 0000000..995f9b4 --- /dev/null +++ b/net-libs/opal/files/opal-3.6.8-ldflags.patch @@ -0,0 +1,240 @@ +Reported upstream: +https://sourceforge.net/tracker/?func=detail&atid=989750&aid=3131118&group_id=204472 + +=== modified file 'plugins/audio/G722/Makefile.in' +--- plugins/audio/G722/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/audio/G722/Makefile.in 2010-12-07 05:49:21 +0000 +@@ -71,11 +71,9 @@ + + $(PLUGIN): $(OBJECTS) + ifeq (solaris,$(findstring solaris,$(target_os))) +- +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) + else +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS) +- ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS) + endif + + install: + +=== modified file 'plugins/audio/G726/Makefile.in' +--- plugins/audio/G726/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/audio/G726/Makefile.in 2010-12-07 05:49:51 +0000 +@@ -100,11 +100,9 @@ + $(PLUGIN): $(OBJECTS) + + ifeq (solaris,$(findstring solaris,$(target_os))) +- +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) + else +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS) +- ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS) + endif + + install: + +=== modified file 'plugins/audio/GSM0610/Makefile.in' +--- plugins/audio/GSM0610/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/audio/GSM0610/Makefile.in 2010-12-07 05:50:09 +0000 +@@ -160,11 +160,9 @@ + $(PLUGIN): $(OBJECTS) + + ifeq (solaris,$(findstring solaris,$(target_os))) +- +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) + else +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS) +- ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS) + endif + + endif + +=== modified file 'plugins/audio/IMA_ADPCM/Makefile.in' +--- plugins/audio/IMA_ADPCM/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/audio/IMA_ADPCM/Makefile.in 2010-12-07 05:50:53 +0000 +@@ -90,11 +90,9 @@ + $(PLUGIN): $(OBJECTS) + + ifeq (solaris,$(findstring solaris,$(target_os))) +- +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) + else +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS) +- ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS) + endif + + install: + +=== modified file 'plugins/audio/LPC_10/Makefile.in' +--- plugins/audio/LPC_10/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/audio/LPC_10/Makefile.in 2010-12-07 05:51:07 +0000 +@@ -128,11 +128,9 @@ + $(PLUGIN): $(OBJECTS) + + ifeq (solaris,$(findstring solaris,$(target_os))) +- +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) + else +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS) +- ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS) + endif + + install: + +=== modified file 'plugins/audio/SBC/Makefile.in' +--- plugins/audio/SBC/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/audio/SBC/Makefile.in 2010-12-07 05:51:28 +0000 +@@ -78,7 +78,7 @@ + OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.cxx,%.o,$(patsubst %.c,%.o,$(notdir $(SRCS))))) + + $(PLUGIN): $(OBJECTS) +- $(Q_LD)$(CXX) $(LDSO) -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS) + + $(SRCDIR)/g711a1_plc.cxx: ../../../src/codec/g711a1_plc.cxx + @ln -s ../../../src/codec/g711a1_plc.cxx $(SRCDIR)/g711a1_plc.cxx + +=== modified file 'plugins/audio/Speex/Makefile.in' +--- plugins/audio/Speex/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/audio/Speex/Makefile.in 2010-12-07 05:51:51 +0000 +@@ -166,11 +166,9 @@ + + $(PLUGIN): $(OBJECTS) + ifeq (solaris,$(findstring solaris,$(target_os))) +- +- $(Q_LD)$(CXX) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) + else +- $(Q_LD)$(CXX) $(LDSO) -o $@ $^ $(EXTRALIBS) +- ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS) + endif + + install: + +=== modified file 'plugins/audio/celt/Makefile.in' +--- plugins/audio/celt/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/audio/celt/Makefile.in 2010-12-07 05:48:49 +0000 +@@ -47,11 +47,9 @@ + $(PLUGIN): $(OBJECTS) + + ifeq (solaris,$(findstring solaris,$(target_os))) +- +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(LIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(LIBS) + else +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(LIBS) +- ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(LIBS) + endif + + install: + +=== modified file 'plugins/audio/gsm-amr/Makefile.in' +--- plugins/audio/gsm-amr/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/audio/gsm-amr/Makefile.in 2010-12-07 05:50:25 +0000 +@@ -59,11 +59,9 @@ + $(PLUGIN): $(OBJECTS) + + ifeq (solaris,$(findstring solaris,$(target_os))) +- +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ + else +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ +- ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ + endif + + install: + +=== modified file 'plugins/audio/iLBC/Makefile.in' +--- plugins/audio/iLBC/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/audio/iLBC/Makefile.in 2010-12-07 05:50:41 +0000 +@@ -119,9 +119,9 @@ + + $(PLUGIN): $(OBJECTS) + ifeq (solaris,$(findstring solaris,$(target_os))) +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) + else +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS) + endif + + install: + +=== modified file 'plugins/video/H.261-vic/Makefile.in' +--- plugins/video/H.261-vic/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/video/H.261-vic/Makefile.in 2010-12-07 05:45:17 +0000 +@@ -116,9 +116,9 @@ + + $(PLUGIN): $(OBJECTS) + ifeq (,$(findstring solaris,$(target_os))) +- $(Q_LD)$(CXX) $(LDSO) -o $@ $^ ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $(LDFLAGS) -o $@ $^ + else +- $(Q_LD)$(CXX) $(LDSO) $@ -o $@ $^ ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $@ -o $@ $^ + endif + + install: + +=== modified file 'plugins/video/H.263-1998/Makefile.in' +--- plugins/video/H.263-1998/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/video/H.263-1998/Makefile.in 2010-12-07 05:45:53 +0000 +@@ -86,9 +86,9 @@ + + $(PLUGIN): $(OBJECTS) + ifeq (,$(findstring solaris,$(target_os))) +- $(Q_LD)$(CXX) $(LDSO) $(DL_LIBS) -o $@ $^ $(LDFLAGS) ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) -o $@ $^ $(DL_LIBS) + else +- $(Q_LD)$(CXX) $(LDSO) $(DL_LIBS) $@ -o $@ $^ $(LDFLAGS) ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(DL_LIBS) + endif + + install: $(PLUGIN) + +=== modified file 'plugins/video/H.264/Makefile.in' +--- plugins/video/H.264/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/video/H.264/Makefile.in 2010-12-07 05:46:27 +0000 +@@ -130,9 +130,9 @@ + $(PLUGIN): $(OBJECTS) + @set -e; $(foreach dir,$(SUBDIRS),if test -d ${dir} ; then $(MAKE) -C $(dir); fi ; ) + ifeq (,$(findstring solaris,$(target_os))) +- $(Q_LD)$(CXX) $(LDSO) $(LDFLAGS) $(DL_LIBS) -o $@ $^ ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $(LDFLAGS) -o $@ $^ $(DL_LIBS) + else +- $(Q_LD)$(CXX) $(LDSO) $(LDFLAGS) $(DL_LIBS) $@ -o $@ $^ ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $(LDFLAGS) $@ -o $@ $^ $(DL_LIBS) + endif + + + +=== modified file 'plugins/video/MPEG4-ffmpeg/Makefile.in' +--- plugins/video/MPEG4-ffmpeg/Makefile.in 2010-12-07 05:39:18 +0000 ++++ plugins/video/MPEG4-ffmpeg/Makefile.in 2010-12-07 05:47:12 +0000 +@@ -101,9 +101,9 @@ + + $(PLUGIN): $(OBJECTS) + ifeq (,$(findstring solaris,$(target_os))) +- $(Q_LD)$(CXX) $(LDSO) $(DL_LIBS) -o $@ $^ ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) -o $@ $^ $(DL_LIBS) + else +- $(Q_LD)$(CXX) $(LDSO) $(DL_LIBS) $@ -o $@ $^ ++ $(Q_LD)$(CXX) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(DL_LIBS) + endif + + install: + 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 new file mode 100644 index 0000000..071c7f0 --- /dev/null +++ b/net-libs/opal/files/opal-3.6.8-lid-plugins-ldflags.patch @@ -0,0 +1,40 @@ +Fix LID plugin ldflags + +https://bugs.gentoo.org/397681 + +--- plugins/LID/CAPI/Makefile.in ++++ plugins/LID/CAPI/Makefile.in +@@ -67,7 +67,7 @@ + OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.cxx,%.o,$(notdir $(SRCS)))) + + $(PLUGIN): $(OBJECTS) +- $(Q_LD)$(CC) $(LDSO)$(SONAME) -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO)$(SONAME) -o $@ $^ $(EXTRALIBS) + + install: + mkdir -p $(DESTDIR)$(libdir)/$(LID_PLUGIN_DIR) +--- plugins/LID/IxJ/Makefile.in ++++ plugins/LID/IxJ/Makefile.in +@@ -72,7 +72,7 @@ + OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.cxx,%.o,$(notdir $(SRCS)))) + + $(PLUGIN): $(OBJECTS) +- $(Q_LD)$(CC) $(LDSO)$(SONAME) -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO)$(SONAME) -o $@ $^ $(EXTRALIBS) + + install: + mkdir -p $(DESTDIR)$(libdir)/$(LID_PLUGIN_DIR) +--- plugins/LID/VPB/Makefile.in ++++ plugins/LID/VPB/Makefile.in +@@ -79,9 +79,9 @@ + + ifeq (solaris,$(findstring solaris,$(target_os))) + +- $(Q_LD)$(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) $@ -o $@ $^ $(EXTRALIBS) + else +- $(Q_LD)$(CC) $(LDSO) -o $@ $^ $(EXTRALIBS) ++ $(Q_LD)$(CC) $(LDFLAGS) $(LDSO) -o $@ $^ $(EXTRALIBS) + + endif + diff --git a/net-libs/opal/metadata.xml b/net-libs/opal/metadata.xml new file mode 100644 index 0000000..cd39484 --- /dev/null +++ b/net-libs/opal/metadata.xml @@ -0,0 +1,42 @@ + + + + + neurogeek@gentoo.org + Jesus Rivero + + + Enable audio support + Enable CAPI support + Enable CELT ultra-low delay audio codec + Enable DTMF encoding/decoding support + Enable T.38 FAX protocol + Enable H.224 real time control protocol + Enable H.281 Far-End Camera Control protocol + Enable H.323 protocol + Enable Inter-Asterisk eXchange protocol + Enable Interactive Voice Response + Enable iLBC (RFC 3951) speech codec + Enable xJack cards support + Enable Line Interface Device + Enable plugins support + Enable the Bluetooth low-complexity, SubBand Codec + + Enable Session Initiation Protocol + Enable SIP Instant Messages session + Enable Secure Real-time Transport Protocol + Enable statistic reporting + Use swig to generate bindings + Enable video support + Enable Voicetronics VPB card support + Enable VXML support + Enable WAVFILE support + Install x264 plugin statically linked with x264 + + + + diff --git a/net-libs/opal/opal-3.10.10.ebuild b/net-libs/opal/opal-3.10.10.ebuild new file mode 100644 index 0000000..d96ba0c --- /dev/null +++ b/net-libs/opal/opal-3.10.10.ebuild @@ -0,0 +1,252 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.10.10.ebuild,v 1.8 2013/06/25 16:11:52 chithanh Exp $ + +EAPI=5 + +inherit eutils autotools toolchain-funcs java-pkg-opt-2 flag-o-matic + +DESCRIPTION="C++ class library normalising numerous telephony protocols" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )" + +LICENSE="MPL-1.0" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 ~sparc x86" +IUSE="+audio capi celt debug doc +dtmf examples fax ffmpeg h224 h281 h323 iax +ilbc ipv6 ivr ixj java ldap lid +plugins sbc sip sipim srtp ssl static-libs +stats swig theora +video vpb vxml wav x264 x264-static xml" + +REQUIRED_USE="x264-static? ( x264 ) + h281? ( h224 ) + sip? ( sipim )" + +RDEPEND=">=net-libs/ptlib-2.10.10:=[stun,debug=,audio?,dtmf,http,ipv6?,ldap?,ssl?,video?,vxml?,wav?,xml?] + >=media-libs/speex-1.2_beta + fax? ( net-libs/ptlib[asn] ) + h323? ( net-libs/ptlib[asn] ) + ivr? ( net-libs/ptlib[http,xml,vxml] ) + java? ( >=virtual/jre-1.4 ) + plugins? ( + media-sound/gsm + capi? ( net-dialup/capi4k-utils ) + celt? ( media-libs/celt ) + ffmpeg? ( virtual/ffmpeg[encode] !!>=media-libs/libav-9 ) + ixj? ( sys-kernel/linux-headers ) + ilbc? ( dev-libs/ilbc-rfc3951 ) + sbc? ( media-libs/libsamplerate ) + theora? ( media-libs/libtheora ) + x264? ( virtual/ffmpeg + media-libs/x264 ) ) + srtp? ( net-libs/libsrtp ) + vxml? ( net-libs/ptlib[http,vxml] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=sys-devel/gcc-3 + java? ( swig? ( dev-lang/swig ) + >=virtual/jdk-1.4 )" + +# NOTES: +# ffmpeg[encode] is for h263 and mpeg4 +# ssl, xml, vxml, ipv6, ldap, audio, wav, and video are use flags +# herited from ptlib: feature is enabled if ptlib has enabled it +# however, disabling it if ptlib has it looks hard (coz of buildopts.h) +# forcing ptlib to disable it for opal is not a solution too +# atm, accepting the "auto-feature" looks like a good solution +# (asn is used for fax and config _only_ for examples) +# OPALDIR should not be used anymore but if a package still need it, create it + +pkg_setup() { + # workaround for bug 282838 + append-cxxflags "-fno-visibility-inlines-hidden" + append-cxxflags "-fno-strict-aliasing" + + # need >=gcc-3 + if [[ $(gcc-major-version) -lt 3 ]]; then + eerror "You need to use gcc-3 at least." + eerror "Please change gcc version with 'gcc-config'." + die "You need to use gcc-3 at least." + fi + + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + # remove visual studio related files from samples/ + if use examples; then + rm -f samples/*/*.vcproj + rm -f samples/*/*.sln + rm -f samples/*/*.dsp + rm -f samples/*/*.dsw + fi + + epatch "${FILESDIR}/${PN}-3.10.9-svn_revision_override.patch" + epatch "${FILESDIR}/${PN}-3.10.9-labs_is_in_stdlib.patch" + epatch "${FILESDIR}/${PN}-3.10.9-avoid_cflags_mixup.patch" + epatch "${FILESDIR}/${PN}-3.10.9-ffmpeg.patch" + + if ! use h323; then + # Without this patch, ekiga wont compile, even with + # USE=-h323. + epatch "${FILESDIR}/${PN}-3.10.9-disable-h323-workaround.patch" + fi + + epatch "${FILESDIR}/${PN}-3.10.9-java-ruby-swig-fix.patch" + + sed -i -e "s:\(.*HAS_H224.*\), \[OPAL_H323\]:\1:" configure.ac \ + || die "sed failed" + + eaclocal + eautoconf + + # in plugins + cd plugins/ + eaclocal + eautoconf + cd .. + + # disable celt if celt is not enabled (prevent auto magic dep) + # already in repository + if ! use celt; then + sed -i -e "s/HAVE_CELT=yes/HAVE_CELT=no/" plugins/configure \ + || die "sed failed" + fi + + # fix automatic swig detection, upstream bug 2712521 (upstream reject it) + if ! use swig; then + sed -i -e "/^SWIG=/d" configure || die "patching configure failed" + fi + + use ilbc || { rm -r plugins/audio/iLBC/ || die "removing iLBC failed"; } + + java-pkg-opt-2_src_prepare +} + +src_configure() { + local forcedconf="" + + # fix bug 277233, upstream bug 2820939 + if use fax; then + forcedconf="${forcedconf} --enable-statistics" + fi + + # --with-libavcodec-source-dir should _not_ be set, it's for trunk sources + # versioncheck: check for ptlib version + # shared: should always be enabled for a lib + # localspeex, localspeexdsp, localgsm, localilbc: never use bundled libs + # samples: only build some samples, useless + # libavcodec-stackalign-hack: prevent hack (default disable by upstream) + # default-to-full-capabilties: default enable by upstream + # aec: atm, only used when bundled speex, so it's painless for us + # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from + # http://zfoneproject.com/ wich is not in portage + # msrp: highly experimental + # spandsp: doesn't work with newest spandsp, upstream bug 2796047 + # g711plc: force enable + # rfc4103: not really used, upstream bug 2795831 + # t38, spandsp: merged in fax + # h450, h460, h501: merged in h323 (they are additional features of h323) + econf \ + --enable-versioncheck \ + --enable-shared \ + --disable-zrtp \ + --disable-localspeex \ + --disable-localspeexdsp \ + --disable-localgsm \ + --disable-localilbc \ + --disable-samples \ + --disable-libavcodec-stackalign-hack \ + --enable-default-to-full-capabilties \ + --enable-aec \ + --disable-msrp \ + --disable-spandsp \ + --enable-g711plc \ + --enable-rfc4103 \ + $(use_enable debug) \ + $(use_enable capi) \ + $(use_enable fax) \ + $(use_enable fax t38) \ + $(use_enable h224) \ + $(use_enable h281) \ + $(use_enable h323) \ + $(use_enable h323 h450) \ + $(use_enable h323 h460) \ + $(use_enable h323 h501) \ + $(use_enable iax) \ + $(use_enable ivr) \ + $(use_enable ixj) \ + $(use_enable java) \ + $(use_enable lid) \ + $(use_enable plugins) \ + $(use_enable sbc) \ + $(use_enable sip) \ + $(use_enable sipim) \ + $(use_enable stats statistics) \ + $(use_enable video) $(use_enable video rfc4175) \ + $(use_enable vpb) \ + $(use_enable x264 h264) \ + $(use_enable x264-static x264-link-static) \ + ${forcedconf} +} + +src_compile() { + local makeopts="" + + use debug && makeopts="debug" + + emake ${makeopts} || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + # Get rid of static libraries if not requested + # There seems to be no easy way to disable this in the build system + if ! use static-libs; then + rm -v "${D}"/usr/lib*/*.a || die + fi + + if use doc; then + dohtml -r "${WORKDIR}"/html/* docs/* || die "dohtml failed" + fi + + # ChangeLog is not standard and does not exist on 3.10.10 +# dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed" + + if use examples; then + local exampledir="/usr/share/doc/${PF}/examples" + local basedir="samples" + local sampledirs="`ls ${basedir} --hide=configure* \ + --hide=opal_samples.mak.in`" + + # first, install files + insinto ${exampledir}/ + doins ${basedir}/{configure*,opal_samples*} \ + || die "doins failed" + + # now, all examples + for x in ${sampledirs}; do + insinto ${exampledir}/${x}/ + doins ${basedir}/${x}/* || die "doins failed" + done + + # some examples need version.h + insinto "/usr/share/doc/${PF}/" + doins version.h || die "doins failed" + fi +} + +pkg_postinst() { + if use examples; then + ewarn "All examples have been installed, some of them will not work on your system" + ewarn "it will depend of the enabled USE flags in ptlib and opal" + fi + + if ! use plugins || ! use audio || ! use video; then + ewarn "You have disabled audio, video or plugins USE flags." + ewarn "Most audio/video features or plugins have been disabled silently" + ewarn "even if enabled via USE flags." + ewarn "Having a feature enabled via USE flag but disabled can lead to issues." + fi +} diff --git a/net-libs/opal/opal-3.10.9.ebuild b/net-libs/opal/opal-3.10.9.ebuild new file mode 100644 index 0000000..131fc77 --- /dev/null +++ b/net-libs/opal/opal-3.10.9.ebuild @@ -0,0 +1,252 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.10.9.ebuild,v 1.3 2013/06/25 16:11:52 chithanh Exp $ + +EAPI=4 + +inherit eutils autotools toolchain-funcs java-pkg-opt-2 flag-o-matic + +DESCRIPTION="C++ class library normalising numerous telephony protocols" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )" + +LICENSE="MPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+audio capi celt debug doc +dtmf examples fax ffmpeg h224 h281 h323 iax +ilbc ipv6 ivr ixj java ldap lid +plugins sbc sip sipim srtp ssl static-libs +stats swig theora +video vpb vxml wav x264 x264-static xml" + +REQUIRED_USE="x264-static? ( x264 ) + h281? ( h224 ) + sip? ( sipim )" + +RDEPEND=">=net-libs/ptlib-2.10.9[stun,debug=,audio?,dtmf,http,ipv6?,ldap?,ssl?,video?,vxml?,wav?,xml?] + >=media-libs/speex-1.2_beta + fax? ( net-libs/ptlib[asn] ) + h323? ( net-libs/ptlib[asn] ) + ivr? ( net-libs/ptlib[http,xml,vxml] ) + java? ( >=virtual/jre-1.4 ) + plugins? ( + media-sound/gsm + capi? ( net-dialup/capi4k-utils ) + celt? ( media-libs/celt ) + ffmpeg? ( virtual/ffmpeg[encode] !!>=media-libs/libav-9 ) + ixj? ( sys-kernel/linux-headers ) + ilbc? ( dev-libs/ilbc-rfc3951 ) + sbc? ( media-libs/libsamplerate ) + theora? ( media-libs/libtheora ) + x264? ( virtual/ffmpeg + media-libs/x264 ) ) + srtp? ( net-libs/libsrtp ) + vxml? ( net-libs/ptlib[http,vxml] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=sys-devel/gcc-3 + java? ( swig? ( dev-lang/swig ) + >=virtual/jdk-1.4 )" + +# NOTES: +# ffmpeg[encode] is for h263 and mpeg4 +# ssl, xml, vxml, ipv6, ldap, audio, wav, and video are use flags +# herited from ptlib: feature is enabled if ptlib has enabled it +# however, disabling it if ptlib has it looks hard (coz of buildopts.h) +# forcing ptlib to disable it for opal is not a solution too +# atm, accepting the "auto-feature" looks like a good solution +# (asn is used for fax and config _only_ for examples) +# OPALDIR should not be used anymore but if a package still need it, create it + +pkg_setup() { + # workaround for bug 282838 + append-cxxflags "-fno-visibility-inlines-hidden" + append-cxxflags "-fno-strict-aliasing" + + # need >=gcc-3 + if [[ $(gcc-major-version) -lt 3 ]]; then + eerror "You need to use gcc-3 at least." + eerror "Please change gcc version with 'gcc-config'." + die "You need to use gcc-3 at least." + fi + + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + # remove visual studio related files from samples/ + if use examples; then + rm -f samples/*/*.vcproj + rm -f samples/*/*.sln + rm -f samples/*/*.dsp + rm -f samples/*/*.dsw + fi + + epatch "${FILESDIR}/${P}-svn_revision_override.patch" + epatch "${FILESDIR}/${P}-labs_is_in_stdlib.patch" + epatch "${FILESDIR}/${P}-avoid_cflags_mixup.patch" + epatch "${FILESDIR}/${P}-ffmpeg.patch" + + if ! use h323; then + # Without this patch, ekiga wont compile, even with + # USE=-h323. + epatch "${FILESDIR}/${P}-disable-h323-workaround.patch" + fi + + epatch "${FILESDIR}/${P}-java-ruby-swig-fix.patch" + + sed -i -e "s:\(.*HAS_H224.*\), \[OPAL_H323\]:\1:" configure.ac \ + || die "sed failed" + + eaclocal + eautoconf + + # in plugins + cd plugins/ + eaclocal + eautoconf + cd .. + + # disable celt if celt is not enabled (prevent auto magic dep) + # already in repository + if ! use celt; then + sed -i -e "s/HAVE_CELT=yes/HAVE_CELT=no/" plugins/configure \ + || die "sed failed" + fi + + # fix automatic swig detection, upstream bug 2712521 (upstream reject it) + if ! use swig; then + sed -i -e "/^SWIG=/d" configure || die "patching configure failed" + fi + + use ilbc || { rm -r plugins/audio/iLBC/ || die "removing iLBC failed"; } + + java-pkg-opt-2_src_prepare +} + +src_configure() { + local forcedconf="" + + # fix bug 277233, upstream bug 2820939 + if use fax; then + forcedconf="${forcedconf} --enable-statistics" + fi + + # --with-libavcodec-source-dir should _not_ be set, it's for trunk sources + # versioncheck: check for ptlib version + # shared: should always be enabled for a lib + # localspeex, localspeexdsp, localgsm, localilbc: never use bundled libs + # samples: only build some samples, useless + # libavcodec-stackalign-hack: prevent hack (default disable by upstream) + # default-to-full-capabilties: default enable by upstream + # aec: atm, only used when bundled speex, so it's painless for us + # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from + # http://zfoneproject.com/ wich is not in portage + # msrp: highly experimental + # spandsp: doesn't work with newest spandsp, upstream bug 2796047 + # g711plc: force enable + # rfc4103: not really used, upstream bug 2795831 + # t38, spandsp: merged in fax + # h450, h460, h501: merged in h323 (they are additional features of h323) + econf \ + --enable-versioncheck \ + --enable-shared \ + --disable-zrtp \ + --disable-localspeex \ + --disable-localspeexdsp \ + --disable-localgsm \ + --disable-localilbc \ + --disable-samples \ + --disable-libavcodec-stackalign-hack \ + --enable-default-to-full-capabilties \ + --enable-aec \ + --disable-msrp \ + --disable-spandsp \ + --enable-g711plc \ + --enable-rfc4103 \ + $(use_enable debug) \ + $(use_enable capi) \ + $(use_enable fax) \ + $(use_enable fax t38) \ + $(use_enable h224) \ + $(use_enable h281) \ + $(use_enable h323) \ + $(use_enable h323 h450) \ + $(use_enable h323 h460) \ + $(use_enable h323 h501) \ + $(use_enable iax) \ + $(use_enable ivr) \ + $(use_enable ixj) \ + $(use_enable java) \ + $(use_enable lid) \ + $(use_enable plugins) \ + $(use_enable sbc) \ + $(use_enable sip) \ + $(use_enable sipim) \ + $(use_enable stats statistics) \ + $(use_enable video) $(use_enable video rfc4175) \ + $(use_enable vpb) \ + $(use_enable x264 h264) \ + $(use_enable x264-static x264-link-static) \ + ${forcedconf} +} + +src_compile() { + local makeopts="" + + use debug && makeopts="debug" + + emake ${makeopts} || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + # Get rid of static libraries if not requested + # There seems to be no easy way to disable this in the build system + if ! use static-libs; then + rm -v "${D}"/usr/lib*/*.a || die + fi + + if use doc; then + dohtml -r "${WORKDIR}"/html/* docs/* || die "dohtml failed" + fi + + # ChangeLog is not standard + dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed" + + if use examples; then + local exampledir="/usr/share/doc/${PF}/examples" + local basedir="samples" + local sampledirs="`ls ${basedir} --hide=configure* \ + --hide=opal_samples.mak.in`" + + # first, install files + insinto ${exampledir}/ + doins ${basedir}/{configure*,opal_samples*} \ + || die "doins failed" + + # now, all examples + for x in ${sampledirs}; do + insinto ${exampledir}/${x}/ + doins ${basedir}/${x}/* || die "doins failed" + done + + # some examples need version.h + insinto "/usr/share/doc/${PF}/" + doins version.h || die "doins failed" + fi +} + +pkg_postinst() { + if use examples; then + ewarn "All examples have been installed, some of them will not work on your system" + ewarn "it will depend of the enabled USE flags in ptlib and opal" + fi + + if ! use plugins || ! use audio || ! use video; then + ewarn "You have disabled audio, video or plugins USE flags." + ewarn "Most audio/video features or plugins have been disabled silently" + ewarn "even if enabled via USE flags." + ewarn "Having a feature enabled via USE flag but disabled can lead to issues." + fi +} diff --git a/net-libs/opal/opal-3.12.4.ebuild b/net-libs/opal/opal-3.12.4.ebuild new file mode 100644 index 0000000..479d684 --- /dev/null +++ b/net-libs/opal/opal-3.12.4.ebuild @@ -0,0 +1,235 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.12.4.ebuild,v 1.2 2013/06/24 16:43:40 scarabeus Exp $ + +EAPI=5 + +inherit eutils autotools toolchain-funcs java-pkg-opt-2 flag-o-matic + +DESCRIPTION="C++ class library normalising numerous telephony protocols" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )" + +LICENSE="MPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+audio capi celt debug doc +dtmf examples fax ffmpeg h224 h281 h323 iax +ilbc ipv6 ivr ixj java ldap lid +plugins sbc sip sipim srtp ssl static-libs +stats swig theora +video vpb vxml wav x264 x264-static xml" + +REQUIRED_USE="x264-static? ( x264 ) + h281? ( h224 ) + sip? ( sipim )" + +RDEPEND=">=net-libs/ptlib-2.12.4:=[stun,debug=,audio?,dtmf,http,ipv6?,ldap?,ssl?,video?,vxml?,wav?,xml?] + >=media-libs/speex-1.2_beta + fax? ( net-libs/ptlib[asn] ) + h323? ( net-libs/ptlib[asn] ) + ivr? ( net-libs/ptlib[http,xml,vxml] ) + java? ( >=virtual/jre-1.4 ) + plugins? ( + media-sound/gsm + capi? ( net-dialup/capi4k-utils ) + celt? ( media-libs/celt ) + ffmpeg? ( virtual/ffmpeg[encode] ) + ixj? ( sys-kernel/linux-headers ) + ilbc? ( dev-libs/ilbc-rfc3951 ) + sbc? ( media-libs/libsamplerate ) + theora? ( media-libs/libtheora ) + x264? ( virtual/ffmpeg + media-libs/x264 ) ) + srtp? ( net-libs/libsrtp ) + vxml? ( net-libs/ptlib[http,vxml] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=sys-devel/gcc-3 + java? ( swig? ( dev-lang/swig ) + >=virtual/jdk-1.4 )" + +# NOTES: +# ffmpeg[encode] is for h263 and mpeg4 +# ssl, xml, vxml, ipv6, ldap, audio, wav, and video are use flags +# herited from ptlib: feature is enabled if ptlib has enabled it +# however, disabling it if ptlib has it looks hard (coz of buildopts.h) +# forcing ptlib to disable it for opal is not a solution too +# atm, accepting the "auto-feature" looks like a good solution +# (asn is used for fax and config _only_ for examples) +# OPALDIR should not be used anymore but if a package still need it, create it + +pkg_setup() { + # workaround for bug 282838 + append-cxxflags "-fno-visibility-inlines-hidden" + append-cxxflags "-fno-strict-aliasing" + + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + # remove visual studio related files from samples/ + if use examples; then + rm -f samples/*/*.vcproj + rm -f samples/*/*.sln + rm -f samples/*/*.dsp + rm -f samples/*/*.dsw + fi + + epatch "${FILESDIR}/${PN}-3.10.9-svn_revision_override.patch" + epatch "${FILESDIR}/${PN}-3.10.9-labs_is_in_stdlib.patch" + epatch "${FILESDIR}/${PN}-3.12.4-avoid_cflags_mixup.patch" + + if ! use h323; then + # Without this patch, ekiga wont compile, even with + # USE=-h323. + epatch "${FILESDIR}/${PN}-3.10.9-disable-h323-workaround.patch" + fi + + epatch "${FILESDIR}/${PN}-3.12.4-java-ruby-swig-fix.patch" + + sed -i -e "s:\(.*HAS_H224.*\), \[OPAL_H323\]:\1:" configure.ac \ + || die "sed failed" + + eaclocal + eautoconf + + # in plugins + cd plugins/ + eaclocal + eautoconf + cd .. + + # disable celt if celt is not enabled (prevent auto magic dep) + # already in repository + if ! use celt; then + sed -i -e "s/HAVE_CELT=yes/HAVE_CELT=no/" plugins/configure \ + || die "sed failed" + fi + + # fix automatic swig detection, upstream bug 2712521 (upstream reject it) + if ! use swig; then + sed -i -e "/^SWIG=/d" configure || die "patching configure failed" + fi + + use ilbc || { rm -r plugins/audio/iLBC/ || die "removing iLBC failed"; } + + java-pkg-opt-2_src_prepare +} + +src_configure() { + # --with-libavcodec-source-dir should _not_ be set, it's for trunk sources + # versioncheck: check for ptlib version + # shared: should always be enabled for a lib + # localspeex, localspeexdsp, localgsm, localilbc: never use bundled libs + # samples: only build some samples, useless + # libavcodec-stackalign-hack: prevent hack (default disable by upstream) + # default-to-full-capabilties: default enable by upstream + # aec: atm, only used when bundled speex, so it's painless for us + # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from + # http://zfoneproject.com/ wich is not in portage + # msrp: highly experimental + # spandsp: doesn't work with newest spandsp, upstream bug 2796047 + # g711plc: force enable + # rfc4103: not really used, upstream bug 2795831 + # t38, spandsp: merged in fax + # h450, h460, h501: merged in h323 (they are additional features of h323) + econf \ + --enable-versioncheck \ + --enable-shared \ + --disable-zrtp \ + --disable-localspeex \ + --disable-localspeexdsp \ + --disable-localgsm \ + --disable-localilbc \ + --disable-samples \ + --disable-libavcodec-stackalign-hack \ + --enable-default-to-full-capabilties \ + --enable-aec \ + --disable-msrp \ + --disable-spandsp \ + --enable-g711plc \ + --enable-rfc4103 \ + $(use_enable debug) \ + $(use_enable capi) \ + $(use_enable fax) \ + $(use_enable fax t38) \ + $(use_enable h224) \ + $(use_enable h281) \ + $(use_enable h323) \ + $(use_enable h323 h450) \ + $(use_enable h323 h460) \ + $(use_enable h323 h501) \ + $(use_enable iax) \ + $(use_enable ivr) \ + $(use_enable ixj) \ + $(use_enable java) \ + $(use_enable lid) \ + $(use_enable plugins) \ + $(use_enable sbc) \ + $(use_enable sip) \ + $(use_enable sipim) \ + $(use_enable stats statistics) \ + $(use_enable video) $(use_enable video rfc4175) \ + $(use_enable vpb) \ + $(use_enable x264 h264) \ + $(use_enable x264-static x264-link-static) +} + +src_compile() { + local makeopts="" + + use debug && makeopts="debug" + + emake ${makeopts} +} + +src_install() { + emake DESTDIR="${D}" install + + # Get rid of static libraries if not requested + # There seems to be no easy way to disable this in the build system + if ! use static-libs; then + rm -v "${D}"/usr/lib*/*.a || die + fi + + if use doc; then + dohtml -r "${WORKDIR}"/html/* docs/* + fi + + # ChangeLog is not standard and does not exist on 3.10.10 +# dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed" + + if use examples; then + local exampledir="/usr/share/doc/${PF}/examples" + local basedir="samples" + local sampledirs="`ls ${basedir} --hide=configure* \ + --hide=opal_samples.mak.in --hide=ReadMe.txt`" + + # first, install files + insinto ${exampledir}/ + doins ${basedir}/{configure*,opal_samples*,ReadMe.txt} + + # now, all examples + for x in ${sampledirs}; do + insinto ${exampledir}/${x}/ + doins ${basedir}/${x}/* + done + + # some examples need version.h + insinto "/usr/share/doc/${PF}/" + doins version.h + fi +} + +pkg_postinst() { + if use examples; then + ewarn "All examples have been installed, some of them will not work on your system" + ewarn "it will depend of the enabled USE flags in ptlib and opal" + fi + + if ! use plugins || ! use audio || ! use video; then + ewarn "You have disabled audio, video or plugins USE flags." + ewarn "Most audio/video features or plugins have been disabled silently" + ewarn "even if enabled via USE flags." + ewarn "Having a feature enabled via USE flag but disabled can lead to issues." + fi +} diff --git a/net-libs/opal/opal-3.14.0.ebuild b/net-libs/opal/opal-3.14.0.ebuild new file mode 100644 index 0000000..fb404eb --- /dev/null +++ b/net-libs/opal/opal-3.14.0.ebuild @@ -0,0 +1,221 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.12.4.ebuild,v 1.2 2013/06/24 16:43:40 scarabeus Exp $ + +EAPI=5 + +inherit eutils autotools toolchain-funcs java-pkg-opt-2 flag-o-matic + +DESCRIPTION="C++ class library normalising numerous telephony protocols" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )" + +LICENSE="MPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+audio capi celt debug doc +dtmf examples fax ffmpeg h224 h281 h323 iax +ilbc ipv6 ivr ixj java ldap lid +plugins rfc4103 sbc sip sipim srtp ssl static-libs +stats swig theora +video vpb vxml wav x264 x264-static xml" + +REQUIRED_USE="x264-static? ( x264 ) + h281? ( h224 ) + rfc4103? ( sip ) + sip? ( sipim )" + +RDEPEND=">=net-libs/ptlib-2.14.0:=[stun,debug=,audio?,dtmf,http,ipv6?,ldap?,ssl?,video?,vxml?,wav?,xml?] + >=media-libs/speex-1.2_beta + fax? ( net-libs/ptlib[asn] ) + h323? ( net-libs/ptlib[asn] ) + ivr? ( net-libs/ptlib[http,xml,vxml] ) + java? ( >=virtual/jre-1.4 ) + plugins? ( + media-sound/gsm + capi? ( net-dialup/capi4k-utils ) + celt? ( media-libs/celt ) + ffmpeg? ( virtual/ffmpeg[encode] ) + ixj? ( sys-kernel/linux-headers ) + ilbc? ( dev-libs/ilbc-rfc3951 ) + sbc? ( media-libs/libsamplerate ) + theora? ( media-libs/libtheora ) + x264? ( virtual/ffmpeg + media-libs/x264 ) ) + srtp? ( net-libs/libsrtp ) + vxml? ( net-libs/ptlib[http,vxml] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=sys-devel/gcc-3 + java? ( swig? ( dev-lang/swig ) + >=virtual/jdk-1.4 )" + +# NOTES: +# ffmpeg[encode] is for h263 and mpeg4 +# ssl, xml, vxml, ipv6, ldap, audio, wav, and video are use flags +# herited from ptlib: feature is enabled if ptlib has enabled it +# however, disabling it if ptlib has it looks hard (coz of buildopts.h) +# forcing ptlib to disable it for opal is not a solution too +# atm, accepting the "auto-feature" looks like a good solution +# (asn is used for fax and config _only_ for examples) +# OPALDIR should not be used anymore but if a package still need it, create it + +pkg_setup() { + # workaround for bug 282838 + append-cxxflags "-fno-visibility-inlines-hidden" + append-cxxflags "-fno-strict-aliasing" + + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + # remove visual studio related files from samples/ + if use examples; then + rm -f samples/*/*.vcproj + rm -f samples/*/*.sln + rm -f samples/*/*.dsp + rm -f samples/*/*.dsw + fi + + epatch "${FILESDIR}/${PN}-3.10.9-svn_revision_override.patch" + epatch "${FILESDIR}/${P}-java-ruby-swig-fix.patch" + epatch "${FILESDIR}/${P}-pmimeinfo_not_declared_fix.patch" + + sed -i -e "s:\(.*HAS_H224.*\), \[OPAL_H323\]:\1:" configure.ac \ + || die "sed failed" + + eaclocal + eautoconf + + # in plugins + cd plugins/ + eaclocal + eautoconf + cd .. + + # disable celt if celt is not enabled (prevent auto magic dep) + # already in repository + if ! use celt; then + sed -i -e "s/HAVE_CELT=yes/HAVE_CELT=no/" plugins/configure \ + || die "sed failed" + fi + + # fix automatic swig detection, upstream bug 2712521 (upstream reject it) + if ! use swig; then + sed -i -e "/^SWIG=/d" configure || die "patching configure failed" + fi + + use ilbc || { rm -r plugins/audio/iLBC/ || die "removing iLBC failed"; } + + java-pkg-opt-2_src_prepare +} + +src_configure() { + # --with-libavcodec-source-dir should _not_ be set, it's for trunk sources + # versioncheck: check for ptlib version + # shared: should always be enabled for a lib + # localspeex, localspeexdsp, localgsm, localilbc: never use bundled libs + # samples: only build some samples, useless + # libavcodec-stackalign-hack: prevent hack (default disable by upstream) + # default-to-full-capabilties: default enable by upstream + # aec: atm, only used when bundled speex, so it's painless for us + # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from + # http://zfoneproject.com/ wich is not in portage + # msrp: highly experimental + # spandsp: doesn't work with newest spandsp, upstream bug 2796047 + # g711plc: force enable + # rfc4103: not really used, upstream bug 2795831 + # t38, spandsp: merged in fax + # h450, h460, h501: merged in h323 (they are additional features of h323) + econf \ + --enable-versioncheck \ + --enable-shared \ + --disable-zrtp \ + --disable-localspeex \ + --disable-localspeexdsp \ + --disable-localgsm \ + --disable-localilbc \ + --disable-samples \ + --disable-libavcodec-stackalign-hack \ + --enable-default-to-full-capabilties \ + --enable-aec \ + --disable-msrp \ + --disable-spandsp \ + --enable-g711plc \ + $(use_enable debug) \ + $(use_enable capi) \ + $(use_enable fax) \ + $(use_enable fax t38) \ + $(use_enable h224) \ + $(use_enable h281) \ + $(use_enable h323) \ + $(use_enable h323 h450) \ + $(use_enable h323 h460) \ + $(use_enable h323 h501) \ + $(use_enable iax) \ + $(use_enable ivr) \ + $(use_enable ixj) \ + $(use_enable java) \ + $(use_enable lid) \ + $(use_enable plugins) \ + $(use_enable sbc) \ + $(use_enable sip) \ + $(use_enable sipim) \ + $(use_enable stats statistics) \ + $(use_enable video) $(use_enable video rfc4175) \ + $(use_enable rfc4103) \ + $(use_enable vpb) \ + $(use_enable x264 h264) \ + $(use_enable x264-static x264-link-static) +} + +src_compile() { + local makeopts="opt" + + use debug && makeopts="debug" + + emake ${makeopts} +} + +src_install() { + emake DESTDIR="${D}" install + + # Get rid of static libraries if not requested + # There seems to be no easy way to disable this in the build system + if ! use static-libs; then + rm -v "${D}"/usr/lib*/*.a || die + fi + + if use doc; then + dohtml -r "${WORKDIR}"/html/* docs/* + fi + + # ChangeLog is not standard and does not exist on 3.10.10 +# dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed" + + if use examples; then + local exampledir="/usr/share/doc/${PF}/examples" + local basedir="samples" + + # first, install files + insinto ${exampledir} + docompress -x ${exampledir} + doins -r ${basedir}/* + + # some examples need version.h + insinto "/usr/share/doc/${PF}/" + doins version.h + fi +} + +pkg_postinst() { + if use examples; then + ewarn "All examples have been installed, some of them will not work on your system" + ewarn "it will depend of the enabled USE flags in ptlib and opal" + fi + + if ! use plugins || ! use audio || ! use video; then + ewarn "You have disabled audio, video or plugins USE flags." + ewarn "Most audio/video features or plugins have been disabled silently" + ewarn "even if enabled via USE flags." + ewarn "Having a feature enabled via USE flag but disabled can lead to issues." + fi +} diff --git a/net-libs/opal/opal-3.6.8-r2.ebuild b/net-libs/opal/opal-3.6.8-r2.ebuild new file mode 100644 index 0000000..5f95c35 --- /dev/null +++ b/net-libs/opal/opal-3.6.8-r2.ebuild @@ -0,0 +1,280 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI="4" + +inherit eutils autotools toolchain-funcs java-pkg-opt-2 flag-o-matic + +HTMLV="3.6.7" # There is no 3.6.8 release of htmldoc +DESCRIPTION="C++ class library normalising numerous telephony protocols" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 + doc? ( mirror://sourceforge/opalvoip/${PN}-${HTMLV}-htmldoc.tar.bz2 )" + +LICENSE="MPL-1.0" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" +IUSE="+audio capi celt debug doc dtmf examples fax ffmpeg h224 h281 h323 iax +ilbc ipv6 ivr ixj java ldap lid +plugins sbc sip sipim srtp ssl static-libs +stats swig theora +video vpb vxml wav x264 x264-static xml" + +REQUIRED_USE="x264-static? ( x264 ) + h281? ( h224 )" + +RDEPEND="=media-libs/speex-1.2_beta + fax? ( net-libs/ptlib[asn] ) + h323? ( net-libs/ptlib[asn] ) + ivr? ( net-libs/ptlib[http,xml,vxml] ) + java? ( >=virtual/jre-1.4 ) + plugins? ( + media-sound/gsm + capi? ( net-dialup/capi4k-utils ) + celt? ( media-libs/celt ) + ffmpeg? ( virtual/ffmpeg[encode] !!>=media-libs/libav-9 ) + ixj? ( sys-kernel/linux-headers ) + ilbc? ( dev-libs/ilbc-rfc3951 ) + sbc? ( media-libs/libsamplerate ) + theora? ( media-libs/libtheora ) + x264? ( virtual/ffmpeg + media-libs/x264 ) ) + srtp? ( net-libs/libsrtp ) + vxml? ( net-libs/ptlib[http,vxml] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=sys-devel/gcc-3 + java? ( swig? ( dev-lang/swig ) + >=virtual/jdk-1.4 )" + +# NOTES: +# ffmpeg[encode] is for h263 and mpeg4 +# ssl, xml, vxml, ipv6, dtmf, ldap, audio, wav, and video are use flags +# herited from ptlib: feature is enabled if ptlib has enabled it +# however, disabling it if ptlib has it looks hard (coz of buildopts.h) +# forcing ptlib to disable it for opal is not a solution too +# atm, accepting the "auto-feature" looks like a good solution +# (asn is used for fax and config _only_ for examples) +# OPALDIR should not be used anymore but if a package still need it, create it + +pkg_setup() { + # workaround for bug 282838 + append-flags "-fno-visibility-inlines-hidden" + + # Upstream fixed this in trunk + # http://opalvoip.svn.sourceforge.net/viewvc/opalvoip?view=revision&revision=25165 + append-flags -D__STDC_CONSTANT_MACROS #324323 + + # need >=gcc-3 + if [[ $(gcc-major-version) -lt 3 ]]; then + eerror "You need to use gcc-3 at least." + eerror "Please change gcc version with 'gcc-config'." + die "You need to use gcc-3 at least." + fi + + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + # remove visual studio related files from samples/ + if use examples; then + rm -f samples/*/*.vcproj + rm -f samples/*/*.sln + rm -f samples/*/*.dsp + rm -f samples/*/*.dsw + fi + + # upstream patch 2808915 + epatch "${FILESDIR}"/${PN}-3.6.4-jdkroot.patch + + epatch "${FILESDIR}"/${P}-build-fix.patch #343041 + epatch "${FILESDIR}"/${P}-ldflags.patch + epatch "${FILESDIR}"/${P}-lid-plugins-ldflags.patch #397681 + + # h224 really needs h323 ? + # TODO: get a confirmation in ml + sed -i -e "s:\(.*HAS_H224.*\), \[OPAL_H323\]:\1:" configure.ac \ + || die "sed failed" + + eaclocal + eautoconf + + # in plugins + cd plugins/ + eaclocal + eautoconf + cd .. + + # disable srtp if srtp is not enabled (prevent auto magic dep) + # upstream bug 2686485 (fixed in 3.7) + if ! use srtp; then + sed -i -e "s/OPAL_SRTP=yes/OPAL_SRTP=no/" configure \ + || die "patching configure failed" + fi + + # disable theora if theora is not enabled (prevent auto magic dep) + # upstream bug 2686488 (fixed in 3.7) + if ! use theora; then + sed -i -e "s/HAVE_THEORA=yes/HAVE_THEORA=no/" plugins/configure \ + || die "patching plugins/configure failed" + fi + + # disable mpeg4 and h263p if ffmpeg is not enabled (prevent auto magic dep) + # upstream bug 2686495 (fixed in 3.7) + if ! use ffmpeg; then + sed -i -e "s/HAVE_H263P=yes/HAVE_H263P=no/" plugins/configure \ + || die "patching plugins/configure failed" + sed -i -e "s/HAVE_MPEG4=yes/HAVE_MPEG4=no/" plugins/configure \ + || die "patching plugins/configure failed" + fi + + # disable celt if celt is not enabled (prevent auto magic dep) + # already in repository + if ! use celt; then + sed -i -e "s/HAVE_CELT=yes/HAVE_CELT=no/" plugins/configure \ + || die "sed failed" + fi + + # fix gsm wav49 support check, upstream bug 2686500 (fixed in 3.7) + if use plugins; then + sed -i -e "s:gsm\.h:gsm/gsm.h:" plugins/configure \ + || die "patching plugins/configure failed" + fi + + # fix automatic swig detection, upstream bug 2712521 (upstream reject it) + if ! use swig; then + sed -i -e "/^SWIG=/d" configure || die "patching configure failed" + fi + + use ilbc || { rm -r plugins/audio/iLBC/ || die "removing iLBC failed"; } + + java-pkg-opt-2_src_prepare +} + +src_configure() { + local forcedconf="" + + # fix bug 277233, upstream bug 2820939 + if use fax; then + forcedconf="${forcedconf} --enable-statistics" + fi + + # --with-libavcodec-source-dir should _not_ be set, it's for trunk sources + # versioncheck: check for ptlib version + # shared: should always be enabled for a lib + # localspeex, localspeexdsp, localgsm, localilbc: never use bundled libs + # samples: only build some samples, useless + # libavcodec-stackalign-hack: prevent hack (default disable by upstream) + # default-to-full-capabilties: default enable by upstream + # aec: atm, only used when bundled speex, so it's painless for us + # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from + # http://zfoneproject.com/ wich is not in portage + # msrp: highly experimental + # spandsp: doesn't work with newest spandsp, upstream bug 2796047 + # g711plc: force enable + # rfc4103: not really used, upstream bug 2795831 + # t38, spandsp: merged in fax + # h450, h460, h501: merged in h323 (they are additional features of h323) + econf \ + --enable-versioncheck \ + --enable-shared \ + --disable-zrtp \ + --disable-localspeex \ + --disable-localspeexdsp \ + --disable-localgsm \ + --disable-localilbc \ + --disable-samples \ + --disable-libavcodec-stackalign-hack \ + --enable-default-to-full-capabilties \ + --enable-aec \ + --disable-msrp \ + --disable-spandsp \ + --enable-g711plc \ + --enable-rfc4103 \ + $(use_enable debug) \ + $(use_enable capi) \ + $(use_enable fax) \ + $(use_enable fax t38) \ + $(use_enable h224) \ + $(use_enable h281) \ + $(use_enable h323) \ + $(use_enable h323 h450) \ + $(use_enable h323 h460) \ + $(use_enable h323 h501) \ + $(use_enable iax) \ + $(use_enable ivr) \ + $(use_enable ixj) \ + $(use_enable java) \ + $(use_enable lid) \ + $(use_enable plugins) \ + $(use_enable sbc) \ + $(use_enable sip) \ + $(use_enable sipim) \ + $(use_enable stats statistics) \ + $(use_enable video) $(use_enable video rfc4175) \ + $(use_enable vpb) \ + $(use_enable x264 h264) \ + $(use_enable x264-static x264-link-static) \ + ${forcedconf} +} + +src_compile() { + local makeopts="" + + use debug && makeopts="debug" + + emake ${makeopts} || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + # Get rid of static libraries if not requested + # There seems to be no easy way to disable this in the build system + if ! use static-libs; then + rm -v "${D}"/usr/lib*/*.a || die + fi + + if use doc; then + dohtml -r "${WORKDIR}"/html/* docs/* || die "dohtml failed" + fi + + # ChangeLog is not standard + dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed" + + if use examples; then + local exampledir="/usr/share/doc/${PF}/examples" + local basedir="samples" + local sampledirs="`ls ${basedir} --hide=configure* \ + --hide=opal_samples.mak.in`" + + # first, install files + insinto ${exampledir}/ + doins ${basedir}/{configure*,opal_samples*} \ + || die "doins failed" + + # now, all examples + for x in ${sampledirs}; do + insinto ${exampledir}/${x}/ + doins ${basedir}/${x}/* || die "doins failed" + done + + # some examples need version.h + insinto "/usr/share/doc/${PF}/" + doins version.h || die "doins failed" + fi +} + +pkg_postinst() { + if use examples; then + ewarn "All examples have been installed, some of them will not work on your system" + ewarn "it will depend of the enabled USE flags in ptlib and opal" + fi + + if ! use plugins || ! use audio || ! use video; then + ewarn "You have disabled audio, video or plugins USE flags." + ewarn "Most audio/video features or plugins have been disabled silently" + ewarn "even if enabled via USE flags." + ewarn "Having a feature enabled via USE flag but disabled can lead to issues." + fi +} -- cgit v1.2.3-65-gdbad