From *.o compilation to Inkscape.exe
by Yann Papouin
Hi,
In Build.xml there is three main steps:
1. Compiling *.cpp into objects
2. Linking *.o into static libinkscape.a
3. Compiling and Linking "Main" with libinkscape.a
Actually I'm using the IDE Code::Blocks (with the same mingw compiler) to
debug inkscape and I'm able to do the same things that the Build.xml does.
My problem are these three steps, I would like to create Inkscape.exe
without having to create a static library because with the -g parameter
linking in (2) and (3) took so long !!!
So I tried to bypass the "libinkscape.a" creation but it's not working.
Someone already did this before ?
Yann.
13 years, 9 months
removed files from trunk/share/extensions still present after svn update/make/make install
by ~suv
When updating Inkscape to the most recent SVN revision I use:
| svn update
| make
| make install
and then build the application bundle for macosx.
When files are removed from trunk/share, like recently some extensions
(in rev. 22049), those files still exist in
'Build/share/inkscape/extensions' and are not removed when I do 'make'
and 'make install' after 'svn update'.
Do I have to manually clean the Build/share directories when updating
from SVN, or is there a make target that specifically does this instead
of the overall 'make clean'?
The issue has come up before with packages for win32 which included long
gone extension files.
On a side note - the build date (shown in the about screen) also doesn't
update with every make/install/package cycle - though the revision
number is always correct.
tia, ~suv
13 years, 9 months
STL Containers related question...
by Arcadie M. Cracan
Hello all,
I have an issue with STL std::map. Here's a quick description. I have a member
in SPConnectorContext structure that is a map:
std::map<SPKnot* , ConnectionPoint> connpthandles;
Having the following code in a function produces a sigfault:
cc->connpthandles[knot] = it->second;
where cc is a pointer to SPConnectorContext. I have also defined a local
variable
std::map<SPKnot*, ConnectionPoint> cph_clone;
and the following instruction executes all right
cph_clone[knot] = it->second;
It seems that somehow the connpthandles map gets scrambled or improperly
initialized. I don't know why this is so. Any help is welcome.
Regards,
Arcadie
13 years, 9 months
GSoC 2009 - Nearing the end
by Joshua A. Andler
Hey Mentors,
As you are probably aware the "soft" pencil's down date for the students
was yesterday. The more firm date being next Monday, the 17th. They will
technically have up until the 24th to get the finishing touches on
things as far as grading is concerned.
Please talk to your respective students to ensure that you can provide
the best mentoring possible for the time they have left and to see what
the community can do, if anything, to help them succeed.
CCing the devel-list so people know that we're near the end.
Cheers,
Josh
P.S. To the list members... the projects will get merged in when we get
0.47 out the door... so if you're itching for the new features, look at
this as a booster shot to help make 0.47 happen that much sooner. ;)
13 years, 9 months
Build still broken...
by Tavmjong Bah
Still no joy in Mudville. After seeing failures in a variety of
different ways with each new check-in, the build is stuck on box3d.cpp:
box3d.cpp: In function ‘Inkscape::XML::Node* box3d_write(SPObject*, Inkscape::XML::DocumentTree*, Inkscape::XML::Node*, guint)’:
box3d.cpp:281: error: invalid use of incomplete type ‘struct Inkscape::XML::Document’
./xml/xml-forward.h:23: error: forward declaration of ‘struct Inkscape::XML::Document’
box3d.cpp: In function ‘Geom::Matrix box3d_set_transform(SPItem*, const Geom::Matrix&)’:
box3d.cpp:342: error: cannot convert ‘Inkscape::XML::Document*’ to ‘Document*’ for argument ‘1’ to ‘Persp3D* persp3d_create_xml_element(Document*, Persp3D*)’
box3d.cpp: In function ‘SPGroup* box3d_convert_to_group(SPBox3D*)’:
box3d.cpp:1382: error: invalid use of incomplete type ‘struct Inkscape::XML::Document’
./xml/xml-forward.h:23: error: forward declaration of ‘struct Inkscape::XML::Document’
box3d.cpp:1395: error: invalid use of incomplete type ‘struct Inkscape::XML::Document’
./xml/xml-forward.h:23: error: forward declaration of ‘struct Inkscape::XML::Document’
box3d.cpp:1421: error: invalid use of incomplete type ‘struct Inkscape::XML::Document’
./xml/xml-forward.h:23: error: forward declaration of ‘struct Inkscape::XML::Document’
Tav
13 years, 9 months
Measure Path extension and transform attribute
by Nicolas Dufour
Hi,
I'm trying to fix bug #308183 (Measure Path text shifted when used with a copied object, https://bugs.launchpad.net/inkscape/+bug/308183), related to measure.py extension:
"Some objects (stars, spirals, circles, but NOT rectangles and
freehands) have a transform attribute (translate) when copied. When
using Visualize Path>Measure Path, the text gets this attribute,
which is thus applied twice (one on the object and one on the text).
That's the reason why the text appears shifted on the canvas."
Does someone know why this transform attribute is copied from the original shape to the generated text? Removing it in measure.py resolves the bug and doesn't seem to break something else (the text is linked to the object with xlink:href). But it's in the code from the beginning...
Thanks!
--
Nicolas
13 years, 9 months
inkscape is getting good but heavy and slow
by solaris manzur
hello folks, inkscape is getting slower more and more, the same in windows,
please be carefull with this, i do not want to have another windows vista
case, please play attention to my word, i just want free software to be the
best around the world
thanks for listening
13 years, 9 months
Adobe Illustrator Export
by Tavmjong Bah
Hi,
Unless anybody objects, I am going to remove AI export support from
Inkscape. At the moment it doesn't work in SVN. I have a fix but:
1. The quality of the export is poor.
2. It only supports up to Adobe Illustrator 8.0 (released in 1998).
3. Versions of Illustrator from 10.0 (2001) support direct import of
SVG.
Tav
13 years, 9 months
EPSI Export
by Tavmjong Bah
Hi,
Would anybody object to removing EPSI support? It does not work in SVN.
It probably would not be hard to fix. 0.46 uses the program ps2epsi to
do the conversion. However, with programs like OpenOffice directly using
the vector PostScript code, I am not sure how useful it is to have the
bitmap preview. One can always use ps2epsi by hand.
Tav
13 years, 9 months