summaryrefslogtreecommitdiff
path: root/wm/icepref/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-06-21 15:09:47 +0000
committeragc <agc@pkgsrc.org>2002-06-21 15:09:47 +0000
commit778d483d162008a3faa5a9f411e47ef940f68b5d (patch)
tree689efa0ed455c28545b4f49210ade8c353691e69 /wm/icepref/patches
parentab937a2e7e4eb32ec3eb488200917576fbddac7e (diff)
downloadpkgsrc-778d483d162008a3faa5a9f411e47ef940f68b5d.tar.gz
Initial import of icepref-1.1, yet another configuration tool for icewm,
into the NetBSD Packages Collection. Provided in PR 17351 by ptiJo@noos.fr IcePref is a graphical configuration utility for IceWM. It is written in python and uses the Gtk toolkit via the PyGTK bindings. It is capable of configuring all of the settings contained in the 'preferences' file. More features are forthcoming.
Diffstat (limited to 'wm/icepref/patches')
-rw-r--r--wm/icepref/patches/patch-aa21
-rw-r--r--wm/icepref/patches/patch-ab39
2 files changed, 60 insertions, 0 deletions
diff --git a/wm/icepref/patches/patch-aa b/wm/icepref/patches/patch-aa
new file mode 100644
index 00000000000..6aba1ce452f
--- /dev/null
+++ b/wm/icepref/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/06/21 15:09:47 agc Exp $
+
+--- Makefile.orig Tue Dec 28 20:53:24 1999
++++ Makefile
+@@ -1,6 +1,8 @@
+ # Makefile for icepref installation
+-PREFIX=/usr/X11R6
++PREFIX=${LOCALBASE}
+ VERSION=1.0Beta
++all:
++ echo "no compilling needed"
+ install:
+ cp -f icepref $(PREFIX)/bin/icepref
+ cp -f icepref.1 $(PREFIX)/man/man1/icepref.1
+@@ -13,4 +15,4 @@
+
+ uninstall:
+ rm -f $(PREFIX)/bin/icepref
+- rm -f $(PREFIX)/man/man1/icepref.1
+\ No newline at end of file
++ rm -f $(PREFIX)/man/man1/icepref.1
diff --git a/wm/icepref/patches/patch-ab b/wm/icepref/patches/patch-ab
new file mode 100644
index 00000000000..c4b0be074ec
--- /dev/null
+++ b/wm/icepref/patches/patch-ab
@@ -0,0 +1,39 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/06/21 15:09:47 agc Exp $
+
+--- icepref.orig Thu Jan 6 00:16:04 2000
++++ icepref
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2.1
+
+ ##############################################################################
+ # IcePref 1.0
+@@ -1710,7 +1710,7 @@
+
+ exec_path = commands.getoutput('whereis icewm')
+ exec_path = split(exec_path) # split output of whereis into tokens at whitespace
+- exec_path = exec_path[1] # get second token (should be executable)
++ exec_path = exec_path[0] # get second token (should be executable)
+
+ if DEBUG:
+ print 'The icewm execuatable is located at %s' % exec_path
+@@ -1898,8 +1898,8 @@
+ # 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')
+
+ # this is the callback for the OK button
+
+@@ -2090,7 +2090,7 @@
+ button.show()
+
+ # Disable the Restart button in the OS is BSD or the user is root
+- if item[0] == 'Restart' and ( self.os == 'BSD' or USER == 'root'):
++ if item[0] == 'Restart' and ( USER == 'root'):
+ button.set_sensitive(FALSE)
+
+ bbox.pack_start(button, TRUE, FALSE, 0)