| Summary: | When building tdenetwork cmake does not check for libv4l-dev | ||
|---|---|---|---|
| Product: | TDE | Reporter: | deloptes |
| Component: | tdenetwork | Assignee: | Slávek Banko <slavek.banko> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, deloptes, slavek.banko |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2696 | ||
| Attachments: | Better videodev header check | ||
|
Description
deloptes
2016-11-11 16:11:17 CST
Now I look and I see the test for linux/videodev.h is located in kopete/ConfigureChecks.cmake. It seems that the test is properly performed. It is possible that is not properly tested definition HAVE_LINUX_VIDEODEV_H somewhere in code? in tdenetwork/kopete/plugins/motionautoaway/motionawayplugin.cpp #ifdef HAVE_LIBV4L1_VIDEODEV_H #include <libv4l1-videodev.h> #else #include <linux/videodev.h> #endif Ok, thank you. It may be better to write the test, just as it is now in Tellico: http://mirror.git.trinitydesktop.org/cgit/tellico/tree/ConfigureChecks.cmake#n185 What do you think? Yes it looks like it would do the work. I am really not a cmake expert, but from what I see it is ok. If it is not possible to share the same check/file, I would add a comment in both files to remember changing the other as well if necessary at some point of time in the future. regards Created attachment 2741 [details]
Better videodev header check
Please verify the improved videodev header check.
Yes this works now CMake Error at cmake/modules/TDEMacros.cmake:24 (message): ################################################# libv4l1-videodev.h or linux/videodev.h is required, but not found on your system ################################################# Call Stack (most recent call first): kopete/ConfigureChecks.cmake:33 (tde_message_fatal) kopete/CMakeLists.txt:16 (include) Thank you for test. Pushed to GIT in hash c7ed96db (master) and 56484e2a (r14.0.x). |