Chameleon Applications

Chameleon Applications Commit Details

Date:2011-05-20 00:41:17 (12 years 11 months ago)
Author:ErmaC
Commit:273
Parents: 272
Message:fix the Icon creation problem relate with resource fork. Compress the Icon.icns with "ditto" to preserve rsrc data during the uncompress process, previusly this data was lost if commit in the svn and "downloaded" for make process.
Changes:
D/branches/iFabio/Chameleon/package/Icon.icns
A/branches/iFabio/Chameleon/package/Icon.zip
M/branches/iFabio/Chameleon/package/buildpkg

File differences

branches/iFabio/Chameleon/package/buildpkg
388388
389389
390390
391
392
391
392
393
394
395
393396
394397
395398
399
396400
397401
398402
xar -c -f "${1%/*}/${packagename// /}-${version}-INSTALLER-r${revision}.pkg" --compression none .
popd >/dev/null
#Here is the place for assign a Icon to the pkg
DeRez -only icns "${pkgroot}/Icon.icns" > tempicns.rsrc
# Here is the place for assign a Icon to the pkg
# command use to generate the file:
# ditto -c -k --sequesterRsrc --keepParent Icon.icns Icon.zip
ditto -xk "${pkgroot}/Icon.zip" "${pkgroot}/"
DeRez -only icns "${pkgroot}/Icon/Icon.icns" > tempicns.rsrc
Rez -append tempicns.rsrc -o "${1%/*}/${packagename// /}-${version}-INSTALLER-r${revision}.pkg"
SetFile -a C "${1%/*}/${packagename// /}-${version}-INSTALLER-r${revision}.pkg"
rm -f tempicns.rsrc
rm -rf "${pkgroot}/Icon"
# End
md5=$( md5 "${1%/*}/${packagename// /}-${version}-INSTALLER-r${revision}.pkg" | awk {'print $4'} )

Archive Download the corresponding diff file

Revision: 273