mirror of
https://github.com/moparisthebest/hexchat
synced 2024-12-21 23:28:51 -05:00
Add gettext-runtime build scripts and patches
This commit is contained in:
parent
179a1db89a
commit
b3d00a8dc0
28
win32/deps/gettext-runtime/build-x64.bat
Normal file
28
win32/deps/gettext-runtime/build-x64.bat
Normal file
@ -0,0 +1,28 @@
|
||||
:: run this from a VS x64 command prompt
|
||||
@echo off
|
||||
|
||||
SET PACKAGE_NAME=gettext-runtime-0.18
|
||||
|
||||
set GETTEXT_SRC=%cd%
|
||||
set GETTEXT_DEST=%cd%-x64
|
||||
del CMakeCache.txt
|
||||
rmdir /q /s CMakeFiles
|
||||
cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%GETTEXT_DEST% -DCMAKE_BUILD_TYPE=Release -DICONV_INCLUDE_DIR=%GETTEXT_SRC%\..\build\x64\include -DICONV_LIBRARIES=%GETTEXT_SRC%\..\build\x64\lib\iconv.lib
|
||||
nmake clean
|
||||
nmake
|
||||
echo.Press return when ready to install!
|
||||
pause
|
||||
|
||||
nmake install
|
||||
nmake clean
|
||||
copy COPYING %GETTEXT_DEST%\LICENSE.GETTEXT
|
||||
|
||||
cd %GETTEXT_DEST%
|
||||
set PATH=%PATH%;%ProgramFiles%\7-zip
|
||||
del ..\%PACKAGE_NAME%-x64.7z
|
||||
7z a ..\%PACKAGE_NAME%-x64.7z *
|
||||
cd %GETTEXT_SRC%
|
||||
rmdir /q /s %GETTEXT_DEST%
|
||||
|
||||
echo.Finished!
|
||||
pause
|
28
win32/deps/gettext-runtime/build-x86.bat
Normal file
28
win32/deps/gettext-runtime/build-x86.bat
Normal file
@ -0,0 +1,28 @@
|
||||
:: run this from a VS x86 command prompt
|
||||
@echo off
|
||||
|
||||
SET PACKAGE_NAME=gettext-runtime-0.18
|
||||
|
||||
set GETTEXT_SRC=%cd%
|
||||
set GETTEXT_DEST=%cd%-x86
|
||||
del CMakeCache.txt
|
||||
rmdir /q /s CMakeFiles
|
||||
cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%GETTEXT_DEST% -DCMAKE_BUILD_TYPE=Release -DICONV_INCLUDE_DIR=%GETTEXT_SRC%\..\build\Win32\include -DICONV_LIBRARIES=%GETTEXT_SRC%\..\build\Win32\lib\iconv.lib
|
||||
nmake clean
|
||||
nmake
|
||||
echo.Press return when ready to install!
|
||||
pause
|
||||
|
||||
nmake install
|
||||
nmake clean
|
||||
copy COPYING %GETTEXT_DEST%\LICENSE.GETTEXT
|
||||
|
||||
cd %GETTEXT_DEST%
|
||||
set PATH=%PATH%;%ProgramFiles%\7-zip
|
||||
del ..\%PACKAGE_NAME%-x86.7z
|
||||
7z a ..\%PACKAGE_NAME%-x86.7z *
|
||||
cd %GETTEXT_SRC%
|
||||
rmdir /q /s %GETTEXT_DEST%
|
||||
|
||||
echo.Finished!
|
||||
pause
|
20
win32/deps/gettext-runtime/gettext-runtime.patch
Normal file
20
win32/deps/gettext-runtime/gettext-runtime.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff -ruN --strip-trailing-cr gettext-runtime-0.18.orig/gettext-runtime/intl/intl.def gettext-runtime-0.18/gettext-runtime/intl/intl.def
|
||||
--- gettext-runtime-0.18.orig/gettext-runtime/intl/intl.def 2012-09-28 21:56:54 +0200
|
||||
+++ gettext-runtime-0.18/gettext-runtime/intl/intl.def 2012-09-28 21:56:44 +0200
|
||||
@@ -1,4 +1,3 @@
|
||||
-LIBRARY libintl.DLL
|
||||
EXPORTS
|
||||
;_imp___ctype_ptr
|
||||
_nl_expand_alias
|
||||
@@ -43,6 +42,11 @@
|
||||
libintl_nl_default_default_domain
|
||||
libintl_nl_default_dirname
|
||||
libintl_nl_domain_bindings
|
||||
+libintl_vfprintf
|
||||
+libintl_vprintf
|
||||
+libintl_vsprintf
|
||||
+libintl_printf
|
||||
+libintl_sprintf
|
||||
;libintl_relocate
|
||||
;libintl_set_relocation_prefix
|
||||
libintl_setlocale
|
Loading…
Reference in New Issue
Block a user