Re: [PD] Fw: knob (again)

2016-10-04 Thread IOhannes m zmölnig
On 10/04/2016 08:27 PM, IOhannes m zmölnig wrote:
> the reason for the broken link is a caching problem on the deken server.
> it needs to be fixed by me.

https://git.iem.at/zmoelnig/deken-server/issues/3

gfmads
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


Re: [PD] Fw: knob (again)

2016-10-04 Thread IOhannes m zmölnig
On 10/04/2016 07:36 PM, Christof Ressi wrote:
> IOhannes and Lucas,
> 
> thanks for your help. I was aware of the naming convention and I've read the 
> dev readme.
> When I was asking how to manually upload a package, I wanted to know how to 
> *upload*.

ok :-)

login, and "add a new file" via the "add new article" menu.


> 
> Now I've tried myself. I uploaded the zip file with 'add new article' ('neuen 
> artikel hinzufügen') on my puredata.info account. I named the URL the same as 
> the zip file. However, I chose a different article name (thinking it should 
> be descriptive). 
> after a while it showed up in deken but the name was - and is still! - a 
> mess. It kind of mixed bits of the file name with bits of the arcticle name 
> (see yourself!). I noticed it immediately and removed the file from my 
> account, hoping it would disappear from deken but it's still there! I gave it 
> a second try (with a different directory), same results. 


afaics this part works as expected.
deken displays
> moonlib/0.3.4_Pd_0.47 (moonlib Windows binaries (Pd >= 0.47))

which is indeed a mixture of the descriptive article name ("moonlib
Windows binaries...") and info parsed from the actual filename (a
/ information "moonlib/0.3.4_Pd_0.47").

which - i think - makes total sense.
the version information is *crucial*; just having "moonlib Windows
binaries (Pd >= 0.47)" could mean anything (well, at least manything).

the logic that creates those display names is rather simple: if the
uploader cared to give a name, then you get "/
()".
(it needs to be simple and still contain meaningful information; just
having "" is not foolproof enough, as the uploader could
give an arbitrary name; and in fact when using the Plone-Software-Center
(everything under /downloads/) these names usually lack both libraryname
and version)


> Then I tried to upload it a third time (now with the article name
> being the same as the filename),
> but this time it doesn't show up in deken. 

that's a bit hard to debug.
what's the URL of the not showing-up file?

> 
> How can I remove the old packages and get the new one to upload? Here's the 
> link btw:
> http://puredata.info/Members/spacechild1/externals/moonlib/moonlib-v0.3.4_Pd_0.47-%28Windows-i386-32%29%28Sources%29-externals.zip

*this* one does show up.

for me (and i figure: everyone), deken returns two moonlib uploads by
you, both named "moonlib/0.3.4_Pd_0.47 (moonlib Windows binaries (Pd >=
0.47))".
one lives in
http://puredata.info/Members/spacechild1/externals/moonlib/
the other directly in
http://puredata.info/Members/spacechild1/externals/

i don't see any 3rd upload. (also i don't see any additional upload when
i browse /Members/spacechild1)

the last link, however, is broken.


the reason for the broken link is a caching problem on the deken server.
it needs to be fixed by me.

gfmadsr
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


Re: [PD] Fw: knob (again)

2016-10-04 Thread Christof Ressi
IOhannes and Lucas,

thanks for your help. I was aware of the naming convention and I've read the 
dev readme.
When I was asking how to manually upload a package, I wanted to know how to 
*upload*. 

Now I've tried myself. I uploaded the zip file with 'add new article' ('neuen 
artikel hinzufügen') on my puredata.info account. I named the URL the same as 
the zip file. However, I chose a different article name (thinking it should be 
descriptive). 
after a while it showed up in deken but the name was - and is still! - a mess. 
It kind of mixed bits of the file name with bits of the arcticle name (see 
yourself!). I noticed it immediately and removed the file from my account, 
hoping it would disappear from deken but it's still there! I gave it a second 
try (with a different directory), same results. 
Then I tried to upload it a third time (now with the article name being the 
same as the filename), but this time it doesn't show up in deken. 

How can I remove the old packages and get the new one to upload? Here's the 
link btw:
http://puredata.info/Members/spacechild1/externals/moonlib/moonlib-v0.3.4_Pd_0.47-%28Windows-i386-32%29%28Sources%29-externals.zip

Can someone please explain how to correctly *upload* a package manually. Is 
this is a bug in the deken system or did I do something wrong (if yes, what 
exactly). 

Thanks!

