GLCDprocDriver


lcdproc client on LCDproc's glcdlib driver

Introduction

GLCDprocDriver is the glue between the graphlcd-base library from the GraphLCD project, which is written in C++, and LCDproc's meta-driver glcdlib, which extends supported displays in LCDproc by those supported through graphlcd-base (just in text mode, of course).
GLCDprocDriver is actually implemented in C++, but provides the necessary wrapper C calls for use by LCDproc's glcdlib driver.
GLCDprocDriver is NOT intended to provide general C wrapping for the whole graphlcd-base library, as it really only implements the actual meta-driver for LCDproc.

The image above shows a 21x5 lcdproc client rendered on the graphlcd-base's image driver (FYI, this one creates PBM images in /tmp), which was configured at 256x128 pixel in /etc/graphlcd.conf.

Installation

On non-Gentoo systems:

  1. Get a fresh graphlcd-base, and optionally graphlcd-media (for fonts to play with), from the GraphLCD project. If you get version 0.1.6, make sure to apply these patches:
  2. If you want to actually use FreeType2 (recommended, if it's not too much trouble to have it installed), you should of course install it first, if not, comment HAVE_FREETYPE2 in Make.config. Compile & install graphlcd-base.
  3. Adjust the section for the driver(s) you want to use in /etc/graphlcd.conf after copying it there, according to your needs.
  4. From the downloads section below, get the GLCDprocDriver, compile & install.
  5. Get LCDproc-0.5.3 or a fresh LCDproc CVS checkout, or a LCDproc nightly tarball and configure it for the glcdlib driver, build & install as you normally would. Watch the output of the configure script, it will print a message if the glcdprocdriver headers or the library itself aren't detected, and LCDproc wouldn't be built with the glcdlib driver.
  6. Configure /etc/LCDd.conf:

On Gentoo systems:

As of 2006.10.08, the ebuild for glcdprocdriver is in the official portage tree, you should follow the instructions seen when emerging lcdproc. If the latest version is not yet available, you can download the ebuild from this site, along with the one for GraphLCD-base if portage does not yet provide a newer one.
After that, proceed with the configuration according to the non-gentoo instructions.

Downloads

Source archive glcdprocdriver-0.0.6.tar.bz2 (latest version, you might want to check the changelog).

Gentoo ebuild for app-misc/glcdprocdriver-0.0.6;
Gentoo ebuild for app-misc/graphlcd-base-0.1.6.20100408 (if needed).

Bugs

Credits

Many thanks to Joris Robijn, Peter Marschall, David Glaude, Rene Wagner, Volker Boerchers from the LCDproc team, Gustavo Barbieri from the Freevo team, Robert Buchholz and Markus Ullmann for getting the ebuilds into the official Gentoo portage tree and last but certainly not least Andreas Regel from GraphLCD.



Have fun and please report problems on the LCDproc mailing list.
© Lucian Muresan

First published: 2005.05.13
Last update: 2010.04.16.