The popular free dictionary, StarDict, has both a GUI version and a command line interface version. The GUI version of StarDict is already in portage (app-dicts/stardict). And now, ebuild for the CLI version comes :) The CLI version has much less dependencies than app-dicts/stardict, and is more user-friendly for keyboard guys. The name "sdcv" is given by the upstream authors.
Created attachment 76591 [details] sdcv-0.4.ebuild
This benefits those who do not have the gnome things.
>This benefits those who do not have the gnome things. Try USE="-gnome" emerge stardict
(In reply to comment #3) > >This benefits those who do not have the gnome things. > Try > USE="-gnome" emerge stardict > Yes, disabling the gnome flag reduces dependences. However, as said in the bug description, the other benifitness is that the CLI version "is more user-friendly for keyboard guys".
*** Bug 201655 has been marked as a duplicate of this bug. ***
Its interface is very practical (just like dict), it's very fast loading and giving answers. I hope it's soon in the main portage tree, it's been like 2 years now that the ebuild has been proposed. If the version has not changed much in this whole time, it's because it's very stable. For those who want it : at the moment, this ebuild is in the lapis overlay.
sdcv-0.4.2 was released on 2006-04-24. just name the ebuild sdcv-0.4.2.ebuild works like a charm.
sdcv 0.4.2 was released on 2006-04-24, just save/rename/copy the ebuild to sdcv-0.4.2.ebuild
I'm genuinely wondering why this wonderful program is still out of main portage tree.
I need to review some changes in stardict handling and then I'll add this together with qstardict soon.
Created attachment 159532 [details, diff] gcc-43 fix Fix for sdcv-0.4.2 compilation with gcc-4.3 branch.
Created attachment 159534 [details, diff] fix for amd64 arch Fix sdcv-0.4.2 to compile on amd64 architecture. Both patches were send to sdcv developer, so may appear in the upstream shortly.
Created attachment 159536 [details] ebuild for patches above And this is ebuild for sdcv-0.4.2 and patches above.
with the amd64-patch applied sdcv-4.2 doesn't compile on my x86 laptop and I get the same errors as on amd64 without the patch (according to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=369702 ). this way it works on x86 too: diff sdcv-0.4.2.ebuild sdcv-0.4.2-r1.ebuild 23d22 < 27c26,28 < epatch "${FILESDIR}/${PN}-0.4.2-amd64.patch" --- > if use amd64; then > epatch "${FILESDIR}/${PN}-0.4.2-amd64.patch" > fi
This package added to the tree. Enjoy. Fixed.
(In reply to comment #15) > This package added to the tree. Enjoy. > > Fixed. > This is great. By why app-text/sdcv instead of app-dict/sdcv?
(In reply to comment #16) > This is great. By why app-text/sdcv instead of app-dict/sdcv? Take a look at app-dics/metadata.xml: <longdescription lang="en"> The app-dicts category contains dictionary and word-list packages. </longdescription> Programs have nothing to do with any of them. I'm going to move stardict to app-text in near future too.
(In reply to comment #17) Good. I was confused by different categories for sdcv and stardict, because they're closely related.