Mail archive
alpine-devel

[alpine-devel] [PATCH] testing/icewm: make menu useable by default

From: Isaac Dunham <ibid.ag_at_gmail.com>
Date: Fri, 4 Jul 2014 18:10:21 -0700

* Add the more typical terminal emulators to the default menu
* use Firefox/Midori instead of Mozilla

This way, users are able to at least get a command line,
and standard browsers show up.

Icewm will search $PATH for the command at startup, and only shows it
if the command is present.
---
 testing/icewm/APKBUILD | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/testing/icewm/APKBUILD b/testing/icewm/APKBUILD
index 7a4d36e..9fcd7f8 100644
--- a/testing/icewm/APKBUILD
+++ b/testing/icewm/APKBUILD
_at_@ -2,7 +2,7 @@
 # Maintainer: Isaac Dunham <ibid.ag_at_gmail.com>
 pkgname=icewm
 pkgver=1.3.8
-pkgrel=2
+pkgrel=3
 pkgdesc="A lightweight Win95/Motif-style window manager in C++"
 url="http://www.icewm.org"
 arch="all"
_at_@ -47,6 +47,12 @@ package() {
 	cd "$_builddir"
 	make DESTDIR="$pkgdir" install || return 1
 	rm -f "$pkgdir"/usr/lib/*.la
+	sed -e 's/rxvt/urxvt/g' \
+	-e 's/\(prog xterm.*\)/\1\nprog Terminal xterm xfce4-terminal/' \
+	-e 's/\(prog xterm.*\)/\1\nprog st xterm st/' \
+	-e 's/\(prog xterm.*\)/\1\nprog mrxvt xterm mrxvt/' \
+	-e 's/prog Mozil.*/\nprog Firefox mozilla firefox\nprog Midori midori midori/' \
+	-i "$pkgdir"/usr/share/icewm/menu
 }
 doc() {
 	cd "$_builddir"
-- 
2.0.1
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Fri Jul 04 2014 - 18:10:21 GMT