Re: [PD] drag and drop - tkdnd on osx

2018-10-23 Thread IOhannes m zmölnig
On 10/24/18 1:11 AM, Lucas Cordiviola wrote:
>> But my question was: where to put it, so that PD (on OSX) can find it ? 
> 
> I think on osx you should have the same folder tree:
> 
> whateveryourpath-to/externals/pd-dnd-plugin --> here the "dnd-plugin.tcl"
> whateveryourpath-to/externals/pd-dnd-plugin/tkdnd --> here 
> "libtkdnd2.8.dylib" and all the other .tcl
> 
> And then add path  " -path pd-dnd-plugin " or [declare -path pd-dnd-plugin].

that's something that puzzled me with your deken package as well:
instead of putting the plugin into /pd-dnd-plugin/, why don't you
just install it it into /dnd-plugin? (so you end up with a file
/dnd-plugin/dnd-plugin.tcl; with  in Pd's search path)
no fuzzing around with preferences, path and lib whatnot.
this is how all GUI-plugins are supposed to be installed.

the "pd-" prefix of the github project is probably only there to
organize the repositories on github, rather than meant as the canonical
installation path.

(as a sidenote, i doubt (having not tried it) whether [declare -path]
does *anything* for GUI-plugins, as these are loaded on startup of
pd-gui only)

mdsr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Compiling [Abl_link~] on windows64 -- was: ( Who is maintaining hcs/hid external ?)

2018-10-23 Thread Lucas Cordiviola
On 10/23/2018 8:52 AM, Jean-Yves Gratius wrote:
> BTW @lucas regarding your haijacking question : my windows computer 
> crashed, so unfortunately at this moment I'm unable to (re)compile any 
> external for windows  :-(

:(

I been trying to build it but i constantly get into troubles. had to 
install "boost" on Msys2 but i can't build it. also tried 'cmake' but 
... :(.
Also I have very few skills on compiling.

Can you give me some clues or tips on how did you make the 32 version?

Is not urgent.

:)

--

Mensaje telepatico asistido por maquinas.


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] drag and drop - tkdnd on osx

2018-10-23 Thread Lucas Cordiviola
> But my question was: where to put it, so that PD (on OSX) can find it ? 

I think on osx you should have the same folder tree:

whateveryourpath-to/externals/pd-dnd-plugin --> here the "dnd-plugin.tcl"
whateveryourpath-to/externals/pd-dnd-plugin/tkdnd --> here 
"libtkdnd2.8.dylib" and all the other .tcl

And then add path  " -path pd-dnd-plugin " or [declare -path pd-dnd-plugin].

> what is the plugin supposed to do ? 

Open a file explorer.

Drag and drop a .pd file to the console --> the patch is open in a new 
window.

Drag and drop a .pd file to the an open patch --> the dropped .pd file 
is now a sub-patch.

I didn't test anything else, probably there are other functions?

:)

Mensaje telepatico asistido por maquinas.

On 10/23/2018 7:51 PM, oliver wrote:
> Lucas Cordiviola wrote:
>> Hi Oliver,
>>
>> I recently uploaded to Deken "pd-dnd-plugin" for windows. All the needed
>> files are contained inside the plugin folder.
>>
>> I build it with sources from https://github.com/megrimm/pd-dnd-plugin.
>>
>> There you will find the prebuilt osx binary in the 'tkdnd' folder.  I
>> guess it will work but i can't test osx things.
>
> hi, lucas !
>
> thanks a lot for joining in.
>
> that package in your link i already got. it's "tkdnd 2.8" and 
> downloadable from sourceforge here:
>
> https://sourceforge.net/projects/tkdnd/files/
>
> But my question was: where to put it, so that PD (on OSX) can find it ?
> as i wrote, i am a bit confused, because i can't find the folder "lib" 
> where i used to put that package into on windows to make the plugin work.
>
> i figure, Tcl/TK things are dealt with a little different on OSX ...
>
> about your "pd-dnd-plugin": sounds very promising, but how is it 
> supposed to work ? i downloaded it "from deken" and it loads alright, 
> but ... what do i have to do then ? ;-)
>
> what is the plugin supposed to do ?
> i can find no instruction file ...
>
>
>
> best
>
> oliver
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] drag and drop - tkdnd on osx

2018-10-23 Thread oliver

Lucas Cordiviola wrote:

Hi Oliver,

I recently uploaded to Deken "pd-dnd-plugin" for windows. All the needed
files are contained inside the plugin folder.

I build it with sources from https://github.com/megrimm/pd-dnd-plugin.

