debian/0000755000000000000000000000000012153334660007171 5ustar debian/digitools.default0000644000000000000000000000015211722707611012533 0ustar # Defaults for digitools initscript # Set this to yes if you want to enable Wake-On-CIR WAKE_ON_CIR="no" debian/rules0000755000000000000000000000344511722745206010262 0ustar #!/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 # This has to be exported to make some magic below work. export DH_OPTIONS CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif configure: configure-stamp configure-stamp: dh_testdir # Add here commands to configure the package. touch configure-stamp #Architecture build: configure build-stamp build-stamp: configure-stamp # Add here commands to compile the arch part of the package. $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) clean dh_clean install: build dh_testdir dh_testroot dh_clean dh_installdirs # Add here commands to install the arch part of the package into # debian/tmp. $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs CHANGELOG dh_installdocs dh_install --sourcedir=debian/tmp --list-missing dh_installinit --no-start -u "stop 91 0 6 ." dh_link dh_strip dh_compress dh_fixperms 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 configure debian/digitools.install0000644000000000000000000000001311722707611012551 0ustar usr/sbin/* debian/copyright0000644000000000000000000000245511722707611011133 0ustar This package was debianized by Cyril Lacoux (Yack) on Thu, 6 Apr 2006 21:39:48 +0200. It was downloaded from http://www.geexbox.org/src/devel/ Copyright Holders: (C) Copyright 2006 Andrew Calkin (C) Copyright 2004 Richard Taylor (C) Copyright 2004 Wojtek Kaniewski License: GNU GPL 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 along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA The Debian packaging is (C) 2007-2008, Cyril Lacoux (Yack) and is licensed under the GPL. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/digitools.dirs0000644000000000000000000000004111722707611012045 0ustar usr/sbin usr/share/doc/digitools debian/docs0000644000000000000000000000000711722707611010042 0ustar README debian/source/0000755000000000000000000000000011722745171010475 5ustar debian/source/format0000644000000000000000000000001411722745171011703 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012153334540010615 5ustar debian/patches/02_link_order.patch0000644000000000000000000000065512153334540014275 0ustar From: Colin Watson Subject: Libraries belong in LDLIBS rather than LDFLAGS, otherwise the link order will be wrong. Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ SBINDIR = $(PREFIX)/sbin # Users should not need to edit anything below this line. -LDFLAGS = -lasound +LDLIBS = -lasound CFLAGS = -Wall -Os LN = ln debian/patches/series0000644000000000000000000000004412153334540012030 0ustar 01_prefix.patch 02_link_order.patch debian/patches/01_prefix.patch0000644000000000000000000000077711722745154013456 0ustar From: Cyril Lacoux Subject: Change installation prefix from /usr/local to /usr diff -urNad trunk/Makefile /tmp/dpep.dxhCkY/trunk/Makefile --- trunk/Makefile 2006-04-05 21:00:59.000000000 +0200 +++ /tmp/dpep.dxhCkY/trunk/Makefile 2006-05-19 14:37:27.000000000 +0200 @@ -1,5 +1,5 @@ # Edit the line(s) below to change installation directory. -PREFIX = $(DESTDIR)/usr/local +PREFIX = $(DESTDIR)/usr SBINDIR = $(PREFIX)/sbin # Users should not need to edit anything below this line. debian/compat0000644000000000000000000000000211722745164010375 0ustar 9 debian/control0000644000000000000000000000213711722745164010605 0ustar Source: digitools Section: utils Priority: extra Maintainer: Cyril Lacoux (Yack) Build-Depends: debhelper (>= 9), libasound2-dev Standards-Version: 3.9.3 Package: digitools Architecture: i386 Depends: ${shlibs:Depends}, ${misc:Depends} Description: A set of tools to control ASUS Digimatrix embedded hardware This package is a combination of the previous programs asusfan and setpanel. Included in this package are the following tools: digifan: allows fan speed control (formerly asusfan) . digipanel: allows control of the LED display, and volume knob controls the soundcard master mixer channel (formerly part of setpanel) . digiradio: allows control of the in-built radio (formerly part of setpanel) . digiwake: allows for Wake-On-CIR (wake on remote) with existing versions of LIRC that support the digimatrix. This program just needs to be run after lircd, and the digimatrix will power on when pressing the music/(on/off) button on the remote control. debian/changelog0000644000000000000000000000265612153334660011054 0ustar digitools (1.03-1.2) unstable; urgency=low * Non-maintainer upload. * Put libraries in LDLIBS, not LDFLAGS (closes: #641833, LP: #831389). -- Colin Watson Tue, 04 Jun 2013 10:55:56 +0100 digitools (1.03-1.1) unstable; urgency=low * Non-maintainer upload; ACKed by the maintainer, see #664328. * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt" (Closes: #664328). * Update to Standards-Version to 3.9.3 and debhelper to 9. -- Jari Aalto Sat, 05 May 2012 22:15:14 +0300 digitools (1.03-1) unstable; urgency=low * New upstream release. * Bumped Standards-Version to 3.7.3 * Added description to patch 01_prefix.dpatch * Dont't call script at runlevel 1 (In fact, we only need to call the script at shutdown). * Fixed debian-rules-ignores-make-clean-error Lintian error. * Fixed copyright-without-copyright-notice Lintian error. * Fixed bashism on initscript (Closes: #480595) -- Cyril Lacoux (Yack) Fri, 16 May 2008 17:14:48 +0200 digitools (1.0-1.1) unstable; urgency=low * Non-maintainer upload. * Added LSB formatted dependency info in init.d script (closes: #469116) -- Peter Eisentraut Wed, 02 Apr 2008 02:21:06 +0200 digitools (1.0-1) unstable; urgency=low * Initial release. (Closes: ##367893) -- Cyril Lacoux (Yack) Thu, 6 Apr 2006 21:39:48 +0200 debian/digitools.init0000644000000000000000000000216711722707611012062 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: digitools # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: # Default-Stop: 0 6 # Short-Description: Wake-On-CIR for ASUS Digimatrix script ### END INIT INFO # # Cyril Lacoux # PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DIGIWAKE=/usr/sbin/digiwake NAME=digiwake DESC=digiwake WAKE_ON_CIR="no" test -x $DIGIWAKE || exit 0 # Include digitools defaults if available if [ -f /etc/default/digitools ] ; then . /etc/default/digitools fi if [ "${WAKE_ON_CIR}" != "yes" ] ; then exit 0 fi set -e case "$1" in start) echo -n "Enabling Wake-On-CIR: " ${DIGIWAKE} -w >/dev/null 2>&1 echo "$NAME." ;; stop) echo -n "Enabling Wake-On-CIR: " ${DIGIWAKE} -w >/dev/null 2>&1 echo "$NAME." ;; restart|reload|force-reload) echo -n "Enabling Wake-On-CIR: " ${DIGIWAKE} -w >/dev/null 2>&1 echo "$NAME." ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start}" >&2 exit 1 ;; esac exit 0