overdue-scratch

Author Topic: Revisit Chameleon's package builder  (Read 113028 times)

0 Members and 1 Guest are viewing this topic.

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #90 on: October 03, 2010, 05:27:48 AM »
/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

Done... ;)

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)?

ok then... two pkg...
the standard (make pkg)
and the advanced (make advanced) this can include the "EFI" options ???

---
I add a "icon" to the package...
I use a dirty method to do that... because I don't know any terminal command to manage icon via terminal...

Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #91 on: October 04, 2010, 04:59:12 AM »
commit 169

I post the package builded  @IM.

Quote
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.

Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #92 on: October 04, 2010, 08:58:54 AM »
Nice one iFabio - I like it and the simplified range of options for the standard installer :)

Note: After running the installer, I see it didn't create a com.apple.Boot.plist?
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #93 on: October 04, 2010, 03:11:05 PM »
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?

probably... I try the change tonight.

@blackosx
I can ask you to make a icon for the installer... ? :P
same request for a background?
I post the .psd used for the background...

Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #94 on: October 04, 2010, 06:21:29 PM »
Hi Fabio

Here's a couple of mockups for a background. What do you think to something like these?
« Last Edit: October 04, 2010, 06:23:37 PM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

scrax

  • Member
  • Posts: 61
Re: Revisit Chameleon's package builder
« Reply #95 on: October 04, 2010, 09:23:57 PM »
iFabio, on buildpkg
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

from what I know is not needed because we don't want to overwrite the original fdisk anymore since we use fdisk440 (that is the moded old fdisk with just another name to differentiate it from the original one).
I'm not 100% sure of this because in my package folder fdisk is 140kB and fdisk440 is 80kB original fdisk is 126kB so if anyone could help more about this please help  :o

What's wrong with the method you use to add the icon? I think it's a good way.

Hi Blackosx, for the background I like the second one (4) but with the voodoo logo in the same place of the first (3)
« Last Edit: October 04, 2010, 09:32:28 PM by scrax »

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #96 on: October 05, 2010, 03:29:52 AM »
iFabio, on buildpkg
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
Hi scrax!
so... you suggest to switch, from

      cp -f ${1%/*}/i386/boot1h ${1}/Core/Root/i386
      cp -f ${pkgroot}/fdisk440 ${1}/Core/Root/i386
      cp -f ${pkgroot}/fdisk ${1}/Core/Root/i386
      fixperms "${1}/Core/Root/i386"
      local coresize=$( du -hkc "${1}/Core/Root/i386" | tail -n1 | awk {'print $1'} )
to

      cp -f ${1%/*}/i386/boot1h ${1}/Core/Root/i386
      fixperms "${1}/Core/Root/i386"
      cp -f ${pkgroot}/fdisk440 ${1}/Core/Root/i386
      cp -f ${pkgroot}/fdisk ${1}/Core/Root/i386
      local coresize=$( du -hkc "${1}/Core/Root/i386" | tail -n1 | awk {'print $1'} )

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...
I say "dirty" because what the script do is: copy the icon.icns and paste/rename as the namepackage.pkg after this the rest of the script build the pkg on it... no idea if is the right way...

Fabio

@blackosx
Your background are.. beautiful! (As scrax say I prefer the 4 with the position/logo from 3)

here the background I use... (saved in tiff and preserved background transparency)
but the mirror for the text (Chameleon 2 have a bad look).

Any icon for the installer? just a image.png  400x400 with the 3 operatings sys logo (win-linux-OSX)
... for change look at the classic "box"
« Last Edit: October 05, 2010, 04:07:52 AM by iFabio »
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #97 on: October 05, 2010, 10:44:29 AM »
Okay - here's the background from mockup 3 with the logos from mockup 4.
I have attached the PSD and a TIFF.

I'll have a look at an image for an icon...
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #98 on: October 05, 2010, 06:10:10 PM »
Any icon for the installer? just a image.png  400x400 with the 3 operatings sys logo (win-linux-OSX)
... for change look at the classic "box"
I haven't made many icons before.. but I have been racking my brains to see what I can come up with..
This is what I have done so far. What do you think?
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

scrax

  • Member
  • Posts: 61
Re: Revisit Chameleon's package builder
« Reply #99 on: October 06, 2010, 01:51:18 AM »
I think the chameleon in the icon is a great idea but when it's small it's not visible anymore, maybe it needs some sort of more contrast or less transparency? Or a different background color under it?

I had an idea for the background could it be made similar to the preferences panel theme

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #100 on: October 06, 2010, 08:53:34 AM »
No problem :) .. How're these?


Files attached
« Last Edit: October 06, 2010, 11:53:36 AM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #101 on: October 06, 2010, 09:12:47 AM »
Or maybe something like these for an icon?
« Last Edit: October 06, 2010, 11:04:19 AM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #102 on: October 06, 2010, 12:24:15 PM »
Fantastic!

commit 179
the last "ballon" icon & background.
I delete from my buildpkg the "advanced" option for com.apple.Boot.plist it make crash when open the builded pkg

Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #103 on: October 06, 2010, 01:05:42 PM »
commit 179
the last "ballon" icon & background.
Great - I'm happy to help where I can :)

EDIT:
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 **


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

Boot options Option:
• Great choice of default options which for me is all I need (will it suit everyone's needs?)
• Resolutions - again good choice.
*** The /Extra/com.apple.Boot.plist does not get created?  ***

Utility
• Preference Pane - Great.
• SMBIOS.plist - it gets created /Extra/Example - but how will users know if they want to use one then they needs to edit it and move it to /Extra?   - This might be a source of confusion?
• EFI Mounter - Great.

Kexts Option:
• Haven't tested, other than installing FakeSMC.kext which installs to /Extra/Extensions - Great.

Keep up the good work :)
« Last Edit: October 06, 2010, 11:16:14 PM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #104 on: October 07, 2010, 04:27:58 AM »

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

Hi Blackosx

ok I add the mint theme and restore the bullet theme. and edit the script (buildpkg) for this part

new data to add in each localizable strings...
Italian example
Quote
// 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?  ***


In this part I need help to know where and how "fix".. I'm sure scrax can do this part.

Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240