On Sun, 2006-05-14 at 12:35 -0400, Brian wrote:
I was able to take the .swf export patch on the Sourceforge page and update it so it compiles with the current Inkscape/ming codebase.
Now comes the fun of linking libming in as a static library. Out of the box, ming ships with a make target that builds a static version of the lib.
I added the following entry into src/Makefile.am
noinst_LIBRARIES = \ extension/internal/ming/libming.a \
But this wants to build libming. What do I need to do to simply link the libming lib in statically? Or would it be best to set up a Makefile_insert that builds a custom version of the Ming library?
Well, to just include a library you'll want to add it to one of the linker directives. But, you don't want to include a binary of any type into the codebase. If we're going to include libming, we need to either link to it or have all of the source code in our package.
Binaries create problems for users not using the same distribution/architecture/operating system as the person who put them in. A great example is how many binaries Inkscape already distributes.
--Ted