wtk-overlay.git
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.