Re: How to compile, debug and install a plugin?
Matthias Ringwald <[email protected]>
| Newsgroups | gmane.comp.video.xine.user |
|---|---|
| Message-ID | <[email protected]> |
hi joerg never having added/developed a plugin so far, I can image what you might do to get in touch with the autotools. first, compile and install xine using the latest src distribution. then, try to re-create stuff using the autotools. use the automake used in the project (hint... check a Makefile.in to see which particular version was used). Makefile.am describes what objects/ libraries are build in each directory. to add a new plug-in you can copy the lines from a simliar plugin (e.g. the input_file.c) and adapt the names. try to follow the naming conventions used. now. try updating Makefile.in and the compile again to see if the duplicate can be compiled. now.. you can start developing you plug-in. to install, just call make install in the folder where it was compiled. that's rough, but should outline some ideas on how to go forward. for debugging output, see the hacking guide on the xine site. and there's always gdb to use - find some tutorial on the net on how to use this debugger. cheers matthias On 10.04.2008, at 13:56, Joerg Hohensohn wrote: > Hi, I'm new to this, forgive me if this is a FAQ or clearly > documented somewhere. > > I'm facing the task to develop an input plugin to start with, > perhaps later a demux plugin and a video post plugin. For the time > being, this input plugin should read from a pipe instead of a file, > will probably be very similar to input_file.c except for no seek > capability. > > My question now is how do I compile and debug a plugin (under > Linux), how do I install this new plugin? I'm not familiar with > automake and friends yet, used to develop on other platforms. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone