Version 1.8.2 of cairomm installs a cairommconfig.h that defines PACKAGE, VERSION and other defines that are created by autoconf. Therefore, any package that compiles against cairomm 1.8.2 and uses autoconf will have these defines redifined and get a warning from the compiler (and probably undesired behaviour). There was a large build system overhaul in cairomm 1.8.4 which fixes the problem: http://cgit.freedesktop.org/cairomm/commit/?id=cbed810a9b06b1ea4a89df4ec448e39ab7280682 Also see the launchpad bump request for more details: https://bugs.launchpad.net/ubuntu/+source/cairomm/+bug/566986
I forgot to mention that simply renaming the current 1.8.2 ebuild to 1.8.4 seems to work fine for me.
Created attachment 252613 [details] cairomm.ebuild.diff
I have tried to bump it but building with tests fail with: checking for boostlib >= 1.33.1... yes checking whether the Boost::Unit_Test_Framework library is available... yes checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... checking Boost::UnitTestFramework library linkage... configure: error: Could not link against boost_unit_test_framework-mgw-s !
I see that Nirbheek added 1.9.8 to the tree, with tests disabled due to the lack of the boost unit testing framework. Updating summary.
It will probably be stabilized with Gnome 2.32 as it will require cairo-1.10 for evince-2.32
Better stabilize soon 1.8.6 as 1.9.x is considered unstable and 1.8.x should still work with cairo-1.10 (as talked on #cairo IRC channel). Not sure how much time wait for a proper testing of 1.8.6 before asking its stabilization :-/
Will stabilize this in bug 353436 (giving us a bit more time for testing just committed 1.8.6 version) *** This bug has been marked as a duplicate of bug 353436 ***