Tarball available, renaming the inkscape-0.40.ebuild works fine for me. (-r1 path no longer needed, I think) -Sud. Reproducible: Always Steps to Reproduce: 1. 2. 3.
It needs boehm-gc-6.4. See attached .ebuild
Created attachment 50965 [details] An ebuild for version .41 This updates for the requirement of boehm-6.4
Thank you, Mr. Bonser - already had that version of boehm-gc installed, so I didn't notice anything. While on the subject, what happened to the check for the c++ flag in the last round? Did it prove unnecessary? -Sud.
Hmm, actually, it won't build on my system still (unless I set USE=-gnome), even with boehm-6.4. There seems to be a problem with it using gnome-print. The bug is also noted on the sourceforge page for inkscape: https://sourceforge.net/tracker/index.php?func=detail&aid=1120421&group_id=93438&atid=604306 good thing I don't need to print from it, eh?
We switched to use of the C version of boehm-gc to eliminate the need to compile with C++.
I see that the bug is fixed in CVS, is there a patch for 0.41 release?
Created attachment 51466 [details, diff] gnome-print patch Here's a patch for the gnome-print compile problem (created use gnome.cpp 1.18 from cvs). Works for me - doesn't look like it would cause any issues anyway. Seems that some of the extensions need additional external programs, I added to RDEPEND: >=media-gfx/pstoedit-3.33 >=media-gfx/skencil-0.6.16 Maybe this should be optional in some way. ( There are also some interesting configure options: --with-gnome-print use gnome print font database and spooler frontend --without-inkjar disable openoffice files (SVG jars) --with-perl use Perl for embedded scripting --with-python use Python for embedded scripting that could maybe also be use'd) Can I also make a plea for using bz2's instead of gz's whenever they are available.
Created attachment 51557 [details] ebuild with patch and use flag update I hope this isn't bad gentoo etiquette (attaching an ebuild to someone else's bug), but since I was interested in getting the latest inkscape I created a new ebuild based on the patch and perl and python use flag requests mentioned in this bug. It is working on my machine, but an ebuild expert ought to peruse it. Inkscape will display a dialog warning at launch if Dia and wmf2svg have not been installed. The dialog isn't clear about what happened, you have to find an error log. However nothing is actually wrong with inkscape and it starts OK. I guess these could be use flags also, but I have not incorporated them.
wmf2svg is in media-libs/libwmf
looks like one could also add a "bonobo" use flag what does --with-popt in the ebuild do? can't find anything to explain it
Created attachment 52053 [details] proposed updated 0.41 ebuild with added use flags working from the earlier attached ebuild added use flags: bonobo inkjar removed --with-popt as it seems to have been dropped as a configure option added glibmm depend as it's listed on the inkscape developer page
I'll take a closer look at this one today.
Works smoothly for me, thanks for this one.
Should the >=media-gfx/pstoedit-3.33 >=media-gfx/skencil-0.6.16 really be required? They *are* optional extensions. Perhaps a patch in the warning dialogue would be better- which packages to emerge. -Sud.
I'm having this error: extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1c29): In function `boot_inkscape_perl': : undefined reference to `Perl_Gthr_key_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1c9b): In function `boot_inkscape_perl': : undefined reference to `Perl_Gthr_key_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1cd4): In function `boot_inkscape_perl': : undefined reference to `Perl_Gthr_key_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1d0c): more undefined references to `Perl_Gthr_key_ptr' follow extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1de7): In function `boot_inkscape_perl': : undefined reference to `Perl_Isv_yes_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1df1): In function `boot_inkscape_perl': : undefined reference to `Perl_Gthr_key_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1e00): In function `boot_inkscape_perl': : undefined reference to `Perl_Tstack_base_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1e13): In function `boot_inkscape_perl': : undefined reference to `Perl_Gthr_key_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1e22): In function `boot_inkscape_perl': : undefined reference to `Perl_Tstack_sp_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1e2c): In function `boot_inkscape_perl': : undefined reference to `Perl_Gthr_key_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1e3b): In function `boot_inkscape_perl': : undefined reference to `Perl_Tstack_base_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1e5f): In function `boot_inkscape_perl': : undefined reference to `Perl_Gthr_key_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1e92): In function `boot_inkscape_perl': : undefined reference to `Perl_Gthr_key_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x1eb5): In function `boot_inkscape_perl': : undefined reference to `Perl_Gthr_key_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x2055): In function `boot_inkscape_perl': : undefined reference to `Perl_Gthr_key_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x20be): In function `boot_inkscape_perl': : undefined reference to `Perl_Gthr_key_ptr' extension/script/libscript.a(extension_script_libscript_a-inkscape_perl_wrap.o)(.text+0x210f): more undefined references to `Perl_Gthr_key_ptr' follow collect2: ld returned 1 exit status make[2]: *** [inkview] Error 1 make[2]: Leaving directory `/var/tmp/portage/inkscape-0.41/work/inkscape-0.41/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/inkscape-0.41/work/inkscape-0.41' make: *** [all] Error 2
The latest ebuild here works for me on ~x86. I agree there should be some einfo messages about libwmf, etc.
Nevermind, now compiles fine :) Only i'm getting this in the error log: Extension "Windows Metafile Input" failed to load because a dependency was not met. Dependency:: type: executable location: path string: wmf2svg Extension "Dia Input" failed to load because a dependency was not met. Dependency:: type: executable location: path string: dia description: In order to import Dia files, Dia itself must be installed. You can get Dia at http://somesite.com The ebuild should contain some einfo about what packages are needed (btw, what packages are needed? XD)
Created attachment 54084 [details] inkscape-0.41.ebuild (with 'plugin' USE flag) Adds in a new local USE flag, 'plugin', for all the optional dependancies. Also gives a message at the end of apropriate packages.
Bumped in portage, thanks for help.