import of gkrellm 2.1.21 and associated plugins
besides bringing gkrellm and the plugins up2date, this introduces a new port structure, where all plugins are located in sysutils/gkrellm/plugins. the set of plugins consists of: aclock, bgchg, flynn, itime, kam, launch, mailwatch, mms, moon, mss, reminder shoot, stock, sun, volume, weather and wireless ports done and maintained by Peter Hessler <spambox@theapt.org> all prior maintainers either agreed to him taking over their plugins or timed out.
This commit is contained in:
parent
804f097549
commit
73ddfa66bd
35
sysutils/gkrellm/gkrellm/Makefile
Normal file
35
sysutils/gkrellm/gkrellm/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
|
||||
COMMENT= "single process stack of system monitors for GTK+2"
|
||||
|
||||
DISTNAME= gkrellm-2.1.21
|
||||
CATEGORIES= sysutils sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://www.gkrellm.net/
|
||||
MAINTAINER= Peter Hessler <spambox@theapt.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
LIB_DEPENDS= gthread-2.0.0.0::devel/glib2 \
|
||||
gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
NO_REGRESS= Yes
|
||||
USE_GMAKE= Yes
|
||||
|
||||
MASTER_SITES= http://web.wt.net/~billw/gkrellm/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
USE_X11= Yes
|
||||
ALL_TARGET= openbsd
|
||||
INSTALL_TARGET= install_openbsd
|
||||
|
||||
post-patch:
|
||||
@perl -pi -e "s|%%SYSCONFDIR%%|${SYSCONFDIR}|g" \
|
||||
${WRKSRC}/server/gkrellmd.h
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/gkrellm/distinfo
Normal file
3
sysutils/gkrellm/gkrellm/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellm-2.1.21.tar.bz2) = ad5cc23638abb665406effbba58725df
|
||||
RMD160 (gkrellm-2.1.21.tar.bz2) = 2cf8a699cd57551e28aadf227e4103ad5d13260b
|
||||
SHA1 (gkrellm-2.1.21.tar.bz2) = f693bebe510d77ea98b12f101742a6932779199e
|
23
sysutils/gkrellm/gkrellm/patches/patch-Makefile
Normal file
23
sysutils/gkrellm/gkrellm/patches/patch-Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- Makefile.orig 2003-10-12 11:31:41.000000000 -0700
|
||||
+++ Makefile 2003-10-27 11:00:21.000000000 -0800
|
||||
@@ -89,16 +89,12 @@ BINMODE = 755
|
||||
|
||||
VERSION = 2.1.21
|
||||
|
||||
-INSTALLROOT ?= $(DESTDIR)$(PREFIX)
|
||||
-
|
||||
-ifeq ($(INSTALLROOT),)
|
||||
- INSTALLROOT = /usr/local
|
||||
-endif
|
||||
+INSTALLROOT ?= ${PREFIX}
|
||||
|
||||
INSTALLDIR = $(INSTALLROOT)/bin
|
||||
SINSTALLDIR ?= $(INSTALLDIR)
|
||||
-MANDIR ?= $(INSTALLROOT)/share/man/man1
|
||||
-SMANDIR ?= $(MANDIR)
|
||||
+MANDIR ?= $(INSTALLROOT)/man/man1
|
||||
+SMANDIR ?= $(INSTALLROOT)/man/man1
|
||||
MANMODE = 644
|
||||
MANDIRMODE = 755
|
||||
INCLUDEDIR = $(INSTALLROOT)/include
|
48
sysutils/gkrellm/gkrellm/patches/patch-server_Makefile
Normal file
48
sysutils/gkrellm/gkrellm/patches/patch-server_Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
$OpenBSD: patch-server_Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- server/Makefile.orig 2003-10-11 15:19:55.000000000 -0700
|
||||
+++ server/Makefile 2003-10-28 11:01:05.000000000 -0800
|
||||
@@ -2,18 +2,14 @@ PACKAGE_D ?= gkrellmd
|
||||
PKG_CONFIG ?= pkg-config
|
||||
BINMODE ?= 755
|
||||
|
||||
-INSTALLROOT ?= $(DESTDIR)$(PREFIX)
|
||||
-ifeq ($(INSTALLROOT),)
|
||||
- INSTALLROOT = /usr/local
|
||||
-endif
|
||||
-
|
||||
+INSTALLROOT ?= ${PREFIX}
|
||||
SINSTALLDIR ?= $(INSTALLROOT)/bin
|
||||
INSTALLDIRMODE ?= 755
|
||||
-SMANDIR ?= $(INSTALLROOT)/share/man/man1
|
||||
+SMANDIR ?= $(INSTALLROOT)/man/man1
|
||||
MANMODE ?= 644
|
||||
MANDIRMODE ?= 755
|
||||
INSTALL ?= install
|
||||
-LINK_FLAGS ?= -Wl,-E
|
||||
+LINK_FLAGS ?= -Wl
|
||||
CC ?= gcc
|
||||
STRIP ?= -s
|
||||
|
||||
@@ -23,9 +19,9 @@ PKG_LIB = `$(PKG_CONFIG) --libs glib-2.0
|
||||
GLIB12_INCLUDE = `glib-config --cflags gthread`
|
||||
GLIB12_LIB = `glib-config --libs gthread`
|
||||
|
||||
-FLAGS = -O2 -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE)
|
||||
+FLAGS+= -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE)
|
||||
ifeq ($(glib12),1)
|
||||
-FLAGS = -O2 -I.. $(GLIB12_INCLUDE) $(GTOP_INCLUDE)
|
||||
+FLAGS += -I.. $(GLIB12_INCLUDE) $(GTOP_INCLUDE)
|
||||
endif
|
||||
|
||||
FLAGS+= $(PTHREAD_INC)
|
||||
@@ -54,9 +50,7 @@ ifeq ($(HAVE_GETADDRINFO),1)
|
||||
FLAGS += -DHAVE_GETADDRINFO
|
||||
endif
|
||||
|
||||
-
|
||||
-override CC += -Wall $(FLAGS)
|
||||
-
|
||||
+CFLAGS += $(FLAGS)
|
||||
OS_NAME=$(shell uname -s)
|
||||
OS_RELEASE=$(shell uname -r)
|
||||
|
18
sysutils/gkrellm/gkrellm/patches/patch-server_gkrellmd_h
Normal file
18
sysutils/gkrellm/gkrellm/patches/patch-server_gkrellmd_h
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-server_gkrellmd_h,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- server/gkrellmd.h.orig 2003-10-12 14:20:54.000000000 -0700
|
||||
+++ server/gkrellmd.h 2003-10-27 11:00:21.000000000 -0800
|
||||
@@ -150,9 +150,11 @@ extern int errno;
|
||||
#define GKRELLMD_CONFIG "gkrellmd.conf"
|
||||
|
||||
#if !defined(WIN32)
|
||||
-#define GKRELLMD_SYS_ETC "/etc"
|
||||
-#define GKRELLMD_LOCAL_ETC "/usr/local/etc"
|
||||
-#endif
|
||||
+#if !defined(GKRELLMD_SYS_ETC)
|
||||
+#define GKRELLMD_SYS_ETC "%%SYSCONFDIR%%"
|
||||
+#endif /* GKRELLMD_SYS_ETC */
|
||||
+#define GKRELLMD_LOCAL_ETC "%%SYSCONFDIR%%"
|
||||
+#endif /* WIN32 */
|
||||
|
||||
#define DEBUG_SYSDEP 0x1
|
||||
#define DEBUG_MAIL 0x10
|
21
sysutils/gkrellm/gkrellm/patches/patch-src_Makefile
Normal file
21
sysutils/gkrellm/gkrellm/patches/patch-src_Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-src_Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- src/Makefile.orig 2003-10-27 11:13:35.000000000 -0800
|
||||
+++ src/Makefile 2003-10-27 11:15:08.000000000 -0800
|
||||
@@ -28,7 +28,7 @@ PKG_INCLUDE = `$(PKG_CONFIG) --cflags gt
|
||||
|
||||
PKG_LIB = `$(PKG_CONFIG) --libs gtk+-2.0 gthread-2.0`
|
||||
|
||||
-FLAGS = -O2 -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE)
|
||||
+FLAGS = -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE)
|
||||
FLAGS+= $(PTHREAD_INC)
|
||||
|
||||
LIBS = $(PKG_LIB) $(GTOP_LIBS) $(SMC_LIBS) $(SYS_LIBS)
|
||||
@@ -49,7 +49,7 @@ ifeq ($(HAVE_GETADDRINFO),1)
|
||||
endif
|
||||
|
||||
|
||||
-override CC += -Wall $(FLAGS)
|
||||
+CFLAGS += ${FLAGS}
|
||||
|
||||
OBJS = main.o alerts.o battery.o base64.o clock.o cpu.o disk.o fs.o \
|
||||
hostname.o inet.o mail.o mem.o net.o proc.o sensors.o uptime.o \
|
18
sysutils/gkrellm/gkrellm/patches/patch-src_net_c
Normal file
18
sysutils/gkrellm/gkrellm/patches/patch-src_net_c
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-src_net_c,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- src/net.c.orig 2003-09-10 19:50:14.000000000 -0700
|
||||
+++ src/net.c 2003-10-27 11:00:22.000000000 -0800
|
||||
@@ -1487,11 +1487,11 @@ save_net_data(void)
|
||||
tm->tm_mday, tm->tm_mon, tm->tm_yday, tm->tm_year);
|
||||
|
||||
fputs("day\n", f);
|
||||
- fprintf(f, "%.0lf %.0lf\n", net->rx_day, net->tx_day);
|
||||
+ fprintf(f, "%.0f %.0f\n", net->rx_day, net->tx_day);
|
||||
fputs("week\n", f);
|
||||
- fprintf(f, "%.0lf %.0lf\n", net->rx_week, net->tx_week);
|
||||
+ fprintf(f, "%.0f %.0f\n", net->rx_week, net->tx_week);
|
||||
fputs("month\n", f);
|
||||
- fprintf(f, "%.0lf %.0lf\n", net->rx_month, net->tx_month);
|
||||
+ fprintf(f, "%.0f %.0f\n", net->rx_month, net->tx_month);
|
||||
if (net == net_timed)
|
||||
{
|
||||
fputs("connect time: day week month\n", f);
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_sysdeps_bsd-common_c,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- src/sysdeps/bsd-common.c.orig 2003-10-28 10:16:45.000000000 -0800
|
||||
+++ src/sysdeps/bsd-common.c 2003-10-28 10:17:31.000000000 -0800
|
||||
@@ -219,7 +219,7 @@ gkrellm_sys_fs_get_fstab_list(void)
|
||||
{
|
||||
FILE *f;
|
||||
gchar buf[1024], *s;
|
||||
- gchar dev[64], dir[128], type[64], opt[128];
|
||||
+ gchar dev[65], dir[129], type[65], opt[129];
|
||||
|
||||
if ((f = fopen("/etc/fstab", "r")) == NULL)
|
||||
return;
|
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-src_sysdeps_bsd-net-open_c,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- src/sysdeps/bsd-net-open.c.orig 2003-10-11 15:19:55.000000000 -0700
|
||||
+++ src/sysdeps/bsd-net-open.c 2003-10-28 10:16:17.000000000 -0800
|
||||
@@ -219,7 +219,7 @@ gkrellm_sys_mem_read_data(void)
|
||||
unsigned long total, used, x_used, free, shared, buffers, cached;
|
||||
struct vmtotal vmt;
|
||||
struct uvmexp uvmexp;
|
||||
- int len;
|
||||
+ size_t len;
|
||||
static struct nlist nl[] = {
|
||||
#define X_UVM_EXP 0
|
||||
{ "_uvmexp" },
|
||||
@@ -291,7 +291,7 @@ gkrellm_sys_mem_init(void)
|
||||
/* Battery monitor interface */
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
-#if defined(__i386__)
|
||||
+#if defined(__i386__) || defined(__powerpc__)
|
||||
|
||||
#include <machine/apmvar.h>
|
||||
#define APMDEV "/dev/apm"
|
24
sysutils/gkrellm/gkrellm/patches/patch-src_sysdeps_openbsd_c
Normal file
24
sysutils/gkrellm/gkrellm/patches/patch-src_sysdeps_openbsd_c
Normal file
@ -0,0 +1,24 @@
|
||||
$OpenBSD: patch-src_sysdeps_openbsd_c,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- src/sysdeps/openbsd.c.orig 2003-01-08 17:03:31.000000000 -0800
|
||||
+++ src/sysdeps/openbsd.c 2003-10-28 10:09:12.000000000 -0800
|
||||
@@ -34,7 +34,7 @@ gkrellm_sys_main_init(void)
|
||||
| kmem privilege, it runs with available information.
|
||||
*/
|
||||
kvmd = kvm_openfiles(NULL, NULL, NULL, O_RDONLY, errbuf);
|
||||
- if (setgid(getgid()) != 0)
|
||||
+ if (setgid(getegid()) != 0)
|
||||
{
|
||||
fprintf(stderr, "Can't drop setgid privileges.");
|
||||
exit(1);
|
||||
@@ -107,8 +107,9 @@ gkrellm_sys_proc_read_data(void)
|
||||
double avenrun;
|
||||
guint n_forks = 0, n_processes = 0;
|
||||
struct uvmexp *uvmexp;
|
||||
- int len, i;
|
||||
-
|
||||
+ int i;
|
||||
+ size_t len;
|
||||
+
|
||||
static struct nlist nl[] = {
|
||||
#define X_UVM_EXP 0
|
||||
{ "_uvmexp" },
|
3
sysutils/gkrellm/gkrellm/pkg/DESCR
Normal file
3
sysutils/gkrellm/gkrellm/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
GKrellM2 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.
|
38
sysutils/gkrellm/gkrellm/pkg/PLIST
Normal file
38
sysutils/gkrellm/gkrellm/pkg/PLIST
Normal file
@ -0,0 +1,38 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
@group kmem
|
||||
@mode 2755
|
||||
bin/gkrellm
|
||||
@mode
|
||||
@group
|
||||
include/gkrellm2/gkrellm-public-proto.h
|
||||
include/gkrellm2/gkrellm.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/sl/LC_MESSAGES/gkrellm.mo
|
||||
share/locale/sv/LC_MESSAGES/gkrellm.mo
|
||||
@exec mkdir -p %D/lib/gkrellm2/plugins
|
||||
@comment @dirrm share/locale/sv/LC_MESSAGES
|
||||
@comment @dirrm share/locale/sv
|
||||
@comment @dirrm share/locale/sl/LC_MESSAGES
|
||||
@comment @dirrm share/locale/sl
|
||||
@comment @dirrm share/locale/ru/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ru
|
||||
@comment @dirrm share/locale/pl/LC_MESSAGES
|
||||
@comment @dirrm share/locale/pl
|
||||
@comment @dirrm share/locale/ja/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ja
|
||||
@comment @dirrm share/locale/fr/LC_MESSAGES
|
||||
@comment @dirrm share/locale/fr
|
||||
@comment @dirrm share/locale/es/LC_MESSAGES
|
||||
@comment @dirrm share/locale/es
|
||||
@comment @dirrm share/locale/de/LC_MESSAGES
|
||||
@comment @dirrm share/locale/de
|
||||
@comment @dirrm share/locale
|
||||
@dirrm include/gkrellm2
|
||||
@dirrm lib/gkrellm2/plugins
|
||||
@dirrm lib/gkrellm2
|
21
sysutils/gkrellm/plugins/Makefile
Normal file
21
sysutils/gkrellm/plugins/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
|
||||
SUBDIR += aclock
|
||||
SUBDIR += bgchg
|
||||
SUBDIR += flynn
|
||||
SUBDIR += itime
|
||||
SUBDIR += kam
|
||||
SUBDIR += launch
|
||||
SUBDIR += mailwatch
|
||||
SUBDIR += mms
|
||||
SUBDIR += moon
|
||||
SUBDIR += mss
|
||||
SUBDIR += reminder
|
||||
SUBDIR += shoot
|
||||
SUBDIR += stock
|
||||
SUBDIR += sun
|
||||
SUBDIR += volume
|
||||
SUBDIR += weather
|
||||
SUBDIR += wireless
|
||||
|
||||
.include <bsd.port.subdir.mk>
|
23
sysutils/gkrellm/plugins/Makefile.inc
Normal file
23
sysutils/gkrellm/plugins/Makefile.inc
Normal file
@ -0,0 +1,23 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
|
||||
MAINTAINER?= Peter Hessler <spambox@theapt.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM?= Yes
|
||||
PERMIT_PACKAGE_FTP?= Yes
|
||||
PERMIT_DISTFILES_CDROM?=Yes
|
||||
PERMIT_DISTFILES_FTP?= Yes
|
||||
|
||||
BUILD_DEPENDS+= :gkrellm->=2.1.0:sysutils/gkrellm/gkrellm
|
||||
RUN_DEPENDS+= :gkrellm->=2.1.0:sysutils/gkrellm/gkrellm
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
NO_REGRESS= Yes
|
||||
USE_GMAKE= Yes
|
||||
|
||||
PLUGINDIR= ${PREFIX}/lib/gkrellm2/plugins
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PLUGINDIR}
|
||||
${INSTALL_DATA} ${PLUGIN} ${PLUGINDIR}
|
||||
|
18
sysutils/gkrellm/plugins/aclock/Makefile
Normal file
18
sysutils/gkrellm/plugins/aclock/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
|
||||
COMMENT= "Analog clock for GkrellM2"
|
||||
|
||||
VERSION= 0.3.2
|
||||
DISTNAME= gkrellaclock-${VERSION}
|
||||
CATEGORIES= misc sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://www.geocities.com/m_muthukumar/gkrellaclock.html
|
||||
|
||||
MASTER_SITES= http://www.geocities.com/m_muthukumar/
|
||||
|
||||
WRKDIST= ${WRKDIR}/gkrellAclock-${VERSION}
|
||||
ALL_TARGET= gkrellaclock.so
|
||||
|
||||
PLUGIN= ${WRKSRC}/gkrellaclock.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/aclock/distinfo
Normal file
3
sysutils/gkrellm/plugins/aclock/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellaclock-0.3.2.tar.gz) = 324ad57708a19aa6c1297403aba580b9
|
||||
RMD160 (gkrellaclock-0.3.2.tar.gz) = 941b6020088a426bce1860fbc70e44c334188cc8
|
||||
SHA1 (gkrellaclock-0.3.2.tar.gz) = 9ca3cf31a32d31ddee93a173744eeb53ddbc9a35
|
20
sysutils/gkrellm/plugins/aclock/patches/patch-Makefile
Normal file
20
sysutils/gkrellm/plugins/aclock/patches/patch-Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- Makefile.orig 2002-08-13 18:28:46.000000000 +0200
|
||||
+++ Makefile 2003-11-02 10:21:41.000000000 +0100
|
||||
@@ -1,11 +1,10 @@
|
||||
-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
|
||||
-GTK_LIB = `pkg-config gtk+-2.0 --libs`
|
||||
+GTK_INCLUDE = `pkg-config gtk+-2.0 gthread-2.0 --cflags`
|
||||
+GTK_LIB = `pkg-config gtk+-2.0 gthread-2.0 --libs`
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
|
||||
-LIBS = $(GTK_LIB)
|
||||
-LFLAGS = -shared
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) -I${LOCALBASE}/include
|
||||
+LIBS += $(GTK_LIB)
|
||||
+LFLAGS += -shared -pthread
|
||||
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
|
||||
OBJS = gkrellaclock.o
|
||||
|
1
sysutils/gkrellm/plugins/aclock/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/aclock/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Analog clock plugin for GkrellM2
|
2
sysutils/gkrellm/plugins/aclock/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/aclock/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
lib/gkrellm2/plugins/gkrellaclock.so
|
19
sysutils/gkrellm/plugins/bgchg/Makefile
Normal file
19
sysutils/gkrellm/plugins/bgchg/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
|
||||
COMMENT= "Change Background Image with GkrellM2"
|
||||
|
||||
DISTNAME= gkrellmbgchg2-0.0.7
|
||||
CATEGORIES= x11 sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://www.personal.uni-jena.de/~p6best/english/comp/gkrellmbgchg.html
|
||||
|
||||
PERMIT_PACKAGE_CDROM= "no license"
|
||||
PERMIT_PACKAGE_FTP= "no license"
|
||||
PERMIT_DISTFILES_CDROM= "no license"
|
||||
PERMIT_DISTFILES_FTP= "no license"
|
||||
|
||||
MASTER_SITES= http://www.personal.uni-jena.de/~p6best/comp/sources/
|
||||
|
||||
PLUGIN= ${WRKSRC}/gkrellmbgchg.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/bgchg/distinfo
Normal file
3
sysutils/gkrellm/plugins/bgchg/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellmbgchg2-0.0.7.tar.gz) = 9887dd0fc22068702a32a2c7deaa85b0
|
||||
RMD160 (gkrellmbgchg2-0.0.7.tar.gz) = fc931dfba251fff75780520a2e4b97184fcaa118
|
||||
SHA1 (gkrellmbgchg2-0.0.7.tar.gz) = 5dd637805a6778010ba4644ff18d70b682231376
|
25
sysutils/gkrellm/plugins/bgchg/patches/patch-Makefile
Normal file
25
sysutils/gkrellm/plugins/bgchg/patches/patch-Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- Makefile.orig Tue Dec 24 11:37:30 2002
|
||||
+++ Makefile Tue Dec 24 11:38:07 2002
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
GTK_CONFIG ?=pkg-config
|
||||
|
||||
-GTK_INCLUDE = `$(GTK_CONFIG) gtk+-2.0 --cflags`
|
||||
-GTK_LIB = `$(GTK_CONFIG) gtk+-2.0 --libs`
|
||||
+GTK_INCLUDE = `$(GTK_CONFIG) gtk+-2.0 gthread-2.0 --cflags`
|
||||
+GTK_LIB = `$(GTK_CONFIG) gtk+-2.0 gthread-2.0 --libs`
|
||||
|
||||
-GKRELLM_INCLUDE= -I/usr/local/include
|
||||
+GKRELLM_INCLUDE= -I${LOCALBASE}/include
|
||||
|
||||
INSTALL=install -c -m 755
|
||||
|
||||
-CFLAGS += -O3 -Wall -fPIC $(GTK_INCLUDE) $(GKRELLM_INCLUDE)
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) $(GKRELLM_INCLUDE)
|
||||
LIBS = $(GTK_LIB)
|
||||
-LFLAGS += -shared
|
||||
+LFLAGS += -shared -pthread
|
||||
|
||||
OBJS = gkrellmbgchg.o
|
||||
|
1
sysutils/gkrellm/plugins/bgchg/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/bgchg/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Manipulate background Images with GkrellM2
|
2
sysutils/gkrellm/plugins/bgchg/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/bgchg/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
lib/gkrellm2/plugins/gkrellmbgchg.so
|
16
sysutils/gkrellm/plugins/flynn/Makefile
Normal file
16
sysutils/gkrellm/plugins/flynn/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
|
||||
COMMENT= "GkrellM2 load meter with a familiar face"
|
||||
|
||||
DISTNAME= gkrellflynn-0.6
|
||||
CATEGORIES= x11 sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://horus.comlab.uni-rostock.de/flynn/
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
ALL_TARGET= gkrellm2
|
||||
|
||||
PLUGIN= ${WRKSRC}/gkrellflynn.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/flynn/distinfo
Normal file
3
sysutils/gkrellm/plugins/flynn/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellflynn-0.6.tar.gz) = 6e5101d79861ca2831f7ee0a87dca2c9
|
||||
RMD160 (gkrellflynn-0.6.tar.gz) = 9aab766f25d4a62f8dbe6e2840388ded820e123f
|
||||
SHA1 (gkrellflynn-0.6.tar.gz) = ba1d3b68553ee23d04b2d87a1a8388589ffb8d34
|
19
sysutils/gkrellm/plugins/flynn/patches/patch-Makefile
Normal file
19
sysutils/gkrellm/plugins/flynn/patches/patch-Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- Makefile.orig 2002-05-07 01:04:49.000000000 -0700
|
||||
+++ Makefile 2003-11-01 13:24:02.000000000 -0800
|
||||
@@ -3,12 +3,11 @@
|
||||
#
|
||||
# updated for gkrellm2.0
|
||||
|
||||
-CC = gcc
|
||||
-CFLAGS = -c -O -Wall -fPIC `${EXTRACONF}`
|
||||
+CFLAGS += -c -fPIC `${EXTRACONF}` -I${LOCALBASE}/include
|
||||
|
||||
LD = $(CC)
|
||||
-LDFLAGS = -shared -Wl -o
|
||||
-INCPATH = -I.
|
||||
+LDFLAGS += -shared -Wl -o
|
||||
+INCPATH += -I.
|
||||
INCPATH += ${GKRELL_INC}
|
||||
|
||||
TARGET = gkrellflynn.so
|
16
sysutils/gkrellm/plugins/flynn/patches/patch-gkrellflynn_c
Normal file
16
sysutils/gkrellm/plugins/flynn/patches/patch-gkrellflynn_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-gkrellflynn_c,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
--- gkrellflynn.c.orig Tue Dec 24 12:06:31 2002
|
||||
+++ gkrellflynn.c Tue Dec 24 12:09:13 2002
|
||||
@@ -24,12 +24,7 @@
|
||||
*/
|
||||
#ifndef WIN32
|
||||
|
||||
-/* see makefile */
|
||||
-#ifdef GKRELLM2
|
||||
#include <gkrellm2/gkrellm.h>
|
||||
-#else /* GKRELLM2 */
|
||||
-#include <gkrellm/gkrellm.h>
|
||||
-#endif /* GKRELLM2 */
|
||||
|
||||
#else /* WIN32 */
|
||||
|
3
sysutils/gkrellm/plugins/flynn/pkg/DESCR
Normal file
3
sysutils/gkrellm/plugins/flynn/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Cruel GkrellM2 plugin where you watch Flynn (the main character from
|
||||
DOOM) get hurt as the CPU usage goes up. Make build, and watch him
|
||||
bleed! (Images are owned by ID Software)
|
2
sysutils/gkrellm/plugins/flynn/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/flynn/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
lib/gkrellm2/plugins/gkrellflynn.so
|
16
sysutils/gkrellm/plugins/itime/Makefile
Normal file
16
sysutils/gkrellm/plugins/itime/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:16 sturm Exp $
|
||||
|
||||
COMMENT= "GkrellM2 plugin that shows Interet Time"
|
||||
|
||||
VERSION= 1.0
|
||||
DISTNAME= gkrellmitime-${VERSION}
|
||||
CATEGORIES= net sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://eric.bianchi.free.fr/gkrellm/
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
ALL_TARGET= gkrellm_itime.so
|
||||
PLUGIN= ${WRKSRC}/gkrellm_itime.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/itime/distinfo
Normal file
3
sysutils/gkrellm/plugins/itime/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellmitime-1.0.tar.gz) = 87e1d1c079c519f79c5e2aa1fdda6ee0
|
||||
RMD160 (gkrellmitime-1.0.tar.gz) = 657ab0014d418c58f8545eea0d8d7097379c49fe
|
||||
SHA1 (gkrellmitime-1.0.tar.gz) = fdb6a4d1a894f8075903ac7b5696fe111a46cdcd
|
39
sysutils/gkrellm/plugins/itime/patches/patch-Makefile
Normal file
39
sysutils/gkrellm/plugins/itime/patches/patch-Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
--- Makefile.orig Sun Jun 30 11:10:35 2002
|
||||
+++ Makefile Sat Feb 1 13:54:26 2003
|
||||
@@ -1,24 +1,25 @@
|
||||
# Modify INCLUDE to point to gkrellm.h (if it's not in /usr/local/include)
|
||||
-INCLUDE = /usr/local/include
|
||||
+INCLUDE = ${LOCALBASE}/include/
|
||||
|
||||
-CC = gcc
|
||||
-CFLAGS = -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch \
|
||||
- -Wcomment-Wparentheses -Wtraditional -Wpointer-arith \
|
||||
- -Wmissing-prototypes -O2 -fPIC -I$(INCLUDE) \
|
||||
- `pkg-config gtk+-2.0 --cflags`
|
||||
-LDFLAGS =
|
||||
+#CFLAGS = -Wimplicit -Wreturn-type -Wunused -Wswitch \
|
||||
+# -Wcomment-Wparentheses -Wtraditional -Wpointer-arith \
|
||||
+# -Wmissing-prototypes
|
||||
+
|
||||
+CFLAGS+= -fPIC -I$(INCLUDE) \
|
||||
+ `pkg-config gtk+-2.0 gthread-2.0 --cflags`
|
||||
+LDFLAGS = -shared -pthread
|
||||
TARGET = gkrellm_itime
|
||||
|
||||
|
||||
|
||||
$(TARGET).so: $(TARGET).o
|
||||
- $(CC) -shared -Wl `pkg-config gtk+-2.0 --libs` $< -o $@
|
||||
+ $(CC) -shared -Wl `pkg-config gtk+-2.0 gthread-2.0 --libs` $< -o $@
|
||||
|
||||
$(TARGET).o: $(TARGET).c
|
||||
- $(CC) $(CFLAGS) -c $<
|
||||
+ $(CC) $(CFLAGS) ${LDFLAGS} -c $<
|
||||
|
||||
$(TARGET): $(TARGET).c
|
||||
- $(CC) $(CFLAGS) $< -o $@
|
||||
+ $(CC) $(CFLAGS) ${LDFLAGS} $< -o $@
|
||||
|
||||
install:
|
||||
if [ -d /usr/lib/gkrellm/plugins/ ] ; then \
|
13
sysutils/gkrellm/plugins/itime/patches/patch-gkrellm_itime_c
Normal file
13
sysutils/gkrellm/plugins/itime/patches/patch-gkrellm_itime_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-gkrellm_itime_c,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
--- gkrellm_itime.c.orig Wed Aug 14 12:18:21 2002
|
||||
+++ gkrellm_itime.c Wed Jan 8 22:27:58 2003
|
||||
@@ -71,7 +71,8 @@
|
||||
#define gkrellm_panel_bg_image_override gkrellm_panel_bg_piximage_override
|
||||
#define gkrellm_load_image gkrellm_load_piximage
|
||||
#define gkrellm_set_image_border gkrellm_set_gkrellmrc_piximage_border
|
||||
-#define gkrellm_get_gkrellmrc_image_border gkrellm_get_gkrellmrc_piximage_border#define gkrellm_bg_chart_image gkrellm_bg_chart_piximage
|
||||
+#define gkrellm_get_gkrellmrc_image_border gkrellm_get_gkrellmrc_piximage_border
|
||||
+#define gkrellm_bg_chart_image gkrellm_bg_chart_piximage
|
||||
#define gkrellm_bg_grid_image gkrellm_bg_grid_piximage
|
||||
#define gkrellm_bg_panel_image gkrellm_bg_panel_piximage
|
||||
#define gkrellm_bg_meter_image gkrellm_bg_meter_piximage
|
8
sysutils/gkrellm/plugins/itime/pkg/DESCR
Normal file
8
sysutils/gkrellm/plugins/itime/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
Gkrellmitime2 is the internet time plugin for Gkrellm2.
|
||||
|
||||
* The Internet Time is measured in ".beats".
|
||||
* One beat is the equivalent of 1 minute 26.4 seconds
|
||||
and a day is divided in 1000 beats.
|
||||
* The Internet Time is the same all over the world.
|
||||
* The Internet Time is based on a new meridian in Biel,
|
||||
Switzerland, the Biel MeanTime (BMT).
|
2
sysutils/gkrellm/plugins/itime/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/itime/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
lib/gkrellm2/plugins/gkrellm_itime.so
|
21
sysutils/gkrellm/plugins/kam/Makefile
Normal file
21
sysutils/gkrellm/plugins/kam/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
|
||||
COMMENT= "Web cam plugin for GkrellM2"
|
||||
|
||||
VERSION= 2.0.0
|
||||
DISTNAME= gkrellkam-${VERSION}
|
||||
CATEGORIES= graphics sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://gkrellkam.sourceforge.net
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellkam/}
|
||||
DISTFILES= gkrellkam_${VERSION}.tar.gz
|
||||
|
||||
RUN_DEPENDS+= :wget-*:net/wget
|
||||
|
||||
PLUGIN= ${WRKSRC}/gkrellkam2.so
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/gkrellkam-list.5 ${PREFIX}/man/man5/gkrellkam.5
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/kam/distinfo
Normal file
3
sysutils/gkrellm/plugins/kam/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellkam_2.0.0.tar.gz) = 657c99de172bc7598098a6a4196ff07b
|
||||
RMD160 (gkrellkam_2.0.0.tar.gz) = fb1ce983ee7e64d6aa04f67ab6bb18c69497f973
|
||||
SHA1 (gkrellkam_2.0.0.tar.gz) = 601808eeec695cc2a3cfce2132d7b5bf2578a591
|
24
sysutils/gkrellm/plugins/kam/patches/patch-Makefile
Normal file
24
sysutils/gkrellm/plugins/kam/patches/patch-Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
--- Makefile.orig Tue Dec 24 10:16:22 2002
|
||||
+++ Makefile Tue Dec 24 10:17:30 2002
|
||||
@@ -10,16 +10,15 @@ TARGET = gkrellkam2
|
||||
DESTDIR =
|
||||
|
||||
# This should point to the GKrellM headers
|
||||
-GKRELLM_HDRS = /usr/include
|
||||
+GKRELLM_HDRS = ${LOCALBASE}/include
|
||||
|
||||
-CC := gcc
|
||||
-GTKFLAGS := $(shell pkg-config gtk+-2.0 --cflags)
|
||||
-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) -I$(GKRELLM_HDRS)
|
||||
+GTKFLAGS := $(shell pkg-config gtk+-2.0 gthread-2.0 --cflags)
|
||||
+CFLAGS := $(CFLAGS) -fPIC $(GTKFLAGS) -I$(GKRELLM_HDRS)
|
||||
LDFLAGS := -shared -Wl
|
||||
INST_DIR := $(DESTDIR)/usr/lib/gkrellm2/plugins
|
||||
USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm2/plugins
|
||||
MANPAGES := gkrellkam-list.5
|
||||
-MANPAGE_DIR := $(DESTDIR)/usr/share/man/man5
|
||||
+MANPAGE_DIR := $(DESTDIR)/${PREFIX}/man/man5
|
||||
|
||||
.PHONY: clean install
|
||||
|
1
sysutils/gkrellm/plugins/kam/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/kam/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
GkrellM2 plugin to monitor graphics files (local, internet based)
|
3
sysutils/gkrellm/plugins/kam/pkg/PLIST
Normal file
3
sysutils/gkrellm/plugins/kam/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
lib/gkrellm2/plugins/gkrellkam2.so
|
||||
man/man5/gkrellkam.5
|
14
sysutils/gkrellm/plugins/launch/Makefile
Normal file
14
sysutils/gkrellm/plugins/launch/Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
|
||||
COMMENT= "launch commonly used apps from GkrellM2"
|
||||
|
||||
DISTNAME= gkrellmlaunch-0.5
|
||||
CATEGORIES= x11 sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://gkrellmlaunch.sourceforge.net/
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellmlaunch/}
|
||||
|
||||
ALL_TARGET= gkrellmlaunch.so
|
||||
PLUGIN= ${WRKSRC}/gkrellmlaunch.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/launch/distinfo
Normal file
3
sysutils/gkrellm/plugins/launch/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellmlaunch-0.5.tar.gz) = 110797c344a09daac71f71643b91fc6e
|
||||
RMD160 (gkrellmlaunch-0.5.tar.gz) = 846c877d2e3eb7c7934f384fd94df449aa647571
|
||||
SHA1 (gkrellmlaunch-0.5.tar.gz) = ce4b1570a4e6bdd5c48578868a74013bbf9da95b
|
25
sysutils/gkrellm/plugins/launch/patches/patch-Makefile
Normal file
25
sysutils/gkrellm/plugins/launch/patches/patch-Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
--- Makefile.orig 2002-09-26 06:56:06.000000000 -0700
|
||||
+++ Makefile 2003-11-01 13:46:23.000000000 -0800
|
||||
@@ -1,16 +1,13 @@
|
||||
# Sample Makefile for a GKrellM plugin
|
||||
|
||||
-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
|
||||
-GTK_LIB = `pkg-config gtk+-2.0 --libs`
|
||||
+GTK_INCLUDE = `pkg-config gtk+-2.0 gthread-2.0 --cflags`
|
||||
+GTK_LIB = `pkg-config gtk+-2.0 gthread-2.0 --libs`
|
||||
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) -g
|
||||
-#LIBS = $(GTK_LIB) $(IMLIB_LIB) -lefence
|
||||
-LIBS = $(GTK_LIB) $(IMLIB_LIB)
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) -g -I${LOCALBASE}/include
|
||||
+LIBS += $(GTK_LIB) $(IMLIB_LIB)
|
||||
|
||||
-LFLAGS = -shared -W1
|
||||
-
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
+LFLAGS += -shared -W1 -pthread
|
||||
|
||||
OBJS = gkrellmlaunch.o
|
||||
|
1
sysutils/gkrellm/plugins/launch/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/launch/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Use GkrellM2 to launch your favorite programs.
|
2
sysutils/gkrellm/plugins/launch/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/launch/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
lib/gkrellm2/plugins/gkrellmlaunch.so
|
15
sysutils/gkrellm/plugins/mailwatch/Makefile
Normal file
15
sysutils/gkrellm/plugins/mailwatch/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
|
||||
COMMENT= "GkrellM2 plugin to monitor multiple mailboxes"
|
||||
|
||||
DISTNAME= gkrellm-mailwatch-2.4.2
|
||||
CATEGORIES= mail sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://gkrellm.luon.net/wireless.phtml
|
||||
|
||||
MASTER_SITES= http://gkrellm.luon.net/files/
|
||||
|
||||
WRKDIST= ${WRKDIR}/gkrellm-mailwatch
|
||||
PLUGIN= ${WRKSRC}/mailwatch.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/mailwatch/distinfo
Normal file
3
sysutils/gkrellm/plugins/mailwatch/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellm-mailwatch-2.4.2.tar.gz) = 93ddba20cca1ed7c26ce8d23949ed880
|
||||
RMD160 (gkrellm-mailwatch-2.4.2.tar.gz) = c4b6f0908a0d184119f14255f58475e67d072147
|
||||
SHA1 (gkrellm-mailwatch-2.4.2.tar.gz) = a33a4b9745c4588720214e1cc01ee8c4c4667f93
|
26
sysutils/gkrellm/plugins/mailwatch/patches/patch-Makefile
Normal file
26
sysutils/gkrellm/plugins/mailwatch/patches/patch-Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
--- Makefile.orig Tue Dec 24 12:47:34 2002
|
||||
+++ Makefile Tue Dec 24 12:48:21 2002
|
||||
@@ -1,18 +1,18 @@
|
||||
# Makefile for the GKrellM mailwatch plugin
|
||||
|
||||
-GTK_CONFIG ?=pkg-config gtk+-2.0
|
||||
+GTK_CONFIG ?=pkg-config gtk+-2.0 gthread-2.0
|
||||
PLUGIN_DIR ?=/usr/local/lib/gkrellm2/plugins
|
||||
|
||||
GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
|
||||
GTK_LIB = `$(GTK_CONFIG) --libs`
|
||||
|
||||
-GKRELLM_INCLUDE= -I/usr/local/include
|
||||
+GKRELLM_INCLUDE= -I${LOCALBASE}/include
|
||||
|
||||
INSTALL=install -c -m 755
|
||||
|
||||
-CFLAGS += -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
|
||||
LIBS = $(GTK_LIB) $(IMLIB_LIB)
|
||||
-LFLAGS += -shared
|
||||
+LFLAGS += -shared -pthread
|
||||
|
||||
OBJS = mailwatch.o
|
||||
|
1
sysutils/gkrellm/plugins/mailwatch/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/mailwatch/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
GkrellM2 plugin to monitor multiple mailboxes
|
2
sysutils/gkrellm/plugins/mailwatch/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/mailwatch/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
lib/gkrellm2/plugins/mailwatch.so
|
18
sysutils/gkrellm/plugins/mms/Makefile
Normal file
18
sysutils/gkrellm/plugins/mms/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
|
||||
COMMENT= "XMMS plugin for Gkrellm2"
|
||||
|
||||
DISTNAME= gkrellmms-2.1.12
|
||||
CATEGORIES= audio sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://gkrellm.luon.net/gkrellmms.phtml
|
||||
|
||||
MASTER_SITES= http://gkrellm.luon.net/files/
|
||||
|
||||
LIB_DEPENDS+= xmms.3::audio/xmms
|
||||
|
||||
WRKDIST= ${WRKDIR}/gkrellmms
|
||||
ALL_TARGET= gkrellmms.so
|
||||
PLUGIN= ${WRKSRC}/gkrellmms.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/mms/distinfo
Normal file
3
sysutils/gkrellm/plugins/mms/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellmms-2.1.12.tar.gz) = e4e6ed080d08ef9f5f7677becd01981d
|
||||
RMD160 (gkrellmms-2.1.12.tar.gz) = 492aeadb9279d5ed6c541c6954fc595eb82845e6
|
||||
SHA1 (gkrellmms-2.1.12.tar.gz) = bda1dde61574abc63f139f5822674c58f8d1d412
|
47
sysutils/gkrellm/plugins/mms/patches/patch-Makefile
Normal file
47
sysutils/gkrellm/plugins/mms/patches/patch-Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
--- Makefile.orig 2003-06-16 11:39:42.000000000 -0700
|
||||
+++ Makefile 2003-11-01 13:47:37.000000000 -0800
|
||||
@@ -3,19 +3,19 @@
|
||||
# You may want to rename the binary-file.
|
||||
BIN_FILENAME = gkrellmms
|
||||
|
||||
-GTK_INCLUDE ?= `pkg-config gtk+-2.0 --cflags`
|
||||
-GTK_LIB ?= `pkg-config gtk+-2.0 --libs`
|
||||
+GTK_INCLUDE ?= `pkg-config gtk+-2.0 gthread-2.0 --cflags`
|
||||
+GTK_LIB ?= `pkg-config gtk+-2.0 gthread-2.0 --libs`
|
||||
IMLIB_INCLUDE ?=
|
||||
IMLIB_LIB ?=
|
||||
XMMS_INCLUDE ?= `xmms-config --cflags`
|
||||
XMMS_LIB ?= `xmms-config --libs`
|
||||
PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
|
||||
-LIBS = $(GTK_LIB) $(IMLIB_LIB) $(XMMS_LIB)
|
||||
-LFLAGS = -shared -lpthread
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
|
||||
+LIBS += $(GTK_LIB) $(IMLIB_LIB) $(XMMS_LIB) -I${PREFIX}/include
|
||||
+LFLAGS += -shared -pthread
|
||||
|
||||
-LOCALEDIR ?= /usr/share/locale
|
||||
+LOCALEDIR ?= ${PREFIX}/share/locale
|
||||
ifeq ($(enable_nls),1)
|
||||
FLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\"
|
||||
export enable_nls
|
||||
@@ -24,8 +24,6 @@ PACKAGE ?= gkrellmms
|
||||
FLAGS += -DPACKAGE="\"$(PACKAGE)\""
|
||||
export PACKAGE LOCALEDIR
|
||||
|
||||
-CC ?= gcc
|
||||
-CC += $(CFLAGS) $(FLAGS)
|
||||
|
||||
INSTALL = install -c
|
||||
INSTALL_PROGRAM = $(INSTALL) -s
|
||||
@@ -36,7 +34,7 @@ all: $(BIN_FILENAME).so
|
||||
(cd po && ${MAKE} all )
|
||||
|
||||
$(BIN_FILENAME).so: $(OBJS)
|
||||
- $(CC) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS)
|
||||
+ $(CC) ${CFLAGS} $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS) -I${PREFIX}/include
|
||||
|
||||
clean:
|
||||
rm -f *.o core *.so* *.bak *~
|
21
sysutils/gkrellm/plugins/mms/patches/patch-gkrellmms_c
Normal file
21
sysutils/gkrellm/plugins/mms/patches/patch-gkrellmms_c
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-gkrellmms_c,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
--- gkrellmms.c.orig 2003-06-16 20:39:20.000000000 +0200
|
||||
+++ gkrellmms.c 2003-11-02 11:51:20.000000000 +0100
|
||||
@@ -635,7 +635,7 @@ set_x_position(gint x, gchar *anchor)
|
||||
static void
|
||||
button_position(ControlButton *button, gchar *name)
|
||||
{
|
||||
- gchar *s, anchor[8];
|
||||
+ gchar *s, anchor[9];
|
||||
gint x, w, h;
|
||||
|
||||
if ((s = gkrellm_get_gkrellmrc_string(name)) != NULL)
|
||||
@@ -659,7 +659,7 @@ button_position(ControlButton *button, g
|
||||
static void
|
||||
decal_position(GkrellmDecal *decal, gchar *name, gboolean text)
|
||||
{
|
||||
- gchar *s, anchor[8];
|
||||
+ gchar *s, anchor[9];
|
||||
gint x, y;
|
||||
|
||||
anchor[0] = 'l';
|
1
sysutils/gkrellm/plugins/mms/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/mms/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
GkrellM2 plugin that will control XMMS
|
2
sysutils/gkrellm/plugins/mms/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/mms/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
lib/gkrellm2/plugins/gkrellmms.so
|
15
sysutils/gkrellm/plugins/moon/Makefile
Normal file
15
sysutils/gkrellm/plugins/moon/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
|
||||
COMMENT= "Phase of the Moon for GkrellM2"
|
||||
|
||||
DISTNAME= gkrellmoon-0.6
|
||||
CATEGORIES= astro sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://gkrellmoon.sourceforge.net/
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellmoon/}
|
||||
|
||||
ALL_TARGET= gkrellmoon.so
|
||||
PLUGIN= ${WRKSRC}/gkrellmoon.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/moon/distinfo
Normal file
3
sysutils/gkrellm/plugins/moon/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellmoon-0.6.tar.gz) = 0e30da51526d68cbce146ea2bdd9b685
|
||||
RMD160 (gkrellmoon-0.6.tar.gz) = ee82dd38da6a4a1ab071e1cb89dcd2308b9e7df1
|
||||
SHA1 (gkrellmoon-0.6.tar.gz) = 17c59576d422e921fc05c9ebfc5ae68b7ec2bac4
|
23
sysutils/gkrellm/plugins/moon/patches/patch-Makefile
Normal file
23
sysutils/gkrellm/plugins/moon/patches/patch-Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
--- Makefile.orig 2002-12-10 19:36:06.000000000 -0800
|
||||
+++ Makefile 2003-11-01 13:48:52.000000000 -0800
|
||||
@@ -1,14 +1,12 @@
|
||||
-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
|
||||
-GTK_LIB = `pkg-config gtk+-2.0 --libs`
|
||||
+GTK_INCLUDE = `pkg-config gtk+-2.0 gthread-2.0 --cflags`
|
||||
+GTK_LIB = `pkg-config gtk+-2.0 gthread-2.0 --libs`
|
||||
|
||||
INSTALLDIR = ${DESTDIR}/usr/lib/gkrellm2/plugins
|
||||
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
|
||||
-LIBS = $(GTK_LIB)
|
||||
-LFLAGS = -shared
|
||||
-
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) -I${LOCALBASE}/include
|
||||
+LIBS += $(GTK_LIB)
|
||||
+LFLAGS += -shared -pthread
|
||||
|
||||
OBJS = gkrellmoon.o MoonRise.o CalcEphem.o Moon.o
|
||||
|
1
sysutils/gkrellm/plugins/moon/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/moon/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Phase of the Moon indicator for GkrellM2
|
2
sysutils/gkrellm/plugins/moon/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/moon/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
lib/gkrellm2/plugins/gkrellmoon.so
|
17
sysutils/gkrellm/plugins/mss/Makefile
Normal file
17
sysutils/gkrellm/plugins/mss/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
|
||||
COMMENT= "Soundscope for GkrellM2 using ESD"
|
||||
|
||||
DISTNAME= gkrellmss-2.3
|
||||
CATEGORIES= audio sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://web.wt.net/~billw/gkrellmss/gkrellmss.html
|
||||
|
||||
MASTER_SITES= http://web.wt.net/~billw/gkrellmss/
|
||||
|
||||
LIB_DEPENDS+= esd::audio/esound \
|
||||
fftw,rfftw::math/fftw
|
||||
|
||||
PLUGIN= ${WRKSRC}/src/gkrellmss.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/mss/distinfo
Normal file
3
sysutils/gkrellm/plugins/mss/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellmss-2.3.tar.gz) = 457a85c28f049ef0787c842b5494ece0
|
||||
RMD160 (gkrellmss-2.3.tar.gz) = a007a2e26676fb44f4b5e936fc8b2b9247f6b68d
|
||||
SHA1 (gkrellmss-2.3.tar.gz) = a0c955935cc1d1329f8e2a0c5bb6dfdcdf8ad760
|
12
sysutils/gkrellm/plugins/mss/patches/patch-Makefile
Normal file
12
sysutils/gkrellm/plugins/mss/patches/patch-Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
--- Makefile.orig Tue Dec 24 10:02:35 2002
|
||||
+++ Makefile Tue Dec 24 10:03:11 2002
|
||||
@@ -1,6 +1,6 @@
|
||||
-PLUGIN_INSTALLDIR=/usr/local/lib/gkrellm/plugins
|
||||
+PLUGIN_INSTALLDIR=${PREFIX}/lib/gkrellm2/plugins
|
||||
|
||||
-LOCALEDIR ?= /usr/share/locale
|
||||
+LOCALEDIR ?= ${PREFIX}/locale
|
||||
|
||||
export PLUGIN_INSTALLDIR LOCALEDIR
|
||||
|
12
sysutils/gkrellm/plugins/mss/patches/patch-po_Makefile
Normal file
12
sysutils/gkrellm/plugins/mss/patches/patch-po_Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-po_Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
--- po/Makefile.orig Tue Dec 24 10:04:28 2002
|
||||
+++ po/Makefile Tue Dec 24 10:05:05 2002
|
||||
@@ -6,7 +6,7 @@ SUB_DIRS =
|
||||
FILES_PO:=$(wildcard *.po)
|
||||
FILES_MO:=$(FILES_PO:.po=.mo)
|
||||
|
||||
-LOCALEDIR ?= /usr/share/locale
|
||||
+LOCALEDIR ?= ${PREFIX}/share/locale
|
||||
|
||||
ifeq ($(enable_nls),1)
|
||||
all: mo-files
|
43
sysutils/gkrellm/plugins/mss/patches/patch-src_Makefile
Normal file
43
sysutils/gkrellm/plugins/mss/patches/patch-src_Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
$OpenBSD: patch-src_Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
--- src/Makefile.orig 2002-10-26 20:48:59.000000000 -0700
|
||||
+++ src/Makefile 2003-11-01 13:50:46.000000000 -0800
|
||||
@@ -1,8 +1,8 @@
|
||||
INSTALLDIR ?= /usr/local/lib/gkrellm2/plugins
|
||||
INSTALL ?= install
|
||||
|
||||
-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
|
||||
-GTK_LIB = `pkg-config gtk+-2.0 --libs`
|
||||
+GTK_INCLUDE = `pkg-config gtk+-2.0 gthread-2.0 --cflags`
|
||||
+GTK_LIB = `pkg-config gtk+-2.0 gthread-2.0 --libs`
|
||||
|
||||
OS_NAME=$(shell uname -s)
|
||||
|
||||
@@ -18,15 +18,15 @@ FFTW_LIB_DIR ?=
|
||||
|
||||
FFTW_LIB = $(FFTW_LIB_DIR) -lrfftw -lfftw
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(SD_INCLUDE)
|
||||
-LIBS = $(GTK_LIB) $(SD_LIB) $(FFTW_LIB) -lm
|
||||
+FLAGS += -fPIC $(GTK_INCLUDE) $(SD_INCLUDE) -I${LOCALBASE}/include
|
||||
+LIBS += $(GTK_LIB) $(SD_LIB) $(FFTW_LIB) -lm
|
||||
|
||||
ifeq ($(OS_NAME),Darwin)
|
||||
LFLAGS = -bundle -bundle_loader `which gkrellm`
|
||||
STRIP =
|
||||
FLAGS += -DDARWIN
|
||||
else
|
||||
-LFLAGS = -shared
|
||||
+LFLAGS += -shared
|
||||
STRIP ?= -s
|
||||
endif
|
||||
|
||||
@@ -42,8 +42,7 @@ ifeq ($(alsa5),1)
|
||||
FLAGS += -DGKRELLM_ALSA5
|
||||
endif
|
||||
|
||||
-CC = gcc $(FLAGS) $(CFLAGS)
|
||||
-
|
||||
+CFLAGS += ${FLAGS}
|
||||
OBJS = gkrellmss.o oscope.o spectrum.o sdlib.o
|
||||
|
||||
all: gkrellmss.so
|
1
sysutils/gkrellm/plugins/mss/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/mss/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Sound scope plugin for GkrellM2. Uses ESD.
|
2
sysutils/gkrellm/plugins/mss/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/mss/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
|
||||
lib/gkrellm2/plugins/gkrellmss.so
|
14
sysutils/gkrellm/plugins/reminder/Makefile
Normal file
14
sysutils/gkrellm/plugins/reminder/Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
|
||||
COMMENT= "GrekllM2 will remind you to do important events"
|
||||
|
||||
DISTNAME= gkrellm-reminder-2.0.0
|
||||
CATEGORIES= misc sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://web.wt.net/~billw/gkrellm/Plugins.html\#REMINDER
|
||||
|
||||
MASTER_SITES= http://web.wt.net/~billw/gkrellm/Plugins/
|
||||
|
||||
PLUGIN= ${WRKSRC}/reminder.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/reminder/distinfo
Normal file
3
sysutils/gkrellm/plugins/reminder/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellm-reminder-2.0.0.tar.gz) = ae612a076e2d3ef4e6ee67bae406a98e
|
||||
RMD160 (gkrellm-reminder-2.0.0.tar.gz) = e8c0441c329df222ad52668c45fcdb07325bb8ce
|
||||
SHA1 (gkrellm-reminder-2.0.0.tar.gz) = 1558eec7703ca1a44a7a11c87afa7d5169ccc8da
|
22
sysutils/gkrellm/plugins/reminder/patches/patch-Makefile
Normal file
22
sysutils/gkrellm/plugins/reminder/patches/patch-Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
--- Makefile.orig 2002-05-01 10:39:37.000000000 -0700
|
||||
+++ Makefile 2003-11-01 14:18:36.000000000 -0800
|
||||
@@ -1,13 +1,11 @@
|
||||
-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
|
||||
-GTK_LIB = `pkg-config gtk+-2.0 --libs`
|
||||
+GTK_INCLUDE = `pkg-config gtk+-2.0 gthread-2.0 --cflags`
|
||||
+GTK_LIB = `pkg-config gtk+-2.0 gthread-2.0 --libs`
|
||||
|
||||
-CFLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) -I/usr/pkg/include
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) -I${PREFIX}/include
|
||||
|
||||
-LIBS = $(GTK_LIB)
|
||||
+LIBS += $(GTK_LIB)
|
||||
|
||||
-LFLAGS = -shared -L/usr/pkg/lib
|
||||
-
|
||||
-CC = gcc
|
||||
+LFLAGS += -shared -pthread -L${PREFIX}/lib
|
||||
|
||||
all: reminder.so
|
||||
|
164
sysutils/gkrellm/plugins/reminder/patches/patch-reminder_c
Normal file
164
sysutils/gkrellm/plugins/reminder/patches/patch-reminder_c
Normal file
@ -0,0 +1,164 @@
|
||||
$OpenBSD: patch-reminder_c,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
--- reminder.c.orig 2002-12-04 06:29:09.000000000 +0100
|
||||
+++ reminder.c 2003-11-02 16:42:30.000000000 +0100
|
||||
@@ -87,7 +87,7 @@ static struct reminder_config {
|
||||
|
||||
struct event_stored {
|
||||
gchar *name;
|
||||
- guint id;
|
||||
+ gulong id;
|
||||
gint days;
|
||||
gint occurs;
|
||||
time_t start;
|
||||
@@ -333,7 +333,7 @@ reminder_load_stored()
|
||||
// strcpy( current->name, buffer );
|
||||
current->name = g_strdup(buffer);
|
||||
|
||||
- if( fscanf( fp, "%u %d %d %ld %ld %ld\n", ¤t->id, ¤t->days,
|
||||
+ if( fscanf( fp, "%lu %d %d %d %d %d\n", ¤t->id, ¤t->days,
|
||||
¤t->occurs, ¤t->start, ¤t->end,
|
||||
¤t->last_displayed ) != 6 )
|
||||
{
|
||||
@@ -431,7 +431,7 @@ reminder_save_stored()
|
||||
current = head_stored;
|
||||
while( current )
|
||||
{
|
||||
- fprintf( fp, "%s\n%u %d %d %ld %ld %ld\n", current->name, current->id, current->days,
|
||||
+ fprintf( fp, "%s\n%lu %d %d %d %d %d\n", current->name, current->id, current->days,
|
||||
current->occurs, current->start, current->end, current->last_displayed );
|
||||
|
||||
current = current->next;
|
||||
@@ -529,7 +529,7 @@ reminder_remove_event_stored( struct eve
|
||||
}
|
||||
|
||||
static struct event_stored *
|
||||
-reminder_find_event_stored( struct event_stored *head_list, guint id )
|
||||
+reminder_find_event_stored( struct event_stored *head_list, gulong id )
|
||||
{
|
||||
struct event_stored *current;
|
||||
|
||||
@@ -1003,8 +1003,8 @@ reminder_build_today( gboolean rebuild )
|
||||
static void
|
||||
cb_set_days( GtkWidget *window, gpointer data )
|
||||
{
|
||||
- gint weekdays = (gint) data & 1;
|
||||
- gint weekends = (gint) data & 2;
|
||||
+ gint weekdays = (GPOINTER_TO_INT (data)) & 1;
|
||||
+ gint weekends = (GPOINTER_TO_INT (data)) & 2;
|
||||
|
||||
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( check_sun ), weekends );
|
||||
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( check_sat ), weekends );
|
||||
@@ -1383,12 +1383,12 @@ static void
|
||||
cb_remove( GtkWidget *window, gpointer data )
|
||||
{
|
||||
struct id_list *current;
|
||||
- guint id;
|
||||
+ gulong id;
|
||||
|
||||
if( list_main_row_selected == -1 )
|
||||
return;
|
||||
|
||||
- id = (guint) gtk_clist_get_row_data( GTK_CLIST( list_main ), list_main_row_selected );
|
||||
+ id = (gulong) gtk_clist_get_row_data( GTK_CLIST( list_main ), list_main_row_selected );
|
||||
|
||||
/* Try to remove event from temp list. If not, add to to-be-deleted list */
|
||||
if( !reminder_remove_event_stored( &head_temp, id ) )
|
||||
@@ -1661,13 +1661,13 @@ cb_sort_days( GtkCList *clist, gconstpoi
|
||||
|
||||
struct event_stored *es1, *es2;
|
||||
|
||||
- es1 = reminder_find_event_stored( head_stored, (guint) row1->data );
|
||||
+ es1 = reminder_find_event_stored( head_stored, (gulong) row1->data );
|
||||
if( !es1 )
|
||||
- es1 = reminder_find_event_stored( head_temp, (guint) row1->data );
|
||||
+ es1 = reminder_find_event_stored( head_temp, (gulong) row1->data );
|
||||
|
||||
- es2 = reminder_find_event_stored( head_stored, (guint) row2->data );
|
||||
+ es2 = reminder_find_event_stored( head_stored, (gulong) row2->data );
|
||||
if( !es2 )
|
||||
- es2 = reminder_find_event_stored( head_temp, (guint) row2->data );
|
||||
+ es2 = reminder_find_event_stored( head_temp, (gulong) row2->data );
|
||||
|
||||
if( es1 && es2 )
|
||||
{
|
||||
@@ -1692,13 +1692,13 @@ cb_sort_time( GtkCList *clist, gconstpoi
|
||||
|
||||
struct event_stored *es1, *es2;
|
||||
|
||||
- es1 = reminder_find_event_stored( head_stored, (guint) row1->data );
|
||||
+ es1 = reminder_find_event_stored( head_stored, (gulong) row1->data );
|
||||
if( !es1 )
|
||||
- es1 = reminder_find_event_stored( head_temp, (guint) row1->data );
|
||||
+ es1 = reminder_find_event_stored( head_temp, (gulong) row1->data );
|
||||
|
||||
- es2 = reminder_find_event_stored( head_stored, (guint) row2->data );
|
||||
+ es2 = reminder_find_event_stored( head_stored, (gulong) row2->data );
|
||||
if( !es2 )
|
||||
- es2 = reminder_find_event_stored( head_temp, (guint) row2->data );
|
||||
+ es2 = reminder_find_event_stored( head_temp, (gulong) row2->data );
|
||||
|
||||
if( es1 && es2 )
|
||||
return( ( ( es1->start - TIMEZONE_DIFF ) % SECS_PER_DAY ) -
|
||||
@@ -1715,13 +1715,13 @@ cb_sort_start( GtkCList *clist, gconstpo
|
||||
|
||||
struct event_stored *es1, *es2;
|
||||
|
||||
- es1 = reminder_find_event_stored( head_stored, (guint) row1->data );
|
||||
+ es1 = reminder_find_event_stored( head_stored, (gulong) row1->data );
|
||||
if( !es1 )
|
||||
- es1 = reminder_find_event_stored( head_temp, (guint) row1->data );
|
||||
+ es1 = reminder_find_event_stored( head_temp, (gulong) row1->data );
|
||||
|
||||
- es2 = reminder_find_event_stored( head_stored, (guint) row2->data );
|
||||
+ es2 = reminder_find_event_stored( head_stored, (gulong) row2->data );
|
||||
if( !es2 )
|
||||
- es2 = reminder_find_event_stored( head_temp, (guint) row2->data );
|
||||
+ es2 = reminder_find_event_stored( head_temp, (gulong) row2->data );
|
||||
|
||||
if( es1 && es2 )
|
||||
return es1->start - es2->start;
|
||||
@@ -1737,13 +1737,13 @@ cb_sort_end( GtkCList *clist, gconstpoin
|
||||
|
||||
struct event_stored *es1, *es2;
|
||||
|
||||
- es1 = reminder_find_event_stored( head_stored, (guint) row1->data );
|
||||
+ es1 = reminder_find_event_stored( head_stored, (gulong) row1->data );
|
||||
if( !es1 )
|
||||
- es1 = reminder_find_event_stored( head_temp, (guint) row1->data );
|
||||
+ es1 = reminder_find_event_stored( head_temp, (gulong) row1->data );
|
||||
|
||||
- es2 = reminder_find_event_stored( head_stored, (guint) row2->data );
|
||||
+ es2 = reminder_find_event_stored( head_stored, (gulong) row2->data );
|
||||
if( !es2 )
|
||||
- es2 = reminder_find_event_stored( head_temp, (guint) row2->data );
|
||||
+ es2 = reminder_find_event_stored( head_temp, (gulong) row2->data );
|
||||
|
||||
if( es1 && es2 )
|
||||
return es1->end - es2->end;
|
||||
@@ -2884,7 +2884,7 @@ reminder_text_button_enable( void )
|
||||
static void
|
||||
reminder_window_never( GtkWidget *window, gpointer data )
|
||||
{
|
||||
- guint id = (guint) data;
|
||||
+ gulong id = (gulong) data;
|
||||
|
||||
/* delete event from today */
|
||||
num_active--;
|
||||
@@ -2914,7 +2914,7 @@ reminder_window_never( GtkWidget *window
|
||||
static void
|
||||
reminder_window_later( GtkWidget *window, gpointer data )
|
||||
{
|
||||
- guint id = (guint) data;
|
||||
+ gulong id = (gulong) data;
|
||||
struct event_stored *new, *old;
|
||||
|
||||
/* delete event from today */
|
||||
@@ -2991,7 +2991,7 @@ reminder_window_later( GtkWidget *window
|
||||
static void
|
||||
reminder_window_dismiss( GtkWidget *window, gpointer data )
|
||||
{
|
||||
- guint id = (guint) data;
|
||||
+ gulong id = (gulong) data;
|
||||
|
||||
/* delete event from today */
|
||||
num_active--;
|
1
sysutils/gkrellm/plugins/reminder/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/reminder/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
GkrellM2 plugin that will remind you of stuff
|
2
sysutils/gkrellm/plugins/reminder/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/reminder/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
lib/gkrellm2/plugins/reminder.so
|
18
sysutils/gkrellm/plugins/shoot/Makefile
Normal file
18
sysutils/gkrellm/plugins/shoot/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
|
||||
COMMENT= "Snapshot and background plugin for Gkrellm2"
|
||||
|
||||
VERSION= 0.4.1
|
||||
DISTNAME= gkrellshoot-${VERSION}
|
||||
CATEGORIES= x11 sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://gkrellshoot.sourceforge.net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellshoot/}
|
||||
|
||||
RUN_DEPENDS= :ImageMagick-*:graphics/ImageMagick
|
||||
|
||||
WRKDIST= ${WRKDIR}/gkrellShoot-${VERSION}
|
||||
ALL_TARGET= gkrellshoot.so
|
||||
PLUGIN= ${WRKSRC}/gkrellshoot.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/shoot/distinfo
Normal file
3
sysutils/gkrellm/plugins/shoot/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellshoot-0.4.1.tar.gz) = db0835ef0ec77ab06547fff25ec134f7
|
||||
RMD160 (gkrellshoot-0.4.1.tar.gz) = 3bb9b8ce8aa696c7799f1dd482cf893883597b9d
|
||||
SHA1 (gkrellshoot-0.4.1.tar.gz) = 76165636f4e0866813e50f0cc62c513fd8dc3084
|
26
sysutils/gkrellm/plugins/shoot/patches/patch-Makefile
Normal file
26
sysutils/gkrellm/plugins/shoot/patches/patch-Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
--- Makefile.orig 2002-08-18 18:06:16.000000000 +0200
|
||||
+++ Makefile 2003-11-02 12:53:29.000000000 +0100
|
||||
@@ -1,16 +1,15 @@
|
||||
-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
|
||||
-GTK_LIB = `pkg-config gtk+-2.0 --libs`
|
||||
+GTK_INCLUDE = `pkg-config gtk+-2.0 gthread-2.0 --cflags` -I${LOCALBASE}/include
|
||||
+GTK_LIB = `pkg-config gtk+-2.0 gthread-2.0 --libs`
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
|
||||
-LIBS = $(GTK_LIB)
|
||||
-LFLAGS = -shared
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE)
|
||||
+LIBS += $(GTK_LIB)
|
||||
+LFLAGS += -shared
|
||||
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
|
||||
OBJS = gkrellshoot.o
|
||||
|
||||
gkrellshoot.so: $(OBJS)
|
||||
- $(CC) $(OBJS) -o gkrellshoot.so $(LFLAGS) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(OBJS) -o gkrellshoot.so $(LFLAGS) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f *.o core *.so* *.bak *~
|
1
sysutils/gkrellm/plugins/shoot/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/shoot/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
GkrellM2 plugin to activate screensaver and to take screenshots.
|
2
sysutils/gkrellm/plugins/shoot/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/shoot/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
lib/gkrellm2/plugins/gkrellshoot.so
|
24
sysutils/gkrellm/plugins/stock/Makefile
Normal file
24
sysutils/gkrellm/plugins/stock/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
|
||||
COMMENT= "Stock Ticker for GkrellM2"
|
||||
|
||||
VERSION= 0.5.1
|
||||
DISTNAME= gkrellstock-${VERSION}
|
||||
CATEGORIES= misc sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://gkrellstock.sourceforge.net/
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellstock/}
|
||||
|
||||
RUN_DEPENDS+= :p5-Finance-Quote-*:misc/p5-Finance-Quote
|
||||
|
||||
WRKDIST= ${WRKDIR}/gkrellStock-${VERSION}
|
||||
ALL_TARGET= gkrellstock.so
|
||||
PLUGIN= ${WRKSRC}/gkrellstock.so
|
||||
PERLDIR= ${PREFIX}/libdata/perl5/site_perl/Finance/Quote/
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PERLDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Asia.pm ${PERLDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/GetQuote2 ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/stock/distinfo
Normal file
3
sysutils/gkrellm/plugins/stock/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellstock-0.5.1.tar.gz) = c405a86c2e6bfd6953177338720a505b
|
||||
RMD160 (gkrellstock-0.5.1.tar.gz) = c7ce495ed93fe81cb74488c63c8b95a2fe12d53d
|
||||
SHA1 (gkrellstock-0.5.1.tar.gz) = b0352fbcde2f6f2cfbbb666176ce415a4924b434
|
20
sysutils/gkrellm/plugins/stock/patches/patch-Makefile
Normal file
20
sysutils/gkrellm/plugins/stock/patches/patch-Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
--- Makefile.orig 2003-04-21 12:51:38.000000000 -0700
|
||||
+++ Makefile 2003-11-01 13:54:47.000000000 -0800
|
||||
@@ -1,11 +1,9 @@
|
||||
-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
|
||||
-GTK_LIB = `pkg-config gtk+-2.0 --libs`
|
||||
+GTK_INCLUDE = `pkg-config gtk+-2.0 gthread-2.0 --cflags`
|
||||
+GTK_LIB = `pkg-config gtk+-2.0 gthread-2.0 --libs`
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
|
||||
-LIBS = $(GTK_LIB)
|
||||
-LFLAGS = -shared
|
||||
-
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) -I${PREFIX}/include
|
||||
+LIBS += $(GTK_LIB)
|
||||
+LFLAGS += -shared -pthread
|
||||
|
||||
OBJS = gkrellstock.o
|
||||
|
1
sysutils/gkrellm/plugins/stock/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/stock/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Stock ticker for GkerllM2
|
4
sysutils/gkrellm/plugins/stock/pkg/PLIST
Normal file
4
sysutils/gkrellm/plugins/stock/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
bin/GetQuote2
|
||||
lib/gkrellm2/plugins/gkrellstock.so
|
||||
libdata/perl5/site_perl/Finance/Quote/Asia.pm
|
15
sysutils/gkrellm/plugins/sun/Makefile
Normal file
15
sysutils/gkrellm/plugins/sun/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
|
||||
COMMENT= "GkrellM2 plugin to display sun rise/set times"
|
||||
|
||||
DISTNAME= gkrellsun-0.9.1
|
||||
CATEGORIES= astro sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://gkrellsun.sourceforge.net/
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellsun/}
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME}/src20
|
||||
PLUGIN= ${WRKSRC}/gkrellsun.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/sun/distinfo
Normal file
3
sysutils/gkrellm/plugins/sun/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellsun-0.9.1.tar.gz) = 641dae36dba2689a1aad6d891833bb68
|
||||
RMD160 (gkrellsun-0.9.1.tar.gz) = ef800c1886aa5612ed154f0eb949782926f6122d
|
||||
SHA1 (gkrellsun-0.9.1.tar.gz) = 2c86b4d396b864c6324c266e812f9d5c4c0de46b
|
12
sysutils/gkrellm/plugins/sun/patches/patch-CalcEphem_c
Normal file
12
sysutils/gkrellm/plugins/sun/patches/patch-CalcEphem_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-CalcEphem_c,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
--- CalcEphem.c.orig 2003-11-02 13:10:31.000000000 +0100
|
||||
+++ CalcEphem.c 2003-11-02 13:11:15.000000000 +0100
|
||||
@@ -251,7 +251,7 @@ void SunRise(int year, int month, int da
|
||||
SinH0 = sin( -50.0/60.0 * RadPerDeg );
|
||||
|
||||
if (debug) {
|
||||
- printf("gkrellsun ephem debug: CurrentGMTTime = %ld\n", CurrentGMTTime);
|
||||
+ printf("gkrellsun ephem debug: CurrentGMTTime = %d\n", CurrentGMTTime);
|
||||
}
|
||||
|
||||
/* N.B. CurrentGMTTime must already be set! */
|
22
sysutils/gkrellm/plugins/sun/patches/patch-Makefile
Normal file
22
sysutils/gkrellm/plugins/sun/patches/patch-Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
--- Makefile.orig 2002-11-06 06:08:13.000000000 -0800
|
||||
+++ Makefile 2003-11-01 13:55:57.000000000 -0800
|
||||
@@ -1,13 +1,11 @@
|
||||
-GTK_INCLUDE ?= `pkg-config gtk+-2.0 --cflags`
|
||||
-GTK_LIB ?= `pkg-config gtk+-2.0 --libs`
|
||||
+GTK_INCLUDE ?= `pkg-config gtk+-2.0 gthread-2.0 --cflags`
|
||||
+GTK_LIB ?= `pkg-config gtk+-2.0 gthread-2.0 --libs`
|
||||
|
||||
INSTALLDIR = /usr/local/lib/gkrellm2/plugins
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
|
||||
-LIBS = $(GTK_LIB)
|
||||
-LFLAGS = -shared
|
||||
-
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
+CFLAGS += -fPIC $(GTK_INCLUDE) -I${LOCALBASE}/include
|
||||
+LIBS += $(GTK_LIB)
|
||||
+LFLAGS += -shared -pthread
|
||||
|
||||
OBJS = gkrellsun.o CalcEphem.o Moon.o
|
||||
|
12
sysutils/gkrellm/plugins/sun/patches/patch-gkrellsun_c
Normal file
12
sysutils/gkrellm/plugins/sun/patches/patch-gkrellsun_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gkrellsun_c,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
--- gkrellsun.c.orig 2003-11-02 13:07:49.000000000 +0100
|
||||
+++ gkrellsun.c 2003-11-02 13:10:23.000000000 +0100
|
||||
@@ -185,7 +185,7 @@ struct _Sun {
|
||||
SunData data;
|
||||
};
|
||||
|
||||
-extern long CurrentGMTTime;
|
||||
+extern time_t CurrentGMTTime;
|
||||
static Sun sununit;
|
||||
|
||||
static void update_tooltip(Sun *sun);
|
1
sysutils/gkrellm/plugins/sun/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/sun/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
GkrellM2 plugin that displays the rise/set times of the Sun
|
2
sysutils/gkrellm/plugins/sun/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/sun/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
lib/gkrellm2/plugins/gkrellsun.so
|
16
sysutils/gkrellm/plugins/volume/Makefile
Normal file
16
sysutils/gkrellm/plugins/volume/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
|
||||
COMMENT= "Volume dial for Gkrellm2"
|
||||
|
||||
DISTNAME= gkrellm-volume-2.1.8
|
||||
CATEGORIES= audio sysutils/gkrellm
|
||||
|
||||
HOMEPAGE= http://gkrellm.luon.net/volume.phtml
|
||||
|
||||
MASTER_SITES= http://gkrellm.luon.net/files/
|
||||
|
||||
MAKE_FLAGS= SYSLIB="-lossaudio"
|
||||
WRKDIST= ${WRKDIR}/gkrellm-volume
|
||||
PLUGIN= ${WRKSRC}/volume.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/gkrellm/plugins/volume/distinfo
Normal file
3
sysutils/gkrellm/plugins/volume/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gkrellm-volume-2.1.8.tar.gz) = 1be6ea5bdccda735ff9c058703889eb3
|
||||
RMD160 (gkrellm-volume-2.1.8.tar.gz) = 72dd0e1c3333917df76efefcbbf0dc455ced42b2
|
||||
SHA1 (gkrellm-volume-2.1.8.tar.gz) = 0a9e0eb44429f44312c87e15d7135cad7b8d0a2b
|
48
sysutils/gkrellm/plugins/volume/patches/patch-Makefile
Normal file
48
sysutils/gkrellm/plugins/volume/patches/patch-Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
--- Makefile.orig 2003-06-16 21:02:54.000000000 +0200
|
||||
+++ Makefile 2003-11-02 13:19:56.000000000 +0100
|
||||
@@ -1,28 +1,21 @@
|
||||
# Makefile for GKrellM volume plugin
|
||||
|
||||
-GTK_CONFIG = pkg-config gtk+-2.0
|
||||
+GTK_CONFIG = pkg-config gtk+-2.0 gthread-2.0
|
||||
|
||||
PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins
|
||||
-GKRELLM_INCLUDE = -I/usr/local/include
|
||||
+GKRELLM_INCLUDE = -I${LOCALBASE}/include
|
||||
|
||||
GTK_CFLAGS = `$(GTK_CONFIG) --cflags`
|
||||
GTK_LIB = `$(GTK_CONFIG) --libs`
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE)
|
||||
-LIBS = $(GTK_LIB)
|
||||
-LFLAGS = -shared
|
||||
+CFLAGS += -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE)
|
||||
+LIBS += $(GTK_LIB)
|
||||
+LFLAGS += -shared -pthread -lossaudio
|
||||
|
||||
PACKAGE ?= gkrellm-volume
|
||||
LOCALEDIR ?= /usr/local/share/locale
|
||||
|
||||
-ifeq ($(enable_nls),1)
|
||||
- FLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\"
|
||||
- export enable_nls
|
||||
-endif
|
||||
FLAGS += -DPACKAGE="\"$(PACKAGE)\""
|
||||
-export PACKAGE LOCALEDIR
|
||||
-
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
|
||||
INSTALL = install -c
|
||||
INSTALL_PROGRAM = $(INSTALL) -s
|
||||
@@ -30,10 +23,9 @@ INSTALL_PROGRAM = $(INSTALL) -s
|
||||
OBJS = volume.o unix_mixer.o common_mixer.o
|
||||
|
||||
all: volume.so
|
||||
- (cd po && ${MAKE} all )
|
||||
|
||||
volume.so: $(OBJS)
|
||||
- $(CC) $(OBJS) -o volume.so $(LIBS) $(LFLAGS)
|
||||
+ $(CC) $(CFLAGS) $(OBJS) -o volume.so $(LIBS) $(LFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f *.o core *.so* *.bak *~
|
12
sysutils/gkrellm/plugins/volume/patches/patch-unix_mixer_c
Normal file
12
sysutils/gkrellm/plugins/volume/patches/patch-unix_mixer_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-unix_mixer_c,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
--- unix_mixer.c.orig Mon Nov 18 12:34:32 2002
|
||||
+++ unix_mixer.c Mon Dec 23 13:00:27 2002
|
||||
@@ -30,7 +30,7 @@
|
||||
#if defined(__FreeBSD__) && __FreeBSD_version < 500000
|
||||
#include <machine/soundcard.h>
|
||||
#else
|
||||
- #include <sys/soundcard.h>
|
||||
+ #include <soundcard.h>
|
||||
#endif
|
||||
|
||||
#include "mixer.h"
|
14
sysutils/gkrellm/plugins/volume/patches/patch-volume_c
Normal file
14
sysutils/gkrellm/plugins/volume/patches/patch-volume_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-volume_c,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
--- volume.c.orig Mon Nov 18 12:34:32 2002
|
||||
+++ volume.c Wed Jan 8 22:56:11 2003
|
||||
@@ -8,6 +8,10 @@
|
||||
#include "volume.h"
|
||||
#include "mixer.h"
|
||||
|
||||
+#ifdef __OpenBSD__
|
||||
+#include <soundcard.h>
|
||||
+#endif
|
||||
+
|
||||
#define VOLUME_STYLE style_id
|
||||
static gint style_id;
|
||||
static GkrellmMonitor *monitor;
|
1
sysutils/gkrellm/plugins/volume/pkg/DESCR
Normal file
1
sysutils/gkrellm/plugins/volume/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Control the (OSS) mixer volume from GkrellM2
|
2
sysutils/gkrellm/plugins/volume/pkg/PLIST
Normal file
2
sysutils/gkrellm/plugins/volume/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
lib/gkrellm2/plugins/volume.so
|
24
sysutils/gkrellm/plugins/weather/Makefile
Normal file
24
sysutils/gkrellm/plugins/weather/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
|
||||
|
||||
COMMENT= "Weather plugin for GkrellM2"
|
||||
|
||||
DISTNAME= gkrellweather-2.0.6
|
||||
CATEGORIES= x11 sysutils/gkrellm
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
HOMEPAGE= http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/index.html
|
||||
MASTER_SITES= http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/
|
||||
|
||||
RUN_DEPENDS+= :wget-*:net/wget
|
||||
|
||||
ALL_TARGET= gkrellweather.so
|
||||
PLUGIN= ${WRKSRC}/gkrellweather.so
|
||||
|
||||
post-patch:
|
||||
@perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/gkrellweather.c
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/GrabWeather \
|
||||
${PREFIX}/bin/gkrellm.GrabWeather
|
||||
|
||||
.include <bsd.port.mk>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user