Group :: Som
RPM: aumix
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: aumix-2.7-alt-taumix-deps.patch
Download
Download
diff -Naur aumix-2.7.orig/src/taumix aumix-2.7/src/taumix
--- aumix-2.7.orig/src/xaumix Wed May 23 14:41:09 2001
+++ aumix-2.7/src/xaumix Wed May 23 14:04:58 2001
@@ -9,6 +9,7 @@
SCHEME='-C ansi'
TITLE='-T aumix'
XTERM=
+XPROP=/usr/X11R6/bin/xprop
# Are we under X11?
if test -z "$DISPLAY"; then
@@ -21,7 +22,7 @@
saveifs=$IFS
IFS=${IFS}:
# Test for GNOME before KDE: I flipped a coin. --Trevor
-if xprop -root | grep -q '^GNOME_SM_PROXY'; then
+if [ -x "$XPROP" ] && "$XPROP" -root | grep -q '^GNOME_SM_PROXY'; then
for dir in $PATH; do
# Although gnome-terminal works, it gives error messages:
# Gdk-WARNING **: locale not supported by C library
@@ -35,7 +36,7 @@
fi
done
fi
-if xprop -root | grep -q 'Unnamed Desktop'; then
+if [ -x "$XPROP" ] && "$XPROP" -root | grep -q 'Unnamed Desktop'; then
for dir in $PATH; do
if test -x $dir/kvt; then
GEOMETRY='-vt_geometry 79x${LINES}'