Is anybody able to build tdebase without HAL
(WITH_HAL=OFF)?
Anybody?
I'm dead in the water unless I can build without HAL.
(Bug report 1132.)
In file: tdm/backend/CMakeLists.txt
Look at section "include_directories" (line 14)
(notice the self-explanatory comment just above ...)
Inside this section, add another line just after
${DBUS_TQT_INCLUDE_DIRS}
${DBUS_INCLUDE_DIRS}
And try again ...
Turns out this failure is more fundamental. After comparing builds with WITH_HAL=ON and
WITH_HAL=OFF, I noticed the latter build never looked for dbus-tqt and always failed.
I found success with the following temporary patch:
=================================================
diff -urN tdebase/ConfigureChecks.cmake tdebase.new/ConfigureChecks.cmake
--- tdebase/ConfigureChecks.cmake 2012-06-10 11:52:38.000000000 -0500
+++ tdebase.new/ConfigureChecks.cmake 2012-08-11 21:59:00.000000000 -0500
@@ -268,7 +268,7 @@
tde_message_fatal( "dbus-tqt-1 is required, but was not found on your
system" )
endif( )
endif( )
- if( WITH_HAL )
+# if( WITH_HAL )
# check for dbus-tqt
# dbus-tqt need Qt flags
pkg_check_modules( DBUS_TQT REQUIRED dbus-tqt )
@@ -284,6 +284,6 @@
if( NOT HAVE_DBUS_QT3_07 )
tde_message_fatal( "dbus-tqt is required, but was not found on your
system" )
endif( )
- endif( )
+# endif( )
endif( )
=================================================
I considered changing if( WITH_HAL ) to if( WITH_HAL OR WITH_TDEHWLIB ), but I don't
know whether WITH_TDEHWLIB is dependent upon dbus-tqt. I don't know whether dbus-tqt
is required for all builds.
I really don't know what is the best all-around long-term solution for all distros.
Darrell