Chameleon Applications

Chameleon Applications Commit Details

Date:2010-10-03 05:13:44 (13 years 6 months ago)
Author:ErmaC
Commit:166
Parents: 165
Message:Trunk the "i386/boot2/boot.h" to match with "chameleon trunk 568". Add suggest from scrax (hidden and active option for bdmesg and doc). On test, the icon for the installer...(need feedback I use a dirty method :P). Revised the background (I delete the white background) need more work on the chameleon title.
Changes:
D/branches/iFabio/Test/obj
A/branches/iFabio/Test/package/Chameleon.icns
M/branches/iFabio/Test/i386/boot2/boot.h
M/branches/iFabio/Test/package/Resources/background.tiff
M/branches/iFabio/Test/package/buildpkg
M/branches/iFabio/Test/revision

File differences

branches/iFabio/Test/i386/boot2/boot.h
6868
6969
7070
71
7271
7372
7473
#define kDSDT"DSDT"/* acpi_patcher.c */
#define kDropSSDT"DropSSDT"/* acpi_patcher.c */
#define kRestartFix"RestartFix"/* acpi_patcher.c */
#define kRestartFix"RestartFix" /* acpi_patcher.c */
#define kGeneratePStates"GeneratePStates"/* acpi_patcher.c */
#define kGenerateCStates"GenerateCStates"/* acpi_patcher.c */
#define kEnableC4States"EnableC4State"/* acpi_patcher.c */
branches/iFabio/Test/package/buildpkg
4242
4343
4444
45
46
47
48
49
50
51
52
53
45
46
47
48
49
50
51
52
53
54
5455
5556
56
5757
5858
5959
......
116116
117117
118118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
119135
120136
121137
122138
123139
124140
125
141
142
126143
127144
128145
......
227244
228245
229246
247
230248
231249
232250
......
256274
257275
258276
277
278
259279
260280
261281
((xmlindent++))
# build core package
mkdir -p ${1}/Core/Root/i386
cp -f ${1%/*}/i386/boot ${1}/Core/Root/i386
cp -f ${1%/*}/i386/boot0 ${1}/Core/Root/i386
cp -f ${1%/*}/i386/boot0hfs ${1}/Core/Root/i386
cp -f ${1%/*}/i386/boot1h ${1}/Core/Root/i386
cp -f ${pkgroot}/fdisk440 ${1}/Core/Root/i386
cp -f ${pkgroot}/fdisk ${1}/Core/Root/i386
fixperms "${1}/Core/Root/i386"
local coresize=$( du -hkc "${1}/Core/Root/i386" | tail -n1 | awk {'print $1'} )
mkdir -p ${1}/Core/Root/usr/sbin
mkdir -p ${1}/Core/Root/usr/standalone/i386
cp -f ${1%/*}/i386/boot ${1}/Core/Root/usr/standalone/i386
cp -f ${1%/*}/i386/boot0 ${1}/Core/Root/usr/standalone/i386
cp -f ${1%/*}/i386/boot0hfs ${1}/Core/Root/usr/standalone/i386
cp -f ${1%/*}/i386/boot1h ${1}/Core/Root/usr/standalone/i386
cp -f ${pkgroot}/fdisk ${1}/Core/Root/usr/sbin
cp -f ${pkgroot}/fdisk440 ${1}/Core/Root/usr/sbin
fixperms "${1}/Core/Root/"
local coresize=$( du -hkc "${1}/Core/Root" | tail -n1 | awk {'print $1'} )
echo "Building core package"
buildpackage "${1}/Core" "/binaries" "0" "start_visible=\"false\" start_selected=\"true\""
# End build core package
# build standard package
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>" # End build theme packages
# build package for Documentation
mkdir -p "${1}/Documentation/Root"
cp -f ${pkgroot}/doc/BootHelp.txt ${1}/Documentation/Root
cp -f ${pkgroot}/doc/README ${1}/Documentation/Root
cp -f ${pkgroot}/doc/Users_Guide0.5.pdf ${1}/Documentation/Root
echo "Building Documentation package"
buildpackage "${1}/Documentation" "/Documentation/Chameleon" "" "start_visible=\"false\" start_selected=\"true\""
# End build package for Documentation
# build package for bdmesg
mkdir -p "${1}/bdmesg/Root"
ditto --noextattr --noqtn "${1%/*}/i386/bdmesg" "${1}/bdmesg/Root"
echo "Building bdmesg package"
buildpackage "${1}/bdmesg" "/usr/sbin" "" "start_visible=\"false\" start_selected=\"true\""
# End build package for bdmesg
# build post install package
mkdir -p ${1}/Post/Root
mkdir -p ${1}/Post/Scripts
cp -f ${pkgroot}/Scripts/Post/postinstall ${1}/Post/Scripts
ditto --arch i386 `which SetFile` ${1}/Post/Scripts/Tools/SetFile
buildpackage "${1}/Post" "/binaries" "" "start_visible=\"false\" start_selected=\"true\""
echo "Building post package" # End post install package
echo "Building post package"
# End post install package
outline[$((outlinecount++))]="${indent[$xmlindent]}</choices-outline>" # End main package
ditto --noextattr --noqtn "${pkgroot}/Distribution" "${1}/${packagename}/Distribution"
ditto --noextattr --noqtn "${pkgroot}/Resources" "${1}/${packagename}/Resources"
ditto --noextattr --noqtn "${pkgroot}/Chameleon.icns" "${1%/*}/${packagename// /}-${version}-r${revision}-Standard.pkg"
echo "Building Resources..."
find "${1}/${packagename}/Resources" -type d -name '.svn' -exec rm -R -f {} \; 2>/dev/null
xar -c -f "${1%/*}/${packagename// /}-${version}-r${revision}-Standard.pkg" --compression none .
popd >/dev/null
md5=$( md5 "${1%/*}/${packagename// /}-${version}-r${revision}-Standard.pkg" | awk {'print $4'} )
echo "MD5 (${packagename// /}-${version}-r${revision}-Standard.pkg) = ${md5}" > "${1%/*}/${packagename// /}-${version}-r${revision}-Standard.pkg.md5"
cp -R -f "${1}/${packagename}/Resources" ${1%/*}/Resources
branches/iFabio/Test/revision
1
1
155
165

Archive Download the corresponding diff file

Revision: 166