I've built a Debian (Lenny) based VDR machine. I installed VDR from the Debian VDR and DVB Packaging Project[1] following the instructions described here: http://www.linuxtv.org/vdrwiki/index.php/DEBIAN_Compiling_VDR_Source_Package...
I had some problems with the packaged dxr3 drivers and plugin, so I manually compiled and installed the dxr3 drivers[2] (version 0.18.0) and the VDR dxr3 plugin[3] (version 0.2.10). Everything is working very well so far except for subtitles - I get tearing and corruption when they are displayed. I know subtitles have a problematic history on the dxr3 device, but I noticed in the VDR dxr3 plugin sources there is a patch for VDR to fix this[4].
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?
Apologies if I'm not making much sense, I'm fairly new to this.
Thanks for your help!
--Emyr
[1] http://pkg-vdr-dvb.alioth.debian.org/ [2] http://dxr3.sourceforge.net/ [3] http://sourceforge.net/projects/dxr3plugin/ [4] http://projects.vdr-developer.org/repositories/changes/plg-dxr3/patches/vdr-...
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.)
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/c... http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/vdr/current/SOURC...
Am Dienstag, den 26.01.2010, 13:00 +0000 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