[mythtv] [PATCH] lcdproc CVS compatibility

Chase Douglas cndougla at purdue.edu
Tue Apr 19 02:23:55 UTC 2005


This patch affects lcddevice.cpp and lcddevice.h in libs/libmyth. The patch
allows for compatibility with lcdproc CVS version 0.5, while maintaining
compatibility with the current stable release of lcdproc. This is needed because
the hd44780 display often becomes corrupted and unusable in the current stable
version of lcdproc. This is fixed in the CVS version, along with support for the
filled block character.

The patch has been tested with lcdproc-0.4.5 and lcdproc-CVS-20050418 with the
curses and hd44780 displays.

The CVS version of lcdproc has two differences from the 0.4.x versions. The
first is that the priority meaning has changed. In 0.4.x, the screen with the
lowest priority number is displayed. In CVS, the screen with the highest
priority number is displayed. In 0.4.x, to remove the heartbeat the following
command is issued: "widget_del <screen> heartbeat". In CVS, to remove the
heartbeat the following command is issued: "screen_set <screen> heartbeat off".

The patch detects which version of lcdproc is being used. If 0.4.x is used, the
original calls are left untouched. If anything else is used, the commands are
switched to the CVS versions of the commands as described above.

Thank you,
Chase Douglas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lcddevice.cpp.diff
Type: text/x-patch
Size: 8396 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050418/18024c88/lcddevice.cpp.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lcddevice.h.diff
Type: text/x-patch
Size: 502 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050418/18024c88/lcddevice.h.bin


More information about the mythtv-dev mailing list