← Back to team overview

phatch-dev team mailing list archive

Re: mac installer

 

On Mon, May 31, 2010 at 10:21 PM, Robin Mills <robin@xxxxxxxxxxxxx> wrote:
> Folks
>
> I've looked at PackageMaker and it can easily build an installer with options (which is what I thought).  You step through a bunch of screens and everything is installed.
>
> http://clanmills.com/files/Phatch-2010531-rmills.dmg  (don't give this to anybody - it's not ready for distribution).  I built all the libraries and applications in March - so I don't think there's much left to do here.
I noticed it is based on an old revision of Phatch. For example it
still shows a splash screen. Could you build it again with the latest
trunk?

> However I'm still very confused:
> a) I put dcraw (and the other applications) into /Applications/Phatch.app/bin - however I don't think that's where they are to live.
No they should be in:
'/Applications/Phatch.app/Contents/Resources/bin'

We can discuss what would be the best place. It needs to be somewhere in
/Applications/Phatch.app/*

Please tell me if you would prefer another place as I have to adapt
that in the core/context.py

You should be able to find all context paths by:
exec /Applications/Phatch.app/Contents/MacOS/Phatch --context > context.txt

(see attachment)

> - I haven't included the libraries yet - however that's a detail to be fixed.
They need to be in the same bin folder.

> b) What is to be done with Blender?
It is also included in:
'/Applications/Phatch.app/Contents/Resources/bin/blender'

Just like ImageMagick should be in:
'/Applications/Phatch.app/Contents/Resources/bin/imagemagick'

Note that to reduce file size we strip some unnecessary files on
Windows. The same should happen for Mac, see phatch/setup/windows:

clean_blender.bat
clean_imagemagick.bat

(license files may not be removed)
> c) There's something weird about PIL.  I'm totally lost about this.
I see you were using PIL 1.1.6 with py 2.5 How do you notice PIL is weird.

> d) We could have:
> - PhachLite.dmg (application only) with drag'n'drop installer (about 25mb)
> - Phatch.dmg (with a package installer)  All possible options and third-party applications (could be 150mb - maczip.dmg in 185mb)
I prefer now to leave the lite version away and to see everything to
work together.

> e) Graphics.  Everybody has very strong opinions about this.  I'll package whatever graphics are provided.
Sure. I prefer first to fix critical bugs for Phatch before working on
this one. ATM the bug list for Phatch 0.2.8 is very long -:(

> I'm also rather concerned about testing.  I think I've got to find somebody to work with me and test the builds.  So I create the build/package/install, and somebody runs tests on it.
Do you mean an user tester or a developer tester?

Could you copy the texts from the Windows installer (see screenshot
B05_...) instead of using the filenames? Also tiffcp and tiffinfo
should be bundled as ' Tiff compression: ...'

Best regards,

Stani
{'app_actionlists_path': u'/Applications/Phatch.app/Contents/Resources/data/actionlists',
 'app_actions_path': u'/Applications/Phatch.app/Contents/Resources/data/actions',
 'app_bin_paths': [u'/Applications/Phatch.app/Contents/Resources/bin',
                   u'/Applications/Phatch.app/Contents/Resources/bin/blender',
                   u'/Applications/Phatch.app/Contents/Resources/bin/imagemagick',
                   u'/Applications/Phatch.app/Contents/Resources'],
 'app_blender_path': u'/Applications/Phatch.app/Contents/Resources/data/blender',
 'app_data_path': u'/Applications/Phatch.app/Contents/Resources/data',
 'app_doc_dev_path': u'/Applications/Phatch.app/Contents/Resources/doc/index.html',
 'app_doc_path': u'/Applications/Phatch.app/Contents/Resources/doc',
 'app_extension': '.phatch',
 'app_fonts_cache_path': u'/Applications/Phatch.app/Contents/Resources/data/fonts.cache',
 'app_fonts_path': u'/Applications/Phatch.app/Contents/Resources/data/fonts',
 'app_gui_path': u'/Applications/Phatch.app/Contents/Resources/data/gui',
 'app_highlights_path': u'/Applications/Phatch.app/Contents/Resources/data/images/highlights',
 'app_images_path': u'/Applications/Phatch.app/Contents/Resources/data/images',
 'app_locale_path': u'/Applications/Phatch.app/Contents/Resources/locale',
 'app_masks_path': u'/Applications/Phatch.app/Contents/Resources/data/images/masks',
 'app_name': 'phatch',
 'app_preview_actionlists_path': u'/Applications/Phatch.app/Contents/Resources/data/gui/preview/actionlists',
 'app_preview_blender_path': u'/Applications/Phatch.app/Contents/Resources/data/gui/preview/blender',
 'app_preview_path': u'/Applications/Phatch.app/Contents/Resources/data/gui/preview',
 'app_preview_perspective_path': u'/Applications/Phatch.app/Contents/Resources/data/gui/preview/perspective',
 'app_source_path': u'/Applications/Phatch.app/Contents/Resources',
 'app_title': 'Phatch',
 'app_watermarks_path': u'/Applications/Phatch.app/Contents/Resources/data/images/watermarks',
 'apple': True,
 'context': ('apple', 'frozen'),
 'desktop_path': '/Users/MacAdmin/Desktop',
 'distribute': 'frozen',
 'linux': False,
 'phatch-inspector.ico': u'/Applications/Phatch.app/Contents/Resources/data/images/icons/phatch-inspector.ico',
 'phatch.ico': u'/Applications/Phatch.app/Contents/Resources/data/images/icons/phatch.ico',
 'phatch_48x48.png': u'/Applications/Phatch.app/Contents/Resources/data/images/icons/phatch.png',
 'platform': 'apple',
 'py_extension': '*.py',
 'start_time': 1275659225.2583849,
 'unix': True,
 'user_actionlists_path': u'/Users/MacAdmin/Library/Application Support/Phatch/actionlists',
 'user_actions_path': u'/Users/MacAdmin/Library/Application Support/Phatch/actions',
 'user_bin_paths': [u'/Users/MacAdmin/Library/Application Support/Phatch/bin'],
 'user_cache_path': u'/Users/MacAdmin/Library/Caches/Phatch',
 'user_config_path': u'/Users/MacAdmin/Library/Preferences/Phatch',
 'user_data_path': u'/Users/MacAdmin/Library/Application Support/Phatch',
 'user_fonts_cache_path': u'/Users/MacAdmin/Library/Caches/Phatch/fonts.cache',
 'user_fonts_path': u'/Users/MacAdmin/Library/Application Support/Phatch/fonts',
 'user_geek_path': u'/Users/MacAdmin/Library/Application Support/Phatch/geek.txt',
 'user_highlights_path': u'/Users/MacAdmin/Library/Application Support/Phatch/highlights',
 'user_log_path': u'/Users/MacAdmin/Library/Caches/Phatch/log',
 'user_masks_path': u'/Users/MacAdmin/Library/Application Support/Phatch/masks',
 'user_path': u'/Users/MacAdmin',
 'user_preview_path': u'/Users/MacAdmin/Library/Caches/Phatch/preview',
 'user_settings_path': u'/Users/MacAdmin/Library/Preferences/Phatch/settings.py',
 'user_watermarks_path': u'/Users/MacAdmin/Library/Application Support/Phatch/watermarks',
 'version_app': '0.2.7',
 'version_pil': '1.1.6',
 'version_platform': 'Darwin-9.4.0-i386-32bit',
 'version_pyexiv2': '<installed>',
 'version_python': '2.5.5 (r255:77872, Feb  4 2010, 13:09:03) [GCC 4.0.1 (Apple Computer, Inc. build 5370)]',
 'version_wx': '2.8.10.1 (mac-unicode)',
 'windows': False}

Attachment: B05_35_installer_components.png
Description: PNG image


Follow ups