summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2002-10-27 07:39:05 +0000
committerGeorge Shapovalov <george@gentoo.org>2002-10-27 07:39:05 +0000
commit7e760f0c9cd66107eeace55c0799c2ca4fcf9f3d (patch)
tree6bed31d38bf184d66b833ccfffc3b67fda36a376 /x11-misc/genmenu
parentNew package (diff)
downloadgentoo-2-7e760f0c9cd66107eeace55c0799c2ca4fcf9f3d.tar.gz
gentoo-2-7e760f0c9cd66107eeace55c0799c2ca4fcf9f3d.tar.bz2
gentoo-2-7e760f0c9cd66107eeace55c0799c2ca4fcf9f3d.zip
new package: menu generator for black/flux-box'es, wmaker and enlightment
Diffstat (limited to 'x11-misc/genmenu')
-rw-r--r--x11-misc/genmenu/ChangeLog18
-rw-r--r--x11-misc/genmenu/files/digest-genmenu-0.9.01
-rw-r--r--x11-misc/genmenu/files/genmenu-0.9.0.patch44
-rw-r--r--x11-misc/genmenu/genmenu-0.9.0.ebuild27
4 files changed, 90 insertions, 0 deletions
diff --git a/x11-misc/genmenu/ChangeLog b/x11-misc/genmenu/ChangeLog
new file mode 100644
index 000000000000..0444afeb8412
--- /dev/null
+++ b/x11-misc/genmenu/ChangeLog
@@ -0,0 +1,18 @@
+# ChangeLog for x11-misc/genmenu
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/genmenu/ChangeLog,v 1.1 2002/10/27 07:39:05 george Exp $
+
+*genmenu-0.9.0 (26 Oct 2002)
+
+ 26 Oct 2002; George Shapovalov <george@gentoo.org> genmenu-0.9.0.ebuild, files/{digest-genmenu-0.9.0,genmenu-0.9.0.patch} :
+
+ new package
+
+ menu generator for few wm's. From the freshmeat page:
+ Genmenu generates menus for some common window managers based on which program binaries genmenu finds
+ installed on a system (a list of programs to search for are contained within the script). Users can
+ to a limited degree further customize their menu via a set of interactive questions. Genmenu supports
+ Blackbox, fluxbox, WindowMaker, and Enlightenment window managers.
+ Author: Geir Torstein Kristiansen <gtk@techie.online.no>
+
+ I modified the script to make backup copies of original menu files (they will have .orig extention)
diff --git a/x11-misc/genmenu/files/digest-genmenu-0.9.0 b/x11-misc/genmenu/files/digest-genmenu-0.9.0
new file mode 100644
index 000000000000..9a68d98532b0
--- /dev/null
+++ b/x11-misc/genmenu/files/digest-genmenu-0.9.0
@@ -0,0 +1 @@
+MD5 7b443c138fe9f93df275ff20bdd86cba genmenu-0.9.0.tar.gz 10116
diff --git a/x11-misc/genmenu/files/genmenu-0.9.0.patch b/x11-misc/genmenu/files/genmenu-0.9.0.patch
new file mode 100644
index 000000000000..ab03566605fb
--- /dev/null
+++ b/x11-misc/genmenu/files/genmenu-0.9.0.patch
@@ -0,0 +1,44 @@
+--- genmenu.orig 2002-10-14 10:38:51.000000000 -0700
++++ genmenu 2002-10-27 00:08:47.000000000 -0700
+@@ -796,7 +796,7 @@
+ {
+ local thiswm
+
+- echo "\"Other Window Managers\""
++ echo '"Other Window Managers"'
+
+ for thiswm in $WINDOWMANAGERS; do
+ if [ "$thiswm" != "enlightenment" ]; then
+@@ -913,6 +913,7 @@
+ fi
+
+ echo -e "\nWriting Fluxbox menu\n"
++ mv $fb_menu $fb_menu.orig
+ fb_writemenu >$fb_menu
+ echo
+
+@@ -965,6 +966,7 @@
+ fi
+
+ echo -e "\nWriting Blackbox menu\n"
++ mv $bb_menu $bb_menu.orig
+ bb_writemenu >$bb_menu
+ echo
+
+@@ -992,6 +994,7 @@
+ fi
+
+ echo -e "\nWriting Window Maker menu\n"
++ mv $menu $menu.orig
+ wm_writemenu >$menu
+ echo
+ }
+@@ -1022,6 +1025,8 @@
+
+ programs
+
++ mv $menu $menu.orig
++
+ ( echo "\"User Menus\""
+
+ if [ -f "$ECONFDIR/genmenu.menu" ]; then
diff --git a/x11-misc/genmenu/genmenu-0.9.0.ebuild b/x11-misc/genmenu/genmenu-0.9.0.ebuild
new file mode 100644
index 000000000000..211e0846c489
--- /dev/null
+++ b/x11-misc/genmenu/genmenu-0.9.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/genmenu/genmenu-0.9.0.ebuild,v 1.1 2002/10/27 07:39:05 george Exp $
+
+S="${WORKDIR}/${P}"
+
+DESCRIPTION="menu generator for Blackbox, WindowMaker, and Enlightenment"
+SRC_URI="http://home.online.no/~geir37/archive/${P}.tar.gz"
+HOMEPAGE="http://projects.gtk.mine.nu/genmenu"
+
+LICENSE="GPL-2"
+DEPEND="sys-apps/bash"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch genmenu < ${FILESDIR}/${PN}-${PV}.patch
+}
+
+src_install () {
+ dobin genmenu
+
+ # Install documentation.
+ dodoc ChangeLog README
+}