Since there are prebuilt binaries and therefore platform-specific configs, probably the safest thing you need to do to rebuild on your platform from scratch is to do the following:
cd pd/src make distclean aclocal autoconf ./configure (with flags you wish to use, typically --prefix=/usr --enable-jack --enable-alsa) make cp pd.tk ../bin (old stale one crept into the tarball inside the bin directory--I will fix this shortly and reupload the tarball)
at that point you can either: cd ../bin ./pd
or (if you feel like this version is worthy being installed system-wide) make install pd
NB: pre-built binaries are for i386 arch only so they are unlikely to work on other (e.g. 64-bit Linux).
As for swapping pd.tk alone, this won't work as pd.tk depends on changes to the source as well.
Finally, regarding the scrolling algorithm, the new version updates scrollbars once a key has been released or mouse has stopped dragging. This is because on an Atom netbook (what we use in L2Ork) things got bogged down quite quickly when using continual scrollbar updates. If you wish to try that one out (it also uses old object moving code via "coords" call which is a lot less efficient) simply download the 20101117 version (replace 20101120 in the URL of the current one).
HTH
Best wishes,
Ico
On Sun, 2010-11-21 at 11:50 +0000, ALAN BROOKER wrote:
Hi Ico,
I'm on Ubuntu and have tried to ./configure but the terminal reports no tk library found :
checking for tcl8.4/tcl.h... yes
checking for main in -ltcl85... no
checking for main in -ltcl8.5... no
checking for main in -ltcl84... no
checking for main in -ltcl8.4... yes
checking for main in -ltk85... no
checking for main in -ltk8.5... no
checking for main in -ltk84... no
checking for main in -ltk8.4... no
checking for main in -ltk8.3... no
checking for main in -ltk8.2... no
checking for main in -ltk8.0... no
no tk library found
and further make errors:
ldl -lm -lpthread -lasound
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
make: *** [../bin/pd] Error 1
Still wanting to check it out I swapped the pd-extended pd.tk file with the one from L2Ork pd.tk file and I am getting the following errors on a pop up:
can't read "mult": no such variable
can't read "mult": no such variable
while executing
"expr int($height / ($mult * 2))"
("text" arm line 36)
invoked from within
"switch -exact [$name type $item] {
"arc" -
"line" -
"oval" -
"polygon" -
"rectangle" {
set coords [$name coords $item]
foreach ..."
(procedure "pdtk_canvas_getscroll" line 38)
invoked from within
"pdtk_canvas_getscroll $name"
(procedure "pdtk_canvas_getscroll_ping" line 9)
invoked from within
"pdtk_canvas_getscroll_ping .xa5b7038.c"
("after" script)
And sometimes there are no up scrolling bars
But I wish to say the improvements to the gui on Ubuntu are really nice! Really want to use this from now on- the larger “cord/wire connect” icon is really useful- and appreciate any feedback regarding the above
Cheers
Al
On Sat, Nov 20, 2010 at 9:20 PM, Ivica Ico Bukvic ico@vt.edu wrote: Dear fellow Pd enthusiasts,
I am pleased to report that earlier today L2Ork released latest snapshot of its own variation of pd-extended 0.42.5. While we are working hard on submitting isolated patches upstream (some of which have been already submitted), many more need to be isolated before they can be provided in a useful format. Another roadblock is that we are still stuck on 0.42.5 which makes patch integration so much more difficult into the 0.43 branch. That said, we would love to get some feedback/testers. The tarball is for *linux only* clients (a good number of optimizations have not been tested on other platforms and there are already known issues, particularly in respect to pd.tk file). Some of the notable improvements include much faster editor (instead of redrawing we tag and move objects wherever possible while still allowing for legacy movement of objects not conforming to the pd vanilla gobj_displace format), bunch of usability improvements (e.g. custom color picker with color storing and hex editing), per-canvas toggling of menu and background color (see Abstractions), universal shortcuts, different scrolling algorithm. Likewise, the UI is entirely revamped to better fit the "Gnome-ish" feel. Jack connectivity algorithm also is automated and compensates for changes in srate, etc. At any rate, there are bunch of other little/big fixes I honestly cannot recall. These improvements are a product of a year of use within the context of a 15-member laptop orchestra taking into an account feedback from students/participants, including also my latest hac-a-thon this past week that involved overhauling redraw to improve editor speed. So, if any of you would be so kind as to give it a stab and provide any feedback, that would be most appreciated. You can get the latest snapshot from http://l2ork.music.vt.edu/main/?page_id=56 The source tarball also includes prebuilt binaries, so assuming you have an intel machine with Ubuntu 9.10, it should "just run." (cd pd/bin/ followed by ./pd). Otherwise, you may have to rebuild it (standard pd-extended 0.42.x procedure). Your feedback, particularly bug-reports are most appreciated. Best wishes, Ico _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list