New version. New ebuild. Printing had to be disabled or make would fail. Reproducible: Always Steps to Reproduce:
Created attachment 8029 [details] sodipodi-0.30.ebuild
i like sodipodi ;)
Yep, me too. To bad printing is broken. Missing source files or broken Makefiles.
(...) checking for popt.h... yes checking X11/Xft/Xft.h usability... no checking X11/Xft/Xft.h presence... no checking for X11/Xft/Xft.h... no configure: error: --with-xft was specified, but appropriate development packages could not be found !!! ERROR: media-gfx/sodipodi-0.30 failed. !!! Function econf, Line 334, Exitcode 1 !!! econf failed This is strange: ls /usr/include/X11/Xft/: Xft.h XftCompat.h
Very strange. The configure script does no magic: AC_CHECK_HEADER(X11/Xft/Xft.h, xft_ok=yes, xft_ok=no) if test "x$xft_ok" != "xyes"; then dnl No xft found etc... So if you really have X11/Xft/Xft.h there is really no reason for it not to work. Make sure you have a symlink from /usr/include/X11 to ../X11R6/include/X11, because that's all I can think of that might screw it up.
Just confirming that this problem was NOT fixed with sodipodi-0.30.1 (but supposedly printing was). The 0.30 ebuild causes the same failure on 0.30.1 with regards to Xft. The symlink is there: /usr/include/X11 --> ../X11R6/include/X11. Dunno if that's very helpful...
Created attachment 8112 [details] sodipodi-0.30.1.ebuild Now with printing enabled and dependencies added. No fix for the Xft problem.
Created attachment 8114 [details] sodipodi.tar.bz2 I made a patch for the configure script. It might work around the problem some people were having with Xft. I modified the configure script to check for xft-config in the path instead of the headers. It seems to work, please test it.
*** Bug 14691 has been marked as a duplicate of this bug. ***
dep on virtual/xft , not xft directly. make love, not war . libgnomeprint(ui) should be behind a gnome use flag imo. Are you sure these are the lowest common denominator deps ? popt should probably 1.5. Does sodipodi still support nls ? Most gtk2 apps don't these days (even if the configure option is there, it may be a remnant of 'better times'). popt and gettext should be DEPEND's most likely, not RDEPEND. just a few notes to improve this thing. keywords should be ~x86 ofcourse :)
Hmm... I always USE="-gnome" but that doesn't mean I don't want to be able to print from sodipodi. I'm not sure what to do about that. You're probably right about the other stuff.
maybe, but ppl wanting just gtk aren't waiting for libgnome* libs.
Created attachment 8190 [details] sodipodi-0.30.1.tar.bz2 Changed gettext to DEPEND istead of RDEPEND, not popt. libpopt.so is used by sodipodi - sounds like a runtime dependency to me. Changed to virtual/xft, removed version from popt. Changed x86 to ~x86. The minimum versions of the other dependencies were taken from configure.in and should be accurate. I did _not_ hide libgnomeprint(ui) behind gnome use flag because I feel that would not be useful in this case.
Would it be possible to have a use-flag combination, like: ( gnome? || printing? ) ( >=gnome-base/libgnomeprint-1.116.0 >=gnome-base/libgnomeprintui-1.116.0 ) or gnome? ( >=gnome-base/libgnomeprint-1.116.0 >=gnome-base/libgnomeprintui-1.116.0 ) printing? ( >=gnome-base/libgnomeprint-1.116.0 >=gnome-base/libgnomeprintui-1.116.0 ) ...or something similar for people like me, who want printing but not gnome.
new version 0.31 is out.
added 0.31 w/o gnome-print for now (cuz it breaks)
since it works w/o restrictions i'll close this bug ..
The new 0.31 ebuild still has the same config problems with Xft as reported in Comment #4
I took have the xft problem. I think it want to use a version of Xft that is newer than the one in portage.
weird .. works here .. which versions do u guys have ?
The problem here with Xft is _not_ finding X11/Xft/Xft.h as happened above, but finding freetype/freetype.h wich is included by Xft.h and lives on /usr/include/freetype2 on my system, i.e., /usr/include/freetype2/freetype/freetype.h to be more precise. Doing CPPFLAGS=-I/usr/include/freetype2 emerge sodipodi does the trick for me.
still relevant with 0.32 in portage ? if not, time to close
got reopened again in the last bugzilla move. closing. YAY ANOTHER POINT, hardware here i come. Or lordvan rather.. *sigh*