Here is ebuild and patches. It add such functionality: 1)abbility compile with or without gnome libraries(add gnome in use list) 2)fix dictd2dic utility (it create corrupted stardict dictionaries) 3)fix supposition that sizeof(glong) the same on all platforms(it help it run without problems on amd64) 4)add some features Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 54223 [details] stardict-2.4.4-r1.ebuild"
Created attachment 54224 [details, diff] dictd2dic_worcound_err_fix.patch
Created attachment 54225 [details, diff] config.patch
Created attachment 54226 [details, diff] portable_functions.patch
Created attachment 54227 [details, diff] lib-fix.patch
Created attachment 54228 [details, diff] gtk-only.patch
I failed to emerge this package: $ emerge stardict-2.4.4-r1.ebuild emerging by path implies --oneshot... adding --oneshot to options. *** emerging by path is broken and may not always work!!! These are the packages that I would merge, in order: Calculating dependencies *** You are emerging a masked package. It is MUCH better to use *** /etc/portage/package.* to accomplish this. See portage(5) man *** page for details. >>> Waiting 10 seconds before starting... >>> (Control-C to abort)... Continuing... in: 10 9 8 7 6 5 4 3 2 1 ...done! [ebuild N ] app-dicts/stardict-2.4.4-r1 Do you want me to merge these packages? [Yes/No] y >>> emerge (1 of 1) app-dicts/stardict-2.4.4-r1 to / >>> md5 src_uri ;-) stardict-2.4.4.tar.bz2 >>> Unpacking source... >>> Unpacking stardict-2.4.4.tar.bz2 to /var/tmp/portage/stardict-2.4.4-r1/work * Fixing OMF Makefile: omf.make * Applying dictd2dic_worcound_err_fix.patch ... [ ok ] * Applying config.patch ... [ ok ] * Applying portable_functions.patch ... [ ok ] * Applying lib-fix.patch ... [ ok ] * Applying gtk-only.patch ... [ ok ] /usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/share/aclocal/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA /usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of AC_PATH_DPS_GUESS_GNUSTEP /usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of AC_PATH_DPS_GUESS /usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of AC_PATH_DPS_CHECK_LIB /usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of AC_PATH_DPS_CHECK_HEADER /usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of AC_PATH_DPS_CHECK /usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of AC_PATH_DPS /usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of AC_CHECK_DPS_NXAGENT /usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of AC_PATH_DPSET /usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of AC_PROG_PSWRAP /usr/share/aclocal/paragui.m4:12: warning: underquoted definition of AM_PATH_PARAGUI /usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG /usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD /usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART /usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF /usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2 /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT aclocal:configure.in:55: warning: macro `AM_GCONF_SOURCE_2' not found in library configure.in:55: error: possibly undefined macro: AM_GCONF_SOURCE_2 If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf-2.59: /usr/bin/autoconf-2.59 failed with exit status: 1 !!! ERROR: app-dicts/stardict-2.4.4-r1 failed. !!! Function src_unpack, Line 41, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
>configure.in:55: error: possibly undefined macro: AM_GCONF_SOURCE_2 > If this token and others are legitimate, please use m4_pattern_allow. this is because of you have no gconf-2.m4 which is a part of gnome-base/gconf, if you not want install gnome-base/gconf you need make respective changes in configure.in
Created attachment 57739 [details] stardict-2.4.4-r1.ebuild Fixed gconf problem.
*** Bug 102824 has been marked as a duplicate of this bug. ***
*** Bug 106341 has been marked as a duplicate of this bug. ***
(In reply to comment #10) > *** Bug 102824 has been marked as a duplicate of this bug. *** (In reply to comment #3) of bug 102824 > Please, don't open new version bump bugs if the previous one is still pending. > Thanks. > > *** This bug has been marked as a duplicate of 86379 *** Hmm, I don't really get it. Bug 102824 is about a version bump of this package and it solves mostly what *this* bug is about. Namely 1) version 2.4.5 allows to compile without gnome (just pass --disable-gnome-support, which can easily be done with $(use_enable gnome gnome-support) ) 2) I know nothing about problems with dictd2dic, but that shouldn't be a blocker 3) 2.4.5 runs *perfectly* on amd64, which I couldn't say for 2.4.4. Why patch the old version? So why is it that this bug blocks 2.4.5, when 2.4.5 actually solves this bug?
Just to add the the 2.4.4 ebuild (the one in portage) works fine after renaming it to 2.4.5 and solves the problems mentioned here.
>Why patch the old version? >1) version 2.4.5 allows to compile without gnome (just pass <--disable-gnome-support, which can easily be done with $(use_enable gnome >gnome-support) ) >2) I know nothing about problems with dictd2dic, but that shouldn't be a blocker >3) The patches, that you can find in this bug, were included in 2.4.5 version of stardict, so there is no big difference between stardict-2.4.4 plus these patches and 2.4.5. ebuild from this bug and http://bugs.gentoo.org/show_bug.cgi?id=102824 almost the same. But ebuild from http://bugs.gentoo.org/show_bug.cgi?id=102824 add "segfault fix" and some translation updates. >Why patch the old version? Actully it is not important fix old version or accept new, because as can I see(age of this bug is several months) ebuilds will be never accepted. >Just to add the the 2.4.4 ebuild (the one in portage) works fine after renaming >it to 2.4.5 and solves the problems mentioned here. I don't think that it is good solution, because of if doing so reaction on "gnome" in USE variable disappear.
*** Bug 117332 has been marked as a duplicate of this bug. ***
Created attachment 77422 [details] stardict-2.4.6.ebuild
> RDEPEND="gnome? ( || ( >=gnome-base/libbonobo-2.2.0 >=gnome-base/libgnome-2.2.0 > >=gnome-base/libgnomeui-2.2.0 >=gnome-base/gconf-1.2 >=dev-libs/popt-1.7 > >=gnome-base/orbit-2.6 app-text/scrollkeeper >=sys-libs/zlib-1.1.4 >=x11-libs/gtk+-2 ) ) > !gnome? ( || (>=sys-libs/zlib-1.1.4 >=x11-libs/gtk+-2 ) )" I don't think that means what you think it does :) This essentially says "with the gnome flag, one of {libbonobo/libgnome/libgnomeui/...} must be installed", but all of them need to be installed. Similarly with the !gnome part. Anyway, I added an ebuild for 2.4.6 to the tree.