For installing extensions... There are so many variations of who needs what that you can't possibly cover all the bases.
But a new package installer would definitely be a major plus for many out there.
Also I hope that there will be a connection with the Cartri Bios for many GB mobo owners out there.I'm not sure I understand what you mean (?)
F.e when CartriBios selected it installs only the needed files etc.
And a kind of repair action when people damage their bootsectors etcThere is nothing to repair, but reinstall the bootsector.
svn co -r HEAD http://forge.voodooprojects.org/svn/chameleon ; cd ~/chameleon/trunk; make clean ; make ;
/Developer/usr/bin/packagemaker -d ~/chameleon/trunk/package/ChameleonPlus.pmdoc
For the official installer I suggest it need to do:Yes, mobo it's really not indicated for the official chameleon installer.Get only what you need, "trunk".
I've posted what I have made just to show my idea.I'm learning how to use the command line with packagemaker to make a script that downloads latest build from svn and builds the relative installer...
here the console command:Code: [Select]svn co -r HEAD http://forge.voodooprojects.org/svn/chameleon ; cd ~/chameleon/trunk; make clean ; make ;
/Developer/usr/bin/packagemaker -d ~/chameleon/trunk/package/ChameleonPlus.pmdoc
svn co http://forge.voodooprojects.org/svn/chameleon/trunk
For the official installer I suggest it need to do:I don't think docs. should go in there, maybe in the User's "Documents" folder?
Install Chameleon on selected volume (no RAID for now)
/boot
boot0hfs (boot0 optional)
boot1
Example file (with all the options set as the defaults ones Chameleon use)
/Extra/smbios.plist
/Extra/com.apple.Boot.plist
Documentation
/Extra/Doc
PrefPanelWhy do you people still call them "legacy" kexts? the original kext that used that name was to add support for old ICH chips.
/Library/PreferencePanels/Chameleon.PrefPanel
Kext (All In /Extra/Extensions/10.x):
10.5
FakeSMC (2.5 without verbose)
LegacyXXXX (I have no idea here)
10.6
FakeSMC (Mozodojo without Plugins)
LegacyXXXX (I have no idea here)
Utility (optional)Same here, I don't think these should go under /Extra/Utility, actually I don't think an Utility folder should exist under /Extra at all, make it easier for users to access these tools/apps, there are better locations for them.
bdmesg (where? bin folder?)
fdisk440 (where? bin folder?)
lspci (bin folder)
/Extra/Utility/KextUtility
/Extra/Utility/Lizard
/Extra/Utility/IaslMe
/Extra/Utility/AppleHDApatcher2
For installing in EFI and RAID is easy to add the options, but i need to figure out the script needed.That's good, and I understand it's all about the scripts. Is there anything in the existing trunk/package/scripts that can help you?
- Format EFI as HFS+
sudo diskutil eraseVolume "HFS+" "EFI" /dev/disk0s1
Hi Scrax & iFabioYes I'm making the english translation and then i'll post it here also.
It's great to see you haven't rested on this and are still continuing your development :) and well done with resurrecting the official installer, good job scrax. I'll have to find some time soon to try out your latest build - is it the Chameleon_2.0_RC5_r530.pkg.zip which you posted at the Insanely thread?
Also, have any of the Voodoo team tried your latest build? and if so what are their thoughts on it?I don't know but I'm wery interested in hear an opinion and suggestionn from them...
EDIT: I've just tried testing by running the r516 package posted above on my G5 to install Chameleon to a USB stick but it stops with an Alert: Chameleon cannot be installed on this computer. I have just checked and seen this was in the original RC1 r431 installer too. So I guess this is a fail-safe to stop installation on Real Macs... Does that happen on real Intel Macs too?I'm not sure it works but yes it checks if there is AppleSMC
function installCheckScript()
{
var obj = system.ioregistry.matchingClass("AppleSMC");
if (obj) {
system.log('installCheckScript: Found AppleSMC');
my.result.message = system.localizedStringWithFormat('Intel_Mac_message');
my.result.type = 'Fatal';
return false;
}
system.log('installCheckScript: Passed.');
return false;
}
The official installer still a perfect choice because it implement some caracteristic that I can't (no idea how...) implement in the PackageMaker... like javascript for control the choice and localization language...I haven't looked at the sources myself, but if you guys are happy building upon the existing code then that must be a good thing. However, I know the original installer was pulled for some reason but I don't know exactly why. If there was a bug in it, would that mean that bug would still be in there now? Maybe we need confirmation on this?
For now a lot of user contribute localizating some language... and until now we just need to fix or rewrite some scripts...You have both done well with this and the extra localizations will make the installer very friendly, especially when all the user selectable options have been translated too. And I am sure the scripts will develop in time as and when user feedback comes in.
scrax do a exellent job with that!
I've finished to add the new options to the english localizable.string attached as a base for translationsThanks scrax., I'll have a look now and do some quick tests.
also attached the new installer with corrected revision number
mount_msdos /dev/disk1s1 /Volumes/EFI
where as the EFI Mounter script only usesmount_hfs /dev/disk1s1 /Volumes/EFI
I think we can make two options folder, one "basic" and one "advanced" or "expert" ?I've finished to add the new options to the english localizable.string attached as a base for translationsThanks scrax., I'll have a look now and do some quick tests.
also attached the new installer with corrected revision number
EDIT: These are just some general things that I have thought of while testing (so far):
• Wow there's a lot of options now which is great but it might look a bit confusing to new comers?
• If the user decides to addI didn't add this ptions because we need to add an options for every size what we want to use but with a sub menu maybe we can do it
com.apple.Boot.plist, can it automatically add:
<key>GraphicsMode</key>
<string>1024x768x32</string>
I say this because the booter automatically defaults to 1024x768 and if the new user wants to change it then it will be easier if they can already see where to do that. ?
• Selecting the new FakeSMC.kext installs in to /Extra/Extensions, but doesn't it really need to be in /S/L/E for complete functionality? I don't know how this can be done with the installer as if choosing to install Chameleon to EFI, USB or a separate partition then how will it know where /S/L/E is or even which OS X installation to write it to if more than one exists?FakeSMC should work from /extra7extensions because it's without plugins. I think that it's better to have it in /E/E because the installer could be used to make a usb booter on a non sistem volume
Also the FakeSMC.kext in the installer contains all the extra developed kexts which some users won't need...
It's going to be difficult to get this one nailed exactly..
• Selecting the 'Chameleon EFI FAT' option installs chameleon to EFI partition and creates an /Extra and Extra/Extensions folder but these are empty? IInstead, I get an /Extra folder containing all the selected files on the partition that I selected in the installer to designate the drive I wanted (as I can't choose an EFI partition as it's not mounted at that time).There is something wrong in the script i'll check this, thanks
• The EFI Mounter script only works with hfs formatted EFI partitions and not FAT32. For mounting FAT32 formatted EFI partition I use the following:It's something that an user on insanely has suggested to add. I'll try to add the fat support if I can.Code: [Select]mount_msdos /dev/disk1s1 /Volumes/EFI
where as the EFI Mounter script only usesCode: [Select]mount_hfs /dev/disk1s1 /Volumes/EFI
• If the user decides to add
com.apple.Boot.plist, can it automatically add:
<key>GraphicsMode</key>
<string>1024x768x32</string>
I say this because the booter automatically defaults to 1024x768 and if the new user wants to change it then it will be easier if they can already see where to do that. ?
I didn't add this options because we need to add an options for every size what we want to use but with a sub menu maybe we can do it
thank's for your suggestion and reports Blackosx, I really appreciate it. :)No problem. I am happy to give feedback if it helps you out. I think you are doing a grand job here :)
Maybe can be opened a branch for just the installer? I've never used svn before my chameleon experience but I learn quick :)Yeah. I think maybe a new project for the package installer under the main forge projects (http://forge.voodooprojects.org/)?
I think we can make two options folder, one "basic" and one "advanced" or "expert" ?If it's possible to do that it would help. Maybe "simple" and "advanced", with the simple one just installing the stage 0, 1 and 2 files like Dr. Hurt's old installers? The your mighty list of options can be under the advanced option?
I didn't add this ptions because we need to add an options for every size what we want to use but with a sub menu maybe we can do itOkay.. I see iFabio has ideas for that! Nice one Fabio :)
FakeSMC should work from /extra7extensions because it's without plugins. I think that it's better to have it in /E/E because the installer could be used to make a usb booter on a non sistem volumeYeah. I think the new FakeSMC.kext does work from /E/E but the plugins don't. And the kext does contain the plugins..
There is something wrong in the script i'll check this, thanksCool... and I'll check it again myself this weekend to make sure I haven't made a mistake.
It's something that an user on insanely has suggested to add. I'll try to add the fat support if I can.Okay.. If you can edit it then great. Otherwise I think it should be renamed to something like hfs_EFI_Mounter.
later I post this change.
Fabio
# If table is GPT make the first partition active (BadAxe compatibility).
[ "${partitiontable}" = "GPT" ] && bootslice=1
# build options packages
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++))
packagesidentity="org.chameleon.options"
options=($( find "${pkgroot}/Scripts/Options" -type d -depth 1 -not -name '.svn' ))
for (( i = 0 ; i < ${#options
- } ; i++ ))
do
packagesidentity="org.chameleon.flsgs"
flagname=($( find "${pkgroot}/Scripts/Options/${options[$i]##*/}" -type d -depth 1 -not -name '.svn' ))
for (( j = 0 ; j < ${#flagname
- } ; j++ ))
do
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"${options[$i]##*/}\">"
choices[$((choicescount++))]="<choice\n\tid=\"${flagname[$i]##*/}\"\n\ttitle=\"${flagname[$i]##*/}_title\"\n\tdescription=\"${flagname[$i]##*/}_description\"\n>\n</choice>\n"
((xmlindent++))
mkdir -p "${1}/${flagname[$j]##*/}/Root"
mkdir -p "${1}/${flagname[$j]##*/}/Scripts"
cp -f "${pkgroot}/Scripts/Options/${options[$i]##*/}/${flagname[$j]##*/}/postinstall" "${1}/${flagname[$j]##*/}/Scripts"
buildpackage "${1}/${flagname[$j]##*/}" "/binaries" "${coresize}" "start_enabled=\"true\""
rm -R -f "${1}/${j##*/}"
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
done
echo "Building ${options[$i]##*/} package"
buildpackage "${1}/${options[$i]##*/}" "/" "" "start_selected=\"false\""
rm -R -f "${1}/${i##*/}"
done
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End build options packages
Conclusion: Both package installers fail to correctly install to FAT32 formatted EFI.. Though we're getting closer.. Keep up the good work guys :)UPDATE:
newfs_msdos -v EFI /dev/rdisk1s1
newfs_msdos -F 32 -v EFI /dev/rdisk1s1
Hi scrax...
need correction when the script generate the _title and _description...
I'll have a look to see if it's possible to make a single version to recognise both HFS+ and FAT32.I have changed the EFI Mounter to now recognise and mount both HFS+ and FAT32 EFI partitions. See attached for the revised applescript.
409640,1835008,0xAF,-,25,127,15,139,184,21
409640,2100808,0xAF,-,25,127,15,156,68,24
So for now is not working good?
Quindi per ora non va bene?
# build options packages
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++))
packagesidentity="org.chameleon.options"
options=($( find "${pkgroot}/Scripts/Options" -type d -depth 1 -not -name '.svn' ))
for (( i = 0 ; i < ${#options
- } ; i++))
do
packagesidentity="org.chameleon.flags"
flagname=($( find "${options[$i]}" -type d -depth 1 -not -name '.svn' ))
for (( j = 0 ; j < ${#flagname
- } ; j++ ))
do
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"${options[$i]##*/}\">"
choices[$((choicescount++))]="<choice\n\tid=\"${options[$i]##*/}\"\n\ttitle=\"${options[$i]##*/}\"\n\tdescription=\"${options[$i]##*/}_description\"\n>\n</choice>\n"
((xmlindent++))
mkdir -p "${1}/${flagname[$j]##*/}/Root"
mkdir -p "${1}/${flagname[$j]##*/}/Scripts"
cp -f "${flagname[$j]}/postinstall" "${1}/${flagname[$j]##*/}/Scripts"
echo "Building ${options[$i]##*/}${flagname[$j]##*/} package"
buildpackage "${1}/${flagname[$j]##*/}" "/" "" "start_selected=\"false\""
rm -R -f "${1}/${j##*/}"
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
done
echo "Building ${options[$i]##*/} package"
buildpackage "${1}/${options[$i]##*/}" "/" "" "start_selected=\"false\""
rm -R -f "${1}/${i##*/}"
done
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End build options packages
fdisk440 -e ${bootdisk} <<-MAKEACTIVE
print
flag ${bootslice}
write
y
quit
MAKEACTIVE
if ${diskupdate}; then
echo "Executing command: fdisk -u -f /usr/standalone/i386/${diskloader} -y ${bootdisk}"
${bootvolume}/usr/standalone/i386/fdisk440 -u -f "${bootvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk}
fi
# build options packages
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++))
packagesidentity="org.chameleon.options"
options=($( find "${pkgroot}/Scripts/Options" -type d -depth 1 -not -name '.svn' ))
for (( i = 0 ; i < ${#options
- } ; i++))
do
packagesidentity="org.chameleon.flags"
flagname=($( find "${options[$i]}" -type d -depth 1 -not -name '.svn' ))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"${options[$i]##*/}\">"
choices[$((choicescount++))]="<choice\n\tid=\"${options[$i]##*/}\"\n\ttitle=\"${options[$i]##*/}\"\n\tdescription=\"${options[$i]##*/}_description\"\n>\n</choice>\n"
((xmlindent++))
for (( j = 0 ; j < ${#flagname
- } ; j++ ))
do
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"${options[$i]##*/}_${flagname[$j]##*/}\">"
choices[$((choicescount++))]="<choice\n\tid=\"${options[$i]##*/}_${flagname[$j]##*/}\"\n\ttitle=\"${options[$i]##*/}_${flagname[$j]##*/}\"\n\tdescription=\"${options[$i]##*/}_${flagname[$j]##*/}_description\"\n>\n</choice>\n"
((xmlindent++))
mkdir -p "${1}/${flagname[$j]##*/}/Root"
mkdir -p "${1}/${flagname[$j]##*/}/Scripts"
ditto --noextattr --noqtn "${options[$i]}/${flagname[$j]##*/}/postinstall" "${1}/${options[$i]##*/}${flagname[$j]##*/}/Scripts/postinstall"
buildpackage "${1}/${options[$i]##*/}_${flagname[$j]##*/}" "/" "${coresize}" "start_selected=\"false\""
rm -R -f "${1}/${j##*/}"
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
done
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
echo "Building ${options[$i]##*/} package"
buildpackage "${1}/${options[$i]##*/}" "/" "${coresize}" "start_selected=\"false\""
rm -R -f "${1}/${i##*/}"
done
((xmlindent--))
outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"
# End build options packages
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: fdisk: 1> Disk: /dev/disk1 geometry: 121601/255/63 [1953525168 sectors]
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: Offset: 0 Signature: 0xAA55
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: Starting Ending
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: #: id cyl hd sec - cyl hd sec [ start - size]
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: ------------------------------------------------------------------------
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: 1: EE 1023 254 63 - 1023 254 63 [ 1 - 1953525167] GPT
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: 2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: 3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: 4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: fdisk: 1> Partition 4 marked active.
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: fdisk:*1> Device could not be accessed exclusively.
Sep 21 03:16:24 tomaremac installd[4557]: ./postinstall: A reboot will be needed for changes to take effect. OK? [n] Writing MBR at offset 0.
..
With the installer made by iFabio is it working?Hi Scrax, to answer your question. Yes, iFabio's installer sets the active flag for the selected partition of the standard install.
Anyway we can use default fdisk to make the partition active, fdisk440 is only needed to write boot0 (or boot0hfs) to MBR.Yep that works oldnaplam.. :)
# If table is GPT make the first partition active (BadAxe compatibility).
[ "${partitiontable}" = "GPT" ] && bootslice=1
fdisk -e ${bootdisk} <<-MAKEACTIVE
print
flag ${bootslice}
write
y
quit
MAKEACTIVE
Maybe can be opened a branch for just the installer? I've never used svn before my chameleon experience but I learn quick :)
Yeah. I think maybe a new project for the package installer under the main forge projects (http://forge.voodooprojects.org/)?
Zef/Kabyl.. Can this be done? Scrax and iFabio are doing a good job with this but I feel we need to help give them a definite direction to aim for.
I think we can make two options folder, one "basic" and one "advanced" or "expert" ?
If it's possible to do that it would help. Maybe "simple" and "advanced", with the simple one just installing the stage 0, 1 and 2 files like Dr. Hurt's old installers? The your mighty list of options can be under the advanced option?
It would be much appreciated, it would be easier to work on the same project
I think a slightly different idea ... I put together a few things and i upload everything. :D
I agree with the "three" types of installation:
Basic
Standard
Advanced
Interesting.. I can't comment until I see what you have in mind, but at first thoughts I ask does it need three options? maybe it does.. I'll wait and see :)
I have PM'd Zef to see what can be done. I can't do it myself as I don't have admin privileges.
One thing.. you're adding just the contents of /package to the project; are you keeping in mind that it needs the rest of the booter structure to work?Hi Azimuth
Well, i pointed the lack of booter files mainly because iFabio is doing changes on the main make file, which has no place on the PackageBuilder folder as it is. So, i suggest at least moving all the files that are now on the root of PackageBuilder, to a /package folder to match the trunk layout and include the main make file on the root.Yes. I agree and have just made the relevant changes :)
for what I know fdisk440 is the same as fdisk (the one in the trunk not the original in osx)
EDIT: I still think that Docs and bdmesg are also needed with any installer so I think i'll keep them in the basic (if they get overwritten it's not a problem).
*EFi installation questions:I think on real Mac's you will find Apple does already add stuff there but does it affect the hackintosh? Not so far, but I guess you're right to ask the queston. However, The EFI install is still a useful option for many users and it might still be a good idea to keep the EFI options in the standard installer. It might be worth running a poll to get an idea of how many people use the EFI partition for their Chameleon installations?
I think that using the EFI partition is a bad idea, because we are breaking the GUID specifications and if Apple starts to use it all the EFI installations will screwed.
A way more effective te have a vanilla install is to make a small volume (HFS+, FAT doesn't import) for just chameleon and Extra (if FAT it could also be accessed by other system for recovery ;) )I use that method myself.
/usr/sbin/bdmesg
works with just:
tomaremac:~ scrax$ bdmesg
For documentation there is also already a folder:
/Library/Documentation
We just need to add:
/Library/Documentation/Chameleon
But overall guys, I see the sense in splitting the installer but I still think maybe just two: Standard and Advanced? I seem to remember in your previous installers all four options working well - (boot0, boot0hfs, EFI FAT, EFI GPT)?
Update my branch folder with last changes:
- Update all language with last _title and _description (need translation).
- Comment (disabled) in the main make the option for advanced pkg
- Added Options (from scrax's basics folder)
- Added Chameleon Prefpanel
- Correct some minus error
- Comment (disabled) the copy for the resourced folder.
I like it and the simplified range of options for the standard installer :)credit to scrax. I just copy this part from his buildpkg script
Note: After running the installer, I see it didn't create a com.apple.Boot.plist?
iFabio, on buildpkgHi scrax!
line 53
fixperms "${1}/Core/Root/"
nedds to be before
line 52
cp -f ${pkgroot}/fdisk440 ${1}/Core/Root/usr/sbin
and
line 51
cp -f ${pkgroot}/fdisk ${1}/Core/Root/usr/sbin
What's wrong with the method you use to add the icon? I think it's a good way.Try open the pkg generated and you see all the metapackages have the same/main icon...
Any icon for the installer? just a image.png 400x400 with the 3 operatings sys logo (win-linux-OSX)I haven't made many icons before.. but I have been racking my brains to see what I can come up with..
... for change look at the classic "box"
commit 179Great - I'm happy to help where I can :)
the last "ballon" icon & background.
Themes Option:
• A good simple selection.. Maybe still include the bullet theme? and how about adding the 'mint' theme that Enzo and I created? Zef was going to add it to the trunk be I guess we haven't got round to that :)
• Maybe add a note that more themes can be found at http://forum.voodooprojects.org/index.php/board,7.0.html
// Themes
"Themes_title" = "Themes";
"Themes_description" = "Una raccolta di temi campione.
Molti altri sono reperibili su http://forum.voodooprojects.org/index.php/board,7.0.html";
...
"Mint_title" = "Mint";
"Mint_description" = "Un tema 'Mint' realizzato da Blackosx e Enzo";
...
I've just built your package installer r179 to have a look at the new background image in action and here a a couple of notes from the tests I've done. If that package is not ready for testing then sorry for trialling something that's not ready and please ignore these comments.
Chameleon Option:
** The Chameleon Standard option does not set the active flag **
** Format EFI to FAT then install using FAT option = Installation Failed **
** Format EFI to HFS+ then install using FAT option = Installation Failed **
*** The /Extra/com.apple.Boot.plist does not get created? ***
ifabio: Add mint theme. restored bullet theme. update Polish language update Spanish language Add Chinese language Create a "dummy" folder for a "dummy pkg" language test reason... or maybe I don't need it
commit 180Thanks Fabio
Add mint theme. restored bullet theme.
No changes in the script so.. still no work the feature quoted by Blackosx.Is it easy to add back in the previous code (http://forum.voodooprojects.org/index.php/topic,1521.msg8286.html#msg8286) for the EFI install which was working from scrax's installer? Or have things changed since then?
Is it easy to add back in the previous code (http://forum.voodooprojects.org/index.php/topic,1521.msg8286.html#msg8286) for the EFI install which was working from scrax's installer? Or have things changed since then?Hi
The 4 options works in the scrax installer (boot0,boot0hfs,EFI,FAT)?Using scrax's latest files on his branch to make Chameleon-2.0-RC5-INSTALLER-r185.pkg
Note... the last background is great.. but if you see it in action and "Enlarge" the installer window it lost the lateral and the bottonYes I know... :P
FOR FAT32:
newfs_msdos -F 32 -v EFI /dev/rdiskXs1
FOR HFS
newfs_hfs -v EFI /dev/rdiskXs1
is not important the name you use there. Also "Documenti" will work. It's a folder used to store all the package contents before building it.?
I think that, like fdisk440, bdmesg and doc are to be installed without any choice to avoid confusion to noobs (and also to be sure that a lot of user have installed bdmesg to check the problems)
no. You are right it's not correct there is an error in my branch
this is the apple standard documentations folder:
/Library/Documentation
sorry, this is good i think
buildpackage "${1}/Documentation" "/Library/Documentation/Chameleon2RC5" "" "start_selected=\"false\""
DeRez -only icns "${pkgroot}/Icon.icns" > tempicns.rsrc
Rez -append tempicns.rsrc -o "${1%/*}/${packagename// /}-${version}-r${revision}-Standard.pkg"
SetFile -a C "${1%/*}/${packagename// /}-${version}-r${revision}-Standard.pkg"
Where Icon.icns is prebuild with a apps like Img2icnsQuestion.
for doc "building"
sorry, this is good i thinkHi Fabio/Scrax
buildpackage "${1}/Documentation" "/Library/Documentation/Chameleon2RC5" "" "start_selected=\"false\""
Blackosx very good works!Thanks for testing it out and I think now we need to test the standard and EFI scripts with a larger audience. Maybe you could merge the changes I have made with your branch and release the package in your InsanelyMac thread, but add a note to stress that this is a test for revised scripts for installing to GPT disks..
I wait you complete the scripting fix job :P and I merge the cosmetics feature like icon background and language
Thanks for testing it out and I think now we need to test the standard and EFI scripts with a larger audience. Maybe you could merge the changes I have made with your branch and release the package in your InsanelyMac thread, but add a note to stress that this is a test for revised scripts for installing to GPT disks..
Do think that's a good idea or shall we wait for more testing? as the last thing we want to do is release something that messes someone's setup.
As I still want to do tests at my end for installing to drives with an MBR partition scheme which show up in diskutil as FDisk_partition_scheme.
Great. In that case, let me change some of the wording in the English resources to reflect that it's a test installer, and it's a work in progress. I'll post back when I'm ready. Thanks :);) when you are ready...
This package installer uses updated versions of the original Chameleon scripts and this trial reflects it's current state. I've conducted numerous tests with it using OSX and Windows 7 on a disk with a GPT and GPT/MBR and feel it's ready for wider testing.
Please only use this if you are confident.
The changes made (so far) are:
• Only two bootloader choices (Standard and EFI).
• boot0 or boo0hfs are automatically written depending on whether or not a Windows disk signature exists in the MBR of the selected disk.
• EFI script will install boot1h or boot1f32 depending on the format of the EFI partition.
• If you currently have boot0hfs installed but without a Windows installation then it will be replaced with boot0 (and vice-versa).
• Activate selected partition if it meets two conditions: A) it's not already the active partition, B) Windows is NOT installed
• Only English language. Note: other languages will be added back once the words have been finalised.
• EFI Mounter applescript updated to mount EFI partition.
There will be more changes in the future to the whole package.
commit 214As far as I can remember, the code in my branch was working apart from the creation of the com.apple.Boot.plist as I changed the way it was done - so I recommend you test it thoroughly at your end before you think about releasing an installer based on it. I am busy learning shell scripting and re-working a local version on my branch - which now looks a lot different to what I have on the SVN. I've a lot of work to do yet and it's all down to finding the time to get it to a point where I am happy with.
Update my branch to match with chameleon trunk 630 also the Package folder are the same as Blackosx folder,
I add in the buildpkg script the "command" listed some post ago for make the icon on the builded pkg, I place that command betweenNice. I'll look at that when I'm near finishing my project.
the name of pkg and the MD5 info.
NOTE: I see some problem if I add a lot of language.. can the text format inside the file cause random crash in builded package?I too saw this and more languages did make the package 'unstable'.. I haven't looked in to why that happened but if you find anything the please post :)
With only english the pkg builded is stable! Strange no?
installer says "installation successful", but i can't boot the stick - i get a blinking cursor.Thanks for the feedback from your tests with running the installer against your USB memory sticks. I hadn't really conducted much testing there and I'll add it to my to do list for the code I'm currently working with.
...it boots after i install chameleon manually.Installing Chameleon manually in my opinion is still the best way to do it :)
another weird thing: even though i selected numerous boot options in the installer (resolution, p and c states, gfxenabler, etc...) com.apple.Boot.plist inside Extra ends up empty.The v2 installer, which I never released, had a re-work for building the com.apple.Boot.plist and that was faulty.. Hence one of the reasons I am now working on the new installer in my branch. I think iFabio, copied the code from my branch to his branch in which case any future releases built around that code needs fixing! - though I think the last one iFabio released (see above (http://forum.voodooprojects.org/index.php/topic,1521.msg8776.html#msg8776)) was based on the code from my commit 206 which should be the same as my v1 test installer but with the latest Chameleon trunk.
am i doing somthing wrong (don't know how i can make a mistake with an installer)?Lol.. No, you're not doing anything wrong :)
Final Icon by RASONE (3D box and effect + chameleon Icon)Hi Fabio
I use it in the next package :P
Can I please ask for your patience here and continue using a manual install for the Chameleon bootloader until I find some spare time to get the code in my branch top a state where I am happy to release another trial?
No problem. Actually, that was the first time i used the installer for Chameleon, usually it's terminal all the way for me.An installer can be considered lazy and also it doesn't really teach the user anything about what's been done to their system, so maybe this isn't such a good project? :P But I have learnt by doing this so for me at least it's been worth it.
I just wanted to let you know about my experience with this installer.Thanks, I appreciate the feedback.
I always have a "master" Chameleon USB stick (if I screw up the disk booter) and a few ones just for fiddling.Same here.. I have a bootable USB hanging on my notice board for emergency purposes and I have needed it on the odd occasion.
If you need any kind of testing, just let me know - I will gladly help with what I can.Thanks. I'll bear it i mind :)
Can I upload your commit 243 @IM?Hi Fabio
TEST purpose?
I post it later with your description in the "TEST PGK" zone :PGreat - I look forward to some feedback from it - I'll check in to Insanely to help out.
And I add the Icon ;)
Have you try to reverse this script into a script version (pkg builder)? the old way for make the package...No. I haven't looked in to that yet. If you know more, please feel free to take the code from branch and run tests.
I will try to mix your script with the old official script method...Okay - I'll be interested in learning what you do :)
"${bootresources}/Tools/SetFile" -a V "${bootvolume}/${filesystemloader}"
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *320.1 GB disk0
1: Windows_NTFS Windows 7 64.4 GB disk0s1
2: Linux 32.2 GB disk0s2
3: Windows_NTFS test 8.6 GB disk0s3 (this one it's in fact a ExFAT fs)
4: Apple_HFS Hyperspace 214.8 GB disk0s4
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk1
1: EFI 209.7 MB disk1s1
2: Apple_HFS Snow 200.0 GB disk1s2
3: Apple_HFS Home 99.9 GB disk1s3
4: Apple_HFS Leo 40.0 GB disk1s4
5: Apple_HFS SnowLab 40.0 GB disk1s5
6: Apple_HFS Mac OS X Install DVD 10.0 GB disk1s6
The above is my internal HDD layout atm; disk0 is already "loaded" with boot0hfs on mbr and the booter is installed on disk0s4. When i run the installer against that disk, everything is updated except for boot0hfs.Nov 30 01:19:53 AziLandz installd[454]: ./postinstall: ===============================================
Nov 30 01:19:53 AziLandz installd[454]: ./postinstall: Entering CheckDiskMicrocode:
Nov 30 01:19:53 AziLandz installd[454]: ./postinstall: ****************************
Nov 30 01:19:53 AziLandz installd[454]: ./postinstall: DEBUG: passed argument for targetDisk = /dev/disk0
Nov 30 01:19:53 AziLandz installd[454]: ./postinstall: DEBUG: passed argument for diskSigCheck = 1
Nov 30 01:19:53 AziLandz installd[454]: ./postinstall: 0b807c
Nov 30 01:19:53 AziLandz installd[454]: ./postinstall: Found existing Chameleon stage 0 loader - Boot0hfs
my question is, why isn't stage 0 updated in this case?... asking before shooting ;D sorry for not giving much help on thisNo problems there mate - I've seen you around keeping very active with other things and you are always helping others users - so all credit to you. But thanks for stopping by and lending your expert eye :)
a bootloader installer is not a priority to meI know what you mean - sometimes I question myself for doing this but I guess I'm just a bit bored these days and wanted to get involved in something a bit different and this seemed the perfect opportunity to learn some shell scripting.
Blackosx, about the hidden (or not) boot file, i already voted on the IM topic for a visible boot file, simply because it's easier for everyone, from devs (while testing) to noobs (while ignoring the file is hidden).I always have it visible as exactly as you say, it's easy to swap, change, see etc. and doesn't cause my any issues. But in response to the InsanelyMac posts I have added the option in the installer for the user to choose which they prefer. Hence the previous post about SetFile.
I also think no permissions should be set on the file; leaving that for later since i still didn't had time to check sources, but i believe that's happening since i'm getting a Unix Executable (dark icon) on some tests installing to disk images..Thanks for the note - I haven't looked at permissions yet.
About your last question, SetFile is included on the latest official pkg, under EnhancedHFS.pkg(Standart.pkg)/scripts/tools (checked with Pacifist, under Resorces tab); on the trunk, check /package/buildpkg, lines 60, 68 & 76 for when it's added there. So, i guess you can include it on the pkg; but, there's an alternative that's already in the system without XCode, the "chflags <hidden/nohidden>" command... that's what i use all the time for the purpose.Thank you for pointing out that SetFile was included in the original pkg, I was looking at the files in the trunk and didn't see it the inclusion in buildpkg. I will proceed and use it in my branch :)
disk0 is already "loaded" with boot0hfs on mbr and the booter is installed on disk0s4. When i run the installer against that disk, everything is updated except for boot0hfs.Good question - and the basic answer for now is that's just the way I've set it to work.
../snip/..
my question is, why isn't stage 0 updated in this case?... asking before shooting ;D
If you need i can post or send you the full log, but i can tell you that the rest seems pretty fine.No need for that - I trust your judgement ;D
But thanks for stopping by and lending your expert eye :):o expert, moi?
As for chflags, yes I am aware of that command and have used it before myself but after doing a quick bit of research earlier today and found a post saying the difference between SetFile and chflags is that SetFile can mark files as invisible on non-HFS volumes. I haven't looked any more in to that to confirm but I thought if Chameleon can be installed on FAT32 partitions then chflags wouldn't work there? - I need to do some testing etc.... see what i mean :P i was unaware of that. I really didn't checked it out; i figure there will be some diff...
I know what you mean - sometimes I question myself for doing this but I guess I'm just a bit bored these days and wanted to get involved in something a bit different and this seemed the perfect opportunity to learn some shell scripting.yeah, it's a nice project, no doubt. And i have nothing against installers, just to make it clear :)
Good question - and the basic answer for now is that's just the way I've set it to work.aah, that explains it ;D
I haven't thought about the code for boot0 or boot0hfs changing anytime soon so I went down the route that if it doesn't need changing then why bother.. But now you've brought it up then maybe it wasn't such a good idea? lol.. it's easy enough to change.
Can't build the installer... i hate Package Maker! :PFixed - commit 259.
http://www.rkuntz.org/pmwiki.php?n=Code.AntDiskImage
http://www.tuttologia.com/macp2p/showthread.php?t=9479
http://wiki.services.openoffice.org/wiki/MacOSX:_Arrange_icons_in_a_dmg
http://svn.apache.org/repos/asf/directory/studio/trunk/tools/Mac%20OS%20X%20DMG/createDMG.sh
http://www.macdisk.com/ds_storeen.php
http://hints.macworld.com/article.php?story=20020311215452999
http://endrift.com/blog/2010/06/14/dmg-files-volume-icons-cli/
http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools
http://www.yoursway.com/free/#createdmg
http://www.tutorial9.net/tutorials/photoshop-tutorials/photoshop-tutorial-design-the-mac-os-x-leopard-folder/
http://marketingtypo.com/tag/icon/
http://qwan.org/2007/05/22/using-xcode-to-build-a-disk-image-and-upload-a-web-site/
http://drnicwilliams.com/2009/02/03/choctop-packaging-and-deployment-of-cocoa-applications/
http://www.brightpebbles.org/articles/disk-images-on-the-fly-in-xcode
http://www.mackb.com/Uwe/Forum.aspx/mac-tools/404/XCode-adding-a-task-to-the-build-phase
http://cocoawithlove.com/2010/11/deployment-script-for-generic-cocoa-mac.html
http://www.omnigroup.com/mailman/archive/macosx-dev/2002-April.txt
http://mac101.net/content/how-to/how-to-create-dmg-art-for-fancy-application-installations/
http://www.tribler.org/trac/wiki/MacDiskimage
http://goodliffe.blogspot.com/2010/08/eulogise-adding-eula-to-dmg.html
Fabios-Mac-Pro:openUp root# make
cc -c -o openUp.o openUp.c
openUp.c: In function ‘main’:
openUp.c:68: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 2 has type ‘u_int32_t’
cc openUp.o -o openUp
Fabios-Mac-Pro:openUp root#
This "command" is useful to auto-popup a dmg when is mounted...Hi iFabioHi Blackosx...
I might be able to come up with a background for your Window.
Have you got a final window size and folder placement positions which I can work with?
didn't you have your custom icon working before? if so, what's changed?
...//...
Building FakeSMC package
113 blocks
Building IOAHCIBlockStorageInjector package
4 blocks
Building IOATAFamily package
1131 blocks
Building JMicronATAInjector package
5 blocks
3 blocks
1 block
### DeRez - The resource fork of "/project/chameleonApplications/branches/iFabio/Chameleon/package/Icon.icns" is empty and uninitialized.
sh-3.2#
# 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}/Icon.zip" "${pkgroot}/"
DeRez -only icns "${pkgroot}/Icon/Icon.icns" > tempicns.rsrc
Rez -append tempicns.rsrc -o "${1%/*}/${packagename// /}-${version}-INSTALLER-r${revision}.pkg"
SetFile -a C "${1%/*}/${packagename// /}-${version}-INSTALLER-r${revision}.pkg"
rm -f tempicns.rsrc
rm -rf "${pkgroot}/Icon" # Clean the generated folder from "ditto"
# End
/*
* Copyright (c) 2001 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* The contents of this file constitute Original Code as defined in and
* are subject to the Apple Public Source License Version 1.1 (the
* "License"). You may not use this file except in compliance with the
* License. Please obtain a copy of the License at
* http://www.apple.com/publicsource and read it before using this file.
*
* This Original Code and all software distributed under the License are
* distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
* License for the specific language governing rights and limitations
* under the License.
*
* @APPLE_LICENSE_HEADER_END@
*/
/*
* Shantonu Sen <<EMAIL REMOVED>>
* openUp.c - program to set the "first-open-window" field of a volume
*
* Get the directory ID for the first argument, and set it as word 2
* of the Finder Info fields for the volume it lives on
*
* cc -o openUp openUp.c
* Usage: openUp /Volumes/Foo/OpenMe/
*
*/
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/attr.h>
#include <sys/stat.h>
#include <sys/mount.h>
#include <memory.h>
struct directoryinfo {
long unsigned length;
uintptr_t dirid; // changed from: u_int32_t dirid;
};
struct volumeinfo {
long unsigned length;
uintptr_t finderinfo[8]; // changed from: u_int32_t finderinfo[8];
};
int main(int argc, char *argv[]) {
char *path = NULL;
struct attrlist alist;
struct directoryinfo dirinfo;
struct volumeinfo volinfo;
struct statfs sfs;
path = argv[1];
bzero(&alist, sizeof(alist));
alist.bitmapcount = 5;
alist.commonattr = ATTR_CMN_OBJID;
getattrlist(path, &alist, &dirinfo, sizeof(dirinfo), 0);
printf("directory id: %lu\n", dirinfo.dirid);
statfs(path, &sfs);
printf("mountpoint: %s\n", sfs.f_mntonname);
alist.commonattr = ATTR_CMN_FNDRINFO;
alist.volattr = ATTR_VOL_INFO;
getattrlist(sfs.f_mntonname, &alist, &volinfo, sizeof(volinfo), 0);
volinfo.finderinfo[2] = dirinfo.dirid;
setattrlist(sfs.f_mntonname, &alist, volinfo.finderinfo, sizeof(volinfo.finderinfo), 0);
return EXIT_SUCCESS;
}
Need.
I have "fix" the openUp.c file discussed long time ago, will be nice to add this into the i386/util , with this little "program" we can show (pop up) a text when a dmg is mounted (I think this for the Chameleon DMG), I compile and use that "code" in my local machine and works well.
924 by meklort
Added openUp utility. Will be used in the pkg build script
Main reason for not using sudo, is I shouldn't have to use sudo to compile a package....Agree!... I still didn't had time to look at this properly; two days without modem messed up my up to date
...Similar thinks for JMicron, BlockStorage, ACHIPort, and so on...
<key>Yukon-88E8055-B0</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.iokit.AppleYukon2</string>
<key>EnableLowPwr</key>
<integer>1</integer>
<key>IOClass</key>
<string>yukon2osx</string>
<key>IOPCIPrimaryMatch</key>
<string>0x436a11ab</string>
<key>IOPCISecondaryMatch</key>
<string>0x00ba11ab</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>InitialWaitForLinkUp</key>
<integer>6000</integer>
<key>MACNumber</key>
<integer>1</integer>
<key>Model</key>
<string>Yukon Gigabit Adapter 88E8055 Singleport Copper SA</string>
<key>NetworkNumber</key>
<integer>1</integer>
<key>RxDeadman</key>
<integer>0</integer>
<key>RxRingGrowOnPause</key>
<integer>10</integer>
<key>RxRingSize</key>
<integer>0</integer>
<key>RxRingSize_100MBit</key>
<integer>128</integer>
<key>RxRingSize_10MBit</key>
<integer>64</integer>
<key>RxRingSize_GigaBit</key>
<integer>256</integer>
<key>TxRingSize</key>
<integer>256</integer>
<key>Vendor</key>
<string>Marvell</string>
<key>WaitForLinkUp</key>
<key>WaitForLinkUp</key>
<integer>6000</integer>
</dict>
<key>Yukon-88E8056</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.iokit.AppleYukon2</string>
<key>EnableLowPwr</key>
<integer>1</integer>
<key>IOClass</key>
<string>yukon2osx</string>
<key>IOPCIPrimaryMatch</key>
<string>0x436411ab</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>MACNumber</key>
<integer>1</integer>
<key>Model</key>
<string>Yukon Gigabit Adapter 88E8056 Singleport Copper SA</string>
<key>NetworkNumber</key>
<integer>1</integer>
<key>RxDeadman</key>
<integer>60</integer>
<key>RxRingGrowOnPause</key>
<integer>10</integer>
<key>RxRingSize</key>
<integer>0</integer>
<key>RxRingSize_100MBit</key>
<integer>128</integer>
<key>RxRingSize_10MBit</key>
<integer>64</integer>
<key>RxRingSize_GigaBit</key>
<integer>256</integer>
<key>TxRingSize</key>
<integer>256</integer>
<key>Vendor</key>
<string>Marvell</string>
</dict>
<key>Yukon-88E8061</key>
<dict>
<key>CFBundleIdentifier</key>
...
Is the package/buildpkg.sh script broken, or is it just me?...Scorpius, i have no such problem; can you check this again please?... and post the error log...
% themes=($( find "${artwork%/*}/artwork/themes" -type d -depth 1 -not -name '.svn' ))
% echo $themes
/Software/Chameleon.svn/artwork/themes/bullet
% i=0
% set -- /Software/Chameleon.svn
% echo $1
/Software/Chameleon.svn
% echo "${1}/${themes[$i]}"
/Software/Chameleon.svn//Software/Chameleon.svn/artwork/themes/bullet
% echo "${1}/${themes[$i]##*/}/Root/"
/Software/Chameleon.svn/bullet/Root/
% echo "${1}/${theme}/Root/"
/Software/Chameleon.svn/Bullet/Root/
Note that the ##*/ part in ${themes[$i]##*/} has the effect of stripping the all occurrences of "*/" from the variable ${themes[$i]}, corresponding to everything up to and including the last "/". An alternative would be the basename command.I forgot to mention that I use a case-sensitive file system (because it is a requirement for building Haiku). That's why I was the only one affected.And i was missing the point; Zell's post alerted me to it and to the fact that "verbosity is your friend!" :P
zhell is correct about using rsync -- and using the -C option skips the .svn directories as well.
...Zell, thanks for the explanation :)
Azimutz is right: the code is rather hard to understand and unnecessarily convoluted. The mkdir command is completely unnecessary. In fact, I believe that lines 295--301 could be done with a single call to rsync, using the --exclude and --chmod options.
cd /tmp
# Set up some directory and file structure to play with
mkdir -p Chameleon/Themes/bullet
touch Chameleon/Themes/bullet/icon.png
chmod 777 Chameleon/Themes # Set weird permissions
chmod 777 Chameleon/Themes/bullet/icon.png # Set weird permissions
mkdir Chameleon/Themes/.svn
touch Chameleon/.DS_Store
# Now copy it into another directory, preserving the path starting from "Chameleon":
rsync -av --exclude='.*' --chmod=Da=rx,u+w,Fa=r,u+w --relative Chameleon/Themes/bullet Chameleon-Root
# As you can see, the permissions are now 755 for the directories and 644 for the files.
ls -lAR Chameleon-Root
total 0
drwxr-xr-x 3 admin wheel 102 Sep 1 10:47 Chameleon
Chameleon-Root/Chameleon:
total 0
drwxr-xr-x 3 admin wheel 102 Sep 1 10:47 Themes
Chameleon-Root/Chameleon/Themes:
total 0
drwxr-xr-x 3 admin wheel 102 Sep 1 10:47 bullet
Chameleon-Root/Chameleon/Themes/bullet:
total 0
-rw-r--r-- 1 admin wheel 0 Sep 1 10:47 icon.png
theme='bullet'
echo "$(echo ${theme:0:1}|tr '[:lower:]' '[:upper:]')${theme:1}"
Hi Azimutz,Hi Zell... "au contraire", the post was in fact motivational and constructive... no reason to put me off.
Glad you were not put off by my lengthy post. Here's an example of how rsync could do all in one line -- I think:
...
Ok.. this is what i came with for a quick fix to the main problems i found on the package.Hey Azi
...
Hi Fabio
Can I ask what the following are for?
/trunk/package/dmg/* (http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/trunk/package/dmg)
/trunk/package/Icons/* (http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/trunk/package/Icons)
Can they be removed?
...
popd >/dev/null
# 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"
# End
md5=$( md5 "${1%/*}/${packagename// /}-${version}-r${revision}.pkg" | awk {'print $4'} )
...
...
popd >/dev/null
# 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"
# End
md5=$( md5 "${1%/*}/${packagename// /}-${version}-r${revision}.pkg" | awk {'print $4'} )
...
If you un-comment that part and try build the pkg (make pkg) the pkg will be created with the beautiful icon, but that change is immediately lost by the tar compression (the compression eradicate that icon... strange but true), next if you uncompress the archive the pkg is w/o icon, probably this is a "feature" coming from the TAR command I really don't know...Is a unfinished work in progress...Thanks for letting me know :)
buildpackage "${1}/AMDGraphicsEnabler" "/Extra/modules" "" "start_selected=\"false\"" >/dev/null 2>&1
tobuildpackage "${1}/AMDGraphicsEnabler" "tmpcham/Extra/modules" "" "start_selected=\"false\"" >/dev/null 2>&1
pkg installer: all
${SRCROOT}/package/buildpkg.sh ${SYMROOT}/package;
@echo "\t[GZ] ${DISTFILE}.pkg"
@gzip --best ${DISTFILE}.pkg
to:pkg installer: all
${SRCROOT}/package/buildpkg.sh ${SYMROOT}/package;
@echo "\t[ZIP] ${DISTFILE}.pkg"
@ditto -c -k --sequesterRsrc ${DISTFILE}.pkg ${DISTFILE}.zip
@rm -r ${DISTFILE}.pkg
and into the buildpkg.sh (as I say some post ago...)# 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"
# End
to:# 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"
# End
Good works! Blackosx!Hi Fabio
From now I no find issue...
You think is ready to merge it into the main code?
Thanks Fabio. I'll do so when I think it's ready.Hi Blackosx.
// ============================================================================
// Exclusive boot options string - These are added automatically by buildpkg
// Name to be used should be ChooseNone-xxxxxx
// Where xxxxx = the name of the BootOptions file (minus the .txt)
// ----------------------------------------------------------------------------
"ChooseNone-Resolution_title" = "None";
"ChooseNone-Resolution_description" = "Don't choose a resolution.";
"ChooseNone-keylayout_title" = "None";
"ChooseNone-keylayout_description" = "Don't choose a keylayout.";
"ShowInfo_title" = "ShowInfo=No";to (localizable.strings)
"ShowInfo_description" = "Disables display of partition and resolution details shown on the left side of the GUI under the boot banner. This is useful information for troubleshooting, though can clash with certain themes.";
"ShowInfo_title" = "ShowInfo=Yes";
"ShowInfo_description" = "Enables display of partition and resolution details shown on the left side of the GUI under the boot banner. This is useful information for troubleshooting, though can clash with certain themes.";
...to
QuietBoot:QuietBoot=Yes
ShowInfo:ShowInfo=No
Wait:Wait=Yes
...
QuietBoot:QuietBoot=Yes
ShowInfo:ShowInfo=Yes
Wait:Wait=Yes
makedistribution "${1}" "${2}" "${3}" "${4}" "${5}"
No the idea is this... that EULA pop up coming from a test dmg also posted at Insanelymac .. dmg rev 747...Thanks for the info.
would be nice rewrite the builddmg.sh script... until now that script overwrite recently compiled content into "old" pre-madeHi Fabio
dmg image (look into ../package/dmg/ro.dmg)
I used this way because I have problem with resouce fork (.DS_Store file) and his creation...
Probably is only need the rm... I do the change quickly and I no check it in deep...Yep. I forgot to uncomment the rm's. Will do that before final version.
:-\ a lot of work for me to reorganize the language :oSorry about that, but hard coded text always runs the risk of needing to be updated at some point.
.../snip/...
For the Welcome, description an conclusion file I do the change in my branch and I will merge into trunk when I have a tiny number of language... (I prefer no increase the trunk number and do job for buildbot :P)...
I delete the dmg content/stuff from the trunk (maybe in a remote future we tweak it)It's still there now. Do you want me to delete it from the trunk?
As I propose @InsanelyMac maybe a poll for chose a background?Don't you like my revised background?
Can you propose some different Images? 5 or 10 :O
Last login: Fri Dec 23 00:20:42 on console
Fabio:~ iFabio$ cd /Users/iFabio/Desktop/trunk
Fabio:trunk iFabio$ make pkg
[MKDIR] /Users/iFabio/Desktop/trunk/sym
// -- -- //
SPLI SPLIT
// -- -- //
================= Making all in layouts =================
/Users/iFabio/Desktop/trunk/package/buildpkg.sh /Users/iFabio/Desktop/trunk/sym/package
----------------------------------
Building Chameleon Install Package
----------------------------------
================= Preinstall =================
[BUILD] Pre
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= Core =================
[BUILD] Core
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= Chameleon =================
[BUILD] New
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] Upgrade
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= Chameleon =================
[BUILD] Standard
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] EFI
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] noboot
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= Modules =================
[BUILD] klibc
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] AutoReso
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] uClibc
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] Keylayout
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= Control =================
[BUILD] BootBanner
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] GUI
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] LegacyLogo
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] InstantMenu
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] QuietBoot
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] ShowInfo
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] Wait
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= General =================
[BUILD] arch
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] EHCIacquire
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] EthernetBuiltIn
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] ForceHPET
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] ForceWake
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] RestartFix
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] UHCIreset
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] UseMemDetect
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] UseKernelCache
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] Wake
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= KernelFlags =================
[BUILD] Verbose
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] Singleusermode
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] Ignorecaches
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] Npci
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] Darkwake
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= PowerManagement =================
[BUILD] CSTUsingSystemIO
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] DropSSDT
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] EnableC2State
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] EnableC3State
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] EnableC4State
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] GenerateCStates
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] GeneratePStates
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= Resolution =================
[BUILD] 1024x600x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] 1024x768x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] 1280x768x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] 1280x800x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] 1280x960x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] 1280x1024x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] 1440x900x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] 1600x900x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] 1680x1050x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] 1920x1080x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] 1920x1200x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= Video =================
[BUILD] GraphicsEnabler
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] UseAtiROM
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] UseNvidiaROM
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] VBIOS
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= Keymaps Options =================
[BUILD] mac-de
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] mac-es
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] mac-fr
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] mac-it
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] mac-se
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] pc-fr
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= Themes =================
[BUILD] Bullet
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] Default
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] Embed
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
[BUILD] Legacy
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
================= Post =================
[BUILD] Post
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
Error encountered while processing file : /Users/iFabio/Desktop/trunk/sym/package/Chameleon/EFI.pkg/Scripts
Error encountered while processing file : /Users/iFabio/Desktop/trunk/sym/package/Chameleon/Post.pkg/Scripts
Error encountered while processing file : /Users/iFabio/Desktop/trunk/sym/package/Chameleon/Pre.pkg/Scripts
Error encountered while processing file : /Users/iFabio/Desktop/trunk/sym/package/Chameleon/Standard.pkg/Scripts
--------------------------
Building process complete!
--------------------------
Build info.
===========
Package name: Chameleon-2.1svn-r1741.pkg
MD5: fd89332c2936d07248b35ddd04e319c4
Version: 2.1svn
Stage: 2.1svn
Date/Time: 2011-12-23 00:48:07
Fabio:trunk iFabio$
.......| cpio -o -z -R 0:0 --format .......
to.......| cpio -o -z -R root:wheel --format .......
buildpackage "$packageRefId" "${choiceId}" "${1}/${choiceId}" "/"
tobuildpackage "$packageRefId" "${choiceId}" "${1}/${choiceId}" "/" >/dev/null 2>&1
the "error" is gone...Great :)
I also add >/dev/null 2>&1 at the end of all "buildpackage" line for a "clean" log-output.
But still some problem...It's not really a problem. Just uncomment line 501 (http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/trunk/package/buildpkg.sh#L501) of buildpkg.sh.
I try... build the package (make pkg), and the package folder is not deleted after the creation of pkg. see picture
???
I also add >/dev/null 2>&1 at the end of all "buildpackage" line for a "clean" log-output.Hi ErmaC,
ex: fromCode: [Select]buildpackage "$packageRefId" "${choiceId}" "${1}/${choiceId}" "/"
toCode: [Select]buildpackage "$packageRefId" "${choiceId}" "${1}/${choiceId}" "/" >/dev/null 2>&1
But still some problem...
I try... build the package (make pkg), and the package folder is not deleted after the creation of pkg. see picture
???
Fabio
make clean
ormake distclean
This is the normal process now Fabio so we can inspect generated pkgs and the distribution file.Thanks for this confirmation JrCs. I didn't want to change anything that I wasn't sure of so I left that alone in my latest commit.
Best regards,
JrCs
@ErmaC: i don't understand why you have some errors setting uid/gid with cpio.
Do you use the Apple cpio (Snow Leopard or Lion) and not another one like macports or fink ?
Do you build package into a Virtual Machine ?
Can you check with the command id root if it return the good name for uid and gid.
id root must return something like this:
uid=0(root) gid=0(wheel) .....
JrCs
Last login: Wed Dec 28 13:37:44 on ttys000
Fabio:~ iFabio$ id root
uid=0(root) gid=0(wheel) groups=0(wheel),401(com.apple.access_screensharing),402(com.apple.sharepoint.group.1),204(_developer),100(_lpoperator),98(_lpadmin),80(admin),61(localaccounts),29(certusers),20(staff),12(everyone),9(procmod),8(procview),5(operator),4(tty),3(sys),2(kmem),1(daemon),403(com.apple.sharepoint.group.2)
Fabio:~ iFabio$
addGroupChoices "Options"
addGroupChoices --parent="Options" --exclusive_zero_or_one_choice "Resolution"
addChoice --group "Resolution" "1024x600x32" "org.chameleon.options.resolution.1024x600x32"
function get_chameleon_boot_plist() {
if (my.target) {
if (my.target.mountpoint + '/Extra/org.chameleon.Boot.plist') {
var chameleon_boot_plist = my.target.mountpoint + '/Extra/org.chameleon.Boot.plist'
return system.files.plistAtPath(chameleon_boot_plist);
}
// Add support for legacy installations.
if (my.target.mountpoint + '/Extra/com.apple.Boot.plist') {
var chameleon_boot_plist = my.target.mountpoint + '/Extra/com.apple.Boot.plist'
return system.files.plistAtPath(chameleon_boot_plist);
}
}
return null;
}
if (my.target.mountpoint + '/Extra/org.chameleon.Boot.plist')
that is always true !var boot_plist_files=new array('org.chameleon.Boot.plist', 'com.apple.Boot.plist');
and you create a loop to check the file in the array. The loop must end if the plist exists.your problem is the:Even if /Extra/org.chameleon.Boot.plist doesn't exist?Code: [Select]if (my.target.mountpoint + '/Extra/org.chameleon.Boot.plist')
that is always true !
The best is to have an array with the 2 files:Maybe something like this?Code: [Select]var boot_plist_files=new array('org.chameleon.Boot.plist', 'com.apple.Boot.plist');
and you create a loop to check the file in the array. The loop must end if the plist exists.
var boot_plist_files=new array('org.chameleon.Boot.plist', 'com.apple.Boot.plist');
var i=0;
var chameleon_boot_plist = "";
while (i<=boot_plist_files.length && chameleon_boot_plist = "" ) {
if (my.target.mountpoint + '/Extra/'boot_plist_files[i])
var chameleon_boot_plist = my.target.mountpoint + '/Extra/'boot_plist_files[i];
i++;
}
if (chameleon_boot_plist != "")
return system.files.plistAtPath(chameleon_boot_plist);
else
return null;
Tell me of you want me to make the codeYes please.. :P
Tell me of you want me to make the codeYes please.. :P
...
Package:
---------
kalyway, AzimutZ, blackosx, ErmaC, scrax, JrCs
Copyright:
---------
2009-2012
# ====== CREDITS ======
declare -r CHAMELEON_DEVELOP=$(awk "NR==6{print;exit}" ${PKGROOT}/../CREDITS)
declare -r CHAMELEON_CREDITS=$(awk "NR==10{print;exit}" ${PKGROOT}/../CREDITS)
declare -r CHAMELEON_PKGDEV=$(awk "NR==14{print;exit}" ${PKGROOT}/../CREDITS)
declare -r CHAMELEON_CPRYEAR=$(awk "NR==18{print;exit}" ${PKGROOT}/../CREDITS)
...
...
local chameleonSubsts="
s&%CHAMELEONVERSION%&${CHAMELEON_VERSION%%-*}&g
s&%CHAMELEONREVISION%&${CHAMELEON_REVISION}&g
s&%CHAMELEONSTAGE%&${CHAMELEON_STAGE}&g
s&%DEVELOP%&${CHAMELEON_DEVELOP}&g
s&%CREDITS%&${CHAMELEON_CREDITS}&g
s&%PKGDEV%&${CHAMELEON_PKGDEV}&g
s&%CPRYEAR%&${CHAMELEON_CPRYEAR}&g
s&%WHOBUILD%&${CHAMELEON_WHOBUILD}&g
:t
....
...
# End
md5=$( md5 "${distributionFilePath}" | awk {'print $4'} )
echo "MD5 (${distributionFilePath}) = ${md5}" > "${distributionFilePath}.md5"
echo ""
echo -e $COL_GREEN" --------------------------"$COL_RESET
echo -e $COL_GREEN" Building process complete!"$COL_RESET
echo -e $COL_GREEN" --------------------------"$COL_RESET
echo ""
echo -e $COL_GREEN" Build info."
echo -e $COL_GREEN" ==========="
echo -e $COL_BLUE" Package name: "$COL_RESET"${distributionFilename}"
echo -e $COL_BLUE" MD5: "$COL_RESET"$md5"
echo -e $COL_BLUE" Version: "$COL_RESET"$CHAMELEON_VERSION"
echo -e $COL_BLUE" Stage: "$COL_RESET"$CHAMELEON_STAGE"
echo -e $COL_BLUE" Date/Time: "$COL_RESET"$CHAMELEON_BUILDDATE"
echo -e $COL_BLUE" Builded by: "$COL_RESET"$CHAMELEON_WHOBUILD"
echo -e $COL_BLUE" Copyright $CHAMELEON_CPRYEAR ""$COL_RESET"
echo ""
}
...
Chameleon
v%CHAMELEONVERSION% r%CHAMELEONREVISION%
%wlc_installMessage%
Developers :
%DEVELOP%
Thanks to :
%CREDITS%
Package :
%PKGDEV%
%wlc_packageBuiltText%: %WHOBUILD%, %wlc_languageTranslatedText%
Copyright © %CPRYEAR%
%cnc_message%
Chameleon v%CHAMELEONVERSION% r%CHAMELEONREVISION%
Copyright © %CPRYEAR%
...
...
//-------------------------------------------------
language=en.lproj
wlc_installMessage=Do not install to an Apple Macintosh computer
wlc_packageBuiltText=Package built by
wlc_languageTranslatedText=language translated by: blackosx
cnc_message=The scripts have completed and a file
named @LOG_FILENAME@ has been
written to the root of your chosen partition.
Please read it to find out if the installation was
successful and keep it for a record of what was done."
//-------------------------------------------------
language=it.lproj
wlc_installMessage=Non installare su computer Apple Macintosh
wlc_packageBuiltText=Package built by
wlc_languageTranslatedText=language tradotto da: ErmaC e scrax
cnc_message="Le operazioni sono state completate ed un file
chiamato @LOG_FILENAME@ é stato
scritto nella root della partizione scelta.
Per favore leggilo per vedere se l'installazione é
avvenuta con successo e vedere le operazioni che sono state eseguite."
//-------------------------------------------------
...
...
also I think we need to update the description.html file with the new indroduced features like the cparm's patch for the OS X versions...Yes, and also one the things I have on my TO DO list since some of JrCs' changes is to amend the localizable strings to better describe the revised process and even change some of the text written to the install log. But I have little time at the moment so I will make small changes as and when I can. I haven't even had time to look properly at all the wonderful changes JrCs has made - though it's great he found time to code the use of templates - brilliant.
So would be better a "complete" template????I think so, yes.
also the "fileld" like Developer: Thanks to: an so on... are different for each language...Good spot. They should be added too then.
And yes the templates are the better and fast way for maintenance... is not the same edit and commit 1 or 2 files instead of "92"...Exactly.
:P
Let me know if I can help.. me too I have little time at moment... but better than nothing ..Okay. I don't know when I'll even start at looking at this, but when I do, I'll let you know.
./ConvertResourcesTextFile.pl ~/Desktop ResourcesSourceFile.txt
I help you to complete the "master" Resource Database.Thanks for taking a look at this Fabio and your offer to help. However, going by JrCs suggestions I think it's wise to stop for now and look at a different method. But yes, we can include 'Copyright' and the date in the future solution.
prop2po --encoding=UTF-16LE -P Localizable.strings en.pot
then i copy the en.pot file to fr.pocp en.pot fr.po
then i open the fr.po with an editor and i've translated in french the first 4 messages.po2prop -t Localizable.strings fr.po Localizable.fr.strings
The only problem is that we need the translate-toolkit on OSX. Actually i do the conversion from a linux.It's easy has download the package, extract it and installing it
As the toolkit is wrote in python i think it will be easy to port on OSX.
JrCs
cd /tmp
wget "http://sourceforge.net/projects/translate/files/Translate%20Toolkit/1.9.0/translate-toolkit-1.9.0.tar.bz2/download" -O translate-toolkit-1.9.0.tar.bz2
tar xvjf translate-toolkit-1.9.0.tar.bz2
cd translate-toolkit-1.9.0
sudo ./setup.py install --prefix=/opt/local
prop2po --encoding=UTF-16LE -P License.rtf l_en.pot
prop2po: warning: Couldn't handle input file License.rtf: don't know what to do with input format .rtf, no template file
Thx JrCs!This is looking a better approach Fabio :)
follow your steps...
#. // ============================================================================
#. // Strings for RTF Files
#. // ----------------------------------------------------------------------------
#: @@WELCOME_MESSAGE@@
msgid "Hello user of Chameleon."
msgstr ""
#. // ============================================================================
#. // Strings for RTF Files
#. // ----------------------------------------------------------------------------
#: @@WELCOME_MESSAGE@@
msgid "Hello user of Chameleon."
msgstr "Bonjour utilisateur de Chameleon."
#->Chameleon<-#
->v%CHAMELEONVERSION% r%CHAMELEONREVISION%<-
->Do not install to an Apple Macintosh computer<-
->**Developpers :**<-
->%DEVELOP%<-
->**Thanks to :**<-
->%CREDITS%<-
->**Package :**<-
->%PKGDEV%<-
->Package built by: %WHOBUILD%, language translated by: blackosx<-
Copyright © %CPRYEA%
po4a-gettextize -f text -m Welcome.mmd -M UTF-8 -p en.pot
which create a pot file like this:# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2012-03-01 11:23+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: Plain text
#: Welcome.mmd:3
msgid "#->Chameleon<-# ->v%CHAMELEONVERSION% r%CHAMELEONREVISION%<-"
msgstr ""
#. type: Plain text
#: Welcome.mmd:5
msgid "->Do not install to an Apple Macintosh computer<-"
msgstr ""
#. type: Plain text
#: Welcome.mmd:9
msgid "->**Developpers :**<- ->%DEVELOP%<-"
msgstr ""
#. type: Plain text
#: Welcome.mmd:12
msgid "->**Thanks to :**<- ->%CREDITS%<-"
msgstr ""
#. type: Plain text
#: Welcome.mmd:15
msgid "->**Package :**<- ->%PKGDEV%<-"
msgstr ""
#. type: Plain text
#: Welcome.mmd:17
msgid ""
"->Package built by: %WHOBUILD%, language translated by: blackosx<- Copyright "
"© %CPRYEA%"
msgstr ""
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: TEST 1.0\n"
"POT-Creation-Date: 2012-03-01 11:23+0100\n"
"PO-Revision-Date: 2012-03-01 11:28+0100\n"
"Last-Translator: Yves Blusseau <xxxxx@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: Plain text
#: Welcome.mmd:3
msgid "#->Chameleon<-# ->v%CHAMELEONVERSION% r%CHAMELEONREVISION%<-"
msgstr ""
#. type: Plain text
#: Welcome.mmd:5
msgid "->Do not install to an Apple Macintosh computer<-"
msgstr "->Ne pas installer sur un ordinateur Apple Macintosh<-"
#. type: Plain text
#: Welcome.mmd:9
msgid "->**Developpers :**<- ->%DEVELOP%<-"
msgstr ""
#. type: Plain text
#: Welcome.mmd:12
msgid "->**Thanks to :**<- ->%CREDITS%<-"
msgstr ""
#. type: Plain text
#: Welcome.mmd:15
msgid "->**Package :**<- ->%PKGDEV%<-"
msgstr ""
#. type: Plain text
#: Welcome.mmd:17
msgid "->Package built by: %WHOBUILD%, language translated by: blackosx<- Copyright © %CPRYEA%"
msgstr ""
po4a-translate -f text -m Welcome.mmd -M utf-8 -p fr.po -k 10 -l Welcome.fr.mmd
#->Chameleon<-#
->v%CHAMELEONVERSION% r%CHAMELEONREVISION%<-
->Ne pas installer sur un ordinateur Apple Macintosh<-
->**Developpers :**<-
->%DEVELOP%<-
->**Thanks to :**<-
->%CREDITS%<-
->**Package :**<-
->%PKGDEV%<-
->Package built by: %WHOBUILD%, language translated by: blackosx<-
Copyright © %CPRYEA%
po4a-updatepo -f text -m Welcome.mmd -M utf-8 -p fr.po
then fix translation with poedit- dia: uncompressed Dia diagrams.
- docbook: DocBook XML.
- guide: Gentoo Linux's XML documentation format.
- ini: INI format.
- kernelhelp: Help messages of each kernel compilation option.
- latex: LaTeX format.
- man: Good old manual page format.
- pod: Perl Online Documentation format.
- sgml: either DebianDoc or DocBook DTD.
- texinfo: The info page format.
- tex: generic TeX documents (see also latex).
- text: simple text document.
- wml: WML documents.
- xhtml: XHTML documents.
- xml: generic XML documents (see also docbook).
We now have to write a little script that replace all the @@xxxxxxx@@ strings in the RTF templates files to the right translation and put the file in the package. If you want i can try to write this script.
What do you think about this ?
po4a-translate -f xml -m Welcome.html -M utf-8 -p fr.po -k 0 -l Welcome.fr.html
textutil -convert rtfd Welcome.fr.html
i've made some tests, and i think markdown is not our best solution for the master template. The best is to use an HTML file and use po4a to extract/reinsert strings to po files.....with so many tools to choose from it's hard to decide which best suits the task in hand. Lol :P
So where did po4a-translate come from? I don't see that tool in /usr/local/bin after installing the translate toolkit the other day.Code: [Select]po4a-translate -f xml -m Welcome.html -M utf-8 -p fr.po -k 0 -l Welcome.fr.html
I had a read about textutil the other week and found it amazing at what it could do.Code: [Select]textutil -convert rtfd Welcome.fr.html
I will try to made a skeleton for chameleon.Brilliant. If you need any help (or testing etc.) from me then just ask.
So where did po4a-translate come from? I don't see that tool in /usr/local/bin after installing the translate toolkit the other day.Code: [Select]po4a-translate -f xml -m Welcome.html -M utf-8 -p fr.po -k 0 -l Welcome.fr.html
cd /tmp
svn checkout svn://anonscm.debian.org/po4a/trunk po4a
cd po4a
perl ./Build.PL --prefix=/opt/local
sudo ./Build install
Do you know if OSX package can use HTML file (like Description.html) instead of RTF files (like Welcome.rtfd and Conclusion.rtfd) ? If yes it will be too easy to translate chameleon package.
#. type: "InstallType_title"
#. type: "InstallType_description"
#. type: "New_title"
#. type: "New_description"
#. type: "Upgrade_title"
#. type: "Upgrade_description"
#. type: "EFI_title"
#. type: "EFI_description"
#. type: "Keylayout_title"
#. type: "Keylayout_description"
#. type: "Utility_title"
#. type: "Utility_description"
#. type: "PrefPanel_title"
#. type: "PrefPanel_description"
#. type: "SMBIOS_title"
#. type: "SMBIOS_description"
#. type: "Documentation_title"
#. type: "Documentation_description"
#. type: "mac-pt_title"
#. type: "mac-pt_description"
#. type: "pc-de_title"
#. type: "pc-de_description"
#. type: "pc-es_title"
#. type: "pc-es_description"
#. type: "pc-it_title"
#. type: "pc-it_description"
#. type: "pc-se_title"
#. type: "pc-se_description"
#. type: "pc-pt_title"
#. type: "pc-pt_description"
make pkg
;D========= Translating Resources ========
Error: failed to execute 'msgmerge -U po/ar.po po/chameleon.pot --lang=ar --previous --backup=none': No such file or directory.
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/all-wcprops: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/entries: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/text-base/background.tiff.svn-base: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/all-wcprops: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/entries: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/text-base/License.rtf.svn-base: Permission denied
Leaves me with only /sym/package/Chameleon/Resources/en.lproj/License.rtf...I will commit to trunk very soon.On another note, when you update the trunk can you also have a look at the cpio issue when building under Snow Leopard?
find "${PKG_BUILD_DIR}/${packagename}" \( -type d -name '.svn' \) -o -name '.DS_Store' -exec rm -rf {} \;
We've discussed this previously and it should work but it doesn't here and spits errors.find "${PKG_BUILD_DIR}/${packagename}/Resources" -name ".svn" -type d -o -name ".DS_Store" -type f | while read component
do
rm -rf "${component}"
done
cked out your branch and make pkg.You need the gettext utilities. If you have MacPorts you can installed it with
One issue:Code: [Select]========= Translating Resources ========
Leaves me with only /sym/package/Chameleon/Resources/en.lproj/License.rtf
Error: failed to execute 'msgmerge -U po/ar.po po/chameleon.pot --lang=ar --previous --backup=none': No such file or directory.
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/all-wcprops: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/entries: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/text-base/background.tiff.svn-base: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/all-wcprops: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/entries: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/text-base/License.rtf.svn-base: Permission denied
I'm looking forward to seeing it all working :)
sudo port -cu install gettext
If you don't want to install MacPorts the utilities can be found in Poedit.app in /Applications/Poedit.app/Contents/MacOS/ directory....I will commit to trunk very soon.On another note, when you update the trunk can you also have a look at the cpio issue when building under Snow Leopard?
buildpkg, line 865 - Change 0:0 to root:wheel
buildpkg, line 873 - Change 0:0 to root:wheel
and finally, this line in function make distribution() in buildpkg ?Code: [Select]find "${PKG_BUILD_DIR}/${packagename}" \( -type d -name '.svn' \) -o -name '.DS_Store' -exec rm -rf {} \;
We've discussed this previously and it should work but it doesn't here and spits errors.
I'd changed it to the following code in my branch , which we know does exactly the same thing as the above code but just doesn't spit errors:Code: [Select]find "${PKG_BUILD_DIR}/${packagename}/Resources" -name ".svn" -type d -o -name ".DS_Store" -type f | while read component
do
rm -rf "${component}"
done
Thanks
blackosx
You need the gettext utilities. If you have MacPorts you can installed it withThanks for the tip but I'm going to need your help as this is new to me :-[Code: [Select]sudo port -cu install gettext
If you don't want to install MacPorts the utilities can be found in Poedit.app in /Applications/Poedit.app/Contents/MacOS/ directory.
sudo cp /Applications/Poedit.app/Contents/MacOS/msgmerge /usr/local/bin
export PATH="/Volumes/MainSystem/usr/local/bin/: $PATH"
========= Translating Resources ========
Error: 'msgmerge -U po/ar.po po/chameleon.pot --lang=ar --previous --backup=none' died with signal 5, without coredump.
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/all-wcprops: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/entries: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/prop-base/background.tiff.svn-base: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/text-base/background.tiff.svn-base: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/all-wcprops: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/entries: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/text-base/License.rtf.svn-base: Permission denied
Can you please help me?Done in trunk :)Thanks for both.
You need the gettext utilities. If you have MacPorts you can installed it withThanks for the tip but I'm going to need your help as this is new to me :-[Code: [Select]sudo port -cu install gettext
If you don't want to install MacPorts the utilities can be found in Poedit.app in /Applications/Poedit.app/Contents/MacOS/ directory.
I've tried this....Code: [Select]sudo cp /Applications/Poedit.app/Contents/MacOS/msgmerge /usr/local/bin
export PATH="/Volumes/MainSystem/usr/local/bin/: $PATH"
and this is what I see....Code: [Select]========= Translating Resources ========
Can you please help me?
Error: 'msgmerge -U po/ar.po po/chameleon.pot --lang=ar --previous --backup=none' died with signal 5, without coredump.
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/all-wcprops: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/entries: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/prop-base/background.tiff.svn-base: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/.svn/text-base/background.tiff.svn-base: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/all-wcprops: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/entries: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Branch_JrCs/JrCs/sym/package/Chameleon/Resources/en.lproj/.svn/text-base/License.rtf.svn-base: Permission denied
# MacPorts Installer: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
# MacPorts Installer: adding an appropriate MANPATH variable for use with MacPorts.
export MANPATH=/opt/local/share/man:$MANPATH
# Finished adapting your MANPATH environment variable for use with MacPorts.
@ JrCs...This is because i don't use svn (i dislike subversion). I'm using git, so when i commit it will commit all the change at the same moment.
I try to follow the changes...
You commit very fast :P...
Fabio
Just a note... (but I think it is normal)
Now The License are the same for all language (English)...
You need the gettext utilities. If you have MacPorts you can installed it withThanks for putting a package together for me. However, I got an error with it so in the end I installed MacPorts and now I can build the Chameleon package. :)Code: [Select]sudo port -cu install gettext
========= Translating Resources ========
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ar.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ar.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ar.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ar.lproj/Localizable.strings (13 of 147 strings; only 8.84% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/bg.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/bg.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/bg.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/bg.lproj/Localizable.strings (28 of 147 strings; only 19.04% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/bs.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/bs.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/bs.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/bs.lproj/Localizable.strings (78 of 147 strings; only 53.06% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ca.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ca.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ca.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ca.lproj/Localizable.strings (82 of 147 strings; only 55.78% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/de.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/de.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/de.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/de.lproj/Localizable.strings (108 of 147 strings; only 73.46% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/el.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/el.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/el.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/el.lproj/Localizable.strings (15 of 147 strings; only 10.2% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/es.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/es.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/es.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/es.lproj/Localizable.strings (95 of 147 strings; only 64.62% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/he.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/he.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/he.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/he.lproj/Localizable.strings (22 of 147 strings; only 14.96% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/hr.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/hr.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/hr.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/hr.lproj/Localizable.strings (76 of 147 strings; only 51.7% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/id.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/id.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/id.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/id.lproj/Localizable.strings (90 of 147 strings; only 61.22% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/it.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/it.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/it.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/it.lproj/Localizable.strings (98 of 147 strings; only 66.66% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ko.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ko.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ko.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/mk.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/mk.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/mk.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/mk.lproj/Localizable.strings (93 of 147 strings; only 63.26% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/nl.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/nl.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/nl.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/nl.lproj/Localizable.strings (99 of 147 strings; only 67.34% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pl.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pl.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pl.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pl.lproj/Localizable.strings (82 of 147 strings; only 55.78% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pt-BR.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pt-BR.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pt-BR.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pt-BR.lproj/Localizable.strings (92 of 147 strings; only 62.58% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pt-PT.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pt-PT.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pt-PT.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/pt-PT.lproj/Localizable.strings (92 of 147 strings; only 62.58% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ro.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ro.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ro.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ro.lproj/Localizable.strings (88 of 147 strings; only 59.86% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ru.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ru.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ru.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/ru.lproj/Localizable.strings (6 of 147 strings; only 4.08% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/sr.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/sr.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/sr.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/sr.lproj/Localizable.strings (76 of 147 strings; only 51.7% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/zh_CN.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/zh_CN.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/zh_CN.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/zh_CN.lproj/Localizable.strings (99 of 147 strings; only 67.34% translated; need 75%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/zh_TW.lproj/Welcome.html (0 of 11 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/zh_TW.lproj/Description.html (0 of 18 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/zh_TW.lproj/Conclusion.html (0 of 9 strings; only 0% translated; need 80%).
Discard /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/zh_TW.lproj/Localizable.strings (99 of 147 strings; only 67.34% translated; need 75%).
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/.svn/all-wcprops: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/.svn/entries: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/.svn/prop-base/background.tiff.svn-base: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/.svn/text-base/background.tiff.svn-base: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/en.lproj/.svn/all-wcprops: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/en.lproj/.svn/entries: Permission denied
/Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/package/buildpkg.sh: line 164: /Volumes/Store/Computing/Hackintosh/SOURCE_GIT_SVN/Chameleon/Chameleon_Trunk/trunk/sym/package/Chameleon/Resources/en.lproj/.svn/text-base/License.rtf.svn-base: Permission denied
"1600x1200x32_title" = "1600x1200x32";
"1600x1200x32_description" = "Set Graphics Mode to 1600x1200x32";
it"1600x1200x32_title" = "1600x1200x32";
"1600x1200x32_description" = "Setta il Graphics Mode a 1600x1200x32";
Thx JrCs.
I'm busy now...
Monday I will commit more language on pootle...
Can you breafing me how commit from pootle? Also you say update languace from VCS...
What I do is compile the chameleon pkg in my local Hack, then "target" one language and update it with poedit, after that I rebuild the pkg to see if there is error, and then I commit it.
Fabio
Hi JrCs.
We need a correction...
Estonian el.po is not correct
el is for Greek
Also...
how create Chinese (traditional and simplified) zh_CN and zh_TW ? I copy & paste the field from my old translation but it need tiny revision from translator author.
Same for Portuguese pt-PT and pt_BR (Portugal and Brazil)
Fabio
To ErmaC: hi fabio, when you create a new po file (for a new language) don't take en.po as the source.
ALWAYS use the chameleon.pot file. I have change and commit the cs.po file.
iMac4.2.plist
iMac5.1.plist
iMac6.1.plist
iMac7.1.plist
iMac8.1.plist
iMac9.1.plist
iMac10.1.plist
iMac11.1.plist
iMac11.2.plist
iMac11.3.plist
iMac12.1.plist
iMac12.2.plist
MacBook2.1.plist
MacBook3.1.plist
MacBook4.1.plist
MacBook5.1.plist
MacBook5.2.plist
MacBook6.1.plist
MacBook7.1.plist
MacBookAir1.1.plist
MacBookAir2.1.plist
MacBookAir3.1.plist
MacBookAir3.2.plist
MacBookAir4.1.plist
MacBookAir4.2.plist
MacBookPro2.1.plist
MacBookPro2.2.plist
MacBookPro3.1.plist
MacBookPro4.1.plist
MacBookPro5.1.plist
MacBookPro5.2.plist
MacBookPro5.3.plist
MacBookPro5.4.plist
MacBookPro5.5.plist
MacBookPro6.1.plist
MacBookPro6.2.plist
MacBookPro7.1.plist
MacBookPro8.1.plist
MacBookPro8.2.plist
MacBookPro8.3.plist
MacMini2.1.plist
MacMini3.1.plist
MacMini4.1.plist
MacMini5.1.plist
MacMini5.2.plist
MacMini5.3.plist
MacPro1.1.plist
MacPro2.1.plist
MacPro3.1.plist
MacPro4.1.plist
MacPro5.1.plist
Xserve1.1.plist
Xserve2.1.plist
Xserve3.1.plist