There you will find the prebuilt osx binary in the 'tkdnd' folder.  I
guess it will work but i can't test osx things.


hi, lucas !

thanks a lot for joining in.

that package in your link i already got. it's "tkdnd 2.8" and 
downloadable from sourceforge here:


https://sourceforge.net/projects/tkdnd/files/

But my question was: where to put it, so that PD (on OSX) can find it ?
as i wrote, i am a bit confused, because i can't find the folder "lib" 
where i used to put that package into on windows to make the plugin work.


i figure, Tcl/TK things are dealt with a little different on OSX ...

about your "pd-dnd-plugin": sounds very promising, but how is it 
supposed to work ? i downloaded it "from deken" and it loads alright, 
but ... what do i have to do then ? ;-)


what is the plugin supposed to do ?
i can find no instruction file ...



best

oliver


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] drag and drop - tkdnd on osx

2018-10-23 Thread Lucas Cordiviola
Hi Oliver,

I recently uploaded to Deken "pd-dnd-plugin" for windows. All the needed 
files are contained inside the plugin folder.

I build it with sources from https://github.com/megrimm/pd-dnd-plugin.

There you will find the prebuilt osx binary in the 'tkdnd' folder.  I 
guess it will work but i can't test osx things.

:)

Mensaje telepatico asistido por maquinas.

On 10/23/2018 2:12 PM, oliver wrote:
> hi,
>
> so i managed to use IOhannes' dnd plugin with tkdnd2.6 package on a 
> windows machine with success and wanted to do the same on a mac.
>
> on the windows machine i put the tkdnd package (version 2.6) into PD's 
> "lib" folder to make the .tcl plugin work
>
> on OSX, there seems to be no "lib" folder, nor did i find a "tcl8.5" 
> or "tk8.5" folder anywhere.
>
> logically the .tcl plugin would not load and print an error in the PD 
> console that the tkdnd package did not load.
>
>
> does anybody here have some experience with this package on OSX, i.e. 
> where would i have to put it and what versions work with the latest PD ?
>
> and another one:
>
>
> WINDOWS MACHINE: WIN7/64, PD 0.49, tkdnd2.6
> APPLE MACHINE: OSX 10.9.5, PD 0.49, tkdnd2.8 (didn't find an older 
> version)
>
>
> thanks a lot for any help
>
> best
>
> oliver
>
>
>

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] drag and drop - tkdnd on osx

2018-10-23 Thread oliver

hi wrote:

Hi Oliver,

I have tried tkdnd a couple of times, especially when tk changed from 8.4 to 
8.5 in the pd package (0.47??), but i had less success with it. If i remember 
correct i was able to drag pd patches onto to the pd window to open them, but 
what i was looking for was dragging files onto my Pd patch to use a reference 
to them, so to share their path with my patch. Is this working on windows for 
you?


i'm not sure i understood correctly what you mean, but yes, i managed to 
make dnd work for my own purposes (opening sound/video/text files via 
drag and drop onto a specific field ---> their full name gets sent to a 
global receive)


but i had to hack it in a very crude manner that would send shivers of 
disgust down every coder's spine ;-)


it's really only a modification of IOhannes' dnd plugin.

anyway, i attached all the necessary files plus instructions where to 
put them. you will also find an abstraction of mine called [ol_dropfile] 
that outputs the absolute path of any file you drop on it (save for .pd 
files, those are put into the patch as objects). plus there is a 
helpfile to check if it's working for you.


on my windows 7 machine it works for both PD 0.48 and PD 0.49.

i have to add though that i always use the non-install version of PD 
(the .zip package), but that shouldn't really matter in this case.


best

oliver
<>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] drag and drop - tkdnd on osx

2018-10-23 Thread hi via Pd-list
Hi Oliver,

I have tried tkdnd a couple of times, especially when tk changed from 8.4 to 
8.5 in the pd package (0.47??), but i had less success with it. If i remember 
correct i was able to drag pd patches onto to the pd window to open them, but 
what i was looking for was dragging files onto my Pd patch to use a reference 
to them, so to share their path with my patch. Is this working on windows for 
you?
currently I am on OSX 10.11.6

cheers,

jonas

