Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238610 - net-libs/opal-3.4.4 version bump
Summary: net-libs/opal-3.4.4 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL: http://www.opalvoip.org/
Whiteboard:
Keywords: EBUILD, InOverlay, InVCS
Depends on: 238617
Blocks: 238554 252894
  Show dependency tree
 
Reported: 2008-09-24 21:19 UTC by Mounir Lamouri (volkmar) (RETIRED)
Modified: 2009-07-03 10:11 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for opal-2.2.11.ebuild to opal-3.4.1.ebuild (opal-2.2.11_to_3.4.1.patch,4.18 KB, patch)
2008-09-25 23:59 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details | Diff
Patch to avoid QA issue (opal-lpcini.patch,301 bytes, patch)
2008-09-26 00:00 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details | Diff
opal-3.4.1 ebuild (opal-3.4.1.ebuild,1.67 KB, text/plain)
2008-09-26 00:04 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Patch for opal-2.2.11.ebuild to opal-3.4.1.ebuild (opal-2.2.11_to_3.4.1.patch,4.14 KB, patch)
2008-09-29 05:45 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details | Diff
Full text net-libs/opal-3.4.1 (opal-3.4.1.ebuild,1.63 KB, text/plain)
2008-09-29 05:46 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
EAPI 2 ebuild (opal-3.4.1.ebuild,1.07 KB, text/plain)
2008-10-05 17:23 UTC, Michał Górny
Details
Patch for opal-2.2.11.ebuild to opal-3.4.1.ebuild (opal-2.2.11_to_3.4.1.patch,4.08 KB, patch)
2008-10-09 23:50 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details | Diff
Full text net-libs/opal-3.4.1 (opal-3.4.1.ebuild,1.56 KB, text/plain)
2008-10-09 23:50 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
opal-3.4.1 ebuild with EAPI 2 (opal-3.4.1-eapi2.patch,1.45 KB, patch)
2008-10-10 00:09 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details | Diff
net-libs/opal-3.4.1/temp/build.log (build.log,28.34 KB, text/plain)
2008-10-21 08:53 UTC, Aleksandr Yakimov
Details
updated Mounir Lamouri's ebuild for 3.4.2 (opal-3.4.2.ebuild,1.54 KB, text/plain)
2008-10-21 23:48 UTC, George Wu
Details
Ebuild for opal-3.4.2 (opal-3.4.2.ebuild,1.54 KB, text/plain)
2008-10-25 15:35 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for opal-3.4.2 (opal-3.4.2.ebuild,1.60 KB, text/plain)
2008-10-25 18:35 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for opal-3.4.2 (opal-3.4.2.ebuild,1.72 KB, text/plain)
2008-10-27 13:35 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for opal-3.4.2 (opal-3.4.2.ebuild,1.75 KB, text/plain)
2008-12-07 01:16 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for opal-3.4.2 (opal-3.4.2.ebuild,1.39 KB, text/plain)
2009-01-05 00:17 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for opal-3.4.2 (opal-3.4.2.ebuild,1.46 KB, text/plain)
2009-01-14 01:14 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for opal-3.4.4 (opal-3.4.4.ebuild,1.46 KB, text/plain)
2009-01-16 02:56 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for opal-3.4.4 (opal-3.4.4.ebuild,1.46 KB, text/plain)
2009-01-19 05:38 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for opal-3.4.4 (opal-3.4.4.ebuild,1.50 KB, text/plain)
2009-01-21 02:57 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for opal-3.5.2 (opal-3.5.2.ebuild,1.49 KB, text/plain)
2009-01-21 02:58 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
opal-ffmpeg.patch (opal-ffmpeg.patch,1.20 KB, patch)
2009-02-01 15:59 UTC, Federico Fissore
Details | Diff
Ebuild for opal-3.5.2 (opal-3.5.2.ebuild,1.58 KB, text/plain)
2009-02-02 03:47 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for opal-3.4.5 (opal-3.4.5.ebuild,7.63 KB, text/plain)
2009-03-18 14:25 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Patch needed by opal-3.4.5 (at least) (opal-3.4.5-stats.patch,289 bytes, text/plain)
2009-03-18 14:28 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
build.log when GetLocalPartyURL fails (build.log,20.61 KB, text/plain)
2009-03-19 13:37 UTC, Raphaël Droz
Details
Ebuild for opal-3.6.1 (opal-3.6.1.ebuild,8.40 KB, text/plain)
2009-04-01 02:05 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
opal-3.6.1 config failure if ptlib-2.6.1 -pipechan (config.log,19.27 KB, text/plain)
2009-04-01 11:00 UTC, Raphaël Droz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-24 21:19:32 UTC
With the new ekiga 3.00 release there is a new opal release (3.4.1).
This updated ebuild is needed for ekiga 3.00.
Comment 1 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-25 23:59:21 UTC
Created attachment 166433 [details, diff]
Patch for opal-2.2.11.ebuild to opal-3.4.1.ebuild

