pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/icepref Replaced the call to killall(1) by a call t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92a20611d92a
branches:  trunk
changeset: 488572:92a20611d92a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Feb 04 13:00:09 2005 +0000

description:
Replaced the call to killall(1) by a call to pgrep(1)/kill(1) to make
the "Restart" button work on NetBSD (and still on Linux).
Bumped PKGREVISION.

Reviewed by wiz.

diffstat:

 wm/icepref/Makefile         |  4 ++--
 wm/icepref/distinfo         |  4 ++--
 wm/icepref/patches/patch-ab |  9 ++++-----
 3 files changed, 8 insertions(+), 9 deletions(-)

diffs (57 lines):

diff -r f2b1271c1acb -r 92a20611d92a wm/icepref/Makefile
--- a/wm/icepref/Makefile       Fri Feb 04 11:21:54 2005 +0000
+++ b/wm/icepref/Makefile       Fri Feb 04 13:00:09 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2004/12/15 17:03:58 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2005/02/04 13:00:09 rillig Exp $
 #
 
 DISTNAME=      icepref-1.1
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    wm
 MASTER_SITES=  ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
 
diff -r f2b1271c1acb -r 92a20611d92a wm/icepref/distinfo
--- a/wm/icepref/distinfo       Fri Feb 04 11:21:54 2005 +0000
+++ b/wm/icepref/distinfo       Fri Feb 04 13:00:09 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2002/11/23 23:23:52 wiz Exp $
+$NetBSD: distinfo,v 1.5 2005/02/04 13:00:09 rillig Exp $
 
 SHA1 (icepref-1.1.tar.gz) = 025c0390f7acb6768ee0b41c733bf9a3e59949b8
 Size (icepref-1.1.tar.gz) = 29418 bytes
 SHA1 (patch-aa) = 0dd492ea8cf440a0076986245f61ddf1281a526a
-SHA1 (patch-ab) = d10a096c1a15a1ea4e56283c44276492a2d39b80
+SHA1 (patch-ab) = 6e0f9cfff26daceeaff1233d7b34e0a264a58f70
diff -r f2b1271c1acb -r 92a20611d92a wm/icepref/patches/patch-ab
--- a/wm/icepref/patches/patch-ab       Fri Feb 04 11:21:54 2005 +0000
+++ b/wm/icepref/patches/patch-ab       Fri Feb 04 13:00:09 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2002/11/23 23:23:53 wiz Exp $
+$NetBSD: patch-ab,v 1.3 2005/02/04 13:00:10 rillig Exp $
 
 --- icepref.orig       Thu Jan  6 00:16:04 2000
 +++ icepref
@@ -11,18 +11,17 @@
            
            if DEBUG:
                print 'The icewm execuatable is located at %s' % exec_path
-@@ -1898,8 +1898,8 @@
+@@ -1898,8 +1898,7 @@
                # work on other non Linux systems.  Under Debian, this function requires
                # the installation of the psmisc package.
                
 -              os.system('killall -HUP -q icewm')
 -              os.system('killall -HUP -q icewm-gnome')
-+              os.system('killall -HUP icewm')
-+              os.system('killall -HUP icewm-gnome')
++              os.system('kill -HUP `pgrep icewm; pgrep icewm-gnome`')
        
        # this is the callback for the OK button
        
-@@ -2090,7 +2090,7 @@
+@@ -2090,7 +2089,7 @@
                        button.show()
                        
                        # Disable the Restart button in the OS is BSD or the user is root



Home | Main Index | Thread Index | Old Index