[PD] "make app" for vanilla?

Dan Wilcox danomatika at gmail.com
Mon Jan 4 21:58:54 CET 2021


> On Jan 2, 2021, at 6:26 PM, pd-list-request at lists.iem.at wrote:
> 
> Date: Sat, 2 Jan 2021 17:42:54 +0100
> From: Christof Ressi <info at christofressi.com <mailto:info at christofressi.com>>
> You can always distribute Pd along your project and have a simple 
> top-level shell script resp. batch script which opens your main patch 
> with the bundled Pd version. Give the script a nice icon and off you go :-)

This is mainly what I do and would be my first suggestion as well.

> The downside is that on Windows and macOS you get a visible terminal 
> window, but there are workarounds.

This is less of a problem if it's for an installation or specific users.

> I did a quick search and found the following for macOS:
> 
> https://sveinbjorn.org/platypus <https://sveinbjorn.org/platypus>

I don't know about this tool, but I imagine it does the same as the mac/osx-app.sh script included with the Pd sources. I wrote that script heavily borrowing from a script of the same name written for the Inkscape project.

Alex: If the question is really "hey, can we have that 'make an app' option that Pd-extended had?" then it perhaps makes sense to first look at the code in Pd-extended which did this action:

https://sourceforge.net/p/pure-data/pd-extended/ci/master/tree/tcl/pd_menucommands.tcl#l313 <https://sourceforge.net/p/pure-data/pd-extended/ci/master/tree/tcl/pd_menucommands.tcl#l313>

which calls

https://sourceforge.net/p/pure-data/pd-extended/ci/master/tree/tcl/makeapp.tcl <https://sourceforge.net/p/pure-data/pd-extended/ci/master/tree/tcl/makeapp.tcl>

I imagine it could be ported to a gui plugin that would create a standalone "app" using the version of Pd and the current platform. As Christof mentions, it's basically copying the Pd install into a new folder and renaming some stuff. For Mac, that folder is the .app bundle and follows a rather strict layout. This could reasonably be extended for Windows and Linux.

--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210104/6ef6f429/attachment.html>


More information about the Pd-list mailing list