Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 129257

Summary: app-admin/gkrellm-2.2.9 version bump
Product: Gentoo Linux Reporter: Daniel Webert <rockoo>
Component: New packagesAssignee: Martin Holzer (RETIRED) <mholzer>
Status: RESOLVED FIXED    
Severity: enhancement CC: bug.hunter, dhp_gentoo, help, kenyon, radek, tinaught, tnedor, tristan
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 84350, 89135, 93211, 102751, 123097    
Attachments: gkrellm-2.2.7.ebuild.diff
gkrellm-overlay.tar.bz2

Description Daniel Webert 2006-04-08 09:23:18 UTC
app-admin/gkrellm-2.2.9 version bump

2.2.9 - Fri Mar 31, 2006
------------------------
	* Bugfixes
	  o Segfault if select config Builtins->Battery with no batteries present.


2.2.8 - Thu Mar 30, 2006
------------------------
	* Add battery monitor option to use percent capacity remaining for alerts.
	* Filippo Giunchedi linux.c patch: make sensor code able to read
	  apple/pmu's sysfs based sensors.
	* Jindrich Makovicka linux.c patch: subtract the memory allocated to
	  slabs from the used memory and add it to the cached value instead.
	* Put multiple instances lock files in /var/lock.
	* Bugfixes:
	  o Fix gkrellm_125_sequence() off by a bit here and there.
	  o Invalidate chart text runs when chart height changed.
	  o mbmon sensors decimal point char can be different from current locale.
	  o Read linux cpu stats from /proc/stat as 64 bits.
	  o Segfault on editing disk chart format string after disabling a disk.
	  o gkrellmd -plog segfaulted if no plugins are installed.
	  o Don't NULL serve_name prior to each gkrellmd plugin serve_data call.
	  o Use a per client input_func in gkrellmd_client_read().
	* Translation updates
	  o bg.po new Bulgarian translation by Vasko Vasilev.
	  o es.po from Cristian Othon Martinez Vera
	  o ru.po from Vitaly Lipatov
Comment 1 Pietro Franchi 2006-04-09 15:47:06 UTC
Renaming the ebuild works for me. The ebuild in bug #93211 also adds the gnutls flag.
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2006-04-12 23:29:32 UTC
Created attachment 84533 [details, diff]
gkrellm-2.2.7.ebuild.diff

Cleaned up ebuild with fixes for bug #84350, bug #89135, bug #93211, bug #102751 and bug #123097.

Patch is attachment #84532 [details, diff].

Other changes:
Adds a new user for gkrellmd to drop to.
Uses LDFLAGS.
Comment 3 Todd Merrill 2006-04-21 08:39:46 UTC
nyhm,

Nice ebuild.  Do you happen to have any third-party GKrellM plugins installed and running?  I had to remove the LDFLAGS lines from your ebuild in order for them to load and run.  I tried adding LDFLAGS to some of the plugin ebuilds to no avail.  Other than that, it works great.

I have fairly conservative LDFLAGS.

LDFLAGS="-Wl,-O1"
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2006-04-21 09:11:16 UTC
Created attachment 85122 [details]
gkrellm-overlay.tar.bz2

I started an eclass to make it easier to manage gkrellm plugins. Here is the eclass and adapted ebuilds for gkrellm and all of the gkrellm2 plugins in portage. 

Tod, I only realised that today. The Makefile(s) need patching really.
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2006-05-02 05:45:14 UTC
in cvs. thx
Comment 6 Tristan Heaven (RETIRED) gentoo-dev 2006-05-02 06:29:23 UTC
You need to replace
LINK_FLAGS="${LDFLAGS}"
with
LINK_FLAGS="${LDFLAGS} -Wl,-E"
or remove those lines completely or none of the plugins will work.
Comment 7 N Addy 2006-05-02 20:15:19 UTC
I can vouch for the plugins not working.  Very timely comment.  Thanks!
Comment 8 kaouete 2006-05-03 22:23:52 UTC
Hi,

i am using 2.2.9

here too, plugins dont load, i tried to recompile them (it in fact since i use onely one :) but it doesnt change anything.

the error :
/usr/lib/gkrellm2/plugins/volume.so
	Erreur : /usr/lib/gkrellm2/plugins/volume.so: undefined symbol: gkrellm_locale_dup_string

adding -Wl,-E to LINKS_FLAGS fix the problem.

maybe a -r1 is needed ?
Comment 9 parafin 2006-05-04 13:24:46 UTC
Yes, the very same problem. -Wl,-E really helps, so i think -r1 is really needed.
Comment 10 DEMAINE BenoƮt-Pierre, aka DoubleHP 2006-05-14 16:49:55 UTC
version have been bumped. Would you continue plugin discussion in bug #133283 ? just to keep seperate discussions in seperate bugs ... so that you could close this one, and plugin chat get a bug to be 'in-topic' in :)
Comment 11 Tristan Heaven (RETIRED) gentoo-dev 2006-05-14 16:55:47 UTC
It is 'in-topic' because it's a bug in the ebuild I attached that caused this.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-05-20 02:29:12 UTC
In portage, closing. Everything else is a new bug.