From ccb44fd52f76bca3cbd6a89bc9407ada5ab47d65 Mon Sep 17 00:00:00 2001 From: Simon Dawson Date: Thu, 15 Mar 2012 08:49:42 +0000 Subject: [PATCH] Added lcdproc package [Peter: fix download URL, move to 'Hardware handling' section] Signed-off-by: Simon Dawson Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/lcdproc/Config.in | 7 +++++++ package/lcdproc/lcdproc-0.5.5-LCDd.conf.patch | 18 ++++++++++++++++++ package/lcdproc/lcdproc.mk | 14 ++++++++++++++ 4 files changed, 40 insertions(+) create mode 100644 package/lcdproc/Config.in create mode 100644 package/lcdproc/lcdproc-0.5.5-LCDd.conf.patch create mode 100644 package/lcdproc/lcdproc.mk diff --git a/package/Config.in b/package/Config.in index 9eef96e63d..f0ce9631d1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -190,6 +190,7 @@ source "package/input-tools/Config.in" source "package/iostat/Config.in" source "package/irda-utils/Config.in" source "package/kbd/Config.in" +source "package/lcdproc/Config.in" source "package/linux-firmware/Config.in" source "package/lm-sensors/Config.in" source "package/lsuio/Config.in" diff --git a/package/lcdproc/Config.in b/package/lcdproc/Config.in new file mode 100644 index 0000000000..6c8614d6d7 --- /dev/null +++ b/package/lcdproc/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_LCDPROC + bool "lcdproc" + select BR2_PACKAGE_NCURSES + help + LCD display driver daemon and clients + + http://lcdproc.org/ diff --git a/package/lcdproc/lcdproc-0.5.5-LCDd.conf.patch b/package/lcdproc/lcdproc-0.5.5-LCDd.conf.patch new file mode 100644 index 0000000000..283ac8867b --- /dev/null +++ b/package/lcdproc/lcdproc-0.5.5-LCDd.conf.patch @@ -0,0 +1,18 @@ +Fix the default LCDd configuration file, so that the DriverPath +is set to the correct lcdproc library install path, rather than +the dummy/default path. + +Signed-off-by: Simon Dawson +--- + +--- lcdproc-0.5.3/LCDd.conf.orig 2009-06-20 14:48:34.000000000 +0100 ++++ lcdproc-0.5.3/LCDd.conf 2010-05-11 10:02:21.000000000 +0100 +@@ -34,7 +34,7 @@ + # the driver modules and will thus not be able to + # function properly. + # NOTE: Always place a slash as last character ! +-DriverPath=server/drivers/ ++DriverPath=/usr/lib/lcdproc/ + + # Tells the server to load the given drivers. Multiple lines can be given. + # The name of the driver is case sensitive and determines the section diff --git a/package/lcdproc/lcdproc.mk b/package/lcdproc/lcdproc.mk new file mode 100644 index 0000000000..e8919e9c86 --- /dev/null +++ b/package/lcdproc/lcdproc.mk @@ -0,0 +1,14 @@ +############################################################# +# +# lcdproc +# +############################################################# +LCDPROC_VERSION = 0.5.5 +LCDPROC_SOURCE = lcdproc-$(LCDPROC_VERSION).tar.gz +LCDPROC_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/lcdproc/lcdproc/$(LCDPROC_VERSION) + +LCDPROC_CONF_OPT = --enable-drivers=all + +LCDPROC_DEPENDENCIES = ncurses + +$(eval $(call AUTOTARGETS)) -- 2.30.2