Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126373 - sci-biology/fahmon Folding@home monitor (new ebuild)
Summary: sci-biology/fahmon Folding@home monitor (new ebuild)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://fahmon.silent-blade.org/
Whiteboard: sunrise-removal
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2006-03-15 18:51 UTC by Jose daLuz
Modified: 2016-06-08 16:47 UTC (History)
7 users (show)

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


Attachments
Ebuild for FahMon (fahmon-2.1.1.ebuild,822 bytes, application/octet-stream)
2006-10-08 09:08 UTC, Olof Persson
Details
Patch for a few things stopping fahmon from building and running (fahmon-fixes.patch,838 bytes, patch)
2006-10-08 09:10 UTC, Olof Persson
Details | Diff
Updated ebuild (fahmon-2.1.1.ebuild,831 bytes, text/plain)
2006-10-16 06:09 UTC, Olof Persson
Details
Version bump to 2.1.3 (fahmon-2.1.3.ebuild,831 bytes, text/plain)
2006-11-03 07:15 UTC, Olof Persson
Details
Version bump (fahmon-2.1.4.ebuild,831 bytes, application/octet-stream)
2006-11-18 07:16 UTC, Olof Persson
Details
fahmon backtrace (fahmon_backtrace,8.90 KB, text/plain)
2006-11-26 09:02 UTC, Jose daLuz
Details
Version bump to 2.1.5 (fahmon-2.1.5.ebuild,945 bytes, application/octet-stream)
2006-11-28 12:45 UTC, Olof Persson
Details
sci-biology/fahmon-2.3.1 (fahmon-2.3.1.ebuild,608 bytes, text/plain)
2008-01-12 21:17 UTC, Justin Lecher (RETIRED)
Details
Updated ebuild (FahMon-2.3.4.ebuild,499 bytes, text/plain)
2009-02-10 22:14 UTC, Rasmus P
Details
New and improved ebuild. Based on the earlier posted ones. (fahmon-2.3.4.ebuild,862 bytes, text/plain)
2009-03-03 22:06 UTC, Rasmus P
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose daLuz 2006-03-15 18:51:59 UTC
Current version: 2.10c
Source package: http://fahmon.silent-blade.org/uploads/Main/src.tbz

From the FahMon website:
FahMon is a small open-source tool (GPL license) that allows you to quickly know the progress of your Folding@Home client (or clients if you have multiple ones), avoiding you to open different files and/or to go to the Internet (for example to know how much is worth your current work unit). There exists other monitoring tools (such as Electron Microscope or FahLogStats), so if you don't like FahMon, have a look at them!

FahMon is entirely coded in C++ and uses the wonderful wxWidgets library, which allows FahMon to exists both for Linux and Windows. It is designed to be really easy to use, and you should thus not encounter any major problem.

Some features of FahMon:
    * Information on many clients at a glance
    * A local projects database is maintained to avoid using an Internet connection
    * Estimated time of arrival for each client
    * Work units benchmarking
    * Exists for both Linux & Windows
Comment 1 Olof Persson 2006-10-08 09:08:20 UTC
Created attachment 99133 [details]
Ebuild for FahMon
Comment 2 Olof Persson 2006-10-08 09:10:06 UTC
Created attachment 99135 [details, diff]
Patch for a few things stopping fahmon from building and running

This patch fixes 2 things: Scons' sandbox violations and where the program looks for the images at runtime.
Comment 3 Olof Persson 2006-10-08 09:16:41 UTC
I wrote up an ebuild that works for me. I have no idea if it works with other versions of wxGTK installed, which someone on the forums had trouble with. If it doesn't, do reply here and I'll change the deps.
Comment 4 Olof Persson 2006-10-16 06:09:24 UTC
Created attachment 99801 [details]
Updated ebuild

I contacted the author of the program, and he now has a source .tar.bz2 that is named including version.
Comment 5 Olof Persson 2006-11-03 07:15:38 UTC
Created attachment 101140 [details]
Version bump to 2.1.3

Now requires wxGTK >=2.6.3 because of changed date/time handling. Also browser is now set in a dialog instead of environment variable.
Comment 6 Olof Persson 2006-11-18 07:05:46 UTC
Has anyone else tested the ebuild? One system isn't much to go on. Please do post your results here.
Comment 7 Olof Persson 2006-11-18 07:16:32 UTC
Created attachment 102276 [details]
Version bump

Version bump to 2.1.4. 

* Fixed refresh bug when changing selection
* When psummary file is corrupted, don't abort on first error and continue to parse remaining lines
* Added preliminary support for the new cores (GPU and SMP)

(GPU is irrelevant to *nix users, not sure about SMP)
Comment 8 Jose daLuz 2006-11-26 09:00:57 UTC
I installed 2.1.3 (I had to rebuild wxGTK 2.6.3.3 with USE="-debug" to get the fahmon build to succeed). It runs okay, but if I go into the preferences and check or uncheck any of the choices in General, fahmon segfaults. I'll attach the backtrace as the comment size limit won't let me include it here. 8-p

