diff options
author | agc <agc> | 2002-06-21 15:09:47 +0000 |
---|---|---|
committer | agc <agc> | 2002-06-21 15:09:47 +0000 |
commit | 0ca9f16dc968196009ae56f08431ff246cd2eb06 (patch) | |
tree | 689efa0ed455c28545b4f49210ade8c353691e69 | |
parent | 2063bf16759f9167b9b0a76a65edfd51817ded38 (diff) | |
download | pkgsrc-0ca9f16dc968196009ae56f08431ff246cd2eb06.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.
-rw-r--r-- | wm/icepref/DESCR | 4 | ||||
-rw-r--r-- | wm/icepref/Makefile | 18 | ||||
-rw-r--r-- | wm/icepref/PLIST | 3 | ||||
-rw-r--r-- | wm/icepref/distinfo | 5 | ||||
-rw-r--r-- | wm/icepref/patches/patch-aa | 21 | ||||
-rw-r--r-- | wm/icepref/patches/patch-ab | 39 |
6 files changed, 90 insertions, 0 deletions
diff --git a/wm/icepref/DESCR b/wm/icepref/DESCR new file mode 100644 index 00000000000..72d427986df --- /dev/null +++ b/wm/icepref/DESCR @@ -0,0 +1,4 @@ +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. diff --git a/wm/icepref/Makefile b/wm/icepref/Makefile new file mode 100644 index 00000000000..5d4a44a30cb --- /dev/null +++ b/wm/icepref/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/06/21 15:09:47 agc Exp $ +# + +DISTNAME= icepref-1.1 +CATEGORIES= wm +MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/ + +MAINTAINER= ptiJo@noos.fr +# This homepage no longer exists - agc 21 June 2002 +#HOMEPAGE= http://members.xoom.com/SaintChoj/icepref.html +COMMENT= graphical configuration utility for IceWM + +WRKSRC= ${WRKDIR}/icepref + +USE_BUILDLINK_ONLY= yes + +.include "../../x11/pygtk/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/wm/icepref/PLIST b/wm/icepref/PLIST new file mode 100644 index 00000000000..aae496d978a --- /dev/null +++ b/wm/icepref/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/21 15:09:47 agc Exp $ +bin/icepref +man/man1/icepref.1 diff --git a/wm/icepref/distinfo b/wm/icepref/distinfo new file mode 100644 index 00000000000..a0510aa839d --- /dev/null +++ b/wm/icepref/distinfo @@ -0,0 +1,5 @@ + +SHA1 (icepref-1.1.tar.gz) = 025c0390f7acb6768ee0b41c733bf9a3e59949b8 +Size (icepref-1.1.tar.gz) = 29418 bytes +SHA1 (patch-aa) = e41db6ad41271087cb68282f7bd21de67679164f +SHA1 (patch-ab) = 5fab42c6c557bbe87df7e37ba2bbf196d17f3dbc 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) |