Greetings,
Right. I'm going a bit off what the community suggests here. There are two ways to do it, and I am using the wrong one at the moment(!). The 'proper' way to do it is to make an installer (.dmg file). I don't yet know how to do that, but what I did was to put all the externals I wanted in the Pd-0.39-1.app/Contents/Resources/extra folder, and then edit the org.puredata.pd.plist file with -lib zexy -lib iemlib2 etc etc. Then I put the whole thing
org.puredata.pd.plist file and a README file containing instructions on where to put the org.puredata.pd.plist file - /Library/Preferences in one folder. I zipped it up and gave it to my boss - who then found bugs in my patch (whoops again).
However, Frank's idea about a script should work if you install pd with a .dmg installer. You can make scripts for loading different libraries with the line pd -lib /path/to/lib1.pd_darwin -lib /path/to/lib2.pd_darwin etc.
then, chmod 755 myscript.sh
Note that my boss is not PD literate, so this had to be _easy_
alternatively you could edit the Pd.command file in Applications and use that to launch PD. I did that for a while...
Best, Ed
--- Enrique Erne pd@mild.ch wrote:
hi ed I'd love to do that . all I ever found was the file org.puredata.pd.plist . when i used pd-0.37 I started it with a command file. could you point me into the right direction ? thanks a lot ! eni
On Nov 7, 2005, at 1:52 PM, Ed Kelly wrote:
Hi all,
I've developed an application for PD and I want to
be
able to package the whole thing as an installer,
so
that non-PD people (like my boss) can try out the patch straight out of the box. The only problem I have is that the .pdrc file
seems
not to have any effect on pd 0.39 in osx, i.e. the libraries are not loaded at startup. Is there
another
way to include the information on which libraries
to
load etc as a file, so that paths are configured
by
default? We all have os 10.3.9 here, so Hans' installer doesn't work, and I have custom
externals
(which I will release to cvs soon ;-)
Best, Ed
-> -> --> ---> -----> --------> -------------> r3search + praktik EK5perimenz
To help you stay safe and secure online, we've
developed the all new
Yahoo! Security Centre.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-> -> --> ---> -----> --------> -------------> r3search + praktik EK5perimenz
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
dear Ed & list
.dmg sound proper but I've no idea where to start looking howto do that. however I tried to make a netpd-package for os x all included convenient for (doubleclick) users :-) "all" included == basic-netpd-patches & necessary libs. (no additional patches)
there is a netPd.command to start the app and set -path -lib -helpfile -open . It only works if you put netPd-0.39-1.app it into /Applications because I had to set absolute path. is there a better way? relative path on osx?
actually I couldn't try it on a other os x so I don't know if it works. permission problems might be possible.
netpd-package-2005-11-08.mac.tgz
there are usually people in netpd afternoons/evenings (european time). any comments welcome . thanks
eni
On Nov 9, 2005, at 10:22 PM, Ed Kelly wrote:
Greetings,
Right. I'm going a bit off what the community suggests here. There are two ways to do it, and I am using the wrong one at the moment(!). The 'proper' way to do it is to make an installer (.dmg file). I don't yet know how to do that, but what I did was to put all the externals I wanted in the Pd-0.39-1.app/Contents/Resources/extra folder, and then edit the org.puredata.pd.plist file with -lib zexy -lib iemlib2 etc etc. Then I put the whole thing
- my patch, the Pd-0.39-1.app folder, the
org.puredata.pd.plist file and a README file containing instructions on where to put the org.puredata.pd.plist file - /Library/Preferences in one folder. I zipped it up and gave it to my boss - who then found bugs in my patch (whoops again).
However, Frank's idea about a script should work if you install pd with a .dmg installer. You can make scripts for loading different libraries with the line pd -lib /path/to/lib1.pd_darwin -lib /path/to/lib2.pd_darwin etc.
then, chmod 755 myscript.sh
Note that my boss is not PD literate, so this had to be _easy_
alternatively you could edit the Pd.command file in Applications and use that to launch PD. I did that for a while...
Best, Ed
--- Enrique Erne pd@mild.ch wrote:
hi ed I'd love to do that . all I ever found was the file org.puredata.pd.plist . when i used pd-0.37 I started it with a command file. could you point me into the right direction ? thanks a lot ! eni
On Nov 7, 2005, at 1:52 PM, Ed Kelly wrote:
Hi all,
I've developed an application for PD and I want to
be
able to package the whole thing as an installer,
so
that non-PD people (like my boss) can try out the patch straight out of the box. The only problem I have is that the .pdrc file
seems
not to have any effect on pd 0.39 in osx, i.e. the libraries are not loaded at startup. Is there
another
way to include the information on which libraries
to
load etc as a file, so that paths are configured
by
default? We all have os 10.3.9 here, so Hans' installer doesn't work, and I have custom
externals
(which I will release to cvs soon ;-)
Best, Ed
-> -> --> ---> -----> --------> -------------> r3search + praktik EK5perimenz
To help you stay safe and secure online, we've
developed the all new
Yahoo! Security Centre.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-> -> --> ---> -----> --------> -------------> r3search + praktik EK5perimenz
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
On Nov 9, 2005, at 6:05 PM, Enrique Erne wrote:
.dmg sound proper but I've no idea where to start looking howto do that.
Make a disk image by opening "Disk Utility".app which is in /Applications/Utilities.
Then select from the "Images..." menu "Create New Image from Folder..." it will present a panel similar to [openpanel] which you will select a folder to convert into a disk image.
One thing that works also after this is to use bzip2 to compress the disk image. I have gotten a 9.8 MB disk image down to 264 Kb using this technique. An example command line (after you have the disk image) could be
$ bzip2 yourDiskImage.dmg
-D5
On Nov 10, 2005, at 12:30 AM, day 5 wrote:
On Nov 9, 2005, at 6:05 PM, Enrique Erne wrote:
.dmg sound proper but I've no idea where to start looking howto do that.
Make a disk image by opening "Disk Utility".app which is in /Applications/Utilities.
Then select from the "Images..." menu "Create New Image from Folder..." it will present a panel similar to [openpanel] which you will select a folder to convert into a disk image.
One thing that works also after this is to use bzip2 to compress the disk image. I have gotten a 9.8 MB disk image down to 264 Kb using this technique. An example command line (after you have the disk image) could be
$ bzip2 yourDiskImage.dmg
great worked fine ! thanks . although I got the same file size dmg.bz2 as tgz . is there any other advantage of a dmg ? ed mentioned something about :
The 'proper' way to do it is to make an installer (.dmg file).
what does installer mean in this case ? can I run a shell script? i.e I'd like to make a link ln -s to netPd-0.39-1.app/Contents/netpd/ or may have to set permission for that directory (and some others)
regards eni
On Nov 9, 2005, at 6:30 PM, day 5 wrote:
On Nov 9, 2005, at 6:05 PM, Enrique Erne wrote:
.dmg sound proper but I've no idea where to start looking howto do
that.Make a disk image by opening "Disk Utility".app which is in
/Applications/Utilities.Then select from the "Images..." menu "Create New Image from
Folder..." it will present a panel similar to [openpanel] which you
will select a folder to convert into a disk image.One thing that works also after this is to use bzip2 to compress the
disk image. I have gotten a 9.8 MB disk image down to 264 Kb using
this technique. An example command line (after you have the disk
image) could be$ bzip2 yourDiskImage.dmg
An easier way is to use the mkdmg script which is in CVS:
packages/darwin_app/mkdmg
To use it, put everything in a folder, name the folder whatever you
want the .dmg to be called, then:
./mkdmg folder_name
That's it, it does the rest for you, including make a compressed image,
so no bzip2 necessary.
.hc
"The arc of history bends towards justice."
- Dr. Martin Luther King, Jr.