summaryrefslogtreecommitdiff
path: root/x11/tile
diff options
context:
space:
mode:
authorminskim <minskim>2005-10-15 13:40:49 +0000
committerminskim <minskim>2005-10-15 13:40:49 +0000
commitcd0766648299c3137259a59121585cff4da28bf7 (patch)
treea830fc50ad68cf2a591c42fc174b947fff4bc158 /x11/tile
parentc3b63b883c7cb7b0246dedac28e6f5e1c73b20f4 (diff)
downloadpkgsrc-cd0766648299c3137259a59121585cff4da28bf7.tar.gz
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/.
Diffstat (limited to 'x11/tile')
-rw-r--r--x11/tile/DESCR13
-rw-r--r--x11/tile/Makefile19
-rw-r--r--x11/tile/PLIST9
-rw-r--r--x11/tile/distinfo6
-rw-r--r--x11/tile/patches/patch-aa25
5 files changed, 72 insertions, 0 deletions
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