pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/wm/fluxbox Take care of nonportable use of grep in flu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/60d7db71ad65
branches: trunk
changeset: 501315:60d7db71ad65
user: tonio <tonio%pkgsrc.org@localhost>
date: Thu Oct 20 15:55:01 2005 +0000
description:
Take care of nonportable use of grep in fluxbox-generate-menu
This should fix the build under openbsd and solaris
diffstat:
wm/fluxbox/Makefile | 3 ++-
wm/fluxbox/distinfo | 3 ++-
wm/fluxbox/patches/patch-aa | 22 ++++++++++++++++++++++
3 files changed, 26 insertions(+), 2 deletions(-)
diffs (53 lines):
diff -r 5d162e5e8f30 -r 60d7db71ad65 wm/fluxbox/Makefile
--- a/wm/fluxbox/Makefile Thu Oct 20 15:32:59 2005 +0000
+++ b/wm/fluxbox/Makefile Thu Oct 20 15:55:01 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2005/09/27 12:49:04 tonio Exp $
+# $NetBSD: Makefile,v 1.29 2005/10/20 15:55:01 tonio Exp $
#
DISTNAME= fluxbox-0.9.14
+PKGREVISION= 1
CATEGORIES= wm x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fluxbox/}
EXTRACT_SUFX= .tar.bz2
diff -r 5d162e5e8f30 -r 60d7db71ad65 wm/fluxbox/distinfo
--- a/wm/fluxbox/distinfo Thu Oct 20 15:32:59 2005 +0000
+++ b/wm/fluxbox/distinfo Thu Oct 20 15:55:01 2005 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.18 2005/09/27 12:49:04 tonio Exp $
+$NetBSD: distinfo,v 1.19 2005/10/20 15:55:01 tonio Exp $
SHA1 (fluxbox-0.9.14.tar.bz2) = 6e9d6d42631bb92b2fcfa1b74476b4383af91c3b
RMD160 (fluxbox-0.9.14.tar.bz2) = 17cb299115164303972988471526a57bf0eeebde
Size (fluxbox-0.9.14.tar.bz2) = 671916 bytes
+SHA1 (patch-aa) = e93ce1d4100fe3899ff226fbf6d99fb2526babf4
SHA1 (patch-ac) = f180c8cc2878f73ca14fa48aea73e04ff599004b
SHA1 (patch-ad) = 8fe91a52ce87f3f35f986ad8afb136c5cfd660d5
SHA1 (patch-af) = 2e20d43536b348dc72696110d41d85a69f2f19c9
diff -r 5d162e5e8f30 -r 60d7db71ad65 wm/fluxbox/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/fluxbox/patches/patch-aa Thu Oct 20 15:55:01 2005 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.8 2005/10/20 15:55:01 tonio Exp $
+
+--- util/fluxbox-generate_menu.in.orig 2005-08-25 18:52:50.000000000 +0200
++++ util/fluxbox-generate_menu.in
+@@ -51,7 +51,7 @@ WHOAMI=`whoami`
+ [ "$WHOAMI" = root ] && PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
+
+ # Check for Imlib2-support
+-if fluxbox -info 2> /dev/null | grep -q "^IMLIB"; then
++if fluxbox -info 2> /dev/null | grep "^IMLIB" > /dev/null; then
+ PNG_ICONS="yes"
+ else
+ # better assume to assume "no"
+@@ -343,7 +343,7 @@ searchForIcon(){
+ # echo "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>"
+ if [ -f "$entry_icon" ]; then
+ # if icon exists and entry does not already exists, add it
+- if ! grep -q -m 1 "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>" $ICONMAPPING 2> /dev/null; then
++ if ! grep "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>" $ICONMAPPING > /dev/null; then
+ echo -e "\"${entry_exec}\" \t <${entry_icon}>" >> $ICONMAPPING
+ else
+ : echo "# mapping already exists for ${entry_exec}" >> $ICONMAPPING
Home |
Main Index |
Thread Index |
Old Index