Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 331405

Summary: Stabilize dev-cpp/cairomm-1.8.6 (Was: dev-cpp/cairomm-1.8.2 installs broken cairommconfig.h, please stabilize a newer version)
Product: Gentoo Linux Reporter: David King <amigadave>
Component: [OLD] LibraryAssignee: GNOME C++ Bindings Maintainers (OBSOLETE) <gnome-mm+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: STABLEREQ
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cairomm.ebuild.diff

Description David King 2010-08-06 09:23:53 UTC
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
Comment 1 David King 2010-08-06 11:53:17 UTC
I forgot to mention that simply renaming the current 1.8.2 ebuild to 1.8.4 seems to work fine for me.
Comment 2 Pacho Ramos gentoo-dev 2010-10-30 19:58:59 UTC
Created attachment 252613 [details]
cairomm.ebuild.diff
Comment 3 Pacho Ramos gentoo-dev 2010-10-30 19:59:31 UTC
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 !
Comment 4 David King 2011-01-22 08:51:44 UTC
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.
Comment 5 Pacho Ramos gentoo-dev 2011-01-26 12:54:00 UTC
It will probably be stabilized with Gnome 2.32 as it will require cairo-1.10 for evince-2.32
Comment 6 Pacho Ramos gentoo-dev 2011-02-13 13:31:06 UTC
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 :-/
Comment 7 Pacho Ramos gentoo-dev 2011-02-13 13:42:08 UTC
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 ***