Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587460 - media-gfx/inkscape-0.91-r2 - ‘ScopedPtr’ is not a member of ‘Glib’
Summary: media-gfx/inkscape-0.91-r2 - ‘ScopedPtr’ is not a member of ‘Glib’
Status: RESOLVED DUPLICATE of bug 587098
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-06-29 06:12 UTC by Martin von Gagern
Modified: 2016-06-29 15:28 UTC (History)
5 users (show)

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


Attachments
patch for the ScopedPtr bug (ScopedPtr.patch,469 bytes, patch)
2016-06-29 15:23 UTC, email200202
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2016-06-29 06:12:04 UTC
I'm encountering a compile error updating inkscape from 0.91-r1 to -r2:

ui/clipboard.cpp: In member function ‘void Inkscape::UI::ClipboardManagerImpl::_inkscape_wait_for_targets(std::__cxx11::list<Glib::ustring>&)’:
ui/clipboard.cpp:1405:22: error: ‘ScopedPtr’ is not a member of ‘Glib’
             target = Glib::ScopedPtr<char>(atom_name).get(); //This frees the g
                      ^
ui/clipboard.cpp:1405:38: error: expected primary-expression before ‘char’
             target = Glib::ScopedPtr<char>(atom_name).get(); //This frees the g
                                      ^

I've got dev-libs/glib-2.48.1 installed.
Comment 1 Franz Trischberger 2016-06-29 07:44:43 UTC
Related upstream commit:

http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14766/src/ui/clipboard.cpp
Comment 2 Daniel Maxime 2016-06-29 08:12:22 UTC
Duplicate of #587098
https://bugs.gentoo.org/show_bug.cgi?id=587098
Comment 3 Jonas Stein gentoo-dev 2016-06-29 15:20:49 UTC

*** This bug has been marked as a duplicate of bug 587098 ***
Comment 4 email200202 2016-06-29 15:23:37 UTC
Created attachment 439166 [details, diff]
patch for the ScopedPtr bug

This patch worked for me.