Comment 0 for bug 901599

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

The Inkscape-trunk PPA package fails to build with glib-2.31 in Ubuntu Precise. It seems that the G_DIR_SEPARATOR and g_get_current_dir symbols were removed from glib in this version. I haven't yet found any documentation for the change.

dir-util.cpp: In function 'std::string sp_relative_path_from_path(const string&, const string&)':
dir-util.cpp:21:42: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp:27:36: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp: In function 'const char* sp_extension_from_path(const char*)':
dir-util.cpp:54:31: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp: At global scope:
dir-util.cpp:63:39: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp: In function 'char* inkscape_rel2abs(const char*, const char*, char*, size_t)':
dir-util.cpp:74:16: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp:95:18: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp:100:22: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp:111:20: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp:119:33: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp:129:33: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp:141:27: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp: In function 'char* inkscape_abs2rel(const char*, const char*, char*, size_t)':
dir-util.cpp:160:18: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp:177:20: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp:179:33: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp:191:32: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp:196:20: error: 'G_DIR_SEPARATOR' was not declared in this scope
dir-util.cpp: In function 'gchar* prepend_current_dir_if_relative(const gchar*)':
dir-util.cpp:230:33: error: 'g_get_current_dir' was not declared in this scope