Ok this port works well for me.  0.9.14 contains important bug fixes so
it needs to get in quickish.

ok?

diff -ruNp -x CVS ports/x11/scrotwm/Makefile scrotwm-0.9.14-port/Makefile
--- ports/x11/scrotwm/Makefile  Tue Sep 29 19:54:06 2009
+++ scrotwm-0.9.14-port/Makefile        Mon Oct 12 22:29:08 2009
@@ -4,7 +4,7 @@ COMMENT=                small tiling window manager
 
 SHARED_LIBS=           swmhack 0.0
 
-DISTNAME=              scrotwm-0.9.8
+DISTNAME=              scrotwm-0.9.14
 EXTRACT_SUFX=          .tgz
 CATEGORIES=            x11
 
@@ -36,6 +36,7 @@ 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}/initscreen.sh ${PREFIX}/share/scrotwm
        ${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/share/scrotwm
        ${INSTALL_DATA} ${WRKSRC}/scrotwm.conf ${PREFIX}/share/examples/scrotwm
 
diff -ruNp -x CVS ports/x11/scrotwm/distinfo scrotwm-0.9.14-port/distinfo
--- ports/x11/scrotwm/distinfo  Tue Sep 29 19:54:06 2009
+++ scrotwm-0.9.14-port/distinfo        Mon Oct 12 22:29:08 2009
@@ -1,5 +1,5 @@
-MD5 (scrotwm-0.9.8.tgz) = YGhKg1vwJRZLFyeg2QXdpg==
-RMD160 (scrotwm-0.9.8.tgz) = N/de4GcK6TUb+JlIsyW8j1L9QP8=
-SHA1 (scrotwm-0.9.8.tgz) = dVH++mSLCHXnY128QwNvJYnttTg=
-SHA256 (scrotwm-0.9.8.tgz) = uLI4CktyhZMvKdsdQ+VZ/bpwS+6Eb4bgri+y2od5IEw=
-SIZE (scrotwm-0.9.8.tgz) = 38863
+MD5 (scrotwm-0.9.14.tgz) = MK8dmLLK3G0O8nnfE6b66g==
+RMD160 (scrotwm-0.9.14.tgz) = 1VOaqcCxoYAhIqQHNU/qd82DbZo=
+SHA1 (scrotwm-0.9.14.tgz) = 5dO92AfnCIrb+4j+kXpKiNhHlTQ=
+SHA256 (scrotwm-0.9.14.tgz) = Iw4Pjvg+iaX7/lTTyMHFIrFg1tExVyN/iVvXKJEkIlw=
+SIZE (scrotwm-0.9.14.tgz) = 47942
diff -ruNp -x CVS ports/x11/scrotwm/patches/patch-scrotwm_c 
scrotwm-0.9.14-port/patches/patch-scrotwm_c
--- ports/x11/scrotwm/patches/patch-scrotwm_c   Tue Sep 29 19:54:06 2009
+++ scrotwm-0.9.14-port/patches/patch-scrotwm_c Mon Oct 12 22:29:08 2009
@@ -1,7 +1,7 @@
 $OpenBSD: patch-scrotwm_c,v 1.7 2009/09/30 00:54:06 sthen Exp $
 --- scrotwm.c.orig     Wed Sep 23 06:04:09 2009
 +++ scrotwm.c  Fri Sep 25 17:28:03 2009
-@@ -146,7 +146,7 @@ u_int32_t          swm_debug = 0
+@@ -150,7 +150,7 @@ u_int32_t          swm_debug = 0
  #define SWM_MAX_FONT_STEPS    (3)
  
  #ifndef SWM_LIB
diff -ruNp -x CVS ports/x11/scrotwm/patches/patch-scrotwm_conf 
scrotwm-0.9.14-port/patches/patch-scrotwm_conf
--- ports/x11/scrotwm/patches/patch-scrotwm_conf        Fri Sep 25 14:26:30 2009
+++ scrotwm-0.9.14-port/patches/patch-scrotwm_conf      Mon Oct 12 22:29:08 2009
@@ -1,6 +1,5 @@
-$OpenBSD: patch-scrotwm_conf,v 1.4 2009/09/25 19:26:30 sthen Exp $
---- scrotwm.conf.orig  Wed Sep 23 06:04:09 2009
-+++ scrotwm.conf       Fri Sep 25 17:29:15 2009
+--- scrotwm.conf.orig  Wed Oct  7 10:15:33 2009
++++ scrotwm.conf       Wed Oct  7 10:17:10 2009
 @@ -10,7 +10,7 @@ bar_border[1]                = rgb:00/80/80
  bar_color[1]          = black
  bar_font_color[1]     = rgb:a0/a0/a0
@@ -8,9 +7,9 @@ $OpenBSD: patch-scrotwm_conf,v 1.4 2009/09/25 19:26:30
 -#bar_action           = baraction.sh
 +#bar_action           = ${PREFIX}/share/scrotwm/baraction.sh
  #bar_delay            = 1
+ stack_enabled         = 1
  clock_enabled         = 1
- title_name_enabled    = 0
-@@ -18,8 +18,8 @@ title_class_enabled  = 0
+@@ -19,10 +19,10 @@ title_class_enabled        = 0
  
  # spawn app
  # program[term]               = xterm
@@ -19,5 +18,8 @@ $OpenBSD: patch-scrotwm_conf,v 1.4 2009/09/25 19:26:30
 +# program[screenshot_all]     = ${PREFIX}/share/scrotwm/screenshot.sh full
 +# program[screenshot_wind]    = ${PREFIX}/share/scrotwm/screenshot.sh window
  # program[lock]               = xlock
- # program[initscr]    = initscreen.sh
+-# program[initscr]    = initscreen.sh
++# program[initscr]    = ${PREFIX}/share/scrotwm/initscreen.sh
  # program[menu]               = dmenu_run -fn $bar_font -nb $bar_color -nf 
$bar_font_color -sb $bar_border -sf $bar_color
+ spawn_term            = xterm
+ 
diff -ruNp -x CVS ports/x11/scrotwm/pkg/PLIST scrotwm-0.9.14-port/pkg/PLIST
--- ports/x11/scrotwm/pkg/PLIST Wed Jan 28 07:20:23 2009
+++ scrotwm-0.9.14-port/pkg/PLIST       Mon Oct 12 22:29:08 2009
@@ -1,10 +1,12 @@
-...@comment $OpenBSD: PLIST,v 1.1.1.1 2009/01/28 13:20:23 pyr Exp $
+...@comment $OpenBSD$
 %%SHARED%%
 @bin bin/scrotwm
 @man man/cat1/scrotwm.0
+...@man man/cat1/scrotwm_es.0
+...@man man/cat1/scrotwm_it.0
 share/examples/scrotwm/
 share/examples/scrotwm/scrotwm.conf
-...@sample ${SYSCONFDIR}/scrotwm.conf
 share/scrotwm/
 share/scrotwm/baraction.sh
+share/scrotwm/initscreen.sh
 share/scrotwm/screenshot.sh

Reply via email to