New port of a GKrellM plugin which shows status of gnomeICU
PR: 28636 Submitted by: Peter van Heusden <pvh@egenetics.com>
This commit is contained in:
parent
94dd96a7db
commit
ba8826889a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44672
@ -138,6 +138,7 @@
|
||||
SUBDIR += icqlib
|
||||
SUBDIR += icqlib0
|
||||
SUBDIR += icqnix
|
||||
SUBDIR += icukrell
|
||||
SUBDIR += ip-tun
|
||||
SUBDIR += ipcad
|
||||
SUBDIR += ipcalc
|
||||
|
33
net/icukrell/Makefile
Normal file
33
net/icukrell/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# New ports collection makefile for: icukrell
|
||||
# Date Created: 2 July 2001
|
||||
# Whom: Peter van Heusden <pvh@egenetics.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= icukrell
|
||||
PORTVERSION= 0.1.3
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= pvh@egenetics.com
|
||||
|
||||
BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
|
||||
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm \
|
||||
gnomeicu:${PORTSDIR}/net/gnomeicu
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_GNOMELIBS= yes
|
||||
USE_GTK= yes
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -ne "s!/usr/local/!${PREFIX}/!" ${WRKSRC}/config.h
|
||||
|
||||
do-install:
|
||||
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
|
||||
${PREFIX}/libexec/gkrellm/plugins
|
||||
@${INSTALL_DATA} ${WRKSRC}/icukrell.so ${PREFIX}/libexec/gkrellm/plugins
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/icukrell-client ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/icukrell/distinfo
Normal file
1
net/icukrell/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (icukrell-0.1.3.tar.gz) = 8f442cec0a00d490ccc30ce89bf4a90b
|
56
net/icukrell/files/patch-Makefile
Normal file
56
net/icukrell/files/patch-Makefile
Normal file
@ -0,0 +1,56 @@
|
||||
--- Makefile.orig Sun May 6 18:03:12 2001
|
||||
+++ Makefile Mon Jul 2 23:07:45 2001
|
||||
@@ -2,24 +2,25 @@
|
||||
# Makefile for IcuKrell 0.1.3
|
||||
#
|
||||
|
||||
-GTK_INCLUDE = `gtk-config --cflags`
|
||||
-GTK_LIB = `gtk-config --libs`
|
||||
+GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
|
||||
+GTK_LIB = `$(GTK_CONFIG) --libs`
|
||||
|
||||
-GNOME_INCLUDE = `gnome-config --cflags gnorba gnomeui`
|
||||
-GNOME_LIB = `gnome-config --libs gnorba gnomeui`
|
||||
+GNOME_INCLUDE = `$(GNOME_CONFIG) --cflags gnorba gnomeui`
|
||||
+GNOME_LIB = `$(GNOME_CONFIG) --libs gnorba gnomeui`
|
||||
|
||||
-IMLIB_INCLUDE = `imlib-config --cflags-gdk`
|
||||
-IMLIB_LIBS = `imlib-config --libs-gdk`
|
||||
+IMLIB_INCLUDE = `$(IMLIB_CONFIG) --cflags-gdk`
|
||||
+IMLIB_LIBS = `$(IMLIB_CONFIG) --libs-gdk`
|
||||
|
||||
-CFLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(GNOME_INCLUDE) $(IMLIB_INCLUDE)
|
||||
-LIBS = $(GTK_LIB) $(GNOME_LIBS) $(IMLIB_LIBS)
|
||||
-LFLAGS = -shared -lpthread
|
||||
+CFLAGS += -Wall -fPIC $(GTK_INCLUDE) $(GNOME_INCLUDE) $(IMLIB_INCLUDE) $(PTHREAD_CFLAGS)
|
||||
+LIBS = $(GTK_LIB) $(GNOME_LIBS) $(IMLIB_LIBS) $(PTHREAD_LIBS)
|
||||
+LFLAGS = -shared
|
||||
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
+CC += $(CFLAGS) $(FLAGS)
|
||||
|
||||
-OBJS = src/action.o src/options.o src/icukrell.o src/themes.o
|
||||
+OBJS = action.o options.o icukrell.o themes.o
|
||||
CLIENT_OBJS = client/icukrell-client.c
|
||||
|
||||
+VPATH=src
|
||||
ICUKRELL_PROGS = icukrell.so icukrell-client
|
||||
|
||||
all: $(ICUKRELL_PROGS)
|
||||
@@ -35,12 +36,12 @@
|
||||
rm -f icukrell-client
|
||||
|
||||
install:
|
||||
- install -c -s -m 755 icukrell.so /usr/share/gkrellm/plugins
|
||||
- install -c -s -m 755 icukrell-client/icukrell-client /usr/local/bin
|
||||
+ $(BSD_INSTALL_DATA) icukrell.so /usr/share/gkrellm/plugins
|
||||
+ $(BSD_INSTALL_PROGRAM) icukrell-client/icukrell-client /usr/local/bin
|
||||
|
||||
install-user:
|
||||
- install -c -s -m 755 icukrell.so $(HOME)/.gkrellm/plugins
|
||||
- install -c -s -m 755 icukrell-client/icukrell-client /usr/local/bin
|
||||
+ $(BSD_INSTALL_DATA) icukrell.so $(HOME)/.gkrellm/plugins
|
||||
+ $(BSD_INSTALL_PROGRAM) icukrell-client/icukrell-client /usr/local/bin
|
||||
|
||||
icukrell.c.o: icukrell.c
|
||||
options.c.o: options.c
|
83
net/icukrell/files/patch-src::themes.c
Normal file
83
net/icukrell/files/patch-src::themes.c
Normal file
@ -0,0 +1,83 @@
|
||||
--- src/themes.c.orig Sun May 6 18:02:50 2001
|
||||
+++ src/themes.c Mon Jul 2 22:49:07 2001
|
||||
@@ -43,6 +43,8 @@
|
||||
#endif
|
||||
make_file_name("gnomeicu-offline.png");
|
||||
im = gdk_imlib_load_image(full_file);
|
||||
+ if (im == NULL)
|
||||
+ return FALSE;
|
||||
gdk_imlib_render(im, im->rgb_width, im->rgb_height);
|
||||
offline_pixmap = gdk_imlib_copy_image(im);
|
||||
offline_bitmap = gdk_imlib_copy_mask(im);
|
||||
@@ -53,6 +55,8 @@
|
||||
#endif
|
||||
make_file_name("gnomeicu-online.png");
|
||||
im = gdk_imlib_load_image(full_file);
|
||||
+ if (im == NULL)
|
||||
+ return FALSE;
|
||||
gdk_imlib_render(im, im->rgb_width, im->rgb_height);
|
||||
online_pixmap = gdk_imlib_copy_image(im);
|
||||
online_bitmap = gdk_imlib_copy_mask(im);
|
||||
@@ -63,6 +67,8 @@
|
||||
#endif
|
||||
make_file_name("gnomeicu-inv.png");
|
||||
im = gdk_imlib_load_image(full_file);
|
||||
+ if (im == NULL)
|
||||
+ return FALSE;
|
||||
gdk_imlib_render(im, im->rgb_width, im->rgb_height);
|
||||
inv_pixmap = gdk_imlib_copy_image(im);
|
||||
inv_bitmap = gdk_imlib_copy_mask(im);
|
||||
@@ -73,6 +79,8 @@
|
||||
#endif
|
||||
make_file_name("gnomeicu-na.png");
|
||||
im = gdk_imlib_load_image(full_file);
|
||||
+ if (im == NULL)
|
||||
+ return FALSE;
|
||||
gdk_imlib_render(im, im->rgb_width, im->rgb_height);
|
||||
na_pixmap = gdk_imlib_copy_image(im);
|
||||
na_bitmap = gdk_imlib_copy_mask(im);
|
||||
@@ -83,6 +91,8 @@
|
||||
#endif
|
||||
make_file_name("gnomeicu-ffc.png");
|
||||
im = gdk_imlib_load_image(full_file);
|
||||
+ if (im == NULL)
|
||||
+ return FALSE;
|
||||
gdk_imlib_render(im, im->rgb_width, im->rgb_height);
|
||||
chat_pixmap = gdk_imlib_copy_image(im);
|
||||
chat_bitmap = gdk_imlib_copy_mask(im);
|
||||
@@ -93,6 +103,8 @@
|
||||
#endif
|
||||
make_file_name("gnomeicu-occ.png");
|
||||
im = gdk_imlib_load_image(full_file);
|
||||
+ if (im == NULL)
|
||||
+ return FALSE;
|
||||
gdk_imlib_render(im, im->rgb_width, im->rgb_height);
|
||||
occ_pixmap = gdk_imlib_copy_image(im);
|
||||
occ_bitmap = gdk_imlib_copy_mask(im);
|
||||
@@ -103,6 +115,8 @@
|
||||
#endif
|
||||
make_file_name("gnomeicu-away.png");
|
||||
im = gdk_imlib_load_image(full_file);
|
||||
+ if (im == NULL)
|
||||
+ return FALSE;
|
||||
gdk_imlib_render(im, im->rgb_width, im->rgb_height);
|
||||
away_pixmap = gdk_imlib_copy_image(im);
|
||||
away_bitmap = gdk_imlib_copy_mask(im);
|
||||
@@ -113,6 +127,8 @@
|
||||
#endif
|
||||
make_file_name("gnomeicu-dnd.png");
|
||||
im = gdk_imlib_load_image(full_file);
|
||||
+ if (im == NULL)
|
||||
+ return FALSE;
|
||||
gdk_imlib_render(im, im->rgb_width, im->rgb_height);
|
||||
dnd_pixmap = gdk_imlib_copy_image(im);
|
||||
dnd_bitmap = gdk_imlib_copy_mask(im);
|
||||
@@ -123,6 +139,8 @@
|
||||
#endif
|
||||
make_file_name("gnomeicu-message.png");
|
||||
im = gdk_imlib_load_image(full_file);
|
||||
+ if (im == NULL)
|
||||
+ return FALSE;
|
||||
gdk_imlib_render(im, im->rgb_width, im->rgb_height);
|
||||
message_pixmap = gdk_imlib_copy_image(im);
|
||||
message_bitmap = gdk_imlib_copy_mask(im);
|
1
net/icukrell/pkg-comment
Normal file
1
net/icukrell/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
GKrellM plugin which shows status of gnomeICU
|
7
net/icukrell/pkg-descr
Normal file
7
net/icukrell/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
GKrellM plugin which shows status of gnomeICU
|
||||
|
||||
A plugin for gkrellm, that keeps track of the status of gnomeICU,
|
||||
the gnome ICQ client.
|
||||
|
||||
Author: drJeckyll <drJeckyll@hotmail.com>
|
||||
WWW: http://icukrell.sourceforge.net/
|
2
net/icukrell/pkg-plist
Normal file
2
net/icukrell/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
bin/icukrell-client
|
||||
libexec/gkrellm/plugins/icukrell.so
|
Loading…
Reference in New Issue
Block a user