pkgsrc/x11/xteddy2/patches/patch-ab
hubertf aca3f0d036 Teddy bear for your desktop
Normally, xteddy just sits  around  doing  nothing.  After
all, that's what teddy bears are for. Look at him, talk to
him, place heavy windows on top of  him,  zap  him  around
until  he  becomes dizzy, do what you like; he will always
be your true (albeit virtual) friend.

Unlike  the  original  version  by  Stefan Gustavson, this
version can display other image formats, and comes with a
number of other images - see xteddy_test.

Closes PR 8368 by John A. Maier <johnam@mail.kemper.org>
2000-12-05 22:54:01 +00:00

23 lines
660 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2000/12/05 22:54:03 hubertf Exp $
--- xteddy_test.orig Mon Mar 29 16:04:35 1999
+++ xteddy_test
@@ -1,15 +1,8 @@
#!/bin/sh
i=0
-if [ -d /usr/share/xteddy ] ; then
- for img in `ls /usr/share/xteddy` ; do
+if [ -d @PREFIX@/share/xteddy ] ; then
+ for img in `ls @PREFIX@/share/xteddy` ; do
i=`expr $i + 50`
- xteddy -F/usr/share/xteddy/$img -geometry +$i+$i &
+ xteddy -F@PREFIX@/share/xteddy/$img -geometry +$i+$i &
done
fi
-if [ -d /usr/local/share/xteddy ] ; then
- for img in `ls /usr/local/share/xteddy` ; do
- i=`expr $i + 50`
- xteddy -F/usr/local/share/xteddy/$img -geometry +$i+$i &
- done
-fi
-