Portage 2.1.2_rc2-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-ck1-r1 x86_64)
=================================================================
System uname: 2.6.18-ck1-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.6
Last Sync: Sun, 26 Nov 2006 13:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb -ffriend-injection"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/portage/local/layman/sunrise /usr/portage/local/layman/break-my-gentoo-main /usr/portage/local/layman/wrobel /usr/portage/local/layman/gentopia /usr/portage/local/layman/stuart-desktop"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa amr bash-completion berkdb bitmap-fonts bzip2 cairo cdda cdr cli cracklib crypt css cups dbus debug dlloader dri dts dvd dvdr eds elibc_glibc emboss encode esd ffmpeg firefox flac foomaticdb fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kdehiddenvisibility kernel_linux ldap libnotify linguas_en lzw lzw-tiff mad mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre perl pic png pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales vcd video_cards_nvidia video_cards_vesa vorbis x264 xml xorg xpm xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS
Comment 9 Jose daLuz 2006-11-26 09:02:28 UTC
Created attachment 102754 [details]
fahmon backtrace
Comment 10 Olof Persson 2006-11-27 11:21:03 UTC
(In reply to comment #8)
> I installed 2.1.3 (I had to rebuild wxGTK 2.6.3.3 with USE="-debug" to get the
> fahmon build to succeed). It runs okay, but if I go into the preferences and
> check or uncheck any of the choices in General, fahmon segfaults. I'll attach
> the backtrace as the comment size limit won't let me include it here. 8-p
> 
> Portage 2.1.2_rc2-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0,
> 2.6.18-ck1-r1 x86_64)
Hmm, that glibc is ~ARCH still. I understand if you don't want to downgrade, but maybe you could try building on another system?
Comment 11 Jose daLuz 2006-11-27 13:44:40 UTC
(In reply to comment #10)
> Hmm, that glibc is ~ARCH still. I understand if you don't want to downgrade,
> but maybe you could try building on another system?
The only other system I could build on (running glibc 2.4) is a server with no X installed, so I can't help you there.

Comment 12 Olof Persson 2006-11-28 12:42:13 UTC
(In reply to comment #11)
2.1.3 works for me on wxGTK 2.6.3.3 as long as it's not built with USE=debug. I'll make the ebuild check for that before compiling. 2.1.5 should do that, attaching.
Comment 13 Olof Persson 2006-11-28 12:45:55 UTC
Created attachment 102937 [details]
Version bump to 2.1.5

Ebuild now checks that wxGTK is built with USE=-debug. 

I might want to make a USE flag for debugging, and make this conditional, but that will mean having to rebuild wxGTK as well, so leaving it for now.
Comment 14 Jose daLuz 2006-12-29 20:28:40 UTC
The segfault I had with 2.1.3 persisted with 2.1.4 and 2.1.5.

Portage 2.1.2_rc4-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.8
Last Sync: Sat, 30 Dec 2006 02:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb -ffriend-injection"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/portage/local/layman/sunrise /usr/portage/local/layman/break-my-gentoo-main /usr/portage/local/layman/wrobel /usr/portage/local/layman/gentopia /usr/portage/local/layman/stuart-desktop /usr/portage/local/layman/gnome-experimental"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="nls glitz unicode fam jpeg session mp3 cdr x264 gdbm emboss ogg xml iconv samba hal amd64 gtk mikmod fortran ldap dvdr quicktime bash-completion ssl libnotify X amr bitmap-fonts isdnlog nptl kdehiddenvisibility dbus truetype debug ppds zlib kde udev vorbis mpeg vcd cdda esd xvid qt4 qt3 userlocales truetype-fonts theora cli gnome mono dri ipv6 mad firefox tiff cups xv pcre gpm java usb opengl type1-fonts perl gif a52 cairo encode cracklib dlloader sdl ncurses pppd flac berkdb ruby png ffmpeg aac nptlonly gstreamer dts xcb sqlite pic tcpd spl bzip2 crypt python libg++ pam css alsa spell eds gtk2 xorg readline reflection dvd" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS
Comment 15 Olof Persson 2007-03-31 13:15:17 UTC
Version 2.2.0 is out, just rename the ebuild, re-digest and try again.
Comment 16 Justin Lecher (RETIRED) gentoo-dev 2008-01-12 21:17:40 UTC
Created attachment 140827 [details]
sci-biology/fahmon-2.3.1

I did update the ebuild to version 2.3.1
Comment 17 Dustin 2008-09-03 15:21:19 UTC
I just modified justin's ebuild for 2.3.2b. So far it is working fine with gcc-4.1.2, and wtGTK-2.8.7.1-r1 on an amd64.

If this needs a maintainer, I can try my luck. :)
Comment 18 Rasmus P 2009-02-10 22:14:13 UTC
Created attachment 181578 [details]
Updated ebuild

I updated the ebuild and named the ebuild after the program.

Seems to work fine on ~amd64 with gcc-4.3.3 and wxGTK-2.8.9.1-r3 on KDE-4.2.
Comment 19 Rasmus P 2009-03-03 22:06:07 UTC
Created attachment 183814 [details]
New and improved ebuild. Based on the earlier posted ones.
Comment 20 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-03-04 16:02:38 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.
Heuristics show that no Gentoo developer has commented on your ebuild.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 21 Rasmus P 2009-03-04 22:22:32 UTC
This is now in the sunrise overlay.
Comment 22 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:47:28 UTC
Hello, everyone.

It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project.

Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that:

1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it.

2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding.

3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint.

4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality.

Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise.


[1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[2]:https://gitweb.gentoo.org/proj/sunrise.git/