thought someone might find it useful
Created attachment 92530 [details] ebuild
Well, please file all ebuilds as text/plain, no application/octet-stream... That might make someone bit of annoying. ;)
Created attachment 138271 [details] Improved ebuild The earlier ebuild didn't work for me: virtual/x11 no longer exists. When I fixed this, the program had no on screen text due to the 8x16 font not being there. Added dependency on font-sony-misc to fix this. Added instructions to install the documentation and man page.
xoscope-1.12 doesn't compile on 64bit. There's a patch in here: https://launchpad.net/ubuntu/gutsy/+source/xoscope/1.12-5 (buried in the .diff) that fixes it.
Created attachment 171020 [details] improved ebuild with patch for 64bit here's a modified ebuild that applies the patch for 64bit.
Created attachment 171021 [details] patch for 64 bit compilation
Created attachment 171035 [details] xoscope-1.12.ebuild here is an improved ebuild for xoscope. small summary: you _can_ also add libsx to depends but that is optional and requires a new ebuild. the gtk switch (--without-gtk) does not work for me. esound/esd is also optional (but has no switch). i see no reason for the other dependencies. the sed prevents install from stripping ( http://www.gentoo.org/proj/en/qa/backtraces.xml ) if we have a provided/non-broken configure script we can use econf here. make -j1 is needed because parallel build does not work. maybe you/we can change the dodoc stuff depending on useflag (doc) but i'm not sure if all the doc files are necessary because i've only improved that ebuild.
-gtk does not work for me either. Also ~amd64 is missing in the last ebuild and it needs to depend on gtk+ in slot 1.
(In reply to comment #8) > -gtk does not work for me either. Also ~amd64 is missing in the last ebuild and > it needs to depend on gtk+ in slot 1. > Hi, I took the 1.12 version with the patch for 64 bit, renamed it into 2.0 (there already is a new version of xoscope) and tried it. The addition of "~amd64" that I made in the ebuild allowed me to download and manifest the tarball. Other discoveries: 1. the patch no longer works. It would have to be regenerated somehow. 2. src_install cannot find files: HARDWARE, INTERNALS, *.ps. they dissapeard from the source. 3. the install phase reports bad practices but that's beyond the ebuild stuff. Xoscope's author declares in README file that there are options that can be chosen at build time. One could utilize this because it is in the spirit of gentoo. so how about use flags appear in the ebuild for what is in the README: * You will need "GTK+" to build the X client (highly recommended). * OR (outdated) you can use "libsx" to build an X client if you don't have GTK+. Last tried with version 2.03. * You will need "libvga" from the "svgalib" package to build the SVGA console version. You may already have this in /usr/lib. * You will need "libvgamisc" from the "g3vga" kit to get text on the console version (recommended if you use the console version). You only need to make misc/libvgamisc.a then move it to somewhere like /usr/local/lib or /usr/lib. Thanks for any improvements. Agryppa
(In reply to comment #9) I have also found out that: 1. "comedilib" support could be made optional via IUSE="comedi". But someone would have to write an ebuild for comedilib first, www.comedi.org. 2. HARDWARE and *.ps files have been moved to hardware directory in the source. So "dodoc" directive in the ebuild would need to reflect that. 3. The 2.0 version has no support for console oscillator (he support was dropped) and xoscope can only be built and used with gtk+-2.0 and higher. IUSE="gtk esd comedi" would be the three use flags suitable for the ubuild. Can anyone help? Agryppa
Created attachment 225711 [details] Version 2.0 (Requires GTK 2)
Created attachment 277651 [details, diff] remove asm/page.h
Created attachment 277653 [details, diff] 02-deprecated_GTK.patch GTK_WIDGET_STATE is deprecated with new gtk version 2.2
Created attachment 277655 [details] xoscope-2.0.ebuild New ebuild with patches
But what is the file 01-comedi.patch?
has bundled gtkdatabox-0.6.0 (tree has version 0.9.1.3). sound card mode depends on /dev/dsp.
I've tried to fix the gtkdatabox version problem, please take a look at the shiny new package sci-eletronics/xoscope. +*xoscope-2.0 (13 Apr 2012) + + 13 Apr 2012; Michael Weber <xmw@gentoo.org> +xoscope-2.0.ebuild, + +files/xoscope-2.0-comedi_compile.patch, + +files/xoscope-2.0-deprecated_GTK.patch, + +files/xoscope-2.0-implicit_decls.patch, + +files/xoscope-2.0-man_no_-Tutf8.patch, + +files/xoscope-2.0-remove_bundled_gtkdatabox.patch, +metadata.xml: + Initial import (bug 141462). +