I recently pushed a new (alpha quality) backend for
the
media:/ kioslave which uses udev/pmount and therefore does not rely on
HAL. I encourage developers here to try it out!
Tim, FYI:
While rebuilding tdebase for another reason, I forgot to set -DWITH_TDEHWLIB=OFF. The
build failed with this:
In file included from
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:19:
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.h:37:32: error:
tdehardwaredevices.h: No such file or directory
In file included from
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:19:
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.h:85: error:
'TDEStorageDevice' has not been declared
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.h:92: error:
'TDEStorageDevice' has not been declared
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.h:99: error:
'TDEStorageDevice' has not been declared
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.h:102: error:
'TDEGenericDevice' has not been declared
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.h:103: error:
'TDEGenericDevice' has not been declared
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.h:104: error:
'TDEGenericDevice' has not been declared
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.h:119: error:
'TDEStorageDevice' has not been declared
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp: In constructor
'TDEBackend::TDEBackend(MediaList&, TQObject*)':
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:55: error:
'TDEHardwareDevices' was not declared in this scope
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:55: error:
'hwdevices' was not declared in this scope
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:55: error:
'hardwareDevices' is not a member of 'KGlobal'
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp: In destructor
'virtual TDEBackend::~TDEBackend()':
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:70: error:
'TDEHardwareDevices' was not declared in this scope
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:70: error:
'hwdevices' was not declared in this scope
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:70: error:
'hardwareDevices' is not a member of 'KGlobal'
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:71: error:
'TDEGenericHardwareList' was not declared in this scope
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:71: error: expected
';' before 'hwlist'
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:72: error:
'TDEGenericDevice' was not declared in this scope
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:72: error:
'hwdevice' was not declared in this scope
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:73: error:
'hwlist' was not declared in this scope
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:74: error:
'TDEGenericDeviceType' has not been declared
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:75: error:
'TDEStorageDevice' was not declared in this scope
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:75: error:
'sdevice' was not declared in this scope
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:75: error: expected
type-specifier before 'TDEStorageDevice'
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:75: error: expected
'>' before 'TDEStorageDevice'
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:75: error: expected
'(' before 'TDEStorageDevice'
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:75: error: expected
primary-expression before '>' token
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:75: error: expected
')' before ';' token
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp: At global scope:
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:81: error: variable or
field 'AddDeviceHandler' declared void
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:81: error:
'TDEGenericDevice' was not declared in this scope
/dev/shm/tdebase/kioslave/media/mediamanager/tdehardwarebackend.cpp:81: error:
'device' was not declared in this scope
make[2]: ***
[kioslave/media/mediamanager/CMakeFiles/kded_mediamanager-module.dir/tdehardwarebackend.cpp.o]
Error 1
Darrell