--- gkrellm-leds-0.8.0.orig/Makefile +++ gkrellm-leds-0.8.0/Makefile @@ -18,6 +18,8 @@ OBJS = gkleds.o IMAGES = leds.xpm +DESTDIR = + INSTALL_PROG = install .PHONY : clean @@ -45,13 +47,13 @@ rm -rf src/*~ src/\#* install : gkleds.so - @ if [ $$UID -ne 0 ]; \ + @ if [ "$$UID" -ne 0 ]; \ then PLUGIN_DIR=$$HOME/.gkrellm2/plugins; \ elif [ -e /usr/bin/gkrellm ]; \ then PLUGIN_DIR=/usr/lib/gkrellm2/plugins; \ else \ PLUGIN_DIR=/usr/local/lib/gkrellm2/plugins; \ fi; \ - $(INSTALL_PROG) -d $$PLUGIN_DIR; \ - $(INSTALL_PROG) -s gkleds.so $$PLUGIN_DIR; \ + $(INSTALL_PROG) -d $(DESTDIR)/$$PLUGIN_DIR; \ + $(INSTALL_PROG) -s gkleds.so $(DESTDIR)/$$PLUGIN_DIR; \ printf "\ngkleds installed in $$PLUGIN_DIR\n" --- gkrellm-leds-0.8.0.orig/debian/control +++ gkrellm-leds-0.8.0/debian/control @@ -0,0 +1,15 @@ +Source: gkrellm-leds +Section: x11 +Priority: extra +Maintainer: Mike Markley +Build-Depends: debhelper (>> 3.0.0), gkrellm (>> 2.0) | gkrellm2, libx11-dev, libxtst-dev, x11proto-core-dev, libgtk2.0-dev +Standards-Version: 3.5.8 + +Package: gkrellm-leds +Architecture: any +Depends: gkrellm (>> 2.0) | gkrellm2, ${shlibs:Depends} +Description: Keyboard LED monitor for GKrellM + gkrellm-leds (aka gkleds) is a GKrellM plugin which monitors the + CapsLock, NumLock and ScrollLock keys and reports their current + status via on screen LEDs. This is useful for people who have + keyboards without LEDs (typically cordless keyboards). --- gkrellm-leds-0.8.0.orig/debian/changelog +++ gkrellm-leds-0.8.0/debian/changelog @@ -0,0 +1,23 @@ +gkrellm-leds (0.8.0-1.2) unstable; urgency=low + + [Jari Aalto] + * Non-maintainer upload. + * debian/control + - (Build-Depends): update obsolete x-dev to x11proto-core-dev. + (important RC bug; Closes: #515496). + + -- Jari Aalto Sat, 27 Mar 2010 21:05:03 +0200 + +gkrellm-leds (0.8.0-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Split xlibs-dev build-dep (Closes: #346741). + + -- Luk Claes Sun, 22 Jan 2006 18:56:09 +0100 + +gkrellm-leds (0.8.0-1) unstable; urgency=low + + * Initial Release. + + -- Mike Markley Sat, 18 Jan 2003 17:44:50 -0800 + --- gkrellm-leds-0.8.0.orig/debian/rules +++ gkrellm-leds-0.8.0/debian/rules @@ -0,0 +1,71 @@ +#!/usr/bin/make -f + +export DH_COMPAT=4 + + + +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 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/gkrellm-leds + + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs Changelog + 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 configure --- gkrellm-leds-0.8.0.orig/debian/docs +++ gkrellm-leds-0.8.0/debian/docs @@ -0,0 +1,3 @@ +README +TODO +Themes --- gkrellm-leds-0.8.0.orig/debian/copyright +++ gkrellm-leds-0.8.0/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Mike Markley on +Sat, 18 Jan 2003 17:44:50 -0800. + +It was downloaded from http://www.stud.ifi.uio.no/~oyvinha/gkleds/ + +Upstream Author: Øyvind Hagen + +Copyright: + + This package 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; version 2 dated June, 1991. + + This package 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 package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- gkrellm-leds-0.8.0.orig/debian/dirs +++ gkrellm-leds-0.8.0/debian/dirs @@ -0,0 +1 @@ +usr/lib/gkrellm2/plugins