PS: the newer upload works at least, but the older upload just brings an empty 
zip file (since the link actually doesn't exist anymore)

> Gesendet: Dienstag, 04. Oktober 2016 um 09:35 Uhr
> Von: "IOhannes m zmoelnig" 
> An: Pd-List 
> Betreff: Re: [PD] Fw: knob (again)
>
> On 2016-10-04 02:39, Lucas Cordiviola wrote:
> > Just in case:
> > 
> > Of course without all the "http://puredata.info/Members/chr15m/";
> > 
> > just
> > 
> > freeverb~(Windows-i386-32)-externals.zip
> 
> the format of the filenames is detailed in
>https://github.com/pure-data/deken/blob/master/developer/README.md
> 
> and *please* do *NOT* upload files without a version number.
> if there is no version number, use a fake-version that includes the
> compile-date (or better: the date of the last source code change), e.g.
> "v0.0.20161004"). versions should be sortable, so make sure that the
> year comes before the month and the day)
> 
> the above freeverb example is really a legacy file (it was one of the
> earliest test uploads for deken).
> it should have been removed from the server long ago [112]
> 
> so a proper filename should include the version number.
> you should also make sure to upload the sources (and buildsystem) along
> with a binary (probably as a separate upload)
> 
> here's a good example:
> 
>knob-v0.0.20161003-(Windows-i386-32)(Sources)-externals.zip
> 
> gmfdsr
> IOhannes
> 
> 
> [112] https://github.com/pure-data/deken/issues/112
> 
> > 
> > 
> > 
> > Mensaje telepatico asistido por maquinas.
> > 
> > 
> > 
> > From: Pd-list  on behalf of Lucas Cordiviola 
> > 
> > Sent: Tuesday, October 4, 2016 12:26 AM
> > To: Christof Ressi
> > Cc: Pd-List
> > Subject: Re: [PD] Fw: knob (again)
> > 
> > 
> > Some examples for naming the ZIP:
> > 
> > 
> > http://puredata.info/Members/chr15m/freeverb~(Windows-i386-32)-externals.zip
> > http://puredata.info/Members/chr15m/pdlua(Windows-i386-32)-externals.zip
> > http://puredata.info/Members/chr15m/plugin~(Windows-i386-32)-externals.zip
> > http://puredata.info/Members/chr15m/software/v0-0extended/adaptive/adaptive-v0.0.extended-(Windows-i386-32)-externals.zip
> > http://puredata.info/Members/chr15m/software/v0-0extended/arraysize/arraysize-v0.0.extended-(Windows-i386-32)-externals.zip
> > 
> > 
> > 
> > Mensaje telepatico asistido por maquinas.
> > 
> > 
> > 
> > From: Pd-list  on behalf of Lucas Cordiviola 
> > 
> > Sent: Monday, October 3, 2016 11:56 PM
> > To: Christof Ressi
> > Cc: Pd-List
> > Subject: Re: [PD] Fw: knob (again)
> > 
> > 
> > Hi Christof,
> > 
> > Thanx for the new [knob],
> > 
> > 
> > Can anyone tell me how to manually upload a deken package to puredata.info? 
> > I can't get the deken commandline tool to work on Windows (msys2)...
> > 
> > I did it on march on something that I deleted, I can`t remember exactly but 
> > it was just uploading the ZIP with the correct name. See:
> > 
> > https://github.com/pure-data/deken/blob/master/developer/README.md<https://github.com/pure-data/deken/blob/master/developer/README.md>
> > 

Re: [PD] Fw: knob (again)

2016-10-04 Thread Chris McCormick

On 04/10/16 15:35, IOhannes m zmoelnig wrote:

the above freeverb example is really a legacy file (it was one of the
earliest test uploads for deken).
it should have been removed from the server long ago [112]

>

[112] https://github.com/pure-data/deken/issues/112


Fixed. Sorry it took me so long!

Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] Fw: knob (again)

2016-10-04 Thread IOhannes m zmoelnig
On 2016-10-04 02:39, Lucas Cordiviola wrote:
> Just in case:
> 
> Of course without all the "http://puredata.info/Members/chr15m/";
> 
> just
> 
> freeverb~(Windows-i386-32)-externals.zip

the format of the filenames is detailed in
   https://github.com/pure-data/deken/blob/master/developer/README.md

and *please* do *NOT* upload files without a version number.
if there is no version number, use a fake-version that includes the
compile-date (or better: the date of the last source code change), e.g.
"v0.0.20161004"). versions should be sortable, so make sure that the
year comes before the month and the day)

the above freeverb example is really a legacy file (it was one of the
earliest test uploads for deken).
it should have been removed from the server long ago [112]

so a proper filename should include the version number.
you should also make sure to upload the sources (and buildsystem) along
with a binary (probably as a separate upload)

here's a good example:

   knob-v0.0.20161003-(Windows-i386-32)(Sources)-externals.zip

gmfdsr
IOhannes


[112] https://github.com/pure-data/deken/issues/112

> 
> 
> 
> Mensaje telepatico asistido por maquinas.
> 
> 
> 
> From: Pd-list  on behalf of Lucas Cordiviola 
> 
> Sent: Tuesday, October 4, 2016 12:26 AM
> To: Christof Ressi
> Cc: Pd-List
> Subject: Re: [PD] Fw: knob (again)
> 
> 
> Some examples for naming the ZIP:
> 
> 
> http://puredata.info/Members/chr15m/freeverb~(Windows-i386-32)-externals.zip
> http://puredata.info/Members/chr15m/pdlua(Windows-i386-32)-externals.zip
> http://puredata.info/Members/chr15m/plugin~(Windows-i386-32)-externals.zip
> http://puredata.info/Members/chr15m/software/v0-0extended/adaptive/adaptive-v0.0.extended-(Windows-i386-32)-externals.zip
> http://puredata.info/Members/chr15m/software/v0-0extended/arraysize/arraysize-v0.0.extended-(Windows-i386-32)-externals.zip
> 
> 
> 
> Mensaje telepatico asistido por maquinas.
> 
> 
> 
> From: Pd-list  on behalf of Lucas Cordiviola 
> 
> Sent: Monday, October 3, 2016 11:56 PM
> To: Christof Ressi
> Cc: Pd-List
> Subject: Re: [PD] Fw: knob (again)
> 
> 
> Hi Christof,
> 
> Thanx for the new [knob],
> 
> 
> Can anyone tell me how to manually upload a deken package to puredata.info? I 
> can't get the deken commandline tool to work on Windows (msys2)...
> 
> I did it on march on something that I deleted, I can`t remember exactly but 
> it was just uploading the ZIP with the correct name. See:
> 
> https://github.com/pure-data/deken/blob/master/developer/README.md<https://github.com/pure-data/deken/blob/master/developer/README.md>
> 
> 
> You have an account on puredata.info right?
> 
> Once you upload wait a couple of minutes and check if deken finds it. Its 
> just uploading with correct naming IIRC.
> 
> 
> 
> Mensaje telepatico asistido por maquinas.
> 
> 
> 
> From: Pd-list  on behalf of Christof Ressi 
> 
> Sent: Monday, October 3, 2016 5:15 PM
> To: Antoine Rousseau
> Cc: Pd-List
> Subject: Re: [PD] Fw: knob (again)
> 
> No problem! I'll have a look at the dll stuff myself. maybe I can figure it 
> out when I have some spare time. since I'm on a windows machine, testing is 
> easy.
> 
> Can anyone tell me how to manually upload a deken package to puredata.info? I 
> can't get the deken commandline tool to work on Windows (msys2)...
> 
> 
> 
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] Fw: knob (again)

2016-10-03 Thread Lucas Cordiviola
Just in case:

Of course without all the "http://puredata.info/Members/chr15m/";

just

freeverb~(Windows-i386-32)-externals.zip



Mensaje telepatico asistido por maquinas.



From: Pd-list  on behalf of Lucas Cordiviola 

Sent: Tuesday, October 4, 2016 12:26 AM
To: Christof Ressi
Cc: Pd-List
Subject: Re: [PD] Fw: knob (again)


Some examples for naming the ZIP:


http://puredata.info/Members/chr15m/freeverb~(Windows-i386-32)-externals.zip
http://puredata.info/Members/chr15m/pdlua(Windows-i386-32)-externals.zip
http://puredata.info/Members/chr15m/plugin~(Windows-i386-32)-externals.zip
http://puredata.info/Members/chr15m/software/v0-0extended/adaptive/adaptive-v0.0.extended-(Windows-i386-32)-externals.zip
http://puredata.info/Members/chr15m/software/v0-0extended/arraysize/arraysize-v0.0.extended-(Windows-i386-32)-externals.zip



Mensaje telepatico asistido por maquinas.



From: Pd-list  on behalf of Lucas Cordiviola 

Sent: Monday, October 3, 2016 11:56 PM
To: Christof Ressi
Cc: Pd-List
Subject: Re: [PD] Fw: knob (again)


Hi Christof,

Thanx for the new [knob],


Can anyone tell me how to manually upload a deken package to puredata.info? I 
can't get the deken commandline tool to work on Windows (msys2)...

