From ceri@peasant.insrv.cf.ac.uk  Tue Jun  6 10:49:46 2006
Return-Path: <ceri@peasant.insrv.cf.ac.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F361C16A620
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Jun 2006 10:49:45 +0000 (UTC)
	(envelope-from ceri@peasant.insrv.cf.ac.uk)
Received: from hermes2.cf.ac.uk (hermes2.cf.ac.uk [131.251.0.113])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AF49943D53
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Jun 2006 10:49:42 +0000 (GMT)
	(envelope-from ceri@peasant.insrv.cf.ac.uk)
Received: from peasant.insrv.cf.ac.uk ([131.251.5.42])
	by hermes2.cf.ac.uk with esmtp (Exim 4.60)
	(envelope-from <ceri@peasant.insrv.cf.ac.uk>)
	id 1FnZ7P-0000j4-RV
	for FreeBSD-gnats-submit@freebsd.org; Tue, 06 Jun 2006 11:49:04 +0100
Received: from peasant.insrv.cf.ac.uk (localhost [127.0.0.1])
	by peasant.insrv.cf.ac.uk (8.13.6/8.13.6) with ESMTP id k56AmNs8073890
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 6 Jun 2006 11:48:23 +0100 (BST)
	(envelope-from ceri@peasant.insrv.cf.ac.uk)
Received: (from ceri@localhost)
	by peasant.insrv.cf.ac.uk (8.13.6/8.13.6/Submit) id k56AmMCx027005;
	Tue, 6 Jun 2006 11:48:22 +0100 (BST)
	(envelope-from ceri)
