Re: How to compile, debug and install a plugin?

Darren Salt <[email protected]>
Newsgroups gmane.comp.video.xine.user
Message-ID <4F9370B3D0%[email protected]>
I demand that Matthias Ringwald may or may not have top-posted...

> 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.

That's unlikely to be worth doing, except as an exercise in writing a plugin.
The file input plugin disables seeking if the input is not a normal file.

>> 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.

> 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.

Actually, since you're developing stuff, cloning one of the repositories
would be better. (1.1 should be fine, but 1.2 may be a better choice.)

> 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).

1.10 for the most recent releases, but if you're using a cloned repository
then whatever you have installed should be fine (try to use 1.8 or later,
though).

[snip]
-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Use more efficient products. Use less.          BE MORE ENERGY EFFICIENT.

There will be big changes for you but you will be happy.

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.