Since no one is rolling a port I tried to do it myself.  This is auto
generated now when rolling a release.

Apply with -p0.

Please test and report back.  I am trying to see if anyone can make the
switch work space crash.  Make sure you can dump cores to send me a back
trace if it happens to crash.

diff -ruNp -x CVS /usr/ports/x11/scrotwm/Makefile scrotwm-0.9.11-port/Makefile
--- /usr/ports/x11/scrotwm/Makefile     Thu Oct  8 14:57:26 2009
+++ scrotwm-0.9.11-port/Makefile        Thu Oct  8 14:57:41 2009
@@ -4,7 +4,7 @@ COMMENT=                small tiling window manager
 
 SHARED_LIBS=           swmhack 0.0
 
-DISTNAME=              scrotwm-0.9.8
+DISTNAME=              scrotwm-0.9.11
 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 /usr/ports/x11/scrotwm/distinfo scrotwm-0.9.11-port/distinfo
--- /usr/ports/x11/scrotwm/distinfo     Thu Oct  8 14:57:26 2009
+++ scrotwm-0.9.11-port/distinfo        Thu Oct  8 14:57:41 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.11.tgz) = 2a6c6264e841a7d9a449255ed042a496
+RMD160 (scrotwm-0.9.11.tgz) = ffa1bc8cf220b3a09fbb395faa100c89e4dd2142
+SHA1 (scrotwm-0.9.11.tgz) = 5ecd9e08da32c801dba8e6cc79d3374441b26704
+SHA256 (scrotwm-0.9.11.tgz) = 
33ab1baeef7f44045ca4024470c703f3e97a91166b13cc50fc7f4f60dc37887d
+SIZE (scrotwm-0.9.11.tgz) = 47941
diff -ruNp -x CVS /usr/ports/x11/scrotwm/patches/patch-scrotwm_c 
scrotwm-0.9.11-port/patches/patch-scrotwm_c
--- /usr/ports/x11/scrotwm/patches/patch-scrotwm_c      Tue Sep 29 19:54:06 2009
+++ scrotwm-0.9.11-port/patches/patch-scrotwm_c Thu Oct  8 14:57:41 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 /usr/ports/x11/scrotwm/patches/patch-scrotwm_conf 
scrotwm-0.9.11-port/patches/patch-scrotwm_conf
--- /usr/ports/x11/scrotwm/patches/patch-scrotwm_conf   Fri Sep 25 14:26:30 2009
+++ scrotwm-0.9.11-port/patches/patch-scrotwm_conf      Thu Oct  8 14:57:41 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 /usr/ports/x11/scrotwm/pkg/PLIST scrotwm-0.9.11-port/pkg/PLIST
--- /usr/ports/x11/scrotwm/pkg/PLIST    Wed Jan 28 07:20:23 2009
+++ scrotwm-0.9.11-port/pkg/PLIST       Thu Oct  8 14:57:41 2009
@@ -2,9 +2,12 @@
 %%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