trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2011

Cmake issues: Building kdebase with HAL support

From: Darrell Anderson <humanreadable@...>
Date: Tue, 20 Dec 2011 14:59:43 -0800 (PST)
Several bug reports focus on TDE not displaying device icons on the desktop or the standard popup dialog when a new device is detected. Refer to bug reports 372, 385, 634 for starters.

These are serious usability bugs.

Today I started investigating. I discovered that HAL support is not enabled in the default cmake options. I don't know why that is the default.

I enabled HAL support with -DWITH-HAL=ON. The build failed for failing to find some header files. I submitted a small patch in bug report 755.

I don't think my patch is the best approach. Instead I think the following environment variables need to be defined:

$DBUS_TQT_LIBRARY_DIRS
$HAL_INCLUDE_DIRS
$HAL_LIBRARIES

Although referenced, I don't think these variables are defined anywhere in the cmake files. How do I patch the cmake files to know those locations?

I could hard-code those locations in my kdebase build script or build environment, but what is the proper approach?

Darrell