Skip to content

Commit 2115210

Browse files
author
reinelt
committed
[lcd4linux @ 2004-05-26 11:37:35 by reinelt]
Curses driver ported. git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@436 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
1 parent 6d265a4 commit 2115210

21 files changed

+409
-361
lines changed

Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ drv_generic_parport.c \
5959
drv_generic_parport.h \
6060
BeckmannEgle.c \
6161
drv_Crystalfontz.c \
62+
drv_Curses.c \
6263
drv_Cwlinux.c \
6364
drv_HD44780.c \
6465
drv_Image.c \
@@ -68,7 +69,7 @@ drv_MilfordInstruments.c \
6869
drv_T6963.c \
6970
drv_USBLCD.c \
7071
drv_X11.c \
71-
Text.c \
72+
\
7273
font_6x8.h \
7374
\
7475
plugin_apm.c \

Makefile.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ lcd4linux_SOURCES = lcd4linux.c cfg.c cfg.h deb
101101

102102
#liblcd4linux_la_SOURCES =
103103

104-
EXTRA_lcd4linux_SOURCES = drv_generic_text.c drv_generic_text.h drv_generic_graphic.c drv_generic_graphic.h drv_generic_serial.c drv_generic_serial.h drv_generic_parport.c drv_generic_parport.h BeckmannEgle.c drv_Crystalfontz.c drv_Cwlinux.c drv_HD44780.c drv_Image.c drv_M50530.c drv_MatrixOrbital.c drv_MilfordInstruments.c drv_T6963.c drv_USBLCD.c drv_X11.c Text.c font_6x8.h plugin_apm.c plugin_cpuinfo.c plugin_dvb.c plugin_exec.c plugin_i2c_sensors.c plugin_imon.c plugin_isdn.c plugin_loadavg.c plugin_meminfo.c plugin_mysql.c plugin_netdev.c plugin_pop3.c plugin_ppp.c plugin_proc_stat.c plugin_seti.c plugin_uname.c plugin_uptime.c plugin_wireless.c plugin_xmms.c
104+
EXTRA_lcd4linux_SOURCES = drv_generic_text.c drv_generic_text.h drv_generic_graphic.c drv_generic_graphic.h drv_generic_serial.c drv_generic_serial.h drv_generic_parport.c drv_generic_parport.h BeckmannEgle.c drv_Crystalfontz.c drv_Curses.c drv_Cwlinux.c drv_HD44780.c drv_Image.c drv_M50530.c drv_MatrixOrbital.c drv_MilfordInstruments.c drv_T6963.c drv_USBLCD.c drv_X11.c font_6x8.h plugin_apm.c plugin_cpuinfo.c plugin_dvb.c plugin_exec.c plugin_i2c_sensors.c plugin_imon.c plugin_isdn.c plugin_loadavg.c plugin_meminfo.c plugin_mysql.c plugin_netdev.c plugin_pop3.c plugin_ppp.c plugin_proc_stat.c plugin_seti.c plugin_uname.c plugin_uptime.c plugin_wireless.c plugin_xmms.c
105105

106106

107107
EXTRA_DIST = lcd4linux.conf.sample lcd4kde.conf lcd4linux.kdelnk lcd4linux.xpm lcd4linux.lsm curses.m4 AUTHORS CREDITS FAQ NEWS TODO README README.Drivers README.Plugins README.KDE plugin_sample.c
@@ -139,8 +139,8 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
139139

140140
TAR = tar
141141
GZIP_ENV = --best
142-
DEP_FILES = .deps/BeckmannEgle.P .deps/Text.P .deps/cfg.P .deps/debug.P \
143-
.deps/drv.P .deps/drv_Crystalfontz.P .deps/drv_Cwlinux.P \
142+
DEP_FILES = .deps/BeckmannEgle.P .deps/cfg.P .deps/debug.P .deps/drv.P \
143+
.deps/drv_Crystalfontz.P .deps/drv_Curses.P .deps/drv_Cwlinux.P \
144144
.deps/drv_HD44780.P .deps/drv_Image.P .deps/drv_M50530.P \
145145
.deps/drv_MatrixOrbital.P .deps/drv_MilfordInstruments.P \
146146
.deps/drv_T6963.P .deps/drv_USBLCD.P .deps/drv_X11.P \

Status

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Lcd4Linux NextGeneration porting status
33
DRIVERS : format : status (widgets) + extras [todo]
44
-------------------------------------------------------
55
Crystalfontz -> Ported (Text,Bar,Icon) + blacklight,contrast,pwm [gpo,rpm]
6+
Curses -> Ported (Text,Bar)
67
Cwlinux -> Ported (Text,Bar,Icon) + blacklight [gpo,gpi,inverted text,relay]
78
HD44780 -> Ported (Text,Bar,Icon) + soft brightness,'busy flag',gpo [soft contrast]
89
M50530 -> Ported (Text,Bar,Icon) + gpo
@@ -14,7 +15,6 @@ Lcd4Linux NextGeneration porting status
1415
Raster* -> Ported (Text,Bar,Icon)
1516

1617
BeckmannEgle ->
17-
Curses ->
1818

1919
PalmPilot -> Obsolete
2020
SIN -> Obsolete

Text.c

Lines changed: 0 additions & 297 deletions
This file was deleted.

config.h.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,9 @@
326326
/* Crystalfontz driver */
327327
#undef WITH_CRYSTALFONTZ
328328

329+
/* Curses driver */
330+
#undef WITH_CURSES
331+
329332
/* CwLinux driver */
330333
#undef WITH_CWLINUX
331334

@@ -353,9 +356,6 @@
353356
/* T6963 driver */
354357
#undef WITH_T6963
355358

356-
/* Curses driver */
357-
#undef WITH_TEXT
358-
359359
/* USBLCD driver */
360360
#undef WITH_USBLCD
361361

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5505,13 +5505,13 @@ fi
55055505
55065506
if test "$CURSES" = "yes"; then
55075507
if test "$has_curses" = true; then
5508-
# DRIVERS="$DRIVERS Text.lo"
5509-
# DRIVERS="$DRIVERS Text.o"
5508+
# DRIVERS="$DRIVERS drv_Curses.lo"
5509+
DRIVERS="$DRIVERS drv_Curses.o"
55105510
DRVLIBS="$DRVLIBS $CURSES_LIBS"
55115511
CPPFLAGS="$CPPFLAGS $CURSES_INCLUDES"
55125512
55135513
cat >>confdefs.h <<\_ACEOF
5514-
#define WITH_TEXT 1
5514+
#define WITH_CURSES 1
55155515
_ACEOF
55165516
55175517
else

0 commit comments

Comments
 (0)