wtk-overlay.git
13 years agoUpdate comedilib/demo/Makefile patch.
W. Trevor King [Fri, 13 May 2011 10:56:17 +0000 (06:56 -0400)]
Update comedilib/demo/Makefile patch.

13 years agoOverride RUBYOPT when configuring Comedilib ruby binding installation.
W. Trevor King [Tue, 22 Mar 2011 19:09:31 +0000 (15:09 -0400)]
Override RUBYOPT when configuring Comedilib ruby binding installation.

With an unmasked RUBYOPT="-rauto_gem" [1] the .config file ignores the
DESTDIR environmental variable, for reasons I have not isolated.  This
leads to sandbox violations during `ruby setup.rb install` when the
ebuild tries to install directly to
/usr/lib/ruby/site_ruby/1.8/comedi.rb rather than
${D}/usr/lib/ruby/site_ruby/1.8/comedi.rb.

error message:
   * Call stack:
   *     ebuild.sh, line  56:  Called src_install
   *   environment, line 5179:  Called die
   * The specific snippet of code:
   *           ruby setup.rb install || die "ruby setup.rb install failed";

chmod sandbox violation:
  F: chmod
  S: deny
  P: /usr/lib/ruby/site_ruby/1.8/comedi.rb
  A: /usr/lib/ruby/site_ruby/1.8/comedi.rb
  R: /usr/lib/ruby/site_ruby/1.8/comedi.rb
  C: ruby setup.rb install
and an identical violation with `F: open_wr`.

[1] Set by dev-ruby/rubygems via /etc/env.d/10rubygems.

13 years agoUpdate Comedi related ebuilds now that upstream moved from CVS to Git.
W. Trevor King [Tue, 22 Mar 2011 18:49:05 +0000 (14:49 -0400)]
Update Comedi related ebuilds now that upstream moved from CVS to Git.

13 years agoUpdate comedilib's econf call to use EPREFIX and fix localstatedir.
W. Trevor King [Wed, 9 Feb 2011 04:28:26 +0000 (23:28 -0500)]
Update comedilib's econf call to use EPREFIX and fix localstatedir.

13 years agoRemove comedilib-9999-comedi.i.patch.
W. Trevor King [Fri, 31 Dec 2010 19:05:45 +0000 (14:05 -0500)]
Remove comedilib-9999-comedi.i.patch.

Changes accepted upstream:

revision 1.13
date: 2010-12-20 09:50:21 -0500;
author: abbotti;
state: Exp;
lines: +16 -2;
commitid: bYxCcTeCEsZcX11v;

Add sampl_t and lsampl_t array_class()es to comedi.i.

This makes it easier (possible?) to setup comedi_insn_struct and
comedi_cmd_struct instances.

Patch from W. Trevor King.

13 years agoUpdate to EAPI 3 and fix several repoman issues.
W. Trevor King [Fri, 31 Dec 2010 18:26:14 +0000 (13:26 -0500)]
Update to EAPI 3 and fix several repoman issues.

I believe the remaining repoman issues are due to:

* some dependency packages in overlays (vs. the main Portage tree)
* some packages only supporting version controlled source (makes it
  hard to depend on a specific version)

Neither one of these will cause me to loose sleep ;).

13 years agoAdd sampl_t and lsaml_t array_class()es to comedi.i.
W. Trevor King [Sat, 18 Dec 2010 20:25:08 +0000 (15:25 -0500)]
Add sampl_t and lsaml_t array_class()es to comedi.i.

13 years agoFinal comedilib setup.py patch accepted upstream.
W. Trevor King [Fri, 17 Dec 2010 19:35:35 +0000 (14:35 -0500)]
Final comedilib setup.py patch accepted upstream.

revision 1.3
date: 2010-12-17 08:56:26 -0500;
author: abbotti;
state: Exp;
lines: +1 -1;
commitid: 7KcV6XG9dDCVKD0v;

Adjust setup.py to link against libtool's lib/.libs/.
Patch from W. Trevor King.

13 years agoAdapt to upsteam's partial acceptance of the comedilib setup.py patch.
W. Trevor King [Fri, 17 Dec 2010 13:50:50 +0000 (08:50 -0500)]
Adapt to upsteam's partial acceptance of the comedilib setup.py patch.

13 years agoComedilib comedilib.pc.in and setup.rb patches merged upstream.
W. Trevor King [Wed, 15 Dec 2010 14:39:37 +0000 (09:39 -0500)]
Comedilib comedilib.pc.in and setup.rb patches merged upstream.

$ cvs log comedilib.pc.in
...
revision 1.2
date: 2010-12-14 09:41:55 -0500;
author: abbotti;
state: Exp;
lines: +1 -1;
commitid: JoFyUjr1kr0t6g0v;

Add -lm to comedilib.pc.in Libs.
Patch from W. Trevor King.
...

$ cvs log swig/ruby/setup.rb
...
revision 1.3
date: 2010-12-14 09:37:18 -0500;
author: abbotti;
state: Exp;
lines: +3 -0;
commitid: 2pQqTp57JCuS4g0v;

Import DESTDIR in swig/ruby/setup.rb for configurable rbconfig install paths.
Patch from W. Trevor King.
...

