Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203002 - <media-gfx/inkscape-0.46 will fail to build with >=dev-libs/glib-2.15
Summary: <media-gfx/inkscape-0.46 will fail to build with >=dev-libs/glib-2.15
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 213634 218743 (view as bug list)
Depends on:
Blocks: glib-2.16
  Show dependency tree
 
Reported: 2007-12-22 12:35 UTC by Priit Laes (IRC: plaes)
Modified: 2008-04-21 17:33 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
inkscape-glib-2.15.patch (inkscape-glib-2.15.patch,4.26 KB, patch)
2007-12-22 12:36 UTC, Priit Laes (IRC: plaes)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2007-12-22 12:35:38 UTC
Will attach patch..
Comment 1 Priit Laes (IRC: plaes) 2007-12-22 12:36:13 UTC
Created attachment 139097 [details, diff]
inkscape-glib-2.15.patch
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-22 12:38:34 UTC
Reporting this upstream instead would make a lot more sense...
Comment 3 Mart Raudsepp gentoo-dev 2008-03-13 01:04:23 UTC
I'm not sure what upstream to blame here. I'm actually leaning towards glib here. I added a comment to a relevant g_assert bug. The deal here is that g_assert moved to a different header that isn't included in glib/gmessages.h and inkscape is seemingly trying to keep the amount of include files to a minimum (I assume for compile time sake or something) and ends up not seeing the declaration as it's not in gmessages.h anymore.
With such a widely used macro/function as g_assert is, the header move is definitely an annoyance, but not sure if a bug that must be corrected from glib side
Comment 4 Markus Meier gentoo-dev 2008-03-14 18:15:34 UTC
I just bumped inkscape to version 0.46 and I looked through some header files and it looks like they include the pre-2.15 and post 2.15 files - so this could be fixed... could someone with latest inkscape and glib test if it works? Thanks in advance.
Comment 5 Arun Raghavan (RETIRED) gentoo-dev 2008-03-14 19:26:47 UTC
(In reply to comment #4)
> I just bumped inkscape to version 0.46 and I looked through some header files
> and it looks like they include the pre-2.15 and post 2.15 files - so this could
> be fixed... could someone with latest inkscape and glib test if it works?

Works fine with glib-2.16.1 (from the gnome overlay). Thanks!
Comment 6 Markus Meier gentoo-dev 2008-03-16 18:00:28 UTC
Thanks for the test - so this bug can be closed.
Comment 7 Mart Raudsepp gentoo-dev 2008-03-16 23:17:40 UTC
*** Bug 213634 has been marked as a duplicate of this bug. ***
Comment 8 Mart Raudsepp gentoo-dev 2008-03-16 23:32:21 UTC
Do you consider fixing 0.45.* too, or do we need to make sure that inkscape-0.46 gets stabilized before glib-2.16, once we are that far?
Comment 9 Markus Meier gentoo-dev 2008-03-17 05:37:42 UTC
(In reply to comment #8)
> Do you consider fixing 0.45.* too, or do we need to make sure that
> inkscape-0.46 gets stabilized before glib-2.16, once we are that far?

I'd prefer not to patch 0.45* and stabilize 0.46 with/before glib-2.16.
Comment 10 Markus Meier gentoo-dev 2008-04-21 17:32:39 UTC
*** Bug 218743 has been marked as a duplicate of this bug. ***