prepare for gkrellm2 import
This commit is contained in:
parent
baf87bbc2a
commit
989cc3734a
@ -1,33 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2002/12/29 19:29:56 fgsch Exp $
|
||||
|
||||
DISTNAME= volume-0.8
|
||||
PKGNAME= gkrellm-${DISTNAME}
|
||||
CATEGORIES= audio
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
COMMENT= "volume control plugin for gkrellm"
|
||||
HOMEPAGE= http://gkrellm.luon.net/volume.phtml
|
||||
MASTER_SITES= http://gkrellm.luon.net/files/
|
||||
|
||||
MAINTAINER= Joshua Stein <jcs@rt.fm>
|
||||
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
WRKDIST= ${WRKDIR}/volume
|
||||
BUILD_DEPENDS= :gkrellm->=0.9.9:sysutils/gkrellm
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
MAKE_FLAGS= GKRELLM_INCLUDE="-I${LOCALBASE}/include" \
|
||||
SYSLIB="-lossaudio"
|
||||
|
||||
do-install:
|
||||
@mkdir -p ${PREFIX}/lib/gkrellm/plugins
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/volume.so ${PREFIX}/lib/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (volume-0.8.tar.gz) = fae9f15afb750735e0201e2ef32a1638
|
||||
RMD160 (volume-0.8.tar.gz) = 11cfcedf4f695904b5d1b6900f89acbc5c6a8ae6
|
||||
SHA1 (volume-0.8.tar.gz) = 7348c8fc41bdc6c236442748ef3c803851a151f8
|
@ -1,17 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/08/07 00:13:20 naddy Exp $
|
||||
--- Makefile.orig Fri Jun 23 19:47:00 2000
|
||||
+++ Makefile Tue Aug 7 01:58:41 2001
|
||||
@@ -17,11 +17,11 @@ GTK_LIB = `$(GTK_CONFIG) --libs`
|
||||
IMLIB_INCLUDE = `imlib-config --cflags-gdk`
|
||||
IMLIB_LIB = `imlib-config --libs-gdk`
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
|
||||
+CFLAGS+= -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
|
||||
LIBS = $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB)
|
||||
LFLAGS = -shared
|
||||
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
+#CC = gcc $(CFLAGS) $(FLAGS)
|
||||
|
||||
INSTALL = install -c
|
||||
INSTALL_PROGRAM = $(INSTALL) -s
|
@ -1,20 +0,0 @@
|
||||
--- volume.c.orig Wed Nov 22 14:35:42 2000
|
||||
+++ volume.c Sun Mar 17 09:42:00 2002
|
||||
@@ -17,13 +17,16 @@
|
||||
| Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
+#include "volume.h"
|
||||
+
|
||||
#ifdef __FreeBSD__
|
||||
#include <machine/soundcard.h>
|
||||
+#elif __OpenBSD__
|
||||
+#include <soundcard.h>
|
||||
#else
|
||||
#include <sys/soundcard.h>
|
||||
#endif
|
||||
|
||||
-#include "volume.h"
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
|
@ -1,3 +0,0 @@
|
||||
A gkrellm plugin to control the OSS mixer.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/07 00:13:20 naddy Exp $
|
||||
lib/gkrellm/plugins/volume.so
|
@ -1,36 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2002/12/29 19:29:56 fgsch Exp $
|
||||
|
||||
DISTNAME= gkrellmms-0.5.5
|
||||
CATEGORIES= audio
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
COMMENT= "gkrellm plugin to control xmms"
|
||||
HOMEPAGE= http://gkrellm.luon.net/gkrellmms.phtml
|
||||
MASTER_SITES= http://gkrellm.luon.net/files/
|
||||
MASTER_SITES0= http://web.wt.net/~billw/gkrellm/Plugins/
|
||||
|
||||
MAINTAINER= Joshua Stein <jcs@rt.fm>
|
||||
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
PATCHFILES= gkrellmms-patch-0.5.5:0
|
||||
|
||||
WRKDIST= ${WRKDIR}/gkrellmms
|
||||
BUILD_DEPENDS= :gkrellm-*:sysutils/gkrellm \
|
||||
:xmms-*:audio/xmms
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
LIB_DEPENDS+= xmms::audio/xmms
|
||||
ALL_TARGET=
|
||||
|
||||
do-install:
|
||||
@mkdir -p ${PREFIX}/lib/gkrellm/plugins
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gkrellmms.so ${PREFIX}/lib/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,6 +0,0 @@
|
||||
MD5 (gkrellmms-0.5.5.tar.gz) = 51dcb7e48873ce56632e0f2148360178
|
||||
MD5 (gkrellmms-patch-0.5.5) = bd27baaeb52792a44ae16c890544d0d8
|
||||
RMD160 (gkrellmms-0.5.5.tar.gz) = 71ac8752abadcc11f3997450edd6fd2bc0de5f2d
|
||||
RMD160 (gkrellmms-patch-0.5.5) = 94258a871734d05eb13b4d37a7427eecaa7226ba
|
||||
SHA1 (gkrellmms-0.5.5.tar.gz) = afdf60b51f2cd974943364c377ea6f45edeb7ea8
|
||||
SHA1 (gkrellmms-patch-0.5.5) = 5c9994710d81ddbc2931465480b45791a512b972
|
@ -1,17 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/08/26 03:07:51 lebel Exp $
|
||||
--- Makefile.orig Sat Jan 20 14:28:38 2001
|
||||
+++ Makefile Sat Aug 25 21:32:31 2001
|
||||
@@ -10,11 +10,9 @@
|
||||
XMMS_INCLUDE = `xmms-config --cflags`
|
||||
XMMS_LIB = `xmms-config --libs`
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
|
||||
+CFLAGS+= -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
|
||||
LIBS = $(GTK_LIB) $(IMLIB_LIB) $(XMMS_LIB)
|
||||
-LFLAGS = -shared -lpthread
|
||||
-
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
+LFLAGS = -shared
|
||||
|
||||
OBJS = gkrellmms.o options.o playlist.o
|
||||
|
@ -1,3 +0,0 @@
|
||||
A plugin which allows you to control XMMS from within GKrellM.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/26 03:07:51 lebel Exp $
|
||||
lib/gkrellm/plugins/gkrellmms.so
|
@ -1,36 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2003/03/01 00:50:29 sturm Exp $
|
||||
|
||||
COMMENT= "GKrellM Sound Scope"
|
||||
|
||||
DISTNAME= gkrellmss-0.4
|
||||
CATEGORIES= audio
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
HOMEPAGE= http://web.wt.net/~billw/gkrellmss/gkrellmss.html
|
||||
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
||||
|
||||
MAINTAINER= David Lebel <lebel@openbsd.org>
|
||||
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= :gkrellm->=1.2.2:sysutils/gkrellm
|
||||
LIB_DEPENDS= esd::audio/esound \
|
||||
fftw,rfftw::math/fftw
|
||||
|
||||
ALL_TARGET=
|
||||
USE_GMAKE= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm/plugins
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/gkrellmss.so \
|
||||
${PREFIX}/lib/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (gkrellmss-0.4.tar.gz) = 205e591bb9743a30b4907328b26248a3
|
||||
RMD160 (gkrellmss-0.4.tar.gz) = 044c96bf5ad999643afb6d2e7364f57762b658c1
|
||||
SHA1 (gkrellmss-0.4.tar.gz) = 4906fb4d99b70c67ec5e3b5c6494cbd9ae8f31cd
|
@ -1,22 +0,0 @@
|
||||
$OpenBSD: patch-src_Makefile,v 1.4 2003/03/01 00:50:29 sturm Exp $
|
||||
--- src/Makefile.orig Mon Feb 25 13:12:36 2002
|
||||
+++ src/Makefile Fri Apr 19 13:53:05 2002
|
||||
@@ -11,7 +11,7 @@ FFTW_LIB_DIR ?=
|
||||
|
||||
FFTW_LIB = $(FFTW_LIB_DIR) -lrfftw -lfftw
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(ESD_INCLUDE)
|
||||
+CFLAGS+= -fPIC $(GTK_INCLUDE) $(ESD_INCLUDE)
|
||||
LIBS = $(GTK_LIB) $(ESD_LIB) $(FFTW_LIB) -lm
|
||||
LFLAGS = -shared
|
||||
|
||||
@@ -22,9 +22,6 @@ endif
|
||||
ifeq ($(enable_nls),1)
|
||||
FLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\"
|
||||
endif
|
||||
-
|
||||
-
|
||||
-CC = gcc $(FLAGS) $(CFLAGS)
|
||||
|
||||
OBJS = gkrellmss.o oscope.o spectrum.o sdlib.o
|
||||
|
@ -1,8 +0,0 @@
|
||||
GKrellMSS is a plugin for GKrellM that has a VU meter and a chart. The
|
||||
VU meter displays left and right channel audio levels. The sound scope
|
||||
chart draws combined left and right audio channels as an oscilloscope
|
||||
trace. The trace sweep speeds are adjustable from 100 usec/div to 50
|
||||
msec/div, and there is a vertical sensitivity adjustment. And of course,
|
||||
since it's a scope, it's triggered.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/26 03:45:02 lebel Exp $
|
||||
lib/gkrellm/plugins/gkrellmss.so
|
@ -1,41 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2002/10/27 00:03:16 naddy Exp $
|
||||
|
||||
COMMENT= "image and webcam display plugin for gkrellm"
|
||||
|
||||
DISTNAME= gkrellkam-0.3.4
|
||||
CATEGORIES= graphics
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
HOMEPAGE= http://gkrellkam.sourceforge.net/
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellkam/}
|
||||
DISTFILES= gkrellkam_0.3.4.tar.gz
|
||||
|
||||
MAINTAINER= Dan Weeks <danimal@danimal.org>
|
||||
|
||||
USE_X11= Yes
|
||||
USE_GMAKE= Yes
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
WRKDIST= ${WRKDIR}/gkrellkam-0.3.4
|
||||
BUILD_DEPENDS= :gkrellm-*:sysutils/gkrellm
|
||||
RUN_DEPENDS= :gkrellm-*:sysutils/gkrellm \
|
||||
:wget-*:net/wget
|
||||
|
||||
ALL_TARGET=
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-install:
|
||||
@mkdir -p ${PREFIX}/lib/gkrellm/plugins
|
||||
${INSTALL_MAN} ${WRKSRC}/gkrellkam-list.5 \
|
||||
${PREFIX}/man/man5/gkrellkam.5
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gkrellkam.so \
|
||||
${PREFIX}/lib/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (gkrellkam_0.3.4.tar.gz) = 177959994b1dfd9e47c59b9f1391c53d
|
||||
RMD160 (gkrellkam_0.3.4.tar.gz) = fe1f301f09f5fa86a09fc446b9f521f312ce9b53
|
||||
SHA1 (gkrellkam_0.3.4.tar.gz) = 95e5676875d2f7f4d24373bdb4082d92f815f589
|
@ -1,14 +0,0 @@
|
||||
--- Makefile.orig Mon Jan 7 17:29:51 2002
|
||||
+++ Makefile Wed May 8 21:19:03 2002
|
||||
@@ -10,9 +10,9 @@ TARGET = gkrellkam
|
||||
DESTDIR =
|
||||
|
||||
# This should point to the GKrellM headers
|
||||
-GKRELLM_HDRS = /usr/include/gkrellm
|
||||
+GKRELLM_HDRS = ${LOCALBASE}/include/gkrellm
|
||||
|
||||
-CC := gcc
|
||||
+#CC := gcc
|
||||
GTKFLAGS := $(shell gtk-config --cflags)
|
||||
IMLIBFLAGS := $(shell imlib-config --cflags-gdk)
|
||||
CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS)
|
@ -1,4 +0,0 @@
|
||||
A GKrellM plugin which displays user configured images.
|
||||
Good sources of images are web cams and the like.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,3 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/29 02:44:21 jcs Exp $
|
||||
lib/gkrellm/plugins/gkrellkam.so
|
||||
man/man5/gkrellkam.5
|
@ -1,33 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2002/12/29 19:49:40 fgsch Exp $
|
||||
|
||||
COMMENT= "analog clock plugin for gkrellm"
|
||||
V= 0.1
|
||||
DISTNAME= gkrellaclock-${V}
|
||||
CATEGORIES= misc
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
HOMEPAGE= http://www.geocities.com/m_muthukumar/gkrellaclock.html
|
||||
MASTER_SITES= http://www.geocities.com/m_muthukumar/
|
||||
|
||||
MAINTAINER= David Lebel <lebel@openbsd.org>
|
||||
|
||||
USE_X11= Yes
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
NO_REGRESS= Yes
|
||||
WRKDIST= ${WRKDIR}/gkrellAclock-${V}
|
||||
BUILD_DEPENDS= :gkrellm-*:sysutils/gkrellm
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
ALL_TARGET=
|
||||
|
||||
do-install:
|
||||
@mkdir -p ${PREFIX}/lib/gkrellm/plugins
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gkrellaclock.so \
|
||||
${PREFIX}/lib/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (gkrellaclock-0.1.tar.gz) = 07c52888f9c63c179e9ca7606ca0fde9
|
||||
RMD160 (gkrellaclock-0.1.tar.gz) = 4c3a0829e968ef5b64763ca5d05bb596807443f1
|
||||
SHA1 (gkrellaclock-0.1.tar.gz) = 0a98d68520934bae335476936c915fcde523815c
|
@ -1,3 +0,0 @@
|
||||
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,23 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/10/24 14:14:31 lebel Exp $
|
||||
--- Makefile.orig Tue Aug 21 15:03:01 2001
|
||||
+++ Makefile Thu Oct 18 10:08:31 2001
|
||||
@@ -4,17 +4,13 @@ GTK_LIB = `gtk-config --libs`
|
||||
IMLIB_INCLUDE = `imlib-config --cflags-gdk`
|
||||
IMLIB_LIB = `imlib-config --libs-gdk`
|
||||
|
||||
-
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
|
||||
-LIBS = $(GTK_LIB) $(IMLIB_LIB)
|
||||
+CFLAGS+= -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
|
||||
LFLAGS = -shared
|
||||
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
-
|
||||
OBJS = gkrellaclock.o
|
||||
|
||||
gkrellaclock.so: $(OBJS)
|
||||
- $(CC) $(OBJS) -o gkrellaclock.so $(LFLAGS) $(LIBS) -lpthread
|
||||
+ $(CC) $(OBJS) -o gkrellaclock.so $(LFLAGS) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f *.o core *.so* *.bak *~
|
@ -1,3 +0,0 @@
|
||||
Analog clock plugin for gkrellm.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/10/24 14:14:31 lebel Exp $
|
||||
lib/gkrellm/plugins/gkrellaclock.so
|
@ -1,30 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2002/12/29 19:49:40 fgsch Exp $
|
||||
|
||||
DISTNAME= reminder-0.3.5
|
||||
PKGNAME= gkrellm-${DISTNAME}
|
||||
CATEGORIES= misc
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
COMMENT= "gkrellm plugin to display reminders for important events"
|
||||
HOMEPAGE= http://www.engr.orst.edu/~simonsen/reminder/
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
MAINTAINER= Joshua Stein <jcs@rt.fm>
|
||||
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
BUILD_DEPENDS= :gkrellm-*:sysutils/gkrellm
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
do-install:
|
||||
@mkdir -p ${PREFIX}/lib/gkrellm/plugins
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/reminder.so ${PREFIX}/lib/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (reminder-0.3.5.tar.gz) = cd452ed4163c4cbeebc27812a2d98016
|
||||
RMD160 (reminder-0.3.5.tar.gz) = ab892665496e07dc8e4f22900b8e615c2a7bd79e
|
||||
SHA1 (reminder-0.3.5.tar.gz) = d1358d824bab8e5a3cb5241014137238ea5b6d8d
|
@ -1,20 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.2 2002/02/12 02:19:37 jcs Exp $
|
||||
--- Makefile.orig Mon Feb 11 20:13:32 2002
|
||||
+++ Makefile Mon Feb 11 20:14:23 2002
|
||||
@@ -4,13 +4,13 @@
|
||||
IMLIB_INCLUDE = `imlib-config --cflags-gdk`
|
||||
IMLIB_LIB = `imlib-config --libs-gdk`
|
||||
|
||||
-CFLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) -I/usr/pkg/include
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
|
||||
|
||||
LIBS = $(GTK_LIB) $(IMLIB_LIB)
|
||||
|
||||
-LFLAGS = -shared -L/usr/pkg/lib
|
||||
+LFLAGS += -shared
|
||||
|
||||
-CC = gcc
|
||||
+#CC = gcc
|
||||
|
||||
all: reminder.so
|
||||
|
@ -1,5 +0,0 @@
|
||||
gkrellm-reminder is a plugin for gkrellm that can remind you of
|
||||
important events. Events can be scheduled inside gkrellm's
|
||||
configuration and will be displayed in gkrellm-reminder's panel.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/09/15 08:41:00 jcs Exp $
|
||||
lib/gkrellm/plugins/reminder.so
|
@ -1,37 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2002/12/29 19:49:40 fgsch Exp $
|
||||
|
||||
DISTNAME= gkrellstock-0.4
|
||||
CATEGORIES= misc
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
COMMENT= "gkrellm plugin to display stock quotes"
|
||||
HOMEPAGE= http://gkrellstock.sourceforge.net/
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellstock/}
|
||||
|
||||
MAINTAINER= Joshua Stein <jcs@rt.fm>
|
||||
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
WRKDIST= ${WRKDIR}/gkrellStock-0.4
|
||||
BUILD_DEPENDS= :gkrellm-*:sysutils/gkrellm
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS} \
|
||||
:p5-Finance-Quote-*:misc/p5-Finance-Quote
|
||||
ALL_TARGET=
|
||||
|
||||
do-install:
|
||||
@mkdir -p ${PREFIX}/lib/gkrellm/plugins
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gkrellstock.so \
|
||||
${PREFIX}/lib/gkrellm/plugins
|
||||
@mkdir -p ${PREFIX}/libdata/perl5/site_perl/Finance/Quote/
|
||||
${INSTALL_DATA} ${WRKSRC}/Asia.pm \
|
||||
${PREFIX}/libdata/perl5/site_perl/Finance/Quote/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/GetQuote ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (gkrellstock-0.4.tar.gz) = ab13ade7287756cdfcfda0e2eea0c512
|
||||
RMD160 (gkrellstock-0.4.tar.gz) = 22b5c6b952dce9991862a192735aac16d0e021d2
|
||||
SHA1 (gkrellstock-0.4.tar.gz) = d7d89fcf4517053eab0e9445a59e7f0dd6c7b214
|
@ -1,22 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/08/26 21:51:51 naddy Exp $
|
||||
--- Makefile.orig Tue Aug 7 09:06:13 2001
|
||||
+++ Makefile Sun Aug 26 12:57:12 2001
|
||||
@@ -5,16 +5,14 @@
|
||||
IMLIB_LIB = `imlib-config --libs-gdk`
|
||||
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
|
||||
+CFLAGS+= -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
|
||||
LIBS = $(GTK_LIB) $(IMLIB_LIB)
|
||||
LFLAGS = -shared
|
||||
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
-
|
||||
OBJS = gkrellstock.o
|
||||
|
||||
gkrellstock.so: $(OBJS)
|
||||
- $(CC) $(OBJS) -o gkrellstock.so $(LFLAGS) $(LIBS) -lpthread
|
||||
+ $(CC) $(OBJS) -o gkrellstock.so $(LFLAGS) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f *.o core *.so* *.bak *~
|
@ -1,3 +0,0 @@
|
||||
A gkrellm plugin which displays stock quotes.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,4 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/26 21:51:51 naddy Exp $
|
||||
bin/GetQuote
|
||||
lib/gkrellm/plugins/gkrellstock.so
|
||||
libdata/perl5/site_perl/Finance/Quote/Asia.pm
|
@ -1,32 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2002/12/29 21:14:11 fgsch Exp $
|
||||
|
||||
DISTNAME= gkrellmwireless-0.2.2
|
||||
PKGNAME= gkrellm-wireless-0.2.2
|
||||
CATEGORIES= net x11
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
COMMENT= "gkrellm plugin to view wireless link stats"
|
||||
HOMEPAGE= http://gkrellm.luon.net/gkrellmwireless.phtml
|
||||
MASTER_SITES= http://gkrellm.luon.net/files/
|
||||
|
||||
MAINTAINER= Joshua Stein <jcs@rt.fm>
|
||||
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
BUILD_DEPENDS= :gkrellm-*:sysutils/gkrellm
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
ALL_TARGET=
|
||||
|
||||
do-install:
|
||||
@mkdir -p ${PREFIX}/lib/gkrellm/plugins
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wireless.so ${PREFIX}/lib/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (gkrellmwireless-0.2.2.tar.gz) = c187d6bc720080acaabc88c76160a49a
|
||||
RMD160 (gkrellmwireless-0.2.2.tar.gz) = aafb2ce0ed6d43af7a70e9a944fa3f9bb7c4ff85
|
||||
SHA1 (gkrellmwireless-0.2.2.tar.gz) = 184d1aa034e4cf4a76d279d8bf0dcc278b134252
|
@ -1,37 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2002/04/17 15:44:38 jcs Exp $
|
||||
--- Makefile.orig Sun Sep 9 09:12:41 2001
|
||||
+++ Makefile Sun Mar 31 14:19:28 2002
|
||||
@@ -1,18 +1,8 @@
|
||||
# Depends on gmake..
|
||||
#
|
||||
-OS = $(shell uname)
|
||||
-
|
||||
-ifeq ($(OS),FreeBSD)
|
||||
- GTK_CONFIG = gtk12-config
|
||||
- INCLUDE = -I/usr/src/sys
|
||||
-elseif eq ($(OS),NetBSD)
|
||||
- GTK_CONFIG = gtk-config
|
||||
-else
|
||||
-# default to the linux
|
||||
- GTK_CONFIG = gtk-config
|
||||
-endif
|
||||
-
|
||||
+#OS = $(shell uname)
|
||||
|
||||
+GTK_CONFIG = gtk-config
|
||||
GTK_INCLUDE = `$(GTK_CONFIG) --cflags gthread`
|
||||
GTK_LIB = `$(GTK_CONFIG) --libs gthread`
|
||||
|
||||
@@ -20,11 +10,9 @@
|
||||
IMLIB_LIB = `imlib-config --libs-gdk`
|
||||
|
||||
|
||||
-FLAGS = -g -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(INCLUDE)
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
|
||||
LIBS = $(GTK_LIB) $(IMLIB_LIB)
|
||||
LFLAGS = -shared
|
||||
-
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
|
||||
OBJS = wireless.o
|
||||
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-wireless_c,v 1.1.1.1 2002/04/17 15:44:38 jcs Exp $
|
||||
--- wireless.c.orig Sun Sep 9 09:25:40 2001
|
||||
+++ wireless.c Sun Mar 31 14:26:57 2002
|
||||
@@ -89,8 +89,8 @@
|
||||
}
|
||||
|
||||
/* system specific stuff */
|
||||
-#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
-/* FreeBSD & NetBSD specific */
|
||||
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
+/* FreeBSD, NetBSD, and OpenBSD specific */
|
||||
|
||||
static int
|
||||
find_wi_card(void) {
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-wireless_h,v 1.1.1.1 2002/04/17 15:44:38 jcs Exp $
|
||||
--- wireless.h.orig Sun Sep 9 09:25:55 2001
|
||||
+++ wireless.h Wed Apr 17 10:36:29 2002
|
||||
@@ -35,6 +35,17 @@
|
||||
#include <dev/pcmcia/if_wi_ieee.h>
|
||||
#endif
|
||||
|
||||
+#ifdef __OpenBSD__
|
||||
+ #include <net/if.h>
|
||||
+ #include <net/if_dl.h>
|
||||
+ #include <netinet/in.h>
|
||||
+ #include <netinet/if_ether.h>
|
||||
+ #include <net/if_media.h>
|
||||
+ #include <net/if_ieee80211.h>
|
||||
+ #include <dev/ic/if_wi_ieee.h>
|
||||
+ #include <dev/ic/anvar.h>
|
||||
+#endif
|
||||
+
|
||||
#define PLUGIN_CONFIG_KEYWORD "gkrellmwireless"
|
||||
|
||||
#define WIRELESS_MAJOR_VERSION 0
|
@ -1,4 +0,0 @@
|
||||
A gkrellm plugin which allows you to monitor the signal quality of a
|
||||
wireless networking card.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/04/17 15:44:38 jcs Exp $
|
||||
lib/gkrellm/plugins/wireless.so
|
@ -1,32 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.24 2003/10/31 17:11:31 sturm Exp $
|
||||
|
||||
DISTNAME= gkrellm-1.2.13
|
||||
PKGNAME= ${DISTNAME}p3
|
||||
HOMEPAGE= http://www.gkrellm.net/
|
||||
COMMENT= "single process stack of system monitors"
|
||||
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MASTER_SITES= http://web.wt.net/~billw/gkrellm/ \
|
||||
ftp://rt.fm/pub/gkrellm/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+ \
|
||||
gthread::devel/glib \
|
||||
gif.5::graphics/libungif \
|
||||
gdk_imlib.19::graphics/imlib
|
||||
|
||||
USE_GMAKE= Yes
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
ALL_TARGET= openbsd
|
||||
INSTALL_TARGET= install_openbsd
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (gkrellm-1.2.13.tar.bz2) = cdd4d60bea17ac6b36cb0c4b1f5279cb
|
||||
RMD160 (gkrellm-1.2.13.tar.bz2) = a5d9b7e439788613ebab9718aa05eff0c39d0a9a
|
||||
SHA1 (gkrellm-1.2.13.tar.bz2) = ab0282e663b69ecf0d622ad7c02db0c72b793bd3
|
@ -1,33 +0,0 @@
|
||||
$OpenBSD: patch-Makefile_top_enable_nls,v 1.3 2003/01/01 21:21:00 naddy Exp $
|
||||
--- Makefile.top_enable_nls.orig Mon Jul 1 04:13:13 2002
|
||||
+++ Makefile.top_enable_nls Wed Jan 1 22:16:09 2003
|
||||
@@ -81,15 +81,15 @@ GTOP_INCLUDE = -I$(GTOP_PREFIX)/include
|
||||
GTOP_LIBS = -L$(GTOP_PREFIX)/lib -lgtop -lgtop_common -lgtop_sysdeps -lXau
|
||||
|
||||
|
||||
-INSTALLDIR=/usr/local/bin
|
||||
-MANDIR=/usr/local/share/man/man1
|
||||
+INSTALLDIR=${PREFIX}/bin
|
||||
+MANDIR=${PREFIX}/man/man1
|
||||
MANMODE = 644
|
||||
MANDIRMODE = 755
|
||||
-INCLUDEDIR=/usr/local/include
|
||||
+INCLUDEDIR=${PREFIX}/include
|
||||
INCLUDEMODE = 644
|
||||
INCLUDEDIRMODE = 755
|
||||
|
||||
-LOCALEDIR ?= /usr/share/locale
|
||||
+LOCALEDIR ?= ${PREFIX}/share/locale
|
||||
|
||||
export GTK_CONFIG GTOP_INCLUDE GTOP_LIBS SYS_LIBS EXTRAOBJS BINMODE
|
||||
export INSTALLDIR INCLUDEDIR INCLUDEMODE INCLUDEDIRMODE LOCALEDIR
|
||||
@@ -152,8 +152,7 @@ netbsd:
|
||||
openbsd:
|
||||
(cd po && ${MAKE} all)
|
||||
(cd src && ${MAKE} GTK_CONFIG=gtk-config GTOP_LIBS= GTOP_INCLUDE= \
|
||||
- PTHREAD_INC=-I/usr/local/include EXTRAOBJS= \
|
||||
- SYS_LIBS="-lkvm" gkrellm )
|
||||
+ SYS_LIBS="-lkvm -pthread" gkrellm )
|
||||
|
||||
solaris:
|
||||
(cd po && ${MAKE} MSGFMT_OPT="-v -o" \
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-po_Makefile,v 1.3 2003/01/01 21:21:00 naddy Exp $
|
||||
--- po/Makefile.orig Wed Dec 5 09:28:32 2001
|
||||
+++ po/Makefile Wed Jan 1 22:16:09 2003
|
||||
@@ -6,7 +6,7 @@ SUB_DIRS =
|
||||
FILES_PO:=$(wildcard *.po)
|
||||
FILES_MO:=$(FILES_PO:.po=.mo)
|
||||
|
||||
-LOCALEDIR ?= /usr/share/locale
|
||||
+LOCALEDIR ?= ${PREFIX}/share/locale
|
||||
MSGFMT_OPT ?= -f -v -o
|
||||
|
||||
ifeq ($(enable_nls),1)
|
@ -1,41 +0,0 @@
|
||||
$OpenBSD: patch-src_Makefile_src,v 1.7 2003/01/01 21:21:01 naddy Exp $
|
||||
--- src/Makefile.src.orig Mon Jul 1 04:13:04 2002
|
||||
+++ src/Makefile.src Wed Jan 1 22:16:09 2003
|
||||
@@ -9,8 +9,7 @@ MANDIR ?= /usr/local/share/man/man1
|
||||
MANMODE ?= 644
|
||||
MANDIRMODE ?= 755
|
||||
INSTALL ?= install
|
||||
-LINK_FLAGS ?= -Wl,-E
|
||||
-CC ?= gcc
|
||||
+LINK_FLAGS ?= -Wl
|
||||
STRIP ?= -s
|
||||
|
||||
GKRELLM_INCLUDES = gkrellm.h gkrellm_public_proto.h
|
||||
@@ -21,7 +20,7 @@ IMLIB_INCLUDE = `imlib-config --cflags-g
|
||||
GTK_LIB = `$(GTK_CONFIG) --libs gthread`
|
||||
IMLIB_LIB = `imlib-config --libs-gdk`
|
||||
|
||||
-FLAGS = -O2 -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE)
|
||||
+FLAGS = -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE)
|
||||
FLAGS+= $(PTHREAD_INC)
|
||||
|
||||
LIBS = $(GTK_LIB) $(IMLIB_LIB) $(GTOP_LIBS) $(SYS_LIBS)
|
||||
@@ -38,7 +37,7 @@ ifeq ($(HAVE_GETADDRINFO),1)
|
||||
FLAGS += -DHAVE_GETADDRINFO
|
||||
endif
|
||||
|
||||
-CC += -Wall $(FLAGS)
|
||||
+CFLAGS += $(FLAGS)
|
||||
|
||||
OBJS = main.o alerts.o apm.o base64.o clock.o cpu.o disk.o fs.o hostname.o \
|
||||
inet.o mail.o meminfo.o net.o proc.o sensors.o uptime.o \
|
||||
@@ -70,6 +69,9 @@ darwin:
|
||||
netbsd:
|
||||
$(MAKE) PTHREAD_INC=-I/usr/local/include \
|
||||
GTK_CONFIG=gtk-config GTOP_LIBS= EXTRAOBJS= SYS_LIBS="-lkvm" gkrellm
|
||||
+
|
||||
+openbsd:
|
||||
+ $(MAKE) GTK_CONFIG=gtk-config GTOP_LIBS= SYS_LIBS="-lkvm -pthread" gkrellm
|
||||
|
||||
solaris:
|
||||
$(MAKE) CFLAGS="-Wno-implicit-int" \
|
@ -1,23 +0,0 @@
|
||||
$OpenBSD: patch-src_apm_c,v 1.4 2003/01/01 21:21:01 naddy Exp $
|
||||
--- src/apm.c.orig Tue May 14 21:26:37 2002
|
||||
+++ src/apm.c Wed Jan 1 22:16:09 2003
|
||||
@@ -159,7 +159,8 @@ read_linux_apm_data(void)
|
||||
|
||||
/* ------- NetBSD ------------------------------------------------------- */
|
||||
|
||||
-#if (defined(__NetBSD__) || defined(__OpenBSD__)) && defined(__i386__)
|
||||
+#if (defined(__NetBSD__) || defined(__OpenBSD__)) && (defined(__i386__) || \
|
||||
+defined(__powerpc__))
|
||||
|
||||
#include <machine/apmvar.h>
|
||||
#define APMDEV "/dev/apm"
|
||||
@@ -242,7 +243,8 @@ setup_apm_interface(void)
|
||||
available = TRUE;
|
||||
#endif
|
||||
|
||||
-#if (defined(__NetBSD__) || defined(__OpenBSD__)) && defined(__i386__)
|
||||
+#if (defined(__NetBSD__) || defined(__OpenBSD__)) && (defined(__i386__) || \
|
||||
+defined(__powerpc__))
|
||||
read_apm_data = read_netbsd_apm_data;
|
||||
available = TRUE;
|
||||
#endif
|
@ -1,48 +0,0 @@
|
||||
$OpenBSD: patch-src_config_c,v 1.1 2003/06/17 00:52:12 avsm Exp $
|
||||
--- src/config.c.orig Tue Jun 17 01:40:56 2003
|
||||
+++ src/config.c Tue Jun 17 01:42:01 2003
|
||||
@@ -886,7 +886,7 @@ assign_gkrellmrc_spacer_height(gchar *so
|
||||
gchar style_name[32];
|
||||
gint h;
|
||||
|
||||
- if (sscanf(string, "%32s %d", style_name, &h) != 2)
|
||||
+ if (sscanf(string, "%31s %d", style_name, &h) != 2)
|
||||
return;
|
||||
if ((mon = lookup_monitor_from_style_name(style_name)) == NULL)
|
||||
return;
|
||||
@@ -1216,7 +1216,7 @@ gkrellm_set_image_border(gchar *image_na
|
||||
s = list->data;
|
||||
if ((r = strchr(s, '=')) != NULL)
|
||||
*r = ' ';
|
||||
- sscanf(s, "%64s %32s", name, border_string);
|
||||
+ sscanf(s, "%63s %31s", name, border_string);
|
||||
if (!strcmp(name, image_name))
|
||||
{
|
||||
set_border(&b, border_string);
|
||||
@@ -1245,7 +1245,7 @@ gkrellm_get_gkrellmrc_image_border(gchar
|
||||
s = list->data;
|
||||
if ((r = strchr(s, '=')) != NULL)
|
||||
*r = ' ';
|
||||
- sscanf(s, "%64s %32s", name, border_string);
|
||||
+ sscanf(s, "%63s %31s", name, border_string);
|
||||
if (!strcmp(name, image_name))
|
||||
{
|
||||
set_border(&b, border_string);
|
||||
@@ -1273,7 +1273,7 @@ gkrellm_get_gkrellmrc_integer(gchar *int
|
||||
s = list->data;
|
||||
if ((r = strchr(s, '=')) != NULL)
|
||||
*r = ' ';
|
||||
- sscanf(s, "%64s %64s", name, string);
|
||||
+ sscanf(s, "%63s %63s", name, string);
|
||||
if (!strcmp(name, int_name) && sscanf(string, "%d", result) == 1)
|
||||
found = TRUE;
|
||||
}
|
||||
@@ -1294,7 +1294,7 @@ gkrellm_get_gkrellmrc_string(gchar *stri
|
||||
s = list->data;
|
||||
if ((r = strchr(s, '=')) != NULL)
|
||||
*r = ' ';
|
||||
- sscanf(s, "%64s %[^\n]", name, string);
|
||||
+ sscanf(s, "%63s %[^\n]", name, string);
|
||||
if (!strcmp(name, string_name))
|
||||
{
|
||||
if ((s = cut_quoted_string(string, NULL)) != NULL)
|
@ -1,45 +0,0 @@
|
||||
$OpenBSD: patch-src_mail_c,v 1.1 2003/06/17 00:52:12 avsm Exp $
|
||||
--- src/mail.c.orig Tue Jun 17 01:37:32 2003
|
||||
+++ src/mail.c Tue Jun 17 01:40:52 2003
|
||||
@@ -895,7 +895,7 @@ check_pop3(Mailbox *mbox)
|
||||
/* Set the new_mail_count only if the UIDL is changed to avoid
|
||||
| re-reporting mail is new after MUA button has been clicked.
|
||||
*/
|
||||
- if ( sscanf(mbox->tcp_in->str, "+OK %*d %128s", line) == 1
|
||||
+ if ( sscanf(mbox->tcp_in->str, "+OK %*d %127s", line) == 1
|
||||
&& ( gkrellm_dup_string((gchar **) (&mbox->private), line)
|
||||
|| unseen_is_new
|
||||
)
|
||||
@@ -1665,16 +1665,16 @@ make_fetch_tooltip(gchar *line, gint msg
|
||||
|
||||
if ((s = strstr(line, "sequence unseen")) != NULL) /* flist */
|
||||
{
|
||||
- sscanf(line, "%64s", buf);
|
||||
+ sscanf(line, "%63s", buf);
|
||||
account->username = g_strdup(buf);
|
||||
}
|
||||
else if ((s = strstr(line, " for ")) != NULL) /* fetchmail */
|
||||
{
|
||||
- sscanf(s + 5, "%64s", buf);
|
||||
+ sscanf(s + 5, "%63s", buf);
|
||||
account->username = g_strdup(buf);
|
||||
if ((s = strstr(line, " at ")) != NULL)
|
||||
{
|
||||
- sscanf(s + 4, "%64s", buf);
|
||||
+ sscanf(s + 4, "%63s", buf);
|
||||
account->server = g_strdup(buf);
|
||||
}
|
||||
if ((s = strstr(line, "(folder ")) != NULL)
|
||||
@@ -2493,10 +2493,10 @@ load_mail_config(gchar *arg)
|
||||
account = g_new0(MailAccount, 1);
|
||||
account_prev = NULL;
|
||||
account->mboxtype = MBOX_REMOTE;
|
||||
- n = sscanf(item, "%32s %256s \"%64[^\"]\" \"%64[^\"]\" %d %64s",
|
||||
+ n = sscanf(item, "%31s %255s \"%63[^\"]\" \"%63[^\"]\" %d %63s",
|
||||
auth, server, username, password, &account->port, folder);
|
||||
if (n < 5)
|
||||
- n = sscanf(item, "%32s %256s %64s %64s %d %64s",
|
||||
+ n = sscanf(item, "%31s %255s %63s %63s %d %63s",
|
||||
auth, server, username, password, &account->port, folder);
|
||||
if (n >= 5)
|
||||
{
|
@ -1,17 +0,0 @@
|
||||
$OpenBSD: patch-src_main_c,v 1.2 2003/01/01 21:21:01 naddy Exp $
|
||||
--- src/main.c.orig Mon Jul 1 04:17:27 2002
|
||||
+++ src/main.c Wed Jan 1 22:16:09 2003
|
||||
@@ -1904,12 +1904,12 @@ main (int argc, char *argv[])
|
||||
* the folowing function should be performed here just for that reason.
|
||||
*/
|
||||
solaris_list_harddisks();
|
||||
+#endif /* __solaris__ */
|
||||
|
||||
if (setgid(getgid()) != 0) {
|
||||
perror("Failed to drop setgid privilege");
|
||||
return 1;
|
||||
}
|
||||
-#endif /* __solaris__ */
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
gtk_set_locale();
|
@ -1,198 +0,0 @@
|
||||
$OpenBSD: patch-src_net_c,v 1.1 2003/01/03 17:58:34 naddy Exp $
|
||||
--- src/net.c.orig Mon Jul 1 04:17:27 2002
|
||||
+++ src/net.c Wed Jan 1 22:07:45 2003
|
||||
@@ -120,10 +120,10 @@ static gint (*is_ISDN_online)();
|
||||
|
||||
/* -------- FreeBSD / NetBSD / OpenBSD ------------------------------------ */
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
|
||||
-#include <sys/sysctl.h>
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
-#include <net/if_dl.h>
|
||||
-#include <net/route.h>
|
||||
+#include <ifaddrs.h>
|
||||
|
||||
#define LOCK_DIRECTORY "/var/spool/lock"
|
||||
|
||||
@@ -133,74 +133,39 @@ static TimerType timer_defaults[] =
|
||||
{"ppp0", TIMER_TYPE_PPP }
|
||||
};
|
||||
|
||||
-static int mib[] = { CTL_NET, PF_ROUTE, 0, 0, NET_RT_IFLIST, 0 };
|
||||
-static char *buf;
|
||||
-static int alloc;
|
||||
-
|
||||
void
|
||||
read_bsd_net_data()
|
||||
{
|
||||
GList *list;
|
||||
NetMon *net;
|
||||
- struct if_msghdr *ifm, *nextifm;
|
||||
- struct sockaddr_dl *sdl;
|
||||
- char *lim, *next;
|
||||
- size_t needed;
|
||||
- gchar s[32];
|
||||
-
|
||||
- if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0)
|
||||
- return;
|
||||
- if (alloc < needed)
|
||||
- {
|
||||
- if (buf != NULL)
|
||||
- free(buf);
|
||||
- buf = malloc(needed);
|
||||
- if (buf == NULL)
|
||||
- return;
|
||||
- alloc = needed;
|
||||
- }
|
||||
+ struct ifaddrs *ifap, *ifa;
|
||||
+ struct if_data *ifd;
|
||||
|
||||
- if (sysctl(mib, 6, buf, &needed, NULL, 0) < 0)
|
||||
+ if (getifaddrs(&ifap) < 0)
|
||||
return;
|
||||
- lim = buf + needed;
|
||||
|
||||
- next = buf;
|
||||
- while (next < lim)
|
||||
+ for (ifa = ifap; ifa; ifa = ifa->ifa_next)
|
||||
{
|
||||
- ifm = (struct if_msghdr *)next;
|
||||
- if (ifm->ifm_type != RTM_IFINFO)
|
||||
- return;
|
||||
- next += ifm->ifm_msglen;
|
||||
-
|
||||
- while (next < lim)
|
||||
+ if (ifa->ifa_flags & IFF_UP)
|
||||
{
|
||||
- nextifm = (struct if_msghdr *)next;
|
||||
- if (nextifm->ifm_type != RTM_NEWADDR)
|
||||
- break;
|
||||
- next += nextifm->ifm_msglen;
|
||||
- }
|
||||
-
|
||||
- if (ifm->ifm_flags & IFF_UP)
|
||||
- {
|
||||
- sdl = (struct sockaddr_dl *)(ifm + 1);
|
||||
- if (sdl->sdl_family != AF_LINK)
|
||||
+ if (ifa->ifa_addr->sa_family != AF_LINK)
|
||||
continue;
|
||||
- strncpy(s, sdl->sdl_data, sdl->sdl_nlen);
|
||||
- s[sdl->sdl_nlen] = '\0';
|
||||
-
|
||||
for (list = net_mon_list; list; list = list->next)
|
||||
{
|
||||
net = (NetMon *) list->data;
|
||||
- if (strcmp(net->name, s) == 0)
|
||||
+ if (strcmp(net->name, ifa->ifa_name) == 0)
|
||||
{
|
||||
- net->rx = ifm->ifm_data.ifi_ibytes;
|
||||
- net->tx = ifm->ifm_data.ifi_obytes;
|
||||
+ ifd = (struct if_data *)ifa->ifa_data;
|
||||
+ net->rx = ifd->ifi_ibytes;
|
||||
+ net->tx = ifd->ifi_obytes;
|
||||
net->rxtx_units = NET_UNITS_BYTES;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+
|
||||
+ freeifaddrs(ifap);
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -208,11 +173,7 @@ sync_bsd_net_interfaces()
|
||||
{
|
||||
GList *list;
|
||||
NetMon *net;
|
||||
- struct if_msghdr *ifm, *nextifm;
|
||||
- struct sockaddr_dl *sdl;
|
||||
- char *lim, *next;
|
||||
- size_t needed;
|
||||
- gchar s[32];
|
||||
+ struct ifaddrs *ifap, *ifa;
|
||||
|
||||
for (list = net_mon_list; list; list = list->next)
|
||||
{
|
||||
@@ -221,58 +182,19 @@ sync_bsd_net_interfaces()
|
||||
net->state = NET_DOWN;
|
||||
}
|
||||
|
||||
- if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0)
|
||||
+ if (getifaddrs(&ifap) < 0)
|
||||
return;
|
||||
- if (alloc < needed)
|
||||
- {
|
||||
- if (buf != NULL)
|
||||
- free(buf);
|
||||
- buf = malloc(needed);
|
||||
- if (buf == NULL)
|
||||
- return;
|
||||
- alloc = needed;
|
||||
- }
|
||||
-
|
||||
- if (sysctl(mib, 6, buf, &needed, NULL, 0) < 0)
|
||||
- return;
|
||||
- lim = buf + needed;
|
||||
|
||||
- next = buf;
|
||||
- while (next < lim)
|
||||
+ for (ifa = ifap; ifa; ifa = ifa->ifa_next)
|
||||
{
|
||||
- ifm = (struct if_msghdr *)next;
|
||||
- if (ifm->ifm_type != RTM_IFINFO)
|
||||
- return;
|
||||
-
|
||||
- next += ifm->ifm_msglen;
|
||||
-
|
||||
- while (next < lim)
|
||||
+ if (ifa->ifa_flags & IFF_UP)
|
||||
{
|
||||
- nextifm = (struct if_msghdr *)next;
|
||||
- if (nextifm->ifm_type != RTM_NEWADDR)
|
||||
- break;
|
||||
- next += nextifm->ifm_msglen;
|
||||
- }
|
||||
-
|
||||
- if (ifm->ifm_flags & IFF_UP)
|
||||
- {
|
||||
- sdl = (struct sockaddr_dl *)(ifm + 1);
|
||||
- if (sdl->sdl_family != AF_LINK)
|
||||
+ if (ifa->ifa_addr->sa_family != AF_LINK)
|
||||
continue;
|
||||
- strncpy(s, sdl->sdl_data, sdl->sdl_nlen);
|
||||
- s[sdl->sdl_nlen] = '\0';
|
||||
-#if 0
|
||||
- /* Should we skip lo0 and dummy0? Actually,
|
||||
- | those who don't want to see it can disable
|
||||
- | it from config panel.
|
||||
- */
|
||||
- if (!strncmp(s, "lo", 2) || !strncmp(s, "dummy", 5))
|
||||
- continue;
|
||||
-#endif
|
||||
for (list = net_mon_list; list; list = list->next)
|
||||
{
|
||||
net = (NetMon *) list->data;
|
||||
- if (strcmp(net->name, s) == 0)
|
||||
+ if (strcmp(net->name, ifa->ifa_name) == 0)
|
||||
{
|
||||
net->state = NET_UP;
|
||||
break;
|
||||
@@ -281,13 +203,15 @@ sync_bsd_net_interfaces()
|
||||
if (list == NULL)
|
||||
{
|
||||
net = g_new0(NetMon, 1);
|
||||
- net->name = g_strdup(s);
|
||||
+ net->name = g_strdup(ifa->ifa_name);
|
||||
net_mon_list = g_list_append(net_mon_list, net);
|
||||
net->state = NET_UP;
|
||||
net->old_state = NET_DOWN;
|
||||
}
|
||||
}
|
||||
}
|
||||
+
|
||||
+ freeifaddrs(ifap);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-src_plugins_c,v 1.3 2003/01/01 21:21:01 naddy Exp $
|
||||
--- src/plugins.c.orig Sat Jun 22 21:08:41 2002
|
||||
+++ src/plugins.c Wed Jan 1 22:16:09 2003
|
||||
@@ -794,6 +794,9 @@ install_plugin(gchar *plugin_name)
|
||||
plugin_log(buf, NULL);
|
||||
return NULL;
|
||||
}
|
||||
+#ifndef __ELF__
|
||||
+#define dlsym(h,s) dlsym(h, "_" s)
|
||||
+#endif
|
||||
init_plugin = dlsym(handle, "init_plugin");
|
||||
if ((error = dlerror()) != NULL)
|
||||
{
|
@ -1,5 +0,0 @@
|
||||
GKrellM is a single process stack of system monitors which supports
|
||||
applying themes to match its appearance to your window manager, Gtk,
|
||||
or any other theme.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,20 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2003/10/31 17:11:31 sturm Exp $
|
||||
@group kmem
|
||||
@mode 2755
|
||||
bin/gkrellm
|
||||
@group
|
||||
@mode
|
||||
include/gkrellm/gkrellm.h
|
||||
include/gkrellm/gkrellm_public_proto.h
|
||||
man/man1/gkrellm.1
|
||||
share/locale/de/LC_MESSAGES/gkrellm.mo
|
||||
share/locale/es/LC_MESSAGES/gkrellm.mo
|
||||
share/locale/fr/LC_MESSAGES/gkrellm.mo
|
||||
share/locale/ja/LC_MESSAGES/gkrellm.mo
|
||||
share/locale/pl/LC_MESSAGES/gkrellm.mo
|
||||
share/locale/ru/LC_MESSAGES/gkrellm.mo
|
||||
share/locale/sv/LC_MESSAGES/gkrellm.mo
|
||||
@exec mkdir -p %D/lib/gkrellm/plugins
|
||||
@dirrm lib/gkrellm/plugins
|
||||
@dirrm lib/gkrellm
|
||||
@dirrm include/gkrellm
|
@ -1,40 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2002/11/22 02:37:37 margarida Exp $
|
||||
|
||||
COMMENT= "screen lock and capture plugin for gkrellm"
|
||||
|
||||
VERSION= 0.3.2
|
||||
DISTNAME= gkrellshoot-${VERSION}
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://gkrellshoot.sourceforge.net/
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellshoot/}
|
||||
|
||||
MAINTAINER= Margarida Sequeira <margarida@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
USE_X11= Yes
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
ALL_TARGET=
|
||||
|
||||
WRKDIST= ${WRKDIR}/gkrellShoot-0.3.2
|
||||
|
||||
LIB_DEPENDS= Magick.5::graphics/ImageMagick
|
||||
BUILD_DEPENDS= :gkrellm-*:sysutils/gkrellm
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
do-install:
|
||||
@mkdir -p ${PREFIX}/lib/gkrellm/plugins
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gkrellshoot.so \
|
||||
${PREFIX}/lib/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (gkrellshoot-0.3.2.tar.gz) = a1c37ccfe4b1d86d8f363720ef9a75f4
|
||||
RMD160 (gkrellshoot-0.3.2.tar.gz) = f36d94de9f9d57641d02b0a7f34245db9c1d7992
|
||||
SHA1 (gkrellshoot-0.3.2.tar.gz) = d1888fb511765e4a8b0752daa757db7a1082665f
|
@ -1,22 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2002/09/17 13:49:00 couderc Exp $
|
||||
--- Makefile.orig Sat Aug 31 13:12:43 2002
|
||||
+++ Makefile Sat Aug 31 13:16:29 2002
|
||||
@@ -5,16 +5,14 @@ IMLIB_INCLUDE = `imlib-config --cflags-g
|
||||
IMLIB_LIB = `imlib-config --libs-gdk`
|
||||
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
|
||||
LIBS = $(GTK_LIB) $(IMLIB_LIB)
|
||||
LFLAGS = -shared
|
||||
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
-
|
||||
OBJS = gkrellshoot.o
|
||||
|
||||
gkrellshoot.so: $(OBJS)
|
||||
- $(CC) $(OBJS) -o gkrellshoot.so $(LFLAGS) $(LIBS) -lpthread
|
||||
+ $(CC) $(OBJS) -o gkrellshoot.so $(LFLAGS) $(LIBS) -pthread
|
||||
|
||||
clean:
|
||||
rm -f *.o core *.so* *.bak *~
|
@ -1,16 +0,0 @@
|
||||
gkrellshoot is a gkrellm plugin that gives easy access to Screen
|
||||
Lock and Screen Shoot facility.
|
||||
|
||||
For Screen capture this uses ImageMagick. Displays animations
|
||||
(Screen Saver like) along with 'Lock' and 'Shoot' button to be
|
||||
clicked on.
|
||||
|
||||
With Screen Shoot one can either grab a window, selected area or
|
||||
whole screen, also one can delay the Screen Shoot by given number
|
||||
of seconds.
|
||||
|
||||
One other feature is that grabbed image can be viewed by given image
|
||||
viewer. Pressing 'Lock' button will lock the screen and starts your
|
||||
screen saver.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/09/17 13:49:00 couderc Exp $
|
||||
lib/gkrellm/plugins/gkrellshoot.so
|
@ -1,37 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2003/10/08 17:13:16 sturm Exp $
|
||||
|
||||
COMMENT= "weather display plugin for gkrellm"
|
||||
|
||||
DISTNAME= gkrellweather-0.2.7
|
||||
CATEGORIES= x11
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
HOMEPAGE= http://www.cse.unsw.edu.au/~flam/programs/gkrellweather.html
|
||||
MASTER_SITES= http://www.cse.unsw.edu.au/~flam/repository/c/gkrellm/
|
||||
|
||||
MAINTAINER= Aaron Campbell <aaron@openbsd.org>
|
||||
|
||||
USE_X11= Yes
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
WRKDIST= ${WRKDIR}/gkrellweather-0.2.7
|
||||
BUILD_DEPENDS= :gkrellm-*:sysutils/gkrellm
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS} \
|
||||
:wget-*:net/wget
|
||||
ALL_TARGET=
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-install:
|
||||
@mkdir -p ${PREFIX}/lib/gkrellm/plugins
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/GrabWeather ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gkrellweather.so \
|
||||
${PREFIX}/lib/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (gkrellweather-0.2.7.tar.gz) = 2e69ff084063bbfba57fdeb42ad628c1
|
||||
RMD160 (gkrellweather-0.2.7.tar.gz) = 387bfa9138c4375fe4e1b38aef3541a8294b2961
|
||||
SHA1 (gkrellweather-0.2.7.tar.gz) = 509ec48ee81022f22ebe8cfa01768bcc6db2a7a7
|
@ -1,22 +0,0 @@
|
||||
--- Makefile.orig Sun Aug 26 12:03:34 2001
|
||||
+++ Makefile Sun Aug 26 12:03:51 2001
|
||||
@@ -5,16 +5,16 @@
|
||||
IMLIB_LIB = `imlib-config --libs-gdk`
|
||||
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
|
||||
LIBS = $(GTK_LIB) $(IMLIB_LIB)
|
||||
LFLAGS = -shared
|
||||
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
+#CC = gcc $(CFLAGS) $(FLAGS)
|
||||
|
||||
OBJS = gkrellweather.o
|
||||
|
||||
gkrellweather.so: $(OBJS)
|
||||
- $(CC) $(OBJS) -o gkrellweather.so $(LFLAGS) $(LIBS) -lpthread
|
||||
+ $(CC) $(OBJS) -o gkrellweather.so $(LFLAGS) $(LIBS) -pthread
|
||||
|
||||
clean:
|
||||
rm -f *.o core *.so* *.bak *~
|
@ -1,3 +0,0 @@
|
||||
A GKrellM plugin which displays weather information.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
@ -1,4 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2001/10/18 18:47:06 naddy Exp $
|
||||
@pkgcfl wmweather-*
|
||||
bin/GrabWeather
|
||||
lib/gkrellm/plugins/gkrellweather.so
|
Loading…
Reference in New Issue
Block a user