Re: [PD-dev] add a new tcl file to pd source [was: recentfiles_list explanation]
On Mar 22, 2011, at 12:11 PM, yvan volochine wrote: On 03/20/2011 04:41 AM, Hans-Christoph Steiner wrote: On Mar 19, 2011, at 2:54 PM, yvan volochine wrote: On 03/18/2011 06:16 PM, Hans-Christoph Steiner wrote: Good news! Add the file here, like it sounds like you already have: pd/tcl/Makefile.am pd/po/Makefile.am Then manually edit pkgIndex.tcl, I haven't had good luck with pkg_mkIndex.tcl. it worked for me, it filled out pkdIndex.tcl and it seems to be correct. so far it works nicely on osx and linux. I will try to build and test on win32 before posting a patch. slightly OT, for the sake of clarity, there will now be 5 maximum recent files when inlined in File menu (on x11 and win32). as osx has a 'Open Recent' separated menu, should I keep the old behavior there (i.e. 10 max recent files) or should I also limit it to 5 ? cheers, _y I think 10 is the standard for Mac OS X, so I say keep it. I just posted my patch but unfortunately I couldn't try it on windows. let me know what you think. cheers, _y I'll check it out when I have some time. .hc As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Re: [PD-dev] add a new tcl file to pd source [was: recentfiles_list explanation]
On 03/20/2011 04:41 AM, Hans-Christoph Steiner wrote: On Mar 19, 2011, at 2:54 PM, yvan volochine wrote: On 03/18/2011 06:16 PM, Hans-Christoph Steiner wrote: Good news! Add the file here, like it sounds like you already have: pd/tcl/Makefile.am pd/po/Makefile.am Then manually edit pkgIndex.tcl, I haven't had good luck with pkg_mkIndex.tcl. it worked for me, it filled out pkdIndex.tcl and it seems to be correct. so far it works nicely on osx and linux. I will try to build and test on win32 before posting a patch. slightly OT, for the sake of clarity, there will now be 5 maximum recent files when inlined in File menu (on x11 and win32). as osx has a 'Open Recent' separated menu, should I keep the old behavior there (i.e. 10 max recent files) or should I also limit it to 5 ? cheers, _y I think 10 is the standard for Mac OS X, so I say keep it. I just posted my patch but unfortunately I couldn't try it on windows. let me know what you think. cheers, _y ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Re: [PD-dev] add a new tcl file to pd source [was: recentfiles_list explanation]
On Mar 19, 2011, at 2:54 PM, yvan volochine wrote: On 03/18/2011 06:16 PM, Hans-Christoph Steiner wrote: Good news! Add the file here, like it sounds like you already have: pd/tcl/Makefile.am pd/po/Makefile.am Then manually edit pkgIndex.tcl, I haven't had good luck with pkg_mkIndex.tcl. it worked for me, it filled out pkdIndex.tcl and it seems to be correct. so far it works nicely on osx and linux. I will try to build and test on win32 before posting a patch. slightly OT, for the sake of clarity, there will now be 5 maximum recent files when inlined in File menu (on x11 and win32). as osx has a 'Open Recent' separated menu, should I keep the old behavior there (i.e. 10 max recent files) or should I also limit it to 5 ? cheers, _y I think 10 is the standard for Mac OS X, so I say keep it. .hc Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism.- retired U.S. Army general, William Odom ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Re: [PD-dev] add a new tcl file to pd source [was: recentfiles_list explanation]
Good news! Add the file here, like it sounds like you already have: pd/tcl/Makefile.am pd/po/Makefile.am Then manually edit pkgIndex.tcl, I haven't had good luck with pkg_mkIndex.tcl. .hc On Mar 18, 2011, at 12:46 PM, yvan volochine wrote: hi as my work on recent files is nearly done, I'd like to know what's the proper way to add a new *.tcl file to pd source. as I said in the other thread, I added my new file to: pd/tcl/Makefile.am pd/tcl/po/Makefile.am then I ran manually tcl/pkg_mkIndex.tcl and my file ends up in tcl/ pkgIndex.tcl is that the right thing to do ? I'm a Makefile n00b so please tell me if I do something stupid. I cannot provide a patch until I solved this. ps: I found nothing related to this in the developper doc cheers, _y ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev