Re: [PD-dev] nightly builds for standalone libraries

2009-10-08 Thread Hans-Christoph Steiner


How stable are the opencv objects?  Do you think the API will still  
change?  It would be nice to have them included in Pd-extended, but  
doing it too soon creates a lot of annoying work.


.hc

On Oct 6, 2009, at 11:57 AM, ydego...@free.fr wrote:


pdp_opencv and pix_opencv have the autotools working


Hans-Christoph Steiner wrote:


So far I've been working on an autotools build system for pd  
itself, not libraries. I haven't used autotools in libraries, so I  
don't really know what a template would look like. I guess  
pdvjtools would be a good library to test out those ideas.


.hc

On Oct 6, 2009, at 10:11 AM, dmotd wrote:


hans,

as an aside, what progress are you
making on an automake template, do you
have something that could be easily
reapplied to various situations for pd
libs?

there seem to be a few strategies, the
iem builders (iem16/iemmatrix/zexy) for
one, bryan jurish's moocow builders and
a set made by tim blechmann (used with
flext).

i still need to spend some time with the
docs before i get into autotools
propper. and any info would be useful.

cheers,
dmotd








Programs should be written for people to read, and only  
incidentally for machines to execute.

- from Structure and Interpretation of Computer Programs


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev












Free software means you control what your computer does. Non-free  
software means someone else controls that, and to some extent controls  
you. - Richard M. Stallman




___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] nightly builds for standalone libraries

2009-10-08 Thread Hans-Christoph Steiner


I'm not likely to use them in a project any time soon, but with this  
Mac OS X release, I can give them to my students who are playing with  
computer vision.


About stability, I mostly mean the API rather than crashing, etc.

.hc

On Oct 8, 2009, at 1:51 PM, ydego...@free.fr wrote:


after the one week workshop,
i can say they are very stable,
maybe still a few problems on OSX,
as we don't test so much there,
maybe you could help?

Hans-Christoph Steiner wrote:


How stable are the opencv objects? Do you think the API will still  
change? It would be nice to have them included in Pd-extended, but  
doing it too soon creates a lot of annoying work.


.hc

On Oct 6, 2009, at 11:57 AM, ydego...@free.fr wrote:


pdp_opencv and pix_opencv have the autotools working


Hans-Christoph Steiner wrote:


So far I've been working on an autotools build system for pd  
itself, not libraries. I haven't used autotools in libraries, so  
I don't really know what a template would look like. I guess  
pdvjtools would be a good library to test out those ideas.


.hc

On Oct 6, 2009, at 10:11 AM, dmotd wrote:


hans,

as an aside, what progress are you
making on an automake template, do you
have something that could be easily
reapplied to various situations for pd
libs?

there seem to be a few strategies, the
iem builders (iem16/iemmatrix/zexy) for
one, bryan jurish's moocow builders and
a set made by tim blechmann (used with
flext).

i still need to spend some time with the
docs before i get into autotools
propper. and any info would be useful.

cheers,
dmotd








Programs should be written for people to read, and only  
incidentally for machines to execute.

- from Structure and Interpretation of Computer Programs


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev












Free software means you control what your computer does. Non-free  
software means someone else controls that, and to some extent  
controls you. - Richard M. Stallman




___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev












Programs should be written for people to read, and only incidentally  
for machines to execute.

 - from Structure and Interpretation of Computer Programs


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] nightly builds for standalone libraries

2009-10-07 Thread dmotd
ydego...@free.fr wrote:
 pdp_opencv and pix_opencv have the autotools working

thanks yves, i'll look into your work
too. 

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] nightly builds for standalone libraries

2009-10-06 Thread dmotd
hi hans, 

yup this is a great idea and a feature of 
the template that i've already integrated into my 
revised buildsys

a few questions:

does autotools have a 'make dist' feature by
default?

what is it that you want to package - the source
with the binaries? or just the objects/help as they
would be installed?

is the path of the package 'extra/mylib' or just
'mylib', or something more specific?

is a true nightly build really necessary as most
of the libs in the repository don't get that much
regular attention. would it be better to autobuild
when theres been an actaul revision in the working
folder or change to an object dependency?

should the libs be zipped in win32, dmg'd on osx and 
tar'gz/bz for linux? or do you have other conditions?

cheers,
dmotd

Hans-Christoph Steiner wrote:

 I think it would be super useful to have nightly builds for standalone  
 libs, not only Pd-extended.  I think the easiest way to handle this  
 would be to have make dist be the interface.  Basically have a script 
 that has a listing of the libraries to build, then it would run thru them 
 and make dist then post the result.

 Here are the ground rules as I see them for making a workable system:

 - a script in scripts/autobuild that has the list of libs to built
 - look in a folder named the same as the library in externals (i.e.  
 externals/mylibrary)
 - if exists, call ./configure in that folder
 - call  make dist in that folder
 - then uploads the resulting tarball, also named like the lib  
 (mylibrary-0.1.tar.bz2)

 Allowing too many special cases will make things ugly fast, so I think  
 it makes sense to follow the autotools standard layout.

 .hc

 

 All information should be free.  - the hacker ethic





 ___
 Pd-dev mailing list
 Pd-dev@iem.at
 http://lists.puredata.info/listinfo/pd-dev

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] nightly builds for standalone libraries

2009-10-06 Thread dmotd
hans,

as an aside, what progress are you
making on an automake template, do you
have something that could be easily
reapplied to various situations for pd
libs?

there seem to be a few strategies, the
iem builders (iem16/iemmatrix/zexy) for
one, bryan jurish's moocow builders and
a set made by tim blechmann (used with
flext).

i still need to spend some time with the
docs before i get into autotools
propper. and any info would be useful.

cheers,
dmotd

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] nightly builds for standalone libraries

2009-10-06 Thread Hans-Christoph Steiner


So far I've been working on an autotools build system for pd itself,  
not libraries.  I haven't used autotools in libraries, so I don't  
really know what a template would look like.  I guess pdvjtools would  
be a good library to test out those ideas.


.hc

On Oct 6, 2009, at 10:11 AM, dmotd wrote:


hans,

as an aside, what progress are you
making on an automake template, do you
have something that could be easily
reapplied to various situations for pd
libs?

there seem to be a few strategies, the
iem builders (iem16/iemmatrix/zexy) for
one, bryan jurish's moocow builders and
a set made by tim blechmann (used with
flext).

i still need to spend some time with the
docs before i get into autotools
propper. and any info would be useful.

cheers,
dmotd








Programs should be written for people to read, and only incidentally  
for machines to execute.

 - from Structure and Interpretation of Computer Programs


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] nightly builds for standalone libraries

2009-10-06 Thread Hans-Christoph Steiner


On Oct 6, 2009, at 7:50 AM, dmotd wrote:


hi hans,

yup this is a great idea and a feature of
the template that i've already integrated into my
revised buildsys

a few questions:

does autotools have a 'make dist' feature by
default?


If you use automake, then yes.


what is it that you want to package - the source
with the binaries? or just the objects/help as they
would be installed?


Whatever makes sense, certainly binaries, help patches, abstractions,  
maybe source files too?  I don't have a clear plan, I just wanted to  
get the conversation started.



is the path of the package 'extra/mylib' or just
'mylib', or something more specific?


The library is contained in a folder called 'mylib', but it could be  
installed anywhere in the path, preferrably in one of these folders:

http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files-with-pd-extended


is a true nightly build really necessary as most
of the libs in the repository don't get that much
regular attention. would it be better to autobuild
when theres been an actaul revision in the working
folder or change to an object dependency?


Perhaps the think to do is to setup buildbot, and have it 'make dist'  
whenever there is a change.  I think the key part is having an easy  
way for people to get their code built on all platforms.



should the libs be zipped in win32, dmg'd on osx and
tar'gz/bz for linux? or do you have other conditions?


I think its fine just to .zip or .tar.gz on all platforms.  .dmg only  
seems necessary for the .app.   .zip is supported everywhere and there  
are no longer any patent problems IIRC.


.hc



cheers,
dmotd

Hans-Christoph Steiner wrote:


I think it would be super useful to have nightly builds for  
standalone

libs, not only Pd-extended.  I think the easiest way to handle this
would be to have make dist be the interface.  Basically have a  
script
that has a listing of the libraries to build, then it would run  
thru them

and make dist then post the result.

Here are the ground rules as I see them for making a workable system:

- a script in scripts/autobuild that has the list of libs to built
- look in a folder named the same as the library in externals (i.e.
externals/mylibrary)
- if exists, call ./configure in that folder
- call  make dist in that folder
- then uploads the resulting tarball, also named like the lib
(mylibrary-0.1.tar.bz2)

Allowing too many special cases will make things ugly fast, so I  
think

it makes sense to follow the autotools standard layout.

.hc



All information should be free.  - the hacker ethic





___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev






Information wants to be free.-Stewart Brand



___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] nightly builds for standalone libraries

2009-10-05 Thread Hans-Christoph Steiner


I think it would be super useful to have nightly builds for standalone  
libs, not only Pd-extended.  I think the easiest way to handle this  
would be to have make dist be the interface.  Basically have a  
script that has a listing of the libraries to build, then it would run  
thru them and make dist then post the result.


Here are the ground rules as I see them for making a workable system:

- a script in scripts/autobuild that has the list of libs to built
- look in a folder named the same as the library in externals (i.e.  
externals/mylibrary)

- if exists, call ./configure in that folder
- call  make dist in that folder
- then uploads the resulting tarball, also named like the lib  
(mylibrary-0.1.tar.bz2)


Allowing too many special cases will make things ugly fast, so I think  
it makes sense to follow the autotools standard layout.


.hc



All information should be free.  - the hacker ethic





___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev