Build error with gtk3 enabled

Bug #1569039 reported by Stefan Husmann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Alex Henrie
0.92.x
Won't Fix
Undecided
Unassigned

Bug Description

Under Arch Linux 64 bit the gtk branch does not build anymore since a few days, probably due to the update to gtk 3.20.2.

Tags: build gtk3

Related branches

Revision history for this message
Stefan Husmann (stefan-husmann) wrote :
su_v (suv-lp)
tags: added: build gtk3
Revision history for this message
Colin Keenan (colinkeenan) wrote :

Also on Arch Linux, my buildlog looked the same until I installed glib. Even with glib, it still fails though.

Revision history for this message
Stefan Husmann (stefan-husmann) wrote :

On Arch Linux, there was an distro-wide update to gtk3 3.20.3. Now I get the same errorlog as Colin Keenan.

Revision history for this message
Stefan Husmann (stefan-husmann) wrote :

See https://developer.gnome.org/gtkmm/stable/deprecated.html, especially

Member Gdk::Display::get_device_manager () const
    Use get_default_seat() and Gdk::Seat operations.
Member Gdk::Display::get_device_manager ()
   Use get_default_seat() and Gdk::Seat operations.

Revision history for this message
Alex Henrie (alexhenrie24) wrote :

This was not a problem for me on Arch Linux until https://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15042

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

This is caused by the introduction of the Gdk::Seat API in Gtkmm 3.20.

Changed in inkscape:
status: New → Triaged
importance: Undecided → High
milestone: none → 0.92
tags: added: blocker
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Should be fixed in Inkscape 0.92 with the workaround in:

lp:inkscape/0.92.x r15030

Note that Autotools support is now disabled in lp:inkscape, and the CMake build allows the use of deprecated symbols. Hopefully, this should have fixed the problem.

As a better solution, we need to add a conditional build so that systems with Gtkmm >= 3.20 use the new Gdk::Seat API.

Eventually, the issue will disappear when we bump this to a hard dependency.

Changed in inkscape:
status: Triaged → Fix Committed
assignee: nobody → Alex Valavanis (valavanisalex)
Revision history for this message
su_v (suv-lp) wrote :

@Alex - JFYI, the commit was not pushed to the public branch.

Revision history for this message
Stefan Husmann (stefan-husmann) wrote :

Is the fix also in lp:inkscape?

Revision history for this message
su_v (suv-lp) wrote :

Reopening per comment #8 (commit for the stable release lp:inkscape/0.92.x branch not publicly available).

Changed in inkscape:
status: Fix Committed → In Progress
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

A proper fix was merged into trunk at r15049 (Thanks, Alex Henrie).

Changing status to Fix Committed + backport proposed

Changed in inkscape:
assignee: Alex Valavanis (valavanisalex) → Alex Henrie (alexhenrie24)
assignee: Alex Henrie (alexhenrie24) → Alex Valavanis (valavanisalex)
status: In Progress → Fix Committed
tags: added: backport-proposed
Changed in inkscape:
milestone: 0.92 → 0.93
assignee: Alex Valavanis (valavanisalex) → Alex Henrie (alexhenrie24)
Revision history for this message
Martin Owens (doctormo) wrote :

Gtk3 can't block 0.92 since it's gtk2 and probably shouldn't be back ported either.

tags: removed: backport-proposed
tags: removed: blocker
Changed in inkscape:
status: Fix Committed → Fix Released
Revision history for this message
Stefan Husmann (stefan-husmann) wrote :

I accidentely changed the status to "Dix released", but the fix is not released yet.

jazzynico (jazzynico)
Changed in inkscape:
status: Fix Released → Fix Committed
Revision history for this message
Stefan Husmann (stefan-husmann) wrote :

Same error here.

Max Gaukler (mgmax)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.