id summary reporter owner description type status priority milestone component version severity resolution keywords cc mlocked 10366 libcec configuration detection code mismatched with source code mythtv@… beirdo "The detection code contained within the `mythtv/configure` script is mismatched to the implementation code contained within `mythtv/libs/libmythui/cecadapter.cpp`. The `mythtv/configure` script checks for header files within a `libcec` subdirectory: `#include ` yet `mythtv/libs/libmythui/cecadapter.cpp` contains: `#include “cec.h”` the `mythtv/configure` script also checks for the deprecated `LoadLibCec()` function, which has been removed from libcec version 1.5 whereas `mythtv/libs/libmythui/cecadapter.cpp` has already been switched to use the new `LibCecInit()` function. The attached patch homogenises all of the include paths, settling on the: `#include ` format. Whilst I consider this approach to be the best one it is worth noting that it requires correct `#include` statements within the libcec headers, which were only introduced in version 1.5, and therefore the minimum required version has been increased accordingly. The patch also removes the unnecessary `cecc.h` C API header from `mythtv/libs/libmythui/cecadapter.cpp` as being a C++ source file the `cec.h` C++ API is the correct and only required header." Patch - Bug Fix closed minor 0.25 MythTV - configure script Unspecified medium fixed libcec 0