Import scrotwm.
``Scrotwm is a small dynamic tiling window manager for X11. It tries to stay out of the way so that valuable screen real estate can be used for much more important stuff. It has sane defaults and does not require one to learn a language to do any configuration. It was written by hackers for hackers and it strives to be small, compact and fast. '' Development is ongoing, but I'll make (or you can tell me to make) snapshots every time it is necessary. ok ajacoutot@ and other members of the french family.
This commit is contained in:
parent
9f1cb32416
commit
7df58d6704
39
x11/scrotwm/Makefile
Normal file
39
x11/scrotwm/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/01/28 13:20:23 pyr Exp $
|
||||
|
||||
COMMENT= small tiling window manager
|
||||
|
||||
DISTNAME= scrotwm-0.6
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://www.peereboom.us/scrotwm/
|
||||
MAINTAINER= Pierre-Yves Ritschard <pyr@spootnik.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://spootnik.org/scrotwm/
|
||||
|
||||
NO_REGRESS= Yes
|
||||
WANTLIB= c X11 Xrandr util
|
||||
|
||||
RUN_DEPENDS= :dmenu->=3.9:x11/dmenu \
|
||||
::x11/terminus-font \
|
||||
::graphics/scrot
|
||||
|
||||
MAKE_FLAGS= BINDIR="${TRUEPREFIX}/bin" \
|
||||
MANDIR="${TRUEPREFIX}/man/cat"
|
||||
|
||||
pre-configure:
|
||||
@${SUBST_CMD} ${WRKSRC}/scrotwm.conf ${WRKSRC}/scrotwm.c
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/scrotwm
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/scrotwm
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/baraction.sh ${PREFIX}/share/scrotwm
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/share/scrotwm
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm.conf ${PREFIX}/share/examples/scrotwm
|
||||
|
||||
.include <bsd.port.mk>
|
5
x11/scrotwm/distinfo
Normal file
5
x11/scrotwm/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (scrotwm-0.6.tar.gz) = p+WAEFANTwC004LVB3qV/g==
|
||||
RMD160 (scrotwm-0.6.tar.gz) = VRXmr6Ybc+U6TqH9g9VqkRojm3E=
|
||||
SHA1 (scrotwm-0.6.tar.gz) = bmVFmHY8hRoKWP7sQcEx60qy7zQ=
|
||||
SHA256 (scrotwm-0.6.tar.gz) = 03yZ2PC+w27U222/PkHY7QxiQKNR+IueL3sr7QONyGs=
|
||||
SIZE (scrotwm-0.6.tar.gz) = 694635
|
12
x11/scrotwm/patches/patch-lib_Makefile
Normal file
12
x11/scrotwm/patches/patch-lib_Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-lib_Makefile,v 1.1.1.1 2009/01/28 13:20:23 pyr Exp $
|
||||
--- lib/Makefile.orig Tue Jan 27 11:14:10 2009
|
||||
+++ lib/Makefile Tue Jan 27 11:15:09 2009
|
||||
@@ -16,7 +16,7 @@ CFLAGS+= -I${X11BASE}/include
|
||||
install:
|
||||
${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
||||
lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
||||
- ${X11BASE}/lib/swmhack.so
|
||||
+ ${PREFIX}/lib/swmhack.so
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
.include <bsd.xorg.mk>
|
12
x11/scrotwm/patches/patch-scrotwm_c
Normal file
12
x11/scrotwm/patches/patch-scrotwm_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-scrotwm_c,v 1.1.1.1 2009/01/28 13:20:23 pyr Exp $
|
||||
--- scrotwm.c.orig Wed Jan 28 12:56:55 2009
|
||||
+++ scrotwm.c Wed Jan 28 12:57:10 2009
|
||||
@@ -129,7 +129,7 @@ u_int32_t swm_debug = 0
|
||||
#define HEIGHT(r) (r)->g.h
|
||||
|
||||
#ifndef SWM_LIB
|
||||
-#define SWM_LIB "/usr/X11R6/lib/swmhack.so"
|
||||
+#define SWM_LIB "${PREFIX}/lib/swmhack.so"
|
||||
#endif
|
||||
|
||||
#define SWM_PROPLEN (16)
|
18
x11/scrotwm/patches/patch-scrotwm_conf
Normal file
18
x11/scrotwm/patches/patch-scrotwm_conf
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-scrotwm_conf,v 1.1.1.1 2009/01/28 13:20:23 pyr Exp $
|
||||
--- scrotwm.conf.orig Wed Jan 28 11:24:01 2009
|
||||
+++ scrotwm.conf Wed Jan 28 11:48:38 2009
|
||||
@@ -10,7 +10,7 @@ bar_border[1] = rgb:00/80/80
|
||||
bar_color[1] = black
|
||||
bar_font_color[1] = rgb:a0/a0/a0
|
||||
bar_font = -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
-#bar_action = ./baraction.sh
|
||||
+#bar_action = ${PREFIX}/share/scrotwm/baraction.sh
|
||||
#bar_delay = 1
|
||||
|
||||
# spawn app
|
||||
@@ -21,4 +21,4 @@ dialog_ratio = 0.6
|
||||
|
||||
# screen shots
|
||||
# screenshot_enabled = 1
|
||||
-# screenshot_app = screenshot.sh
|
||||
+# screenshot_app = ${PREFIX}/share/scrotwm/screenshot.sh
|
5
x11/scrotwm/pkg/DESCR
Normal file
5
x11/scrotwm/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
Scrotwm is a small dynamic tiling window manager for X11. It tries to
|
||||
stay out of the way so that valuable screen real estate can be used for
|
||||
much more important stuff. It has sane defaults and does not require one
|
||||
to learn a language to do any configuration. It was written by hackers
|
||||
for hackers and it strives to be small, compact and fast.
|
2
x11/scrotwm/pkg/PFRAG.shared
Normal file
2
x11/scrotwm/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/01/28 13:20:23 pyr Exp $
|
||||
lib/swmhack.so
|
10
x11/scrotwm/pkg/PLIST
Normal file
10
x11/scrotwm/pkg/PLIST
Normal file
@ -0,0 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/01/28 13:20:23 pyr Exp $
|
||||
%%SHARED%%
|
||||
@bin bin/scrotwm
|
||||
@man man/cat1/scrotwm.0
|
||||
share/examples/scrotwm/
|
||||
share/examples/scrotwm/scrotwm.conf
|
||||
@sample ${SYSCONFDIR}/scrotwm.conf
|
||||
share/scrotwm/
|
||||
share/scrotwm/baraction.sh
|
||||
share/scrotwm/screenshot.sh
|
Loading…
Reference in New Issue
Block a user