Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119611 - net-im/ekiga-1.99.0 (new package)
Summary: net-im/ekiga-1.99.0 (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.ekiga.org
Whiteboard:
Keywords: EBUILD
: 123558 123593 125102 126127 (view as bug list)
Depends on:
Blocks: 122084
  Show dependency tree
 
Reported: 2006-01-19 15:15 UTC by Alessandro Guido
Modified: 2006-03-20 15:47 UTC (History)
32 users (show)

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


Attachments
dev-libs/pwlib/pwlib-1.9.2.ebuild (pwlib-1.9.2.ebuild,1.33 KB, text/plain)
2006-01-19 15:16 UTC, Alessandro Guido
Details
dev-libs/pwlib/files/1.9.2-configure-ldap.patch (1.9.2-configure.patch,254 bytes, patch)
2006-01-19 15:16 UTC, Alessandro Guido
Details | Diff
net-libs/opal/opal-2.1.2.ebuild (opal-2.1.2.ebuild,608 bytes, text/plain)
2006-01-19 15:17 UTC, Alessandro Guido
Details
net-im/ekiga/ekiga-1.99.0.ebuild (ekiga-1.99.0.ebuild,1.05 KB, text/plain)
2006-01-19 15:18 UTC, Alessandro Guido
Details
Fixed ebuild for ekiga (ekiga-1.99.0.ebuild,1.06 KB, text/plain)
2006-01-19 18:45 UTC, Jose daLuz
Details
net-im/ekiga/ekiga-1.99.0.ebuild (ekiga-1.99.0.ebuild,1.17 KB, text/plain)
2006-01-20 00:28 UTC, Alessandro Guido
Details
dev-libs/pwlib/files/1.9.2-configure-sdl.patch (1.9.2-configure-sdl.patch,351 bytes, patch)
2006-01-20 05:50 UTC, Alessandro Guido
Details | Diff
dev-libs/pwlib/pwlib-1.9.2.ebuild (pwlib-1.9.2.ebuild,1.34 KB, text/plain)
2006-01-20 07:47 UTC, Alessandro Guido
Details
net-libs/opal/opal-2.1.2.ebuild (opal-2.1.2.ebuild,833 bytes, text/plain)
2006-01-20 07:48 UTC, Alessandro Guido
Details
net-im/ekiga/ekiga-1.99.0.ebuild (ekiga-1.99.0.ebuild,1.15 KB, text/plain)
2006-01-20 07:49 UTC, Alessandro Guido
Details
net-im/ekiga-1.99.1 ebuild (ekiga-1.99.1.ebuild,1.17 KB, text/plain)
2006-02-14 12:24 UTC, Alex Boag-Munroe
Details
net-libs/opal-2.1.3 ebuild (opal-2.1.3.ebuild,839 bytes, text/plain)
2006-02-14 12:25 UTC, Alex Boag-Munroe
Details
dev-libs/pwlib-1.9.3 (pwlib-1.9.3.ebuild,1.31 KB, text/plain)
2006-02-14 12:33 UTC, Alex Boag-Munroe
Details
opal 2.1.3 failing emerge log (6189-opal-2.1.3.log,34.32 KB, text/plain)
2006-02-14 15:36 UTC, Niv Vaizer
Details
net-im/ekiga-1.99.1.ebuild (ekiga-1.99.1.ebuild,1.08 KB, text/plain)
2006-02-16 11:14 UTC, Andreas Niess
Details
net-im/ekiga-1.99.1.ebuild (ekiga-1.99.1.ebuild,1.08 KB, text/plain)
2006-02-16 11:17 UTC, Andreas Niess
Details
failed to emerge log (2936-ekiga-1.99.1.log,7.82 KB, text/plain)
2006-03-05 09:36 UTC, Niv Vaizer
Details
ekiga-2.0.0.ebuild (ekiga-2.0.0.ebuild,1.09 KB, text/plain)
2006-03-13 15:06 UTC, Christian Fernandez
Details
Opal-2.2.0.ebuild (opal-2.2.0.ebuild,855 bytes, text/plain)
2006-03-13 15:07 UTC, Christian Fernandez
Details
pwlib-1.10.0.ebuild (pwlib-1.10.0.ebuild,1.33 KB, text/plain)
2006-03-13 15:08 UTC, Christian Fernandez
Details
PWLib 1.10.0 Ebuild (pwlib-1.10.0.ebuild,1.33 KB, text/plain)
2006-03-13 15:11 UTC, Olliver Schinagl
Details
ekiga-2.0.0.ebuild (ekiga-2.0.0.ebuild,1.09 KB, text/plain)
2006-03-13 15:19 UTC, Christian Fernandez
Details
pwlib-1.10.0.ebuild (pwlib-1.10.0.ebuild,1.33 KB, text/plain)
2006-03-14 13:10 UTC, Mario Bachmann
Details
opal-2.2.1.ebuild (opal-2.2.1.ebuild,856 bytes, text/plain)
2006-03-14 13:11 UTC, Mario Bachmann
Details
ekiga-2.0.1.ebuild (ekiga-2.0.1.ebuild,1.09 KB, text/plain)
2006-03-14 13:11 UTC, Mario Bachmann
Details
opal-2.2.1 fails to emerge log (opal-2.2.1-fail-log,50.26 KB, text/plain)
2006-03-15 05:54 UTC, Stefan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Guido 2006-01-19 15:15:06 UTC
ekiga is a SIP and a h.323 client (successor of gnomemeeting)

Over its predecessor it has the following improvements:

    * Call Forwarding on busy, no answer, always (SIP and H.323)
    * Call Transfer (SIP and H.323)
    * Call Hold (SIP and H.323)
    * DTMFs support (SIP and H.323)
    * Basic Instant Messaging (SIP)
    * Text Chat (SIP and H.323)
    * Possibility to register to several registrars (SIP) and gatekeepers (H.323)
    * Possibility to use an outbound proxy (SIP) or a gateway (H.323)
    * Message Waiting Indications (SIP)
    * Audio AND Video (SIP and H.323)
    * STUN support (SIP and H.323)
    * DTMFs support
    * LDAP support
    * Improved audio quality using Wideband codecs (16 kHz)
    * Echo Cancellation
    * Easier NAT traversal
    * Largely improved user interface
    * Improved Video4Linux2 support
Comment 1 Alessandro Guido 2006-01-19 15:16:03 UTC
Created attachment 77585 [details]
dev-libs/pwlib/pwlib-1.9.2.ebuild
Comment 2 Alessandro Guido 2006-01-19 15:16:54 UTC
Created attachment 77586 [details, diff]
dev-libs/pwlib/files/1.9.2-configure-ldap.patch
Comment 3 Alessandro Guido 2006-01-19 15:17:58 UTC
Created attachment 77587 [details]
net-libs/opal/opal-2.1.2.ebuild
Comment 4 Alessandro Guido 2006-01-19 15:18:21 UTC
Created attachment 77588 [details]
net-im/ekiga/ekiga-1.99.0.ebuild
Comment 5 Colin Macdonald 2006-01-19 16:58:24 UTC
Comments: I think ekiga is under GPL-2 not the MPL as your ebuild states.  PWlib does seem to be under the MPL ("The bulk of this library is licensed under the MPL (Mozilla Public License) version 1.0.").  opal is indeed under the the MPL.

Did you compare your pwlib ebuild to the one in portage?  I took a look and was scared away by the pwlib-1.8.7 ebuild.  Are all of the hacks and things in pwlib-1.8.7.ebuild really unnecessary with this new version?
Comment 6 Jose daLuz 2006-01-19 18:45:58 UTC
Created attachment 77603 [details]
Fixed ebuild for ekiga

Thanks for doing this. Just one minor issue: in the ebuild, media-libs/sdl should be media-libs/libsdl. Attached is a corrected ebuild.
Comment 7 Colin Macdonald 2006-01-19 21:31:47 UTC
The current ekiga ebuild doesn't pass --enable-dbus when the dbus use flag is set.
Note however, that we currently can't do this:
  $(use_enable dbus)
because of gnome bug 327803 (http://bugzilla.gnome.org/show_bug.cgi?id=327803).
Comment 8 Alessandro Guido 2006-01-20 00:28:55 UTC
Created attachment 77624 [details]
net-im/ekiga/ekiga-1.99.0.ebuild

corrects the sdl ebuild name, installs some docs and make reference to the GNOME bug for --enable-dbus.
Comment 9 Alessandro Guido 2006-01-20 00:30:18 UTC
(In reply to comment #8)
> Created an attachment (id=77624) [edit]
> net-im/ekiga/ekiga-1.99.0.ebuild
> 
> corrects the sdl ebuild name, installs some docs and make reference to the
> GNOME bug for --enable-dbus.
> 

and changes the LICENSE to GPL-2
Comment 10 Stefan Huchler 2006-01-20 05:28:43 UTC
k i tried now to compile it for amd64, it works with no problems for me.

i think somebody can add ~amd64 to this ebuilds.
Comment 11 Alessandro Guido 2006-01-20 05:50:37 UTC
Created attachment 77642 [details, diff]
dev-libs/pwlib/files/1.9.2-configure-sdl.patch
Comment 12 Alessandro Guido 2006-01-20 07:47:53 UTC
Created attachment 77648 [details]
dev-libs/pwlib/pwlib-1.9.2.ebuild
Comment 13 Alessandro Guido 2006-01-20 07:48:26 UTC
Created attachment 77649 [details]
net-libs/opal/opal-2.1.2.ebuild
Comment 14 Alessandro Guido 2006-01-20 07:49:03 UTC
Created attachment 77650 [details]
net-im/ekiga/ekiga-1.99.0.ebuild
Comment 15 Felix Braun 2006-01-20 13:47:20 UTC
Compiling opal fails on my computer with:

g++ -DP_USE_PRAGMA -D_REENTRANT -fPIC -DPIC -DPTRACING -I/var/tmp/portage/opal-2.1.2/work/opal-2.1.2/include -DPTRACING -I/usr/share/pwlib//include -Os  -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb -frename-registers -felide-constructors -c /var/tmp/portage/opal-2.1.2/work/opal-2.1.2/src/codec/speexcodec.cxx -o /var/tmp/portage/opal-2.1.2/work/opal-2.1.2/lib/obj_linux_x86_r/speexcodec.o
/var/tmp/portage/opal-2.1.2/work/opal-2.1.2/src/codec/speexcodec.cxx:165:19: speex.h: No such file or directory

It seems that the g++ invocation is missing a -I/usr/include/speex, as this is where speex.h is found on my machine.
*  media-libs/speex
      Latest version available: 1.1.11.1
      Latest version installed: 1.1.11.1
Comment 16 Alessandro Guido 2006-01-20 15:33:56 UTC
(In reply to comment #15)
> Compiling opal fails on my computer with:
> 
> g++ -DP_USE_PRAGMA -D_REENTRANT -fPIC -DPIC -DPTRACING
> -I/var/tmp/portage/opal-2.1.2/work/opal-2.1.2/include -DPTRACING
> -I/usr/share/pwlib//include -Os  -O2 -march=athlon-xp -pipe
> -fomit-frame-pointer -fweb -frename-registers -felide-constructors -c
> /var/tmp/portage/opal-2.1.2/work/opal-2.1.2/src/codec/speexcodec.cxx -o
> /var/tmp/portage/opal-2.1.2/work/opal-2.1.2/lib/obj_linux_x86_r/speexcodec.o
> /var/tmp/portage/opal-2.1.2/work/opal-2.1.2/src/codec/speexcodec.cxx:165:19:
> speex.h: No such file or directory
> 
> It seems that the g++ invocation is missing a -I/usr/include/speex, as this is
> where speex.h is found on my machine.
> *  media-libs/speex
>       Latest version available: 1.1.11.1
>       Latest version installed: 1.1.11.1
> 

I'm looking into this. For the moment disable the speex use flag for opal, it will compile the local (bundled) version.
Comment 17 Slobodan D. Sredojevic 2006-01-21 13:27:27 UTC
- Please don't forget to ask for Ekiga inclusion in gnome-base/gnome 2.14 ebuild (when it hit portage for month or two) as it (gnomemeeting) is not listed in any gnome meta ebuild at the moment even if it is the part of GNOME Desktop and Developer platform.
Comment 18 Jiri Tyr 2006-01-22 03:22:28 UTC
Can you enable by default v4l and v4l2 USE flags for pwlib?
Comment 19 Jiri Tyr 2006-01-22 07:17:27 UTC
I have problem with ekiga settings saving. Can you look at it and make some changes in your ebuild?
http://bugzilla.gnome.org/show_bug.cgi?id=328160
Comment 20 Alessandro Guido 2006-01-22 11:04:43 UTC
(In reply to comment #18)
> Can you enable by default v4l and v4l2 USE flags for pwlib?
> 

Do you mean adding something like "nov4l" and "nov4l2" and removing those ones? If yes, sorry but I won't do it as this kind of use flag is deprecated.
Comment 21 Felix Braun 2006-02-01 03:50:57 UTC
Why does Ekiga depend on ldap? Any chance that this might become optional in a later version of the ebuild?
Comment 22 Felix Braun 2006-02-01 04:11:15 UTC
Compiling pwlib with the ieee1394 USE flag dies with

mkdir -p ../pwlib/device/videoinput
g++  -DP_USE_PRAGMA -D_REENTRANT -fPIC -DPIC -I/var/tmp/portage/pwlib-1.9.2/work/pwlib-1.9.2/include \
-lraw1394 -ldv -ldc1394_control \
-I. -shared video4dc1394.cxx -o ../pwlib/device/videoinput/dc_pwplugin.so
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldv

As far as I understand, ieee1394 is a transport protocol, that is frequently used for transfer of digital video, but can be used to transport any kind of data (like TCP/IP). I thought that setting this USE flag would enable support of that transport protocol, not pull in requirements for certain codecs.

Could it be that the proper USE flag in this case is USE="dv"?
Comment 23 John N. Laliberte (RETIRED) gentoo-dev 2006-02-01 06:37:39 UTC
this is in the official gnome overlay for 2.13.x.

it will be in portage sometime soon.
Comment 24 Aldo "xoen" Giambelluca 2006-02-01 09:43:55 UTC
That overlay is here ;)

https://nemesis.fprintf.net/svn/gnome-experimental/
Comment 25 John N. Laliberte (RETIRED) gentoo-dev 2006-02-01 09:48:01 UTC
(In reply to comment #24)
> That overlay is here ;)
> 
> https://nemesis.fprintf.net/svn/gnome-experimental/
> 

This is not the official overlay.  

It is a public version of the official overlay, is not supported, and cannot be guarenteed to be in sync with the official version at all times.

The official overlay does not allow anon access yet.
Comment 26 Aldo "xoen" Giambelluca 2006-02-01 09:58:38 UTC
Ah OK, sorry for the little mistake :)
Comment 27 Will McQueen 2006-02-10 13:26:31 UTC
Just wanted to point out the small typo in the latest ekiga ebuild.  IUSE still says "avahi", yet the implemented flag has been renamed to dnssd.
Comment 28 Alex Boag-Munroe 2006-02-14 12:24:06 UTC
Created attachment 79793 [details]
net-im/ekiga-1.99.1 ebuild

New ebuilds for beta 2
Comment 29 Alex Boag-Munroe 2006-02-14 12:25:23 UTC
Created attachment 79794 [details]
net-libs/opal-2.1.3 ebuild

ebuild for opal 2.1.3 for ekiga beta 2
Comment 30 Alex Boag-Munroe 2006-02-14 12:33:55 UTC
Created attachment 79797 [details]
dev-libs/pwlib-1.9.3
Comment 31 Niv Vaizer 2006-02-14 15:17:02 UTC
WOW sweet.
I got the previos ekiga installed. after generating the digest, I ran emerge -av ekiga. it tries to emerge opal b4 pwlib, and exits with error
Comment 32 Niv Vaizer 2006-02-14 15:36:30 UTC
Created attachment 79809 [details]
opal 2.1.3 failing emerge log
Comment 33 Niv Vaizer 2006-02-14 15:37:36 UTC
Comment on attachment 79809 [details]
opal 2.1.3 failing emerge log

Even after emerging pwlib opal still doesnt  emerge.
Comment 34 Niv Vaizer 2006-02-14 16:04:42 UTC
failing ekiga emerge:
>>> Completed installing ekiga-1.99.1 into /var/tmp/portage/ekiga-1.99.1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-im_-_ekiga-1.99.1-7115.log"

open_wr:   /etc/gconf/gconf.xml.defaults/.testing.writeability
unlink:    /etc/gconf/gconf.xml.defaults/.testing.writeability
--------------------------------------------------------------------------------
Comment 35 Andreas Niess 2006-02-16 11:14:54 UTC
Created attachment 79953 [details]
net-im/ekiga-1.99.1.ebuild

Fixed ebuild for sandbox-violation.
Uses gnome2.eclass to install files and gconf-schemas.
Comment 36 Andreas Niess 2006-02-16 11:17:15 UTC
Created attachment 79954 [details]
net-im/ekiga-1.99.1.ebuild

Fixed ebuild for sandbox-violation.
Uses gnome2.eclass to install files and gconf-schemas.
Comment 37 Mike Auty (RETIRED) gentoo-dev 2006-02-19 07:18:37 UTC
Just a quick note, opal needs to have its dependency on pwlib added to the ebuild.  I can file this as a new open bug if that'd be more helpful...

Also, has this bug been fixed?  It's not been included in portage yet...
Comment 38 Niv Vaizer 2006-02-20 16:39:18 UTC
According to the mailing list there is a current open bug regarding speex, which breaks the build of opal:
"Uninstall the system version of speex development headers or use
--enable-localspeex=yes. The problem exists with speex 1.1.12 and has
been reported, yet not fixed so far."

was this issue addressed in this ebuild?

Thanks,
Niv
Comment 39 Niv Vaizer 2006-02-20 17:26:01 UTC
*** Bug 123558 has been marked as a duplicate of this bug. ***
Comment 40 Paulo J. Matos 2006-02-21 02:39:54 UTC
Two notes, based on Gamien Sandras comments on GnomeMeeting list:
- First, dbus is unstable, should be disabled.
- Second, --disable-gnome is experimental, gnome should be enable.

I had problems with both but disabling dbus and enabling gnome worked for me.
Comment 41 Jakub Moc (RETIRED) gentoo-dev 2006-02-21 02:50:33 UTC
*** Bug 123593 has been marked as a duplicate of this bug. ***
Comment 42 Andre Hinrichs 2006-02-24 00:16:30 UTC
After installing speex-1.1.12 everthing compiles fine here!
The configuration druid works also fine (even audio).
Running the program has unfortunately no audio... (when calling 'echo')

Here are the packages with the use flags I used:

media-libs/speex-1.1.12  +ogg +sse 0 kB [1]
dev-libs/pwlib-1.9.3  +alsa -debug +ieee1394 -ipv6 +ldap +oss +sasl +sdl +ssl +v4l +v4l2 +xml
net-libs/opal-2.1.3  +speex
net-im/ekiga-1.99.1  -avahi -dbus -debug -doc +eds -gnome +sdl
Comment 43 Paulo J. Matos 2006-02-24 00:58:14 UTC
Andre, read comment #40, and speex afaik should be disabled to let opal build its version.
Comment 44 Gene Imes 2006-02-27 06:34:05 UTC
!!! ERROR: net-im/ekiga-1.99.1 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

!!! Recompile dev-libs/pwlib with ldap use flag

I have done this. I put ldap in IUSE in the pwlib ebuild.

Thanks,
Comment 45 Jakub Moc (RETIRED) gentoo-dev 2006-03-05 09:29:30 UTC
*** Bug 125102 has been marked as a duplicate of this bug. ***
Comment 46 Jakub Moc (RETIRED) gentoo-dev 2006-03-05 09:30:29 UTC
Reopen this to mark UPSTREAM.
Comment 47 Jakub Moc (RETIRED) gentoo-dev 2006-03-05 09:31:34 UTC
This ebuilds is in overlay, all issues go there or to this bugs. Don't file bugs about ebuilds that are not in portage.
Comment 48 Niv Vaizer 2006-03-05 09:36:13 UTC
Created attachment 81419 [details]
failed to emerge log

Now why would Ekiga need Esound?

# emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15.1 i686)
=================================================================
System uname: 2.6.15.1 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks nostrip sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en he es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://amdsrv1.cs.bgu.ac.il/gentoo-portage"
USE="x86 # X aac aalib acceleration: acl acpi alsa and apache2 apm apps: audiofile avi bash-completion berkdb bidi bitmap-fonts browserplugin bzip2 card cdrom codecs: crypt cups dbus divix4linux dri dvd dvdread eds emboss encode expat fam ffmpeg flac flash foomaticdb fortran freetype gdbm gfx gif glut gnome gpm gstreamer gtk gtk2 gui: hal icq idn imlib irc irmc jabber jack java javascript jpeg lcms libg++ libwww lirc lm_sensors mad matroska mikmod misc: mmx mmxext mng motif mozilla mp3 mpeg mpeg4 mplayer mppe-mppc msn mysql mythtv ncurses network: nls nptl ogg opengl oss pam pc pcre pda pdflib perl pic pictures png python qt quicktime readline resources: rtc samba sdl services: sound speex spell sse ssl svga tcpd theora tiff truetype truetype-fonts type1 type1-fonts udev unicode usb v4l v4l2 video vidix vorbis win32codecs xine xml xml2 xmms xrandr xv xvid zeroconf zlib linguas_en linguas_he linguas_es userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 49 Christian Fernandez 2006-03-13 15:06:16 UTC
Created attachment 82042 [details]
ekiga-2.0.0.ebuild

changed the path, the old one was not working and added the new 2.0.0
Comment 50 Christian Fernandez 2006-03-13 15:07:29 UTC
Created attachment 82043 [details]
Opal-2.2.0.ebuild

changed the path, the old one was not working.
Comment 51 Christian Fernandez 2006-03-13 15:08:04 UTC
Created attachment 82045 [details]
pwlib-1.10.0.ebuild

changed the path, the old one was not working.
Comment 52 Olliver Schinagl 2006-03-13 15:11:00 UTC
Created attachment 82047 [details]
PWLib 1.10.0 Ebuild
Comment 53 Christian Fernandez 2006-03-13 15:11:20 UTC
Comment on attachment 82042 [details]
ekiga-2.0.0.ebuild

># Copyright 1999-2006 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>inherit eutils gnome2
>
>IUSE="avahi dbus doc gnome sdl eds"
>
>DESCRIPTION="SIP and H.323 compliant client"
>HOMEPAGE="http://www.ekiga.org"
>SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz"
>
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="~amd64 ~x86"
>
>RDEPEND="dbus? ( sys-apps/dbus )
>         dnssd? ( net-dns/avahi )
>         gnome? ( gnome-base/libgnome )
>         eds? ( gnome-extra/evolution-data-server )
>         >=x11-libs/gtk+-2
>         >=net-libs/opal-2.2.0
>         >=dev-libs/pwlib-1.10.0"
>DEPEND="${RDEPEND}"
>
>src_compile() {
>	local myconf
>
>	if ! built_with_use dev-libs/pwlib ldap ; then
>		die "Recompile dev-libs/pwlib with ldap use flag"
>	fi
>#	        http://bugzilla.gnome.org/show_bug.cgi?id=327803
>#	        $(use_enable dbus)
>#	        $(use_enable sdl)
>
>	myconf="$(use_enable dnssd avahi) \
>	        $(use_enable doc) \
>	        $(use_enable gnome) \
>		$(use_enable gnome scrollkeeper)"
>	econf ${myconf} || die "configure failed"
>	emake || die "make failed"
>}
>
Comment 54 Olliver Schinagl 2006-03-13 15:11:36 UTC
Comment on attachment 82047 [details]
PWLib 1.10.0 Ebuild

Dupe ...
Comment 55 Olliver Schinagl 2006-03-13 15:14:21 UTC
Guess I need to refresh a bit more : )

Has anybody else got compile errors on opal 2.2.0 using the speex flag?

I got a nasty compiler error

/var/tmp/portage/opal-2.2.0/work/opal-2.2.0/src/codec/echocancel.cxx: In member function `virtual void 
               OpalEchoCanceler::ReceivedPacket(RTP_DataFrame&, INT)':
/var/tmp/portage/opal-2.2.0/work/opal-2.2.0/src/codec/echocancel.cxx:274: error: cannot convert `spx_int32_t*' to `float*' for argument `5' to 
               `void speex_echo_cancel(SpeexEchoState*, short int*, short int*, 
               short int*, float*)'
/var/tmp/portage/opal-2.2.0/work/opal-2.2.0/src/codec/echocancel.cxx:281: error: cannot convert `spx_int32_t*' to `float*' for argument `3' to 
               `int speex_preprocess(SpeexPreprocessState*, spx_int16_t*, 
               float*)'
make[1]: *** 
[/var/tmp/portage/opal-2.2.0/work/opal-2.2.0/lib/obj_linux_x86_r/echocancel.o] 
               Error 1

Without the speex useflag it flies through just fine.
Comment 56 Christian Fernandez 2006-03-13 15:19:49 UTC
Created attachment 82050 [details]
ekiga-2.0.0.ebuild

I forgot to add the new versions for pwlib and Opal in the Ekiga ebuild.
Comment 57 Jakub Moc (RETIRED) gentoo-dev 2006-03-14 01:12:46 UTC
*** Bug 126127 has been marked as a duplicate of this bug. ***
Comment 58 yesi 2006-03-14 02:03:49 UTC
ERROR: net-im/ekiga-2.0.0 failed
Recompile dev-libs/pwlib with ldap use flag
Comment 59 Jiri Tyr 2006-03-14 10:13:42 UTC
ekiga-2.0.1 and opal-2.2.1 released.
Comment 60 Christian Fernandez 2006-03-14 10:32:38 UTC
(In reply to comment #59)
> ekiga-2.0.1 and opal-2.2.1 released.
> 

I'll post a new ebuild later on if nobody does before. Thanks.
Comment 61 Mario Bachmann 2006-03-14 13:10:28 UTC
Created attachment 82135 [details]
pwlib-1.10.0.ebuild
Comment 62 Mario Bachmann 2006-03-14 13:11:10 UTC
Created attachment 82136 [details]
opal-2.2.1.ebuild
Comment 63 Mario Bachmann 2006-03-14 13:11:36 UTC
Created attachment 82137 [details]
ekiga-2.0.1.ebuild
Comment 64 Stefan 2006-03-15 05:54:30 UTC
Created attachment 82210 [details]
opal-2.2.1 fails to emerge log

Opal-2.2.1 fails with:

opal-2.2.1/include/rtp/rtp.h:358: error: ISO C++ forbids declaration of `map' with no type
...
...
Comment 65 Mario Bachmann 2006-03-15 10:30:40 UTC
(In reply to comment #64)
> Created an attachment (id=82210) [edit]
> opal-2.2.1 fails to emerge log
> 
> Opal-2.2.1 fails with:
> 
> opal-2.2.1/include/rtp/rtp.h:358: error: ISO C++ forbids declaration of `map'
> with no type
> ...
> ...
> 
Here it works with:
# gcc --version
gcc (GCC) 4.1.0 (Gentoo 4.1.0)

# less /etc/make.conf
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"

#emerge -pv pwlib opal ekiga
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/pwlib-1.10.0  USE="alsa ipv6 ldap oss sdl ssl v4l -debug -ieee1394 -sasl -v4l2 -xml" 0 kB [1] 
[ebuild   R   ] net-libs/opal-2.2.1  USE="-speex" 0 kB [1] 
[ebuild   R   ] net-im/ekiga-2.0.1  USE="eds gnome sdl -avahi -dbus -debug -doc" 0 kB [1] 

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

i think pwlib should be compiled with ldap.
Comment 66 Stefan 2006-03-15 17:37:01 UTC
(In reply to comment #65)

> Here it works with:
> # gcc --version
> gcc (GCC) 4.1.0 (Gentoo 4.1.0)
> 
> # less /etc/make.conf
> CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
> CHOST="i686-pc-linux-gnu"
> 
> #emerge -pv pwlib opal ekiga
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R   ] dev-libs/pwlib-1.10.0  USE="alsa ipv6 ldap oss sdl ssl v4l
> -debug -ieee1394 -sasl -v4l2 -xml" 0 kB [1] 
> [ebuild   R   ] net-libs/opal-2.2.1  USE="-speex" 0 kB [1] 
> [ebuild   R   ] net-im/ekiga-2.0.1  USE="eds gnome sdl -avahi -dbus -debug
> -doc" 0 kB [1] 
> 
> Total size of downloads: 0 kB
> Portage overlays:
>  [1] /usr/local/portage
> 
> i think pwlib should be compiled with ldap.
> 

I have ldap in USE, pwlib emerged fine. Is my gcc-version the problem?


# emerge info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-ck3 i686)
=================================================================
System uname: 2.6.13-ck3 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
...
...

# emerge -vp pwlib opal ekiga

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-libs/pwlib-1.10.0  +alsa -debug -ieee1394 +ipv6 +ldap -oss -sasl +sdl +ssl +v4l -v4l2 +xml 0 kB [1]
[ebuild  N    ] net-libs/opal-2.2.1  -speex 0 kB [1]
[ebuild  N    ] net-im/ekiga-2.0.0  -avahi +dbus -debug -doc +eds -gnome +sdl 0 kB [1]

Do I really need to go ~x86 with gcc?

Any pointers welcome ;)

Comment 67 Mario Bachmann 2006-03-16 06:41:25 UTC
> Any pointers welcome ;)

I use the sources from http://www.ekiga.org/index.php?rub=5&path=sources/sources .
Perhaps re-emerge all needed packages like openldap. I needed to to this after an glibc update.
Comment 68 Christian Fernandez 2006-03-16 06:46:11 UTC
(In reply to comment #67)
> > Any pointers welcome ;)
> 
> I use the sources from
> http://www.ekiga.org/index.php?rub=5&path=sources/sources .
> Perhaps re-emerge all needed packages like openldap. I needed to to this after
> an glibc update.
> 

Try to do a emerge -av to openldap and check the use variables that will compile in new.
Comment 69 Felix Braun 2006-03-16 07:29:39 UTC
The bug about dbus always being enabled (GNOME Bug 327803) has been resolved upstream on Jan 22. This probably means that the dbus and sdl USE-flags can be uncommented in the ebuild.
Comment 70 Bertrand Jacquin 2006-03-17 05:19:14 UTC
Why is there USE avahi while in ebuild, dnssd is tested :

IUSE="avahi dbus doc gnome sdl eds"

dbus? ( sys-apps/dbus )
dnssd? ( net-dns/avahi )
gnome? ( gnome-base/libgnome )
eds? ( gnome-extra/evolution-data-server )
Comment 71 Lasse Bigum 2006-03-17 05:27:51 UTC
(In reply to comment #70)
> Why is there USE avahi while in ebuild, dnssd is tested :
> 
> IUSE="avahi dbus doc gnome sdl eds"
> 
> dnssd? ( net-dns/avahi )

Because to enable avahi integration the actual test is:

myconf="$(use_enable dnssd avahi)

So you need to enable both dnssd AND avahi in order for it to work....this is a bug in the 2.0.1 ebuild

It needs to have a IUSE flags added for "dnssd".

Once done, it works fantastic!
Comment 72 Hans Nieser 2006-03-18 03:58:21 UTC
I get the following gconf error on startup:

------------------------------------------------------
Gconf key error

Ekiga got an invalid value for the GConf key "/apps/ekiga/general/gconf_test_age".

It probably means that your GConf schemas have not been correctly installed or the that permissions are not correct.

Please check the FAQ (http://www.ekiga.org/), the troubleshooting section of the GConf site (http://www.gnome.org/projects/gconf/) or the mailing list archives for more information (http://mail.gnome.org) about this problem.
------------------------------------------------------

Looking in gconf shows no such setting nor do I see any schemas for ekiga, is this a problem with the ebuild (2.0.1), or my own error?
Comment 73 Hans Nieser 2006-03-18 04:21:54 UTC
(In reply to comment #72)
> 
> Looking in gconf shows no such setting nor do I see any schemas for ekiga, is
> this a problem with the ebuild (2.0.1), or my own error?

I should've checked their FAQ, sorry. 

Comment 74 Natanael Copa 2006-03-19 23:32:04 UTC
Why is this bug marked as solved upstream? I cannot find it in portage.

Opal fails to build on arch amd64. At first look it looks like there is a missing declaration of a math library or something (warnings about abs and fmult)


Portage 2.1_pre6-r3 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.4-r1, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
...


g++ -DP_USE_PRAGMA -D_REENTRANT -Wall  -DP_64BIT -fPIC -DPIC -DPTRACING -I/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/include  -DPTRACING -I/usr/share/pwlib//include -Os  -march=nocona -O2 -fomit-frame-pointer -pipe -felide-constructors -c /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/echocancel.cxx -o /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/lib/obj_linux_x86_64_r/echocancel.o
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall  -DP_64BIT -fPIC -DPIC -DPTRACING -I/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/include  -DPTRACING -I/usr/share/pwlib//include -Os  -march=nocona -O2 -fomit-frame-pointer -pipe -felide-constructors -c /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726codec.cxx -o /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/lib/obj_linux_x86_64_r/g726codec.o
cc -DP_USE_PRAGMA -D_REENTRANT -Wall  -DP_64BIT -fPIC -DPIC -DPTRACING -I/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/include  -DPTRACING -I/usr/share/pwlib//include -march=nocona -O2 -fomit-frame-pointer -pipe -c /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/g72x.c -o /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/lib/obj_linux_x86_64_r/g72x.o
/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/g72x.c: In function `quantize':
/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/g72x.c:220: warning: implicit declaration of function `abs'
/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/g72x.c: In function `update':
/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/g72x.c:386: warning: suggest explicit braces to avoid ambiguous `else'
cc -DP_USE_PRAGMA -D_REENTRANT -Wall  -DP_64BIT -fPIC -DPIC -DPTRACING -I/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/include  -DPTRACING -I/usr/share/pwlib//include -march=nocona -O2 -fomit-frame-pointer -pipe -c /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/g726_16.c -o /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/lib/obj_linux_x86_64_r/g726_16.o
/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/private.h:25: warning: 'fmult' declared `static' but never defined
cc -DP_USE_PRAGMA -D_REENTRANT -Wall  -DP_64BIT -fPIC -DPIC -DPTRACING -I/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/include  -DPTRACING -I/usr/share/pwlib//include -march=nocona -O2 -fomit-frame-pointer -pipe -c /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/g726_24.c -o /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/lib/obj_linux_x86_64_r/g726_24.o
/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/private.h:25: warning: 'fmult' declared `static' but never defined
cc -DP_USE_PRAGMA -D_REENTRANT -Wall  -DP_64BIT -fPIC -DPIC -DPTRACING -I/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/include  -DPTRACING -I/usr/share/pwlib//include -march=nocona -O2 -fomit-frame-pointer -pipe -c /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/g726_32.c -o /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/lib/obj_linux_x86_64_r/g726_32.o
/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/private.h:25: warning: 'fmult' declared `static' but never defined
cc -DP_USE_PRAGMA -D_REENTRANT -Wall  -DP_64BIT -fPIC -DPIC -DPTRACING -I/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/include  -DPTRACING -I/usr/share/pwlib//include -march=nocona -O2 -fomit-frame-pointer -pipe -c /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/g726_40.c -o /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/lib/obj_linux_x86_64_r/g726_40.o
/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/g726/private.h:25: warning: 'fmult' declared `static' but never defined
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall  -DP_64BIT -fPIC -DPIC -DPTRACING -I/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/include  -DPTRACING -I/usr/share/pwlib//include -Os  -march=nocona -O2 -fomit-frame-pointer -pipe -felide-constructors -c /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/gsmcodec.cxx -o /var/tmp/portage/opal-2.2.1/work/opal-2.2.1/lib/obj_linux_x86_64_r/gsmcodec.o
/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/echocancel.cxx: In member function `virtual void OpalEchoCanceler::ReceivedPacket(RTP_DataFrame&, INT)':
/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/echocancel.cxx:274: error: cannot convert `spx_int32_t*' to `float*' for argument `5' to `void speex_echo_cancel(SpeexEchoState*, short int*, short int*, short int*, float*)'
/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/src/codec/echocancel.cxx:281: error: cannot convert `spx_int32_t*' to `float*' for argument `3' to `int speex_preprocess(SpeexPreprocessState*, spx_int16_t*, float*)'
make[1]: *** [/var/tmp/portage/opal-2.2.1/work/opal-2.2.1/lib/obj_linux_x86_64_r/echocancel.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/opal-2.2.1/work/opal-2.2.1'
make: *** [optshared] Error 2

!!! ERROR: net-libs/opal-2.2.1 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile
Comment 75 Natanael Copa 2006-03-20 00:02:27 UTC
FYI. using USE="-speex" solves the previously mentioned oapl compile failurd on amd64. It looks like USE="-speex" does not turn of the speex support, i just uses the speex version shipped with opal, instead of using the system installed. Please correct me if I'm wrong about that.

Comment 76 Gergan Penkov 2006-03-20 00:38:37 UTC
that's (In reply to comment #75)
> FYI. using USE="-speex" solves the previously mentioned oapl compile failurd on
> amd64. It looks like USE="-speex" does not turn of the speex support, i just
> uses the speex version shipped with opal, instead of using the system
> installed. Please correct me if I'm wrong about that.
> 

that's correct in fact the configure script checks if the system speex is newer and uses it :)
I used slightly reworked and bumped bmg-builds, because they were a little bit buggy :) but all is working just fine here, with system speex and so on.
Comment 77 Stefan Schweizer (RETIRED) gentoo-dev 2006-03-20 15:46:46 UTC
reopening
Comment 78 Stefan Schweizer (RETIRED) gentoo-dev 2006-03-20 15:47:27 UTC
it is now in the real portage tree.

Thanks to all contributors this is finally fixed.