Chameleon Applications

Chameleon Applications Commit Details

Date:2011-07-17 03:14:01 (12 years 8 months ago)
Author:ErmaC
Commit:326
Parents: 325
Message:Changed the "Developer" and "credits" insertion method into the (final) .rtf file. Two more variabilles into buildpkg & slimpkg.
Changes:
M/branches/iFabio/Chameleon/package/buildpkg
M/branches/iFabio/Chameleon/package/slimpkg
M/branches/iFabio/Chameleon/package/Resources/English.lproj/Welcome.rtfd/TXT.rtf

File differences

branches/iFabio/Chameleon/package/buildpkg
2525
2626
2727
28
29
30
31
32
33
34
35
2836
2937
3038
......
5058
5159
5260
53
61
5462
5563
5664
......
422430
423431
424432
433
434
435
436
437
425438
426439
427440
......
434447
435448
436449
437
438
439
440
441
442
450
451
452
453
454
455
443456
444457
445458
builddate=$( grep I386BOOT_BUILDDATE sym/i386/vers.h | awk '{ print $3,$4 }' | tr -d '\"' )
timestamp=$( date -j -f "%Y-%m-%d %H:%M:%S" "${builddate}" "+%s" )
# =================
develop=" Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, munky, Slice, meklort, mozodojo, rekursor, Turbo, cparm, valv & zef "
credits=" andyvand, asereBLN, Azimut, bumby, cosmo1t, dfe, Galaxy, kalyway, Krazubu, MasterChief, netkas, sckevyn, smith@@, THeKiNG, blackosx, .: ErmaC :., scrax, DutchHockeyPro & Andy"
# =================
distributioncount=0
xmlindent=0
# build core package
echo "================= Core ================="
((xmlindent++))
packagesidentity="org.chameleon"
packagesidentity="org.chameleon.core"
mkdir -p ${1}/Core/Root/usr/sbin
mkdir -p ${1}/Core/Root/usr/local/bin
mkdir -p ${1}/Core/Root/usr/standalone/i386
#perl -i -p -e "s/%PKGTYPE%/TEST/g" `find "${1}/${packagename}/Resources" -type f`
#
# Adding Developer and credits
perl -i -p -e "s/%DEVELOP%/${develop}/g" `find "${1}/${packagename}/Resources" -type f`
perl -i -p -e "s/%CREDITS%/${credits}/g" `find "${1}/${packagename}/Resources" -type f`
#
stage=${stage/RC/Release Candidate }
stage=${stage/FINAL/2.0 Final}
perl -i -p -e "s/%CHAMELEONSTAGE%/${stage}/g" `find "${1}/${packagename}/Resources" -type f`
# 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}/Icons/pkg.zip" "${pkgroot}/Icons/"
# DeRez -only icns "${pkgroot}/Icons/Icons/pkg.icns" > tempicns.rsrc
# Rez -append tempicns.rsrc -o "${1%/*}/${packagename// /}-${version}-r${revision}.pkg"
# SetFile -a C "${1%/*}/${packagename// /}-${version}-r${revision}.pkg"
# rm -f tempicns.rsrc
# rm -rf "${pkgroot}/Icons/Icons"
ditto -xk "${pkgroot}/Icons/pkg.zip" "${pkgroot}/Icons/"
DeRez -only icns "${pkgroot}/Icons/Icons/pkg.icns" > tempicns.rsrc
Rez -append tempicns.rsrc -o "${1%/*}/${packagename// /}-${version}-r${revision}.pkg"
SetFile -a C "${1%/*}/${packagename// /}-${version}-r${revision}.pkg"
rm -f tempicns.rsrc
rm -rf "${pkgroot}/Icons/Icons"
# End
md5=$( md5 "${1%/*}/${packagename// /}-${version}-r${revision}.pkg" | awk {'print $4'} )
branches/iFabio/Chameleon/package/slimpkg
2525
2626
2727
28
29
30
31
32
33
34
35
2836
2937
3038
......
249257
250258
251259
260
261
262
263
264
252265
253266
254267
builddate=$( grep I386BOOT_BUILDDATE sym/i386/vers.h | awk '{ print $3,$4 }' | tr -d '\"' )
timestamp=$( date -j -f "%Y-%m-%d %H:%M:%S" "${builddate}" "+%s" )
# =================
develop=" Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, munky, Slice, meklort, mozodojo, rekursor, Turbo, cparm, valv & zef "
credits=" andyvand, asereBLN, Azimut, bumby, cosmo1t, dfe, Galaxy, kalyway, Krazubu, MasterChief, netkas, sckevyn, smith@@, THeKiNG, blackosx, .: ErmaC :., scrax, DutchHockeyPro & Andy"
# =================
distributioncount=0
xmlindent=0
perl -i -p -e "s/%CHAMELEONVERSION%/${version%%-*}/g" `find "${1}/${packagename}/Resources" -type f`
perl -i -p -e "s/%CHAMELEONREVISION%/${revision}/g" `find "${1}/${packagename}/Resources" -type f`
# Adding Developer and credits
perl -i -p -e "s/%DEVELOP%/${develop}/g" `find "${1}/${packagename}/Resources" -type f`
perl -i -p -e "s/%CREDITS%/${credits}/g" `find "${1}/${packagename}/Resources" -type f`
#
stage=${stage/RC/Release Candidate }
stage=${stage/FINAL/2.0 Final}
perl -i -p -e "s/%CHAMELEONSTAGE%/${stage}/g" `find "${1}/${packagename}/Resources" -type f`
branches/iFabio/Chameleon/package/Resources/English.lproj/Welcome.rtfd/TXT.rtf
1
1
22
33
44
......
1414
1515
1616
17
17
1818
19
19
2020
2121
2222
2323
2424
25
25
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;\red65\green78\blue255;}
\margl1440\margr1440\vieww11660\viewh12980\viewkind0
\fs26 \cf0 \
\pard\ri0\ql\qnatural
\cf0 \
Developers: Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, munky, Slice, meklort, mozodojo, rekursor, Turbo, cparm, valv & zef \
Developers :%DEVELOP%\
\
Thanks to : andyvand, asereBLN, Azimut, bumby, cosmo1t, dfe, Galaxy, kalyway, Krazubu, MasterChief, netkas, sckevyn, smith@@, THeKiNG, blackosx, iReset, scrax, DutchHockeyPro & Andy\
Thanks to : %CREDITS%\
\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
\b0\fs30 \cf0 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
\fs26 \cf0 Copyright \'a9 2011}
\fs26 \cf0 Copyright \'a9 2011}

Archive Download the corresponding diff file

Revision: 326