Update libpng to 1.4.2 and upgrade warnings to force rebuilds.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/qt-trunk@10867 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
3fb8c3605b
commit
3e3cc64aff
|
@ -3330,7 +3330,7 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "DirectorY=\"libpng-1.4.1\"\nOutDir=\"libpng\"\nFileName=\"libpng-1.4.1.tar.gz\"\nSourceDLP=\"http://downloads.sourceforge.net/project/libpng/01-libpng-master/1.4.1/libpng-1.4.1.tar.gz\"\nMD5Sum=\"fa0b2a84733463f90d3ac9f43ccafabc\"\n\nconfigs/FetchSource.sh \"${DirectorY}\" \"${OutDir}\" \"${FileName}\" \"${SourceDLP}\" \"${MD5Sum}\"\nexit ${?}";
|
||||
shellScript = "DirectorY=\"libpng-1.4.2\"\nOutDir=\"libpng\"\nFileName=\"libpng-1.4.2.tar.gz\"\nSourceDLP=\"http://downloads.sourceforge.net/project/libpng/01-libpng-master/1.4.2/libpng-1.4.2.tar.gz\"\nMD5Sum=\"89fd334dc5fc84ff146b9269c4fa452f\"\n\nconfigs/FetchSource.sh \"${DirectorY}\" \"${OutDir}\" \"${FileName}\" \"${SourceDLP}\" \"${MD5Sum}\"\nexit ${?}";
|
||||
};
|
||||
02FD38340BD4012A00776FD3 /* Fetch source */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
|
|
|
@ -32,14 +32,14 @@ elif [ -d "prebuilt/${DirectorY}" ]; then
|
|||
exit 1
|
||||
elif [[ -d "external/${OutDir}" ]] && [[ ! -f "prebuilt/${FileName}" ]]; then
|
||||
# Clean up when updating versions
|
||||
echo "warning: Cached file is outdated or incomplete, removing" >&2
|
||||
rm -fRv "prebuilt/${DirectorY}" "external/${OutDir}"
|
||||
echo "error: Cached file is outdated or incomplete, removing" >&2
|
||||
rm -fR "prebuilt/${DirectorY}" "external/${OutDir}"
|
||||
elif [[ -d "external/${OutDir}" ]] && [[ -f "prebuilt/${FileName}" ]]; then
|
||||
# Check to make sure we have the right file
|
||||
MD5SumLoc=`md5 -q "prebuilt/${FileName}"`
|
||||
if [ "${MD5SumLoc}" != "${MD5Sum}" ]; then
|
||||
echo "warning: Cached file is outdated or incorrect, removing" >&2
|
||||
rm -fRv "prebuilt/${FileName}" "prebuilt/${DirectorY}" "external/${OutDir}"
|
||||
echo "error: Cached file is outdated or incorrect, removing" >&2
|
||||
rm -fR "prebuilt/${FileName}" "prebuilt/${DirectorY}" "external/${OutDir}"
|
||||
else
|
||||
# Do not do more work then we have to
|
||||
echo "${OutDir} already exists, skipping"
|
||||
|
@ -82,6 +82,7 @@ if [ ! -d "${DirectorY}" ]; then
|
|||
else
|
||||
cd ..
|
||||
mv "prebuilt/${DirectorY}" "external/${OutDir}"
|
||||
touch external/${OutDir}/*
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -31,14 +31,14 @@ elif [ -d "${DirectorY}" ]; then
|
|||
exit 1
|
||||
elif [[ -d "${OutDir}" ]] && [[ ! -f "${FileName}" ]]; then
|
||||
# Clean up when updating versions
|
||||
echo "warning: Cached file is outdated or incomplete, removing" >&2
|
||||
rm -fRv "${DirectorY}" "${OutDir}"
|
||||
echo "error: Cached file is outdated or incomplete, removing" >&2
|
||||
rm -fR "${DirectorY}" "${OutDir}"
|
||||
elif [[ -d "${OutDir}" ]] && [[ -f "${FileName}" ]]; then
|
||||
# Check to make sure we have the right file
|
||||
MD5SumLoc=`md5 -q "${FileName}"`
|
||||
if [ "${MD5SumLoc}" != "${MD5Sum}" ]; then
|
||||
echo "warning: Cached file is outdated or incorrect, removing" >&2
|
||||
rm -fRv "${FileName}" "${DirectorY}" "${OutDir}"
|
||||
echo "error: Cached file is outdated or incorrect, removing" >&2
|
||||
rm -fR "${FileName}" "${DirectorY}" "${OutDir}"
|
||||
else
|
||||
# Do not do more work then we have to
|
||||
echo "${OutDir} already exists, skipping"
|
||||
|
@ -90,6 +90,7 @@ if [ ! -d "${DirectorY}" ]; then
|
|||
exit 1
|
||||
else
|
||||
mv "${DirectorY}" "${OutDir}"
|
||||
touch ${OutDir}/*
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue