Re: [PD] small template bug on 64 bit system for building externals for android
hi, in version 1.0.14 (svn r17152) I have $(NDK_PROCESSOR) instead of x86 or x86_64 on my system (Ubuntu 12.04 64bit) this environment variable isn't set automatically with Anroid NDK r9 so I add NDK_PROCESSOR=$(shell uname -p) just before and i seems to work I don't know if it only works on other platforms here is the patch + a -- do it yourself http://antoine.villeret.free.fr 2013/9/12 Cyrille Henry c...@chnry.net Hello, i'm currently working for android. when trying to compile pd extern for this platform, I face a small bug on the template makefile v1.0.14 it certainly work great for 32 bit, but on my 64 bit system, i have to change : NDK_TOOLCHAIN=$(wildcard $(NDK_BASE)/toolchains/$(NDK_** ABI)*-$(NDK_COMPILER_VERSION)/**prebuilt/$(NDK_UNAME)-x86) to NDK_TOOLCHAIN=$(wildcard $(NDK_BASE)/toolchains/$(NDK_** ABI)*-$(NDK_COMPILER_VERSION)/**prebuilt/$(NDK_UNAME)-x86_64) for now i don't have anything to test, but binary are created. cheers c __**_ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] small template bug on 64 bit system for building externals for android
hello, i just realize that the pmpd makefile that is a copy of the template makefile, is labelled 1.0.14, but is not identical to the current template makefile 1.0.14 anyhow, with current template makefile, i add the NDK in the make option : make NDK_BASE=/home/chnry/android-ndk-r9 CFLAGS=-I/home/chnry/pd/pd/src UNAME=ANDROID NDK_PROCESSOR=x86_64 and it's working. I guess that adding NDK_PROCESSOR=$(shell uname -p) could cause trouble if you install a 32 bit NDK on a 64bit system. so i think everything works. cheers c Le 15/09/2013 09:23, Antoine Villeret a écrit : hi, in version 1.0.14 (svn r17152) I have $(NDK_PROCESSOR) instead of x86 or x86_64 on my system (Ubuntu 12.04 64bit) this environment variable isn't set automatically with Anroid NDK r9 so I add NDK_PROCESSOR=$(shell uname -p) just before and i seems to work I don't know if it only works on other platforms here is the patch + a -- do it yourself http://antoine.villeret.free.fr 2013/9/12 Cyrille Henry c...@chnry.net mailto:c...@chnry.net Hello, i'm currently working for android. when trying to compile pd extern for this platform, I face a small bug on the template makefile v1.0.14 it certainly work great for 32 bit, but on my 64 bit system, i have to change : NDK_TOOLCHAIN=$(wildcard $(NDK_BASE)/toolchains/$(NDK___ABI)*-$(NDK_COMPILER_VERSION)/__prebuilt/$(NDK_UNAME)-x86) to NDK_TOOLCHAIN=$(wildcard $(NDK_BASE)/toolchains/$(NDK___ABI)*-$(NDK_COMPILER_VERSION)/__prebuilt/$(NDK_UNAME)-x86_64) for now i don't have anything to test, but binary are created. cheers c _ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/__listinfo/pd-list http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] u_samplekit2 text file formatting
Hi, great to hear that you've solved it. Maybe you can add [declare -path .] to you toplevel main Pd file to add its directory to the search path. Then you can use it as a main point of reference for relative path names. Ciao -- Frank On Sat, Sep 14, 2013 at 03:26:37PM -0700, Joe Newlin wrote: Okay, so I solved the issue myself by using the absolute directory path in the open message, and it was an issue with [textfile] within [u_dumpfile] not receiving the correct path in the open message. On Sat, Sep 14, 2013 at 2:54 PM, Joe Newlin jtnew...@gmail.com wrote: Hello, I'm trying to use the u_samplekit2 abstraction from rjlib, and having trouble getting it to work. The help file says that the directory containing the samples must also contain a text file named index.txt that maps filenames to numbers. But it does not say how exactly one is supposed to enter that information in the text file. I tried writing a couple of lines to test it (g1 and g2 are sample filenames): g1 0 g2 1 ...and I get these errors: /samples/index.txt: can't open /samples/index.txt: read failed The samples directory is located in the same directory as the patch. Can someone teach me how to use this? Thanks, Joe -- www.joenewlin.net www.twitter.com/joe_newlin -- www.joenewlin.net www.twitter.com/joe_newlin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Frank Barknecht _ __footils.org__ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu
On 2013-09-14 19:28, Mario Mey wrote: Martin Peach, I read somewhere that changing pages in TouchOSC makes Pd (or Pd-Ext) to crash. My Pd-Extended doesn't crash, but this error is shown: * routeOSC: ignoring empty list…. That doesn't happen here. There is no such message in the source code. Maybe you have an older version of routeOSC? The OSC specification allows empty messages, and [routeOSC] should output a bang if it routes such a message. Older versions of [routeOSC](before March 2012) didn't work properly, so you probably just need to find a more recent one or build it from svn. (http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/mrpeach/osc/) Martin Today, I've installed Ubuntu Studio 12.04.3 (with lowlatency kernel). It seemed that it was a good distro for my use... but switching pages DOES make Pd-Extended to crash. I reported-suggested this in this thread: http://hexler.net/forum/viewthread/992/, where I wrote some other info, maybe usefull. The config where it doesn't crash: /Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended 0.43.4 (download from PPA as the Pure Data page says), jackdmp 1.9.8...// / The other config: /Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency, same Pd-Extended version, Jack that came with UbuntuStudio (don't know wich version)/ Any other information that could be useful to fix this? Like I wrote in the thread, I suggested TouchOSC that it should send non-empty lists. But, TouchOSC is closed-code... so, there's no easy feedback. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] How to install Pd 0.45 on Linux ?
Dear List, This is a very silly question. What do I have to do to install Pd vanilla in Linux (Raspbian) from the compiled archive available on Miller's site ? I don't know whether i need to run a command or just to copy the uncompressed folder somewhere. Thanks in advance! Pierre. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to install Pd 0.45 on Linux ?
On 09/15/2013 11:10 AM, Pierre Massat wrote: Dear List, This is a very silly question. What do I have to do to install Pd vanilla in Linux (Raspbian) from the compiled archive available on Miller's site ? I don't know whether i need to run a command or just to copy the uncompressed folder somewhere. Just guessing: Something like sudo make install, either from the main directory or the /src directory (depending on how Miller actually compiled it). Best, Jonathan Thanks in advance! Pierre. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to install Pd 0.45 on Linux ?
What I do: un-archive (makes a directory like /home/pi/pd-0.45-2) Invoke it as /home/pi/pd-0.45-2/bin/pd cheers Miller On Sun, Sep 15, 2013 at 11:53:29AM -0400, Jonathan Wilkes wrote: On 09/15/2013 11:10 AM, Pierre Massat wrote: Dear List, This is a very silly question. What do I have to do to install Pd vanilla in Linux (Raspbian) from the compiled archive available on Miller's site ? I don't know whether i need to run a command or just to copy the uncompressed folder somewhere. Just guessing: Something like sudo make install, either from the main directory or the /src directory (depending on how Miller actually compiled it). Best, Jonathan Thanks in advance! Pierre. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] search plugin update (was: Re: reverse kickstarter update)
Hi list, Attached is a first pass at using the Xapian backend to search Pure Data docs. What the revision does: * simplifies building a search index. It builds once, on the first search, and all subsequent searches happen very fast. Previously it searched the docs themselves every single time and depended on the OS caching the data, resulting in sluggish performance especially on Windows. * natural language, probabalistic searches. The search terms in the index were automatically chosen by the engine with no customization, and already the results are decent. * nearly no input errors. Xapian has its own simple syntax, but for most cases users can ignore it and type in natural language searches (like Google). And the few errors the user can generate have meaningful feedback to the console. Also, since I'm passing the input as a string you don't have to worry about malformed tcl lists or weird characters that previously caused error. * everything, including pd files, pdfs and html, is indexed properly and so will get included in the results in the proper place. * gives the ability to add results from a remote database with a couple lines of code. * allows the removal of Match all terms and Match whole words checkbuttons, simplifying the interface. * performs stemming out of the box-- that is, searching for edit, the engine will take into account editing, edits, edited, etc. Installation for linux (Debian): 1) Make sure you have libxapian and tclxapian packages installed. Other distros probably have corresponding packages. 2) put search-plugin.tcl in the /startup directory, or if you're using Pd vanilla just make sure it's in a directory that's specified in the Path dialog. 3) Run Pd and click ctrl-h or choose Search from the Help menu. Further work that needs to be done: * need to figure out where to create the database directory on Linux, OSX, and Windows. The directory needs to be read/writable. Is there an easy way to do this? * need a Cancel button next to the progressbar when indexing, so the user can cancel a long index. Further work that could be done: * add pd meta tag/values to the index terms for each document. This would make it possible to type keyword:foo or author:bar to search based solely on that pd meta tag/value. * add filenames to terms * add object terms so the user can search pd patches for a particular object instance, i.e., object:clip * limit the document data in the database to pd meta tags/values and other metadata. Right now I'm storing the _entire_ doc text in the database which obviously wastes space. * xapian has all kinds of features, like suggesting related searches, and realtime results. The latter could be very handy for autocompletion in object boxes, for example. * could use the title of html files as description for better result descriptions * could plug in to puredata.info to search for externals, plugins, etc. As always, feedback welcome. And feel free to donate some rice and beans if you can! https://jwilkes.nfshost.com/donations.php Best, Jonathan # browse docs or search all the documentation using a regexp # check the Help menu for the Browser item to use it # todo: use xapian syntax for meta keywords #keyword:foo # todo: when cancelling a db index build, we need to remove # the database completely # todo: remove both checkbuttons-- not needed # todo: do newline regsub and document parsing on indexing # todo: make libdir listing check for duplicates # todo: hook into the dialog_bindings # TODO remove the doc_ prefix on procs where its not needed # TODO enter and up/down/left/right arrow key bindings for nav # redesign: # [ search entry ] Help # [search] [filter] # package require Tk 8.5 package require pd_bindings package require pd_menucommands package require xapian 1.0.0 namespace eval ::dialog_helpbrowser2:: { variable doctypes *.{pd,pat,mxb,mxt,help,txt,htm,html,pdf} variable searchfont [list {DejaVu Sans}] variable searchtext {} variable search_history {} variable count {} # $i controls the build_index recursive loop variable i variable filelist {} variable progress {} variable navbar {} variable genres variable cancelled variable database {} } ## help browser and support functions # proc ::dialog_helpbrowser2::open_helpbrowser {mytoplevel} { if {[winfo exists $mytoplevel]} { wm deiconify $mytoplevel raise $mytoplevel } else { create_dialog $mytoplevel } } proc ::dialog_helpbrowser2::create_dialog {mytoplevel} { variable searchfont variable selected_file variable genres [list [_ All documents] \ [_ Object Help Patches] \ [_ All About Pd] \ [_ Tutorials] \ [_ Manual] \ [_ Uncategorized] \ ] variable count foreach genre $genres { lappend
Re: [PD] search plugin update (was: Re: reverse kickstarter update)
On Sep 15, 2013, at 3:23 PM, pd-list-requ...@iem.at wrote: * need to figure out where to create the database directory on Linux, OSX, and Windows. The directory needs to be read/writable. Is there an easy way to do this? For Linux Windows, why not put it in the same location as the pd settings file? On OSX, I'd put it in ~/Library/Application Support/pd (or pd-extended). Dan Wilcox @danomatika danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list