Message-Id: <200606061048.k56AmMCx027005@peasant.insrv.cf.ac.uk>
Date: Tue, 6 Jun 2006 11:48:22 +0100 (BST)
From: Ceri Davies <ceri@submonkey.net>
Reply-To: Ceri Davies <ceri@submonkey.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: KDE thinks /dev/fd is a floppy
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         98591
>Category:       ports
>Synopsis:       KDE thinks /dev/fd is a floppy
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kde
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 06 10:50:18 GMT 2006
>Closed-Date:    Fri Jun 16 07:21:32 GMT 2006
>Last-Modified:  Fri Jun 16 07:21:32 GMT 2006
>Originator:     Ceri Davies
>Release:        FreeBSD 6.1-RELEASE-p1 i386
>Organization:
Submonkey
>Environment:
System: FreeBSD peasant.insrv.cf.ac.uk 6.1-RELEASE-p1 FreeBSD 6.1-RELEASE-p1 #0: Thu Jun 1 18:24:02 BST 2006 root@peasant.insrv.cf.ac.uk:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	Just fired up KDE for the first time on a new machine
	with an fdescfs(5) file system mounted on /dev/fd, and
	KDE thinks that it can see a floppy disk there (although
	it knows that it's an fdescfs mount).

	Screen grab at http://people.FreeBSD.org/~ceri/floppy.png

	Versions of KDE are in the screen grab; here is the
	output of "pkg_info|grep ^k":

	kde-3.5.2           The "meta-port" for KDE
	kdeadmin-3.5.2      KDE applications related to system administration
	kdeartwork-3.5.2    Additional themes, sounds, wallpapers and window styles for
	kdebase-3.5.2_1     Basic applications for the KDE system
	kdebase-kompmgr-3.5.2 Utility needed to enable XComposite support in KDE
	kdegraphics-3.5.1_2 Graphics utilities for the KDE3 integrated X11 desktop
	kdehier-1.0_9       Utility port which installs a hierarchy of shared KDE direc
	kdelibs-3.5.2_1     Base set of libraries needed by KDE programs
	kdepim-3.5.1_1      Personal Information Management tools for KDE
	kdetoys-3.5.2       Small applications for KDE
	kdeutils-3.5.2_1    Utilities for the KDE integrated X11 desktop
	koffice-1.4.2_3,1   Office Suite for KDE3
	ksh93-20060214      Official AT&T release of KornShell 93

>How-To-Repeat:
	mount_fdescfs fdescfs /dev/fd
	Start KDE, look at system:/media.

>Fix:
	Convince the KDE developers that all the world is not Linux.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->kde 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jun 6 11:29:50 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98591 

From: Chris Howells <howells@kde.org>
To: bug-followup@freebsd.org,
 ceri@submonkey.net
Cc:  
Subject: Re: ports/98591: KDE thinks /dev/fd is a floppy
Date: Tue, 6 Jun 2006 13:33:10 +0100

 --nextPart1884267.PkBOcCWyFZ
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
        else if ( devNode.find("fd")!=3D-1 || mountPoint.find("fd")!=3D-1
                || devNode.find("floppy")!=3D-1 ||=20
 mountPoint.find("floppy")!=3D-1 )
         {
                 if ( devNode.find("360")!=3D-1 || devNode.find("1200")!=3D-=
 1 )
                 {
                         mimeType =3D "media/floppy5";
                 }
                 else
                 {
                         mimeType =3D "media/floppy";
                 }
                 label =3D i18n("Floppy");
         }
 
 in kdebase/kioslave/media/mediamanager/fstabbackend.cpp
 
 looks like the offending code
 
 Not quite sure the best way to fix it.
 
 "Convince the KDE developers that all the world is not Linux"
 
 Thankfully the guy that wrote this code is concerned about cross platform=20
 compatibility and already spent time talking to the KDE-FreeBSD team.
 
 =2D-=20
 Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org
 Web: http://www.chrishowells.co.uk, PGP ID: 0x33795A2C
 KDE/Qt/C++/PHP Developer: http://www.kde.org
 
 --nextPart1884267.PkBOcCWyFZ
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2.2 (GNU/Linux)
 
 iD8DBQBEhXYLF8Iu1zN5WiwRAlLqAJ4yO3BT1JBpnJ9mGjwwhNZyl1eFrQCcDrYA
 9AECvPoQoYmwsBjpcVIFYZ0=
 =4AI/
 -----END PGP SIGNATURE-----
 
 --nextPart1884267.PkBOcCWyFZ--

From: Ceri Davies <ceri@submonkey.net>
To: Chris Howells <howells@kde.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/98591: KDE thinks /dev/fd is a floppy
Date: Tue, 6 Jun 2006 13:52:12 +0100

 On Tue, Jun 06, 2006 at 01:33:10PM +0100, Chris Howells wrote:
 >        else if ( devNode.find("fd")!=-1 || mountPoint.find("fd")!=-1
 >                || devNode.find("floppy")!=-1 || 
 > mountPoint.find("floppy")!=-1 )
 >         {
 >                 if ( devNode.find("360")!=-1 || devNode.find("1200")!=-1 )
 >                 {
 >                         mimeType = "media/floppy5";
 >                 }
 >                 else
 >                 {
 >                         mimeType = "media/floppy";
 >                 }
 >                 label = i18n("Floppy");
 >         }
 > 
 > in kdebase/kioslave/media/mediamanager/fstabbackend.cpp
 > 
 > looks like the offending code
 > 
 > Not quite sure the best way to fix it.
 > 
 > "Convince the KDE developers that all the world is not Linux"
 > 
 > Thankfully the guy that wrote this code is concerned about cross platform 
 > compatibility and already spent time talking to the KDE-FreeBSD team.
 
 Sorry, Chris, I'm aware of, and appreciate, that.
 I shouldn't have left out the smiley.
 
 Ceri
 -- 
 That must be wonderful!  I don't understand it at all.
                                                   -- Moliere

From: Michael Nottebrock <lofi@freebsd.org>
To: bug-followup@freebsd.org, ceri@submonkey.net
Cc:  
Subject: Re: ports/98591: KDE thinks /dev/fd is a floppy
Date: Tue, 06 Jun 2006 23:49:39 +0200

 Since http://bugs.kde.org is currently offline, I'll forego the usual
 procedure of redirecting problem reporters there and instead will file a
 KDE bug on this myself as soon as it comes back online. :)

From: Michael Nottebrock <lofi@freebsd.org>
To: bug-followup@freebsd.org, ceri@submonkey.net
Cc:  
Subject: Re: ports/98591: KDE thinks /dev/fd is a floppy
Date: Fri, 09 Jun 2006 02:54:25 +0200

 Filed as KDE bug 128754.
State-Changed-From-To: open->closed 
State-Changed-By: lofi 
State-Changed-When: Fri Jun 16 07:21:12 UTC 2006 
State-Changed-Why:  
Fixed in kdebase-3.5.3_3. Thanks for reporting! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=98591 
>Unformatted:
