Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264631 - app-dicts/goldendict live ebuild
Summary: app-dicts/goldendict live ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest enhancement with 1 vote (vote)
Assignee: Qt Bug Alias
URL: http://goldendict.berlios.de/
Whiteboard: [qting-edge]
Keywords: EBUILD, InOverlay
: 267369 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-02 15:04 UTC by Vladimir Dolzhenko
Modified: 2010-04-10 23:18 UTC (History)
10 users (show)

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


Attachments
goldendict ebuild (goldendict-0.7.0.ebuild,813 bytes, text/plain)
2009-04-02 15:05 UTC, Vladimir Dolzhenko
Details
goldendict ebuild with ~amd64 keyword (goldendict-0.7.0-r1.ebuild,820 bytes, text/plain)
2009-04-02 16:35 UTC, Alexey Bondarchuk
Details
app-dicts/goldendict-0.7.0.ebuild (goldendict-0.7.0.ebuild,715 bytes, text/plain)
2009-04-02 16:37 UTC, Azamat H. Hackimov
Details
ebuild for 8.0 (goldendict-0.8.0.ebuild,749 bytes, text/plain)
2009-04-24 17:59 UTC, Nick Malakhov
Details
app-dicts/goldendict-0.8 (goldendict-0.8.0.ebuild,1.79 KB, text/plain)
2009-04-24 20:24 UTC, Sergey Kondakov
Details
app-dicts/goldendict svn live ebuild (goldendict-0.9999.ebuild,1.72 KB, text/plain)
2009-04-24 20:25 UTC, Sergey Kondakov
Details
goldendict-0.8.0.ebuild (goldendict-0.8.0.ebuild,930 bytes, text/plain)
2009-04-24 21:55 UTC, Azamat H. Hackimov
Details
app-dicts/goldendict universal 0.8.0 and live (goldendict-0.8.0.ebuild,2.31 KB, text/plain)
2009-04-26 13:59 UTC, Sergey Kondakov
Details
app-dicts/goldendict universal 0.8.0 and live (goldendict-0.8.0.ebuild,2.38 KB, text/plain)
2009-04-26 14:04 UTC, Sergey Kondakov
Details
goldendict 0.9.0 ebuild (goldendict-0.9.0.ebuild,1.00 KB, text/plain)
2009-05-25 10:50 UTC, Vladimir Dolzhenko
Details
app-dicts/goldendict-0.9.0 and live (goldendict-0.9.0.ebuild,3.19 KB, text/plain)
2009-05-25 14:03 UTC, Sergey Kondakov
Details
goldendict-0.9.0.ebuild (goldendict-0.9.0.ebuild,989 bytes, text/plain)
2009-05-26 10:44 UTC, Azamat H. Hackimov
Details
gcc-4.4-fix.patch (gcc-4.4-fix.patch,380 bytes, patch)
2009-09-24 14:42 UTC, Azamat H. Hackimov
Details | Diff
app-dicts/goldendict-0.9.0 (goldendict-0.9.0.ebuild,3.68 KB, text/plain)
2009-10-15 16:41 UTC, Sergey Kondakov
Details
goldendict ebuild via git (goldendict-9999.ebuild,3.70 KB, text/plain)
2009-12-19 17:24 UTC, Vladimir Dolzhenko
Details
--info file (paludisinfo,6.48 KB, text/plain)
2010-01-27 22:19 UTC, Paul V
Details
installation output (installingoutput,39.19 KB, text/plain)
2010-01-27 22:20 UTC, Paul V
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Dolzhenko 2009-04-02 15:04:52 UTC
New 0.7.0 version of goldendict is now out

Reproducible: Always
Comment 1 Vladimir Dolzhenko 2009-04-02 15:05:34 UTC
Created attachment 187088 [details]
goldendict ebuild
Comment 2 Alexey Bondarchuk 2009-04-02 16:35:32 UTC
Created attachment 187100 [details]
goldendict ebuild with ~amd64 keyword

