summary refs log tree commit diff stats
path: root/win32/deps/enchant/build-x64.bat
blob: b4a41f310c0e418ebc050e488e0d89caaeb019e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
:: run this from a VS x64 command prompt
@echo off

SET PACKAGE_NAME=enchant-1.6.0

set ENCHANT_SRC=%cd%
set ENCHANT_DEST=%cd%-x64
cd src
nmake -f makefile.mak clean
nmake -f makefile.mak X64=1 DLL=1 MFLAGS=-MD GLIBDIR=..\..\build\x64\include\glib-2.0
cd ..
echo.Press return when ready to install!
pause

set RELEASE_DIR=bin\release
rmdir /q /s %ENCHANT_DEST%
mkdir %ENCHANT_DEST%
mkdir %ENCHANT_DEST%\bin
mkdir %ENCHANT_DEST%\include
mkdir %ENCHANT_DEST%\include\enchant
mkdir %ENCHANT_DEST%\lib
mkdir %ENCHANT_DEST%\lib\enchant
mkdir %ENCHANT_DEST%\share
mkdir %ENCHANT_DEST%\share\doc
mkdir %ENCHANT_DEST%\share\doc\enchant
copy %RELEASE_DIR%\enchant.exe %ENCHANT_DEST%\bin
copy %RELEASE_DIR%\enchant-lsmod.exe %ENCHANT_DEST%\bin
copy %RELEASE_DIR%\libenchant.dll %ENCHANT_DEST%\bin
copy src\enchant.h %ENCHANT_DEST%\include\enchant
copy "src\enchant++.h" %ENCHANT_DEST%\include\enchant
copy src\enchant-provider.h %ENCHANT_DEST%\include\enchant
copy %RELEASE_DIR%\libenchant_ispell.dll %ENCHANT_DEST%\lib\enchant
copy %RELEASE_DIR%\libenchant_ispell.lib %ENCHANT_DEST%\lib\enchant
copy %RELEASE_DIR%\libenchant_myspell.dll %ENCHANT_DEST%\lib\enchant
copy %RELEASE_DIR%\libenchant_myspell.lib %ENCHANT_DEST%\lib\enchant
copy %RELEASE_DIR%\libenchant.lib %ENCHANT_DEST%\lib
copy COPYING.LIB %ENCHANT_DEST%\share\doc\enchant\COPYING
cd src
nmake -f makefile.mak clean

cd %ENCHANT_DEST%
set PATH=%PATH%;%ProgramFiles%\7-zip
del ..\%PACKAGE_NAME%-x64.7z
7z a ..\%PACKAGE_NAME%-x64.7z *
cd %ENCHANT_SRC%
rmdir /q /s %ENCHANT_DEST%

echo.Finished!
pause
n class="w"> name="name" direction="in"/> <arg type="s" name="desc" direction="in"/> <arg type="s" name="version" direction="in"/> <arg type="s" name="path" direction="out"/> </method> <method name="Disconnect"> <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> </method> </interface> <interface name="org.hexchat.plugin"> <method name="Command"> <arg type="s" name="command" direction="in"/> </method> <method name="Print"> <arg type="s" name="text" direction="in"/> </method> <method name="FindContext"> <arg type="s" name="server" direction="in"/> <arg type="s" name="channel" direction="in"/> <arg type="u" name="ret_id" direction="out"/> </method> <method name="GetContext"> <arg type="u" name="ret_id" direction="out"/> </method> <method name="SetContext"> <arg type="u" name="id" direction="in"/> <arg type="b" name="ret" direction="out"/> </method> <method name="GetInfo"> <arg type="s" name="id" direction="in"/> <arg type="s" name="ret_info" direction="out"/> </method> <method name="GetPrefs"> <arg type="s" name="name" direction="in"/> <arg type="i" name="ret_type" direction="out"/> <arg type="s" name="ret_str" direction="out"/> <arg type="i" name="ret_int" direction="out"/> </method> <method name="HookCommand"> <arg type="s" name="name" direction="in"/> <arg type="i" name="priority" direction="in"/> <arg type="s" name="help_text" direction="in"/> <arg type="i" name="return_value" direction="in"/> <arg type="u" name="ret_id" direction="out"/> </method> <method name="HookServer"> <arg type="s" name="name" direction="in"/> <arg type="i" name="priority" direction="in"/> <arg type="i" name="return_value" direction="in"/> <arg type="u" name="ret_id" direction="out"/> </method> <method name="HookPrint"> <arg type="s" name="name" direction="in"/> <arg type="i" name="priority" direction="in"/> <arg type="i" name="return_value" direction="in"/> <arg type="u" name="ret_id" direction="out"/> </method> <method name="Unhook"> <arg type="u" name="id" direction="in"/> </method> <method name="ListGet"> <arg type="s" name="name" direction="in"/> <arg type="u" name="ret_id" direction="out"/> </method> <method name="ListNext"> <arg type="u" name="id" direction="in"/> <arg type="b" name="ret" direction="out"/> </method> <method name="ListStr"> <arg type="u" name="id" direction="in"/> <arg type="s" name="name" direction="in"/> <arg type="s" name="ret_str" direction="out"/> </method> <method name="ListInt"> <arg type="u" name="id" direction="in"/> <arg type="s" name="name" direction="in"/> <arg type="i" name="ret_int" direction="out"/> </method> <method name="ListTime"> <arg type="u" name="id" direction="in"/> <arg type="s" name="name" direction="in"/> <arg type="t" name="ret_time" direction="out"/> </method> <method name="ListFields"> <arg type="s" name="name" direction="in"/> <arg type="as" name="ret" direction="out"/> </method> <method name="ListFree"> <arg type="u" name="id" direction="in"/> </method> <method name="EmitPrint"> <arg type="s" name="event_name" direction="in"/> <arg type="as" name="args" direction="in"/> <arg type="b" name="ret" direction="out"/> </method> <method name="Nickcmp"> <arg type="s" name="nick1" direction="in"/> <arg type="s" name="nick2" direction="in"/> <arg type="i" name="ret" direction="out"/> </method> <method name="Strip"> <arg type="s" name="str" direction="in"/> <arg type="i" name="len" direction="in"/> <arg type="i" name="flag" direction="in"/> <arg type="s" name="ret_str" direction="out"/> </method> <method name="SendModes"> <arg type="as" name="targets" direction="in"/> <arg type="i" name="modes_per_line" direction="in"/> <arg type="y" name="sign" direction="in"/> <arg type="y" name="mode" direction="in"/> </method> <signal name="CommandSignal"> <arg type="as" name="word"/> <arg type="as" name="word_eol"/> <arg type="u" name="hook_id"/> <arg type="u" name="context_id"/> </signal> <signal name="ServerSignal"> <arg type="as" name="word"/> <arg type="as" name="word_eol"/> <arg type="u" name="hook_id"/> <arg type="u" name="context_id"/> </signal> <signal name="PrintSignal"> <arg type="as" name="word"/> <arg type="u" name="hook_id"/> <arg type="u" name="context_id"/> </signal> <signal name="UnloadSignal"/> </interface> </node>