Notes |
|
(0031153)
|
Guillaume Duhamel
|
2012-10-02 15:53
|
|
Uploaded a new version of the patch as the first one added a useless path (/usr/pkg/include is already search by find_path as /usr/pkg is a system path and include a standard suffix) |
|
|
(0031155)
|
Guillaume Duhamel
|
2012-10-02 18:49
|
|
Uploaded yet another version that applies on the current repository head. |
|
|
(0031156)
|
Philip Lowman
|
2012-10-02 23:52
|
|
Guillaume, thanks for the patch. There was a regression introduced recently in FindGTK2 (8/14/12) by someone trying to improve suffix searching in many CMake modules. This may explain the different changes you had to do -- sorry about that -- I wasn't aware of the regression until this evening.
Please try the attached version and let me know if it works for you and/or if anything can be safely removed or needs to be added. For now I included the 2 lines listed in your latest patch. |
|
|
(0031167)
|
Guillaume Duhamel
|
2012-10-03 15:26
|
|
I updated it a bit again as there was some paths not found:
/usr/pkg/include/glib/glib-2.0/glib.h
This one was previously found by: /usr/pkg/include/glib + ${_d},
but ${_d} is not in the suffixes anymore, so I added it back.
/usr/pkg/lib/gtk-2.0/include
/usr/pkg/lib/glib-2.0/include
I modified /usr/pkg/lib to /usr/pkg as the "lib" part is now
in the suffix. (ie: "lib/${_d}/include").
An alternative would be to keep /usr/pkg/lib in the paths and
add "${_d}/include" in the suffixes. |
|
|
(0031169)
|
Philip Lowman
|
2012-10-04 01:18
|
|
Turns out I was mistaken and the approach that the person who regressed FindGTK2 was taking simply doesn't work at all (although I thought I had it working last night). The code was making an assumption that find_path() would search CMAKE_SYSTEM_PREFIXES and you could tack on "lib" and "include" but it turns out this isn't the case (find_path only searches <prefix>/include for each entry in CMAKE_SYSTEM_PREFIXES.
Anyways, I've basically reverted that work and applied your initial patch along with another fix for Debian. I've merged the latest version (attached) to next.
Really sorry for all the back and forth on this one. |
|
|
(0032477)
|
Robert Maynard
|
2013-03-04 08:38
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|