aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2006-08-26 11:18:35 +0200
committerReinhard Tartler <siretart@tauware.de>2006-08-26 11:18:35 +0200
commit0609070248187606505cc1b4667790a7c5ea43f0 (patch)
tree6567a67f448028e6cf89a6084afe34e02593dc36
parentf7a3ca2c72b35576170b3dec6afc6c887dca4bca (diff)
downloadlcd4linux-0609070248187606505cc1b4667790a7c5ea43f0.tar.gz
import new debianisation
-rw-r--r--debian/changelog40
-rw-r--r--debian/compat1
-rw-r--r--debian/control13
-rw-r--r--debian/copyright24
-rw-r--r--debian/dirs2
-rw-r--r--debian/docs7
-rw-r--r--debian/init.d75
-rw-r--r--debian/install1
-rwxr-xr-xdebian/rules99
9 files changed, 262 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d5e1e90
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,40 @@
+lcd4linux (0.10.0+cvs20060825-1) unstable; urgency=low
+
+ * New Maintainer!
+ * new upstream snapshot
+ * now supporting USB2LCD
+ * Acking NMU, Thanks Steinar! (Closes: #374682)
+ * remove build-dependency on automake (Closes: #381812)
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 25 Aug 2006 21:17:29 +0200
+
+lcd4linux (0.10.0+cvs20051015-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Build-depend on libxt-dev, to make sure configure detects X; fixes FTBFS.
+ (Closes: #374682)
+
+ -- Steinar H. Gunderson <sesse@debian.org> Thu, 6 Jul 2006 18:10:58 +0200
+
+lcd4linux (0.10.0+cvs20051015-3) unstable; urgency=low
+
+ * Use libgd2-noxpm-dev instead libgd2-xpm-dev in build-dependencies.
+ (closes: #335834)
+ * Built against libmysqlclient15-dev instead libmysqlclient14-dev.
+ (closes: #343770)
+
+ -- Norbert Tretkowski <nobse@debian.org> Tue, 21 Feb 2006 22:42:57 +0100
+
+lcd4linux (0.10.0+cvs20051015-2) unstable; urgency=low
+
+ * Added libmysqlclient-dev, python-dev, libx11-dev, libncurses5-dev, libusb-dev
+ and libgd2-xpm-dev to build-dependencies.
+
+ -- Norbert Tretkowski <nobse@debian.org> Mon, 24 Oct 2005 21:09:48 +0200
+
+lcd4linux (0.10.0+cvs20051015-1) unstable; urgency=low
+
+ * Initial release. (closes: #334114)
+
+ -- Norbert Tretkowski <nobse@debian.org> Sun, 16 Oct 2005 20:20:42 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..99c878a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,13 @@
+Source: lcd4linux
+Section: utils
+Priority: optional
+Maintainer: Reinhard Tartler <siretart@tauware.de>
+Build-Depends: debhelper (>= 4.0.0), libmysqlclient15-dev, python-dev, libx11-dev, libncurses5-dev, libusb-dev, libgd2-noxpm-dev, libxt-dev
+Standards-Version: 3.6.2
+
+Package: lcd4linux
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Grabs information and displays it on an external lcd
+ Small program that grabs information from the kernel and some subsystems
+ and displays it on an external liquid crystal display.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..939c9e4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,24 @@
+This package was debianized by Norbert Tretkowski <nobse@debian.org> on
+Sun, 16 Oct 2005 20:20:42 +0200.
+
+It was downloaded from http://ssl.bulix.org/projects/lcd4linux/
+
+Copyright Holder: Michael Reinelt <reinelt@eunet.at>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License with
+the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
+if not, write to the Free Software Foundation, Inc., 51 Franklin St,
+Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General Public
+License, version 2, can be found in /usr/share/common-licenses/GPL-2.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..44ac6eb
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+etc
+usr/sbin
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..f952cca
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,7 @@
+FAQ
+NEWS
+README
+README.Drivers
+README.KDE
+README.Plugins
+TODO
diff --git a/debian/init.d b/debian/init.d
new file mode 100644
index 0000000..b18176b
--- /dev/null
+++ b/debian/init.d
@@ -0,0 +1,75 @@
+#! /bin/sh
+#
+# skeleton example file to build /etc/init.d/ scripts.
+# This file should be used to construct scripts for /etc/init.d.
+#
+# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+# Modified for Debian
+# by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl
+#
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/lcd4linux
+NAME=lcd4linux
+DESC=lcd4linux
+
+test -x $DAEMON || exit 0
+
+# Include lcd4linux defaults if available
+if [ -f /etc/default/lcd4linux ] ; then
+ . /etc/default/lcd4linux
+fi
+
+set -e
+
+case "$1" in
+ start)
+ echo -n "Starting $DESC: "
+ chmod 600 /etc/lcd4linux.conf
+ start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+ --exec $DAEMON -- $DAEMON_OPTS
+ echo "$NAME."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: "
+ start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
+ --exec $DAEMON
+ echo "$NAME."
+ ;;
+ #reload)
+ #
+ # If the daemon can reload its config files on the fly
+ # for example by sending it SIGHUP, do it here.
+ #
+ # If the daemon responds to changes in its config file
+ # directly anyway, make this a do-nothing entry.
+ #
+ # echo "Reloading $DESC configuration files."
+ # start-stop-daemon --stop --signal 1 --quiet --pidfile \
+ # /var/run/$NAME.pid --exec $DAEMON
+ #;;
+ restart|force-reload)
+ #
+ # If the "reload" option is implemented, move the "force-reload"
+ # option to the "reload" entry above. If not, "force-reload" is
+ # just the same as "restart".
+ #
+ echo -n "Restarting $DESC: "
+ start-stop-daemon --stop --quiet --pidfile \
+ /var/run/$NAME.pid --exec $DAEMON
+ sleep 1
+ start-stop-daemon --start --quiet --pidfile \
+ /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+ echo "$NAME."
+ ;;
+ *)
+ 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
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..cfa71e8
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+lcd4linux.conf etc
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..746e4a8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# 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)
+
+# FOR AUTOCONF 2.52 AND NEWER ONLY
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+ confflags += --build $(DEB_HOST_GNU_TYPE)
+else
+ confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+config.status: configure
+ dh_testdir
+ ./configure $(confflags) \
+ --prefix=/usr \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info \
+ --bindir=/usr/sbin \
+ --with-x \
+ --x-includes=/usr/include \
+ --x-lib=/usr/lib \
+ --with-python
+
+# call this target to update config.sub and config.guess
+# need autotools-dev installed
+update-config-sub-guess:
+ -test -r /usr/share/misc/config.sub && \
+ cp -f /usr/share/misc/config.sub config.sub
+ -test -r /usr/share/misc/config.guess && \
+ cp -f /usr/share/misc/config.guess config.guess
+
+build: build-stamp
+build-stamp: config.status
+ dh_testdir
+ $(MAKE)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ -$(MAKE) distclean
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/lcd4linux
+
+
+# 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_installinit
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install