yeah im pulling pd directly from your website using the cask i made. so then it would be easy to change the version in the cask when you make a new release and pulling right from your site. so permissions changes would be good. 

i think this is more useful in lab environments where the system admin has to install/upgrade on multiple machines. the brew-cask system is pretty great. i just did a clean os install on a new had drive and reinstalled all my software in this manner and noticed pd was absent (pd-extended is a cask but as we all know its getting outdated).

heres what im doing:

cask :v1 => 'pd' do
  version '0.46-5'
  sha256 'ba9fba46b783ac9f5a83e3bc19612241fe5577b2a38401fc08568dd2ca71d593'

  url "http://msp.ucsd.edu/Software/pd-#{version}-64bit.mac.tar.gz"
  name 'Pd'
  homepage 'http://msp.ucsd.edu/software.html'
  license :bsd

  app 'Pd-0.46-5-64bit.app'
  
  uninstall_preflight do
    system '/bin/chmod', '-R', '--', 'u+w', "#{staged_path}/Pd-0.46-5-64bit.app"
  end
end



cheers
m


 


On Fri, Feb 6, 2015 at 6:01 PM, Miller Puckette <msp@ucsd.edu> wrote:
Interesting...

I think for the moment it would work just to un-archive Pd-0.46-5-64bit.app
(or whatever), fix the perms, then forward it to the cask people.

The only reason the permissions are what they are is becauise the Wish
app that I cloned had them that way.  I see that on a more recent machine
the Wish app has everything user-writable so I should probably follow
suit in future Pd releases.

If it's important that cask use my own release file, I guess I can go in and
fix the permissions in the file.  This would mean 2 different fies running
around with the name pd-0.46-5-64bit.app.tgz which might be confusing
to someone.

cheers
Miller

On Fri, Feb 06, 2015 at 02:45:08PM -0800, Max wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I wanted to convert the fink build of Hans-Christoph"s autobuild to a
> homebrew one, but there were always more important things to do and
> now I am not any more on a Mac at all.
>
> It would be very useful for Mac people to have Pd in a brew available
> I guess. Then throw Gem and other externals in there too and you might
> get close to what Pd-extended's autobuild system was.
>
> Max
>
> On 02/06/2015 09:11 AM, me.grimm wrote:
> > Hi All,
> >
> > I tried to add pd (millers vanilla) to homebrew/caskroom yielding
> > some errors. Here is what the developers say:
> >
> > "Hey there! This repros for me locally, looks like
> > |Pd-0.46-5-64bit.app| comes out with permissions |555|
> >
> > |dr-xr-xr-x     3 phinze  staff   102B Jan 19 17:43
> > Pd-0.46-5-64bit.app |
> >
> > So the cleanup operation after extraction is failing to remove the
> > temporary dir.
> >
> > Would it be possible to work with the maintainers of |pd| to get
> > them to repackage their tarball with proper permissions? If not we
> > can look into seeing if Cask can proactively chmod all extracted
> > tarballs, but that seems like overkill if we can just get the
> > maintainers to help us out."
> >
> >
> >
> > what do we think?
> >
> > thanks!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iEYEARECAAYFAlTVQ/QACgkQ3EB7kzgMM6KIbQCfSzCJ7Eg9SckgIyA8k40FbFNZ
> OQMAoIDlhClAq1kP0QXeOnWZpbsvX1QI
> =/3Ge
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev@lists.iem.at
> http://lists.puredata.info/listinfo/pd-dev

_______________________________________________
Pd-dev mailing list
Pd-dev@lists.iem.at
http://lists.puredata.info/listinfo/pd-dev



--
____________________
m.e.grimm, m.f.a, ed.m.
syracuse u., tc3
megrimm.net
____________________