Chameleon

Chameleon Commit Details

Date:2011-08-15 15:17:37 (3 years 12 days ago)
Author:Evan Lojewski
Commit:1391
Parents: 1390
Message:Strip out some pkg options
Changes:
M/trunk/package/buildpkg.sh

File differences

trunk/package/buildpkg.sh
134134
135135
136136
137
137138
138139
139140
......
176177
177178
178179
179
180
181
182
183
180
181
182
183
184
184185
185186
186
187
188
189
187
188
189
190
190191
191
192
193
194
195
196
192
193
194
195
196
197
197198
198
199
200
201
202
203
199
200
201
202
203
204
204205
205
206
207
208
209
210
211
212
206
207
208
209
210
211
212
213
213214
214
215
215
216
216217
217218
218219
......
308309
309310
310311
311
312
312
313
313314
314315
315316
choices[$((choicescount++))]="<choice\n\tid=\"Module\"\n\ttitle=\"Module_title\"\n\tdescription=\"Module_description\"\n>\n</choice>\n"
((xmlindent++))
packagesidentity="org.chameleon.modules"
# -
if [ -e ${1%/*}/i386/modules/klibc.dylib ]; then
{
# End build Chameleon package
# build Extras package
echo "================= Extras ================="
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Extras\">"
choices[$((choicescount++))]="<choice\n\tid=\"Extras\"\n\ttitle=\"Extras_title\"\n\tdescription=\"Extras_description\"\n>\n</choice>\n"
((xmlindent++))
packagesidentity="org.chameleon.extras"
#echo "================= Extras ================="
#outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Extras\">"
#choices[$((choicescount++))]="<choice\n\tid=\"Extras\"\n\ttitle=\"Extras_title\"\n\tdescription=\"Extras_description\"\n>\n</choice>\n"
#((xmlindent++))
#packagesidentity="org.chameleon.extras"
# build utility package
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Utility\">"
choices[$((choicescount++))]="<choice\n\tid=\"Utility\"\n\ttitle=\"Utility_title\"\n\tdescription=\"Utility_description\"\n>\n</choice>\n"
((xmlindent++))
packagesidentity="org.chameleon.utilities"
#outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Utility\">"
#choices[$((choicescount++))]="<choice\n\tid=\"Utility\"\n\ttitle=\"Utility_title\"\n\tdescription=\"Utility_description\"\n>\n</choice>\n"
#((xmlindent++))
#packagesidentity="org.chameleon.utilities"
# build package for Chameleon PrefPanel
mkdir -p "${1}/PrefPanel/Root"
ditto --noextattr --noqtn "${pkgroot}/Configuration/PrefPanel/Chameleon.prefPane" "${1}/PrefPanel/Root"
echo "[BUILD] Chameleon Preference Panel "
buildpackage "${1}/PrefPanel" "/Library/PreferencePanes/Chameleon.prefPane" "" "start_selected=\"false\"" >/dev/null 2>&1
# End build package for Chameleon PrefPanel
## build package for Chameleon PrefPanel
#mkdir -p "${1}/PrefPanel/Root"
#ditto --noextattr --noqtn "${pkgroot}/Configuration/PrefPanel/Chameleon.prefPane" "${1}/PrefPanel/Root"
#echo "[BUILD] Chameleon Preference Panel "
#buildpackage "${1}/PrefPanel" "/Library/PreferencePanes/Chameleon.prefPane" "" "start_selected=\"false\"" >/dev/null 2>&1
## End build package for Chameleon PrefPanel
# build package for SMBIOSDefault
mkdir -p "${1}/SMBIOSDefault/Root"
ditto --noextattr --noqtn "${pkgroot}/Configuration/SMBIOSDefault/smbios.plist" "${1}/SMBIOSDefault/Root"
echo "[BUILD] SMBIOSDefault "
buildpackage "${1}/SMBIOSDefault" "/Extra/Example" "" "start_selected=\"false\"" >/dev/null 2>&1
# End build package for SMBIOSDefault
## build package for SMBIOSDefault
#mkdir -p "${1}/SMBIOSDefault/Root"
#ditto --noextattr --noqtn "${pkgroot}/Configuration/SMBIOSDefault/smbios.plist" "${1}/SMBIOSDefault/Root"
#echo "[BUILD] SMBIOSDefault "
#buildpackage "${1}/SMBIOSDefault" "/Extra/Example" "" "start_selected=\"false\"" >/dev/null 2>&1
## End build package for SMBIOSDefault
# 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 "[BUILD] Documentation "
buildpackage "${1}/Documentation" "/Library/Documentation/Chameleon2RC5" "" "start_selected=\"false\"" >/dev/null 2>&1
# End build package for Documentation
## 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 "[BUILD] Documentation "
#buildpackage "${1}/Documentation" "/Library/Documentation/Chameleon2" "" "start_selected=\"false\"" >/dev/null 2>&1
## End build package for Documentation
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
#((xmlindent--))
#outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End utility package
# build options packages
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End build theme packages
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
#((xmlindent--))
#outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End build Extras package
# build post install package

Archive Download the corresponding diff file

Revision: 1391