packages/lcd4linux: split into 2 -custom & -full, various fixes:

* move all original package customization to a -custom pakage, DEVEL only
 * enable all (not broken) drivers & plugins in a -full package (closes: #7958, #9096)
 * ship upstream config file, defaulting to the "Image" driver
 * use new service functions in initscript

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28951 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2011-11-11 15:46:37 +00:00
parent 6ed746465c
commit acdc41b6f6
4 changed files with 345 additions and 1598 deletions

View File

@ -1,553 +1,449 @@
config LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER if PACKAGE_lcd4linux-custom
config LCD4LINUX_CUSTOM_NEEDS_libdbus
bool bool
config LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN #config LCD4LINUX_CUSTOM_NEEDS_libftdi
bool
config LCD4LINUX_NEEDS_libdbus
bool
select PACKAGE_libdbus
#config LCD4LINUX_NEEDS_libftdi
# bool # bool
# select PACKAGE_libftdi
config LCD4LINUX_NEEDS_libgd config LCD4LINUX_CUSTOM_NEEDS_libgd
bool bool
select PACKAGE_libgd
default y if !LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_NEEDS_libiconv config LCD4LINUX_CUSTOM_NEEDS_libiconv
bool bool
select PACKAGE_libiconv
config LCD4LINUX_NEEDS_libmysqlclient config LCD4LINUX_CUSTOM_NEEDS_libmpdclient
bool bool
select PACKAGE_libmysqlclient
config LCD4LINUX_NEEDS_libncurses config LCD4LINUX_CUSTOM_NEEDS_libmysqlclient
bool bool
select PACKAGE_libncurses
config LCD4LINUX_NEEDS_libnmeap config LCD4LINUX_CUSTOM_NEEDS_libncurses
bool bool
select PACKAGE_libnmeap
config LCD4LINUX_NEEDS_libsqlite3 config LCD4LINUX_CUSTOM_NEEDS_libnmeap
bool bool
select PACKAGE_libsqlite3
config LCD4LINUX_NEEDS_libusb config LCD4LINUX_CUSTOM_NEEDS_libsqlite3
bool bool
select PACKAGE_libusb
config LCD4LINUX_NEEDS_libvncserver config LCD4LINUX_CUSTOM_NEEDS_libusb
bool bool
select PACKAGE_libvncserver
#config LCD4LINUX_NEEDS_libX11 config LCD4LINUX_CUSTOM_NEEDS_libvncserver
bool
#config LCD4LINUX_CUSTOM_NEEDS_libX11
# bool # bool
# select PACKAGE_libX11
config LCD4LINUX_NEEDS_ppp config LCD4LINUX_CUSTOM_NEEDS_ppp
bool bool
select PACKAGE_ppp
config LCD4LINUX_NEEDS_python config LCD4LINUX_CUSTOM_NEEDS_python
bool bool
select PACKAGE_python
config LCD4LINUX_NEEDS_serdisplib config LCD4LINUX_CUSTOM_NEEDS_serdisplib
bool bool
select PACKAGE_serdisplib
config LCD4LINUX_NEEDS_st2205tool config LCD4LINUX_CUSTOM_NEEDS_st2205tool
bool bool
select PACKAGE_st2205tool
comment "LCD4Linux Drivers ---" comment "Drivers ---"
comment "WARNING: no drivers selected, the 'Sample' driver will be used !!!" config LCD4LINUX_CUSTOM_DRIVER_BeckmannEgle
depends !LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_BeckmannEgle
bool bool
prompt "BeckmannEgle" prompt "BeckmannEgle"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_BWCT config LCD4LINUX_CUSTOM_DRIVER_BWCT
bool bool
prompt "BWCT" prompt "BWCT"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_CrystalFontz config LCD4LINUX_CUSTOM_DRIVER_CrystalFontz
bool bool
prompt "CrystalFontz" prompt "CrystalFontz"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_Curses config LCD4LINUX_CUSTOM_DRIVER_Curses
bool bool
prompt "Curses" prompt "Curses"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libncurses
select LCD4LINUX_NEEDS_libncurses
config LCD4LINUX_DRV_Cwlinux config LCD4LINUX_CUSTOM_DRIVER_Cwlinux
bool bool
prompt "Cwlinux" prompt "Cwlinux"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_D4D config LCD4LINUX_CUSTOM_DRIVER_D4D
bool bool
prompt "D4D" prompt "D4D"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_EA232graphic config LCD4LINUX_CUSTOM_DRIVER_EA232graphic
bool bool
prompt "EA232graphic" prompt "EA232graphic"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd
config LCD4LINUX_DRV_G15 config LCD4LINUX_CUSTOM_DRIVER_G15
bool bool
prompt "G15" prompt "G15"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_GLCD2USB config LCD4LINUX_CUSTOM_DRIVER_GLCD2USB
bool bool
prompt "GLCD2USB" prompt "GLCD2USB"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_HD44780 config LCD4LINUX_CUSTOM_DRIVER_HD44780
bool bool
prompt "HD44780" prompt "HD44780"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
depends BROKEN depends BROKEN
config LCD4LINUX_DRV_HD44780-I2C config LCD4LINUX_CUSTOM_DRIVER_HD44780-I2C
bool bool
prompt "HD44780-I2C" prompt "HD44780-I2C"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
depends BROKEN depends BROKEN
config LCD4LINUX_DRV_IRLCD config LCD4LINUX_CUSTOM_DRIVER_IRLCD
bool bool
prompt "IRLCD" prompt "IRLCD"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_LCD2USB config LCD4LINUX_CUSTOM_DRIVER_LCD2USB
bool bool
prompt "LCD2USB" prompt "LCD2USB"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_LCDLinux config LCD4LINUX_CUSTOM_DRIVER_LCDLinux
bool bool
prompt "LCDLinux" prompt "LCDLinux"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
depends BROKEN depends BROKEN
config LCD4LINUX_DRV_LCDTerm config LCD4LINUX_CUSTOM_DRIVER_LCDTerm
bool bool
prompt "LCDTerm" prompt "LCDTerm"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_LEDMatrix config LCD4LINUX_CUSTOM_DRIVER_LEDMatrix
bool bool
prompt "LEDMatrix" prompt "LEDMatrix"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd
config LCD4LINUX_DRV_LPH7508 config LCD4LINUX_CUSTOM_DRIVER_LPH7508
bool bool
prompt "LPH7508" prompt "LPH7508"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd
config LCD4LINUX_DRV_LUIse config LCD4LINUX_CUSTOM_DRIVER_LUIse
bool bool
prompt "LUIse" prompt "LUIse"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd #select LCD4LINUX_CUSTOM_NEEDS_libluise
#select LCD4LINUX_NEEDS_libluise
depends BROKEN depends BROKEN
config LCD4LINUX_DRV_LW_ABP config LCD4LINUX_CUSTOM_DRIVER_LW_ABP
bool bool
prompt "LW_ABP" prompt "LW_ABP"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_M50530 config LCD4LINUX_CUSTOM_DRIVER_M50530
bool bool
prompt "M50530" prompt "M50530"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_MatrixOrbital config LCD4LINUX_CUSTOM_DRIVER_MatrixOrbital
bool bool
prompt "MatrixOrbital" prompt "MatrixOrbital"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_MatrixOrbitalGX config LCD4LINUX_CUSTOM_DRIVER_MatrixOrbitalGX
bool bool
prompt "MatrixOrbitalGX" prompt "MatrixOrbitalGX"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_MilfordInstruments config LCD4LINUX_CUSTOM_DRIVER_MilfordInstruments
bool bool
prompt "MilfordInstruments" prompt "MilfordInstruments"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_Newhaven config LCD4LINUX_CUSTOM_DRIVER_Newhaven
bool bool
prompt "Newhaven" prompt "Newhaven"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_Noritake config LCD4LINUX_CUSTOM_DRIVER_Noritake
bool bool
prompt "Noritake" prompt "Noritake"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd
config LCD4LINUX_DRV_NULL config LCD4LINUX_CUSTOM_DRIVER_NULL
bool bool
prompt "NULL" prompt "NULL"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
default y default y
config LCD4LINUX_DRV_Pertelian config LCD4LINUX_CUSTOM_DRIVER_Pertelian
bool bool
prompt "Pertelian" prompt "Pertelian"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_PHAnderson config LCD4LINUX_CUSTOM_DRIVER_PHAnderson
bool bool
prompt "PHAnderson" prompt "PHAnderson"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_PICGraphic config LCD4LINUX_CUSTOM_DRIVER_PICGraphic
bool bool
prompt "PICGraphic" prompt "PICGraphic"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd
config LCD4LINUX_DRV_picoLCD config LCD4LINUX_CUSTOM_DRIVER_picoLCD
bool bool
prompt "picoLCD" prompt "picoLCD"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_picoLCDGraphic config LCD4LINUX_CUSTOM_DRIVER_picoLCDGraphic
bool bool
prompt "picoLCDGraphic" prompt "picoLCDGraphic"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_PNG config LCD4LINUX_CUSTOM_DRIVER_PNG
bool bool
prompt "PNG" prompt "PNG"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd
config LCD4LINUX_DRV_PPM config LCD4LINUX_CUSTOM_DRIVER_PPM
bool bool
prompt "PPM" prompt "PPM"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd
config LCD4LINUX_DRV_RouterBoard config LCD4LINUX_CUSTOM_DRIVER_RouterBoard
bool bool
prompt "RouterBoard" prompt "RouterBoard"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
depends on TARGET_rb532 depends on TARGET_rb532
config LCD4LINUX_DRV_serdisplib config LCD4LINUX_CUSTOM_DRIVER_serdisplib
bool bool
prompt "serdisplib" prompt "serdisplib"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd select LCD4LINUX_CUSTOM_NEEDS_serdisplib
select LCD4LINUX_NEEDS_serdisplib
config LCD4LINUX_DRV_ShuttleVFD config LCD4LINUX_CUSTOM_DRIVER_ShuttleVFD
bool bool
prompt "ShuttleVFD" prompt "ShuttleVFD"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_SimpleLCD config LCD4LINUX_CUSTOM_DRIVER_SimpleLCD
bool bool
prompt "SimpleLCD" prompt "SimpleLCD"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
config LCD4LINUX_DRV_st2205 config LCD4LINUX_CUSTOM_DRIVER_st2205
bool bool
prompt "st2205" prompt "st2205"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd select LCD4LINUX_CUSTOM_NEEDS_st2205tool
select LCD4LINUX_NEEDS_st2205tool
config LCD4LINUX_DRV_T6963 config LCD4LINUX_CUSTOM_DRIVER_T6963
bool bool
prompt "T6963" prompt "T6963"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libgd
select LCD4LINUX_NEEDS_libgd
config LCD4LINUX_DRV_Trefon config LCD4LINUX_CUSTOM_DRIVER_Trefon
bool bool
prompt "Trefon" prompt "Trefon"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
#config LCD4LINUX_DRV_ULA200 #config LCD4LINUX_CUSTOM_DRIVER_ULA200
# bool # bool
# prompt "ULA200" # prompt "ULA200"
# select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER # select LCD4LINUX_CUSTOM_NEEDS_libftdi
# select LCD4LINUX_NEEDS_libftdi # select LCD4LINUX_CUSTOM_NEEDS_libusb
# select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_USBHUB config LCD4LINUX_CUSTOM_DRIVER_USBHUB
bool bool
prompt "USBHUB" prompt "USBHUB"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_USBLCD config LCD4LINUX_CUSTOM_DRIVER_USBLCD
bool bool
prompt "USBLCD" prompt "USBLCD"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libusb
select LCD4LINUX_NEEDS_libusb
config LCD4LINUX_DRV_VNC config LCD4LINUX_CUSTOM_DRIVER_VNC
bool bool
prompt "VNC" prompt "VNC"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER select LCD4LINUX_CUSTOM_NEEDS_libvncserver
select LCD4LINUX_NEEDS_libvncserver
config LCD4LINUX_DRV_WincorNixdorf config LCD4LINUX_CUSTOM_DRIVER_WincorNixdorf
bool bool
prompt "WincorNixdorf" prompt "WincorNixdorf"
select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER
#config LCD4LINUX_DRV_X11 #config LCD4LINUX_CUSTOM_DRIVER_X11
# bool # bool
# prompt "X11" # prompt "X11"
# select LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER # select LCD4LINUX_CUSTOM_NEEDS_libgd
# select LCD4LINUX_NEEDS_libgd # select LCD4LINUX_CUSTOM_NEEDS_libX11
# select LCD4LINUX_NEEDS_libX11
comment "LCD4Linux Plugins ---" comment "Plugins ---"
comment "WARNING: no plugins selected, the 'sample' plugin will be used !!!" config LCD4LINUX_CUSTOM_PLUGIN_apm
depends !LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_apm
bool bool
prompt "apm" prompt "apm"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_asterisk config LCD4LINUX_CUSTOM_PLUGIN_asterisk
bool bool
prompt "asterisk" prompt "asterisk"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_button_exec config LCD4LINUX_CUSTOM_PLUGIN_button_exec
bool bool
prompt "button_exec" prompt "button_exec"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_cpuinfo config LCD4LINUX_CUSTOM_PLUGIN_cpuinfo
bool bool
prompt "cpuinfo" prompt "cpuinfo"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
default y default y
config LCD4LINUX_PLUGIN_dbus config LCD4LINUX_CUSTOM_PLUGIN_dbus
bool bool
prompt "dbus" prompt "dbus"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN select LCD4LINUX_CUSTOM_NEEDS_libdbus
select LCD4LINUX_NEEDS_libdbus
config LCD4LINUX_PLUGIN_diskstats config LCD4LINUX_CUSTOM_PLUGIN_diskstats
bool bool
prompt "diskstats" prompt "diskstats"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_dvb config LCD4LINUX_CUSTOM_PLUGIN_dvb
bool bool
prompt "dvb" prompt "dvb"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_event config LCD4LINUX_CUSTOM_PLUGIN_event
bool bool
prompt "event" prompt "event"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_exec config LCD4LINUX_CUSTOM_PLUGIN_exec
bool bool
prompt "exec" prompt "exec"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_CUSTOM_PLUGIN_fifo
config LCD4LINUX_PLUGIN_fifo
bool bool
prompt "fifo" prompt "fifo"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_file config LCD4LINUX_CUSTOM_PLUGIN_file
bool bool
prompt "file" prompt "file"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_gps config LCD4LINUX_CUSTOM_PLUGIN_gps
bool bool
prompt "gps" prompt "gps"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN select LCD4LINUX_CUSTOM_NEEDS_libnmeap
select LCD4LINUX_NEEDS_libnmeap
config LCD4LINUX_PLUGIN_hddtemp config LCD4LINUX_CUSTOM_PLUGIN_hddtemp
bool bool
prompt "hddtemp" prompt "hddtemp"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_huawei config LCD4LINUX_CUSTOM_PLUGIN_huawei
bool bool
prompt "huawei" prompt "huawei"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_i2c_sensors config LCD4LINUX_CUSTOM_PLUGIN_i2c_sensors
bool bool
prompt "i2c_sensors" prompt "i2c_sensors"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_iconv config LCD4LINUX_CUSTOM_PLUGIN_iconv
bool bool
prompt "iconv" prompt "iconv"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN select LCD4LINUX_CUSTOM_NEEDS_libiconv
select LCD4LINUX_NEEDS_libiconv
config LCD4LINUX_PLUGIN_imon config LCD4LINUX_CUSTOM_PLUGIN_imon
bool bool
prompt "imon" prompt "imon"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_isdn config LCD4LINUX_CUSTOM_PLUGIN_isdn
bool bool
prompt "isdn" prompt "isdn"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_kvv config LCD4LINUX_CUSTOM_PLUGIN_kvv
bool bool
prompt "kvv" prompt "kvv"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_loadavg config LCD4LINUX_CUSTOM_PLUGIN_loadavg
bool bool
prompt "loadavg" prompt "loadavg"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
default y default y
config LCD4LINUX_PLUGIN_meminfo config LCD4LINUX_CUSTOM_PLUGIN_meminfo
bool bool
prompt "meminfo" prompt "meminfo"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
default y default y
config LCD4LINUX_PLUGIN_mpd config LCD4LINUX_CUSTOM_PLUGIN_mpd
bool bool
prompt "mpd" prompt "mpd"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN select LCD4LINUX_CUSTOM_NEEDS_libmpdclient
config LCD4LINUX_PLUGIN_mpris_dbus config LCD4LINUX_CUSTOM_PLUGIN_mpris_dbus
bool bool
prompt "mpris_dbus" prompt "mpris_dbus"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN select LCD4LINUX_CUSTOM_NEEDS_libdbus
select LCD4LINUX_NEEDS_libdbus
config LCD4LINUX_PLUGIN_mysql config LCD4LINUX_CUSTOM_PLUGIN_mysql
bool bool
prompt "mysql" prompt "mysql"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN select LCD4LINUX_CUSTOM_NEEDS_libmysqlclient
select LCD4LINUX_NEEDS_libmysqlclient
config LCD4LINUX_PLUGIN_netdev config LCD4LINUX_CUSTOM_PLUGIN_netdev
bool bool
prompt "netdev" prompt "netdev"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_netinfo config LCD4LINUX_CUSTOM_PLUGIN_netinfo
bool bool
prompt "netinfo" prompt "netinfo"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_pop3 config LCD4LINUX_CUSTOM_PLUGIN_pop3
bool bool
prompt "pop3" prompt "pop3"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_ppp config LCD4LINUX_CUSTOM_PLUGIN_ppp
bool bool
prompt "ppp" prompt "ppp"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN select LCD4LINUX_CUSTOM_NEEDS_ppp
select LCD4LINUX_NEEDS_ppp
config LCD4LINUX_PLUGIN_proc_stat config LCD4LINUX_CUSTOM_PLUGIN_proc_stat
bool bool
prompt "proc_stat" prompt "proc_stat"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
default y default y
#config LCD4LINUX_PLUGIN_python #config LCD4LINUX_CUSTOM_PLUGIN_python
# bool # bool
# prompt "python" # prompt "python"
# select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN # select LCD4LINUX_CUSTOM_NEEDS_python
# select LCD4LINUX_NEEDS_python
config LCD4LINUX_PLUGIN_qnaplog config LCD4LINUX_CUSTOM_PLUGIN_qnaplog
bool bool
prompt "qnaplog" prompt "qnaplog"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN select LCD4LINUX_CUSTOM_NEEDS_libsqlite3
select LCD4LINUX_NEEDS_libsqlite3
config LCD4LINUX_PLUGIN_seti config LCD4LINUX_CUSTOM_PLUGIN_seti
bool bool
prompt "seti" prompt "seti"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_statfs config LCD4LINUX_CUSTOM_PLUGIN_statfs
bool bool
prompt "statfs" prompt "statfs"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_uname config LCD4LINUX_CUSTOM_PLUGIN_uname
bool bool
prompt "uname" prompt "uname"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_uptime config LCD4LINUX_CUSTOM_PLUGIN_uptime
bool bool
prompt "uptime" prompt "uptime"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
default y default y
config LCD4LINUX_PLUGIN_w1retap config LCD4LINUX_CUSTOM_PLUGIN_w1retap
bool bool
prompt "w1retap" prompt "w1retap"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
config LCD4LINUX_PLUGIN_wireless config LCD4LINUX_CUSTOM_PLUGIN_wireless
bool bool
prompt "wireless" prompt "wireless"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
depends BROKEN depends BROKEN
config LCD4LINUX_PLUGIN_xmms config LCD4LINUX_CUSTOM_PLUGIN_xmms
bool bool
prompt "xmms" prompt "xmms"
select LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN
endif

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2007-2010 OpenWrt.org # Copyright (C) 2007-2011 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=lcd4linux PKG_NAME:=lcd4linux
PKG_REV:=1159 PKG_REV:=1159
PKG_VERSION:=r$(PKG_REV) PKG_VERSION:=r$(PKG_REV)
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://ssl.bulix.org/svn/lcd4linux/trunk/ PKG_SOURCE_URL:=https://ssl.bulix.org/svn/lcd4linux/trunk/
@ -18,69 +18,6 @@ PKG_SOURCE_SUBDIR:=lcd4linux-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_REV) PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_SOURCE_PROTO:=svn PKG_SOURCE_PROTO:=svn
PKG_FIXUP:=libtool
PKG_INSTALL:=1
PKG_BUILD_DEPENDS:= \
libdbus \
libgd \
libmysqlclient \
libncurses \
libnmeap \
libsqlite3 \
libvncserver \
ppp \
serdisplib \
st2205tool \
# libftdi \
# libmpdclient \
# libX11 \
# python \
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
define Package/lcd4linux
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:= \
+LCD4LINUX_NEEDS_libdbus:libdbus \
+LCD4LINUX_NEEDS_libgd:libgd \
$(if $(ICONV_FULL),+LCD4LINUX_NEEDS_libiconv:libiconv-full) \
+LCD4LINUX_NEEDS_libmysqlclient:libmysqlclient \
+LCD4LINUX_NEEDS_libncurses:libncurses \
+LCD4LINUX_NEEDS_libnmeap:libnmeap \
+LCD4LINUX_NEEDS_libsqlite3:libsqlite3 \
+LCD4LINUX_NEEDS_libusb:libusb \
+LCD4LINUX_NEEDS_libvncserver:libvncserver \
+LCD4LINUX_NEEDS_serdisplib:serdisplib \
+LCD4LINUX_NEEDS_st2205tool:st2205tool \
# +LCD4LINUX_NEEDS_libftdi:libftdi \
# +LCD4LINUX_NEEDS_libmpdclient:libmpdclient \
# +LCD4LINUX_NEEDS_libX11:libX11 \
# +LCD4LINUX_NEEDS_python:python
TITLE:=LCD display utility
URL:=http://lcd4linux.bulix.org/
MENU:=1
MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
endef
define Package/lcd4linux/config
menu "Configuration"
depends on PACKAGE_lcd4linux
source "$(SOURCE)/Config.in"
endmenu
endef
define Package/lcd4linux/description
LCD4Linux is a small program that grabs information from the kernel and
some subsystems and displays it on an external liquid crystal display.
endef
define Package/lcd4linux/conffiles
/etc/lcd4linux.conf
endef
LCD4LINUX_DRIVERS:= \ LCD4LINUX_DRIVERS:= \
BeckmannEgle \ BeckmannEgle \
BWCT \ BWCT \
@ -92,14 +29,14 @@ LCD4LINUX_DRIVERS:= \
G15 \ G15 \
GLCD2USB \ GLCD2USB \
IRLCD \ IRLCD \
HD44780 \ $(if $(CONFIG_BROKEN),HD44780) \
HD44780-I2C \ $(if $(CONFIG_BROKEN),HD44780-I2C) \
LCD2USB \ LCD2USB \
LCDLinux \ $(if $(CONFIG_BROKEN),LCDLinux) \
LCDTerm \ LCDTerm \
LEDMatrix \ LEDMatrix \
LPH7508 \ LPH7508 \
LUIse \ $(if $(CONFIG_BROKEN),LUIse) \
LW_ABP \ LW_ABP \
M50530 \ M50530 \
MatrixOrbital \ MatrixOrbital \
@ -115,19 +52,19 @@ LCD4LINUX_DRIVERS:= \
picoLCDGraphic \ picoLCDGraphic \
PNG \ PNG \
PPM \ PPM \
RouterBoard \ $(if $(CONFIG_TARGET_rb532),RouterBoard) \
serdisplib \ serdisplib \
ShuttleVFD \ ShuttleVFD \
SimpleLCD \ SimpleLCD \
st2205 \ st2205 \
T6963 \ T6963 \
Trefon \ Trefon \
ULA200 \
USBHUB \ USBHUB \
USBLCD \ USBLCD \
VNC \ VNC \
WincorNixdorf \ WincorNixdorf \
X11 \ # ULA200 \
# X11 \
LCD4LINUX_PLUGINS:= \ LCD4LINUX_PLUGINS:= \
apm \ apm \
@ -160,73 +97,214 @@ LCD4LINUX_PLUGINS:= \
pop3 \ pop3 \
ppp \ ppp \
proc_stat \ proc_stat \
python \
qnaplog \ qnaplog \
seti \ seti \
statfs \ statfs \
uname \ uname \
uptime \ uptime \
w1retap \ w1retap \
wireless \ $(if $(CONFIG_BROKEN),wireless) \
xmms \ xmms \
# python \
LCD4LINUX_CONFIGURE_DRIVERS:= \ PKG_FIXUP:=libtool
$(foreach c, $(LCD4LINUX_DRIVERS), \ PKG_INSTALL:=1
$(if $(CONFIG_LCD4LINUX_DRV_$(c)),$(c),) \
)
LCD4LINUX_CONFIGURE_PLUGINS:= \ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
$(foreach c, $(LCD4LINUX_PLUGINS), \
$(if $(CONFIG_LCD4LINUX_PLUGIN_$(c)),$(c),) \
)
ifeq ($(CONFIG_LCD4LINUX_HAS_AT_LEAST_ONE_DRIVER),) PKG_BUILD_DEPENDS:= \
LCD4LINUX_CONFIGURE_DRIVERS:=Sample libdbus \
endif libgd \
libmpdclient \
libmysqlclient \
libncurses \
libnmeap \
libsqlite3 \
libvncserver \
ppp \
serdisplib \
st2205tool \
# libftdi \
# libX11 \
# python \
PKG_CONFIG_DEPENDS:= \
$(patsubst %,CONFIG_LCD4LINUX_CUSTOM_DRIVER_%,$(LCD4LINUX_DRIVERS)) \
$(patsubst %,CONFIG_LCD4LINUX_CUSTOM_PLUGIN_%,$(LCD4LINUX_PLUGINS)) \
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
define Package/lcd4linux/Default
SECTION:=utils
CATEGORY:=Utilities
MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
TITLE:=LCD display utility
URL:=http://lcd4linux.bulix.org/
endef
define Package/lcd4linux/Default/description
LCD4Linux is a small program that grabs information from the kernel and
some subsystems and displays it on an external liquid crystal display.
endef
define Package/lcd4linux-custom
$(call Package/lcd4linux/Default)
DEPENDS:= \
+LCD4LINUX_CUSTOM_NEEDS_libdbus:libdbus \
+LCD4LINUX_CUSTOM_NEEDS_libgd:libgd \
$(if $(ICONV_FULL),+LCD4LINUX_CUSTOM_NEEDS_libiconv:libiconv-full) \
+LCD4LINUX_CUSTOM_NEEDS_libmpdclient:libmpdclient \
+LCD4LINUX_CUSTOM_NEEDS_libmysqlclient:libmysqlclient \
+LCD4LINUX_CUSTOM_NEEDS_libncurses:libncurses \
+LCD4LINUX_CUSTOM_NEEDS_libsqlite3:libsqlite3 \
+LCD4LINUX_CUSTOM_NEEDS_libusb:libusb \
+LCD4LINUX_CUSTOM_NEEDS_libvncserver:libvncserver \
+LCD4LINUX_CUSTOM_NEEDS_serdisplib:serdisplib \
+LCD4LINUX_CUSTOM_NEEDS_st2205tool:st2205tool \
# +LCD4LINUX_CUSTOM_NEEDS_libftdi:libftdi \
# +LCD4LINUX_CUSTOM_NEEDS_libX11:libX11 \
# +LCD4LINUX_CUSTOM_NEEDS_python:python
MENU:=1
PROVIDES:=lcd4linux
VARIANT=custom
endef
define Package/lcd4linux-custom/config
source "$(SOURCE)/Config.in"
endef
define Package/lcd4linux-custom/description
$(call Package/lcd4linux/Default/description)
.
This package contains a customized version of LCD4Linux.
endef
define Package/lcd4linux-full
$(call Package/lcd4linux/Default)
DEPENDS:= @DEVEL \
+libdbus \
+libgd \
$(if $(ICONV_FULL),+libiconv-full) \
+libmpdclient \
+libmysqlclient \
+libncurses \
+libsqlite3 \
+libusb \
+libvncserver \
+serdisplib \
+st2205tool \
# +libftdi \
# +libX11 \
# +python
PROVIDES:=lcd4linux
VARIANT=full
endef
define Package/lcd4linux-full/description
$(call Package/lcd4linux/Default/description)
.
This package contains a version of LCD4Linux built with all supported
drivers and plugins.
endef
ifeq ($(CONFIG_LCD4LINUX_HAS_AT_LEAST_ONE_PLUGIN),)
LCD4LINUX_CONFIGURE_PLUGINS:=sample
endif
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--disable-rpath \ --disable-rpath \
--with-drivers="$(strip $(LCD4LINUX_CONFIGURE_DRIVERS))" \
--with-plugins="$(strip $(LCD4LINUX_CONFIGURE_PLUGINS))" \
EXTRA_LDFLAGS+= -Wl,-rpath-link,$(STAGING_DIR)/usr/lib EXTRA_LDFLAGS+= -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
ifneq ($(CONFIG_LCD4LINUX_NEEDS_libiconv),) ifeq ($(BUILD_VARIANT),custom)
LCD4LINUX_CUSTOM_DRIVERS:= $(strip $(foreach c, $(LCD4LINUX_DRIVERS), \
$(if $(CONFIG_LCD4LINUX_CUSTOM_DRIVER_$(c)),$(c),) \
))
ifeq ($(LCD4LINUX_CUSTOM_DRIVER),)
LCD4LINUX_CUSTOM_DRIVERS:=Sample
endif
LCD4LINUX_CUSTOM_PLUGINS:= $(strip $(foreach c, $(LCD4LINUX_PLUGINS), \
$(if $(CONFIG_LCD4LINUX_CUSTOM_PLUGIN_$(c)),$(c)) \
))
ifeq ($(LCD4LINUX_CUSTOM_PLUGINS),)
LCD4LINUX_CUSTOM_PLUGINS:=sample
endif
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--with-libiconv-prefix="$(ICONV_PREFIX)" --with-drivers="$(LCD4LINUX_CUSTOM_DRIVERS)" \
else --with-plugins="$(LCD4LINUX_CUSTOM_PLUGINS)" \
CONFIGURE_ARGS+= \
--without-libiconv-prefix ifneq ($(CONFIG_LCD4LINUX_CUSTOM_NEEDS_libiconv),)
CONFIGURE_ARGS+= --with-libiconv-prefix="$(ICONV_PREFIX)"
else
CONFIGURE_ARGS+= --without-libiconv-prefix
endif
ifneq ($(CONFIG_LCD4LINUX_CUSTOM_NEEDS_libmysqlclient),)
EXTRA_LDFLAGS+= -L$(STAGING_DIR)/usr/lib/mysql
endif
# ifneq ($(CONFIG_LCD4LINUX_CUSTOM_NEEDS_python),)
# CONFIGURE_ARGS+= --with-python
# else
CONFIGURE_ARGS+= --without-python
# endif
# ifneq ($(CONFIG_LCD4LINUX_CUSTOM_NEEDS_libX11),)
# CONFIGURE_ARGS+= --with-x
# else
CONFIGURE_ARGS+= --without-x
# endif
endif endif
ifneq ($(CONFIG_LCD4LINUX_NEEDS_libmysqlclient),) ifeq ($(BUILD_VARIANT),full)
LCD4LINUX_FULL_DRIVERS:= $(strip $(foreach c, $(LCD4LINUX_DRIVERS), \
$(c) \
))
LCD4LINUX_FULL_PLUGINS:= $(strip $(foreach c, $(LCD4LINUX_PLUGINS), \
$(c) \
))
CONFIGURE_ARGS+= \
--with-drivers="$(LCD4LINUX_FULL_DRIVERS)" \
--with-plugins="$(LCD4LINUX_FULL_PLUGINS)" \
--with-libiconv-prefix="$(ICONV_PREFIX)" \
--without-python \
--without-x \
EXTRA_LDFLAGS+= -L$(STAGING_DIR)/usr/lib/mysql EXTRA_LDFLAGS+= -L$(STAGING_DIR)/usr/lib/mysql
endif endif
ifneq ($(CONFIG_LCD4LINUX_NEEDS_python),)
CONFIGURE_ARGS+= --with-python
else
CONFIGURE_ARGS+= --without-python
endif
ifneq ($(CONFIG_LCD4LINUX_NEEDS_libX11),)
CONFIGURE_ARGS+= --with-x
else
CONFIGURE_ARGS+= --without-x
endif
define Package/lcd4linux/conffiles
/etc/lcd4linux.conf
endef
define Package/lcd4linux/install define Package/lcd4linux/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/lcd4linux $(1)/usr/bin/ $(CP) $(PKG_INSTALL_DIR)/usr/bin/lcd4linux $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc $(INSTALL_DIR) $(1)/etc
$(INSTALL_CONF) ./files/lcd4linux.conf $(1)/etc/ $(INSTALL_CONF) $(PKG_BUILD_DIR)/lcd4linux.conf.sample $(1)/etc/lcd4linux.conf
$(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/lcd4linux.init $(1)/etc/init.d/lcd4linux $(INSTALL_BIN) ./files/lcd4linux.init $(1)/etc/init.d/lcd4linux
$(SED) "s|^\(Display 'GLCD2USB'\)|#\1|g" \
-e "s|^\(Layout 'TestLayer'\)|#\1|g" \
-e "s|^#\(Display 'Image'\)|\1|g" \
-e "s|^#\(Layout 'Default'\)|\1|g" \
$(1)/etc/lcd4linux.conf
endef endef
$(eval $(call BuildPackage,lcd4linux)) Package/lcd4linux-custom/conffiles = $(Package/lcd4linux/conffiles)
Package/lcd4linux-custom/install = $(Package/lcd4linux/install)
Package/lcd4linux-full/conffiles = $(Package/lcd4linux/conffiles)
Package/lcd4linux-full/install = $(Package/lcd4linux/install)
$(eval $(call BuildPackage,lcd4linux-custom))
$(eval $(call BuildPackage,lcd4linux-full))

File diff suppressed because it is too large Load Diff

View File

@ -1,18 +1,15 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2007 OpenWrt.org # Copyright (C) 2007-2011 OpenWrt.org
START=98 START=98
NAME=lcd4linux SERVICE_USE_PID=1
BIN_F=/usr/bin/$NAME
PID_F=/var/run/lcd4linux.pid
SSD=start-stop-daemon
OPTIONS="-q -p $PID_F -f /etc/lcd4linux.conf"
start() { start() {
$SSD -S -q -p $PID_F -b -x $BIN_F -- $OPTIONS service_start /usr/bin/lcd4linux -o /tmp/lcd4linux.png -q
} }
stop() { stop() {
$SSD -K -q -p $PID_F service_stop /usr/bin/lcd4linux
} }