Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: [PATCH] softdevice-0.0.5 for vdr-1.3.7



On Tue, 18 May 2004 14:39:02 +0300
Vadim Catana <vcatana@registru.md> wrote:

> Stefan Lucke wrote:

> > Some days ago I contacted Roland about his plans for softdecive
> > and asked if I should release a new version of softdevice.
> > He replied and agreed that due to his time constraints, I should do
> > that.
> > 
> > So vdr-1.3.7 kicked me at the wrong time ;-( .
> > Could you prepare a patch based on softdevice-0.0.5 + xv-patch08 so
> > that it compiles with vdr-1.2.x and 1.3.7 ?
> 
> I can prepare a patch based on softdevice-0.0.5+xv-patch08,
> but it will not compile with vdr < 1.3.7. There are too many
> changes, it will be easier to have a different plugin for
> older versions of vdr. I will send it tomorow.

You can use prepocessor directives to achieve backward compatibility, at
least for a couple of new releases and then drop support for older vdr
in a later release. There are many people that use 1.2.6, yet. 

Consider a thing like that:

#if VDRVERSNUM >= 10307
newcode here
#else
oldcode here
#endif

I'll do that in the new version of prefermenu plugin, at least for now
:)

Bye,
   ANgelus.


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index