Inkscape: A Vector Drawing Tool

How OCAL search is implemented

Asked by Jakub Jankiewicz on 2012-07-14

I'm new to Inkscape and dind't read the source, How Open Clipart Search is implemented? Is it extension or writen as part of Inkscape Core? Do I need to recompile Inskcape if I want to change something in this function? Where can I found it?

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
~suv
Solved:
2012-07-14
Last query:
2012-07-14
Last reply:
2012-07-14
Best ~suv (suv-lp) said : #1

Importing from Open Clipart is internal to Inkscape, coded in C++. For any changes to take effect, you need to recompile Inkscape.

Note: in the current development branch (heading towards 0.49), this dialog has been rewritten:
<https://bugs.launchpad.net/inkscape/+bug/734417>

You can view the source files via web interface to the bazaar repository, or checkout the source as described here:
<http://inkscape.org/bzr.php?lang=en>

The current source code for the dialog itself can be viewed via web interface here:
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/ui/dialog/ocaldialogs.h>
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/ui/dialog/ocaldialogs.cpp>
(Note: I don't know if these two files include everything ocal there is in Inkscape's code base (unlikely) - you would have to dig into that yourself.)

Current state in trunk: the new 'Import Clipart…' dialog works ok on Linux and AFAIK also on Windows, but not at all on OS X.
See also <https://bugs.launchpad.net/inkscape/+bug/943275> which tracks latest reported issues with the new version in trunk.

Jakub Jankiewicz (jcubic) said : #2

Thanks ~suv, that solved my question.