From cd0766648299c3137259a59121585cff4da28bf7 Mon Sep 17 00:00:00 2001 From: minskim Date: Sat, 15 Oct 2005 13:40:49 +0000 Subject: Import tile from pkgsrc-wip. Packaged by Greg Schenzel. This is a utility to tile windows on the desktop. It supports user- configurable window manager profiles to avoid screen objects and can tile in a horizontal or vertical fashion. It works well with MWM, Oroborus and some multi-desktop WMs like FluxBox (given the -m option) and GNOME/Metacity (given the -w option). It has two files controlling its behavior. The first contains "wmprofiles" that tell tile how much space to avoid on the different sides of the screen (specified via "-p"). The second, named "rc", contains all other configuration, including a list of XA_STRING X11 Atoms and values used as criteria for windows that should be avoided for calculations and resize/move operations. Both files may exist under $PREFIX/share/tile/ or $HOME/.tile/. --- x11/tile/DESCR | 13 +++++++++++++ x11/tile/Makefile | 19 +++++++++++++++++++ x11/tile/PLIST | 9 +++++++++ x11/tile/distinfo | 6 ++++++ x11/tile/patches/patch-aa | 25 +++++++++++++++++++++++++ 5 files changed, 72 insertions(+) create mode 100644 x11/tile/DESCR create mode 100644 x11/tile/Makefile create mode 100644 x11/tile/PLIST create mode 100644 x11/tile/distinfo create mode 100644 x11/tile/patches/patch-aa (limited to 'x11/tile') diff --git a/x11/tile/DESCR b/x11/tile/DESCR new file mode 100644 index 00000000000..79511a15936 --- /dev/null +++ b/x11/tile/DESCR @@ -0,0 +1,13 @@ +This is a utility to tile windows on the desktop. It supports user- +configurable window manager profiles to avoid screen objects and can +tile in a horizontal or vertical fashion. It works well with MWM, +Oroborus and some multi-desktop WMs like FluxBox (given the -m option) +and GNOME/Metacity (given the -w option). + +It has two files controlling its behavior. The first contains +"wmprofiles" that tell tile how much space to avoid on the different +sides of the screen (specified via "-p"). The second, named "rc", +contains all other configuration, including a list of XA_STRING X11 +Atoms and values used as criteria for windows that should be avoided +for calculations and resize/move operations. Both files may exist +under $PREFIX/share/tile/ or $HOME/.tile/. diff --git a/x11/tile/Makefile b/x11/tile/Makefile new file mode 100644 index 00000000000..898cb7814cb --- /dev/null +++ b/x11/tile/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/15 13:40:49 minskim Exp $ +# + +DISTNAME= tile_0.7.3 +PKGNAME= tile-0.7.3 +CATEGORIES= x11 +MASTER_SITES= http://www.unixdev.net/downloads/tile/0.7.3/ + +MAINTAINER= inittab@unixdev.net +HOMEPAGE= http://tile.unixdev.net/ +COMMENT= X11 Window Tiler + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} +USE_DIRS+= xdg-1.2 +GNU_CONFIGURE= yes + +.include "../../devel/libgetopt/buildlink3.mk" +.include "../../mk/x11.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/tile/PLIST b/x11/tile/PLIST new file mode 100644 index 00000000000..76a3f28b8fa --- /dev/null +++ b/x11/tile/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/15 13:40:49 minskim Exp $ +bin/tile +man/man1/tile.1 +share/applications/horizontal.desktop +share/applications/vertical.desktop +share/tile/rc +share/tile/wmprofiles +@dirrm share/tile +@comment in xdg-dirs: @dirrm share/applications diff --git a/x11/tile/distinfo b/x11/tile/distinfo new file mode 100644 index 00000000000..05130bab68c --- /dev/null +++ b/x11/tile/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/10/15 13:40:49 minskim Exp $ + +SHA1 (tile_0.7.3.tar.gz) = 4f1d0e9eacca9c0fca98b36e45fbb925ddd0c4ff +RMD160 (tile_0.7.3.tar.gz) = 414931082aa29621afd80abd39d17310eae27538 +Size (tile_0.7.3.tar.gz) = 111272 bytes +SHA1 (patch-aa) = 48396c9610770a205b94bdb1975f459cb001495c diff --git a/x11/tile/patches/patch-aa b/x11/tile/patches/patch-aa new file mode 100644 index 00000000000..49fff0c419c --- /dev/null +++ b/x11/tile/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/10/15 13:40:49 minskim Exp $ + +--- Makefile.in.orig 2005-09-24 01:09:25.000000000 -0700 ++++ Makefile.in +@@ -1,5 +1,6 @@ + CC=@CC@ + CFLAGS=@CFLAGS@ -Wunused ++LDFLAGS=@LDFLAGS@ + LIBS=@LIBS@ + PROG=tile + PREFIX=@prefix@ +@@ -14,7 +15,7 @@ HOSTVER=@HOSTREL@ + all: $(PROG) ChangeLog doc/html/index.html + + tile: tile.o tilerc.o avoid.o x11.o cmdline.o +- $(CC) -o $(PROG) $(LIBS) -Wl,-s tile.o tilerc.o avoid.o x11.o cmdline.o ++ $(CC) -o $(PROG) $(LDFLAGS) $(LIBS) -Wl,-s tile.o tilerc.o avoid.o x11.o cmdline.o + + tile.o: tile.c + $(CC) $(CFLAGS) -DINSTPFX='"$(PREFIX)"' -c tile.c +@@ -62,3 +63,4 @@ install: + -mkdir -p $(SHARE)/applications + cp *.desktop $(SHARE)/applications + ++.PHONY: install -- cgit v1.2.3