Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86379 - stardict-2.4.4-r1.ebuild
Summary: stardict-2.4.4-r1.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
: 102824 106341 117332 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-23 05:37 UTC by Evgeniy Dushistov
Modified: 2006-01-19 05:39 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
stardict-2.4.4-r1.ebuild" (stardict-2.4.4-r1.ebuild,2.24 KB, application/octet-stream)
2005-03-23 05:39 UTC, Evgeniy Dushistov
Details
dictd2dic_worcound_err_fix.patch (dictd2dic_worcound_err_fix.patch,706 bytes, patch)
2005-03-23 05:40 UTC, Evgeniy Dushistov
Details | Diff
config.patch (config.patch,115.52 KB, patch)
2005-03-23 05:40 UTC, Evgeniy Dushistov
Details | Diff
portable_functions.patch (portable_functions.patch,56.46 KB, patch)
2005-03-23 05:41 UTC, Evgeniy Dushistov
Details | Diff
lib-fix.patch (lib-fix.patch,92.39 KB, patch)
2005-03-23 05:41 UTC, Evgeniy Dushistov
Details | Diff
gtk-only.patch (gtk-only.patch,88.50 KB, patch)
2005-03-23 05:42 UTC, Evgeniy Dushistov
Details | Diff
stardict-2.4.4-r1.ebuild (stardict-2.4.4-r1.ebuild,2.18 KB, text/plain)
2005-05-01 07:22 UTC, MATSUU Takuto (RETIRED)
Details
stardict-2.4.6.ebuild (stardict-2.4.6.ebuild,1.98 KB, text/plain)
2006-01-18 06:45 UTC, Evgeniy Dushistov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy Dushistov 2005-03-23 05:37:31 UTC
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.
Comment 1 Evgeniy Dushistov 2005-03-23 05:39:31 UTC
Created attachment 54223 [details]
stardict-2.4.4-r1.ebuild"
Comment 2 Evgeniy Dushistov 2005-03-23 05:40:12 UTC
Created attachment 54224 [details, diff]
dictd2dic_worcound_err_fix.patch
Comment 3 Evgeniy Dushistov 2005-03-23 05:40:47 UTC
Created attachment 54225 [details, diff]
config.patch
Comment 4 Evgeniy Dushistov 2005-03-23 05:41:22 UTC
Created attachment 54226 [details, diff]
portable_functions.patch
Comment 5 Evgeniy Dushistov 2005-03-23 05:41:59 UTC
Created attachment 54227 [details, diff]
lib-fix.patch
Comment 6 Evgeniy Dushistov 2005-03-23 05:42:34 UTC
Created attachment 54228 [details, diff]
gtk-only.patch
Comment 7 blacktiger 2005-05-01 00:48:06 UTC
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.
 
Comment 8 Evgeniy Dushistov 2005-05-01 01:39:27 UTC
>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
Comment 9 MATSUU Takuto (RETIRED) gentoo-dev 2005-05-01 07:22:58 UTC
Created attachment 57739 [details]
stardict-2.4.4-r1.ebuild

Fixed gconf problem.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-08-17 09:20:22 UTC
*** Bug 102824 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-09-18 02:31:43 UTC
*** Bug 106341 has been marked as a duplicate of this bug. ***
Comment 12 Georgi Georgiev 2005-09-18 07:43:35 UTC
(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?
Comment 13 Georgi Georgiev 2005-09-18 07:57:32 UTC
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.
Comment 14 Evgeniy Dushistov 2005-09-18 09:08:31 UTC
>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.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-01-01 05:12:07 UTC
*** Bug 117332 has been marked as a duplicate of this bug. ***
Comment 16 Evgeniy Dushistov 2006-01-18 06:45:16 UTC
Created attachment 77422 [details]
stardict-2.4.6.ebuild
Comment 17 Harald van Dijk (RETIRED) gentoo-dev 2006-01-19 05:39:06 UTC
> 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.