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:
parent
dc8e3f8160
commit
6b25727d60
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64465
@ -76,6 +76,7 @@
|
||||
SUBDIR += gkrellflynn
|
||||
SUBDIR += gkrellm
|
||||
SUBDIR += gkrellmouse
|
||||
SUBDIR += gkrellmwho
|
||||
SUBDIR += glload
|
||||
SUBDIR += gnomecontrolcenter
|
||||
SUBDIR += gnomecontrolcenter2
|
||||
|
29
sysutils/gkrellmwho/Makefile
Normal file
29
sysutils/gkrellmwho/Makefile
Normal 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>
|
1
sysutils/gkrellmwho/distinfo
Normal file
1
sysutils/gkrellmwho/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gkrellmwho-0.4.tar.gz) = f12870678fb901208c0f8102840c35fd
|
19
sysutils/gkrellmwho/files/patch-Makefile
Normal file
19
sysutils/gkrellmwho/files/patch-Makefile
Normal 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
|
||||
|
14
sysutils/gkrellmwho/files/patch-gkrellmwho.c
Normal file
14
sysutils/gkrellmwho/files/patch-gkrellmwho.c
Normal 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
|
1
sysutils/gkrellmwho/pkg-comment
Normal file
1
sysutils/gkrellmwho/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A plugin that scrolls in a panel a list of currently logged on users
|
8
sysutils/gkrellmwho/pkg-descr
Normal file
8
sysutils/gkrellmwho/pkg-descr
Normal 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
|
2
sysutils/gkrellmwho/pkg-plist
Normal file
2
sysutils/gkrellmwho/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $FreeBSD$
|
||||
libexec/gkrellm/plugins/gkrellmwho.so
|
Loading…
x
Reference in New Issue
Block a user