I did it on march on something that I deleted, I can`t remember exactly but it 
was just uploading the ZIP with the correct name. See:

https://github.com/pure-data/deken/blob/master/developer/README.md<https://github.com/pure-data/deken/blob/master/developer/README.md>


You have an account on puredata.info right?

Once you upload wait a couple of minutes and check if deken finds it. Its just 
uploading with correct naming IIRC.



Mensaje telepatico asistido por maquinas.



From: Pd-list  on behalf of Christof Ressi 

Sent: Monday, October 3, 2016 5:15 PM
To: Antoine Rousseau
Cc: Pd-List
Subject: Re: [PD] Fw: knob (again)

No problem! I'll have a look at the dll stuff myself. maybe I can figure it out 
when I have some spare time. since I'm on a windows machine, testing is easy.

Can anyone tell me how to manually upload a deken package to puredata.info? I 
can't get the deken commandline tool to work on Windows (msys2)...



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


Re: [PD] Fw: knob (again)

2016-10-03 Thread Lucas Cordiviola
Some examples for naming the ZIP:


http://puredata.info/Members/chr15m/freeverb~(Windows-i386-32)-externals.zip
http://puredata.info/Members/chr15m/pdlua(Windows-i386-32)-externals.zip
http://puredata.info/Members/chr15m/plugin~(Windows-i386-32)-externals.zip
http://puredata.info/Members/chr15m/software/v0-0extended/adaptive/adaptive-v0.0.extended-(Windows-i386-32)-externals.zip
http://puredata.info/Members/chr15m/software/v0-0extended/arraysize/arraysize-v0.0.extended-(Windows-i386-32)-externals.zip



Mensaje telepatico asistido por maquinas.



From: Pd-list  on behalf of Lucas Cordiviola 

Sent: Monday, October 3, 2016 11:56 PM
To: Christof Ressi
Cc: Pd-List
Subject: Re: [PD] Fw: knob (again)


Hi Christof,

Thanx for the new [knob],


Can anyone tell me how to manually upload a deken package to puredata.info? I 
can't get the deken commandline tool to work on Windows (msys2)...

I did it on march on something that I deleted, I can`t remember exactly but it 
was just uploading the ZIP with the correct name. See:

https://github.com/pure-data/deken/blob/master/developer/README.md<https://github.com/pure-data/deken/blob/master/developer/README.md>


You have an account on puredata.info right?

Once you upload wait a couple of minutes and check if deken finds it. Its just 
uploading with correct naming IIRC.



Mensaje telepatico asistido por maquinas.



From: Pd-list  on behalf of Christof Ressi 

Sent: Monday, October 3, 2016 5:15 PM
To: Antoine Rousseau
Cc: Pd-List
Subject: Re: [PD] Fw: knob (again)

No problem! I'll have a look at the dll stuff myself. maybe I can figure it out 
when I have some spare time. since I'm on a windows machine, testing is easy.

Can anyone tell me how to manually upload a deken package to puredata.info? I 
can't get the deken commandline tool to work on Windows (msys2)...



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


Re: [PD] Fw: knob (again)

2016-10-03 Thread Lucas Cordiviola
Hi Christof,

Thanx for the new [knob],


Can anyone tell me how to manually upload a deken package to puredata.info? I 
can't get the deken commandline tool to work on Windows (msys2)...

