pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gkrellm1-wireless Re-import og net/gkrellm-wireles...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a33902141617
branches:  trunk
changeset: 469550:a33902141617
user:      cube <cube%pkgsrc.org@localhost>
date:      Tue Feb 24 23:28:35 2004 +0000

description:
Re-import og net/gkrellm-wireless as net/gkrellm1-wireless to leave space
for the GKrellM-2 port of the wireless plugin.

diffstat:

 net/gkrellm1-wireless/DESCR            |   4 +++
 net/gkrellm1-wireless/Makefile         |  25 ++++++++++++++++++++++++
 net/gkrellm1-wireless/PLIST            |   2 +
 net/gkrellm1-wireless/distinfo         |   6 +++++
 net/gkrellm1-wireless/patches/patch-aa |  35 ++++++++++++++++++++++++++++++++++
 net/gkrellm1-wireless/patches/patch-ab |  17 ++++++++++++++++
 6 files changed, 89 insertions(+), 0 deletions(-)

diffs (113 lines):

diff -r 8fb038716c50 -r a33902141617 net/gkrellm1-wireless/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-wireless/DESCR       Tue Feb 24 23:28:35 2004 +0000
@@ -0,0 +1,4 @@
+gkrellmwireless is a plugin for gkrellm that shows the signal
+strength/quality/noise of a wireless ethernet card.
+
+Currently only wi(4) (Lucent ORiNOCO and derivatives) interfaces are supported.
diff -r 8fb038716c50 -r a33902141617 net/gkrellm1-wireless/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-wireless/Makefile    Tue Feb 24 23:28:35 2004 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 23:28:35 cube Exp $
+
+DISTNAME=              gkrellmwireless-0.2.2
+PKGNAME=               gkrellm-wireless-0.2.2
+PKGREVISION=           4
+CATEGORIES=            net sysutils
+MASTER_SITES=          http://gkrellm.luon.net/files/
+
+MAINTAINER=            jasper%pointless.net@localhost
+HOMEPAGE=              http://gkrellm.luon.net/gkrellmwireless.phtml
+COMMENT=               Wavelan signal strength monitor for gkrellm
+
+ONLY_FOR_PLATFORM=     *BSD-*-* Linux-*-*
+
+USE_BUILDLINK2=                # defined
+USE_GNU_TOOLS+=                make
+
+do-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm/plugins
+       ${INSTALL_PROGRAM} ${WRKSRC}/wireless.so ${PREFIX}/lib/gkrellm/plugins/
+
+.include "../../graphics/imlib/buildlink2.mk"
+.include "../../sysutils/gkrellm/buildlink2.mk"
+.include "../../x11/gtk/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8fb038716c50 -r a33902141617 net/gkrellm1-wireless/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-wireless/PLIST       Tue Feb 24 23:28:35 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/24 23:28:35 cube Exp $
+lib/gkrellm/plugins/wireless.so
diff -r 8fb038716c50 -r a33902141617 net/gkrellm1-wireless/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-wireless/distinfo    Tue Feb 24 23:28:35 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/24 23:28:35 cube Exp $
+
+SHA1 (gkrellmwireless-0.2.2.tar.gz) = 184d1aa034e4cf4a76d279d8bf0dcc278b134252
+Size (gkrellmwireless-0.2.2.tar.gz) = 7971 bytes
+SHA1 (patch-aa) = df80eba1947398684988f199c462185b1ab02c0d
+SHA1 (patch-ab) = 79aa9a9648e9bd450662a88521cc7e75f38ffd3e
diff -r 8fb038716c50 -r a33902141617 net/gkrellm1-wireless/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-wireless/patches/patch-aa    Tue Feb 24 23:28:35 2004 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/24 23:28:35 cube Exp $
+
+--- Makefile.orig      Sun Sep  9 10:12:41 2001
++++ Makefile
+@@ -12,6 +12,9 @@
+       GTK_CONFIG = gtk-config
+ endif
+ 
++ifeq ($(OS),NetBSD)
++      GTK_CONFIG = gtk-config
++endif
+ 
+ GTK_INCLUDE = `$(GTK_CONFIG) --cflags gthread`
+ GTK_LIB = `$(GTK_CONFIG) --libs gthread`
+@@ -20,17 +23,17 @@
+ IMLIB_LIB = `imlib-config --libs-gdk`
+ 
+ 
+-FLAGS = -g -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(INCLUDE)
++CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(INCLUDE) -I${PREFIX}/include
+ LIBS = $(GTK_LIB) $(IMLIB_LIB)
+ LFLAGS = -shared
+ 
+-CC = gcc $(CFLAGS) $(FLAGS)
++CC = gcc $(CFLAGS)
+ 
+ OBJS = wireless.o
+ 
+ INSTALL = install -c -s 
+ INSTALL_PERMS = -m 755
+-PLUGIN_DIR = /usr/lib/gkrellm/plugins
++PLUGIN_DIR = ${PREFIX}/lib/gkrellm/plugins
+ 
+ 
+ all:  wireless.so
diff -r 8fb038716c50 -r a33902141617 net/gkrellm1-wireless/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-wireless/patches/patch-ab    Tue Feb 24 23:28:35 2004 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/02/24 23:28:35 cube Exp $
+
+--- wireless.h.orig    Sun Sep  9 09:25:55 2001
++++ wireless.h
+@@ -32,7 +32,11 @@
+   #include <net/if_ether.h>
+   #include <net/if_media.h>
+   #include <net/if_ieee80211.h>
+-  #include <dev/pcmcia/if_wi_ieee.h>
++# if __NetBSD_Version__ > 105210000
++    #include <dev/ic/wi_ieee.h>
++# else
++    #include <dev/pcmcia/if_wi_ieee.h>
++# endif
+ #endif
+ 
+ #define PLUGIN_CONFIG_KEYWORD "gkrellmwireless"



Home | Main Index | Thread Index | Old Index