Merge lp:~jon-hill/spud/mac_port into lp:spud
Proposed by
Jon Hill
Status: | Merged |
---|---|
Merged at revision: | 531 |
Proposed branch: | lp:~jon-hill/spud/mac_port |
Merge into: | lp:spud |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp:~jon-hill/spud/mac_port |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Patrick Farrell | Approve | ||
Review via email:
|
Description of the change
Adding minor changes and extra files required for bundling Diamond into a MacOSX app. The bundling script checks out the latest fluidity schema and uses that, but we can easily add other schema into the bundling script.
The schema paths are hard coded to the app, but are simply appended onto existing paths, if you're using a Mac.
To post a comment you must log in.
a) Get rid of the print statements in diamond/ bin/diamond.
b) I don't like the name "MacOS_Resources". Does it have to be called that? I'd prefer "macosx" (like "debian").
c) In diamond/ bin/diamond:
-#!/usr/bin/env python amcg/Software/ spud/mac_ port_clean/ diamond/ Diamond. app/Contents/ bin/python
+#!/Users/
That's never going to be merged :-)
d) Logofile: can't you just put the diamond_path, "..", "diamond.png" first in the list of possible logofiles, and then unify the loop? I don't like the hard-coding special cases for Darwin when I don't think it's necessary.
e) Can you explain why you changed the input_schemafile logic?
f) Can diamond/ mac_bundle. sh please live in the MacOS specific directory?
g) Again, I don't like hardcoding sys.platform == "darwin" in the plugins bit. Just add the directory to the search list; it will find it if it's there, and will skip it if it's not.