« StatCVS and StatSVN

Fixing automagic dependencies with cmake

11/05/08

Permalink 07:13:14 pm, by Serkan KABA Email , 168 words   English (US)
Categories: Gentoo

Fixing automagic dependencies with cmake

file-browser-applet in tree introduced support for Super-H hotkey for menu activation via gtkhotkey library in 0.5.8. The dependency was optional:crazy: but automagic and the build system of the package is cmake. After examining Diego's documentation for general information and personally getting help from him, I researched for how to fix the issue for cmake. You can see the bug report and my initial patch for the package. After releasing 2 more versions following 0.5.8 a modified version of my patch is committed. The upstream patch still prints out an ugly not found error even if file-browser-applet is compiled with -gtkhotkey. But I bumped and added the upstream patch to portage.

What I learned from this is cmake has an interesting if-then-else syntax that you need to include the control variable near each keyword. What I need to do afterwards is to extend Diego's documentation with a paragraph about cmake.

Edit: I added prelimenary CMake section to Diego's documentation. Please extend it with different possibilities which CMake may cause automagic dependencies.

Trackback address for this post

Trackback URL (right click and copy shortcut/link location)

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
November 2009
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

Search

XML Feeds

multiple blogs