--- lcdproc-0.5.3.orig/LCDd.conf +++ lcdproc-0.5.3/LCDd.conf @@ -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 --- lcdproc-0.5.3.orig/debian/postinst +++ lcdproc-0.5.3/debian/postinst @@ -0,0 +1,48 @@ +#! /bin/sh +# postinst script for lcdproc +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- lcdproc-0.5.3.orig/debian/lcdproc.manpages +++ lcdproc-0.5.3/debian/lcdproc.manpages @@ -0,0 +1,10 @@ +debian/manpages/LCDd.8 +debian/manpages/lcdproc.1 +debian/manpages/fortune.pl.1 +debian/manpages/iosock.pl.1 +debian/manpages/lcdheadlines.1 +debian/manpages/lcdident.pl.1 +debian/manpages/lcdmetar.pl.1 +debian/manpages/lcdvc.1 +debian/manpages/tail.pl.1 +debian/manpages/x11amp.pl.1 --- lcdproc-0.5.3.orig/debian/prerm +++ lcdproc-0.5.3/debian/prerm @@ -0,0 +1,39 @@ +#! /bin/sh +# prerm script for lcdproc +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/lcdproc.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- lcdproc-0.5.3.orig/debian/watch +++ lcdproc-0.5.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/lcdproc/lcdproc-([\d\.]+).tar.gz debian uupdate --- lcdproc-0.5.3.orig/debian/dirs +++ lcdproc-0.5.3/debian/dirs @@ -0,0 +1,7 @@ +etc +etc/init.d +usr/bin +usr/sbin +usr/share/doc/lcdproc/examples +usr/share/man/man1 +usr/share/man/man8 --- lcdproc-0.5.3.orig/debian/changelog +++ lcdproc-0.5.3/debian/changelog @@ -0,0 +1,379 @@ +lcdproc (0.5.3-0ubuntu2) lucid; urgency=low + + * debian/control: Added build dependencies on libg15daemon-client-dev, + libg15render-dev and libg15-dev for compiling g15 driver (LP: #218374) + + -- Lars Koslowski Tue, 24 Nov 2009 21:03:36 +0100 + +lcdproc (0.5.3-0ubuntu1) karmic; urgency=low + + * New upstream version 0.5.3 (LP: #432669) + * Merge source patches from 0.5.2-3 + - LCDd.conf: Change driver path + - clients/lcdproc/machine_Linux.c: Change ifdef + * Add clients/examples/lcdident.pl to debian files + * Updated debian/rules: + - Cleaned up whitespace + - Changed config.guess/config.sub lines + * Added a delay to server/drivers/imonlcd.c for slower models + * Added dependency on autotools-dev to fix launchpad build issue + + -- Jeremy Yoder (Launchpad) Sun, 11 Oct 2009 18:21:07 -0400 + +lcdproc (0.5.2-3ubuntu1) karmic; urgency=low + + * Merge from debian unstable (LP: #383613), remaining changes: + - server/drivers/MtxOrb.c: Fix odd characters with MtxOrb + - debian/patches/lcdproc-0.4.3-gentoo.diff: Dropped, unused + * debian/patches/01_fix_driverpath.dpatch: + - Dropped, fixed directly in Debian packaging + * debian/lcdproc.LCDd.init: + - Undo unnecessary change from '-s 1' to '-s true' + * debian/control: + - Dropped autotools-dev Build-Depends to reduce Debian delta. + - Dropped dpatch Build-Depends, just applied changes directly + + -- Michael Terry Mon, 15 Jun 2009 08:26:03 -0400 + +lcdproc (0.5.2-3) unstable; urgency=low + + * Changed debian/watch to use SourceForge redirector + + -- Jonathan Oxer Tue, 13 Jan 2009 23:44:47 +0000 + +lcdproc (0.5.2-2) unstable; urgency=low + + * Added manpage for lcdvc + * Fixed debian/rules make clean warning + * Updated standards version to 3.8.0 + * Fixed formatting in long description + * Fixed debian/watch upstream URL format so it will work with + SourceForge (Closes: #449780) + + -- Jonathan Oxer Wed, 17 Dec 2008 02:35:22 +0000 + +lcdproc (0.5.2-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Support all architectures except s390. + * Add support for kfreebsd, thanks Cyril Brulebois. (Closes: #416261) + + -- Thiemo Seufer Thu, 02 Oct 2008 09:06:08 +0200 + +lcdproc (0.5.2-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Add armel to supported archs + + -- Colin Tuckley Fri, 05 Sep 2008 18:17:50 +0100 + +lcdproc (0.5.2-1) unstable; urgency=medium + + * New upstream version + + * Compilation issues + - restrict building to just i386, amd64 (Closes: #400066) + + * Packaging + - bumped standards-version to 3.7.3 with no changes + + -- Jose Luis Tallon Sun, 09 Mar 2008 00:25:50 +0100 + +lcdproc (0.5.2-0ubuntu2) hardy; urgency=low + + * 02_mtxorb_vfd_regression.dpatch: + - Fix regression in MtxOrb VFD. (LP: #187605) + + -- Mario Limonciello Sun, 09 Mar 2008 14:36:18 -0500 + +lcdproc (0.5.2-0ubuntu1) gutsy; urgency=low + + * New Upstream Release + * Keep driverpath patch + * Remove old gentoo patch file that wasn't being installed + * Add build-dep for autotools-dev + + -- Barry deFreese Mon, 13 Aug 2007 11:27:14 -0400 + +lcdproc (0.5.1-3ubuntu1) gutsy; urgency=low + + * Add 01_fix_driverpath.dpatch to fix default DriverPath. (LP: #63488) + * debian/rules: + - Add dpatch include. + * debian/lcdproc.LCDd.init: + - Make sure that DAEMON_OPTS has boolean values. + * debian/control: + - Update maintainer field to ubuntu-motu@lists.ubuntu.com + - Add dpatch to build deps + + -- Mario Limonciello Sun, 29 Jul 2007 18:14:41 -0500 + +lcdproc (0.5.1-3) unstable; urgency=medium + + * Compilation issues + - restrict building to just i386, amd64 (Closes: #400066) + + -- Jose Luis Tallon Fri, 8 Dec 2006 15:37:56 +0100 + +lcdproc (0.5.1-2) unstable; urgency=low + + * Compilation issues + - restrict building to just i386, amd64 and ppc (Closes: #395986) + - remaining arches will be re-added once lcdproc is migrated to 'ppdev' + + * Updated initscript to work with new syntax (Closes: #397072) + - also fixed duplicate $NAME output + + -- Jose Luis Tallon Sun, 12 Nov 2006 14:20:28 +0100 + +lcdproc (0.5.1-1) unstable; urgency=medium + + * New upstream version + - Fixes compiling on hppa (Closes: #389294) + - Many new features and some config changes. Please read upstream's + release notes for more information + + * Avoid needing a /etc/mtab file at build time (Closes: #391912) + + -- Jose Luis Tallon Sun, 15 Oct 2006 14:48:37 +0200 + +lcdproc (0.5.0-1) unstable; urgency=low + + * New upstream version (Closes: #367945) + - New maintainer. Thank you for your previous work, Jon! + - Upstream added suport for 'imon' devices (Closes: #365496) + - Upstream fixed descriptor leak (Closes: #355460) + - Upstream fixed placing widgets in frame (Closes: #355458) + + * Packaging + - Depend on debconf-2.0; Allow transition (Closes: #331885) + - Remove dependency on automake (Closes: #376449) + - Include missing INSTALL instructions (Closes: #365436) + - Changed most "by hand" installation steps into debhelper-based ones + - Updated to 3.7.2 standards version + + -- Jose Luis Tallon Sun, 23 Jul 2006 20:23:48 +0200 + +lcdproc (0.4.5-1) unstable; urgency=high + + * New upstream release which fixes two buffer overflow / string + format vulnerabilities. By the way, yes I know this package is + 'native' when it should be 'normal', but I'll fix that with + another upload because I want to get this security update done + ASAP since upstream indicate it's a serious problem. + * Fixed location of example client 'metar.pl'. + Closes: #249770 + + -- Jonathan Oxer Wed, 19 May 2004 21:32:59 +1000 + +lcdproc (0.4.4-1) unstable; urgency=low + + * The April Fool's Release. + Stable version bump adds some funky new things, including + support for USB displays with a couple of new drivers. Also + fixes a memory leak, some assorted bugs in render.c, some + flickering problems with the CFontz driver. Adds upstream + support for the Apple Network Server (ANS) LCD, which: + (closes: #236687) + + -- Jonathan Oxer Thu, 1 Apr 2004 12:30:01 +1000 + +lcdproc (0.4.3-15) unstable; urgency=low + + * Applied patch from Gentoo by Bernhard Tittelbach which fixes a + memory leak and some of the heartbeat handling (see + http://bugs.gentoo.org/attachment.cgi?id=6981&action=view and + debian/patches/lcdproc-0.4.3-gentoo.diff) + + -- Jonathan Oxer Wed, 17 Dec 2003 10:32:30 +1100 + +lcdproc (0.4.3-14) unstable; urgency=low + + * New maintainer. + (closes: #196676) + * Fix for trivial spelling mistayk in long description and + added comment about creating custom clients. + (closes: #199303) + * Rebuilt package to bring it up to date with latest standards + version, latest package scripts etc and renamed items such as + init script and man pages in a more standard way. + * Wrote man pages for all the example clients, but not set them + to be installed because they have .pl extensions and + dh_installman thinks they're in Polish. So also... + * Moved all example clients into /usr/share/doc/lcdproc/examples + + -- Jonathan Oxer Mon, 8 Dec 2003 16:30:05 +1100 + +lcdproc (0.4.3-13) unstable; urgency=low + + * orphaning package see #196676 + + -- Noel Koethe Sun, 29 Jun 2003 13:03:00 +0200 + +lcdproc (0.4.3-12) unstable; urgency=high + + * added missing patch to fix this problem + http://online.securityfocus.com/archive/1/56411 + * updated Standards-Version + * added USB controller patch + (closes: Bug#166051) + + -- Noel Koethe Thu, 9 Jan 2003 12:10:00 +0100 + +lcdproc (0.4.3-11) unstable; urgency=low + + * 0.4.3 release version + * updated Standards-Version to 3.5.7 + * enabled all drivers + (closes: Bug#145314) + (closes: Bug#141577) + + -- Noel Koethe Sat, 22 Sep 2002 00:15:00 +0200 + +lcdproc (0.4.3-10) unstable; urgency=medium + + * updated code from cvs to get all drivers updated. + upstream maintainer asked for this for woody release + this version will the 0.4.3 upstream release + * small changes in description + * added some upstream Docs which are not in the source + + -- Noel Koethe Tue, 18 Apr 2002 18:05:00 +0200 + +lcdproc (0.4.3-9) unstable; urgency=low + + * added .de template translation + (closes: Bug#137482) + * added URL to description + + -- Noel Koethe Sun, 24 Mar 2002 23:53:00 +0100 + +lcdproc (0.4.3-8) unstable; urgency=low + + * upstream fixed LCDd.8 and lcdproc.1 manpage + (closes: Bug#136325) + + -- Noel Koethe Thu, 7 Mar 2002 11:45:00 +0100 + +lcdproc (0.4.3-7) unstable; urgency=low + + * added ru translation of template + (closes: Bug#136596) + + -- Noel Koethe Wed, 6 Mar 2002 12:47:00 +0100 + +lcdproc (0.4.3-6) unstable; urgency=low + + * removed --enable-drivers=all configure option + because some drivers contains architecture + dependent asm code + (closes: Bug#136217) + + -- Noel Koethe Fri, 1 Mar 2002 21:30:00 +0100 + +lcdproc (0.4.3-5) unstable; urgency=low + + * small correction in description + * added missing libc6-dev to build-deps + + -- Noel Koethe Wed, 27 Feb 2002 10:32:00 +0100 + +lcdproc (0.4.3-4) unstable; urgency=low + + * using the included init script (with small modifications) + * using the included LCDd.conf + * moved the perl examples to /usr/bin + * added debconf note + + -- Noel Koethe Sun, 24 Feb 2002 17:42:00 +0100 + +lcdproc (0.4.3-3) unstable; urgency=low + + * corrected Daemon start + + -- Noel Koethe Wed, 20 Feb 2002 20:33:00 +0100 + +lcdproc (0.4.3-2) unstable; urgency=low + + * updated description + * corrected driver option in init.d + (closes: Bug#134590) + + -- Noel Koethe Mon, 18 Feb 2002 18:44:00 +0100 + +lcdproc (0.4.3-1) unstable; urgency=low + + * upstream version with security fixes + + -- Noel Koethe Sun, 27 Jan 2002 20:53:00 +0100 + +lcdproc (0.4.1-1) unstable; urgency=low + + * new upstream version from 2001-05-29 + (closes: Bug#129858) + (closes: Bug#129857) + * removed lcdprocconfig and uses now /etc/lcdproc.conf + (closes: Bug#87427) + * corrected init script + (closes: Bug#98004) + + -- Noel Koethe Fri, 18 Jan 2002 22:32:00 +0100 + +lcdproc (0.3.4.5-1) unstable; urgency=low + + * new maintainer + (closes: Bug#119089) + (closes: Bug#70098) + (closes: Bug#105036) + (closes: Bug#67742) + (closes: Bug#84518) + (closes: Bug#87423) + + -- Noel Koethe Fri, 18 Jan 2002 18:40:00 +0100 + +lcdproc (0.3.4.5-0.2) unstable; urgency=low + + * NMU + * Remove obsolete gcc option from Makefile. Closes: #105036 + + -- Randolph Chung Sat, 25 Aug 2001 20:58:19 -0700 + +lcdproc (0.3.4.5-0.1) unstable; urgency=low + + * Bugsquash party NMU. + * New upstream release. + - This should fix a floating point exception on startup (a grave bug, + hence this NMU; closes: #70098). That bug report suggests upgrading + only to 0.3.4.5 rather than any of the newer releases available, as + they introduce new bugs. I'll leave newer releases to the maintainer. + * Update URL and GPL pointer in copyright file. + * Remove bashism from init script and use start-stop-daemon instead of + pidof (closes: #67742). + * Updated to policy version 3.1.1 and add build-depends (closes: #84518). + * Removed obsolete dh_suidregister call from debian/rules. + * lcdprocconfig is undocumented. Add the man page symlink (bug on its + way). + + -- Colin Watson Sat, 24 Feb 2001 16:25:33 +0000 + +lcdproc (0.3.4-3) unstable; urgency=low + + * Updated to Standards-Version 3.0.1, FHS. + * Added correct dependencies (turns out I plum forgot the Depends: + line in the control file) (closes: #44086) + + -- Brian Bassett Sat, 6 Nov 1999 17:56:29 -0800 + +lcdproc (0.3.4-2) unstable; urgency=low + + * Fixed lcdproc dying from floating point exception when trying to display + information about an autofs mount on the "D" screen. + + -- Brian Bassett Sat, 29 Aug 1998 22:32:17 -0700 + +lcdproc (0.3.4-1) unstable; urgency=low + + * Initial release. + + -- Brian Bassett Sun, 19 Jul 1998 11:19:46 -0700 + --- lcdproc-0.5.3.orig/debian/lcdproc.examples +++ lcdproc-0.5.3/debian/lcdproc.examples @@ -0,0 +1,6 @@ +clients/examples/fortune.pl +clients/examples/iosock.pl +clients/examples/lcdident.pl +clients/metar/lcdmetar.pl +clients/examples/tail.pl +clients/examples/x11amp.pl --- lcdproc-0.5.3.orig/debian/Makefile +++ lcdproc-0.5.3/debian/Makefile @@ -0,0 +1,6 @@ +# +.PHONY: dummy + + +tidy: dummy + rm -f *~ --- lcdproc-0.5.3.orig/debian/docs +++ lcdproc-0.5.3/debian/docs @@ -0,0 +1,3 @@ +README +TODO +INSTALL --- lcdproc-0.5.3.orig/debian/copyright +++ lcdproc-0.5.3/debian/copyright @@ -0,0 +1,21 @@ +This package was debianized by +Brian Bassett on Wed, 3 Jun 1998 22:15:03 -0700 +Adopted by Noel Koethe on Fri, 18 Jan 2002 19:03:47 +0100 +Adopted by Jonathan Oxer on Mon, 8 Dec 2003 16:30:05 +1100 +Adopted by Jose Luis Tallon on Sun, 23 Jul 2006 20:23:48 +0200 + + +It was downloaded from http://www.lcdproc.org/ + +Upstream Author: William W. Ferrell and others + +Copyright: + +Copyright (c) 1999-2006 William Ferrell +Portions (c) by Scott Scriven, Joris Robijn, F5 Networks, Inc., Peter Marschall +and others, as specified in the corresponding source modules. + +Lcdproc is Released under the terms of GNU's GPL version 2; + +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL-2. --- lcdproc-0.5.3.orig/debian/compat +++ lcdproc-0.5.3/debian/compat @@ -0,0 +1 @@ +4 --- lcdproc-0.5.3.orig/debian/postrm +++ lcdproc-0.5.3/debian/postrm @@ -0,0 +1,38 @@ +#! /bin/sh +# postrm script for lcdproc +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- lcdproc-0.5.3.orig/debian/README.Debian +++ lcdproc-0.5.3/debian/README.Debian @@ -0,0 +1,35 @@ +lcdproc for Debian +------------------ + +New upstream version. All drivers enabled. + +CFontz633 and all other USB drivers are enabled in this release. +Enabled support for libusb +Doxygen-generated documentation included +Moved to a more "standard" way of installing most files + + -- Jose Luis Tallon Sun, 23 Jul 2006 20:23:48 +0200 + + +WARNING: CFontz633 USB driver removed + +Due to licencing issues this upstream release is missing the CFontz633 +USB driver. Upstream are hoping to add this back in once the licence +is resolved. + + -- Jonathan Oxer , Thu, 1 Apr 2004 13:24:56 +1000 + + +WARNING: Location of example clients changed + +lcdproc originally installed a number of example clients in /usr/bin, +but this was not the intended behaviour. Upstream have stated these +examples should be located in /usr/share/doc/lcdproc/examples, which +is in agreement with Debian policy. + +Release 0.4.3-14 of this package therefore moves the example clients +from /usr/bin to /usr/share/doc/lcdproc/examples. That means they are +no longer in PATH, so you will either need to copy them to another +location manually or specify the full path when calling them. + + -- Jonathan Oxer , Tue, 9 Dec 2003 14:33:27 +1100 --- lcdproc-0.5.3.orig/debian/overrides +++ lcdproc-0.5.3/debian/overrides @@ -0,0 +1,7 @@ +lcdproc: package-contains-upstream-install-documentation usr/share/doc/lcdproc/INSTALL.gz +lcdproc: script-with-language-extension usr/bin/fortune.pl +lcdproc: script-with-language-extension usr/bin/iosock.pl +lcdproc: script-with-language-extension usr/bin/lcdident.pl +lcdproc: script-with-language-extension usr/bin/lcdmetar.pl +lcdproc: script-with-language-extension usr/bin/tail.pl +lcdproc: script-with-language-extension usr/bin/x11amp.pl --- lcdproc-0.5.3.orig/debian/lcdproc.install +++ lcdproc-0.5.3/debian/lcdproc.install @@ -0,0 +1 @@ +LCDd.conf etc --- lcdproc-0.5.3.orig/debian/rules +++ lcdproc-0.5.3/debian/rules @@ -0,0 +1,111 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall +#CFLAGS = -Wall -g +# +#ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +# CFLAGS += -O0 +#else +# CFLAGS += -O2 +#endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + [ -f /usr/share/misc/config.sub ] && cp -f /usr/share/misc/config.sub config.sub + [ -f /usr/share/misc/config.guess ] && cp -f /usr/share/misc/config.guess config.guess + # Add here commands to configure the package. + CFLAGS=$(CFLAGS) ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --sysconfdir=/etc \ + --enable-stat-nfs \ + --enable-stat-smbfs \ + --enable-drivers=all \ + --enable-libusb \ + --enable-doxygen + + +build: build-stamp + +build-stamp: config.status + dh_testdir + # Compile the package. + $(MAKE) + #( cd docs; doxygen Doxyfile ) + touch build-stamp + +clean: + dh_testdir + dh_testroot + # Add here commands to clean up after the build process. + [ ! -f /usr/share/misc/config.sub ] || rm -f config.sub + [ ! -f /usr/share/misc/config.guess ] || rm -f config.guess + [ ! -f Makefile ] || $(MAKE) distclean + rm -rf docs/html + rm -f build-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + #install -m644 LCDd.conf debian/lcdproc/etc/LCDd.conf + # Install the package into debian/lcdproc. + $(MAKE) install DESTDIR=$(CURDIR)/debian/lcdproc + # Install the Lintian overrides file + mkdir -p $(CURDIR)/debian/lcdproc/usr/share/lintian/overrides + cp $(CURDIR)/debian/overrides $(CURDIR)/debian/lcdproc/usr/share/lintian/overrides/lcdproc + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install + #dh_installmenu + #dh_installdebconf + #dh_installlogrotate + dh_installinit --name=LCDd -- start 60 2 3 4 5 . stop 60 0 1 6 . + #dh_installcron + #dh_installinfo + dh_installman --language=C + dh_link + dh_strip + dh_compress + dh_fixperms + #dh_perl + #dh_python + #dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- lcdproc-0.5.3.orig/debian/lcdproc.LCDd.init +++ lcdproc-0.5.3/debian/lcdproc.LCDd.init @@ -0,0 +1,63 @@ +#! /bin/sh +# +# LCDd initscript for LCDd +# by Jose Luis Tallon +# +### BEGIN INIT INFO +# Provides: lcdd +# Required-Start: $syslog +# Required-Stop: $syslog +# Should-Start: $local_fs +# Should-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: LCD daemon +# Description: Control LCD displays connected to the computer +### END INIT INFO +# +# Written by Miquel van Smoorenburg . +# Modified for Debian +# by Ian Murdock . +# Modified for lcdproc by Jonathan Oxer +# +# + + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/LCDd +NAME="LCDd" +DESC="LCDd" +DAEMON_OPTS="-s 1 -f -c /etc/LCDd.conf" + +test -x $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --background \ + --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --oknodo --quiet \ + --exec $DAEMON + echo "$NAME." + ;; + restart|force-reload) + echo -n "Restarting $DESC: " + $0 stop + sleep 1 + $0 start + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- lcdproc-0.5.3.orig/debian/control +++ lcdproc-0.5.3/debian/control @@ -0,0 +1,29 @@ +Source: lcdproc +Section: utils +Priority: extra +Maintainer: Ubuntu MOTU Team +XSBC-Original-Maintainer: Jose Luis Tallon +Build-Depends: debhelper (>= 4), autotools-dev, texinfo, libncurses5-dev, libusb-dev, doxygen, libg15daemon-client-dev, libg15render-dev, libg15-dev +Uploaders: Jonathan Oxer +Homepage: http://www.lcdproc.org/ +Standards-Version: 3.8.0 + +Package: lcdproc +Architecture: alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel powerpc sparc +Depends: lsb-base, ${shlibs:Depends}, debconf | debconf-2.0 +Description: LCD display driver daemon and clients + This is a client/server suite including drivers for all kinds of + nifty LCD displays. The server supports several serial devices: Matrix + Orbital, Crystal Fontz, Bayrad, LB216, LCDM001 (kernelconcepts.de), + Wirz-SLI and PIC-an-LCD; and some devices connected to the LPT port: + HD44780, STV5730, T6963, SED1520 and SED1330. As of 0.4.4 some USB + displays are also supported by the drivers CFonz633, CwLnx, and USBLCD. + . + Various clients are available that display things like CPU load, system + load, memory usage, uptime, and a lot more. Custom clients can be + written using the simple client-server protocol and provided example + code. + . + Tags: use::monitoring, administration::monitoring, hardware::lcd, + role::sw:utility, interface::commandline, interface::daemon, + made-of::lang:c --- lcdproc-0.5.3.orig/debian/manpages/lcdvc.1 +++ lcdproc-0.5.3/debian/manpages/lcdvc.1 @@ -0,0 +1,64 @@ +.TH lcdvc 1 "17 December 2008" LCDproc "LCDproc suite" +.SH NAME +lcdvc - LCDproc client to provide a virtual console +.SH SYNOPSIS +.B lcdvc + + +.SH DESCRIPTION +lcdvc connects to LCDd (the LCDproc server) and adds a submenu to the LCDd main menu +that allows the user to access a virtual console. + +.SH OPTIONS +.I lcdvc +understands the following command line options., that override the +icorresponding options given in the configuration file: +.TP 8 +.B \-c +Specify configuration file (/etc/lcdvc.conf by default) +.TP 8 +.B \-a
+Set the address of the host which LCDd is running on, localhost by default +.TP 8 +.B \-p +Set the port which LCDd is accepting connections on, 13666 by default +.TP 8 +.B \-f +Run in foreground. +.TP 8 +.B \-r +Set the reporting level to \fIlevel\fP, which is an integer +representing the reporting levels from 0 (critical errors only) to 5 (debug messages). +Default is 2 (errors and warnings only) +.TP 8 +.B \-s <0|1> +Report to syslog (1) or to stdout (0, default) +.TP 8 +.B \-h +Show help +.PP + +.SH SEE ALSO +LCDd 8 +.SH AUTHOR +lcdexec is written by Joris Robijn and Peter Marschall. It is part of the LCDproc suite. + +The newest version of LCDproc should be available from here: + + http://www.lcdproc.org/ + +This man page was written by Jonathan Oxer for the Debian GNU/Linux +distribution, but may be used by others. + +.SH LEGAL STUFF +LCDproc is released as "WorksForMe-Ware". In other words, it is free, kinda neat, +and we don't guarantee that it will do anything in particular on any machine +except the ones it was developed on. +.PP +It is technically released under the GNU GPL license (you should have received the file, +"COPYING", with LCDproc) (also, look on http://www.fsf.org/ for more information), +so you can distribute and use it for free -- but you must make the source code +freely available to anyone who wants it. +.PP +For any sort of real legal information, read the GNU GPL (GNU General Public License). +It's worth reading. --- lcdproc-0.5.3.orig/debian/manpages/iosock.pl.1 +++ lcdproc-0.5.3/debian/manpages/iosock.pl.1 @@ -0,0 +1,29 @@ +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH IOSOCK.PL 1 "December 9, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME +iosock.pl \- client for LCDd, the lcdproc server +.SH SYNOPSIS +.B iosock.pl +.SH DESCRIPTION +.B iosock.pl +is a small example client for LCDd, the lcdproc server. For more +information please see +.BR lcdproc (1) +and +.BR LCDd (8), +and http://lcdproc.omnipotent.net/. Or better yet, read the source! +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.SH SEE ALSO +.BR lcdproc (1), +.BR LCDd (8). +.br +.SH AUTHOR +This manual page was written by Jonathan Oxer , +for the Debian project (but may be used by others). --- lcdproc-0.5.3.orig/debian/manpages/lcdproc.1 +++ lcdproc-0.5.3/debian/manpages/lcdproc.1 @@ -0,0 +1,59 @@ +.TH lcdproc 1 "1-aug-01" "LCDproc" +.SH NAME +lcdproc - displays system status on LCDproc server +.SH SYNOPSIS +.B lcdproc +[\-s \fIserver\fP] [\-p \fIport\fP] [\fImode\fP [\fImode\fP ...]] +.SH DESCRIPTION +lcdproc connects to the LCDproc server to display status information about the system. +.PP +Currently, only Linux, xBSD and Solaris are supported with not all features being available on all platforms. +.SH OPTIONS +.I lcdproc +understands these options: +.TP 8 +.B \-s \fIserver\fP +Set the hostname which LCDproc is running on, assumed to be localhost unless otherwise set +.TP 8 +.B \-p \fIport\fP +Set the port which LCDproc is accepting connections on, assumed to be 13666 unless otherwise set +.TP 8 +.B \fImode\fP +Where mode is one of the following letters: +.RS +[C]pu [G]raph [T]ime [M]emory [X]load [D]isk [B]attery proc_[S]izes [O]ld_time big_cloc[K] [U]ptime CPU_SM[P] [A]bout +.RE +.PP + +.SH EXAMPLES +lcdproc C M D X + +.TP 8 +connects to the LCDproc server and specifies the following modes: +.RS +- CPU Usage +.PP +- Memory usage +.PP +- Uptime +.PP +- Date and Time +.PP +- X-Load average over time +.RE +.PP + + +.SH AUTHOR +LCDproc was written by William Ferrell (wwf@splatwerks.org) and Scott Scriven (scriven@cs.colostate.edu). + +The newest version of LCDproc should be available from here: + + http://lcdproc.omnipotent.net/ + +.SH LEGAL STUFF +LCDproc is released as "WorksForMe-Ware". In other words, it is free, kinda neat, and we don't guarantee that it will do anything in particular on any machine except the ones it was developed on. +.PP +It is technically released under the GNU GPL license (you should have received the file, "COPYING", with LCDproc) (also, look on http://www.fsf.org/ for more information), so you can distribute and use it for free -- but you must make the source code freely available to anyone who wants it. +.PP +For any sort of real legal information, read the GNU GPL (GNU General Public License). It's worth reading. --- lcdproc-0.5.3.orig/debian/manpages/tail.pl.1 +++ lcdproc-0.5.3/debian/manpages/tail.pl.1 @@ -0,0 +1,30 @@ +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH TAIL.PL 1 "December 9, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME +tail.pl \- client for LCDd, the lcdproc server +.SH SYNOPSIS +.B tail.pl +[file] +.SH DESCRIPTION +.B tail.pl +is a small example client for LCDd, the lcdproc server. For more +information please see +.BR lcdproc (1) +and +.BR LCDd (8), +and http://lcdproc.omnipotent.net/. Or better yet, read the source! +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.SH SEE ALSO +.BR lcdproc (1), +.BR LCDd (8). +.br +.SH AUTHOR +This manual page was written by Jonathan Oxer , +for the Debian project (but may be used by others). --- lcdproc-0.5.3.orig/debian/manpages/x11amp.pl.1 +++ lcdproc-0.5.3/debian/manpages/x11amp.pl.1 @@ -0,0 +1,29 @@ +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH X11AMP.PL 1 "December 9, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME +x11amp.pl \- client for LCDd, the lcdproc server +.SH SYNOPSIS +.B x11amp.pl +.SH DESCRIPTION +.B x11amp.pl +is a small example client for LCDd, the lcdproc server. For more +information please see +.BR lcdproc (1) +and +.BR LCDd (8), +and http://lcdproc.omnipotent.net/. Or better yet, read the source! +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.SH SEE ALSO +.BR lcdproc (1), +.BR LCDd (8). +.br +.SH AUTHOR +This manual page was written by Jonathan Oxer , +for the Debian project (but may be used by others). --- lcdproc-0.5.3.orig/debian/manpages/LCDd.8 +++ lcdproc-0.5.3/debian/manpages/LCDd.8 @@ -0,0 +1,306 @@ +.TH LCDd 8 "9 September 2001" LCDproc +.SH NAME +LCDd - LCDproc server daemon +.SH SYNOPSIS +.B LCDd +[\-\-help] +[\-\-type <\fIsize\fP>] +[\-\-driver <\fIdriver\fP> [\fIargs\fP] ] +[\-\-foreground \fI\fP] +[\-\-backlight <\fImode\fP>] +[\-\-serverinfo off] +.SH DESCRIPTION +LCDd is the server portion of LCDproc which listens to a certain port (normally 13666) and displays information on an LCD display. It works with several types +and sizes of displays. +.PP +LCDd will attempt to open /dev/lcd by default and will error if this +device is not available. In most cases, it should be sufficient to +link /dev/lcd to the appropriate serial or parallel device. +.PP +To make full use of LCDd, a client such as lcdproc(1) is required. +.SH OPTIONS +Available +.I LCDd +options are: +.TP 8 +.B \-h, \-\-help +Display this help screen +.TP 8 +.B \-t, \-\-type +select an LCD size (20x4, 16x2, etc...) +.TP 8 +.B \-d, \-\-driver <\fIdriver\fP> [\fIargs\fP] +Adds (another) driver to use to display information. Any \fIargs\fP specified will be +passed to the chosen driver for initialization. +.TP 8 +.B \-f, \-\-foreground +Run in the foreground (no daemon) +.TP 8 +.B \-b\fP,\fB \-\--backlight \fI\fP +Set backlight mode (on, off, open) +.TP 8 +.B \-i, \-\-serverinfo off +Set the server screen to low priority +.PP +Help on each driver's parameters are obtained upon request: +"LCDd -d driver --help" +.SS +Supported Drivers +Supported display drivers include: +.TP +.B CFontz +CrystalFontz LCD displays +.TP +.B curses +Standard video display using the ncurses library +.TP +.B HD44780 +Hitachi HD44780 LCD displays +.TP +.B BayRad +EMAC BayRad displays +.TP +.B irmanin +IrMan infrared (input) +.TP +.B lircin +Infrared (input) +.TP +.B sli +Wirz SLI driver (unknown) +.TP +.B joy +Joystick driver (input) +.TP +.B MtxOrb +Matrix Orbital displays (not Matrix Orbital GLK displays) +.TP +.B LB216 +LB216 LCD display +.TP +.B glk +Matrix Orbital GLK graphical LCD displays +.TP +.B text +Standard "hard-copy" text display +.TP +.B debug +Undocumented debug driver +.PP +Multiple drivers can be used simultaneously; thus, for example, a Matrix Orbital display (MtxOrb driver) +can be combined with the an infrared driver (irmanin driver). +.SH INVOCATION +.TP +LCDd -d MtxOrb "--device /dev/lcd --contrast 200" -d joy +Start LCDd with the Matrix Orbital driver and the Joystick input driver, +with the /dev/lcd device and a contrast value of 200. +.SH SERVER PROTOCOL +There is a basic sequence: +.TP 8 +1. Open a TCP connection to the LCDd server port (usually 13666). +.TP 8 +2. Say "hello" +.TP 8 +3. The server will return some information on the type +of display available. +.TP 8 +4. Define (and use) a new screen and its widgets. +.TP 8 +5. Close the socket when done displaying data. +.PP +There are many commands for the LCDd server: +.TP 8 +.B hello +This starts a client-server session with the LCDd server; the +server will return a data string detailing the type of display +and its size. +.TP 8 +.B client_set [-name #id] +Set the client's name, etc. +.TP 8 +.B screen_add #id +Add a new screen to the display. +.TP 8 +.B screen_del #id +Remove a screen from the display. +.TP 8 +.B screen_set \fI#id\fP [\fB-priority\fI number\fP] [\fB-name\fI "my_name"\fP] [\fB-duration\fI integer\fP] [\fB-wid\fI width\fP] [\fB-hgt\fI height\fP] [\fB-heartbeat\fI mode\fP] +Initialize a screen, or reset its data. +.TP 8 +.B widget_add \fI#screen #id type\fR [\fB-in \fI#id\fR] +Add a widget to screen \fI#screen\fR. +.TP +.B widget_del \fI#screen #id\fR +Delete widget \fI#id\fR from screen \fI#screen\fR. +.TP +.B widget_set \fI#screen #id data\fR +Set the data used to define a particular widget \fI#id\fR on screen +\fI#screen\fR. +.SS +Heartbeat Modes +Valid heartbeat mode values (for the \fBscreen_set\fR command) are: +.TP +.BR on , " heart" +Display heart symbol. +.TP +.BR normal , " default" +Normal display. +.TP +.BR off , " none" +No heartbeat display. +.TP +.B slash +Display rotating slash display. +.SS +Priorities +Valid priority values (used in the \fBscreen_set\fR command) are as follows: +.TP +.B 0 +This is rather extreme; \fIdon't do this!\fR +.TP +.B 1 +Extremely important! +.TP +.B 16 +Emergency priority +.TP +.B 32 +Very high priority (important) +.TP +.B 64 +High priority (normal) +.TP +.B 128 +Normal (recommended) +.TP +.B 192 +Low priority (normal) +.TP +.B 224 +Very low priority (very unimportant) +.TP +.B 240 +Extremely low priority +.TP +.B 255 +This screen won't show up very much even if there are +no other screens queued... +.PP +An example of how to properly use priorities is as follows: +.PP +Imagine you're making an mp3 player for lcdproc. When the +song changes, it's nice to display the new name immediately. +So, you could set your screen's priority to 64, wait for +the server to display (or ignore) your screen, then set the +screen back to 128. This would cause the mp3 screen to +show up as soon as the one onscreen was finished, then +return to normal priority afterward. +.PP +Or, let's say your client monitors the health of hospital +patients. If one of the patients has a heart attack, you +could set the screen priority to 16 (emergency), and it +would be displayed immediately. It wouldn't even wait for +the previous screen to finish. Also, the display would stay +on screen most of the time until the user did something about it. +.PP +A priority of 1 would stay onscreen permanently, with +flashing lights and other visual cues if possible. +Using this priority is \fInot\fR recommended. +.PP +The duration can be either a positive number, or -1. A +positive number (greater than zero) indicates how many +display frames the screen should last. A 0 (zero) or -1 means +that the server should use "auto" duration, which is +probably a good idea. This will be +whatever the user wants. It defaults to 4 seconds (32 +frames), or will be a calculated value for things such as scrollers. +.SS +Widget Types +Widgets can be any of the following: +.TP +.B string +A text string to display (as is). +.TP +.B hbar +A horizontal bar graph. +.TP +.B vbar +A vertical bar graph. +.TP +.B title +A title displayed across the top of the display, within a banner. +.TP +.B icon +A graphic icon. +.TP +.B scroller +A scrolling text display, scrolling either horizontally or vertically. +.TP +.B frame +A \fIcontainer\fR to contain other widgets, permitting them to be refered to +as a single unit. A widget is put inside a frame by using the -in \fI#id\fR +parameter, where \fI#id\fR refers to the id of the frame. +.PP +Widgets are drawn on the screen in the order they are created. +.SS Setting Widget Data +In the \fBwidget_set\fR command, the \fIdata\fR argument depends on which widget is being +set. Each widget takes a particular set of arguments which defines its form and behavior: +.TP +.B string +x y text +.TP +.B hbar +x y length_in_pixels +.TP +.B vbar +x y length_in_pixels +.TP +.B icon +x y binary_data +.TP +.B title +text +.TP +.B scroller +left top right bottom direction speed text +.sp +The \fItext\fR defined will scroll in the direction defined. Valid directions +are \fBh\fR (horizontal) and \fBv\fR (vertical). The speed defines how many +"movements" (or changes) will occur per frame. A positive number indicates +frames per movement; a negative number indicates movements per frame. +.TP +.B frame +left top right bottom wid hgt dir speed +.sp +Frames define a visible "box" on screen, +from the (\fIleft\fR, \fItop\fR) corner to the +(\fIright\fR, \fIbottom\fR) corner. The actual data may be bigger, +and is defined as \fIwid\fR (width) by \fIhgt\fR (height); if it is +bigger, then the frame will scroll in the direction (\fIdir\fR) +and \fIspeed\fR defined. +.SH BUGS +If LCDd seems to quietly disappear upon invocation or other similar problems, +check the order of the options and the quoting involved. Some combinations +of options will be misread and thus fail. +.PP +Try using the -d option last. +.SH AUTHOR +LCDd was written by William Ferrell (choadster@earthlink.net) and Scott Scriven +(scriven@cs.colostate.edu). + +The newest version of LCDd should be available from here as part of the lcdproc package: + + http://www.lcdproc.org/ + +.SH LEGAL STUFF +The lcdproc package is released as "WorksForMe-Ware". In other words, it is free, kinda nea +t, and we don't guarantee that it will do anything in particular on any machine +except the ones it was developed on. +.PP +It is technically released under the GNU GPL license (you should have received t +he file, "COPYING", with LCDproc) (also, look on http://www.fsf.org/ for more in +formation), so you can distribute and use it for free -- but you must make the s +ource code freely available to anyone who wants it. +.PP +For any sort of real legal information, read the GNU GPL (GNU General Public Lic +ense). It's worth reading. --- lcdproc-0.5.3.orig/debian/manpages/lcdmetar.pl.1 +++ lcdproc-0.5.3/debian/manpages/lcdmetar.pl.1 @@ -0,0 +1,29 @@ +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH LCDMETAR.PL 1 "December 9, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME +lcdmetar.pl \- client for LCDd, the lcdproc server +.SH SYNOPSIS +.B lcdmetar.pl +.SH DESCRIPTION +.B lcdmetar.pl +is a small example client for LCDd, the lcdproc server. For more +information please see +.BR lcdproc (1) +and +.BR LCDd (8), +and http://lcdproc.omnipotent.net/. Or better yet, read the source! +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.SH SEE ALSO +.BR lcdproc (1), +.BR LCDd (8). +.br +.SH AUTHOR +This manual page was written by Jonathan Oxer , +for the Debian project (but may be used by others). --- lcdproc-0.5.3.orig/debian/manpages/fortune.pl.1 +++ lcdproc-0.5.3/debian/manpages/fortune.pl.1 @@ -0,0 +1,29 @@ +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH FORTUNE.PL 1 "December 9, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME +fortune.pl \- client for LCDd, the lcdproc server +.SH SYNOPSIS +.B fortune.pl +.SH DESCRIPTION +.B fortune.pl +is a small example client for LCDd, the lcdproc server. For more +information please see +.BR lcdproc (1) +and +.BR LCDd (8), +and http://lcdproc.omnipotent.net/. Or better yet, read the source! +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.SH SEE ALSO +.BR lcdproc (1), +.BR LCDd (8). +.br +.SH AUTHOR +This manual page was written by Jonathan Oxer , +for the Debian project (but may be used by others). --- lcdproc-0.5.3.orig/debian/manpages/lcdident.pl.1 +++ lcdproc-0.5.3/debian/manpages/lcdident.pl.1 @@ -0,0 +1,29 @@ +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH LCDIDENT.PL 1 "March 19, 2009" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME +lcdident.pl \- client for LCDd, the lcdproc server +.SH SYNOPSIS +.B lcdident.pl +.SH DESCRIPTION +.B lcdident.pl +is a small example client for LCDd, the lcdproc server. For more +information please see +.BR lcdproc (1) +and +.BR LCDd (8), +and http://lcdproc.omnipotent.net/. Or better yet, read the source! +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.SH SEE ALSO +.BR lcdproc (1), +.BR LCDd (8). +.br +.SH AUTHOR +This manual page was written by Jonathan Oxer , +for the Debian project (but may be used by others). --- lcdproc-0.5.3.orig/debian/manpages/lcdheadlines.1 +++ lcdproc-0.5.3/debian/manpages/lcdheadlines.1 @@ -0,0 +1,29 @@ +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH LCDHEADLINES.PL 1 "December 9, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME +lcdheadlines.pl \- client for LCDd, the lcdproc server +.SH SYNOPSIS +.B lcdheadlines.pl +.SH DESCRIPTION +.B lcdheadlines.pl +is a small example client for LCDd, the lcdproc server. For more +information please see +.BR lcdproc (1) +and +.BR LCDd (8), +and http://lcdproc.omnipotent.net/. Or better yet, read the source! +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.SH SEE ALSO +.BR lcdproc (1), +.BR LCDd (8). +.br +.SH AUTHOR +This manual page was written by Jonathan Oxer , +for the Debian project (but may be used by others). --- lcdproc-0.5.3.orig/server/drivers/imonlcd.c +++ lcdproc-0.5.3/server/drivers/imonlcd.c @@ -1180,10 +1180,18 @@ send_packet(PrivateData *p) { int err; + struct timespec req; + + req.tv_sec = 0; + // 1,600,000 is a little too small. 2,000,000 never fails + //req.tv_nsec = 2000000L; + req.tv_nsec = 1700000L; + nanosleep(&req, NULL); + err = write(p->imon_fd, p->tx_buf, sizeof(p->tx_buf)); if (err <= 0) - printf("%s: error writing to file descriptor: %d", "imon", err); + printf("%s: error writing to file descriptor: %d\n", "imon", err); } --- lcdproc-0.5.3.orig/clients/lcdproc/machine_Linux.c +++ lcdproc-0.5.3/clients/lcdproc/machine_Linux.c @@ -1,5 +1,5 @@ -#ifdef linux +#if defined(linux) || defined(__GLIBC__) #include #include