Hi,
On Ubuntu Precise I'm getting the following when trying to compile, I don't hit it in either trunk or the 0.48.x branch... also, bzr status shows everything as being kosher.
CXX dir-util.o 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 make[3]: *** [dir-util.o] Error 1
Cheers, Josh
On Wed, Jan 11, 2012 at 5:16 AM, Tavmjong Bah <tavmjong@...8...> wrote:
Hi,
I just checked in a new version of my mesh branch. There was some major restructuring to use a simple array of nodes for the internal representation rather than the complicated side and corner classes I had before. This was motivated by adding support for tensor meshes which naturally calls for an array. Tensor meshes were added as an experiment to see if they would help in smoothing color transitions across patch boundaries (they don't seem to help very much) and are not envisioned to be part of the SVG specification for meshes.
New/newish features:
Corner operations:
Ctrl-B: Toggle selected patch sides between linear and curve. (Select both corner nodes of side to select side.)
Ctrl-C: Attempt to convert selected sides into elliptical arcs by changing the length of the Bezier handles.
Ctrl-G: Toggle on/off tensor points for selected patches. (Select all four corner nodes of a patch to select patch.)
Ctrl-J: Attempt to smooth color transition around a corner by changing length of Bezier handles. This needs lots of work to make it truly useful.
Ctrl-K: Sample colors underneath mesh at corner nodes. For nodes at edge of mesh, move sample point inside mesh.
Older features:
- Create a simple one patch square mesh the size of an objects bounding
box. (Select the third button on the Gradient Tool-Tool Bar and then click-drag on object. You won't see a change as the default mesh has all four corner colors set to the former object color. Click on object again to see mesh handles.)
Drag corner nodes (diamonds).
Change color of corner nodes.
Drag handles (circles). There is no indication of what handle belongs
with which corner node or path so it can be confusing. And all handles are shown. (Should be able to toggle on/off handle visibility.)
- Divide a row or column of patches into two rows or columns. (Double
click on the lines connecting corner nodes. Double clicking elsewhere may lead to a crash.) The row/column will be split at the place you click.
- Save the mesh. The mesh is saved in the proposed SVG standard format
(likely to change).
- Read in saved meshes.
Bugs:
- Frequent crashes.
- Changing node color isn't saved until a node is moved.
- Linear patch sides are shown as non-linear when corner node moved.
- Selected nodes become unselected when any of the corner operations are
done.
- etc.
Note, a trunk version of the Cairo rendering library is needed.
My branch can be found at:
https://code.launchpad.net/~tavmjong-free/inkscape/mesh
Tav
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel