summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2004-02-25 00:52:33 +0000
committercube <cube@pkgsrc.org>2004-02-25 00:52:33 +0000
commit0def2841c3274c75b9adf5c4e13afa7f6b5837f6 (patch)
tree467749681f38e5ef49cafb7b76f93f79bec9cc12 /misc
parent536da247e2f0fd4508295eae7f6ca5cbb5dcfc1e (diff)
downloadpkgsrc-0def2841c3274c75b9adf5c4e13afa7f6b5837f6.tar.gz
Initial import of gkrellm-leds, version 0.8.1 into the NetBSD Package
Collection. 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. It also lets you toggle the indicator state via mouse clicks.
Diffstat (limited to 'misc')
-rw-r--r--misc/gkrellm-leds/DESCR5
-rw-r--r--misc/gkrellm-leds/Makefile21
-rw-r--r--misc/gkrellm-leds/PLIST2
-rw-r--r--misc/gkrellm-leds/distinfo5
-rw-r--r--misc/gkrellm-leds/patches/patch-aa24
5 files changed, 57 insertions, 0 deletions
diff --git a/misc/gkrellm-leds/DESCR b/misc/gkrellm-leds/DESCR
new file mode 100644
index 00000000000..32d6d85916c
--- /dev/null
+++ b/misc/gkrellm-leds/DESCR
@@ -0,0 +1,5 @@
+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.
+It also lets you toggle the indicator state via mouse clicks.
diff --git a/misc/gkrellm-leds/Makefile b/misc/gkrellm-leds/Makefile
new file mode 100644
index 00000000000..d641efb8014
--- /dev/null
+++ b/misc/gkrellm-leds/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/25 00:52:33 cube Exp $
+#
+
+DISTNAME= gkleds-0.8.1
+PKGNAME= ${DISTNAME:S/^gk/gkrellm-/}
+CATEGORIES= misc
+MASTER_SITES= http://heim.ifi.uio.no/~oyvinha/files/files/
+
+MAINTAINER= cube@NetBSD.org
+HOMEPAGE= http://heim.ifi.uio.no/~oyvinha/article.php?2.0.0
+COMMENT= GKrellM plugin that monitors CapsLock, NumLock and ScrollLock keys
+
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= make
+ALL_TARGET= unix
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/gkleds.so ${PREFIX}/lib/gkrellm2/plugins
+
+.include "../../sysutils/gkrellm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/gkrellm-leds/PLIST b/misc/gkrellm-leds/PLIST
new file mode 100644
index 00000000000..b8cae9615a0
--- /dev/null
+++ b/misc/gkrellm-leds/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/25 00:52:33 cube Exp $
+lib/gkrellm2/plugins/gkleds.so
diff --git a/misc/gkrellm-leds/distinfo b/misc/gkrellm-leds/distinfo
new file mode 100644
index 00000000000..2ebc20226bc
--- /dev/null
+++ b/misc/gkrellm-leds/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/25 00:52:33 cube Exp $
+
+SHA1 (gkleds-0.8.1.tar.gz) = 4b126ea47470430adf2938b79c6e1aa70371912e
+Size (gkleds-0.8.1.tar.gz) = 44904 bytes
+SHA1 (patch-aa) = 12d84074a4cc3a5562700ff7be06677fcad417c2
diff --git a/misc/gkrellm-leds/patches/patch-aa b/misc/gkrellm-leds/patches/patch-aa
new file mode 100644
index 00000000000..9b7a4d8e669
--- /dev/null
+++ b/misc/gkrellm-leds/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/25 00:52:33 cube Exp $
+
+--- Makefile.orig 2003-01-29 00:14:08.000000000 +0100
++++ Makefile
+@@ -3,7 +3,7 @@ SHELL = /bin/sh
+ GTK_INCLUDES = `pkg-config gtk+-2.0 --cflags`
+ GTK_LIBS = `pkg-config gtk+-2.0 --libs`
+
+-X11_LIB = -L/usr/X11R6/lib -lX11 -lXtst
++X11_LIB = -L$(X11BASE)/lib $(RPATH_FLAG)$(X11BASE)/lib -lX11 -lXtst
+
+ WIN32_LIBS = -luser32 -lkernel32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 -lws2_32 $(GTK_LIBS)
+ UNIX_LIBS = $(X11_LIB) $(GTK_LIBS)
+@@ -11,8 +11,8 @@ UNIX_LIBS = $(X11_LIB) $(GTK_LIBS)
+ DEGUG = -DGKLEDS_DEBUG
+ LIBFLAGS = -shared
+ INCS = $(GTK_INCLUDES) -DGKLEDS_SELFCOMPILE
+-COMPFLAGS = -Wall -O2 -fPIC
+-CC = gcc
++COMPFLAGS = $(CFLAGS) -Wall -fPIC
++#CC = gcc
+
+ SRCS = src/gkleds.c src/gkleds_ind.c src/gkleds_conf.c src/gkrellm2/win32-plugin.c
+ HDRS = src/gkleds.h src/gkleds_ind.c src/gkleds_conf.c src/gkrellm2/win32-plugin.h