r11646: build failure with dbus enabled

Bug #1045117 reported by su_v
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

Build failure of current trunk (r11646) if configured with '--enable-dbusapi':
'src/extension/dbus/document-interface.cpp' fails to compile:

  CXX extension/dbus/document-interface.o
../../src/extension/dbus/document-interface.cpp: In function ‘gchar* document_interface_document_get_css(DocumentInterface*, GError**)’:
../../src/extension/dbus/document-interface.cpp:587: error: ‘glib’ has not been declared
../../src/extension/dbus/document-interface.cpp:587: error: expected `;' before ‘str’
../../src/extension/dbus/document-interface.cpp:588: error: ‘str’ was not declared in this scope
../../src/xml/repr.h: In function ‘gboolean document_interface_modify_css(DocumentInterface*, gchar*, gchar*, gchar*, GError**)’:
../../src/xml/repr.h:82: error: too few arguments to function ‘void sp_repr_css_write_string(SPCSSAttr*, Glib::ustring&)’
../../src/extension/dbus/document-interface.cpp:810: error: at this point in file
../../src/xml/repr.h: In function ‘gboolean document_interface_merge_css(DocumentInterface*, gchar*, gchar*, GError**)’:
../../src/xml/repr.h:82: error: too few arguments to function ‘void sp_repr_css_write_string(SPCSSAttr*, Glib::ustring&)’
../../src/extension/dbus/document-interface.cpp:833: error: at this point in file
make[3]: *** [extension/dbus/document-interface.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

System: OS X 10.7.4
Compiler: Apple's llvm-gcc-4.2

Tags: build dbusapi
su_v (suv-lp)
description: updated
Revision history for this message
Kris (kris-degussem) wrote :

Sorry forgot to change some more things in src/extension/dbus/document-interface.cpp (not detected as dbus was not enabled). Reverted my changes in rev 11646 as there were some more issues.

Revision history for this message
jazzynico (jazzynico) wrote :

Reverted in the trunk, revision 11649.

Changed in inkscape:
status: New → Fix Released
Revision history for this message
su_v (suv-lp) wrote :

Kris wrote:
> Reverted my changes in rev 11646 as there were some more issues.

Other things I noticed with r11646:
- imported files were locked and could not be unlocked
- after locking a layer, it was no longer possibly to unlock it again
- the attribute 'sodipodi:insensitive' could not be removed via XML Editor either

su_v (suv-lp)
tags: added: dbusapi
removed: dbus
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.