Build against external libcroco?

Asked by Alex Valavanis

For Debian/Ubuntu packaging purposes, it would be preferable for us to build against an external (clean) version of libcroco rather than using the one currently in the Inkscape source-tree. A while ago, someone asked at the Debian bugtracker about this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427946

At the time, it seems that a patched version of libcroco-0.6 was included in the source tree of inkscape-0.45, and that Inkscape could not be built with the upstream version of libcroco. Since then, a lot of changes have been made in Inkscape (including the removal of src/libcroco/README) and there is a new upstream version (0.6.2) of libcroco. Please could someone update us on the situation? Specifically:

* Which version of libcroco is included with Inkscape 0.47/0.48?
* Have any changes been made to the bundled library?
* Can Inkscape be built successfully using a clean external libcroco?

Thanks,

Alex

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Valavanis
Solved:
Last query:
Last reply:
Revision history for this message
su_v (suv-lp) said :
#1

Maybe discussing this issue on the 'inkscape-devel' mailing list would better suited than the 'Answers' section - most developers read the mailing list, but I don't know how many actively monitor new questions in this section of Launchpad.

Revision history for this message
su_v (suv-lp) said :
#2
Revision history for this message
Alex Valavanis (valavanisalex) said :
#3

Thanks. Email sent to mailing list. I'll post any helpful answers here

Revision history for this message
Alex Valavanis (valavanisalex) said :
#4

Received from Krzysztof Kosiński at inkscape-devel:

> * Which version of libcroco is included with Inkscape 0.47/0.48?
It was derived from some 0.6.x.

> * Have any changes been made to the bundled library?
Yes, there is a generic selection engine added that allows us to use
libcroco with our custom XML nodes. We cannot migrate to libxml2
because we are making heavy use of XML tree change notifications, a
feature that is not present in libxml2. We could use upstream libcroco
if this bug was fixed:
https://bugzilla.gnome.org/show_bug.cgi?id=572454

> * Can Inkscape be built successfully using a clean external libcroco?
No.

Regards, Krzysztof