Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118359 - app-dicts/sdcv-0.4 (new package)
Summary: app-dicts/sdcv-0.4 (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://stardict.sourceforge.net/
Whiteboard:
Keywords: EBUILD
: 201655 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-08 23:38 UTC by Qiangning Hong
Modified: 2008-12-18 17:19 UTC (History)
5 users (show)

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


Attachments
sdcv-0.4.ebuild (sdcv-0.4.ebuild,628 bytes, text/plain)
2006-01-08 23:39 UTC, Qiangning Hong
Details
gcc-43 fix (sdcv-0.4.2-gcc43.patch,1.01 KB, patch)
2008-07-04 15:22 UTC, Andrew Savchenko
Details | Diff
fix for amd64 arch (sdcv-0.4.2-amd64.patch,668 bytes, patch)
2008-07-04 15:24 UTC, Andrew Savchenko
Details | Diff
ebuild for patches above (sdcv-0.4.2.ebuild,831 bytes, text/plain)
2008-07-04 15:25 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Qiangning Hong 2006-01-08 23:38:12 UTC
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.
Comment 1 Qiangning Hong 2006-01-08 23:39:38 UTC
Created attachment 76591 [details]
sdcv-0.4.ebuild
Comment 2 Congtat Cia 2006-01-17 06:57:03 UTC
This benefits those who do not have the gnome things.
Comment 3 Evgeniy Dushistov 2006-03-14 10:36:53 UTC
>This benefits those who do not have the gnome things.
Try
USE="-gnome" emerge stardict
Comment 4 Qiangning Hong 2006-03-14 19:47:15 UTC
(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".
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-12-08 08:56:47 UTC
*** Bug 201655 has been marked as a duplicate of this bug. ***
Comment 6 cJ 2007-12-08 19:31:26 UTC
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.
Comment 7 Florian Ermisch 2008-01-22 10:15:53 UTC
sdcv-0.4.2 was released on 2006-04-24.
just name the ebuild sdcv-0.4.2.ebuild
works like a charm.
Comment 8 Florian Ermisch 2008-01-22 10:17:39 UTC
sdcv 0.4.2 was released on 2006-04-24, just save/rename/copy the ebuild to sdcv-0.4.2.ebuild
Comment 9 Andrew Savchenko gentoo-dev 2008-05-14 11:27:22 UTC
I'm genuinely wondering why this wonderful program is still out of main portage tree.
Comment 10 Peter Volkov (RETIRED) gentoo-dev 2008-05-15 08:24:18 UTC
I need to review some changes in stardict handling and then I'll add this together with qstardict soon.
Comment 11 Andrew Savchenko gentoo-dev 2008-07-04 15:22:34 UTC
Created attachment 159532 [details, diff]
gcc-43 fix

Fix for sdcv-0.4.2 compilation with gcc-4.3 branch.
Comment 12 Andrew Savchenko gentoo-dev 2008-07-04 15:24:19 UTC
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.
Comment 13 Andrew Savchenko gentoo-dev 2008-07-04 15:25:24 UTC
Created attachment 159536 [details]
ebuild for patches above

And this is ebuild for sdcv-0.4.2 and patches above.
Comment 14 Florian Ermisch 2008-09-23 10:48:25 UTC
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
Comment 15 Peter Volkov (RETIRED) gentoo-dev 2008-12-16 19:39:54 UTC
This package added to the tree. Enjoy.

Fixed.
Comment 16 Andrew Savchenko gentoo-dev 2008-12-17 12:30:39 UTC
(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?
Comment 17 Peter Volkov (RETIRED) gentoo-dev 2008-12-18 16:08:39 UTC
(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.
Comment 18 Andrew Savchenko gentoo-dev 2008-12-18 17:19:49 UTC
(In reply to comment #17)
Good. I was confused by different categories for sdcv and stardict, because they're closely related.