Re: [vdr] Applying dxr3 subtitles patch to debian packages

2010-01-26 Thread Anssi Hannula
On tiistai, 26. tammikuuta 2010 20:04:28 Ville Skyttä wrote:
> On Tuesday 26 January 2010, Emyr Thomas wrote:
> > My question is, given the way I've installed VDR, what's the
> > best/easiest way for me to apply this patch? Do I have to compile VDR
> > from source myself, or can I somehow modify the debian VDR package
> > sources on my machine and build them with this patch applied?
> 
> I'm not familiar with Debian packaging, but I suppose the latter would be
> possible, and perhaps the maintainers of your Debian VDR package would
> consider including the patch in the package's source tree as an optional
> one so it'd be easier for people who want to rebuild it.  (Or even just
> apply it unconditionally by default, that's what we've done in Fedora for
> a long time and there have been no complaints.)

It forces reduced 2-bit mode in subtitles, not a nice thing to do if you
have hardware capable of displaying the original subtitles :/

In Mandriva we have a hack allowing the device plugin to force 2-bit mode:
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/vdr-plugin-dxr3/current/SOURCES/dxr3-subtitles.patch?revision=197607&view=markup
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/vdr/current/SOURCES/vdr-1.6.0-dxr3.patch?revision=197494&view=markup

-- 
Anssi Hannula

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Applying dxr3 subtitles patch to debian packages

2010-01-26 Thread Paul Menzel
Am Dienstag, den 26.01.2010, 13:00 + schrieb Emyr Thomas:

[…]

> My question is, given the way I've installed VDR, what's the
> best/easiest way for me to apply this patch? Do I have to compile VDR
> from source myself, or can I somehow modify the debian VDR package
> sources on my machine and build them with this patch applied?

Please search for `dpkg-buildpackage` on the WWW. It should work the
following way (from memory and not tested).

$ apt-get source vdr # name of your VDR package
$ cd vdr-1.6… # directory with the sources should be vdr-versionnumber
$ # apply the patch
$ dch -v1.6.0-1-patched1 Unoffial release with dxr3 subtitles patch # 
adapt version accordingly, dch from devscripts package, `man dch` for questions
$ dpkg-buildpackage -us -uc
$ sudo dpkg -i ../vdr*.deb # Choose the correct packages.


Thanks,

Paul


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Applying dxr3 subtitles patch to debian packages

2010-01-26 Thread Ville Skyttä
On Tuesday 26 January 2010, Emyr Thomas wrote:

> My question is, given the way I've installed VDR, what's the
> best/easiest way for me to apply this patch? Do I have to compile VDR
> from source myself, or can I somehow modify the debian VDR package
> sources on my machine and build them with this patch applied?

I'm not familiar with Debian packaging, but I suppose the latter would be 
possible, and perhaps the maintainers of your Debian VDR package would 
consider including the patch in the package's source tree as an optional one 
so it'd be easier for people who want to rebuild it.  (Or even just apply it 
unconditionally by default, that's what we've done in Fedora for a long time 
and there have been no complaints.)

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr