Subject: pkg/14429: KDE2 kdeeject doesn't work
To: None <>
From: Mark Davies <>
List: netbsd-bugs
Date: 11/02/2001 13:26:11
>Number:         14429
>Category:       pkg
>Synopsis:       KDE2 kdeeject doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 01 16:27:00 PST 2001
>Originator:     Mark Davies
>Release:        NetBSD 1.5Y 29/10/2001
Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
System: NetBSD 1.5Y NetBSD 1.5Y (MCS_WORKSTATION) #1: Tue Oct 30 22:54:21 NZDT 2001 i386
Architecture: i386
Machine: i386
	Requests to eject CD's from the kde2 desktop fail as the kdeeject
	script assumes that BSD has a sed that has an "-E" option and has
	a "cdcontrol" (presumably FreeBSD).

	Right click a kde2 desktop CD Device Icon and select eject.
	Note that nothing happens.

	Add the following as a patch in the kdebase2 package.

--- kdesktop/kdeeject~	Sun May  6 08:05:58 2001
+++ kdesktop/kdeeject	Thu Oct 25 16:18:22 2001
@@ -13,6 +13,9 @@
   # I guess this is the reason for making this a kde app...
   OS=`uname -s`
   case "$OS" in
+    NetBSD)
+      eject $1 >/dev/null 2>&1
+      ;;
       dev=`echo $1 | sed -E -e 's#/dev/##' -e 's/([0-9])./\1/'`
       cdcontrol -f $dev eject >/dev/null 2>&1