[macports-ports] branch master updated: pingus: new port submission

Brandon Allbery allbery.b at gmail.com
Sat Dec 3 21:43:31 CET 2016


On Sat, Dec 3, 2016 at 3:38 PM, Ken Cunningham <
ken.cunningham.webuse at gmail.com> wrote:

> Yeah - that was interesting. The bin/pingus launch script had this:
>
> #!/bin/sh
> exec "/Applications/MacPorts/Pingus.app/Contents/MacOS/libexec/pingus"
> --datadir "/Applications/MacPorts/Pingus.app/Contents/MacOS/share/pingus"
> "$@"
>
> which works from a terminal prompt, but not in an application bundle.
>
> taking off the  "$@“ allowed the launch script to work in  the bundle.
>
> Do you know of a better method to use?
>

Get rid of any parameter that starts with the characters "-psn_". This is
added by the bundle launcher, expected by native applications, and will
confuse most Linux-originated programs.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20161203/4684cb81/attachment.html>


More information about the macports-dev mailing list