Date: Saturday, May 31, 2014 @ 03:05:52
  Author: eric
Revision: 213875

upgpkg: icewm 1.3.8-2

Fix shutdown/reboot menu entries (close FS#37884)

Added:
  icewm/trunk/icewm-1.3.8-shutdown-reboot-command.patch
Modified:
  icewm/trunk/PKGBUILD

-------------------------------------------+
 PKGBUILD                                  |    8 +++++---
 icewm-1.3.8-shutdown-reboot-command.patch |   13 +++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-05-31 00:27:33 UTC (rev 213874)
+++ PKGBUILD    2014-05-31 01:05:52 UTC (rev 213875)
@@ -3,7 +3,7 @@
 
 pkgname=icewm
 pkgver=1.3.8
-pkgrel=1
+pkgrel=2
 pkgdesc="A Window Manager designed for speed, usability, and consistency"
 arch=('i686' 'x86_64')
 url="http://www.icewm.org/";
@@ -11,15 +11,17 @@
 depends=('libxrandr' 'libxft' 'libsm' 'libxinerama' 'gdk-pixbuf2')
 makedepends=('xorg-mkfontdir')
 
source=(http://downloads.sourceforge.net/sourceforge/icewm/${pkgname}-${pkgver}.tar.gz
-        ignore_workarea_hints.patch icewm-cpustatus.patch)
+        ignore_workarea_hints.patch icewm-cpustatus.patch 
icewm-1.3.8-shutdown-reboot-command.patch)
 sha1sums=('dc9155227129be14aced00c24c572356e0fa5cd8'
           '88b4b198827d6590901c2c8bdba8826d928f6f1a'
-          '0f4a02153496dadd26742f6bd3bdc166d7eafaed')
+          '0f4a02153496dadd26742f6bd3bdc166d7eafaed'
+          'd85d35b756ca2d5283f10de9d9bca23d39c68f6f')
 
 prepare() {
   cd ${pkgname}-${pkgver}
   patch -p1 -i "${srcdir}/ignore_workarea_hints.patch"
   patch -p2 -i "${srcdir}/icewm-cpustatus.patch"
+  patch -p1 -i "${srcdir}/icewm-1.3.8-shutdown-reboot-command.patch"
 }
 
 build() {

Added: icewm-1.3.8-shutdown-reboot-command.patch
===================================================================
--- icewm-1.3.8-shutdown-reboot-command.patch                           (rev 0)
+++ icewm-1.3.8-shutdown-reboot-command.patch   2014-05-31 01:05:52 UTC (rev 
213875)
@@ -0,0 +1,13 @@
+diff --git a/src/wmmgr.cc b/src/wmmgr.cc
+index 4252bf6..dc1e703 100644
+--- a/src/wmmgr.cc
++++ b/src/wmmgr.cc
+@@ -697,7 +697,7 @@ void YWindowManager::handleClientMessage(const 
XClientMessageEvent &message) {
+         case ICEWM_ACTION_RESTARTWM:
+         case ICEWM_ACTION_WINDOWLIST:
+         case ICEWM_ACTION_ABOUT:
+-            break;
++            //break;
+         default:
+             smActionListener->handleSMAction(message.data.l[1]);
+             break;

Reply via email to