Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70618 - gkrellm-mldonkey-0.9.4.ebuild (New Package)
Summary: gkrellm-mldonkey-0.9.4.ebuild (New Package)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Jon Hood (RETIRED)
URL: http://www.tof2k.com/gkremldk/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-11-09 15:12 UTC by Red Sonja
Modified: 2006-06-13 20:05 UTC (History)
3 users (show)

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


Attachments
gkremldk-0.9.6.ebuild (gkremldk-0.9.6.ebuild,899 bytes, text/plain)
2005-07-19 20:39 UTC, Sam Walliser
Details
x11-plugins/gkremldk-0.9.7.ebuild (Update) (gkremldk-0.9.7.ebuild,689 bytes, text/plain)
2006-05-22 13:38 UTC, Oleg S. Marin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Red Sonja 2004-11-09 15:12:30 UTC
Hi

Could anyone include gkrellmd (http://www.tof2k.com/gkremldk/) in portage. It's a gkrellm2 plugin to monitor mldonkey transfers. Suggest x11-plugins, just like gkrellm-giFT.

thnx in advance
Comment 1 Sam Walliser 2005-07-19 20:39:05 UTC
Created attachment 63846 [details]
gkremldk-0.9.6.ebuild

This is an ebuild for gkremldk version 0.9.6. Enjoy
Comment 2 Jon Hood (RETIRED) gentoo-dev 2006-04-18 19:42:15 UTC
Hey Red and Sam; there are a few issues with the attached ebuild that I'd like to walk through before it can be added to portage.
1) Note how you're setting the variable "${S}". In the global scope, we're setting it "${WORKDIR}/${PN}"; however, in the function-scope, it gets set to ${WORKDIR}/${P}. Why not just set S in the global scope to ${WORKDIR}/${P} and then you won't have to keep setting it within the functions, then having to "cd" into that directory?
2) in src_unpack(), look at some other ebuilds for an appropriate example. Let's try to use something along the lines of "unpack ${A}" then "cd ${S}" to keep it uniform with other packages in portage. Also, the "echo" there is kinda unnecessary.
3) Is the "export PATH" really necessary in src_compile()?
Comment 3 Oleg S. Marin 2006-05-22 13:38:30 UTC
Created attachment 87275 [details]
x11-plugins/gkremldk-0.9.7.ebuild (Update)

Update for a new version of gkremldk and a bit cleanup.
Jon it's realy can't be unpack ${A} in the src_unpack() function because the author made expantion .tbz instead of .tar.bz2 for some reasone, so unpack ${A} says that it's couldn't understand file type.

P.S. Sorry for my english if it's bad ;)
Comment 4 Jon Hood (RETIRED) gentoo-dev 2006-06-13 20:05:03 UTC
Thanks for sticking with this bug, but this plugin does not appear to work with gkrellm-2.2.9. Please reopen when an update is available.

/usr/lib64/gkrellm2/plugins/gkremldk.so
	Error: /usr/lib64/gkrellm2/plugins/gkremldk.so: undefined symbol: gkrellm_chart_enable_visibility
/usr/lib64/gkrellm2/plugins/volume.so
	Error: /usr/lib64/gkrellm2/plugins/volume.so: undefined symbol: gkrellm_locale_dup_string