summary refs log tree commit diff stats
path: root/build/release-x86.bat
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-10-29 19:40:02 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-10-29 19:40:02 +0200
commit6d0fa458f0bd3209e452b28242fa4c32afbffecf (patch)
tree6fc919a26460a721432af3561d1b54d86f230a9c /build/release-x86.bat
parent82be51593735727056605b8e947281c9c19592ee (diff)
update wdk distribution to use relative paths where possible
Diffstat (limited to 'build/release-x86.bat')
-rw-r--r--build/release-x86.bat82
1 files changed, 39 insertions, 43 deletions
diff --git a/build/release-x86.bat b/build/release-x86.bat
index e94e7742..8c234bf1 100644
--- a/build/release-x86.bat
+++ b/build/release-x86.bat
@@ -1,51 +1,47 @@
 @echo off
-set GTK_BIN=c:\mozilla-build\build\xchat-dev32\bin
-set SSL_BIN=c:\mozilla-build\build\openssl-wdk-1.0.0a-x86\bin
-set LUA_BIN=c:\mozilla-build\build\lua-wdk-5.1.4-2-x86\bin
-set ENCHANT_BIN=c:\mozilla-build\build\enchant-wdk-1.6.0-x86\bin
-set XCHAT_DEST=c:\mozilla-build\build\xchat-wdk-uni
+set DEPS_ROOT=..\dep-x86
+set XCHAT_DEST=..\tmp
 rmdir /q /s %XCHAT_DEST%
 mkdir %XCHAT_DEST%
 echo 2> portable-mode
 move portable-mode %XCHAT_DEST%
 copy ..\src\fe-gtk\xchat.exe %XCHAT_DEST%
-copy %GTK_BIN%\libgtk-win32-2.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libgdk_pixbuf-2.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libgio-2.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libglib-2.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libgmodule-2.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libgobject-2.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libgthread-2.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libpng14-14.dll %XCHAT_DEST%
-copy %GTK_BIN%\libgdk-win32-2.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libcairo-2.dll %XCHAT_DEST%
-copy %GTK_BIN%\libfontconfig-1.dll %XCHAT_DEST%
-copy %GTK_BIN%\libexpat-1.dll %XCHAT_DEST%
-copy %GTK_BIN%\freetype6.dll %XCHAT_DEST%
-copy %GTK_BIN%\libpango-1.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libpangocairo-1.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libpangoft2-1.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libpangowin32-1.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\libatk-1.0-0.dll %XCHAT_DEST%
-copy %GTK_BIN%\intl.dll %XCHAT_DEST%
-xcopy /q /s /i %GTK_BIN%\..\lib\gtk-2.0\2.10.0\engines\libpixmap.dll %XCHAT_DEST%\lib\gtk-2.0\2.10.0\engines\
-copy %GTK_BIN%\..\lib\gtk-2.0\2.10.0\engines\libwimp.dll %XCHAT_DEST%\lib\gtk-2.0\2.10.0\engines
-xcopy /q /s /i %GTK_BIN%\..\lib\gtk-2.0\modules\libgail.dll %XCHAT_DEST%\lib\gtk-2.0\modules\
+copy %DEPS_ROOT%\bin\libgtk-win32-2.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libgdk_pixbuf-2.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libgio-2.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libglib-2.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libgmodule-2.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libgobject-2.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libgthread-2.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libpng14-14.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libgdk-win32-2.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libcairo-2.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libfontconfig-1.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libexpat-1.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\freetype6.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libpango-1.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libpangocairo-1.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libpangoft2-1.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libpangowin32-1.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libatk-1.0-0.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\intl.dll %XCHAT_DEST%
+xcopy /q /s /i %DEPS_ROOT%\lib\gtk-2.0\2.10.0\engines\libpixmap.dll %XCHAT_DEST%\lib\gtk-2.0\2.10.0\engines\
+copy %DEPS_ROOT%\lib\gtk-2.0\2.10.0\engines\libwimp.dll %XCHAT_DEST%\lib\gtk-2.0\2.10.0\engines
+xcopy /q /s /i %DEPS_ROOT%\lib\gtk-2.0\modules\libgail.dll %XCHAT_DEST%\lib\gtk-2.0\modules\
 xcopy /q /s /i etc %XCHAT_DEST%\etc
 copy ..\COPYING %XCHAT_DEST%
