Initial import of x11/fspanel, based on package submitted by

ptiJo at noos dot fr in PR pkg/21343:
FSPanel is a panel for Linux/Unix that lists all your open windows. It
lets you iconify and bring windows to front. FSPanel is tiny, less than
10k on i386-linux. It does require a EWMH compliant window manager
though (eg. Enlightenment, SawFish, WindowMaker, IceWM).

Basically it's a tiny, lame, featureless panel.
This commit is contained in:
jschauma 2003-07-23 16:59:53 +00:00
parent 25ec782220
commit d7c3329e99
5 changed files with 130 additions and 0 deletions

6
x11/fspanel/DESCR Normal file
View file

@ -0,0 +1,6 @@
FSPanel is a panel for Linux/Unix that lists all your open windows. It
lets you iconify and bring windows to front. FSPanel is tiny, less than
10k on i386-linux. It does require a EWMH compliant window manager
though (eg. Enlightenment, SawFish, WindowMaker, IceWM).
Basically it's a tiny, lame, featureless panel.

24
x11/fspanel/Makefile Normal file
View file

@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/07/23 16:59:53 jschauma Exp $
#
DISTNAME= fspanel-0.8beta1
PKGNAME= ${DISTNAME:C/beta/.0./}
CATEGORIES= x11
MASTER_SITES= http://www.chatjunkies.org/fspanel/
MAINTAINER= ptiJo <ptiJo@noos.fr>
HOMEPAGE= http://www.chatjunkies.org/fspanel/
COMMENT= F***ing Small Panel
USE_BUILDLINK2= YES
USE_X11= YES
HAS_CONFIGURE= YES
CFLAGS+= -DHAVE_XPM -DXFT
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fspanel ${PREFIX}/bin/
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"

2
x11/fspanel/PLIST Normal file
View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/23 16:59:53 jschauma Exp $
bin/fspanel

5
x11/fspanel/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2003/07/23 16:59:53 jschauma Exp $
SHA1 (fspanel-0.8beta1.tar.gz) = 80225c1cd6984b458e487db3cbc04d8e3a4173d8
Size (fspanel-0.8beta1.tar.gz) = 9703 bytes
SHA1 (patch-aa) = 8c43f1dd29dc159bd3ed90e437dd0e5a7443fe20

View file

@ -0,0 +1,93 @@
$NetBSD: patch-aa,v 1.1.1.1 2003/07/23 16:59:54 jschauma Exp $
--- configure.orig Sun Jun 23 01:13:01 2002
+++ configure Wed Jul 23 11:19:21 2003
@@ -2,63 +2,6 @@
PROGNAME=fspanel
-echo -n "checking for X11 path... "
-if test "`uname`" = "SunOS"; then
- X11_PATH="/usr/X11"
- LDFLAGS="$LDFLAGS -L/usr/X/lib"
- CFLAGS="$CFLAGS I/usr/include/X11"
-else
- X11_PATH="/usr/X11R6"
-fi
-if test -e "$X11_PATH"; then
- echo $X11_PATH
-else
- echo failed.
- echo
- echo I can\'t find $X11_PATH :\(
- exit 1
-fi
-
-CFLAGS="$CFLAGS -I$X11_PATH/include"
-LDFLAGS="$LDFLAGS -L$X11_PATH/lib -lX11"
-
-if test "_$CC" = "_"; then
- CC="cc"
-fi
-
-echo -n "checking for X11/Xlib.h... "
-if test -e "$X11_PATH/include/X11/Xlib.h"; then
- echo yes
-else
- echo no
- echo
- echo Cannot find Xlib header\, aborting.
- echo You might need to install XFree86-devel.
- exit 1
-fi
-
-echo -n "checking for X11/xpm.h... "
-xpm=no
-if test -e "$X11_PATH/include/X11/xpm.h"; then
- echo yes
- LDFLAGS="$LDFLAGS -lXpm"
- CFLAGS="$CFLAGS -DHAVE_XPM"
- xpm=yes
-else
- echo no
-fi
-
-echo -n "checking for X11/Xft/Xft.h... "
-xft=no
-if test -e "$X11_PATH/include/X11/Xft/Xft.h"; then
- echo yes
- LDFLAGS="$LDFLAGS -lXft"
- CFLAGS="$CFLAGS -DXFT"
- xft=yes
-else
- echo no
-fi
-
echo -n "checking for Linux... "
if test "`uname`" = "Linux"; then
CFLAGS="$CFLAGS -DNOSTDLIB -nostdlib"
@@ -73,20 +16,12 @@
echo CFLAGS="$CFLAGS" >> Makefile
echo LDFLAGS="$LDFLAGS" >> Makefile
echo PROGNAME="$PROGNAME" >> Makefile
+echo LIBS="-lXpm -lXft" >> Makefile
+echo >> Makefile
+echo all: $\(PROGNAME\) >> Makefile
echo >> Makefile
echo $\(PROGNAME\): Makefile fspanel.c fspanel.h icon.xpm >> Makefile
-echo \ $\(CC\) $\(CFLAGS\) $\(LDFLAGS\) fspanel.c -o $\(PROGNAME\) >> Makefile
-echo \ @ls -l $\(PROGNAME\) >> Makefile
-echo \ strip $\(PROGNAME\) >> Makefile
-echo \ @ls -l $\(PROGNAME\) >> Makefile
+echo \ $\(CC\) $\(CFLAGS\) $\(LDFLAGS\) fspanel.c -o $\(PROGNAME\) $\(LIBS\) >> Makefile
echo >> Makefile
-echo install: >> Makefile
-echo \ install $\(PROGNAME\) /usr/local/bin >> Makefile
echo done
-echo
-echo AntiAliased XFT text .... : $xft
-echo LibXpm default icon ..... : $xpm
-echo
-echo All done. Now type: make
-echo