Re: [Ekiga-devel-list] Win32 mingw trunk under Debian SID



Here are some patches and procedure I followed :
  • I change Makefile and especially some URL due to server failure.
  • patch contain.h
  • patch ptime.cxx
  • rm -r src/opal/plugins/audio/G722/
    rm -r opal/plugins/audio/G722/
  • src/ekiga/lib/platform/platform-win32.c seems to be OK now (line #53)
Feedbacks :
ekiga 3.1 7662 has the same comportment under Linux and Windows (for me). I use ekiga as SIP client on my asterisk.
Both clients crash when accpting an incoming call. Unfortunately : No debug


Thierry Simonnet wrote:
I succeded to have an Ekiga win32 exe using trunk branch of svn.

I followed wiki instruction for cross compiling (packages...)
mingw32 version : 4.2.1

Then some minor modifications :
Win32 Makefile :
  • Opal version : 3.5.2
  • PTLib version : 2.5.2
  • unable to use DEBUG. In fact DEBUG=1 generates a libopal_d_s.a but ekiga needs a libopal_s.a library. It will be useful to use  a  variable.
  • --disable-ldap for ekiga. First win32/include/sasl is missing (need a link from /usr/include/sasl) and some other stuff.
Opal:
  • I had to remove [src/]opal/plugin/audio/G722 directory due to compiling troubles
Ptlib :
  • I modified WINVER from 0x0500 to 0x0501 in [src/]ptlib/src/include/ptlib/msos/ptlib/contain.h
  • I modified [src/]ptlib/src/ptlib/common/ptime.cxx using Michael Cronenworth's patch
Ekiga :
  • modified [src/]ekiga/lib/platform/platform-win32.c line #53. g_win32_get_package_installation module has only one parameter. Then remove one NULL.
Hope these informations will help. I need to perform some test (Monday)

Best regards
--

Thierry Simonnet

ESIEE – Paris

Environnement Par respect pour l’environnement, n’imprimez ce mail que si nécessaire



--

Thierry Simonnet

ESIEE – Paris

Environnement Par respect pour l’environnement, n’imprimez ce mail que si nécessaire

--- ./src/ptlib/src/ptlib/common/ptime.cxx.orig	2009-02-16 11:01:41.000000000 +0100
+++ ./src/ptlib/src/ptlib/common/ptime.cxx	2009-02-16 11:02:34.000000000 +0100
@@ -549,7 +549,11 @@
 #define STDAPICALLTYPE
 #endif
 
-time_t STDAPICALLTYPE PTimeParse(void *, struct tm *, int);
+time_t STDAPICALLTYPE PTimeParse(void *, struct tm *, int)
+{
+  return 0;
+}
+
 
 int STDAPICALLTYPE PTimeGetChar(void * stream)
 {
--- src/ptlib/include/ptlib/msos/ptlib/contain.h.orig	2009-02-16 09:19:23.000000000 +0100
+++ src/ptlib/include/ptlib/msos/ptlib/contain.h	2009-02-16 09:19:38.000000000 +0100
@@ -88,7 +88,7 @@
 
   // At least Windows 2000
   #ifndef WINVER
-    #define WINVER 0x0500
+    #define WINVER 0x0501
   #endif
 
   #if !defined(_WIN32_WINNT) && !defined(_WIN32_WCE)
4c4
< DEBUG := 1
---
> DEBUG := 0
21c21
< WGET := wget -nv -T 60 -N --no-proxy
---
> WGET := wget -nv -T 60 -N 
64c64
< EKIGA_VER = 2.9
---
> EKIGA_VER = 3.1_7662
75c75
< OPAL_VER:= 3.4.1
---
> OPAL_VER:= 3.5.2
77c77
< OPAL_URL:= https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/tags/v3_4_1
---
> OPAL_URL:= https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/tags/v3_5_2
81c81
< PTLIB_VER:= 2.4.1
---
> PTLIB_VER:= 2.5.2
83c83
< PTLIB_URL:= https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/tags/v2_4_1
---
> PTLIB_URL:= https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/tags/v2_5_2
87c87
< OPENLDAP_VER := 2.3.28
---
> OPENLDAP_VER := 2.3.43
107c107
< GTK_INSTALLER_URL := http://mesh.dl.sourceforge.net/gtk-win
---
> GTK_INSTALLER_URL := http://freefr.dl.sourceforge.net/gtk-win
126c126
< XML2_VER := 2.6.26
---
> XML2_VER := 2.6.32
131,132c131,132
< LIBPNG_VER := 1.2.8
< GNUWIN32_URL := http://mesh.dl.sourceforge.net/gnuwin32
---
> LIBPNG_VER := 1.2.34-1
> GNUWIN32_URL := http://freefr.dl.sourceforge.net/sourceforge/gnuwin32
185c185
< ACLOCAL:=aclocal-1.9
---
> ACLOCAL:=aclocal-1.10
204,205c204,207
< 	    --disable-dbus --disable-avahi --disable-xv --with-ldap-dir=$(OPENLDAP_DIR) \
< 	    --enable-static-libs
---
> 	    --disable-dbus --disable-avahi --disable-xv \
> 	    --enable-static-libs --disable-ldap
> 
> #--with-ldap-dir=$(OPENLDAP_DIR) \
233c235
< 	hash tar unzip zip wget $(ACLOCAL) autoheader libtoolize automake-1.9 autoconf pkg-config gnome-autogen.sh bison gdk-pixbuf-csource||(echo we need more binaries ;exit 1)
---
> 	hash tar unzip zip wget $(ACLOCAL) autoheader libtoolize automake-1.10 autoconf pkg-config gnome-autogen.sh bison gdk-pixbuf-csource||(echo we need more binaries ;exit 1)


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