Mike Hearn wrote:
On Fri, 22 Jul 2005 20:28:44 +0200, estebane-EyLBDkQZtJX+PQtEYt2ulA wrote:
posted a bug in the bug tracker few hours ago and it seems that there has been confusion with the post of Lucas Vieites. We are not the same person, but we have (almost) the same bug ! And the same system (Mandriva LE 2005)...
The binary is dynamically linked to the GTKmm libraries, which is different to how I used to do it.
Aaron, are you using the same specfile I gave you? Could you post it here? The *MM libraries really do need to be statically linked (including libsigc++).
Sure I can post it here. I may have screwed something up but I was pretty sure I only adjusted it to remove the paths that were specific to your system. For the sake of completeness, I have pasted below both the specfile I am using to build and the specfile you originally sent me in that order.
Aaron Spike
# autopackage specfile, (C) 2004 Mike Hearn <mike@...333...>
[Meta] RootName: @inkscape.org/inkscape:$SOFTWAREVERSION ShortName: inkscape DisplayName: Inkscape Vector Graphics Editor Summary: Inkscape is an open source SVG editor with capabilities similar to Illustrator, CorelDraw and Visio SoftwareVersion: @VERSION@ Maintainer: The Inkscape team inkscape-devel@lists.sourceforge.net Packager: Aaron Spike <aaron@...749...> AutopackageTarget: 1.0
[Description] Inkscape is an open source SVG editor with capabilities similar to Illustrator, CorelDraw, Visio, etc. Supported SVG features include basic shapes, paths, text, alpha blending, transforms, gradients, node editing, svg-to-png export, grouping, and more.
[BuildPrepare] if [ ! -x configure ]; then ./autogen.sh fi export APBUILD_STATIC="popt gc gccpp" prepareBuild --enable-binreloc --with-gnome-vfs=no
[BuildUnprepare] unprepareBuild
[Imports] echo '*' | import # import everything
[Prepare] require @gnu.org/libstdc++ 3 require @xmlsoft.org/libxml2 2.6 require @xmlsoft.org/libxslt 1.0 require @gtk.org/gtk 2.4 # statically linked for now: require @rpm.org/popt 0.0 # statically linked: require @libsigc.sourceforge.net/libsigc 3 require @libpng.org/libpng 3 # statically linked: require @gtkmm.org/gtkmm2 3 require @zlib.org/zlib 1 # require @xfree86.org/xft 2 # require @freetype.org/freetype 6 # require @freedesktop.org/fontconfig 1
[Install] installExe bin/inkscape bin/inkview installMan 1 man/man1/* installIcon share/pixmaps/inkscape.png installDesktop "Graphics" share/applications/inkscape.desktop
copyFiles --nobackup share/locale $PREFIX/share copyFiles share/inkscape $PREFIX/share # copyFiles lib/inkscape $PREFIX/lib
[Uninstall] uninstallFromLog
==============================================================
# autopackage specfile, (C) 2004 Mike Hearn <mike@...333...>
[Meta] RootName: @inkscape.org/inkscape:$SOFTWAREVERSION ShortName: inkscape DisplayName: Inkscape Vector Graphics Editor Summary: Inkscape is an open source SVG editor with capabilities similar to Illustrator, CorelDraw and Visio SoftwareVersion: @VERSION@ Maintainer: The Inkscape team inkscape-devel@lists.sourceforge.net Packager: Mike Hearn <mike@...333...> AutopackageTarget: 1.0
[Description] Inkscape is an open source SVG editor with capabilities similar to Illustrator, CorelDraw, Visio, etc. Supported SVG features include basic shapes, paths, text, alpha blending, transforms, gradients, node editing, svg-to-png export, grouping, and more.
[BuildPrepare] if [ ! -x configure ]; then ./autogen.sh fi export APBUILD_STATIC="popt=$source_dir/autopackage/libpopt.a gc gccpp" export LDFLAGS="-L/home/mike/static/lib" export PKG_CONFIG_PATH=/home/mike/static/lib/pkgconfig prepareBuild --enable-binreloc --with-gnome-vfs=no
[BuildUnprepare] unprepareBuild
[Imports] echo '*' | import # import everything
[Prepare] require @gnu.org/libstdc++ 3 require @xmlsoft.org/libxml2 2.6 require @xmlsoft.org/libxslt 1.0 require @gtk.org/gtk 2.4 # statically linked for now: require @rpm.org/popt 0.0 # statically linked: require @libsigc.sourceforge.net/libsigc 3 require @libpng.org/libpng 3 # statically linked: require @gtkmm.org/gtkmm2 3 require @zlib.org/zlib 1 # require @xfree86.org/xft 2 # require @freetype.org/freetype 6 # require @freedesktop.org/fontconfig 1
[Install] installExe bin/inkscape bin/inkview installMan 1 man/man1/* installIcon share/pixmaps/inkscape.png installDesktop "Graphics" share/applications/inkscape.desktop
copyFiles --nobackup share/locale $PREFIX/share copyFiles share/inkscape $PREFIX/share # copyFiles lib/inkscape $PREFIX/lib
[Uninstall] uninstallFromLog