From owner-freebsd-ports Mon Aug 12 6:15:42 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B387437B400; Mon, 12 Aug 2002 06:15:37 -0700 (PDT) Received: from vogelreuter.de (p5086C71D.dip0.t-ipconnect.de [80.134.199.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id E169F43E4A; Mon, 12 Aug 2002 06:15:35 -0700 (PDT) (envelope-from steffen@vogelreuter.de) Received: from localhost (localhost [127.0.0.1]) by vogelreuter.de (Postfix) with ESMTP id CBD42840; Mon, 12 Aug 2002 15:14:06 +0200 (CEST) Received: by vogelreuter.de (Postfix, from userid 1001) id EB18F800; Mon, 12 Aug 2002 15:14:04 +0200 (CEST) Date: Mon, 12 Aug 2002 15:14:04 +0200 From: Steffen Vogelreuter To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: ports/41554: New Port: GKrellM-Plugin that scrolls currently logged on users Message-ID: <20020812131404.GA38945@regenmacher.lan.fli4l> References: <20020811193608.4CE79610@vogelreuter.de> <200208111940.g7BJe13q048115@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208111940.g7BJe13q048115@freefall.freebsd.org> User-Agent: Mutt/1.4i Organization: Mutt.Org X-URL: http://www.vogelreuter.de X-OS: FreeBSD 4.6-STABLE X-Uptime: 5:24 X-Virus-Scanned: by AMaViS snapshot-20020531 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I just made a new shar according to the issues of a friend. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gkrellmwho/ # gkrellmwho/files # gkrellmwho/files/patch-Makefile # gkrellmwho/files/patch-gkrellmwho.c # gkrellmwho/Makefile # gkrellmwho/distinfo # gkrellmwho/pkg-descr # gkrellmwho/pkg-comment # gkrellmwho/pkg-plist # echo c - gkrellmwho/ mkdir -p gkrellmwho/ > /dev/null 2>&1 echo c - gkrellmwho/files mkdir -p gkrellmwho/files > /dev/null 2>&1 echo x - gkrellmwho/files/patch-Makefile sed 's/^X//' >gkrellmwho/files/patch-Makefile << 'END-of-gkrellmwho/files/patch-Makefile' X--- Makefile.orig Mon Aug 12 14:13:00 2002 X+++ Makefile Mon Aug 12 14:15:04 2002 X@@ -1,9 +1,9 @@ X # Modify INCLUDE to point to gkrellm.h (if it's not in /usr/local/include) X-INCLUDE = /usr/local/include X+INCLUDE = /usr/X11R6/include/gkrellm X X CC = gcc X-CFLAGS = -Wall -O2 -fPIC -I$(INCLUDE) \ X- `gtk-config --cflags` `imlib-config --cflags-gdk` X+CFLAGS+= -fPIC -I$(INCLUDE) \ X+ `gtk12-config --cflags` `imlib-config --cflags-gdk` X LDFLAGS = X TARGET = gkrellmwho X END-of-gkrellmwho/files/patch-Makefile echo x - gkrellmwho/files/patch-gkrellmwho.c sed 's/^X//' >gkrellmwho/files/patch-gkrellmwho.c << 'END-of-gkrellmwho/files/patch-gkrellmwho.c' X--- gkrellmwho.c.orig Sun Aug 11 19:19:04 2002 X+++ gkrellmwho.c Sun Aug 11 19:19:20 2002 X@@ -65,7 +65,7 @@ X X #define MAX_USERS 10 /* set this statically to avoid realloc() */ X #define USERS_LEN MAX_USERS*MAX_USER_LEN + 1 X-#define COMMAND "w -hs | sort | grep -v $LOGNAME" X+#define COMMAND "w -h | sort | grep -v $LOGNAME" X #define DEF_NONE_MSG "no users" X static gchar users[USERS_LEN]; // list of users X static int users_xoff; // length of users string in pixels END-of-gkrellmwho/files/patch-gkrellmwho.c echo x - gkrellmwho/Makefile sed 's/^X//' >gkrellmwho/Makefile << 'END-of-gkrellmwho/Makefile' X# New ports collection makefile for: gkrellmwho X# Date Created: 11.August 2002 X# Whom: Steffen Vogelreuter X# X# $FreeBSD$ X# X XPORTNAME= gkrellmwho XPORTVERSION= 0.4 XCATEGORIES= sysutils XMASTER_SITES= http://web.wt.net/~billw/gkrellm/Plugins/ X XMAINTAINER= steffen@vogelreuter.de X XBUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm XRUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm X XWRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} XUSE_X_PREFIX= yes XUSE_GTK= yes XUSE_IMLIB= yes XUSE_GMAKE= yes XALL_TARGET= #empty X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/gkrellmwho.so ${PREFIX}/libexec/gkrellm/plugins X X.include END-of-gkrellmwho/Makefile echo x - gkrellmwho/distinfo sed 's/^X//' >gkrellmwho/distinfo << 'END-of-gkrellmwho/distinfo' XMD5 (gkrellmwho-0.4.tar.gz) = f12870678fb901208c0f8102840c35fd END-of-gkrellmwho/distinfo echo x - gkrellmwho/pkg-descr sed 's/^X//' >gkrellmwho/pkg-descr << 'END-of-gkrellmwho/pkg-descr' XA GKrellm-Plugin that horizontally scrolls in a panel a list of currently Xlogged on users (excluding the invoking user). X XAuthor: Ernesto Novillo XWWW: http://www.cs.ualberta.ca/~ernie X X-- Steffen Vogelreuter Xsteffen@vogelreuter.de END-of-gkrellmwho/pkg-descr echo x - gkrellmwho/pkg-comment sed 's/^X//' >gkrellmwho/pkg-comment << 'END-of-gkrellmwho/pkg-comment' XA plugin that scrolls in a panel a list of currently logged on users END-of-gkrellmwho/pkg-comment echo x - gkrellmwho/pkg-plist sed 's/^X//' >gkrellmwho/pkg-plist << 'END-of-gkrellmwho/pkg-plist' Xlibexec/gkrellm/plugins/gkrellmwho.so END-of-gkrellmwho/pkg-plist exit -- What sane person could live in this world and not be crazy? -- Ursula K. LeGuin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message