From the author's website: This software lets you communicate from a Linux computer to a Polar S710 heart rate monitor via the serial IR interface. It is not complete, but a utility is provided that gives you the ability to view the settings on the watch and download exercise files. Other utilities (also provided) allow you to print the contents of exercise files and render the data in PNG graphs. A Perl interface to the library is also provided. Ebuild follows and can be used with other new ebuild called polarviewer. It should go into net-wireless. The perl interface is not installed yet by default. Should I put a perl or X use flags related to this interface ?
Created attachment 46474 [details] New ebuild: net-wireless/s710-0.18.ebuild Dependancy needed for http://bugs.gentoo.org/show_bug.cgi?id=75097
How are we supposed to verify this ebuild?
I will test this program and the other one I submitted (polarviewer) with my newly ordered heartrate monitor as soon as I get it. For now, these programs at least compile and run. We will see if they are usefull.
Created attachment 46676 [details] A more elaborated version of s710-0.18.ebuild This is a modified ebuild with support for the perl module and additional check for kernel version (needed for correct usb support in 2.4 kernels).
umm I may be missing something. I was bored today so I went to the bugday site and I found http://bugs.gentoo.org/show_bug.cgi?id=75101. I thought I would test that ebuild but it depends on this one. so I threw this one in my portage overlay, made a digest and tried to emerge it. it fails to compile with the following output: ---snip------ make[1]: Leaving directory `/var/tmp/portage/s710-0.18/work/s710-0.18' * * Compiling s710 perl module now: Checking if your kit is complete... Looks good Note (probably harmless): No library found for -ls710 Note (probably harmless): No library found for -lusb Writing Makefile for S710 cp S710.pm blib/lib/S710.pm /usr/bin/perl5.8.6 /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.6/ExtUtils/typemap S710.xs > S710.xsc && mv S710.xsc S710.c gcc -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -mtune=i686 -fomit-frame-pointer -funroll-loops -pipe -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl5/5.8.6/i686-linux/CORE" S710.c S710.xs:7:18: s710.h: No such file or directory make: *** [S710.o] Error 1 !!! ERROR: net-wireless/s710-0.18 failed. !!! Function perl-module_src_compile, Line 65, Exitcode 2 !!! compilation failed !!! If you need support, post the topmost build error, NOT this status message. my emerge info is as follows: --------------------------------- Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 7 2005, 16:09:24)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.6.3, 1.7.9, 1.9.3, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mtune=i686 -fomit-frame-pointer -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mtune=i686 -fomit-frame-pointer -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.ccccom.com http://gentoo.ccccom.com" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acl acpi aim alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups dba dga directfb dvd dvdr encode esd fam fbcon firebird flac foomaticdb fortran gd gdbm gif gpm gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 java jikes joystick jpeg ladcca libwww lirc mad maildir mikmod motif mpeg mysql ncurses nls nocd nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcltk tcpd tetex tiff truetype videos xinerama xml xml2 xmms xv yahoo zlib" if I can be of any further assistance please drop me a line. Thanks.
Created attachment 50749 [details] Update to version 0.19 I disabled perl module compilation as I cannot figure out what's wrong with it. Kelly, you could look at this, if you have time ;-) Otherwise, runs fine with the S625X model. Take a look at the TODO section of the ebuild.
well here is what I get. It should be noted that I have completely reinstalled since then. My emerge info has likely changed. It should also be noted that I know nothing about this package, I just found it on bugday last month. I also know very little about ebuilds, so what I say should be taken with a grain of salt. >>> emerge (2 of 2) net-wireless/s710-0.19 to / >>> md5 src_uri ;-) s710-0.19.tar.gz >>> Unpacking source... >>> Unpacking s710-0.19.tar.gz to /var/tmp/portage/s710-0.19/work >>> Unpacking S710-0.18.tar.gz to /var/tmp/portage/s710-0.19/work tar: /usr/portage/distfiles/S710-0.18.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors !!! ERROR: net-wireless/s710-0.19 failed. !!! Function unpack, Line 375, Exitcode 2 !!! failure unpacking S710-0.18.tar.gz !!! If you need support, post the topmost build error, NOT this status message. I took a QUICK look inside the ebuild and noticed a couple of things. I changed what I thought looked strange and commented by it with (kmh) so you could see what I did. As I said, I am new at this so my work on this should be reviewed. Now it emerges fine. will attatch my edited ebuild now. lemme know if I can be of more help.
Created attachment 50887 [details] just a few edits to the above version just a few edits. (kmh) in a comment by any change I made ( wanted to make it easy to undo any damage I did :p )
oops changed my mind... The last change I made was the lower case s (see my comment) I was checking it as I posted my last message, but it fails at the last second with an access violation on /usr/share/doc/blahblah. Changed that S back to caps and it started working. sorry for the confusion!
Created attachment 50896 [details] Completely disabled perl support Hello Kelly, some comments on your comments: Line 8: version 0.19 of the perl module is not out yet -> stuck with 0.18 (I should have noted this in the ebuild) Line 33: for now, it is not important as we don't have perl enabled but I made this in order to have two distinct directories, where one (s710) should be dedicated to the program s710 and the other to its perl module (S710). Line 37: OK So would I just let your last comment. Anyway, I commented out all perl-related items and noted in the ebuild what I just said here. Overall, this ebuild is kinda ugly but it still works.
Created attachment 85603 [details] app-misc/s710-0.19.ebuild I've cleaned the ebuild and separated the perl-module to it's own package. The app seems to run ok, but I don't have the hardware myself.
Created attachment 85604 [details] dev-perl/S710/S710-0.18.ebuild The perl module ebuild for s710.
(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. 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
Upstream has disappeared.
Quick Internet search got me here: https://code.google.com/p/s710/ which seems to be the same project with further updates from various people. Latest commit is from 2007 though.