pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/openbox Add two packages to openbox, bringign us to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ffebd719d9d
branches:  trunk
changeset: 567326:4ffebd719d9d
user:      snj <snj%pkgsrc.org@localhost>
date:      Sun Nov 15 03:11:12 2009 +0000

description:
Add two packages to openbox, bringign us to nb2:
- Pull in upstream's 59eb52b7c6ccbe83742e5eb8b40b5e32bb6600cc, which
  prevents windows from jumping to the current workspace when a
  net_active_window message is received.
- Change an entry in the default menu file to use the Exit action instead
  of SessionLogout, so as to not violate the POLA.

diffstat:

 wm/openbox/Makefile         |   4 ++--
 wm/openbox/distinfo         |   4 +++-
 wm/openbox/patches/patch-ad |  25 +++++++++++++++++++++++++
 wm/openbox/patches/patch-ae |  17 +++++++++++++++++
 4 files changed, 47 insertions(+), 3 deletions(-)

diffs (78 lines):

diff -r eb36f68a8ed7 -r 4ffebd719d9d wm/openbox/Makefile
--- a/wm/openbox/Makefile       Sun Nov 15 01:29:33 2009 +0000
+++ b/wm/openbox/Makefile       Sun Nov 15 03:11:12 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.53 2009/07/22 09:01:50 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2009/11/15 03:11:12 snj Exp $
 
 DISTNAME=      openbox-3.4.7.2
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    wm x11
 MASTER_SITES=  http://icculus.org/openbox/releases/
 # PR pkg/36489
diff -r eb36f68a8ed7 -r 4ffebd719d9d wm/openbox/distinfo
--- a/wm/openbox/distinfo       Sun Nov 15 01:29:33 2009 +0000
+++ b/wm/openbox/distinfo       Sun Nov 15 03:11:12 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2009/02/16 12:04:01 wiz Exp $
+$NetBSD: distinfo,v 1.21 2009/11/15 03:11:12 snj Exp $
 
 SHA1 (openbox-3.4.7.2.tar.gz) = f34c3ec43b7e39bf57d64dbef97c35b68fea5254
 RMD160 (openbox-3.4.7.2.tar.gz) = a5ab5f4c3db81625d512da48189e34aeeec244d8
@@ -6,3 +6,5 @@
 SHA1 (patch-aa) = 343f54e1aa60dd9e0e69cb6e6a53c80dc8d071df
 SHA1 (patch-ab) = bb13ec5801c2e271f1e6b2dc4d0aa149c9e2dff1
 SHA1 (patch-ac) = cd5d329332623b97435fd72cf2be1b52049c041f
+SHA1 (patch-ad) = 86d624aa32e5de4835bec1db18896c65b0c24f3d
+SHA1 (patch-ae) = 9ff91b6a23a322d11be49e7894c42f14efa859e5
diff -r eb36f68a8ed7 -r 4ffebd719d9d wm/openbox/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/openbox/patches/patch-ad       Sun Nov 15 03:11:12 2009 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ad,v 1.3 2009/11/15 03:11:12 snj Exp $
+
+This is git revision 59eb52b7c6ccbe83742e5eb8b40b5e32bb6600cc upstream.
+
+--- openbox/client.c.orig      2008-04-13 16:22:11.000000000 -0700
++++ openbox/client.c   2009-11-14 01:16:58.000000000 -0800
+@@ -3897,12 +3897,15 @@ static void client_present(ObClient *sel
+     client_focus(self);
+ }
+ 
+-/* this function exists to map to the client_activate message in the ewmh,
+-   the user arg is unused because nobody uses it correctly anyway. */
++/* this function exists to map to the net_active_window message in the ewmh */
+ void client_activate(ObClient *self, gboolean here, gboolean raise,
+                      gboolean unshade, gboolean user)
+ {
+-    client_present(self, here, raise, unshade);
++    if (user || (self->desktop == DESKTOP_ALL ||
++                 self->desktop == screen_desktop))
++        client_present(self, here, raise, unshade);
++    else
++        client_hilite(self, TRUE);
+ }
+ 
+ static void client_bring_windows_recursive(ObClient *self,
diff -r eb36f68a8ed7 -r 4ffebd719d9d wm/openbox/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/openbox/patches/patch-ae       Sun Nov 15 03:11:12 2009 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ae,v 1.1 2009/11/15 03:11:12 snj Exp $
+
+--- data/menu.xml.orig 2008-03-03 08:07:59.000000000 -0800
++++ data/menu.xml      2009-11-14 17:41:32.000000000 -0800
+@@ -389,8 +389,10 @@
+   <separator label="System" />
+   <menu id="system-menu"/>
+   <separator />
+-  <item label="Log Out">
+-    <action name="SessionLogout">
++  <!--<item label="Log Out">
++        <action name="SessionLogout"> -->
++  <item label="Quit Openbox">
++    <action name="Exit">
+       <prompt>yes</prompt>
+     </action>
+   </item>



Home | Main Index | Thread Index | Old Index