13 years agoFix comedilib.pc.in and use pkg-config in the demo/Makefile patch.
W. Trevor King [Sat, 11 Dec 2010 16:28:45 +0000 (11:28 -0500)]
Fix comedilib.pc.in and use pkg-config in the demo/Makefile patch.

13 years agoPatch comedilib demo/Makefile so it successfully compiles after installation.
W. Trevor King [Sat, 11 Dec 2010 16:06:59 +0000 (11:06 -0500)]
Patch comedilib demo/Makefile so it successfully compiles after installation.

13 years agoInstall demo/.deps in comedilib-9999.ebuild.
W. Trevor King [Sat, 11 Dec 2010 14:23:55 +0000 (09:23 -0500)]
Install demo/.deps in comedilib-9999.ebuild.

13 years agoUse pushd/popd instead of repeated `cd X/cd "${S}"` calls in comedilib-9999.ebuild.
W. Trevor King [Sat, 11 Dec 2010 13:44:42 +0000 (08:44 -0500)]
Use pushd/popd instead of repeated `cd X/cd "${S}"` calls in comedilib-9999.ebuild.

This removes the assumption that the build process was in ${S} at the
beginning of the block.  It also fixes problems with glob expansion as
explained below:

From the Pathname Expansion section of bash(1), pathname expansion
happens after word splitting, and therefore before variable expansion.
A simple example of this is
  tmp $ echo "${PWD}/*"
  /tmp/*
when I had originally expected the same output as
  pushd /tmp/; echo *; popd
  /tmp /tmp
  file1 file2 file3 ...
  /tmp

13 years agoAdjust comedilib-9999-setup.py.patch to link against libtool's lib/.libs/
W. Trevor King [Sat, 11 Dec 2010 12:57:35 +0000 (07:57 -0500)]
Adjust comedilib-9999-setup.py.patch to link against libtool's lib/.libs/

13 years agoFix ruby installation in comedilib-9999.ebuild.
W. Trevor King [Sat, 11 Dec 2010 12:21:17 +0000 (07:21 -0500)]
Fix ruby installation in comedilib-9999.ebuild.

Also:
* Move assorted /usr/share/doc/${PF}/*.conf into /usr/share/doc/${PF}/etc/
* Remove /usr/share/doc/${PF}/ if the doc USE flag is not set
* Only run distutils_pkg_postinst if the python USE flag is set

13 years agoCorrect PYTHON_MODNAME (add .py) in comedilib-9999.ebuild.
W. Trevor King [Thu, 9 Dec 2010 03:23:28 +0000 (22:23 -0500)]
Correct PYTHON_MODNAME (add .py) in comedilib-9999.ebuild.

13 years agoCleanup doc demo installation for comedilib-9999.ebuild.
W. Trevor King [Thu, 9 Dec 2010 03:00:39 +0000 (22:00 -0500)]
Cleanup doc demo installation for comedilib-9999.ebuild.

The previous implementation installed compiled object and binary files
as well as the demo source.  There's a Makefile handy, so people can
easily compile the demo programs on their own if they want.

13 years agoFix python installation in comedilib-9999.ebuild.
W. Trevor King [Thu, 9 Dec 2010 02:39:46 +0000 (21:39 -0500)]
Fix python installation in comedilib-9999.ebuild.

Also:
* Install demo code when `doc` USE flag is set.
* Don't install comedi_calibrate man page, since we don't install a
  comedi_calibrate binary.

13 years agoBump to sci-libs/comedilib-9999 and add sci-misc/comedi-headers-9999.
W. Trevor King [Wed, 8 Dec 2010 19:37:56 +0000 (14:37 -0500)]
Bump to sci-libs/comedilib-9999 and add sci-misc/comedi-headers-9999.

The tricky part is handling /usr/include/comedi.h, which is supplied
by:

* the kernel's staging comedi drivers (but not installed)
    drivers/staging/comedi/comedi.h
* the Comedi module (installed via sci-misc/comedi-headers):
    include/linux/comedi.h
* the Comedilib module (not installed)
    include/comedi.h

The current CSV sources are very similar, but there are reasonable
differences with the staging version.  Hopefully everything works out
;).

The dependency setup is based on media-libs/alsa-lib and
media-sound/alsa-headers, which have to deal with a similar setup (in
kernal driver, out of kernal driver, and userspace library).

13 years agoAdded A. Griffis' CVS-based comedilib-0.7.22.ebuild.
Aron Griffis [Wed, 8 Dec 2010 16:53:54 +0000 (11:53 -0500)]
Added A. Griffis' CVS-based comedilib-0.7.22.ebuild.

From
  http://www.gentoo-wiki.info/HOWTO_RTAI_and_COMEDI_on_2.6_Kernel

13 years agoUpdated SRC_URI in comedilib-0.7.21.ebuild.
W. Trevor King [Wed, 8 Dec 2010 16:50:44 +0000 (11:50 -0500)]
Updated SRC_URI in comedilib-0.7.21.ebuild.

13 years agoAdded sci-libs/comedilib.
W. Trevor King [Wed, 8 Dec 2010 16:35:43 +0000 (11:35 -0500)]
Added sci-libs/comedilib.

From
  http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-libs/comedilib/?hideattic=0
which was removed from the Portage tree in 2006.