From 48540940b6c28bb4378abfeb500ec45a625b37b6 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 15 May 2012 10:38:20 +0000 Subject: initial commit git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- bin/build.no | 1 + bin/m_version.h.in | 29 +++++ bin/make.bat | 269 ++++++++++++++++++++++++++++++++++++++ bin/make64.bat | 51 ++++++++ bin/makeall.bat | 20 +++ bin/makel.bat | 31 +++++ bin/makew.bat | 264 +++++++++++++++++++++++++++++++++++++ bin/miranda32.dsw | 374 +++++++++++++++++++++++++++++++++++++++++++++++++++++ bin/rebaser.exe | Bin 0 -> 4096 bytes 9 files changed, 1039 insertions(+) create mode 100644 bin/build.no create mode 100644 bin/m_version.h.in create mode 100644 bin/make.bat create mode 100644 bin/make64.bat create mode 100644 bin/makeall.bat create mode 100644 bin/makel.bat create mode 100644 bin/makew.bat create mode 100644 bin/miranda32.dsw create mode 100644 bin/rebaser.exe (limited to 'bin') diff --git a/bin/build.no b/bin/build.no new file mode 100644 index 0000000000..59ffce886b --- /dev/null +++ b/bin/build.no @@ -0,0 +1 @@ +10 0 3 \ No newline at end of file diff --git a/bin/m_version.h.in b/bin/m_version.h.in new file mode 100644 index 0000000000..8412e357e4 --- /dev/null +++ b/bin/m_version.h.in @@ -0,0 +1,29 @@ +/* + +Miranda IM: the free IM client for Microsoft* Windows* + +Copyright 2000-2010 Miranda ICQ/IM project, +all portions of this codebase are copyrighted to the people +listed in contributors.txt. + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ +#ifndef M_VERSION_H__ +#define M_VERSION_H__ + +#ifndef MIRANDA_MAKE_VERSION +#define MIRANDA_MAKE_VERSION(a,b,c,d) (((((DWORD)(a))&0xFF)<<24)|((((DWORD)(b))&0xFF)<<16)|((((DWORD)(c))&0xFF)<<8)|(((DWORD)(d))&0xFF)) +#endif + diff --git a/bin/make.bat b/bin/make.bat new file mode 100644 index 0000000000..55d41c9475 --- /dev/null +++ b/bin/make.bat @@ -0,0 +1,269 @@ +@echo off + +for /F "tokens=1,2,3 delims= " %%i in (build.no) do call :WriteVer %%i %%j %%k + +if not exist Release md Release +if not exist "Release/Icons" md "Release/Icons" +if not exist "Release/Plugins" md "Release/Plugins" + +rem --------------------------------------------------------------------------- +rem Main modules +rem --------------------------------------------------------------------------- + +pushd ..\src +call :Nmake miranda32.mak "miranda32 - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda-tools\dbtool +call :Nmake dbtool.mak "dbtool - Win32 Release" +popd +if errorlevel 1 goto :Error + +rem --------------------------------------------------------------------------- +rem Protocols +rem --------------------------------------------------------------------------- + +pushd ..\..\miranda\protocols\IcqOscarJ +call :Nmake IcqOscar8.mak "icqoscar8 - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\MSN +call :Nmake MSN.mak "msn - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\JabberG +call :Nmake jabber.mak "jabberg - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\AimOscar +call :Nmake aimoscar.mak "aim - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\YAHOO +call :Nmake Yahoo.mak "Yahoo - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\IRCG +call :Nmake IRC.mak "IRC - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\Gadu-Gadu +call :Nmake Gadu-Gadu.mak "GG - Win32 Release" +popd +if errorlevel 1 goto :Error + +rem --------------------------------------------------------------------------- +rem Plugins +rem --------------------------------------------------------------------------- + +pushd ..\..\miranda\plugins\zlib +call :Nmake zlib.mak "zlib - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\avs +call :Nmake avs.mak "avs - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\chat +call :Nmake chat.mak "chat - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\clist +call :Nmake clist.mak "clist - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\db3x +call :Nmake db3x.mak "db3x - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\db3x_mmap +call :Nmake db3x_mmap.mak "db3x_mmap - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\freeimage +call :Nmake FreeImage.mak "FreeImage - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\import +call :Nmake import.mak "import - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\modernb +call :Nmake modernb.mak "modernb - Win32 Release" +popd +if errorlevel 1 goto :Error + +rem pushd ..\..\miranda\plugins\modernopt +rem call :Nmake modernopt.mak "modernopt - Win32 Release" +rem popd +rem if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\mwclist +call :Nmake mwclist.mak "mwclist - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\scriver +call :Nmake scriver.mak "scriver - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\srmm +call :Nmake srmm.mak "srmm - Win32 Release" +popd +if errorlevel 1 goto :Error + +rem --------------------------------------------------------------------------- +rem Icons +rem --------------------------------------------------------------------------- + +pushd ..\..\miranda\protocols\IcqOscarJ\icons_pack +call :Nmake ICONS.mak "ICONS - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\JabberG\jabber_xstatus +call :Nmake JABBER_XSTATUS.mak "JABBER_XSTATUS - Win32 Release" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\modernb\icons_pack\ +call :Nmake ICONS_MODERN.mak "ICONS_MODERN - Win32 Release" +popd +if errorlevel 1 goto :Error + +rem --------------------------------------------------------------------------- +rem Zip it +rem --------------------------------------------------------------------------- + +pushd Release + +dir /B /S *.dll | ..\rebaser + +for /F "tokens=1,2,3 delims= " %%i in (..\build.no) do call :Pack %%i %%j %%k + +popd +goto :eof + +:Nmake +echo. +echo =========================================================================== +echo Building %1 +echo =========================================================================== +nmake /NOLOGO /f %1 CFG=%2 +goto :eof + +:WriteVer +set /A Version = %1 +set /A SubVersion = %2 +call :WriteVer2 %Version% %SubVersion% %3 +goto :eof + +:WriteVer2 +copy m_version.h.in ..\include\m_version.h + +echo #define MIRANDA_VERSION_FILEVERSION 0,%1,%2,%3 >>..\include\m_version.h +echo #define MIRANDA_VERSION_STRING "0.%1.%2.%3" >>..\include\m_version.h +echo #define MIRANDA_VERSION_DISPLAY "0.%1.%2 alpha build #%3" >>..\include\m_version.h +echo #define MIRANDA_VERSION_DWORD MIRANDA_MAKE_VERSION(0, %1, %2, %3) >>..\include\m_version.h +echo #define MIRANDA_VERSION_CORE MIRANDA_MAKE_VERSION(0, %1, %2, 0) >>..\include\m_version.h +echo #define MIRANDA_VERSION_CORE_STRING "0.%1.%2.0" >>..\include\m_version.h +echo. >>..\include\m_version.h +echo #endif // M_VERSION_H__ >>..\include\m_version.h + +for /F "delims=-/. tokens=1,2,3" %%i in ('date /T') do call :SetBuildDate %%i %%j %%k +for /F "delims=:/. tokens=1,2" %%i in ('time /T') do call :SetBuildTime %%i %%j + +echo ^ >%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^Miranda IM Alpha Builds^ >>%temp%\index.xml +echo ^http://files.miranda-im.org/builds/^ >>%temp%\index.xml +echo ^en-us^ >>%temp%\index.xml +echo ^%yy%-%mm%-%dd% %hh%:%mn%^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^Miranda 0.%1.%2 alpha %3^ >>%temp%\index.xml +echo ^http://files.miranda-im.org/builds/?%yy%%mm%%dd%%hh%%mn%^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo Miranda 0.%1.%2 alpha %3 is now available at http://files.miranda-im.org/builds/miranda-v%1a%3.zip >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^%yy%-%mm%-%dd% %hh%:%mn%^ >>%temp%\index.xml +echo ^Nightly Builds^ >>%temp%\index.xml +echo ^Miranda IM Development Team^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +goto :eof + +:SetBuildDate +set dd=%1 +set mm=%2 +set yy=%3 +goto :eof + +:SetBuildTime +set hh=%1 +set mn=%2 +goto :eof + +:Pack +if %2 == 00 ( + set FileVer=v0%1a%3.7z +) else ( + set FileVer=v0%1%2a%3.7z +) + +if exist "%Temp%\miranda-%FileVer%" del /Q /F "%Temp%\miranda-%FileVer%" +"%PROGRAMFILES%\7-zip\7z.exe" a -r -mx=9 "%Temp%\miranda-%FileVer%" ./* ..\ChangeLog.txt + +if exist %Temp%\pdba rd /Q /S %Temp%\pdba >nul +md %Temp%\pdba +md %Temp%\pdba\plugins + +copy ..\..\src\Release\miranda32.pdb %Temp%\pdba +copy ..\..\..\miranda-tools\dbtool\Release\dbtool.pdb %Temp%\pdba +rem Protocols +copy ..\..\protocols\AimOscar\Release\Aim.pdb %Temp%\pdba\plugins +copy ..\..\protocols\IcqOscarJ\Release\ICQ.pdb %Temp%\pdba\plugins +copy ..\..\protocols\IRCG\Release\IRC.pdb %Temp%\pdba\plugins +copy ..\..\protocols\JabberG\Release\jabber.pdb %Temp%\pdba\plugins +copy ..\..\protocols\MSN\Release\MSN.pdb %Temp%\pdba\plugins +copy ..\..\protocols\Yahoo\Release\Yahoo.pdb %Temp%\pdba\plugins +copy ..\..\protocols\Gadu-Gadu\Release\GG.pdb %Temp%\pdba\plugins +rem Plugins +copy ..\..\plugins\avs\Release\avs.pdb %Temp%\pdba\plugins +copy ..\..\plugins\chat\Release\chat.pdb %Temp%\pdba\plugins +copy ..\..\plugins\clist\Release\clist_classic.pdb %Temp%\pdba\plugins +copy ..\..\plugins\db3x\Release\dbx_3x.pdb %Temp%\pdba\plugins +copy ..\..\plugins\db3x_mmap\Release\dbx_mmap.pdb %Temp%\pdba\plugins +copy ..\..\plugins\freeimage\Release\advaimg.pdb %Temp%\pdba\plugins +copy ..\..\plugins\import\Release\import.pdb %Temp%\pdba\plugins +copy ..\..\plugins\modernb\Release\clist_modern.pdb %Temp%\pdba\plugins +copy ..\..\plugins\mwclist\Release\clist_mw.pdb %Temp%\pdba\plugins +copy ..\..\plugins\scriver\Release\scriver.pdb %Temp%\pdba\plugins +copy ..\..\plugins\srmm\Release\srmm.pdb %Temp%\pdba\plugins + +if exist "%Temp%\miranda-pdb-%FileVer%" del /Q /F "%Temp%\miranda-pdb-%FileVer%" +"%PROGRAMFILES%\7-zip\7z.exe" a -r -mx=9 "%Temp%\miranda-pdb-%FileVer%" %Temp%\pdba/* +rd /Q /S %Temp%\pdba +goto :eof + +:Error +echo Make failed +pause +goto :eof diff --git a/bin/make64.bat b/bin/make64.bat new file mode 100644 index 0000000000..33ee431e9f --- /dev/null +++ b/bin/make64.bat @@ -0,0 +1,51 @@ +@echo off + +rem --------------------------------------------------------------------------- +rem Zip it +rem --------------------------------------------------------------------------- + +pushd "..\bin9\Release Unicode64" + +dir /B /S *.dll | ..\..\bin\rebaser + +for /F "tokens=1,2,3 delims= " %%i in (..\..\bin\build.no) do call :Pack %%i %%j %%k + +popd +goto :eof + +:Nmake +echo. +echo =========================================================================== +echo Building %1 +echo =========================================================================== +nmake /NOLOGO /f %1 CFG=%2 +goto :eof + +:SetBuildDate +set dd=%1 +set mm=%2 +set yy=%3 +goto :eof + +:SetBuildTime +set hh=%1 +set mn=%2 +goto :eof + +:Pack +if %2 == 00 ( + set FileVer=v0%1a%3w64.7z +) else ( + set FileVer=v0%1%2a%3w64.7z +) + +del /Q /F "%Temp%\miranda-%FileVer%" +"%PROGRAMFILES%\7-zip\7z.exe" a -r -mx=9 "%Temp%\miranda-%FileVer%" ./*.exe ./*.dll ..\..\bin\ChangeLog.txt + +del /Q /F "%Temp%\miranda-pdb-%FileVer%" +"%PROGRAMFILES%\7-zip\7z.exe" a -r -mx=9 "%Temp%\miranda-pdb-%FileVer%" ./*.pdb -x!Obj/*.pdb +goto :eof + +:Error +echo Make failed +goto :eof diff --git a/bin/makeall.bat b/bin/makeall.bat new file mode 100644 index 0000000000..1138b6c83c --- /dev/null +++ b/bin/makeall.bat @@ -0,0 +1,20 @@ +@echo off +echo ------------------------------------------------------------------------------------------------------------------------ +echo ---------------------------------------------------- build ANSI -------------------------------------------------------- +echo ------------------------------------------------------------------------------------------------------------------------ +call make.bat +echo ------------------------------------------------------------------------------------------------------------------------ +echo ---------------------------------------------------- build Unicode ----------------------------------------------------- +echo ------------------------------------------------------------------------------------------------------------------------ +call makew.bat +echo ------------------------------------------------------------------------------------------------------------------------ +echo ---------------------------------------------------- build x64 --------------------------------------------------------- +echo ------------------------------------------------------------------------------------------------------------------------ +call make64.bat +echo ------------------------------------------------------------------------------------------------------------------------ +echo ---------------------------------------------------- build Langpack ---------------------------------------------------- +echo ------------------------------------------------------------------------------------------------------------------------ +call makel.bat +echo ------------------------------------------------------------------------------------------------------------------------ +echo ---------------------------------------------------- all finished ------------------------------------------------------ +echo ------------------------------------------------------------------------------------------------------------------------ diff --git a/bin/makel.bat b/bin/makel.bat new file mode 100644 index 0000000000..2ec7348175 --- /dev/null +++ b/bin/makel.bat @@ -0,0 +1,31 @@ +@echo off + +for /F "tokens=1,2,3 delims= " %%i in (build.no) do call :LPGen %%i %%j %%k +if errorlevel 1 goto :Error + +for /F "tokens=1,2,3 delims= " %%i in (build.no) do call :Pack %%i %%j %%k +if errorlevel 1 goto :Error + +goto :eof + +:LPGen +pushd ..\..\miranda-tools\lpgen +call perl lpgen.pl version %1 %2 %3 +popd +goto :eof + +:Pack +if %2 == 00 ( + set FileVer=v%1a%3.zip +) else ( + set FileVer=v%1%2a%3.zip +) + +del /Q /F "%Temp%\miranda-langpack-%FileVer%" +7z.exe a -tzip -r -mx=9 "%Temp%\miranda-langpack-%FileVer%" ..\i18n\langpack_english.txt + +goto :eof + +:Error +echo Language pack generation failed +goto :eof diff --git a/bin/makew.bat b/bin/makew.bat new file mode 100644 index 0000000000..17e23533ed --- /dev/null +++ b/bin/makew.bat @@ -0,0 +1,264 @@ +@echo off + +for /F "tokens=1,2,3 delims= " %%i in (build.no) do call :WriteVer %%i %%j %%k + +if not exist "Release Unicode" md "Release Unicode" +if not exist "Release Unicode/Icons" md "Release Unicode/Icons" +if not exist "Release Unicode/Plugins" md "Release Unicode/Plugins" + +rem --------------------------------------------------------------------------- +rem Main modules +rem --------------------------------------------------------------------------- + +pushd ..\src +call :Nmake miranda32.mak "miranda32 - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda-tools\dbtool +call :Nmake dbtool.mak "dbtool - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +rem --------------------------------------------------------------------------- +rem Protocols +rem --------------------------------------------------------------------------- + +pushd ..\..\miranda\protocols\AimOscar +call :Nmake aimoscar.mak "aim - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\IcqOscarJ +call :Nmake IcqOscar8.mak "icqoscar8 - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\IRCG +call :Nmake irc.mak "IRC - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\JabberG +call :Nmake jabber.mak "jabberg - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\MSN +call :Nmake MSN.mak "msn - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\protocols\YAHOO +call :Nmake Yahoo.mak "Yahoo - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +rem --------------------------------------------------------------------------- +rem Plugins +rem --------------------------------------------------------------------------- + +pushd ..\..\miranda\plugins\avs +call :Nmake avs.mak "avs - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\chat +call :Nmake chat.mak "chat - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\clist +call :Nmake clist.mak "clist - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\clist_nicer +call :Nmake clist_nicer.mak "clist_nicer - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\db3x +call :Nmake db3x.mak "db3x - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\db3x_mmap +call :Nmake db3x_mmap.mak "db3x_mmap - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\import +call :Nmake import.mak "import - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\modernb +call :Nmake modernb.mak "modernb - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +rem pushd ..\..\miranda\plugins\modernopt +rem call :Nmake modernopt.mak "modernopt - Win32 Release Unicode" +rem popd +rem if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\mwclist +call :Nmake mwclist.mak "mwclist - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\scriver +call :Nmake scriver.mak "scriver - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\srmm +call :Nmake srmm.mak "srmm - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\tabSRMM +call :Nmake tabSRMM.mak "tabSRMM - Win32 Release Unicode" +popd +if errorlevel 1 goto :Error + +pushd ..\..\miranda\plugins\tabsrmm\icons\ICONS_NOVA\ +call :Nmake ICONS_NOVA.mak "ICONS_NOVA - Win32 Release" +popd +if errorlevel 1 goto :Error + +rem --------------------------------------------------------------------------- +rem Zip it +rem --------------------------------------------------------------------------- + +pushd "Release Unicode" + +copy ..\Release\zlib.dll + +copy ..\Release\Icons\xstatus_ICQ.dll Icons +copy ..\Release\Icons\xstatus_jabber.dll Icons +copy ..\Release\Icons\toolbar_icons.dll Icons + +copy ..\release\Plugins\advaimg.dll Plugins +copy ..\release\Plugins\GG.dll Plugins + +dir /B /S *.dll | ..\rebaser + +for /F "tokens=1,2,3 delims= " %%i in (..\build.no) do call :Pack %%i %%j %%k + +popd +goto :eof + +:Nmake +echo. +echo =========================================================================== +echo Building %1 +echo =========================================================================== +nmake /NOLOGO /f %1 CFG=%2 +goto :eof + +:WriteVer +set /A Version = %1 +set /A SubVersion = %2 +call :WriteVer2 %Version% %SubVersion% %3 +goto :eof + +:WriteVer2 +copy m_version.h.in ..\include\m_version.h + +echo #define MIRANDA_VERSION_FILEVERSION 0,%1,%2,%3 >>..\include\m_version.h +echo #define MIRANDA_VERSION_STRING "0.%1.%2.%3" >>..\include\m_version.h +echo #define MIRANDA_VERSION_DISPLAY "0.%1.%2 alpha build #%3" >>..\include\m_version.h +echo #define MIRANDA_VERSION_DWORD MIRANDA_MAKE_VERSION(0, %1, %2, %3) >>..\include\m_version.h +echo #define MIRANDA_VERSION_CORE MIRANDA_MAKE_VERSION(0, %1, %2, 0) >>..\include\m_version.h +echo #define MIRANDA_VERSION_CORE_STRING "0.%1.%2.0" >>..\include\m_version.h +echo. >>..\include\m_version.h +echo #endif // M_VERSION_H__ >>..\include\m_version.h +goto :eof + +for /F "delims=-/. tokens=1,2,3" %%i in ('date /T') do call :SetBuildDate %%i %%j %%k +for /F "delims=:/. tokens=1,2" %%i in ('time /T') do call :SetBuildTime %%i %%j + +echo ^ >%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^Miranda IM Alpha Builds^ >>%temp%\index.xml +echo ^http://files.miranda-im.org/builds/^ >>%temp%\index.xml +echo ^en-us^ >>%temp%\index.xml +echo ^%yy%-%mm%-%dd% %hh%:%mn%^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^Miranda 0.%1.%2 alpha %3^ >>%temp%\index.xml +echo ^http://files.miranda-im.org/builds/?%yy%%mm%%dd%%hh%%mn%^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo Miranda 0.%1.%2 alpha %3 is now available at http://files.miranda-im.org/builds/miranda-v%1a%3.zip >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^%yy%-%mm%-%dd% %hh%:%mn%^ >>%temp%\index.xml +echo ^Nightly Builds^ >>%temp%\index.xml +echo ^Miranda IM Development Team^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +echo ^ >>%temp%\index.xml +goto :eof + +:SetBuildDate +set dd=%1 +set mm=%2 +set yy=%3 +goto :eof + +:SetBuildTime +set hh=%1 +set mn=%2 +goto :eof + +:Pack +if %2 == 00 ( + set FileVer=v0%1a%3w.7z +) else ( + set FileVer=v0%1%2a%3w.7z +) + +if exist "%Temp%\miranda-%FileVer%" del /Q /F "%Temp%\miranda-%FileVer%" +"%PROGRAMFILES%\7-zip\7z.exe" a -r -mx=9 "%Temp%\miranda-%FileVer%" ./* ..\ChangeLog.txt + +if exist %Temp%\pdbw rd /Q /S %Temp%\pdbw >nul +md %Temp%\pdbw +md %Temp%\pdbw\plugins + +copy ..\..\src\Release_Unicode\miranda32.pdb %Temp%\pdbw +copy ..\..\..\miranda-tools\dbtool\Release_Unicode\dbtool.pdb %Temp%\pdbw +rem Protocols +copy ..\..\protocols\AimOscar\Release_Unicode\Aim.pdb %Temp%\pdbw\plugins +copy ..\..\protocols\IcqOscarJ\Release_Unicode\ICQ.pdb %Temp%\pdbw\plugins +copy ..\..\protocols\IRCG\Release_Unicode\IRC.pdb %Temp%\pdbw\plugins +copy ..\..\protocols\JabberG\Release_Unicode\jabber.pdb %Temp%\pdbw\plugins +copy ..\..\protocols\MSN\Release_Unicode\MSN.pdb %Temp%\pdbw\plugins +copy ..\..\protocols\Yahoo\Release_Unicode\Yahoo.pdb %Temp%\pdbw\plugins +copy ..\..\protocols\Gadu-Gadu\Release\GG.pdb %Temp%\pdbw\plugins +rem Unicode plugins +copy ..\..\plugins\avs\Release_Unicode\avs.pdb %Temp%\pdbw\plugins +copy ..\..\plugins\chat\Release_Unicode\chat.pdb %Temp%\pdbw\plugins +copy ..\..\plugins\clist\Release_Unicode\clist_classic.pdb %Temp%\pdbw\plugins +copy ..\..\plugins\clist_nicer\Release_Unicode\clist_nicer.pdb %Temp%\pdbw\plugins +copy ..\..\plugins\modernb\Release_Unicode\clist_modern.pdb %Temp%\pdbw\plugins +copy ..\..\plugins\mwclist\Release_Unicode\clist_mw.pdb %Temp%\pdbw\plugins +copy ..\..\plugins\db3x\Release_Unicode\dbx_3x.pdb %Temp%\pdbw\plugins +copy ..\..\plugins\db3x_mmap\Release_Unicode\dbx_mmap.pdb %Temp%\pdbw\plugins +copy ..\..\plugins\scriver\Release_Unicode\scriver.pdb %Temp%\pdbw\plugins +copy ..\..\plugins\srmm\Release_Unicode\srmm.pdb %Temp%\pdbw\plugins +copy ..\..\plugins\tabSRMM\Release_Unicode\tabSRMM.pdb %Temp%\pdbw\plugins +copy ..\..\plugins\import\Release_Unicode\import.pdb %Temp%\pdbw\plugins +rem copy ..\..\plugins\modernopt\Release_Unicode\modernopt.pdb %Temp%\pdbw\plugins +rem Non-Unicode plugins +copy ..\..\plugins\freeimage\Release\advaimg.pdb %Temp%\pdbw\plugins + +if exist "%Temp%\miranda-pdb-%FileVer%" del /Q /F "%Temp%\miranda-pdb-%FileVer%" +"%PROGRAMFILES%\7-zip\7z.exe" a -r -mx=9 "%Temp%\miranda-pdb-%FileVer%" %Temp%\pdbw/* +rd /Q /S %Temp%\pdbw +goto :eof + +:Error +echo Make failed +pause +goto :eof diff --git a/bin/miranda32.dsw b/bin/miranda32.dsw new file mode 100644 index 0000000000..f568912e2c --- /dev/null +++ b/bin/miranda32.dsw @@ -0,0 +1,374 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "FreeImage"="..\plugins\freeimage\FreeImage.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name zlib + End Project Dependency +}}} + +############################################################################### + +Project: "GG"="..\protocols\Gadu-Gadu\Gadu-Gadu.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "ICONS"="..\protocols\IcqOscarJ\icons_pack\ICONS.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "ICONS_MODERN"="..\plugins\modernb\icons_pack\ICONS_MODERN.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "ICONS_NOVA"="..\plugins\tabsrmm\icons\ICONS_NOVA\ICONS_NOVA.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "IRC"="..\protocols\IRCG\IRC.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "JABBER_XSTATUS"="..\protocols\JabberG\jabber_xstatus\JABBER_XSTATUS.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "Yahoo"="..\protocols\Yahoo\Yahoo.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "aim"="..\protocols\AimOscar\aimoscar.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "avs"="..\plugins\avs\avs.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "chat"="..\plugins\chat\chat.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "clist"="..\plugins\clist\clist.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "clist_nicer"="..\plugins\clist_nicer\clist_nicer.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "db3x"="..\plugins\db3x\db3x.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "db3x_mmap"="..\plugins\db3x_mmap\db3x_mmap.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "dbrw"="..\plugins\dbrw\dbrw.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "dbtool"="..\..\miranda-tools\dbtool\dbtool.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "icqoscar8"="..\protocols\IcqOscarJ\icqoscar8.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "import"="..\plugins\import\import.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "jabberg"="..\protocols\JabberG\jabber.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name zlib + End Project Dependency +}}} + +############################################################################### + +Project: "miranda32"="..\src\miranda32.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name zlib + End Project Dependency +}}} + +############################################################################### + +Project: "modernb"="..\plugins\modernb\modernb.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "modernopt"="..\plugins\modernopt\modernopt.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "msn"="..\protocols\MSN\msn.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "mwclist"="..\plugins\mwclist\mwclist.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "scriver"="..\plugins\Scriver\scriver.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "srmm"="..\plugins\srmm\srmm.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "tabSRMM"="..\plugins\tabsrmm\tabsrmm.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "zlib"="..\plugins\zlib\zlib.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/bin/rebaser.exe b/bin/rebaser.exe new file mode 100644 index 0000000000..a3f0526daf Binary files /dev/null and b/bin/rebaser.exe differ -- cgit v1.2.3