1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Add tpager, a really tiny pager for EWMH compliant WMs.

PR:		ports/62715
Submitted by:	Florent Thoumie <flz@xbsd.org>
This commit is contained in:
Pav Lucistnik 2004-02-14 14:12:29 +00:00
parent b37ec54417
commit 03c3b1b888
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100922
6 changed files with 76 additions and 0 deletions

View File

@ -85,6 +85,7 @@
SUBDIR += sawfish2
SUBDIR += selectwm
SUBDIR += swm
SUBDIR += tpager
SUBDIR += treewm
SUBDIR += tvtwm
SUBDIR += ude

23
x11-wm/tpager/Makefile Normal file
View File

@ -0,0 +1,23 @@
# New ports collection makefile for: tpager
# Date created: Feb 12 2004
# Whom: Florent Thoumie <flz@xbsd.org>
#
# $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 <bsd.port.mk>

2
x11-wm/tpager/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (tpager-0.2.tar.bz2) = aa7bd0eccf4ec6871e4e8523282382f1
SIZE (tpager-0.2.tar.bz2) = 11016

View File

@ -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

View File

@ -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 ) {

16
x11-wm/tpager/pkg-descr Normal file
View File

@ -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