summary refs log tree commit diff stats
path: root/win32
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-01 14:08:20 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-01 14:08:20 +0200
commit5a5c1798aa928863bc7f5e0a48d2051ec14c144b (patch)
treecfda79e3562625299c2604470a8bafffcab2429a /win32
parent67c9bdb289b2dfa4604c284246200f0ccf6331eb (diff)
Add Fontconfig release scripts
Diffstat (limited to 'win32')
-rw-r--r--win32/deps/fontconfig/release-x64.bat43
-rw-r--r--win32/deps/fontconfig/release-x86.bat43
2 files changed, 86 insertions, 0 deletions
diff --git a/win32/deps/fontconfig/release-x64.bat b/win32/deps/fontconfig/release-x64.bat
new file mode 100644
index 00000000..ca752ace
--- /dev/null
+++ b/win32/deps/fontconfig/release-x64.bat
@@ -0,0 +1,43 @@
+:: run this from a command prompt

+@echo off

+

+SET PACKAGE_NAME=fontconfig-2.8.0

+

+set FONTCONFIG_SRC=%cd%

+set FONTCONFIG_DEST=%cd%-x64

+echo.Press return when ready to install!

+pause

+

+rmdir /q /s %FONTCONFIG_DEST%

+mkdir %FONTCONFIG_DEST%

+mkdir %FONTCONFIG_DEST%\bin

+mkdir %FONTCONFIG_DEST%\etc

+mkdir %FONTCONFIG_DEST%\etc\fonts

+mkdir %FONTCONFIG_DEST%\include

+mkdir %FONTCONFIG_DEST%\include\fontconfig

+mkdir %FONTCONFIG_DEST%\lib

+copy x64\Release\fontconfig.dll %FONTCONFIG_DEST%\bin

+copy x64\Release\fc-cache.exe %FONTCONFIG_DEST%\bin

+copy x64\Release\fc-cat.exe %FONTCONFIG_DEST%\bin

+copy x64\Release\fc-list.exe %FONTCONFIG_DEST%\bin

+copy x64\Release\fc-match.exe %FONTCONFIG_DEST%\bin

+copy x64\Release\fc-query.exe %FONTCONFIG_DEST%\bin

+copy x64\Release\fc-scan.exe %FONTCONFIG_DEST%\bin

+copy fonts.conf %FONTCONFIG_DEST%\etc\fonts

+copy fonts.dtd %FONTCONFIG_DEST%\etc\fonts

+copy fontconfig\fcfreetype.h %FONTCONFIG_DEST%\include\fontconfig

+copy fontconfig\fcprivate.h %FONTCONFIG_DEST%\include\fontconfig

+copy fontconfig\fontconfig.h %FONTCONFIG_DEST%\include\fontconfig

+copy x64\Release\fontconfig.exp %FONTCONFIG_DEST%\lib

+copy x64\Release\fontconfig.lib %FONTCONFIG_DEST%\lib

+copy COPYING %FONTCONFIG_DEST%\LICENSE.FONTCONFIG

+

+cd %FONTCONFIG_DEST%

+set PATH=%PATH%;%ProgramFiles%\7-zip

+del ..\%PACKAGE_NAME%-x64.7z

+7z a ..\%PACKAGE_NAME%-x64.7z *

+cd %FONTCONFIG_SRC%

+rmdir /q /s %FONTCONFIG_DEST%

+

+echo.Finished!

+pause

diff --git a/win32/deps/fontconfig/release-x86.bat b/win32/deps/fontconfig/release-x86.bat
new file mode 100644
index 00000000..1b206b0a
--- /dev/null
+++ b/win32/deps/fontconfig/release-x86.bat
@@ -0,0 +1,43 @@
+:: run this from a command prompt

+@echo off

+

+SET PACKAGE_NAME=fontconfig-2.8.0

+

+set FONTCONFIG_SRC=%cd%

+set FONTCONFIG_DEST=%cd%-x86

+echo.Press return when ready to install!

+pause

+

+rmdir /q /s %FONTCONFIG_DEST%

+mkdir %FONTCONFIG_DEST%

+mkdir %FONTCONFIG_DEST%\bin

+mkdir %FONTCONFIG_DEST%\etc

+mkdir %FONTCONFIG_DEST%\etc\fonts

+mkdir %FONTCONFIG_DEST%\include

+mkdir %FONTCONFIG_DEST%\include\fontconfig

+mkdir %FONTCONFIG_DEST%\lib

+copy Release\fontconfig.dll %FONTCONFIG_DEST%\bin

+copy Release\fc-cache.exe %FONTCONFIG_DEST%\bin

+copy Release\fc-cat.exe %FONTCONFIG_DEST%\bin

+copy Release\fc-list.exe %FONTCONFIG_DEST%\bin

+copy Release\fc-match.exe %FONTCONFIG_DEST%\bin

+copy Release\fc-query.exe %FONTCONFIG_DEST%\bin

+copy Release\fc-scan.exe %FONTCONFIG_DEST%\bin

+copy fonts.conf %FONTCONFIG_DEST%\etc\fonts

+copy fonts.dtd %FONTCONFIG_DEST%\etc\fonts

+copy fontconfig\fcfreetype.h %FONTCONFIG_DEST%\include\fontconfig

+copy fontconfig\fcprivate.h %FONTCONFIG_DEST%\include\fontconfig

+copy fontconfig\fontconfig.h %FONTCONFIG_DEST%\include\fontconfig

+copy Release\fontconfig.exp %FONTCONFIG_DEST%\lib

+copy Release\fontconfig.lib %FONTCONFIG_DEST%\lib

+copy COPYING %FONTCONFIG_DEST%\LICENSE.FONTCONFIG

+

+cd %FONTCONFIG_DEST%

+set PATH=%PATH%;%ProgramFiles%\7-zip

+del ..\%PACKAGE_NAME%-x86.7z

+7z a ..\%PACKAGE_NAME%-x86.7z *

+cd %FONTCONFIG_SRC%

+rmdir /q /s %FONTCONFIG_DEST%

+

+echo.Finished!

+pause