Chameleon Applications

Chameleon Applications Commit Details

Date:2011-05-20 14:47:06 (12 years 11 months ago)
Author:ErmaC
Commit:275
Parents: 274
Message:Add choice for module. That choice are just added don't do notthing...
Changes:
M/branches/iFabio/Chameleon/i386/boot2/Makefile
M/branches/iFabio/Chameleon/package/buildpkg

File differences

branches/iFabio/Chameleon/i386/boot2/Makefile
131131
132132
133133
134
134
135135
136136
137137
......
142142
143143
144144
145
146145
146
147147
148148
149149
exit 1;\
fi)
embed_symbols: machOconv
@echo ================= Embedding Symbols.dylib =================
@echo "\t[MACHOCONV] boot"
@echo "\t[MACHOCONV] boot"
@$(SYMROOT)/machOconv $(SYMROOT)/boot.sys $(SYMROOT)/boot
prompt.o: vers.h
vers.h:
@echo "#define I386BOOT_VERSION \"5.0.132\"" > $(SYMROOT)/vers.h
branches/iFabio/Chameleon/package/buildpkg
4848
4949
5050
51
51
5252
5353
5454
......
9696
9797
9898
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
99137
100138
101139
......
105143
106144
107145
146
108147
109148
110149
111150
112151
113
152
114153
115154
116155
......
153192
154193
155194
156
195
157196
158197
159198
......
192231
193232
194233
195
234
196235
197236
198237
......
217256
218257
219258
220
259
221260
222261
223262
......
241280
242281
243282
244
283
245284
246285
247286
# build core package
echo "================= core ================="
((xmlindent++))
packagesidentity="org.chameleon"
packagesidentity="org.chameleon.core.pkg"
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
buildpackage "${1}/noboot" "/tmpcham" "" "start_visible=\"true\" start_selected=\"false\" selected=\"exclusive(choices['Standard']) && exclusive(choices['EFI'])\"" >/dev/null 2>&1
# End build reset choice package
# build Modules package
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Modules\">"
choices[$((choicescount++))]="<choice\n\tid=\"Modules\"\n\ttitle=\"Modules_title\"\n\tdescription=\"Modules_description\"\n>\n</choice>\n"
((xmlindent++))
packagesidentity="org.chameleon.modules.pkg"
# build Module-One
mkdir -p ${1}/Module-One/Root
# mkdir -p ${1}/Module-One/Scripts/Tools
# cp -f ${pkgroot}/Scripts/Module-One/* ${1}/Module-n/Scripts
# ditto --arch i386 `which SetFile` ${1}/Module-One/Scripts/Tools/SetFile
echo "[BUILD] Modules-One "
buildpackage "${1}/Module-one" "/Extra/modules" "${coresize}" "" "start_selected=\"false\"" >/dev/null 2>&1
# End build Module-One
# build Module-Two
mkdir -p ${1}/Module-Two/Root
# mkdir -p ${1}/Module-Two/Scripts/Tools
# cp -f ${pkgroot}/Scripts/Module-Two/* ${1}/Module-n/Scripts
# ditto --arch i386 `which SetFile` ${1}/Module-Two/Scripts/Tools/SetFile
echo "[BUILD] Modules-Two "
buildpackage "${1}/Module-Two" "/Extra/modules" "${coresize}" "" "start_selected=\"false\"" >/dev/null 2>&1
# End build Module-Two
# build Module-n
mkdir -p ${1}/Module-n/Root
# mkdir -p ${1}/Module-n/Scripts/Tools
# cp -f ${pkgroot}/Scripts/Module-n/* ${1}/Module-n/Scripts
# ditto --arch i386 `which SetFile` ${1}/Module-n/Scripts/Tools/SetFile
echo "[BUILD] Modules-n "
buildpackage "${1}/Module-n" "/Extra/modules" "${coresize}" "" "start_selected=\"false\"" >/dev/null 2>&1
# End build Module-n
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End utility package
# End build Modules package
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End build Chameleon package
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.com"
# 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"
packagesidentity="org.chameleon.utility.com"
# build package for Chameleon PrefPanel
mkdir -p "${1}/PrefPanel/Root/"
((xmlindent++))
# build base options packages
packagesidentity="org.chameleon"
packagesidentity="org.chameleon.options.com"
options=($( find "${pkgroot}/Scripts/BaseOptions" -type d -depth 1 -not -name '.svn' ))
for (( i = 0 ; i < ${#options[@]} ; i++ ))
choices[$((choicescount++))]="<choice\n\tid=\"Advanced\"\n\ttitle=\"Advanced_title\"\n\tdescription=\"Advanced_description\"\n>\n</choice>\n"
((xmlindent++))
packagesidentity="org.chameleon"
packagesidentity="org.chameleon.advanced.options.pkg"
optionsadv=($( find "${pkgroot}/Scripts/Advanced" -type d -depth 1 -not -name '.svn' ))
for (( i = 0 ; i < ${#optionsadv[@]} ; i++ ))
do
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Themes\">"
choices[$((choicescount++))]="<choice\n\tid=\"Themes\"\n\ttitle=\"Themes_title\"\n\tdescription=\"Themes_description\"\n>\n</choice>\n"
((xmlindent++))
packagesidentity="org.chameleon.theme"
packagesidentity="org.chameleon.theme.pkg"
artwork="${1%/*}"
themes=($( find "${artwork%/*}/artwork/themes" -type d -depth 1 -not -name '.svn' ))
for (( i = 0 ; i < ${#themes[@]} ; i++ ))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Kexts\">"
choices[$((choicescount++))]="<choice\n\tid=\"Kexts\"\n\ttitle=\"Kexts_title\"\n\tdescription=\"Kexts_description\"\n>\n</choice>\n"
((xmlindent++))
packagesidentity="org.chameleon"
packagesidentity="org.chameleon.kext.pkg"
kexts=($( find "${pkgroot}/Kexts" -type d -name '*.kext' -depth 1 ))
for (( i = 0 ; i < ${#kexts[@]} ; i++ ))
do

Archive Download the corresponding diff file

Revision: 275