add ~amd64 keyword
Comment 3 Azamat H. Hackimov 2009-04-02 16:37:21 UTC
Created attachment 187102 [details]
app-dicts/goldendict-0.7.0.ebuild

Hello.

I added missed DEPEND and ~amd64 keyword. Also some polishing.
Comment 4 Nick Malakhov 2009-04-24 17:59:24 UTC
Created attachment 189335 [details]
ebuild for 8.0

This ebuild does not solve or workaround problem with 
"ld: cannot find -llibhunspell.so" error

I think, it's better to fix hunspell ebuild to solve this problem.
Comment 5 Vladimir Dolzhenko 2009-04-24 18:13:51 UTC
(In reply to comment #4)
> Created an attachment (id=189335) [edit]
> ebuild for 8.0
> 
> This ebuild does not solve or workaround problem with 
> "ld: cannot find -llibhunspell.so" error
> 
> I think, it's better to fix hunspell ebuild to solve this problem.
> 

please do not post ebuilds for 0.8 version here, more over do not post not workable ebuild
Comment 6 Sergey Kondakov 2009-04-24 20:24:47 UTC
Created attachment 189346 [details]
app-dicts/goldendict-0.8

[x] virtual/stardict provided
[x] corrected dependencies
[x] hunspell fix
[x] support for myspell's ebuilds
[x] support for russian addon

TODO:
[ ] support for stardict's dictionaries ebuilds
[ ] eapi=2
Comment 7 Sergey Kondakov 2009-04-24 20:25:36 UTC
Created attachment 189348 [details]
app-dicts/goldendict svn live ebuild

same as 0.8 but live
Comment 8 Sergey Kondakov 2009-04-24 20:27:26 UTC
why exactly we should not post ebuilds for new versions of software which is under active development (say alpha) and bug-fixing ?

opening separate reports for every version seems kinda redundant
Comment 9 Azamat H. Hackimov 2009-04-24 21:55:07 UTC
Created attachment 189354 [details]
goldendict-0.8.0.ebuild

Updated to 0.8.0. 
I know, this package contain russian localization, but currently .pro file no have support for l10n framework, so better ask upstream fix this first.
Comment 10 Sergey Kondakov 2009-04-25 00:15:51 UTC
agreed.

but just in case if you were talking about "russian addon" there and not that separate issue of inappropriate translation since its not present in your ebuild - i meant 4 additional dictionaries and speech module by this words

by the way: .pro file also need correct installation data. do's and inst's is no good. i think it's all be taken care of soon.
what did we want from 3rd public release after all ?
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-25 16:50:10 UTC
*** Bug 267369 has been marked as a duplicate of this bug. ***
Comment 12 Sergey Kondakov 2009-04-26 13:59:31 UTC
Created attachment 189493 [details]
app-dicts/goldendict universal 0.8.0 and live

[X] EAPI=2-ready

[F] trying to put stardict's dicts in DEPEND in any way was a bad idea, hell with it
[-] questionable virtual/stardict removed
Comment 13 Sergey Kondakov 2009-04-26 14:04:26 UTC
Created attachment 189494 [details]
app-dicts/goldendict universal 0.8.0 and live

[*] fix incomplete src_unpack. sorry
Comment 14 Vladimir Dolzhenko 2009-05-25 10:50:22 UTC
Created attachment 192391 [details]
goldendict 0.9.0 ebuild
Comment 15 Sergey Kondakov 2009-05-25 14:03:24 UTC
Created attachment 192408 [details]
app-dicts/goldendict-0.9.0 and live

[x] support for some more morphologic addons from upstream (optional)
[x] support selective localization installations
[!] not builds with gcc-4.4.0
Comment 16 Azamat H. Hackimov 2009-05-26 10:44:25 UTC
Created attachment 192483 [details]
goldendict-0.9.0.ebuild

0.9.0
I still dislike to include all stuff from upstream to one ebuild, better split package to app and dictionary.
Comment 17 Ben de Groot (RETIRED) gentoo-dev 2009-07-10 18:32:51 UTC
0.9.0 ebuild added to qting-edge overlay for testing
Comment 18 Azamat H. Hackimov 2009-09-24 14:42:51 UTC
Created attachment 205119 [details, diff]
gcc-4.4-fix.patch

Please add this patch to solve problem compiling with gcc-4.4
Comment 19 Dominik Kapusta (RETIRED) gentoo-dev 2009-09-24 17:44:30 UTC
Thanks, gcc-4.4 patch added to the overlay :)
Comment 20 Sergey Kondakov 2009-10-15 16:41:01 UTC
Created attachment 207216 [details]
app-dicts/goldendict-0.9.0

