From 03c3b1b8881022693519ab3f89a0571e56e17528 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sat, 14 Feb 2004 14:12:29 +0000 Subject: [PATCH] Add tpager, a really tiny pager for EWMH compliant WMs. PR: ports/62715 Submitted by: Florent Thoumie --- x11-wm/Makefile | 1 + x11-wm/tpager/Makefile | 23 +++++++++++++++++++++++ x11-wm/tpager/distinfo | 2 ++ x11-wm/tpager/files/patch-Makefile | 21 +++++++++++++++++++++ x11-wm/tpager/files/patch-tpager.c.diff | 13 +++++++++++++ x11-wm/tpager/pkg-descr | 16 ++++++++++++++++ 6 files changed, 76 insertions(+) create mode 100644 x11-wm/tpager/Makefile create mode 100644 x11-wm/tpager/distinfo create mode 100644 x11-wm/tpager/files/patch-Makefile create mode 100644 x11-wm/tpager/files/patch-tpager.c.diff create mode 100644 x11-wm/tpager/pkg-descr diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 4b6d36c3d840..599947521109 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -85,6 +85,7 @@ SUBDIR += sawfish2 SUBDIR += selectwm SUBDIR += swm + SUBDIR += tpager SUBDIR += treewm SUBDIR += tvtwm SUBDIR += ude diff --git a/x11-wm/tpager/Makefile b/x11-wm/tpager/Makefile new file mode 100644 index 000000000000..47bf34f19872 --- /dev/null +++ b/x11-wm/tpager/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: tpager +# Date created: Feb 12 2004 +# Whom: Florent Thoumie +# +# $FreeBSD$ +# + +PORTNAME= tpager +PORTVERSION= 0.2 +CATEGORIES= x11-wm +MASTER_SITES= http://s1x.homelinux.net/downloads/ + +MAINTAINER= flz@xbsd.org +COMMENT= Lightweight EMWH Compliant Pager + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_X_PREFIX= yes +USE_BZIP2= yes + +PLIST_FILES= bin/tpager + +.include diff --git a/x11-wm/tpager/distinfo b/x11-wm/tpager/distinfo new file mode 100644 index 000000000000..1d77290f6fac --- /dev/null +++ b/x11-wm/tpager/distinfo @@ -0,0 +1,2 @@ +MD5 (tpager-0.2.tar.bz2) = aa7bd0eccf4ec6871e4e8523282382f1 +SIZE (tpager-0.2.tar.bz2) = 11016 diff --git a/x11-wm/tpager/files/patch-Makefile b/x11-wm/tpager/files/patch-Makefile new file mode 100644 index 000000000000..2148776dd1c0 --- /dev/null +++ b/x11-wm/tpager/files/patch-Makefile @@ -0,0 +1,21 @@ +--- Makefile Wed May 7 19:45:54 2003 ++++ Makefile.new Thu Feb 12 00:47:45 2004 +@@ -1,10 +1,13 @@ +-CC=gcc +-CFLAGS= -I/usr/X11R6/include +-LDFLAGS= -L/usr/X11R6/lib -lX11 ++CC?=gcc ++CFLAGS+= -I/usr/X11R6/include ++LDFLAGS+= -L/usr/X11R6/lib -lX11 ++PREFIX?=/usr/local + PROGNAME=tpager ++ ++all: $(PROGNAME) ++ + $(PROGNAME): Makefile tpager.c root_properties.c client_properties.c + $(CC) $(CFLAGS) $(LDFLAGS) tpager.c root_properties.c client_properties.c -o $(PROGNAME) +- strip $(PROGNAME) + + install: +- install $(PROGNAME) /usr/local/bin ++ install $(PROGNAME) $(PREFIX)/bin diff --git a/x11-wm/tpager/files/patch-tpager.c.diff b/x11-wm/tpager/files/patch-tpager.c.diff new file mode 100644 index 000000000000..c12110b55e32 --- /dev/null +++ b/x11-wm/tpager/files/patch-tpager.c.diff @@ -0,0 +1,13 @@ +--- tpager.c.orig Thu May 8 13:08:39 2003 ++++ tpager.c Sat Feb 14 15:06:31 2004 +@@ -206,9 +206,9 @@ + + int main (int argc, char *argv[]) { + int i, x, y, w, h, horz, b, n, s, set; +- x = y = w = h = horz = b = n = s = set = -1; + char *temp; + XEvent event; ++ x = y = w = h = horz = b = n = s = set = -1; + for (i = 1; i < argc; i++) { + if (strcmp(argv[i],"-x") == 0) { + if ( i + 1 >= argc ) { diff --git a/x11-wm/tpager/pkg-descr b/x11-wm/tpager/pkg-descr new file mode 100644 index 000000000000..0fb3c9f09ffb --- /dev/null +++ b/x11-wm/tpager/pkg-descr @@ -0,0 +1,16 @@ +tpager or Tiny Pager is a very lightweight aplication designed to be fast +and small. It shows your workspaces and allows you to change between them. + +There are numerous arguments that you can use to change the pager's layout. + +The program is developed using C and Xlib so there is no big dependencies +needed. + +This pager is in compliance with EWMH, so it is supported on Gnome, Kde, +Xfce4, Rox, Openbox and every other window manager or desktop system that +support these standarts. + +WWW: http://s1x.homelinux.net/tpager.php + +- Florent Thoumie +flz@xbsd.org