I did it on march on something that I deleted, I can`t remember exactly but it 
was just uploading the ZIP with the correct name. See:

https://github.com/pure-data/deken/blob/master/developer/README.md<https://github.com/pure-data/deken/blob/master/developer/README.md>


You have an account on puredata.info right?

Once you upload wait a couple of minutes and check if deken finds it. Its just 
uploading with correct naming IIRC.



Mensaje telepatico asistido por maquinas.



From: Pd-list  on behalf of Christof Ressi 

Sent: Monday, October 3, 2016 5:15 PM
To: Antoine Rousseau
Cc: Pd-List
Subject: Re: [PD] Fw: knob (again)

No problem! I'll have a look at the dll stuff myself. maybe I can figure it out 
when I have some spare time. since I'm on a windows machine, testing is easy.

Can anyone tell me how to manually upload a deken package to puredata.info? I 
can't get the deken commandline tool to work on Windows (msys2)...



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


Re: [PD] Fw: knob (again)

2016-10-03 Thread Christof Ressi
No problem! I'll have a look at the dll stuff myself. maybe I can figure it out 
when I have some spare time. since I'm on a windows machine, testing is easy.

Can anyone tell me how to manually upload a deken package to puredata.info? I 
can't get the deken commandline tool to work on Windows (msys2)...
 

Gesendet: Montag, 03. Oktober 2016 um 08:48 Uhr
Von: "Antoine Rousseau" 
An: "Christof Ressi" 
Cc: Pd-List , "Antoine Rousseau" 
Betreff: Re: Fw: [PD] knob (again)

Thanks Christof !
 I think you can upload your bin to deken, specifying Pd >= 0.47.I think 
check_compat could work for windows if we managed to include the right files ; 
anyway having a version working only for latest Pd should be enough for 
now.sorry I have really poor availability these days...
 
2016-10-03 1:37 GMT+02:00 Christof Ressi 
mailto:christof.re...@gmx.at]>:I changed the defines to:

#ifdef _WIN32
#include 
#include 
#else
#include 
#include 
#endif

 was missing and  should be UNIX only. Then the code 
finally compiled on my Windows machine.

However, the Tcl error was still present (see screenshot).

Since I'm only using Pd >= 47, I skipped the DLL loading mechanism in 
check_compat() and just wrote:

iemgui_all_loadcolors_p = &iemgui_all_loadcolors

Now [mknob] is finally working again for me - thanks to Antoine and IOhannes!!!.

My question is now: Should I upload my Windows binaries to deken, with a notice 
that it only works for Pd >= 47
OR shall we wait for a solution which works for both old and new versions of Pd?

Christof


> Gesendet: Sonntag, 02. Oktober 2016 um 21:12 Uhr
> Von: "Christof Ressi" mailto:christof.re...@gmx.at]>
> An: Pd-List mailto:pd-list@lists.iem.at]>
> Betreff: [PD] knob (again)

>
> Hi list,
>
> are there any people who can help to make [mknob] (and [knob]) build on 
> windows? Here's the issue:
> https://github.com/MetaluNet/moonlib/issues/4[https://github.com/MetaluNet/moonlib/issues/4]
>
> Is [mknob] at least working on OSX and linux?
>
> Right know I'm working on a new project and I need knob GUIs. I managed to 
> hack something together with data structures, but I'd prefer to use good old 
> [knob] or [mknob]. Knobs have been used in quite a lot of projects and it's 
> shame that they won't work on recent versions of Pd right know. I can try 
> myself to repair it (since we know the cause and possible solutions) but my C 
> skills are not exactly amazing. Maybe we can join forces to repair these 
> objects?
>
> Christof
>
>
>
>
> ___
> Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at] mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]
>


--

Antoine Rousseau 
  http://www.metalu.net[http://metalu.net] __ 
http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/]
 

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


Re: [PD] Fw: knob (again)

2016-10-02 Thread Antoine Rousseau
Thanks Christof !
 I think you can upload your bin to deken, specifying Pd >= 0.47.
I think check_compat could work for windows if we managed to include the
right files ; anyway having a version working only for latest Pd should be
enough for now.
sorry I have really poor availability these days...

2016-10-03 1:37 GMT+02:00 Christof Ressi :

> I changed the defines to:
>
> #ifdef _WIN32
> #include 
> #include 
> #else
> #include 
> #include 
> #endif
>
>  was missing and  should be UNIX only. Then the code
> finally compiled on my Windows machine.
>
> However, the Tcl error was still present (see screenshot).
>
> Since I'm only using Pd >= 47, I skipped the DLL loading mechanism in
> check_compat() and just wrote:
>
> iemgui_all_loadcolors_p = &iemgui_all_loadcolors
>
> Now [mknob] is finally working again for me - thanks to Antoine and
> IOhannes!!!.
>
> My question is now: Should I upload my Windows binaries to deken, with a
> notice that it only works for Pd >= 47
> OR shall we wait for a solution which works for both old and new versions
> of Pd?
>
> Christof
>
>
> > Gesendet: Sonntag, 02. Oktober 2016 um 21:12 Uhr
> > Von: "Christof Ressi" 
> > An: Pd-List 
> > Betreff: [PD] knob (again)
> >
> > Hi list,
> >
> > are there any people who can help to make [mknob] (and [knob]) build on
> windows? Here's the issue:
> > https://github.com/MetaluNet/moonlib/issues/4
> >
> > Is [mknob] at least working on OSX and linux?
> >
> > Right know I'm working on a new project and I need knob GUIs. I managed
> to hack something together with data structures, but I'd prefer to use good
> old [knob] or [mknob]. Knobs have been used in quite a lot of projects and
> it's shame that they won't work on recent versions of Pd right know. I can
> try myself to repair it (since we know the cause and possible solutions)
> but my C skills are not exactly amazing. Maybe we can join forces to repair
> these objects?
> >
> > Christof
> >
> >
> >
> >
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
> >
>



-- 
Antoine Rousseau
  http://www.metalu.net  __
http://www.metaluachahuter.com/

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