1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

Import gkrellmwho 0.4.

A GKrellm-Plugin that horizontally scrolls in a panel a list of currently
logged on users (excluding the invoking user).

PR:		41554
Submitted by:	Steffen Vogelreuter <Steffen@Vogelreuter.De>
This commit is contained in:
Christian Weisgerber 2002-08-13 13:14:29 +00:00
parent dc8e3f8160
commit 6b25727d60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64465
8 changed files with 75 additions and 0 deletions

View File

@ -76,6 +76,7 @@
SUBDIR += gkrellflynn
SUBDIR += gkrellm
SUBDIR += gkrellmouse
SUBDIR += gkrellmwho
SUBDIR += glload
SUBDIR += gnomecontrolcenter
SUBDIR += gnomecontrolcenter2

View File

@ -0,0 +1,29 @@
# New ports collection makefile for: gkrellmwho
# Date Created: 11.August 2002
# Whom: Steffen Vogelreuter
#
# $FreeBSD$
#
PORTNAME= gkrellmwho
PORTVERSION= 0.4
CATEGORIES= sysutils
MASTER_SITES= http://web.wt.net/~billw/gkrellm/Plugins/
MAINTAINER= steffen@vogelreuter.de
BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
USE_X_PREFIX= yes
USE_GTK= yes
USE_IMLIB= yes
USE_GMAKE= yes
ALL_TARGET= #empty
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/gkrellmwho.so \
${PREFIX}/libexec/gkrellm/plugins
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (gkrellmwho-0.4.tar.gz) = f12870678fb901208c0f8102840c35fd

View File

@ -0,0 +1,19 @@
$FreeBSD$
--- Makefile.orig Thu Aug 2 05:39:29 2001
+++ Makefile Tue Aug 13 15:05:36 2002
@@ -1,9 +1,9 @@
# Modify INCLUDE to point to gkrellm.h (if it's not in /usr/local/include)
-INCLUDE = /usr/local/include
+INCLUDE = ${X11BASE}/include/gkrellm
-CC = gcc
-CFLAGS = -Wall -O2 -fPIC -I$(INCLUDE) \
- `gtk-config --cflags` `imlib-config --cflags-gdk`
+#CC = gcc
+CFLAGS+= -fPIC -I$(INCLUDE) \
+ `gtk12-config --cflags` `imlib-config --cflags-gdk`
LDFLAGS =
TARGET = gkrellmwho

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- gkrellmwho.c.orig Thu Aug 2 05:42:49 2001
+++ gkrellmwho.c Tue Aug 13 15:04:21 2002
@@ -65,7 +65,7 @@
#define MAX_USERS 10 /* set this statically to avoid realloc() */
#define USERS_LEN MAX_USERS*MAX_USER_LEN + 1
-#define COMMAND "w -hs | sort | grep -v $LOGNAME"
+#define COMMAND "w -h | sort | grep -v $LOGNAME"
#define DEF_NONE_MSG "no users"
static gchar users[USERS_LEN]; // list of users
static int users_xoff; // length of users string in pixels

View File

@ -0,0 +1 @@
A plugin that scrolls in a panel a list of currently logged on users

View File

@ -0,0 +1,8 @@
A GKrellm-Plugin that horizontally scrolls in a panel a list of currently
logged on users (excluding the invoking user).
Author: Ernesto Novillo <ernie@cs.ualberta.ca>
WWW: http://www.cs.ualberta.ca/~ernie
-- Steffen Vogelreuter
steffen@vogelreuter.de

View File

@ -0,0 +1,2 @@
@comment $FreeBSD$
libexec/gkrellm/plugins/gkrellmwho.so