Re: [Ekiga-devel-list] ekiga, ptlib, opal HEAD for ekiga 3.3.1



Le 02/05/2010 15:57, Eugen Dedu a écrit :
On 02/05/10 13:24, Thierry Simonnet wrote:
Some tips to generate an ekiga 3.3.1 git-557_gb89bb3e using
opal/ptlib/ffmpeg/x264 -HEAD version for both Linux (Slackware 13.0 -
32/64 and Debian sid 32/64) and Win32 target OS. Both versions have now
the same comportment and crashes.

* in src/opal/include/opal/connection.h :
line 1847 change private by public
public:
P_REMOVE_VIRTUAL(PBoolean, OnIncomingConnection(unsigned int), false);
P_REMOVE_VIRTUAL(PBoolean, OnIncomingConnection(), false);
P_REMOVE_VIRTUAL(PBoolean, IsConnectionOnHold(), false);
P_REMOVE_VIRTUAL_VOID(OnMediaPatchStart(unsigned, bool));
P_REMOVE_VIRTUAL_VOID(OnMediaPatchStop(unsigned, bool));
P_REMOVE_VIRTUAL_VOID(AdjustMediaFormats(OpalMediaFormatList &) const);
P_REMOVE_VIRTUAL_VOID(AdjustMediaFormats(OpalMediaFormatList &,
OpalConnection *) const);
P_REMOVE_VIRTUAL_VOID(PreviewPeerMediaFormats(const OpalMediaFormatList
&));
P_REMOVE_VIRTUAL(bool, HoldConnection(), false);
P_REMOVE_VIRTUAL(bool, RetrieveConnection(), false);
P_REMOVE_VIRTUAL(bool, IsConnectionOnHold(bool), false);

* in include/libavutil/common.h
missing def for UINT64_C(val).
I add
#define UINT64_C(val) val ## ULL

* in src/ptlib/include/ptlib/object.h lin 980 :
trouble with "memory pooling allocators". Definition for gcc >=4 is not
working <ext/bitmap_allocator.h> I had to use the "else" part of the code.
// Memory pooling allocators
#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(P_MINGW) &&
!defined(P_MACOSX)
#include <ext/bitmap_allocator.h>
template <class Type> class PFixedPoolAllocator : public
__gnu_cxx::bitmap_allocator<Type> { };
#include <ext/mt_allocator.h>
template <class Type> class PVariablePoolAllocator : public
__gnu_cxx::__mt_alloc<Type> { };
#else
template <class Type> class PFixedPoolAllocator : public
std::allocator<Type> { };
template <class Type> class PVariablePoolAllocator : public
std::allocator<Type> { };
#endif

* libboost configure for Slackware 64bit version :
Default library path is /usr/lib and must use /usr/lib64.

Thanks Thierry for all your work.

I plan to revive the master/trunk too for windows, maybe in a week or two, using your remarks. Until then, it remains me to finish the work on stable branch (for windows again). If you have remarks about the Makefile http://wiki.ekiga.org/index.php/Building_Ekiga_for_Windows#Downloading_building_program, please tell us. I have used your Makefile and Michael Rickmann's one.


For Makefile, you can use mine (http://www.pateam.org/archive/tmp/ekiga-win32/trunk/Makefile_H264) .I tried to keep it clean. Unfortunately I didn't integrate libboost inside. Another point to see is H264. I use more up to date version of ldap,.... and integrates gtk2+ 2.20). I packaged gtk but have some odd comportment of video frame. There is the problem of opal/plugins/video/H.264/shared/h264frame.cxx file. (http://bugzilla-attachments.gnome.org/attachment.cgi?id=147381) This patch makes it compiling but I thing there is more troubles. Opal Ptlib and ffmpeg had a lot of improvment and it is necessary to validate the whole H264 processing.

Let me know if yo want some help.
A colleague of mine can provide some scripts for an automated generation of packages for Slackware 13.0 distro with HEAD vesion of ekiga, opal and ptlib.

Best regards

Thierry


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]