<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div>Just to add one cent, it looks simpler to put everything on same package, and should be faster for making server backups.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div style="font-size:100%">Patrice Colet&nbsp;</div></div> <br><br><br>-------- Message d'origine --------<br>De : fls@rendera.com.br <br>Date : 07/02/2013  5:01  (GMT+00:00) <br>A : pd-list@iem.at <br>Objet : Re: [PD] Plugin auto install feature to Pure data <br> <br><br>Thanks Hans!<br><br>Just one doubt: How does it work for different architectures? Should we<br>pack windows, linux and Mac in different packages? Or can we include them<br>in one package and the installer copies just the right one?<br><br>cheers<br><br>f schiavoni<br><br>&gt; This stuff is already pretty well defined in the library template and the<br>&gt; *-meta.pd file.&nbsp; I think the meta file would be the place to add things<br>&gt; like<br>&gt; dependencies also.<br>&gt;<br>&gt; http://puredata.info/docs/developer/Libdir<br>&gt; http://puredata.info/docs/developer/LibraryTemplate<br>&gt;<br>&gt; .hc<br>&gt;<br>&gt; On 02/05/2013 04:11 PM, fls@rendera.com.br wrote:<br>&gt;&gt; I agree that depencencies should not install libs. Since it seems to be<br>&gt;&gt; the biggest problem, maybe it should be postponed.<br>&gt;&gt;<br>&gt;&gt; Yes, the repository maintenance can be solved latter too. Let's first<br>&gt;&gt; have<br>&gt;&gt; a repository and then think about the best way to keep it on date. :-)<br>&gt;&gt;<br>&gt;&gt; I don't have skills with TCL but I agree that it is a good choice. Is<br>&gt;&gt; there how to open zip/tar/something files in TCL? If it can open the<br>&gt;&gt; package, it's perfect.<br>&gt;&gt;<br>&gt;&gt; IMO, the first step is to install locally. Define a package structure, a<br>&gt;&gt; package header and the install script. Probably it can be used by the<br>&gt;&gt; remote install.<br>&gt;&gt;<br>&gt;&gt; I suggest the following package structure:<br>&gt;&gt; /content.txt<br>&gt;&gt; /bin/files &lt;-to compiled files (architecture dependent)<br>&gt;&gt; /help/files &lt;-to help files (architecture independent)<br>&gt;&gt; /tcl/files &lt;-to gui files (architecture independent)<br>&gt;&gt;<br>&gt;&gt; This structure should be compacted / grouped in a file with some name<br>&gt;&gt; convention like package_name.version.pd_pkg.<br>&gt;&gt;<br>&gt;&gt; The content.txt can be as follow:<br>&gt;&gt; name:<br>&gt;&gt; author:<br>&gt;&gt; version:<br>&gt;&gt; key-words:<br>&gt;&gt; web-site:<br>&gt;&gt; license:<br>&gt;&gt; flavor:<br>&gt;&gt; dependencies:<br>&gt;&gt; instructions:<br>&gt;&gt;<br>&gt;&gt; The install script should select a package, open it, copy the external<br>&gt;&gt; to<br>&gt;&gt; the external dir, copy the help and tcl files to the correct folder,<br>&gt;&gt; rename the content.txt to the package name + version and copy it to an<br>&gt;&gt; folder designed for this kind of file.<br>&gt;&gt;<br>&gt;&gt; Cheers<br>&gt;&gt;<br>&gt;&gt; f schiavoni<br><br><br>_______________________________________________<br>Pd-list@iem.at mailing list<br>UNSUBSCRIBE and account-management -&gt; http://lists.puredata.info/listinfo/pd-list<br></body>