Here is a patch for opal-3.4.1 ebuild based on the last opal ebuild in portage (2.2.11).
This ebuild need a patch that will be updated just after.

About the modifications :
- changing description (alternative one commented)
- license fixed
- using system speex instead of local speex
- installing doc with USE=doc
- cleaning all garbage
- adding java and zrtp

Important : if someone can test java and zrtp, it should be great :)
Comment 2 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-26 00:00:52 UTC
Created attachment 166435 [details, diff]
Patch to avoid QA issue

The patch needed for opal-3.4.1 ebuild to avoid a QA issue.
Comment 3 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-26 00:04:23 UTC
Created attachment 166436 [details]
opal-3.4.1 ebuild

The full text opal-3.4.1 ebuild to simplify installation for people who don't want to use the patch ;)
Comment 4 Markus Luisser 2008-09-26 06:11:08 UTC
works fine for me on amd64.

If you tell me what tests you need for "java and zrtp" I can give it a shot.
Comment 5 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-26 12:40:38 UTC
Just told me if zrtp and java use flags don't break the emerging and if they are correctly recognize. You can see this by interrupting emerge when the compilation begin and check the configure script.

Thanks :)

(In reply to comment #4)
> works fine for me on amd64.
> 
> If you tell me what tests you need for "java and zrtp" I can give it a shot.
> 

Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-26 13:49:18 UTC

*** This bug has been marked as a duplicate of bug 238554 ***
Comment 7 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-26 14:24:10 UTC
(In reply to comment #6)
> 
> *** This bug has been marked as a duplicate of bug 238554 ***
> 

In my opinion, it's not a duplicate of ekiga's bug.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-26 14:37:27 UTC
An oversight.
Comment 9 David 2008-09-29 03:09:00 UTC
Thank you for the ekiga ebuilds.  It looks like it is working.  However, the opal ebuild depends on libzrtpcpp, which in turn depends on commoncpp2.  During the build of commoncpp2, I received error:

nat.cpp:167: error: 'SO_ORIGINAL_DST' was not declared in this scope

I have linux-headers 2.6.26 installed.  I found

http://bugs.gentoo.org/show_bug.cgi?id=236177

which addressed the problem.  I manually made the change to /usr/include/linux/netfilter.h and that fixed my problem.
Comment 10 Markus Luisser 2008-09-29 04:22:00 UTC
(In reply to comment #5)
> Just told me if zrtp and java use flags don't break the emerging and if they
> are correctly recognize. You can see this by interrupting emerge when the
> compilation begin and check the configure script.

opal-3.4.1 emerges fine with these flags (including the commoncpp2 dependency). But I'm not sure if the zrtp flag is recognised properly. from the output:

configure: running /bin/sh ./configure '--prefix=/usr'  '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--enable-plugins' '--disable-localspeex' '--disable-debug' '--enable-java' '--enable-zrtp' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CXXFLAGS=-O2 -pipe -fomit-frame-pointer -march=nocona' 'LDFLAGS=-Wl,-O1' 'CFLAGS=-O2 -pipe -fomit-frame-pointer -march=nocona' --cache-file=/dev/null --srcdir=.
...
checking for zrtp library includes in /usr/local/include/zrtp... checking libzrtp... no
checking ZRTP protocol support... no

The java flag seems fine, I get lots of java warnings during compilation ;)
Comment 11 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-29 05:45:20 UTC
Created attachment 166733 [details, diff]
Patch for opal-2.2.11.ebuild to opal-3.4.1.ebuild

The issue was quite obvious : the lib was not checked in /usr but in /usr/local. But when I tested the fix I realized libzrpt in portage is not libzrtp required by ekiga. Actually, in portage, it is net-libs/libzrtpcpp that is, in fact, the GNU implementation of zrtp protocol. Ekiga is checking for this libzrtp : http://zfoneproject.com/prod_sdk.html that is not really the same.

As it is not in portage and not vital for opal, I removed the use flag and hard-disable the option.

(here is the fixed patch)
Comment 12 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-29 05:46:57 UTC
Created attachment 166735 [details]
Full text net-libs/opal-3.4.1

Fixed full text ebuild.

And thank you for your reports :)
Comment 13 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-10-05 17:23:19 UTC
Created attachment 167339 [details]
EAPI 2 ebuild

Updated the ebuild to use EAPI=2.
Comment 14 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-10-09 23:50:18 UTC
Created attachment 167830 [details, diff]
Patch for opal-2.2.11.ebuild to opal-3.4.1.ebuild

Cleaning and comments.
Comment 15 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-10-09 23:50:54 UTC
Created attachment 167832 [details]
Full text net-libs/opal-3.4.1

Cleaning and comments.
Comment 16 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-10-10 00:09:47 UTC
Created attachment 167836 [details, diff]
opal-3.4.1 ebuild with EAPI 2

A patch to perform on opal-3.4.1.ebuild to get an EAPI 2 compatible ebuild.
Comment 17 Aleksandr Yakimov 2008-10-21 08:52:54 UTC
The problem near #if OPAL_PTLIB_VIDEO
...
/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx: In constructor 'OpalManager::OpalManager()':                                                             
/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:173: error: 'PVideoInputDevice' has not been declared                                                     
/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:178: error: 'videoInputDevice' was not declared in this scope                                             
/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:181: error: 'autoStartTransmitVideo' was not declared in this scope                                       
/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:181: error: 'videoInputDevice' was not declared in this scope                                             
/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:183: error: 'PVideoOutputDevice' has not been declared                                                    
/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:187: error: 'videoOutputDevice' was not declared in this scope                                            
/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:190: error: 'autoStartReceiveVideo' was not declared in this scope                                        
/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:190: error: 'videoOutputDevice' was not declared in this scope                                            
/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:193: error: 'videoPreviewDevice' was not declared in this scope                                           
make[1]: *** [/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/lib_linux_x86_64/obj/manager.o] Error 1

# emerge --info
WARNING: repository at /usr/local/portage is missing a repo_name entry
 * Overlay eclasses override eclasses from PORTDIR:                   
 *                                                                    
 *   '/usr/local/portage/layman/kde-testing/eclass/kde4-base.eclass'  
 *   '/usr/local/portage/layman/kde-testing/eclass/kde4-functions.eclass'
 *   '/usr/local/portage/layman/kde-testing/eclass/kde4-meta.eclass'     
 *                                                                       
 * It is best to avoid overriding eclasses from PORTDIR because it will  
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you  
 * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to
 * run `emerge --regen` after each time that you run `emerge --sync`. Set  
 * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to
 * disable this warning.                                                   
Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2180_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Fri, 17 Oct 2008 12:34:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -mtune=native -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=native -mtune=native -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distlocks multilib-strict parallel-fetch prelink preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 amr amrnb amrwb bash-completion berkdb bluetooth branding bzip2 cairo cdr chm cli cpudetection cracklib crypt cups daap dbus dirac djvu dri dts dv dvd dvdr dvdread emboss encode fam floppy fortran ftp gdbm gif git gpm gtk hal iconv imagemagick isdnlog java jpeg kde libffi libnotify live lzma lzo mad midi mikmod mmx mmxext mp2 mp3 mp3tunes mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtc samba sdl session smp speex spell spl srt sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs tcpd threads tiff truetype unicode usb vim vim-syntax visualization vorbis x264 x86emu xattr xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="i810 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 18 Aleksandr Yakimov 2008-10-21 08:53:31 UTC
Created attachment 169270 [details]
net-libs/opal-3.4.1/temp/build.log
Comment 19 George Wu 2008-10-21 22:34:04 UTC
version bump (opal 3.4.2) released 10/17/2008.
Comment 20 George Wu 2008-10-21 23:48:56 UTC
Created attachment 169364 [details]
updated Mounir Lamouri's ebuild for 3.4.2

changed HOMEPAGE, SRC_URI, moved patch to opal-lpcini.patch
Comment 21 George Wu 2008-10-25 07:52:16 UTC
is voip still interested in maintaining this package?
Comment 22 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-10-25 15:35:23 UTC
Created attachment 169828 [details]
Ebuild for opal-3.4.2

Updated ebuild.
I found opal needs ptlib >= 2.0.0 and last ebuild was requesting ~ptlib-2.4.1.

I also add an entry into the opal tracker about the QA issue and propose my patch.
Comment 23 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-10-25 18:35:56 UTC
Created attachment 169852 [details]
Ebuild for opal-3.4.2

Opal doesn't compile with --as-needed LDFLAG.
Here is an ebuild that filter this flag.

Aleksandr, try this ebuild. It should fix your compilation issue.
Comment 24 George Wu 2008-10-25 21:04:22 UTC
Comment on attachment 169364 [details]
updated Mounir Lamouri's ebuild for 3.4.2

obsoleted by Mounir Lamouri's updated ebuild
Comment 25 Aleksandr Yakimov 2008-10-27 10:14:26 UTC
(In reply to comment #23)
> Created an attachment (id=169852) [edit]
> Ebuild for opal-3.4.2
> 
> Opal doesn't compile with --as-needed LDFLAG.
> Here is an ebuild that filter this flag.
> 
> Aleksandr, try this ebuild. It should fix your compilation issue.
> 
Now it works.
Comment 26 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-10-27 13:35:54 UTC
Created attachment 170003 [details]
Ebuild for opal-3.4.2

Using documentation tarball.
Comment 27 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-11-07 01:28:54 UTC
For information, opal-lpcini.patch has been approved by upstream. It has been integrated into the trunk and should probably be added in the next release.
Comment 28 Nicholas Doyle 2008-12-05 18:52:52 UTC
This ebuild failed to strip my LDFLAGS.

LDFLAGS="-Wl,-O1,--as-needed"
Comment 29 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-12-07 01:16:36 UTC
Created attachment 174510 [details]
Ebuild for opal-3.4.2

I was filtering --as-needed. That was the wrong way to avoid --as-needed issue.
Now, --no-as-needed is added.
Comment 30 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-12-07 01:17:09 UTC
(In reply to comment #28)
> This ebuild failed to strip my LDFLAGS.
> 
> LDFLAGS="-Wl,-O1,--as-needed"
> 

New ebuild should work.
Comment 31 David Ferenczi 2009-01-03 18:12:11 UTC
RESTRICT="mirror" was needed, but otherwise the ebuild worked well
Comment 32 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-01-05 00:17:59 UTC
Created attachment 177430 [details]
Ebuild for opal-3.4.2

This ebuild is using EAPI=2 while EAPI 2 is now available for stable systems.

By the way, according to Gentoo Dev Guide RESTRICT=mirror is for when it is "legally" not possible to get the tarball from a mirror. Using primaryuri would try the primary uri first but while it is not in portage, I don't think it's relevant to change that (it can't be in a gentoo distfiles mirror...)
Comment 33 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-01-14 01:14:05 UTC
Created attachment 178453 [details]
Ebuild for opal-3.4.2

Adding a wav USE flag that force ptlib[-minimal] to make sure wav is enabled when needed.
Comment 34 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-01-16 02:56:42 UTC
Created attachment 178659 [details]
Ebuild for opal-3.4.4

New version of opal (3.4.4). No major changes.
Comment 35 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-01-19 05:38:11 UTC
Created attachment 178961 [details]
Ebuild for opal-3.4.4

New ebuild fully using eapi 2.
Comment 36 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-01-21 02:57:45 UTC
Created attachment 179127 [details]
Ebuild for opal-3.4.4

Add pkgconfig dependency and cleaning.
Comment 37 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-01-21 02:58:43 UTC
Created attachment 179129 [details]
Ebuild for opal-3.5.2

Ebuild for opal 3.5.2. "In development" version of opal. Needed by the beta version of ekiga.
Comment 38 Stephen Cavilia 2009-01-29 02:23:23 UTC
building 3.5.2 fails with the current ffmpeg version in the h263-1998 plugin.  with the two erroneous lines commented out it compiles (haven't actually tested h.263 yet; ekiga's echo test is practically useless since it only supports the beyond-obsolete historical footnote of a codec known as h.261...)

I just looked at the h323-1998.cxx file in opal svn, it has an #ifdef that disables those lines.
Comment 39 Federico Fissore 2009-02-01 15:59:00 UTC
Created attachment 180557 [details, diff]
opal-ffmpeg.patch

fixes bug from previous comment. until 3.5.3 is released
Comment 40 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-02-02 03:47:22 UTC
Created attachment 180640 [details]
Ebuild for opal-3.5.2

Updated ebuild using opal-ffmpeg.patch

Thanks for your patch Frederico
Comment 41 Manfred Knick 2009-02-23 11:15:32 UTC
Discovered in context of BUG #238554#c80 :

emerge: there are no ebuilds built with USE flags to satisfy
"dev-libs/ptlib[asn]".

!!! One of the following packages is required to complete your request:         
- dev-libs/ptlib-2.5.2 (Missing IUSE: asn)                                      
- dev-libs/ptlib-2.4.4 (Missing IUSE: asn)                                      
(dependency required by "net-libs/opal-3.5.2" [ebuild])                         
(dependency required by "net-im/ekiga-3.1.0" [ebuild])                          


This trouble is caused by the following conditional dependency:
# grep asn *
net-libs/opal/opal-3.5.2.ebuild:        fax? ( dev-libs/ptlib[asn] )

BUT:
There is none such "asn" USE flag at all;
only the following are defined:

grep -R USE * | grep ptlib

dev-libs/ptlib/ptlib-2.4.4.ebuild:IUSE="alsa bsdvideo debug doc esd ieee1394
ipv6 ldap -minimal -noaudio -novideo oss sasl sdl ssl sunaudio v4l v4l2 xml"

dev-libs/ptlib/ptlib-2.5.2.ebuild:IUSE="alsa bsdvideo debug doc esd ieee1394
ipv6 ldap -minimal -noaudio -novideo oss sasl sdl ssl sunaudio v4l v4l2 xml"
Comment 42 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-02-28 19:59:20 UTC
(In reply to comment #41)
> Discovered in context of BUG #238554#c80 :
> 
> emerge: there are no ebuilds built with USE flags to satisfy
> "dev-libs/ptlib[asn]".
> 
> !!! One of the following packages is required to complete your request:         
> - dev-libs/ptlib-2.5.2 (Missing IUSE: asn)                                      
> - dev-libs/ptlib-2.4.4 (Missing IUSE: asn)                                      
> (dependency required by "net-libs/opal-3.5.2" [ebuild])                         
> (dependency required by "net-im/ekiga-3.1.0" [ebuild])                          
> 
> 
> This trouble is caused by the following conditional dependency:
> # grep asn *
> net-libs/opal/opal-3.5.2.ebuild:        fax? ( dev-libs/ptlib[asn] )
> 
> BUT:
> There is none such "asn" USE flag at all;
> only the following are defined:
> 
> grep -R USE * | grep ptlib
> 
> dev-libs/ptlib/ptlib-2.4.4.ebuild:IUSE="alsa bsdvideo debug doc esd ieee1394
> ipv6 ldap -minimal -noaudio -novideo oss sasl sdl ssl sunaudio v4l v4l2 xml"
> 
> dev-libs/ptlib/ptlib-2.5.2.ebuild:IUSE="alsa bsdvideo debug doc esd ieee1394
> ipv6 ldap -minimal -noaudio -novideo oss sasl sdl ssl sunaudio v4l v4l2 xml"
> 

I've updated ptlib ebuilds in bug #238617
Comment 43 Sergej Pisarenko 2009-02-28 20:56:00 UTC
When trying to compile 3.5.2 I get this error:

...

checking for PTLIB... yes
Version:  2.4.4
CFLAGS:   -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/SDL  
CXXFLAGS: -felide-constructors -Wreorder
DEBUG:    -lpt_d -lsasl2 -lssl -lcrypto -lexpat -lSDL -lpthread -lresolv -ldl  
RELEASE:  -lpt -lsasl2 -lssl -lcrypto -lexpat -lSDL -lpthread -lresolv -ldl  
checking ptlib version... 2.4.4
configure: error: Could not find a linkable ptlib in specified environment to verify symbols (debug ptlib: no)
Comment 44 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-02-28 21:02:10 UTC
(In reply to comment #43)
> When trying to compile 3.5.2 I get this error:
> 
> ...
> 
> checking for PTLIB... yes
> Version:  2.4.4
> CFLAGS:   -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions
> -I/usr/include/SDL  
> CXXFLAGS: -felide-constructors -Wreorder
> DEBUG:    -lpt_d -lsasl2 -lssl -lcrypto -lexpat -lSDL -lpthread -lresolv -ldl  
> RELEASE:  -lpt -lsasl2 -lssl -lcrypto -lexpat -lSDL -lpthread -lresolv -ldl  
> checking ptlib version... 2.4.4
> configure: error: Could not find a linkable ptlib in specified environment to
> verify symbols (debug ptlib: no)
> 

Can you try with ptlib-2.5.2 (instead of 2.4.4) ?
Comment 45 Sergej Pisarenko 2009-02-28 21:05:57 UTC
Tried. Same issue.
Comment 46 Sergej Pisarenko 2009-02-28 21:16:18 UTC
emerge --info

Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-tuxonice-r3 i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-r3-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-glibc2.0
Timestamp of tree: Fri, 27 Feb 2009 21:45:01 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ http://mirror.mdfnet.se/mirror/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US en_GB ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi alsa aspell audiofile bash-completion beagle bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups cvs dbus dirac divx dri dts dv dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac fortran fuse gdbm gif gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick isdnlog java jpeg latex lcms ldap libcaca libnotify live lzo mad matroska midi mikmod mmx mng mono moonlight mp2 mp3 mpeg mudflap musepack musicbrainz nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcmcia pcre pdf perl png portaudio ppds pppd python qt3support quicktime rar raw readline reflection samba sasl schroedinger sdl session speex spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd theora tiff timidity truetype unicode usb v4l2 vcd vorbis wifi win32codecs wmf x86 xcomposite xine xinerama xml xorg xpm xrandr xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB ru" NETBEANS_MODULES="php profiler java groovy gsf ide j2ee websvccommon nb harness" USERLAND="GNU" VIDEO_CARDS="intel i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 47 Sergej Pisarenko 2009-03-01 15:19:08 UTC
Workaround by using opal-3.4.4 with ptlib-2.4.4 ebuild with an added --enable-opal build option.
Comment 48 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-03-18 14:23:48 UTC
I've added opal-3.4* (3.4.5 atm) in the voip overlay.

Please, use the voip overlay ebuilds instead of ebuilds from this bug. I will
try to keep this bug up to date but surely, the voip overlay ebuilds will be
better.

opal from the voip overlay will probably don't work with ptlib and ekiga from
bugzilla (but from the voip overlay).
Comment 49 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-03-18 14:25:50 UTC
Created attachment 185428 [details]
Ebuild for opal-3.4.5

It's much more for "advancement information" than for use.
(prefer the voip overlay)
Comment 50 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-03-18 14:28:12 UTC
Created attachment 185429 [details]
Patch needed by opal-3.4.5 (at least)
Comment 51 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-03-18 14:41:36 UTC
(In reply to comment #47)
> Workaround by using opal-3.4.4 with ptlib-2.4.4 ebuild with an added
> --enable-opal build option.
> 

Please try the ebuilds from the voip overlay and let me know if the default options have fixed your issue.
Comment 52 Raphaël Droz 2009-03-19 13:36:19 UTC
I tryed opal 3.4.5 (for the first time), and I encountered this compilation error :
---------
/var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx: In member function ‘virtual PString OpalConnection::GetLocalPartyURL() const’:
/var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx:1015: erreur: ‘PURL’ has not been declared
/var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx:1015: erreur: ‘PURL’ has not been declared
make: *** [/var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/lib_linux_x86_64/obj/connection.o] Erreur 1
--------
Use flags :
audio ffmpeg h323 plugins sip theora video x264 wav -debug -ldap -ssl -xml -ipv6
full log attached below.
Comment 53 Raphaël Droz 2009-03-19 13:37:05 UTC
Created attachment 185514 [details]
build.log when GetLocalPartyURL fails
Comment 54 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-03-19 16:36:03 UTC
(In reply to comment #52)
> I tryed opal 3.4.5 (for the first time), and I encountered this compilation
> error :
> ---------
> /var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx:
> In member function ‘virtual PString OpalConnection::GetLocalPartyURL()
> const’:
> /var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx:1015:
> erreur: ‘PURL’ has not been declared
> /var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx:1015:
> erreur: ‘PURL’ has not been declared
> make: ***
> [/var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/lib_linux_x86_64/obj/connection.o]
> Erreur 1
> --------
> Use flags :
> audio ffmpeg h323 plugins sip theora video x264 wav -debug -ldap -ssl -xml
> -ipv6
> full log attached below.
> 

Looking to the error log I think it's probably because you have removed url use flags from net-libs/ptlib. Did you ?
If you did or not, please, copy here your ptlib use flags.
Comment 55 Raphaël Droz 2009-03-19 17:44:48 UTC
You're right, adding 'url' to the ptlib useflag make the compilation continuing further (so I guess 'url' should be mandatory to ptlib when in some opal building cases).
*********
opal compilation now fails with :
--------------
make[2]: entrant dans le répertoire « /var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/plugins/video/MPEG4-ffmpeg »
x86_64-pc-linux-gnu-g++ -I../../../include  -I../common -I../../ -I/usr/include -I/usr/include/libavutil -fPIC  -Os -O2 -march=athlon64 -pipe -msse3 -fomit-frame-pointer  -c mpeg4.cxx -o obj/mpeg4.o
x86_64-pc-linux-gnu-g++ -I../../../include  -I../common -I../../ -I/usr/include -I/usr/include/libavutil -fPIC  -Os -O2 -march=athlon64 -pipe -msse3 -fomit-frame-pointer  -c ../common/dyna.cxx -o obj/dyna.o
x86_64-pc-linux-gnu-g++ -I../../../include  -I../common -I../../ -I/usr/include -I/usr/include/libavutil -fPIC  -Os -O2 -march=athlon64 -pipe -msse3 -fomit-frame-pointer  -c ../common/trace.cxx -o obj/trace.o
mpeg4.cxx:100:36: erreur: libavutil/intreadwrite.h : No such file or directory
----------
Will try to build it without ffmpeg for now.
(I've compiled ptlib with only : alsa audio sdl url video wav)
Comment 56 Raphaël Droz 2009-03-23 22:07:21 UTC
(In reply to comment #55)
I deep into this problem (I'm surprised to be alone to encounter this bug).
Building opal with ffmpeg use flag make use of MPEG4-ffmpeg/mpeg4.css, but we can see (even in the svn version of opal) :
// Private headers from the ffmpeg source tree.
#include <libavutil/intreadwrite.h>
#include <libavutil/bswap.h>
#include <libavcodec/mpegvideo.h>

But these headers are private and so NOT part of the ffmpeg public headers.
In the svn of ffmpeg (and gentoo builds also), the Makefile do NOT include ANY of these 3.
I tryed with both ffmpeg 0.4.9_p20090201 and ~0.5-r1 built with :
3dnow X aac alsa encode ipv6 mmx mmxext mp3 network sdl speex theora threads vorbis x264 xvid zlib -altivec -amr -bindist -debug -dirac -doc -gsm -hardcoded-tables -ieee1394 -oss -schroedinger -ssse3 -test -v4l -v4l2 -vhook
Comment 57 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-04-01 02:05:34 UTC
Created attachment 186939 [details]
Ebuild for opal-3.6.1

Version bump to 3.6.1.
To be used with ptlib-2.6.1 and ekiga-3.2.0.

This ebuild is fixing every issues reported in this bug, wich mean:
- compilation breaks when ptlib is not compiled with url flag enabled (comment 52). Now, ptlib _has_ to be compiled with url flag.
- mpeg4 plugin was breaking the build (comment 55). This was a stupid misunderstanding of something (mpeg4 needed private ffmpeg sources but was checking for public headers)
Comment 58 Raphaël Droz 2009-04-01 10:59:18 UTC
opal-3.6.1 with :
(audio ffmpeg h323 plugins sip stats theora video wav x264 -capi -debug -dns -doc -dtmf -examples -fax -g711plc -h224 -iax -ipv6 -ivr -ixj -java -ldap -lid -rfc4103 -rfc4175 -sbc -sipim -srtp -ssl -swig -vpb -vxml -x264-static -xml)

Will NOT compile IF ptlib is not compiled with the pipechan useflag.
(Don't know if it's due to one my 10 useflags or intrinsic to the opal build process).
Notice the error message which is not quite clear (talking about ptlib debug feature)
config.log attached
Comment 59 Raphaël Droz 2009-04-01 11:00:21 UTC
Created attachment 186977 [details]
opal-3.6.1 config failure if ptlib-2.6.1 -pipechan
Comment 60 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-04-02 03:26:02 UTC
(In reply to comment #58)
> Will NOT compile IF ptlib is not compiled with the pipechan useflag.
> (Don't know if it's due to one my 10 useflags or intrinsic to the opal build
> process).
> Notice the error message which is not quite clear (talking about ptlib debug
> feature)
> config.log attached
> 

Fixed.
layman -S or the last ebuild in ptlib bug (bug 238617) should help you.
Comment 61 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-03 10:11:01 UTC
opal-3.6.2 is now in the official tree.
If your arch is not supported, please look at bug 276355.