[A] added gcc-4.4 patch support
[U] updated EN<->RU pack
[A] added morphology for fr,it,es,pt_BR from upstream
Comment 21 Sergey Kondakov 2009-10-15 16:54:25 UTC
there is no much point to put additional stuff from upstream on standard places for dictionaries in gentoo because we, probably, have better morphology in portage already, licensing terms for those from upstream are unclear and i don't know better place to put voice pack than one proposed by upstream for all of their stuff.
this is purely a lazy-man option and i will cut it out later.
Comment 22 Paul V 2009-10-25 21:52:09 UTC
Will this ebuilds be at portage? Or some overlay maybe?
Comment 23 Azamat H. Hackimov 2009-10-25 21:57:13 UTC
(In reply to comment #22)
> Will this ebuilds be at portage? Or some overlay maybe?

layman -a qting-edge

Comment 24 Paul V 2009-11-08 13:20:02 UTC
Thank you. Also, where I can get live ebuild? 0.9.0 have segfault trouble with Qt 4.5.3. Someone on forums advised upgrade to live version.
Comment 25 Paul V 2009-12-03 15:35:16 UTC
It segfaults with 4.6.0 too
Comment 26 Vladimir Dolzhenko 2009-12-19 17:24:58 UTC
Created attachment 213483 [details]
goldendict ebuild via git
Comment 27 Vladimir Dolzhenko 2009-12-19 17:26:09 UTC
new live (9999) ebuild was added due to goldendict was moved to git instread of svn, as well it segfaults on qt 4.6
Comment 28 Vladimir Dolzhenko 2009-12-23 14:47:46 UTC
> as well it segfaults on qt 4.6

as well it FIX segfaults on qt 4.6 - so, now it works ok

Comment 29 Ben de Groot (RETIRED) gentoo-dev 2009-12-28 06:08:02 UTC
The live git ebuild should be reviewed and put in the overlay. Then I'd like a snapshot to be made for inclusion in portage.
Comment 30 Markos Chandras (RETIRED) gentoo-dev 2010-01-23 13:04:10 UTC
On tree now. I am gonna review the live ebuild and put it on the overlay

Thanks
Comment 31 Paul V 2010-01-26 14:37:26 UTC
Compiling of live version failes here.
Comment 32 Azamat H. Hackimov 2010-01-26 15:31:31 UTC
(In reply to comment #31)
> Compiling of live version failes here.
> 

Ehh, this can happen with live ebuild...
PS: logs, emerge --info etc?
Comment 33 Paul V 2010-01-27 22:19:25 UTC
Created attachment 217665 [details]
--info file
Comment 34 Paul V 2010-01-27 22:20:16 UTC
Created attachment 217666 [details]
installation output

--info file and installation output attached. Yes, I was tryed live version because of 0.9.0 crashes with my qt.
Comment 35 Azamat H. Hackimov 2010-02-01 00:11:59 UTC
(In reply to comment #34)

OK, I think this is because live version now require x11-libs/qt-phonon, but there little funny block with kde-base/phonon-kde, so I cannot install this package and check it.
Comment 36 Ilya Hegai 2010-02-04 10:14:23 UTC
(In reply to comment #35)
> (In reply to comment #34)
> 
> OK, I think this is because live version now require x11-libs/qt-phonon, but
> there little funny block with kde-base/phonon-kde, so I cannot install this
> package and check it.
> 

placing corrent includes fixes build for me, goldendict works smoothly)
Comment 37 Paul V 2010-02-10 21:48:19 UTC
(In reply to comment #36)
> (In reply to comment #35)
> > (In reply to comment #34)
> > 
> > OK, I think this is because live version now require x11-libs/qt-phonon, but
> > there little funny block with kde-base/phonon-kde, so I cannot install this
> > package and check it.
> > 
> 
> placing corrent includes fixes build for me, goldendict works smoothly)
> 

Can you explain how to get it working?
Comment 38 Ilya Hegai 2010-02-11 11:08:46 UTC
(In reply to comment #37)
> (In reply to comment #36)
> > (In reply to comment #35)
> > > (In reply to comment #34)
> > > 
> > > OK, I think this is because live version now require x11-libs/qt-phonon, but
> > > there little funny block with kde-base/phonon-kde, so I cannot install this
> > > package and check it.
> > > 
> > 
> > placing corrent includes fixes build for me, goldendict works smoothly)
> > 
> 
> Can you explain how to get it working?
> 

here comes the patch

--- src/goldendict.pro.orig 2010-02-04 13:06:57.000000000 +0300
+++ src/goldendict.pro  2010-02-04 13:07:46.000000000 +0300
@@ -10,7 +10,6 @@
 QT += webkit
 QT += xml
 QT += network
-QT += phonon
 CONFIG += exceptions \
     rtti \
     stl
@@ -44,6 +43,7 @@
        vorbis \
    ogg \
    hunspell
+    INCLUDEPATH += /usr/include/KDE
     LIBS += -lX11 \
         -lXtst
     PREFIX = $$(PREFIX)


and addition to the ebuild:

src_prepare() {
    epatch "${FILESDIR}/phonon-live.patch"
}

it definitely breaks windows build, but who cares?)
Comment 39 Ben de Groot (RETIRED) gentoo-dev 2010-02-11 11:32:09 UTC
(In reply to comment #38)
> +    INCLUDEPATH += /usr/include/KDE

We don't want no stinkin' KDE includes. Using /usr/include/phonon/ should be enough.
Comment 40 Ilya Hegai 2010-02-11 11:39:25 UTC
(In reply to comment #39)
> (In reply to comment #38)
> > +    INCLUDEPATH += /usr/include/KDE
> 
> We don't want no stinkin' KDE includes. Using /usr/include/phonon/ should be
> enough.
> 

as you wish :-P, just in case compare actual contents of /usr/include/phonon/ /usr/include/KDE/Phonon/ and take a look at subj sources ;)
Comment 41 Ben de Groot (RETIRED) gentoo-dev 2010-02-11 11:54:12 UTC
Well, I don't really care, such a patch should be put behind a kde useflag. Ideally upstream should make it work with both Qt's as well as KDE's Phonon.
Comment 42 Davide Pesavento gentoo-dev 2010-02-21 15:39:53 UTC
Can someone explain what "enruen" pack is?
Comment 43 Azamat H. Hackimov 2010-02-21 16:34:55 UTC
(In reply to comment #42)
> Can someone explain what "enruen" pack is?
> 

This is en-ru and ru-en dictionaries from upstream. Generally useless for average user. Also license status for me still unclean.
Comment 44 Davide Pesavento gentoo-dev 2010-02-21 18:01:09 UTC
(In reply to comment #43)
> (In reply to comment #42)
> > Can someone explain what "enruen" pack is?
> > 
> 
> This is en-ru and ru-en dictionaries from upstream. Generally useless for
> average user. Also license status for me still unclean.
> 

And why aren't myspell dictionaries enough?

Btw, I just pushed an almost rewritten goldendict-9999 live ebuild to qting-edge overlay, without all those addons. Please test it.
Comment 45 Azamat H. Hackimov 2010-02-21 18:55:46 UTC
> Btw, I just pushed an almost rewritten goldendict-9999 live ebuild to
> qting-edge overlay, without all those addons. Please test it.
 
You cutted off nls support, please return nls USE-flag with src_configure statement:

src_configure() {
    if use nls; then
        lrelease goldendict.pro || die "lrelease failed"
    fi
    PREFIX=/usr eqmake4
}

Program runs without errors.
Comment 46 Davide Pesavento gentoo-dev 2010-02-21 20:39:23 UTC
(In reply to comment #45)
> > Btw, I just pushed an almost rewritten goldendict-9999 live ebuild to
> > qting-edge overlay, without all those addons. Please test it.
> 
> You cutted off nls support, please return nls USE-flag with src_configure
> statement:
> 

I know, that's why it's still a work in progress... ;-)

Your proposed fix is wrong though. Translations are already generated, the problem is that they're not installed.
Comment 47 Ben de Groot (RETIRED) gentoo-dev 2010-04-10 20:50:30 UTC
We have a working ebuild now in the official overlay. This bug can be considered as fixed.
Comment 48 Sergey Kondakov 2010-04-10 21:50:29 UTC
what is the "official overlay" ?
Comment 49 Nikoli 2010-04-10 21:57:15 UTC
Sergey, /usr/portage
goldendict-0.9.0_p20100410.ebuild added.
Comment 50 Davide Pesavento gentoo-dev 2010-04-10 22:11:20 UTC
(In reply to comment #48)
> what is the "official overlay" ?
> 

layman -a qting-edge
Comment 51 Sergey Kondakov 2010-04-10 22:29:00 UTC
is it a final answer or just another guess ? :)

first of all, nor i nor gentoo-portage.com [http://gentoo-portage.com/app-dicts/goldendict] could find this "goldendict-0.9.0_p20100410.ebuild" but only "goldendict-0.9.0.ebuild".
but it doesn't matter since summary says "app-dicts/goldendict live ebuild" which they both are, probably, not.

second, since when "portage" is called an "official overlay" and is it ?
and since when answer on question "what" is <how to add some obscure stuff to my system> ?

you can ignore that since i've reread top of the bug and in my understanding it is in some overlay with high concentration of official gentoo developers where it kinda supposed to boil until it becomes less "edgy".
guess that makes it "official" but this term kind of new to me. and to some of you, probably, too.
Comment 52 Ben de Groot (RETIRED) gentoo-dev 2010-04-10 23:18:53 UTC
(In reply to comment #51)
> is it a final answer or just another guess ? :)

The answer Davide gave (he's a member of our Qt team) is correct. The Gentoo Qt team maintains the qting-edge overlay. It is therefore "official".
http://qt.gentoo.org/ also mentions the qting-edge overlay. 

> first of all, nor i nor gentoo-portage.com
> [http://gentoo-portage.com/app-dicts/goldendict] could find this
> "goldendict-0.9.0_p20100410.ebuild" but only "goldendict-0.9.0.ebuild".

gentoo-portage.com is not an official gentoo website, so it is probably just not up to date. http://packages.gentoo.org/package/app-dicts/goldendict does show the snapshot ebuild I committed earlier.

> but it doesn't matter since summary says "app-dicts/goldendict live ebuild"
> which they both are, probably, not.

indeed they are not
 
> second, since when "portage" is called an "official overlay" and is it ?

No, it is "the official tree" and not referred to as an overlay.

> in my understanding it
> is in some overlay with high concentration of official gentoo developers
> where it kinda supposed to boil until it becomes less "edgy".

A live ebuild should not be included in the portage tree, in our view it belongs in an overlay. As the qting-edge overlay is maintained by the same Gentoo developers, with the help of some users (I must say very capable ones), you can be assured of the same ebuild quality. But as it is "live" code you are dealing with, we cannot give any guarantees as to how it will work at any given time.