Subject: pkg/4919: xcd package is broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: netbsd-bugs
Date: 01/30/1998 21:35:10
>Number: 4919
>Category: pkg
>Synopsis: xcd package is broken
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 30 12:35:02 1998
>Last-Modified:
>Originator: Jaromir Dolecek
>Organization:
ICS MU, Brno, Czech Republic
>Release: 1.3/any
>Environment:
System: NetBSD saruman.ics.muni.cz 1.3 NetBSD 1.3 (SARUMAN) #3: Wed Jan 21 13:29:49 MET 1998 dolecek@saruman.ics.muni.cz:/usr/home/dolecek/N13/usr/src/sys/arch/i386/compile/SARUMAN i386
>Description:
1. cdplayer (the "engine" actually working with audio
CDs) uses partition /dev/rcd0c; this doesn't work on i386.
Partition /dev/rcd0a works there and maybe for the rest
of world too (?).
2. xcd: there is written bad path to interpreter - wish8.0
3. xcd won't play anything due to bug in it (bug report send
to author, no response yet)
4. when removing xcd package, directory ${PREFIX}/lib/xcd
isn't removed
>How-To-Repeat:
compile & install xcd
$ ./xcd
xcd: No such file or directory
After correcting the path, realize it isn't able to play anyway.
>Fix:
--- patches/patch-aa.orig Fri Jan 30 21:24:11 1998
+++ patches/patch-aa Fri Jan 30 21:14:23 1998
@@ -0,0 +1,27 @@
+--- xcd.in.orig Fri Jan 30 19:42:49 1998
++++ xcd.in Fri Jan 30 20:43:17 1998
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/wish8.0 -f
++#!/usr/pkg/bin/wish8.0 -f
+ # -*- tcl -*-
+
+ # Copyright (C) 1994 by Jean-Marc Zucconi (jmz@cabri.obs-besancon.fr)
+@@ -394,6 +394,7 @@
+ .stop configure -fg $fg -relief groove;
+ .play configure -relief sunken -fg $active;
+ $play;
++ set status $stat('playing');
+ }
+ }
+ proc pause_button {} {
+--- cdplayer.c.orig Fri Jan 30 19:43:11 1998
++++ cdplayer.c Fri Jan 30 19:43:47 1998
+@@ -6,7 +6,7 @@
+ #include <sys/cdio.h>
+ #include <sys/ioctl.h>
+
+-#define DEVICE "/dev/rcd0c"
++#define DEVICE "/dev/rcd0a"
+
+ #define command(s) strncmp(cmd,s,strlen(s))==0
+
--- pkg/PLIST.orig Fri Jan 30 21:15:51 1998
+++ pkg/PLIST Fri Jan 30 21:16:04 1998
@@ -17,5 +17,6 @@
lib/xcd/rewind_s.xbm
lib/xcd/stop.xbm
lib/xcd/stop_s.xbm
+@dirrm lib/xcd
man/man1/cdplayer.1.gz
man/man1/xcd.1.gz
>Audit-Trail:
>Unformatted: