@@ -53,91 +53,6 @@
server/drivers/serdisplib.c | 379 ++++++++++++++++++++++++++++
6 files changed, 1220 insertions(+), 4 deletions(-)
-Index: lcdproc-0.5.3/acinclude.m4
-===================================================================
---- lcdproc-0.5.3.orig/acinclude.m4
-+++ lcdproc-0.5.3/acinclude.m4
-@@ -13,13 +13,13 @@ AC_ARG_ENABLE(drivers,
- [ IOWarrior,irman,irtrans,joy,lb216,lcdm001,lcterm,lirc,lis,]
- [ MD8800,ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,picolcd,]
- [ pyramid,sed1330,sed1520,serialPOS,serialVFD,shuttleVFD,sli,]
-- [ stv5730,svga,t6963,text,tyan,ula200,xosd]
-+ [ stv5730,svga,t6963,text,tyan,ula200,serdisplib,xosd]
- [ 'all' compiles all drivers;]
- [ 'all,!xxx,!yyy' de-selects previously selected drivers],
- drivers="$enableval",
- drivers=[bayrad,CFontz,CFontz633,curses,CwLnx,glk,lb216,lcdm001,MtxOrb,pyramid,text])
-
--allDrivers=[bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,ea65,EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,icp_a106,imon,imonlcd,IOWarrior,irman,irtrans,joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,picolcd,pyramid,sed1330,sed1520,serialPOS,serialVFD,shuttleVFD,sli,stv5730,svga,t6963,text,tyan,ula200,xosd]
-+allDrivers=[bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,ea65,EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,icp_a106,imon,imonlcd,IOWarrior,irman,irtrans,joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,picolcd,pyramid,sed1330,sed1520,serialPOS,serialVFD,shuttleVFD,sli,stv5730,svga,t6963,text,tyan,ula200,xosd,serdisplib]
-
- drivers=`echo $drivers | sed -e 's/,/ /g'`
-
-@@ -445,6 +445,29 @@ dnl else
- AC_MSG_WARN([The ula200 driver needs the ftdi library])
- fi
- ;;
-+ serdisplib)
-+ LIBFREETYPE_CFLAGS=`pkg-config --cflags freetype2`
-+ LIBFREETYPE_LIBS=`pkg-config --libs freetype2`
-+ if test x"$LIBFREETYPE_CFLAGS" = "x" ; then
-+ AC_MSG_WARN([The serdisplib driver needs freetype2])
-+ fi
-+
-+ AC_CHECK_HEADERS([serdisplib/serdisp.h],[
-+ AC_CHECK_LIB(serdisp, serdisp_nextdisplaydescription,[
-+ LIBSERDISP="-lserdisp"
-+ DRIVERS="$DRIVERS serdisplib${SO}"
-+ actdrivers=["$actdrivers serdisplib"]
-+ ],[
-+ AC_MSG_WARN([The serdisplib driver needs serdisplib])
-+ ])
-+ ],[
-+ AC_MSG_WARN([The serdisplib driver needs serdislib/serdisp.h])
-+ ])
-+
-+ AC_SUBST(LIBFREETYPE_CFLAGS)
-+ AC_SUBST(LIBFREETYPE_LIBS)
-+ AC_SUBST(LIBSERDISP)
-+ ;;
- xosd)
- AC_CHECK_HEADERS([xosd.h],[
- AC_CHECK_LIB(xosd, main,[
-Index: lcdproc-0.5.3/server/drivers/Makefile.am
-===================================================================
---- lcdproc-0.5.3.orig/server/drivers/Makefile.am
-+++ lcdproc-0.5.3/server/drivers/Makefile.am
-@@ -19,12 +19,13 @@ AM_LDFLAGS = @LDSHARED@
- #LIBS =
-
- pkglib_PROGRAMS = @DRIVERS@
--EXTRA_PROGRAMS = bayrad CFontz CFontz633 CFontzPacket curses CwLnx ea65 EyeboxOne g15 glcdlib glk hd44780 icp_a106 imon imonlcd IOWarrior irman joy lb216 lcdm001 lcterm lirc lis MD8800 ms6931 mtc_s16209x MtxOrb mx5000 NoritakeVFD picolcd pyramid sed1330 sed1520 serialPOS serialVFD shuttleVFD stv5730 svga t6963 text tyan sli ula200 xosd i2500vfd irtrans
-+EXTRA_PROGRAMS = bayrad CFontz CFontz633 CFontzPacket curses CwLnx ea65 EyeboxOne g15 glcdlib glk hd44780 icp_a106 imon imonlcd IOWarrior irman joy lb216 lcdm001 lcterm lirc lis MD8800 ms6931 mtc_s16209x MtxOrb mx5000 NoritakeVFD picolcd pyramid sed1330 sed1520 serialPOS serialVFD shuttleVFD stv5730 svga t6963 text tyan sli ula200 serdisplib xosd i2500vfd irtrans
- noinst_LIBRARIES = libLCD.a libbignum.a
-
- IOWarrior_CFLAGS = @LIBUSB_CFLAGS@ $(AM_CFLAGS)
- hd44780_CFLAGS = @LIBUSB_CFLAGS@ @LIBFTDI_CFLAGS@ $(AM_CFLAGS)
- g15_CFLAGS = @LIBUSB_CFLAGS@ $(AM_CFLAGS)
-+ serdisplib_CFLAGS = @LIBFREETYPE_CFLAGS@ $(AM_CFLAGS)
- lis_CFLAGS = @LIBUSB_CFLAGS@ @LIBFTDI_CFLAGS@ $(AM_CFLAGS)
- picolcd_CFLAGS = @LIBUSB_CFLAGS@ $(AM_CFLAGS)
- shuttleVFD_CFLAGS = @LIBUSB_CFLAGS@ $(AM_CFLAGS)
-@@ -37,6 +38,7 @@ CFontzPacket_LDADD = libLCD.a libbignum.
- curses_LDADD = @LIBCURSES@
- CwLnx_LDADD = libLCD.a libbignum.a
- g15_LDADD = libLCD.a @LIBG15@
-+serdisplib_LDADD = libLCD.a @LIBSERDISP@ @LIBFREETYPE_LIBS@
- glcdlib_LDADD = libLCD.a @LIBGLCD@
- hd44780_LDADD = libLCD.a @HD44780_DRIVERS@ @LIBUSB_LIBS@ @LIBFTDI_LIBS@ libbignum.a
- hd44780_DEPENDENCIES = @HD44780_DRIVERS@
-@@ -113,6 +115,7 @@ t6963_SOURCES = lcd.h lcd_lib.h t69
- text_SOURCES = lcd.h text.h text.c report.h
- tyan_SOURCES = lcd.h lcd_lib.h tyan_lcdm.h tyan_lcdm.c report.h adv_bignum.h
- ula200_SOURCES = lcd.h lcd_lib.h ula200.h ula200.c report.h
-+serdisplib_SOURCES = lcd.h serdisplib.h serdisplib.c lcdgraphic.c lcdgraphic.h
- sli_SOURCES = lcd.h lcd_lib.h wirz-sli.h wirz-sli.c report.h
- xosd_SOURCES = lcd.h xosdlib_drv.c xosdlib_drv.h report.h adv_bignum.h
- i2500vfd_SOURCES = lcd.h i2500vfd.c i2500vfd.h i2500vfdfm.c i2500vfdfm.h report.h
Index: lcdproc-0.5.3/server/drivers/lcdgraphic.c
===================================================================
--- /dev/null
@@ -1360,3 +1275,83 @@
## Wirz SLI LCD driver ##
+--- lcdproc-0.5.4/acinclude.m4.orig 2010-12-27 14:32:55.000000000 +0100
++++ lcdproc-0.5.4/acinclude.m4 2011-03-27 20:35:46.607175401 +0200
+@@ -15,14 +15,14 @@
+ [ ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,]
+ [ picolcd,pyramid,sed1330,sed1520,serialPOS,]
+ [ serialVFD,shuttleVFD,sli,stv5730,SureElec,svga,]
+- [ t6963,text,tyan,ula200,xosd]
++ [ t6963,text,tyan,ula200,serdisplib,xosd]
+ [ ]
+ [ 'all' compiles all drivers;]
+ [ 'all,!xxx,!yyy' de-selects previously selected drivers],
+ drivers="$enableval",
+ drivers=[bayrad,CFontz,CFontz633,curses,CwLnx,glk,lb216,lcdm001,MtxOrb,pyramid,text])
+
+-allDrivers=[bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,ea65,EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,icp_a106,imon,imonlcd,IOWarrior,irman,irtrans,joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,mdm166a,ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,picolcd,pyramid,sed1330,sed1520,serialPOS,serialVFD,shuttleVFD,sli,stv5730,SureElec,svga,t6963,text,tyan,ula200,xosd]
++allDrivers=[bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,ea65,EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,icp_a106,imon,imonlcd,IOWarrior,irman,irtrans,joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,mdm166a,ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,picolcd,pyramid,sed1330,sed1520,serialPOS,serialVFD,shuttleVFD,sli,stv5730,SureElec,svga,t6963,text,tyan,ula200,xosd,serdisplib]
+ if test "$debug" = yes; then
+ allDrivers=["${allDrivers},debug"]
+ fi
+@@ -465,6 +465,29 @@
+ AC_MSG_WARN([The ula200 driver needs the ftdi library])
+ fi
+ ;;
++ serdisplib)
++ LIBFREETYPE_CFLAGS=`pkg-config --cflags freetype2`
++ LIBFREETYPE_LIBS=`pkg-config --libs freetype2`
++ if test x"$LIBFREETYPE_CFLAGS" = "x" ; then
++ AC_MSG_WARN([The serdisplib driver needs freetype2])
++ fi
++
++ AC_CHECK_HEADERS([serdisplib/serdisp.h],[
++ AC_CHECK_LIB(serdisp, serdisp_nextdisplaydescription,[
++ LIBSERDISP="-lserdisp"
++ DRIVERS="$DRIVERS serdisplib${SO}"
++ actdrivers=["$actdrivers serdisplib"]
++ ],[
++ AC_MSG_WARN([The serdisplib driver needs serdisplib])
++ ])
++ ],[
++ AC_MSG_WARN([The serdisplib driver needs serdislib/serdisp.h])
++ ])
++
++ AC_SUBST(LIBFREETYPE_CFLAGS)
++ AC_SUBST(LIBFREETYPE_LIBS)
++ AC_SUBST(LIBSERDISP)
++ ;;
+ xosd)
+ AC_CHECK_HEADERS([xosd.h],[
+ AC_CHECK_LIB(xosd, main,[
+--- lcdproc-0.5.4/server/drivers/Makefile.am.orig 2010-12-27 14:32:57.000000000 +0100
++++ lcdproc-0.5.4/server/drivers/Makefile.am 2011-03-27 20:39:30.706475057 +0200
+@@ -21,10 +21,11 @@
+ ## Keep the lists sorted!
+
+ pkglib_PROGRAMS = @DRIVERS@
+-EXTRA_PROGRAMS = bayrad CFontz CFontz633 CFontzPacket curses debug CwLnx ea65 EyeboxOne g15 glcdlib glk hd44780 icp_a106 imon imonlcd IOWarrior irman joy lb216 lcdm001 lcterm lirc lis MD8800 mdm166a ms6931 mtc_s16209x MtxOrb mx5000 NoritakeVFD picolcd pyramid sed1330 sed1520 serialPOS serialVFD shuttleVFD stv5730 SureElec svga t6963 text tyan sli ula200 xosd i2500vfd irtrans
++EXTRA_PROGRAMS = bayrad CFontz CFontz633 CFontzPacket curses debug CwLnx ea65 EyeboxOne g15 glcdlib glk hd44780 icp_a106 imon imonlcd IOWarrior irman joy lb216 lcdm001 lcterm lirc lis MD8800 mdm166a ms6931 mtc_s16209x MtxOrb mx5000 NoritakeVFD picolcd pyramid sed1330 sed1520 serialPOS serialVFD shuttleVFD stv5730 SureElec svga t6963 text tyan sli ula200 serdisplib xosd i2500vfd irtrans
+ noinst_LIBRARIES = libLCD.a libbignum.a
+
+ g15_CFLAGS = @LIBUSB_CFLAGS@ $(AM_CFLAGS)
++serdisplib_CFLAGS = @LIBFREETYPE_CFLAGS@ $(AM_CFLAGS)
+ hd44780_CFLAGS = @LIBUSB_CFLAGS@ @LIBFTDI_CFLAGS@ $(AM_CFLAGS)
+ i2500vfd_CFLAGS = @LIBFTDI_CFLAGS@ $(AM_CFLAGS)
+ IOWarrior_CFLAGS = @LIBUSB_CFLAGS@ $(AM_CFLAGS)
+@@ -41,6 +42,7 @@
+ curses_LDADD = @LIBCURSES@
+ CwLnx_LDADD = libLCD.a libbignum.a
+ g15_LDADD = @LIBG15@
++serdisplib_LDADD = libLCD.a @LIBSERDISP@ @LIBFREETYPE_LIBS@
+ glcdlib_LDADD = @LIBGLCD@
+ glk_LDADD = libbignum.a
+ hd44780_LDADD = libLCD.a @HD44780_DRIVERS@ @LIBUSB_LIBS@ @LIBFTDI_LIBS@ libbignum.a
+@@ -123,6 +125,7 @@
+ text_SOURCES = lcd.h text.h text.c report.h
+ tyan_SOURCES = lcd.h lcd_lib.h tyan_lcdm.h tyan_lcdm.c report.h adv_bignum.h
+ ula200_SOURCES = lcd.h lcd_lib.h ula200.h ula200.c report.h
++serdisplib_SOURCES = lcd.h serdisplib.h serdisplib.c lcdgraphic.c lcdgraphic.h
+ xosd_SOURCES = lcd.h xosdlib_drv.c xosdlib_drv.h report.h adv_bignum.h
+
+ AM_CPPFLAGS = -I$(top_srcdir)
|