> Am 23.10.2018 um 19:12 schrieb oliver :
> 
> hi,
> 
> so i managed to use IOhannes' dnd plugin with tkdnd2.6 package on a windows 
> machine with success and wanted to do the same on a mac.
> 
> on the windows machine i put the tkdnd package (version 2.6) into PD's "lib" 
> folder to make the .tcl plugin work
> 
> on OSX, there seems to be no "lib" folder, nor did i find a "tcl8.5" or 
> "tk8.5" folder anywhere.
> 
> logically the .tcl plugin would not load and print an error in the PD console 
> that the tkdnd package did not load.
> 
> 
> does anybody here have some experience with this package on OSX, i.e. where 
> would i have to put it and what versions work with the latest PD ?
> 
> and another one:
> 
> 
> WINDOWS MACHINE: WIN7/64, PD 0.49, tkdnd2.6
> APPLE MACHINE: OSX 10.9.5, PD 0.49, tkdnd2.8 (didn't find an older version)
> 
> 
> thanks a lot for any help
> 
> best
> 
> oliver
> 
> 
> 
> -- 
> 
> /// http://pendler.klingt.org //
> \\\ http://oliver.klingt.org  \\
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] drag and drop - tkdnd on osx

2018-10-23 Thread oliver

hi,

so i managed to use IOhannes' dnd plugin with tkdnd2.6 package on a 
windows machine with success and wanted to do the same on a mac.


on the windows machine i put the tkdnd package (version 2.6) into PD's 
"lib" folder to make the .tcl plugin work


on OSX, there seems to be no "lib" folder, nor did i find a "tcl8.5" or 
"tk8.5" folder anywhere.


logically the .tcl plugin would not load and print an error in the PD 
console that the tkdnd package did not load.



does anybody here have some experience with this package on OSX, i.e. 
where would i have to put it and what versions work with the latest PD ?


and another one:


WINDOWS MACHINE: WIN7/64, PD 0.49, tkdnd2.6
APPLE MACHINE: OSX 10.9.5, PD 0.49, tkdnd2.8 (didn't find an older version)


thanks a lot for any help

best

oliver



--

/// http://pendler.klingt.org //
\\\ http://oliver.klingt.org  \\



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Who is maintaining hcs/hid external ? (was : Question about hid external and polling)

2018-10-23 Thread Jean-Yves Gratius

I tried pd-hid from debian package installer (v 0.7-3)
the problem persists  (listening to my touchscreen, some events are 
duplicated, others are lost)


BTW @lucas regarding your haijacking question : my windows computer 
crashed, so unfortunately at this moment I'm unable to (re)compile any 
external for windows  :-(


On 14/10/2018 17:53, Lucas Cordiviola wrote:


Take a look here on the Debian pkgs:

https://qa.debian.org/developer.php?login=umlaeute&set=yes&bugs=3&version=unstable&watch=1


it takes you to here:

https://tracker.debian.org/pkg/pd-hid

you can try 0.7-3.

you must apply the patches from "pd-hid_0.7-3.debian.tar.xz" to 
"pd-hid_0.7.orig.tar.gz"


BTW and rather hijacking this thread:
Can you make an 64bit windows [abl_link~]. ?


:)

Mensaje telepatico asistido por maquinas.
On 10/14/2018 9:30 AM, Jean-Yves Gratius wrote:


Hello,
I am experiencing issues with hid external loosing incoming some 
messages from input device (touchscreen).

Is there somebody maintaining this object ? where can I post issues ?

For my project (multitouch inside Puredata with native gui objects*), 
I found a workaround but I would prefer to be able to use hid object.

Thanks

J.Y.G.

* see https://vimeo.com/292789121


 Forwarded Message 
Subject:Re: Question about hid external and polling
Date:   Thu, 27 Sep 2018 15:18:46 +0200
From:   Jean-Yves Gratius 
To: pd-list@lists.iem.at



Hello,
So, I'm experiencing issues with [hid] object for listening my
multitouchscreen device (linux).
I can confirm that some messages sent by the touchscreen are lost and
not retrieved in Puredata using this object. I can observe this when I
print in the pd-console  the output of Hid and compare it simultenaously
with the output of an utilitary listening for the same device : evtest.

Is this list the best choice for reporting this issue or may I open an
issue elsewhere ?
Thanks

On 21/09/2018 19:48, Jean-Yves Gratius wrote:
> Hi,
>
> I'm trying to retrieve infos from an Elan mutlitouchscreen  using hid 
> object in puredata (on linux).

>
> I succeeded in getting multitouch infos, but with some 
> inconsistencies, so I wonder if I may loose some messages dueto 
> incorrect  polling value ?

>
> Is there a non polling mode giving all the incoming messages as they 
> arrive ?

>
> Thanks so much.
>
> J.Y.G
>



___
Pd-list@lists.iem.at  mailing list
UNSUBSCRIBE and account-management 
->https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list