[libconfig-model-lcdproc-perl] 03/09: patch tweak-lcdd-conf: set imon device to /dev/lcd-imon is present...

dod at debian.org dod at debian.org
Wed Jul 2 10:18:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-lcdproc-perl.

commit fd1b3c09b9ba5481fe38d90e1b911fd02b069a83
Author: Dominique Dumont <dod at debian.org>
Date:   Mon Jun 23 15:26:52 2014 +0200

    patch tweak-lcdd-conf: set imon device to /dev/lcd-imon is present...
    
    this is compatible with linux behavior (where udev creates /dev/lcd-imon)
    and other arch (fallback to /dev/lcd0)
---
 debian/patches/tweak-lcdd-conf | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/debian/patches/tweak-lcdd-conf b/debian/patches/tweak-lcdd-conf
index 4c98bc1..3f2733c 100644
--- a/debian/patches/tweak-lcdd-conf
+++ b/debian/patches/tweak-lcdd-conf
@@ -59,3 +59,22 @@ Author: dod
  User=nobody
  
  # The server will stay in the foreground if set to yes.
+@@ -662,6 +679,18 @@
+ [imon]
+ 
+ # select the device to use
++# {%
++#   default~
++#   value_type=uniline
++#   compute
++#     formula="my $l = '/dev/lcd-imon'; -e $l ? $l : '/dev/lcd0';"
++#     use_eval=1
++#     allow_override=1 -
++#   warn_unless:device_file
++#     code=" defined $_ ? -e : 1"
++#     msg="missing imon device file"
++#     fix="$_ = undef;"
++#   - %}
+ Device=/dev/lcd0
+ 
+ # display dimensions

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git



More information about the Pkg-perl-cvs-commits mailing list