Chameleon Applications

Chameleon Applications Commit Details

Date:2010-10-02 18:46:18 (13 years 5 months ago)
Author:scrax scrax
Commit:160
Parents: 159
Message:Reorganization of the options folder. Added advanced Options subfolder with some options to test.
Changes:
M/branches/iFabio/Test/package/Resources/Italian.lproj/Localizable.strings
M/branches/scrax/trunk/package/buildpkg
M/branches/iFabio/Test/package/Resources/English.lproj/Localizable.strings

File differences

branches/scrax/trunk/package/buildpkg
161161
162162
163163
164
165
164166
165167
166
168
167169
168170
169171
......
172174
173175
174176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
175197
176198
177199
......
192214
193215
194216
195
217
196218
197219
220
198221
199222
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219223
220224
221225
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Options\">"
choices[$((choicescount++))]="<choice\n\tid=\"Options\"\n\ttitle=\"Options_title\"\n\tdescription=\"Options_description\"\n>\n</choice>\n"
((xmlindent++))
# build base options packages
packagesidentity="org.chameleon"
options=($( find "${pkgroot}/Scripts/Options" -type d -depth 1 -not -name '.svn' ))
options=($( find "${pkgroot}/Scripts/BaseOptions" -type d -depth 1 -not -name '.svn' ))
for (( i = 0 ; i < ${#options[@]} ; i++ ))
do
mkdir -p "${1}/${options[$i]##*/}/Root"
echo "Building ${options[$i]##*/} package"
buildpackage "${1}/${options[$i]##*/}" "/" "" "start_selected=\"false\""
done
# End build base options packages
# build resolution packages
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Resolution\">"
choices[$((choicescount++))]="<choice\n\tid=\"Resolution\"\n\ttitle=\"Resolution_title\"\n\tdescription=\"Resolution_description\"\n>\n</choice>\n"
((xmlindent++))
packagesidentity="org.chameleon.resolution"
resolutions=($( find "${pkgroot}/Scripts/Resolutions" -type d -depth 1 -not -name '.svn' ))
for (( i = 0 ; i < ${#resolutions[@]} ; i++ ))
do
mkdir -p "${1}/${resolutions[$i]##*/}/Root/"
mkdir -p "${1}/${resolutions[$i]##*/}/Scripts/"
ditto --noextattr --noqtn "${resolutions[$i]}/postinstall" "${1}/${resolutions[$i]##*/}/Scripts/postinstall"
echo "Building ${resolutions[$i]##*/} package"
buildpackage "${1}/${resolutions[$i]##*/}" "/" "" "start_selected=\"false\""
done
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End build resolution packages
# build Advanced packages
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Advanced\">"
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End build Advanced packages
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End build options packages
# build resolution packages
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Resolution\">"
choices[$((choicescount++))]="<choice\n\tid=\"Resolution\"\n\ttitle=\"Resolution_title\"\n\tdescription=\"Resolution_description\"\n>\n</choice>\n"
((xmlindent++))
packagesidentity="org.chameleon.resolution"
resolutions=($( find "${pkgroot}/Scripts/Resolutions" -type d -depth 1 -not -name '.svn' ))
for (( i = 0 ; i < ${#resolutions[@]} ; i++ ))
do
mkdir -p "${1}/${resolutions[$i]##*/}/Root/"
mkdir -p "${1}/${resolutions[$i]##*/}/Scripts/"
ditto --noextattr --noqtn "${resolutions[$i]}/postinstall" "${1}/${resolutions[$i]##*/}/Scripts/postinstall"
echo "Building ${resolutions[$i]##*/} package"
buildpackage "${1}/${resolutions[$i]##*/}" "/" "" "start_selected=\"false\""
done
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End build resolution packages
# build theme packages
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"

Archive Download the corresponding diff file

Revision: 160