OT: details about handling FileOpen events on Mac

Mojca Miklavec mojca at macports.org
Thu Aug 1 05:42:45 PDT 2013


(was: Creating $prefix/bin/foo and Foo.app at the same time)

On Wed, Jul 17, 2013 at 1:32 AM, Ryan Schmidt wrote:
>
> I created the app portgroup mainly for ports using frameworks such as libsdl that can create real Mac applications from source code that was not specifically designed for the Mac.
>
> My expectation was that software developers who develop Mac apps that integrate with the Mac OS to the extent that they support document types would go to the further effort to ship a working app bundle in their source code.

I filed a ticket to support this (proper support for document types,
support for app bundle is another isuse). While this doesn't mean that
it will be implemented and I consider it a low priority anyway, can
someone please correct my assumptions about how this works (or should
work)?

Here's the ticket: http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1498

Just a note: this is about Geant4 applications that are usually
started from command-line and open a Qt window on request or by
default (they could be used in command-line/text-only mode and open
X11 windows, but let's forget about these). By stripping the -psn_*
argument the application can easily be bundled as Something.app and
this works out-of-the-box with the "app" PortGroup.

I wrote my speculations, but I would like to be corrected if I wrote nonsense.

Thank you,
   Mojca


More information about the macports-dev mailing list