Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75096 - s710-0.19 (New Package)
Summary: s710-0.19 (New Package)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Highest enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://daveb.net/s710
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks: 75097
  Show dependency tree
 
Reported: 2004-12-20 13:35 UTC by Sébastien Champigny
Modified: 2016-01-23 14:11 UTC (History)
3 users (show)

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


Attachments
New ebuild: net-wireless/s710-0.18.ebuild (s710-0.18.ebuild,756 bytes, text/plain)
2004-12-20 13:43 UTC, Sébastien Champigny
Details
A more elaborated version of s710-0.18.ebuild (s710-0.18.ebuild,1.62 KB, text/plain)
2004-12-22 16:41 UTC, Sébastien Champigny
Details
Update to version 0.19 (s710-0.19.ebuild,2.08 KB, text/plain)
2005-02-08 09:44 UTC, Sébastien Champigny
Details
just a few edits to the above version (s710-0.19.ebuild,2.17 KB, text/plain)
2005-02-09 21:02 UTC, Kelly Harnden (uglyman)
Details
Completely disabled perl support (s710-0.19.ebuild,2.29 KB, text/plain)
2005-02-10 01:28 UTC, Sébastien Champigny
Details
app-misc/s710-0.19.ebuild (s710-0.19.ebuild,1.37 KB, text/plain)
2006-04-27 05:27 UTC, Kai Huuhko
Details
dev-perl/S710/S710-0.18.ebuild (S710-0.18.ebuild,341 bytes, text/plain)
2006-04-27 05:29 UTC, Kai Huuhko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Champigny 2004-12-20 13:35:28 UTC
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 ?
Comment 1 Sébastien Champigny 2004-12-20 13:43:05 UTC
Created attachment 46474 [details]
New ebuild: net-wireless/s710-0.18.ebuild

Dependancy needed for http://bugs.gentoo.org/show_bug.cgi?id=75097
Comment 2 Henrik Brix Andersen 2004-12-21 07:33:40 UTC
How are we supposed to verify this ebuild?
Comment 3 Sébastien Champigny 2004-12-21 14:24:48 UTC
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.
Comment 4 Sébastien Champigny 2004-12-22 16:41:04 UTC
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).
Comment 5 Kelly Harnden (uglyman) 2005-01-08 11:54:08 UTC
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.
Comment 6 Sébastien Champigny 2005-02-08 09:44:54 UTC
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.
Comment 7 Kelly Harnden (uglyman) 2005-02-09 21:00:03 UTC
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.
Comment 8 Kelly Harnden (uglyman) 2005-02-09 21:02:11 UTC
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 )
Comment 9 Kelly Harnden (uglyman) 2005-02-09 21:12:39 UTC
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! 
Comment 10 Sébastien Champigny 2005-02-10 01:28:45 UTC
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.
Comment 11 Kai Huuhko 2006-04-27 05:27:52 UTC
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.
Comment 12 Kai Huuhko 2006-04-27 05:29:41 UTC
Created attachment 85604 [details]
dev-perl/S710/S710-0.18.ebuild

The perl module ebuild for s710.
Comment 13 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-15 17:59:21 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.

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 14 Michael Palimaka (kensington) gentoo-dev 2016-01-23 12:53:48 UTC
Upstream has disappeared.
Comment 15 Kai Huuhko 2016-01-23 14:11:14 UTC
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.