Substitute the FontConfig Cache dir in fonts.conf to use the proper (versioned)

path: ~/Library/Application Data/Aegisub-<AEGISUB_VERSION_DATA>

Originally committed to SVN as r2736.
This commit is contained in:
Amar Takhar 2009-02-16 01:57:19 +00:00
parent 8ba90af9cd
commit 8dc0f77fa1
3 changed files with 4 additions and 2 deletions

View File

@ -74,7 +74,7 @@
<!-- Font cache directory list -->
<cachedir>~/Library/Application Support/Aegisub/cache/fonts</cachedir>
<cachedir>~/Library/Application Support/Aegisub-@FONTCONFIG_VERSION_DATA@/font_cache</cachedir>
<config>

View File

@ -1,3 +1,4 @@
s/@PLIST_VERSION@/@VERSION@/g
s/@PLIST_SVN_REVISION@/@SVN_REVISION@/g
s/@PLIST_BUILD_DATE@/@BUILD_DATE@/g
s/@FONTCONFIG_VERSION_DATA@/@AEGISUB_VERSION_DATA@/g

View File

@ -34,7 +34,8 @@ echo
echo "---- Copying Skel Files ----"
find ${SKEL_DIR} -type f -not -regex ".*.svn.*"
cp ${SKEL_DIR}/Contents/Resources/*.icns ${PKG_DIR}/Contents/Resources
cp ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.* ${PKG_DIR}/Contents/Resources/etc/fonts
cp ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.dtd ${PKG_DIR}/Contents/Resources/etc/fonts
cat ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.conf |sed -f scripts/osx-bundle.sed > ${PKG_DIR}/Contents/Resources/etc/fonts/fonts.conf
cp ${SKEL_DIR}/Contents/Resources/etc/fonts/conf.d/*.conf ${PKG_DIR}/Contents/Resources/etc/fonts/conf.d
cat ${SKEL_DIR}/Contents/Info.plist |sed -f scripts/osx-bundle.sed > ${PKG_DIR}/Contents/Info.plist