-copy %SSL_BIN%\..\LICENSE.OPENSSL %XCHAT_DEST%
-copy %SSL_BIN%\..\LICENSE.ZLIB %XCHAT_DEST%
-copy %GTK_BIN%\..\share\doc\glib-2.26.0\COPYING %XCHAT_DEST%\LICENSE.GTK
-copy %GTK_BIN%\..\share\doc\cairo_1.10.0-1_win32\COPYING-LGPL-2.1 %XCHAT_DEST%\LICENSE.CAIRO
-copy %LUA_BIN%\..\COPYRIGHT %XCHAT_DEST%\LICENSE.LUA
-copy %ENCHANT_BIN%\..\COPYING %XCHAT_DEST%\LICENSE.ENCHANT
-copy %SSL_BIN%\libeay32.dll %XCHAT_DEST%
-copy %SSL_BIN%\ssleay32.dll %XCHAT_DEST%
-copy %SSL_BIN%\zlib1.dll %XCHAT_DEST%
-copy %SSL_BIN%\cert.pem %XCHAT_DEST%
-copy %ENCHANT_BIN%\libenchant.dll %XCHAT_DEST%
-xcopy /q /s /i %ENCHANT_BIN%\..\lib\enchant\libenchant_myspell.dll %XCHAT_DEST%\lib\enchant\
-::xcopy /q /s /i ..\plugins\ewc\xcewc.dll %XCHAT_DEST%\plugins\
+copy %DEPS_ROOT%\LICENSE.OPENSSL %XCHAT_DEST%
+copy %DEPS_ROOT%\LICENSE.ZLIB %XCHAT_DEST%
+copy %DEPS_ROOT%\share\doc\glib-2.26.0\COPYING %XCHAT_DEST%\LICENSE.GTK
+copy %DEPS_ROOT%\share\doc\cairo_1.10.0-1_win32\COPYING-LGPL-2.1 %XCHAT_DEST%\LICENSE.CAIRO
+copy %DEPS_ROOT%\LICENSE.LUA %XCHAT_DEST%
+copy %DEPS_ROOT%\LICENSE.ENCHANT %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libeay32.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\ssleay32.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\zlib1.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\cert.pem %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\libenchant.dll %XCHAT_DEST%
+xcopy /q /s /i %DEPS_ROOT%\lib\enchant\libenchant_myspell.dll %XCHAT_DEST%\lib\enchant\
 xcopy /q /s /i ..\plugins\checksum\xcchecksum.dll %XCHAT_DEST%\plugins\
 copy ..\plugins\lua\xclua.dll %XCHAT_DEST%\plugins
 copy ..\plugins\perl\xcperl-510.dll %XCHAT_DEST%\plugins
@@ -56,7 +52,7 @@ copy ..\plugins\upd\xcupd.dll %XCHAT_DEST%\plugins
 copy ..\plugins\xdcc\xcxdcc.dll %XCHAT_DEST%\plugins
 copy ..\plugins\xtray\xtray.dll %XCHAT_DEST%\plugins
 copy ..\plugins\winamp\xcwinamp.dll %XCHAT_DEST%\plugins
-copy %LUA_BIN%\lua51.dll %XCHAT_DEST%
+copy %DEPS_ROOT%\bin\lua51.dll %XCHAT_DEST%
 xcopy /q /s /i ..\po\locale %XCHAT_DEST%\locale
-xcopy /q /s /i %GTK_BIN%\..\share\locale %XCHAT_DEST%\share\locale
-xcopy /q /s /i ..\..\myspell %XCHAT_DEST%\share\myspell
+xcopy /q /s /i %DEPS_ROOT%\share\locale %XCHAT_DEST%\share\locale
+xcopy /q /s /i ..\dep-x86\myspell %XCHAT_DEST%\share\myspell