I've applied the same update to the mac/build-* scripts, so they should work again. We also now set the get info string with some text about Pd.
On Jul 13, 2017, at 6:29 PM, Dan Wilcox danomatika@gmail.com wrote:
I have fixed it already. There is another tool which should be on your system: /usr/libexec/PlistBuddy
Commit coming shortly...
On Jul 13, 2017, at 6:28 PM, Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu> wrote:
Aha... I found some newer info, and apparently there's no way to get the old plutul to do the new stuff. I think it's out of proportion to send you off to do an hour's sed hacking - I can probably just figure out what should be happening, comment out the calls in the script, and edit the plist by hand for now :)
M
On Thu, Jul 13, 2017 at 12:17:04PM +0200, Dan Wilcox wrote:
Ok, looks like the -replace option was added to plutil in macOS 10.10 or later. I can replace it with good ole sed and then run plutil -lint to make sure its good.
On Jul 13, 2017, at 12:06 PM, Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> wrote:
It might be something added to plutil in later versions of macOS. I can take a look around.
If so, there might be an alternate command which can be invoked depending on the detected OS version.
On Jul 13, 2017, at 12:00 PM, pd-dev-request@lists.iem.at mailto:pd-dev-request@lists.iem.at <mailto:pd-dev-request@lists.iem.at mailto:pd-dev-request@lists.iem.at> wrote:
From: Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu <mailto:msp@ucsd.edu mailto:msp@ucsd.edu>> Subject: [PD-dev] what does plutil -replace do? (build failing on my machine) Date: July 13, 2017 at 7:29:07 AM GMT+2 To: pd-dev@iem.at mailto:pd-dev@iem.at <mailto:pd-dev@iem.at mailto:pd-dev@iem.at>
Hi all - I tried to "make app" on an OSX 10.6 system (the most recent OS I have ATM :) and get:
rm -rf ../Pd-0.47.1.app ../mac/osx-app.sh 0.47.1 unrecognized option: -replace plutil: [command_option] [other_options] file... The file '-' means stdin Command options are (-lint is the default): -help show this message and exit -lint check the property list files for syntax errors -convert fmt rewrite property list files in format fmt is one of: xml1 binary1 There are some additional optional arguments: -s be silent on success -o path specify alternate file path name for result; the -o option is used with -convert, and is only useful with one file argument (last file overwrites); the path '-' means stdout -e extension specify alternate extension for converted files -- specifies that all further arguments are file names make[1]: *** [app] Error 1 make: *** [app] Error 2
Before I spend the next week trying to upgrade my OS, is there any wisdom on how I can avoid hving to use the -replace option (which I can't even find documented anywhere on the web...)
thanks Miller
Dan Wilcox @danomatika <http://twitter.com/danomatika http://twitter.com/danomatika> danomatika.com http://danomatika.com/ <http://danomatika.com/ http://danomatika.com/> robotcowboy.com http://robotcowboy.com/ <http://robotcowboy.com/ http://robotcowboy.com/>
Dan Wilcox @danomatika <http://twitter.com/danomatika http://twitter.com/danomatika> danomatika.com http://danomatika.com/ <http://danomatika.com/ http://danomatika.com/> robotcowboy.com http://robotcowboy.com/ <http://robotcowboy.com/ http://robotcowboy.com/>
Pd-dev mailing list Pd-dev@lists.iem.at mailto:Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/