Commit b3d00a8d authored by Berke Viktor's avatar Berke Viktor
Browse files

Add gettext-runtime build scripts and patches

parent 179a1db8
:: 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
:: 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
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment