X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=README.mingw;h=42b130f335035020d35fd466f723741a72b4d69f;hb=7b6bf69ed818b15c9aad31150a9d5a223bc46619;hp=91fe0f9be16cf18e648b24cf953b3a119c01476c;hpb=52040fc8f5e332c622005e19b82c85c37ec3dcd3;p=linphone diff --git a/README.mingw b/README.mingw index 91fe0f9b..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,13 +40,6 @@ 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 - #To get the translations working, remove from C:/MinGW/lib : libintl.a libintl.la libintl.dll.a @@ -63,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 @@ -73,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