Index: branches/iFabio/trunk/package/buildpkg
===================================================================
--- branches/iFabio/trunk/package/buildpkg (revision 191)
+++ branches/iFabio/trunk/package/buildpkg (revision 192)
@@ -28,40 +28,40 @@
# clean up the destination path
- rm -R -f "${1}"
+rm -R -f "${1}"
- echo "Building $packagename Install Package (Standard) v${version%%-*} $stage r$revision $builddate"
-
- outline[$((outlinecount++))]="${indent[$xmlindent]}"
+echo "Building $packagename Install Package (Standard) v${version%%-*} $stage r$revision $builddate"
+outline[$((outlinecount++))]="${indent[$xmlindent]}"
+
# Start
-# build Chameleon package
+ ((xmlindent++))
+# build core package
+ mkdir -p ${1}/Core/Root/usr/sbin
+ mkdir -p ${1}/Core/Root/usr/local/bin
+ 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/boot1f32 ${1}/Core/Root/usr/standalone/i386
+ cp -f ${1%/*}/i386/boot1h ${1}/Core/Root/usr/standalone/i386
+ cp -f ${1%/*}/i386/boot1he ${1}/Core/Root/usr/standalone/i386
+ cp -f ${1%/*}/i386/boot1hp ${1}/Core/Root/usr/standalone/i386
+ cp -f ${1%/*}/i386/cdboot ${1}/Core/Root/usr/standalone/i386
+ cp -f ${1%/*}/i386/chain0 ${1}/Core/Root/usr/standalone/i386
+ fixperms "${1}/Core/Root/"
+ cp -f ${pkgroot}/fdisk ${1}/Core/Root/usr/sbin
+ cp -f ${pkgroot}/fdisk440 ${1}/Core/Root/usr/sbin
+ local coresize=$( du -hkc "${1}/Core/Root" | tail -n1 | awk {'print $1'} )
+ echo "Building core package"
+ buildpackage "${1}/Core" "/" "0" "start_visible=\"false\" start_selected=\"true\""
+
+
+# End build core package
outline[$((outlinecount++))]="${indent[$xmlindent]}\t"
choices[$((choicescount++))]="\n \n"
- ((xmlindent++))
- # build core package
- mkdir -p ${1}/Core/Root/usr/sbin
- mkdir -p ${1}/Core/Root/usr/local/bin
- 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/boot1f32 ${1}/Core/Root/usr/standalone/i386
- cp -f ${1%/*}/i386/boot1h ${1}/Core/Root/usr/standalone/i386
- cp -f ${1%/*}/i386/boot1he ${1}/Core/Root/usr/standalone/i386
- cp -f ${1%/*}/i386/boot1hp ${1}/Core/Root/usr/standalone/i386
- cp -f ${1%/*}/i386/cdboot ${1}/Core/Root/usr/standalone/i386
- cp -f ${1%/*}/i386/chain0 ${1}/Core/Root/usr/standalone/i386
- fixperms "${1}/Core/Root/"
- cp -f ${pkgroot}/fdisk ${1}/Core/Root/usr/sbin
- cp -f ${pkgroot}/fdisk440 ${1}/Core/Root/usr/sbin
- local coresize=$( du -hkc "${1}/Core/Root" | tail -n1 | awk {'print $1'} )
- echo "Building core package"
- buildpackage "${1}/Core" "/" "0" "start_visible=\"false\" start_selected=\"true\""
- # End build core package
-
# build standard package
mkdir -p ${1}/Standard/Root
mkdir -p ${1}/Standard/Scripts/Tools
@@ -73,7 +73,7 @@
# build standard package with boot0hfs
mkdir -p ${1}/Standardhfs/Root
- mkdir -p ${1}/Standardhfs/Scripts
+ mkdir -p ${1}/Standardhfs/Scripts/Tools
cp -f ${pkgroot}/Scripts/Standardhfs/* ${1}/Standardhfs/Scripts
ditto --arch i386 `which SetFile` ${1}/Standardhfs/Scripts/Tools/SetFile
echo "Building boot0hfs package"
@@ -97,75 +97,81 @@
echo "Building efi hfs package"
buildpackage "${1}/EnhancedHFS" "/" "${coresize}" "start_visible=\"systemHasGPT()\" start_selected=\"false\" selected=\"exclusive(choices['Standard']) && exclusive(choices['Standardhfs']) && exclusive(choices['EnhancedFAT']) && exclusive(choices['noboot'])\""
# End build efi hfs package
-
# build reset choice package
mkdir -p ${1}/noboot/Root
- # echo "Building reset choice package"
+ echo "Building reset choice package"
buildpackage "${1}/noboot" "/" "" "start_visible=\"true\" start_selected=\"false\" selected=\"exclusive(choices['Standard']) && exclusive(choices['Standardhfs']) && exclusive(choices['EnhancedFAT']) && exclusive(choices['EnhancedHFS'])\""
# End build reset choice package
((xmlindent--))
- outline[$((outlinecount++))]="${indent[$xmlindent]}\t " # End Chameleon pakage
-
-# build theme packages
- outline[$((outlinecount++))]="${indent[$xmlindent]}\t"
- choices[$((choicescount++))]="\n \n"
- ((xmlindent++))
- packagesidentity="org.chameleon.theme"
- artwork="${1%/*}"
- themes=($( find "${artwork%/*}/artwork/themes" -type d -depth 1 -not -name '.svn' ))
- for (( i = 0 ; i < ${#themes[@]} ; i++ ))
- do
- theme=$( echo ${themes[$i]##*/} | awk 'BEGIN{OFS=FS=""}{$1=toupper($1);print}' )
- mkdir -p "${1}/${theme}/Root/"
- ditto --noextattr --noqtn "${themes[$i]}" "${1}/${themes[$i]##*/}/Root/${theme}"
- find "${1}/${themes[$i]##*/}" -name '.DS_Store' -or -name '.svn' -exec rm -R {} \+
- find "${1}/${themes[$i]##*/}" -type f -exec chmod 644 {} \+
- buildpackage "${1}/${theme}" "/Extra/Themes" "" "start_selected=\"false\""
- rm -R -f "${1}/${i##*/}"
- done
- echo "Building themes package"
- ((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t "
-# End build theme packages
+# End build Chameleon package
# build options packages
outline[$((outlinecount++))]="${indent[$xmlindent]}\t"
choices[$((choicescount++))]="\n \n"
((xmlindent++))
+
+ # build base options packages
packagesidentity="org.chameleon.options"
+
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"
- mkdir -p "${1}/${options[$i]##*/}/Scripts"
- ditto --noextattr --noqtn "${options[$i]}/postinstall" "${1}/${options[$i]##*/}/Scripts/postinstall"
- echo "Building ${options[$i]##*/} package"
- buildpackage "${1}/${options[$i]##*/}" "/" "" "start_selected=\"false\""
- rm -R -f "${1}/${i##*/}"
- done
+ for (( i = 0 ; i < ${#options[@]} ; i++ ))
+ do
+ mkdir -p "${1}/${options[$i]##*/}/Root"
+ mkdir -p "${1}/${options[$i]##*/}/Scripts/Tools"
+
+ ditto --noextattr --noqtn "${options[$i]}/postinstall" "${1}/${options[$i]##*/}/Scripts/postinstall"
+
+ 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"
choices[$((choicescount++))]="\n \n"
((xmlindent++))
- packagesidentity="org.chameleon.resolution"
- resolutions=($( find "${pkgroot}/Scripts/Resolutions" -type d -depth 1 -not -name '.svn' ))
- for (( y = 0 ; y < ${#resolutions[@]} ; y++ ))
- do
- mkdir -p "${1}/${resolutions[$y]##*/}/Root"
- mkdir -p "${1}/${resolutions[$y]##*/}/Scripts"
- ditto --noextattr --noqtn "${resolutions[$y]}/postinstall" "${1}/${resolutions[$y]##*/}/Scripts/postinstall"
- buildpackage "${1}/${resolutions[$y]##*/}" "/" "" "start_selected=\"false\""
- rm -R -f "${1}/${y##*/}"
- done
- echo "Building Resolution package"
+ 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"
+
+ buildpackage "${1}/${resolutions[$i]##*/}" "/" "" "start_selected=\"false\""
+ done
+ echo "Building Resolution package"
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t "
# End build resolution packages
- echo "Building Options package"
+ echo "Building Options package"
+ # build Advanced packages
+# outline[$((outlinecount++))]="${indent[$xmlindent]}\t"
+# choices[$((choicescount++))]="\n \n"
+# ((xmlindent++))
+# packagesidentity="org.chameleon.advanced"
+# optionsadv=($( find "${pkgroot}/Scripts/AdvOpt" -type d -depth 1 -not -name '.svn' ))
+# for (( i = 0 ; i < ${#optionsadv[@]} ; i++ ))
+# do
+# mkdir -p "${1}/${optionsadv[$i]##*/}/Root"
+# mkdir -p "${1}/${optionsadv[$i]##*/}/Scripts"
+
+# ditto --noextattr --noqtn "${optionsadv[$i]}/postinstall" "${1}/${optionsadv[$i]##*/}/Scripts/postinstall"
+
+# echo "Building ${optionsadv[$i]##*/} package"
+# buildpackage "${1}/${optionsadv[$i]##*/}" "/" "" "start_selected=\"false\""
+# done
+# ((xmlindent--))
+# outline[$((outlinecount++))]="${indent[$xmlindent]}\t "
+ # End build Advanced packages
+
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t "
+
# End build options packages
# build utility package
@@ -215,12 +221,34 @@
chown 501:20 "${1}/${filename%.kext}/Root/"
buildpackage "${1}/${filename%.kext}" "/Extra/Extensions" "" "start_selected=\"false\""
rm -R -f "${1}/${filename%.kext}"
- echo "Building ${filename%.kext} package"
done
+ echo "Building Kext package"
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t"
# End build kext packages
+# build theme packages
+ outline[$((outlinecount++))]="${indent[$xmlindent]}\t"
+ choices[$((choicescount++))]="\n \n"
+ ((xmlindent++))
+ packagesidentity="org.chameleon.theme"
+ artwork="${1%/*}"
+ themes=($( find "${artwork%/*}/artwork/themes" -type d -depth 1 -not -name '.svn' ))
+ for (( i = 0 ; i < ${#themes[@]} ; i++ ))
+ do
+ theme=$( echo ${themes[$i]##*/} | awk 'BEGIN{OFS=FS=""}{$1=toupper($1);print}' )
+ mkdir -p "${1}/${theme}/Root/"
+ ditto --noextattr --noqtn "${themes[$i]}" "${1}/${themes[$i]##*/}/Root/${theme}"
+ find "${1}/${themes[$i]##*/}" -name '.DS_Store' -or -name '.svn' -exec rm -R {} \+
+ find "${1}/${themes[$i]##*/}" -type f -exec chmod 644 {} \+
+ buildpackage "${1}/${theme}" "/Extra/Themes" "" "start_selected=\"false\""
+ rm -R -f "${1}/${i##*/}"
+ done
+ echo "Building themes package"
+ ((xmlindent--))
+ outline[$((outlinecount++))]="${indent[$xmlindent]}\t "
+# End build theme packages
+
# build package for Documents
packagesidentity="org.chameleon.Documents"
mkdir -p "${1}/Documents/Root"
@@ -243,13 +271,14 @@
packagesidentity="org.chameleon.post"
mkdir -p ${1}/Post/Root
mkdir -p ${1}/Post/Scripts
- cp -f ${pkgroot}/Scripts/Post/postinstall ${1}/Post/Scripts
+ cp -f ${pkgroot}/Scripts/Post/* ${1}/Post/Scripts
ditto --arch i386 `which SetFile` ${1}/Post/Scripts/Tools/SetFile
buildpackage "${1}/Post" "/" "" "start_visible=\"false\" start_selected=\"true\""
echo "Building post package"
# End post install package
- outline[$((outlinecount++))]="${indent[$xmlindent]} " # End main package
+ outline[$((outlinecount++))]="${indent[$xmlindent]} "
+# End main package
# build meta package
Index: branches/iFabio/trunk/package/Resources/Chinese.lproj/Localizable.strings
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/iFabio/trunk/package/Resources/Spanish.lproj/Description.html
===================================================================
--- branches/iFabio/trunk/package/Resources/Spanish.lproj/Description.html (revision 191)
+++ branches/iFabio/trunk/package/Resources/Spanish.lproj/Description.html (revision 192)
@@ -1,35 +1,240 @@
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-Camaleón es la combinación de varios boot loader componentes.
-Esta basado en la implementación EFI falsa de David Elliott agregada al proyecto boot-132 de Apple.
-Camaleón esta extendido con las siguientes caracteristicas:
-
-Adicionales en Camaleón 2.0
-
-- GUI totalmente personalizado para brindarle algo de color al Dawin Bootloader.
-- Booting DVDs con simplemente cargar una imagen ramdisk sin la ayuda de programas adicionales.
-- Hibernación. Disfrute reanudar su MAC OS X con una imagen de muestra.
-- SMBIOS anulado para modificar la fabrica SMBIOS valores.
-- DSDT anulado para usar un DSDT modificado y arreglado capaz de resolver varios inconvenientes.
-
-- Injeccion Propiedades del Dispositivo por la cuerda Propiedades del Dispositivo.
-- Hibrido boot0 / boot1h para discos MBR y GPT divididos.
-- Codigo de detección FSB automatico para CPUs AMD recientes..
-- Ayuda RAID para software Apple.
-
-Para información mas detallada, visitar : http://chameleon.osx86.hu
+
+
+
+
+
+
El Bootloader
+Chameleon es la combinación de varios componentes.
+Esta basado en la implementación EFI falsa de David Elliott, incorporada al
+método Boot-132, a partir del proyecto de código abierto Darwin de Apple.
+
+
+
+
Chameleon
+tiene soporte extendido a las siguientes características:
+
+
+
+
Novedades en
+Chameleon 2.0:
+
+
+
+
- Interfaz GUI totalmente personalizada para brindarle más colorido al
+Dawin Bootloader.
+
+
- Booteo de
+DVDs con simplemente cargar una imagen ramdisk sin la ayuda de programas
+adicionales.
+
+
- Hibernación.
+Disfrute reanudar su MAC OS X con una imagen de muestra.
+
+
- Anulación de
+SMBIOS, para modificar los valores de fábrica SMBIOS.
+
+
- Anulación de
+DSDT, para usar un DSDT modificado y arreglado capaz de resolver varios
+inconvenientes.
+
+
- Inyección de
+Propiedades de Dispositivos a través del archivo ‘com.apple.Boot.plist’.
+
+
- Permite el
+arranque de discos con esquemas Híbridos boot0 / boot1h, o bien sea por
+separado MBR y GPT.
+
+
- Detección automática
+de frecuencia FSB para CPUs AMD recientes.
+
+
- Ayuda RAID
+para software Apple.
+
+
+
+
Para
+información más detallada, visitar : http://chameleon.osx86.hu
+
+
+
+
+
+
Index: branches/iFabio/trunk/package/Resources/Spanish.lproj/Localizable.strings
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream