Get msgfmt if we do not have it.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9742 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
be907e3994
commit
fb99df7950
|
@ -1470,20 +1470,20 @@
|
|||
2244463B0E3EB7CB004D0F1F /* messagely.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = messagely.h; path = ../src/messagely.h; sourceTree = SOURCE_ROOT; };
|
||||
22E244D40E65361800EC2B3E /* baseobject.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = baseobject.c; path = ../src/baseobject.c; sourceTree = SOURCE_ROOT; };
|
||||
22E244D50E65361800EC2B3E /* baseobject.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = baseobject.h; path = ../src/baseobject.h; sourceTree = SOURCE_ROOT; };
|
||||
43025C33111FB072006C49B1 /* de */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C36111FB072006C49B1 /* en_GB */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = en_GB; path = en_GB.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C39111FB072006C49B1 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C3B111FB072006C49B1 /* es */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C43111FB072006C49B1 /* fr */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C4E111FB072006C49B1 /* it */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C5D111FB072006C49B1 /* pl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C60111FB072006C49B1 /* pt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C63111FB072006C49B1 /* pt_BR */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = pt_BR; path = pt_BR.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C69111FB072006C49B1 /* ru */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C6C111FB072006C49B1 /* sl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = sl; path = sl.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C6F111FB072006C49B1 /* uk_UA */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = uk_UA; path = uk_UA.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C75111FB072006C49B1 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = zh_TW; path = zh_TW.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025D0C111FC870006C49B1 /* et_EE */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = et_EE; path = et_EE.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C33111FB072006C49B1 /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = de; path = de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C36111FB072006C49B1 /* en_GB */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = en_GB; path = en_GB.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C39111FB072006C49B1 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C3B111FB072006C49B1 /* es */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = es; path = es.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C43111FB072006C49B1 /* fr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = fr; path = fr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C4E111FB072006C49B1 /* it */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = it; path = it.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C5D111FB072006C49B1 /* pl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = pl; path = pl.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C60111FB072006C49B1 /* pt */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C63111FB072006C49B1 /* pt_BR */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = pt_BR; path = pt_BR.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C69111FB072006C49B1 /* ru */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = ru; path = ru.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C6C111FB072006C49B1 /* sl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = sl; path = sl.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C6F111FB072006C49B1 /* uk_UA */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = uk_UA; path = uk_UA.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025C75111FB072006C49B1 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = zh_TW; path = zh_TW.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
43025D0C111FC870006C49B1 /* et_EE */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; lineEnding = 0; name = et_EE; path = et_EE.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
432BE34A10D9C21900A486AB /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDLMain.h; sourceTree = "<group>"; };
|
||||
432BE34B10D9C21900A486AB /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDLMain.m; sourceTree = "<group>"; };
|
||||
432BE34C10D9C21900A486AB /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = SDL.framework; sourceTree = "<group>"; };
|
||||
|
@ -3827,7 +3827,7 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "# SDL\nSDL_DLP=\"http://downloads.sourceforge.net/project/warzone2100/build-tools/mac/SDL.tar.gz\"\nSDL_MD5=\"200bf42ff5118a57b26114248cc6b9fe\"\nSDL_DIRECTORY=\"SDL_\"\nSDL_OUTDIR=\"SDL\"\nSDL_FILENAME=\"SDL.tar.gz\"\n\n# Checks\nif [ -d \"external/${SDL_OUTDIR}\" ]; then\n echo \"${SDL_OUTDIR} exists, skipping\"\n exit 0\nelif [ -d \"prebuilt/${SDL_DIRECTORY}\" ]; then\n echo \"${SDL_DIRECTORY} exists, probably from an earlier failed run\"\n exit 1\nfi\n\n# Download\ncd prebuilt\nif [ ! -f \"${SDL_FILENAME}\" ]; then\n echo \"Fetching ${SDL_FILENAME}\"\n if ! curl -L -O --connect-timeout \"30\" \"${SDL_DLP}\"; then\n echo \"Unable to fetch ${SDL_DLP}\"\n exit 1\n fi\nelse\n echo \"${SDL_FILENAME} already exists, skipping\"\nfi\n\n# MD5 check\nHAVEMD5=`md5 -q \"${SDL_FILENAME}\"`\nif [ -z \"$HAVEMD5\" ]; then\n echo \"Unable to compute md5 for ${SDL_FILENAME}\"\n exit 1\nfi\nif [ \"$HAVEMD5\" != \"$SDL_MD5\" ]; then\n echo \"MD5 does not match for ${SDL_FILENAME}\"\n exit 1\nfi\n\n# Unpack\nif ! tar -zxf \"${SDL_FILENAME}\"; then\n echo \"Unpacking $SDL_FILENAME failed\"\n exit 1\nfi\n\n# Move\nif [ ! -d \"${SDL_DIRECTORY}\" ]; then\n echo \"Can't find $SDL_DIRECTORY to rename\"\n exit 1\nelse\n cd ..\n mv \"prebuilt/${SDL_DIRECTORY}\" \"external/${SDL_OUTDIR}\"\nfi\n\nexit 0";
|
||||
shellScript = "# SDL\nSDL_DLP=\"http://downloads.sourceforge.net/project/warzone2100/build-tools/mac/SDL.tar.gz\"\nSDL_MD5=\"200bf42ff5118a57b26114248cc6b9fe\"\nSDL_DIRECTORY=\"SDL_\"\nSDL_OUTDIR=\"SDL\"\nSDL_FILENAME=\"SDL.tar.gz\"\n\n# Checks\nif [ -d \"external/${SDL_OUTDIR}\" ]; then\n echo \"${SDL_OUTDIR} exists, skipping\"\n exit 0\nelif [ -d \"prebuilt/${SDL_DIRECTORY}\" ]; then\n echo \"${SDL_DIRECTORY} exists, probably from an earlier failed run\"\n exit 1\nfi\n\n# Download\ncd prebuilt\nif [ ! -f \"${SDL_FILENAME}\" ]; then\n echo \"Fetching ${SDL_FILENAME}\"\n if ! curl -L -O --connect-timeout \"30\" \"${SDL_DLP}\"; then\n echo \"Unable to fetch ${SDL_DLP}\"\n exit 1\n fi\nelse\n echo \"${SDL_FILENAME} already exists, skipping\"\nfi\n\n# MD5 check\nHAVEMD5=`md5 -q \"${SDL_FILENAME}\"`\nif [ -z \"$HAVEMD5\" ]; then\n echo \"Unable to compute md5 for ${SDL_FILENAME}\"\n exit 1\nfi\nif [ \"$HAVEMD5\" != \"$SDL_MD5\" ]; then\n echo \"MD5 does not match for ${SDL_FILENAME}\"\n exit 1\nfi\n\n# Unpack\nif ! tar -zxf \"${SDL_FILENAME}\"; then\n echo \"Unpacking $SDL_FILENAME failed\"\n exit 1\nfi\n\n# Move\nif [ ! -d \"${SDL_DIRECTORY}\" ]; then\n echo \"Can't find $SDL_DIRECTORY to rename\"\n exit 1\nelse\n cd ..\n mv \"prebuilt/${SDL_DIRECTORY}\" \"external/${SDL_OUTDIR}\"\nfi\n\n# GTB\nGTB_DLP=\"http://downloads.sourceforge.net/project/warzone2100/build-tools/mac/gettext-bin.tar.gz\"\nGTB_MD5=\"8e81e3c6e4a2fb92773d48ea8fc6d74a\"\nGTB_DIRECTORY=\"gettext-bin_\"\nGTB_OUTDIR=\"gettext-bin\"\nGTB_FILENAME=\"gettext-bin.tar.gz\"\n\n# Checks\nexport PATH=$PATH:/opt/local/bin:/sw/bin\nif type -aP msgfmt; then\n echo \"msgfmt exists, skipping\"\n exit 0\nelif [ -d \"external/${GTB_OUTDIR}\" ]; then\n echo \"${GTB_OUTDIR} exists, skipping\"\n exit 0\nelif [ -d \"prebuilt/${GTB_DIRECTORY}\" ]; then\n echo \"${GTB_DIRECTORY} exists, probably from an earlier failed run\"\n exit 1\nfi\n\n# Download\ncd prebuilt\nif [ ! -f \"${GTB_FILENAME}\" ]; then\n echo \"Fetching ${GTB_FILENAME}\"\n if ! curl -L -O --connect-timeout \"30\" \"${GTB_DLP}\"; then\n echo \"Unable to fetch ${GTB_DLP}\"\n exit 1\n fi\nelse\n echo \"${GTB_FILENAME} already exists, skipping\"\nfi\n\n# MD5 check\nHAVEMD5=`md5 -q \"${GTB_FILENAME}\"`\nif [ -z \"$HAVEMD5\" ]; then\n echo \"Unable to compute md5 for ${GTB_FILENAME}\"\n exit 1\nfi\nif [ \"$HAVEMD5\" != \"$GTB_MD5\" ]; then\n echo \"MD5 does not match for ${GTB_FILENAME}\"\n exit 1\nfi\n\n# Unpack\nif ! tar -zxf \"${GTB_FILENAME}\"; then\n echo \"Unpacking $GTB_FILENAME failed\"\n exit 1\nfi\n\n# Move\nif [ ! -d \"${GTB_DIRECTORY}\" ]; then\n echo \"Can't find $GTB_DIRECTORY to rename\"\n exit 1\nelse\n cd ..\n mv \"prebuilt/${GTB_DIRECTORY}\" \"external/${GTB_OUTDIR}\"\nfi\n\n# Install\nif ! cp -npv \"external/${GTB_OUTDIR}/*.dylib\" \"/usr/local/lib/\"; then\n if ! sudo cp -npv \"external/${GTB_OUTDIR}/*.dylib\" \"/usr/local/lib/\"; then\n echo \"Cannot install the libraries.\"\n exit 1\n fi\nfi\n\nexit 0";
|
||||
};
|
||||
9711774C0F87A677000C8A96 /* Fetch source */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
|
@ -4467,6 +4467,7 @@
|
|||
43025C36111FB072006C49B1 /* en_GB */,
|
||||
43025C39111FB072006C49B1 /* English */,
|
||||
43025C3B111FB072006C49B1 /* es */,
|
||||
43025D0C111FC870006C49B1 /* et_EE */,
|
||||
43025C43111FB072006C49B1 /* fr */,
|
||||
43025C4E111FB072006C49B1 /* it */,
|
||||
43025C5D111FB072006C49B1 /* pl */,
|
||||
|
@ -4476,7 +4477,6 @@
|
|||
43025C6C111FB072006C49B1 /* sl */,
|
||||
43025C6F111FB072006C49B1 /* uk_UA */,
|
||||
43025C75111FB072006C49B1 /* zh_TW */,
|
||||
43025D0C111FC870006C49B1 /* et_EE */,
|
||||
);
|
||||
name = InfoPlist.strings;
|
||||
sourceTree = "<group>";
|
||||
|
|
Loading…
Reference in New Issue