Re: app portgroup bouncing icon weirdness …

Kenneth F. Cunningham ken.cunningham.webuse at gmail.com
Sat Mar 17 17:41:00 UTC 2018


On 2018-03-16, at 3:47 AM, Ryan Schmidt wrote:
> 
> 
> Right. The app portgroup is intended for "proper Mac apps".
> 
> https://lists.macports.org/pipermail/macports-dev/2011-August/015788.html
> 
> 

I notice over the years that the topic of extending the app PortGroup to support gtk/x11 applications has come up from time to time, and there are tickets out there about it I found <https://trac.macports.org/ticket/40110>.

There's even a GSoC entry to enhance it for this purpose <https://trac.macports.org/wiki/SummerOfCode#app>.

So I guess there is support for the idea of extending the PortGroup. I know I would sure like it if some of the gtk/x11 ports like pan2 and qalculate-gtk and others had launchable bundles, and so would my kids.

So perhaps I'll press on to see if I can find a way that is acceptable to all.

The current WIP is here <https://github.com/kencu/macports-ports/commit/044c2093fa1e81223d614448fb95769524091f30>.

Perhaps we might want to retain the symlink behaviour as default, and add the bash script launch (that also sets up the PATH properly) as an option:

app.use_launch_script    yes/no     (default no -- gives you symlink behaviour as it is now).


Also, we could for now at least remove the bouncing icon with the user interface modification Eric came up with in this ticket <https://trac.macports.org/ticket/40110>. Similarly, and option:

app.remove_bouncing_icon   yes/no   (default no -- gives you the same behaviour we have now).


With those two things, it seems most of the gtk/x11 apps would launch reasonably and not have a distracting bouncing icon. They would not have any icon of their own in the dock once running, but that is outside my skill set just now (would need a wrapper app that sends signals, as kevin mentioned).

How does that sound? It would get us 90% of the way, I think.

Ken


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20180317/c31887ef/attachment.html>


More information about the macports-dev mailing list