X-Git-Url: http://sjero.net/git/?p=linphone;a=blobdiff_plain;f=README.mingw;h=42b130f335035020d35fd466f723741a72b4d69f;hp=0c84e250ecb3eeac687c7da454e4da1546c36400;hb=6fcf76e405a695f86a446f430903682f42155f43;hpb=263b10315472d5a6a521dd8d39edec33960b619e diff --git a/README.mingw b/README.mingw index 0c84e250..42b130f3 100644 --- a/README.mingw +++ b/README.mingw @@ -14,7 +14,6 @@ In mingw shell, run mingw-get install msys-zip mingw-get install msys-unzip mingw-get install msys-wget -mingw-get install msys-libopenssl mkdir -p /opt/perl/bin cp /bin/perl /opt/perl/bin/. @@ -27,7 +26,7 @@ Download lastest linphone-deps-win32 zip from http://download.savannah.gnu.org/releases-noredirect/linphone/misc using your browser. -Download lastest gtk+ win32 bundle from http://www.gtk.org +Download lastest gtk+2 win32 bundle from http://www.gtk.org Install all these three package in /: @@ -41,18 +40,8 @@ cd /share/themes wget http://art.gnome.org/download/themes/gtk2/1122/GTK2-Outcrop.tar.gz tar -xvzf GTK2-Outcrop.tar.gz -#Remove the special stdint.h and inttypes.h included in linphone-deps: it is for MSVC only. -#Mingw will use the one in /mingw/include -rm /include/stdint.h /include/inttypes.h - -#Remove libgcc specific libraries, only needed for MSVC: -rm /lib/libgcc.a /lib/libmingw32.a /lib/libmingwex.a - -#Remove libintl from gtk, we don't need it and it conflicts with the one supplied by mingw. -rm /lib/libintl.dll.a -rm /lib/libintl.la -rm /lib/libintl.a -rm /include/libintl.h +#To get the translations working, remove from C:/MinGW/lib : +libintl.a libintl.la libintl.dll.a * Download and install Inno Setup Compiler (required only if you run 'make setup.exe'). Add it to your windows Path environment variable. @@ -66,7 +55,7 @@ It is recommended that you create a directory somewhere with a path without any c:\sources\ Within msys-git bash, do cd /c/sources -git clone git://git.savannah.nongnu.org/linphone.git --recursive +git clone git://git.linphone.org/linphone.git --recursive Building @@ -76,18 +65,38 @@ WARNING: During the build, windows might slow down suddenly. Using ctl+alt+del t you might see a process 'LVpSRV.exe' or something like this that eats 90% of cpu. Kill it. Don't know what it is, but once killed, windows runs normally. +#Compile and install tunnel (optional, available under proprietary licensing) + +cd tunnel && ./autogen.sh && ./configure --prefix=/usr --enable-shared --disable-static && make && make install + +#Build linphone itself: #run autogen.sh after a git checkout or update + ./autogen.sh + ./configure --prefix=/opt/linphone --enable-shared --disable-static +#note: in order to use the tunnel, append --enable-tunnel to the configure line above. + +#compile: + make -#will install to /opt/linphone, required for compilation of plugins. + +#now install to /opt/linphone, required for compilation of plugins. + make install + #make a binary zip of linphone + make zip + #additionally you can make binary installer if you have Inno Setup 5 installed in its default path + make setup.exe + #now you're done, you have a fresh linphone windows installer in the current directory. + + #build plugins cd mediastreamer2/plugins/msx264 ./autogen.sh