summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2014-03-12 12:04:24 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2014-03-12 12:04:24 +0000
commit929ce7919cba66b6063326d051f8885dd79f98fa (patch)
treece21439eccf664977989d83e334306831d2324cc /sci-libs/linux-gpib
parentRe-unite multilib mask to avoid comments in the middle as that breaks app-por... (diff)
downloadgentoo-2-929ce7919cba66b6063326d051f8885dd79f98fa.tar.gz
gentoo-2-929ce7919cba66b6063326d051f8885dd79f98fa.tar.bz2
gentoo-2-929ce7919cba66b6063326d051f8885dd79f98fa.zip
Remove old
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 94BFDF4484AD142F)
Diffstat (limited to 'sci-libs/linux-gpib')
-rw-r--r--sci-libs/linux-gpib/ChangeLog8
-rw-r--r--sci-libs/linux-gpib/files/linux-gpib-3.2.16-kernel-3.4-asm-includes.patch59
-rw-r--r--sci-libs/linux-gpib/files/linux-gpib-3.2.17-kernel37.patch280
-rw-r--r--sci-libs/linux-gpib/linux-gpib-3.2.19.ebuild182
-rw-r--r--sci-libs/linux-gpib/linux-gpib-3.2.20.ebuild183
5 files changed, 7 insertions, 705 deletions
diff --git a/sci-libs/linux-gpib/ChangeLog b/sci-libs/linux-gpib/ChangeLog
index 465b4a957b70..640aedd41507 100644
--- a/sci-libs/linux-gpib/ChangeLog
+++ b/sci-libs/linux-gpib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/linux-gpib
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/linux-gpib/ChangeLog,v 1.29 2014/03/12 05:29:17 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/linux-gpib/ChangeLog,v 1.30 2014/03/12 12:04:23 dilfridge Exp $
+
+ 12 Mar 2014; Andreas K. Huettel <dilfridge@gentoo.org>
+ -files/linux-gpib-3.2.16-kernel-3.4-asm-includes.patch,
+ -files/linux-gpib-3.2.17-kernel37.patch, -linux-gpib-3.2.19.ebuild,
+ -linux-gpib-3.2.20.ebuild:
+ Remove old
09 Mar 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org>
linux-gpib-3.2.20-r1.ebuild:
diff --git a/sci-libs/linux-gpib/files/linux-gpib-3.2.16-kernel-3.4-asm-includes.patch b/sci-libs/linux-gpib/files/linux-gpib-3.2.16-kernel-3.4-asm-includes.patch
deleted file mode 100644
index 40024c2b338d..000000000000
--- a/sci-libs/linux-gpib/files/linux-gpib-3.2.16-kernel-3.4-asm-includes.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff -Pdpru a/drivers/gpib/cb7210/cb7210_cs.c b/drivers/gpib/cb7210/cb7210_cs.c
---- a/drivers/gpib/cb7210/cb7210_cs.c 2011-04-08 23:01:38.000000000 +0200
-+++ b/drivers/gpib/cb7210/cb7210_cs.c 2012-05-28 10:45:35.120662078 +0200
-@@ -34,7 +34,9 @@
- #include <linux/version.h>
- #include <linux/module.h>
- #include <asm/io.h>
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
- #include <asm/system.h>
-+#endif
-
- #include <pcmcia/cs_types.h>
- #include <pcmcia/cs.h>
-diff -Pdpru a/drivers/gpib/ines/ines_cs.c b/drivers/gpib/ines/ines_cs.c
---- a/drivers/gpib/ines/ines_cs.c 2010-08-25 19:45:09.000000000 +0200
-+++ b/drivers/gpib/ines/ines_cs.c 2012-05-28 10:45:56.823537008 +0200
-@@ -31,7 +31,9 @@
- #include <linux/version.h>
- #include <linux/module.h>
- #include <asm/io.h>
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
- #include <asm/system.h>
-+#endif
-
- #include <pcmcia/cs_types.h>
- #include <pcmcia/cs.h>
-diff -Pdpru a/drivers/gpib/sys/ibsys.h b/drivers/gpib/sys/ibsys.h
---- a/drivers/gpib/sys/ibsys.h 2006-12-21 21:43:40.000000000 +0100
-+++ b/drivers/gpib/sys/ibsys.h 2012-05-28 11:38:56.261736416 +0200
-@@ -10,13 +10,15 @@
- #include <linux/slab.h>
- #include <linux/mm.h>
- #include <linux/timer.h>
-+#include <linux/version.h>
-
- #include <asm/io.h>
--#include <asm/segment.h>
- #include <asm/irq.h>
- #include <asm/dma.h>
- #include <asm/uaccess.h>
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
- #include <asm/system.h>
-+#endif
-
- extern int gpib_allocate_board( gpib_board_t *board );
- extern void gpib_deallocate_board( gpib_board_t *board );
-diff -Pdpru a/drivers/gpib/tnt4882/tnt4882_cs.c b/drivers/gpib/tnt4882/tnt4882_cs.c
---- a/drivers/gpib/tnt4882/tnt4882_cs.c 2010-08-25 19:47:55.000000000 +0200
-+++ b/drivers/gpib/tnt4882/tnt4882_cs.c 2012-05-28 10:44:59.929243930 +0200
-@@ -34,7 +34,9 @@
- #include <linux/version.h>
- #include <linux/ioport.h>
- #include <asm/io.h>
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
- #include <asm/system.h>
-+#endif
-
- #include <pcmcia/cs_types.h>
- #include <pcmcia/cs.h>
diff --git a/sci-libs/linux-gpib/files/linux-gpib-3.2.17-kernel37.patch b/sci-libs/linux-gpib/files/linux-gpib-3.2.17-kernel37.patch
deleted file mode 100644
index 385d46241c57..000000000000
--- a/sci-libs/linux-gpib/files/linux-gpib-3.2.17-kernel37.patch
+++ /dev/null
@@ -1,280 +0,0 @@
-Index: ChangeLog
-===================================================================
---- ChangeLog (revision 1599)
-+++ ChangeLog (revision 1600)
-@@ -1,3 +1,211 @@
-+
-+2013-04-19 03:08 fmhess
-+
-+ * [r1599] drivers/gpib/tnt4882/tnt4882.h: Fixed compile error.
-+
-+2013-03-04 03:01 fmhess
-+
-+ * [r1598] doc/linux-gpib.sgml, drivers/gpib/tnt4882/tnt4882.h,
-+ drivers/gpib/tnt4882/tnt4882_init.c: Added pci device id for
-+ CEC-488, which is a rebranded NI board.
-+
-+2012-12-20 08:13 dpenkler
-+
-+ * [r1596] ChangeLog: Updated Changelog with svn log entries
-+
-+2012-12-19 15:52 dpenkler
-+
-+ * [r1593] ChangeLog, configure.ac: bumped version
-+
-+2012-09-03 23:51 fmhess
-+
-+ * [r1592] drivers/gpib/cb7210/cb7210_cs.c,
-+ drivers/gpib/ines/ines_cs.c, drivers/gpib/tnt4882/tnt4882_cs.c:
-+ Removed more includes of kernel's obsolete asm/system.h
-+
-+2012-09-03 23:42 fmhess
-+
-+ * [r1591] drivers/gpib/sys/ibsys.h: Removed an include that breaks
-+ compilation on 3.5.3 kernel.
-+ Checked that it still compiles against a 2.6.32 kernel.
-+
-+2012-09-03 23:41 fmhess
-+
-+ * [r1590] drivers/gpib/ni_usb/ni_usb_gpib.h: Removed a garbage
-+ character at the end of an include line.
-+
-+2012-04-25 04:29 fmhess
-+
-+ * [r1589] drivers/gpib/agilent_82357a/agilent_82357a.c: Fix check
-+ of return value from mutex_trylock.
-+
-+2012-01-28 18:26 fmhess
-+
-+ * [r1588] language/python/Gpib.py: Patch from Thomas Baldwin:
-+
-+ This changes the object-oriented version of the python binding
-+ (Gpib.py) to use a new-style class rather than an old-style
-+ class. This is a useful enhancement for subclassing Gpib in user
-+ code - e.g., modifying the read() method to strip termination
-+ characters using python's super() builtin.
-+
-+ New-style classes were introduced in python 2.2 - so they're not
-+ so new anymore.
-+
-+2012-01-28 18:03 fmhess
-+
-+ * [r1587] drivers/gpib/ni_usb/ni_usb_gpib.c: Tweaked printk.
-+
-+2012-01-28 17:45 fmhess
-+
-+ * [r1586] drivers/gpib/ni_usb/ni_usb_gpib.c: Applied patch from
-+ Jakub Schmidtke, fixes driver rejection of
-+ some kusb boards due to reading unexpected bytes (whose meaning
-+ I never figured out).
-+
-+2011-12-21 03:10 fmhess
-+
-+ * [r1585] drivers/gpib/cec/init.c, drivers/gpib/ines/ines_init.c:
-+ Added a couple missing includes.
-+
-+2011-09-29 22:44 fmhess
-+
-+ * [r1584] doc/linux-gpib.sgml: Added KUSB-488A to supported
-+ hardware list.
-+
-+2011-09-29 22:40 fmhess
-+
-+ * [r1583] AUTHORS: Added patch sender to AUTHORS file.
-+
-+2011-09-29 22:39 fmhess
-+
-+ * [r1582] drivers/gpib/ni_usb/ni_usb_gpib.c,
-+ drivers/gpib/ni_usb/ni_usb_gpib.h: Patch to add support for
-+ KUSB-488A from Albert Comerma <albert.comerma@gmail.com>
-+
-+2011-08-21 15:40 fmhess
-+
-+ * [r1581] language/python/gpibinter.c: Patch from Dmitri
-+ Iouchtchenko:
-+
-+ If the global interpreter lock (GIL) is held during a
-+ long-running
-+ I/O operation, all threads of the Python program hang for the
-+ duration of the operation. This patch releases the GIL around the
-+ ib* calls in the Python interface.
-+
-+2011-07-28 18:45 fmhess
-+
-+ * [r1580] drivers/gpib/tnt4882/tnt4882_cs.c: ni pcimcia board
-+ doesn't have io memory.
-+
-+2011-07-18 20:19 fmhess
-+
-+ * [r1579] drivers/gpib/cb7210/cb7210_cs.c,
-+ drivers/gpib/include/pcmcia, drivers/gpib/ines/ines_cs.c,
-+ drivers/gpib/tnt4882/tnt4882_cs.c: Fixed pcmcia compile errors
-+ against 2.6.39 kernel. Dropped support for
-+ pcmcia with kernels older than 2.6.36.
-+
-+2011-06-30 15:57 fmhess
-+
-+ * [r1578] drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c: Patch from
-+ Marcello carla':
-+
-+ Here is a short patch to correct a bug in
-+ handling timeout in the lpvo_usb_gpib
-+ driver (signaled to me by Dr. U. Straube).
-+
-+2011-06-28 13:51 fmhess
-+
-+ * [r1577] drivers/gpib/sys/ibwait.c, drivers/gpib/sys/osfuncs.c:
-+ Get rid of extra mutex unlock in ibwait.
-+
-+2011-06-07 21:33 fmhess
-+
-+ * [r1576] drivers/gpib/include/linux/semaphore.h: Added
-+ compatibility header to deal with move of semaphore.h kernel
-+ header from asm/ to linux/.
-+
-+2011-05-11 01:20 fmhess
-+
-+ * [r1575] drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c: Applied patch
-+ from Marcello Carla:
-+
-+ add timeout handling and minor adjustments.
-+
-+2011-05-11 01:18 fmhess
-+
-+ * [r1574] doc/linux-gpib.sgml: Added lpvo_usb_gpib to
-+ documentation, from Marcello Carla.
-+
-+2011-04-29 17:57 fmhess
-+
-+ * [r1573] drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c: Patch from
-+ Marcello Carla'
-+
-+2011-04-29 17:56 fmhess
-+
-+ * [r1572] drivers/gpib/lpvo_usb_gpib/Makefile: Added missing
-+ Makefile for lpvo_usb_gpib.
-+
-+2011-04-29 14:52 fmhess
-+
-+ * [r1571] drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c: Adapted some
-+ code from Linux 2.6.38 tty_set_termios() function for
-+ use in lpvo_usb_gpib.c.
-+
-+2011-04-29 14:23 fmhess
-+
-+ * [r1570] drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c: Fix check for
-+ of write() return value.
-+
-+2011-04-29 14:18 fmhess
-+
-+ * [r1569] AUTHORS, drivers/gpib/Makefile,
-+ drivers/gpib/lpvo_usb_gpib,
-+ drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c: Added lpvo_usb_gpib
-+ driver from Marcello Carla.
-+
-+2011-04-08 21:57 fmhess
-+
-+ * [r1567] README: Updated copyright.
-+
-+2011-04-08 21:42 fmhess
-+
-+ * [r1566] ChangeLog: Updated ChangeLog with "svn2cl -i"
-+
-+2011-04-08 21:02 fmhess
-+
-+ * [r1565] ChangeLog: Updated ChangeLog with "svn2cl -i".
-+
-+2011-04-08 21:01 fmhess
-+
-+ * [r1564] configure.ac: Bumped version.
-+
-+2011-04-08 20:34 fmhess
-+
-+ * [r1563] drivers/gpib/include/gpib_types.h,
-+ drivers/gpib/sys/autopoll.c, drivers/gpib/sys/device.c,
-+ drivers/gpib/sys/ibinit.c, drivers/gpib/sys/ibutil.c,
-+ drivers/gpib/sys/ibwait.c, drivers/gpib/sys/osfuncs.c,
-+ drivers/gpib/sys/osinit.c, drivers/gpib/sys/osutil.c: Cope with
-+ loss of "big kernel lock" in 2.6.39 kernel.
-+
-+2011-04-07 14:53 fmhess
-+
-+ * [r1562] drivers/gpib/agilent_82357a/agilent_82357a.c,
-+ drivers/gpib/agilent_82357a/agilent_82357a.h,
-+ drivers/gpib/ni_usb/ni_usb_gpib.c,
-+ drivers/gpib/ni_usb/ni_usb_gpib.h: Convert mutex usage in drivers
-+ from old linux/semaphore.h based stuff
-+ to linux/mutex.h.
-+
-+2010-08-25 18:00 fmhess
-+
-+ * [r1560] ChangeLog: More updates of ChangeLog for 3.2.15 with
-+ "svn2cl -i"
-+
- 2012-12-19 21:02 dpenkler
-
- * [r1593] configure.ac: Bumped version to 3.2.17
-Index: drivers/gpib/pc2/pc2_init.c
-===================================================================
---- drivers/gpib/pc2/pc2_init.c (revision 1599)
-+++ drivers/gpib/pc2/pc2_init.c (revision 1600)
-@@ -22,7 +22,7 @@
- #include <linux/sched.h>
- #include <linux/module.h>
- #include <linux/slab.h>
--#include <asm/dma.h>
-+#include <asm-generic/dma.h>
- #include <linux/pci.h>
- #include <linux/string.h>
- #include <linux/init.h>
-Index: drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
-===================================================================
---- drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c (revision 1599)
-+++ drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c (revision 1600)
-@@ -416,6 +416,8 @@
- tty = (struct tty_struct *)f->private_data;
-
- mutex_lock(&tty->termios_mutex);
-+
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
- old_termios = * tty->termios;
- tty->termios->c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP
- | INLCR | IGNCR | ICRNL | IXON);
-@@ -431,7 +433,24 @@
- (*tty->ops->set_termios)(tty, &old_termios);
- else
- tty_termios_copy_hw(tty->termios, &old_termios);
-+#else
-+ old_termios = tty->termios;
-+ tty->termios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP
-+ | INLCR | IGNCR | ICRNL | IXON);
-+ tty->termios.c_oflag &= ~OPOST;
-+ tty->termios.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
-+ tty->termios.c_cflag &= ~(CSIZE | PARENB);
-+ tty->termios.c_cflag |= CS8;
-
-+ tty->termios.c_cc[VTIME] = 0;
-+ tty->termios.c_cc[VMIN] = 1;
-+
-+ if (tty->ops->set_termios)
-+ (*tty->ops->set_termios)(tty, &old_termios);
-+ else
-+ tty_termios_copy_hw(&tty->termios, &old_termios);
-+#endif
-+
- ld = tty_ldisc_ref(tty);
- if (ld != NULL) {
- if (ld->ops->set_termios)
-Index: drivers/gpib/tnt4882/tnt4882_init.c
-===================================================================
---- drivers/gpib/tnt4882/tnt4882_init.c (revision 1599)
-+++ drivers/gpib/tnt4882/tnt4882_init.c (revision 1600)
-@@ -731,7 +731,7 @@
- };
- MODULE_DEVICE_TABLE(pci, tnt4882_pci_table);
-
--static const struct pnp_device_id tnt4882_pnp_table[] __devinitdata =
-+static const struct pnp_device_id tnt4882_pnp_table[] =
- {
- {.id = "NICC601"},
- {.id = ""}
diff --git a/sci-libs/linux-gpib/linux-gpib-3.2.19.ebuild b/sci-libs/linux-gpib/linux-gpib-3.2.19.ebuild
deleted file mode 100644
index f7b9fecbaf1a..000000000000
--- a/sci-libs/linux-gpib/linux-gpib-3.2.19.ebuild
+++ /dev/null
@@ -1,182 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/linux-gpib/linux-gpib-3.2.19.ebuild,v 1.4 2014/01/06 14:40:12 jlec Exp $
-
-EAPI=4
-
-PERL_EXPORT_PHASE_FUNCTIONS=no
-GENTOO_DEPEND_ON_PERL=no
-PYTHON_DEPEND="python? 2"
-
-inherit eutils linux-mod autotools perl-module python toolchain-funcs udev user
-
-DESCRIPTION="Kernel module and driver library for GPIB (IEEE 488.2) hardware"
-HOMEPAGE="http://linux-gpib.sourceforge.net/"
-SRC_URI="mirror://sourceforge/linux-gpib/${P}.tar.gz
- firmware? ( http://linux-gpib.sourceforge.net/firmware/gpib_firmware-2006-11-12.tar.gz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm x86"
-IUSE="pcmcia static debug guile perl php python tcl doc firmware"
-
-COMMONDEPEND="
- tcl? ( dev-lang/tcl )
- guile? ( dev-scheme/guile )
- perl? ( dev-lang/perl )
- php? ( dev-lang/php )
- firmware? ( sys-apps/fxload )"
-RDEPEND="${COMMONDEPEND}"
-DEPEND="${COMMONDEPEND}
- virtual/pkgconfig
- doc? ( app-text/docbook-sgml-utils )
- perl? ( virtual/perl-ExtUtils-MakeMaker )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.2.15-build.patch
- "${FILESDIR}"/${PN}-3.2.16-perl.patch
- "${FILESDIR}"/${PN}-3.2.16-reallydie.patch
-)
-
-pkg_setup () {
- use perl && perl-module_pkg_setup
- python_pkg_setup
- python_set_active_version 2
- linux-mod_pkg_setup
-
- if kernel_is -lt 2 6 8; then
- die "Kernel versions older than 2.6.8 are not supported."
- fi
-
- # https://sourceforge.net/tracker/?func=detail&aid=3285657&group_id=42378&atid=432940
- if use pcmcia && kernel_is -ge 2 6 38; then
- die "pcmcia support is broken on kernels newer 2.6.38"
- fi
-}
-
-src_prepare () {
- epatch ${PATCHES[@]}
- epatch_user
- eautoreconf
-}
-
-src_configure() {
- set_arch_to_kernel
- export PYTHON=$(PYTHON -2 -a)
- econf \
- $(use_enable pcmcia) \
- $(use_enable static) \
- $(use_enable debug driver-debug) \
- $(use_enable guile guile-binding) \
- $(use_enable perl perl-binding) \
- $(use_enable php php-binding) \
- $(use_enable python python-binding) \
- $(use_enable tcl tcl-binding) \
- $(use_enable doc documentation) \
- --with-linux-srcdir=${KV_DIR}
-}
-
-src_compile() {
- set_arch_to_kernel
- FIRM_DIR=/usr/share/usb
- emake \
- DESTDIR="${D}" \
- INSTALL_MOD_PATH="${D}" \
- HOTPLUG_USB_CONF_DIR="${D}"/etc/hotplug/usb \
- USB_FIRMWARE_DIR="${D}"${FIRM_DIR} \
- docdir=/usr/share/doc/${PF}/html
-}
-
-src_install() {
- set_arch_to_kernel
- FIRM_DIR=/usr/share/usb
- emake \
- DESTDIR="${D}" \
- INSTALL_MOD_PATH="${D}" \
- HOTPLUG_USB_CONF_DIR="${D}"/etc/hotplug/usb \
- USB_FIRMWARE_DIR="${D}"${FIRM_DIR} \
- docdir=/usr/share/doc/${PF}/html install
-
- if use perl; then
- einfo "Installing perl module"
- cd "${S}"/language/perl || die
- DESTDIR=${D} perl-module_src_install
- cd "${S}" || die
- fi
-
- echo "KERNEL==\"gpib[0-9]*\", MODE=\"0660\", GROUP=\"gpib\"" >> 99-gpib.rules
- udev_dorules 99-gpib.rules
-
- dodoc doc/linux-gpib.pdf ChangeLog AUTHORS README* NEWS
-
- insinto /etc
- newins util/templates/gpib.conf gpib.conf
- newins util/templates/gpib.conf gpib.conf.example
-
- if use pcmcia; then
- dodir /etc/pcmcia
- insinto /etc/pcmcia
- doins "${S}"/etc/pcmcia/*
- fi
-
- if use firmware; then
- insinto "${FIRM_DIR}"/agilent_82357a
- doins "${WORKDIR}"/gpib_firmware-2006-11-12/agilent_82357a/*
-
- insinto "${FIRM_DIR}"/ni_gpib_usb_b
- doins "${WORKDIR}"/gpib_firmware-2006-11-12/ni_gpib_usb_b/*
-
- insinto /usr/share/linux-gpib/hp_82341
- # do not install precompiled generate_firmware
- doins "${WORKDIR}"/gpib_firmware-2006-11-12/hp_82341/{*.bin,README}
- fi
-}
-
-pkg_preinst () {
- linux-mod_pkg_preinst
- use perl && perl-module_pkg_preinst
- enewgroup gpib
-}
-
-pkg_postinst () {
- linux-mod_pkg_postinst
- use perl && perl-module_pkg_postinst
-
- einfo "You need to run the 'gpib_config' utility to setup the driver before"
- einfo "you can use it. In order to do it automatically you can add to your"
- einfo "start script something like this (supposing the appropriate driver"
- einfo "is loaded on the startup):"
- einfo " gpib_config --minor 0"
- einfo ""
- einfo "To give a user access to the computer's gpib board you will have to add"
- einfo "them to the group 'gpib' or, you could change the permissions on the device"
- einfo "files /dev/gpib[0-15] to something you like better, using 'chmod'."
- einfo ""
- einfo "Edit /etc/gpib.conf to match your interface board, and any devices you wish"
- einfo "to open via ibfind(). See the documentation in /usr/share/linux-gpib/html for"
- einfo "more information."
- einfo ""
-
- if use pcmcia; then
- einfo "For PCMCIA cards:"
- einfo "All files needed for a PCMCIA board were copied to /etc/pcmcia."
- einfo "You may wish to edit the options passed to the gpib_config call in the"
- einfo "/etc/pcmcia/linux-gpib-pcmcia script."
- einfo "You may need to send a SIGHUP signal to the cardmgr daemon to force it"
- einfo "to reload the files in /etc/pcmcia (alternatively you could use your"
- einfo "pcmcia init.d script to restart the cardmgr, or you could just reboot)."
- einfo "The driver module will be loaded as needed by the cardmgr."
- einfo ""
- fi
-
- if use firmware; then
- einfo "For Agilent (HP) 82341C and 82341D cards:"
- einfo "The firmware for these boards is uploaded by passing the appropriate"
- einfo "firmware file from /usr/share/linux-gpib/hp_82341 directory to"
- einfo "gpib_config using the -I or --init-data command line option. Example:"
- einfo "gpib_config --minor 0 --init-data \\"
- einfo "/usr/share/linux-gpib/hp_82341/hp_82341c_fw.bin"
- einfo ""
- fi
-
-}
diff --git a/sci-libs/linux-gpib/linux-gpib-3.2.20.ebuild b/sci-libs/linux-gpib/linux-gpib-3.2.20.ebuild
deleted file mode 100644
index 7f84882ad81e..000000000000
--- a/sci-libs/linux-gpib/linux-gpib-3.2.20.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/linux-gpib/linux-gpib-3.2.20.ebuild,v 1.3 2014/01/06 14:40:12 jlec Exp $
-
-EAPI=4
-
-PERL_EXPORT_PHASE_FUNCTIONS=no
-GENTOO_DEPEND_ON_PERL=no
-PYTHON_DEPEND="python? 2"
-
-inherit eutils linux-mod autotools perl-module python toolchain-funcs udev user
-
-DESCRIPTION="Kernel module and driver library for GPIB (IEEE 488.2) hardware"
-HOMEPAGE="http://linux-gpib.sourceforge.net/"
-SRC_URI="mirror://sourceforge/linux-gpib/${P}.tar.gz
- firmware? ( http://linux-gpib.sourceforge.net/firmware/gpib_firmware-2006-11-12.tar.gz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="isa pcmcia static debug guile perl php python tcl doc firmware"
-
-COMMONDEPEND="
- tcl? ( dev-lang/tcl )
- guile? ( dev-scheme/guile )
- perl? ( dev-lang/perl )
- php? ( dev-lang/php )
- firmware? ( sys-apps/fxload )"
-RDEPEND="${COMMONDEPEND}"
-DEPEND="${COMMONDEPEND}
- virtual/pkgconfig
- doc? ( app-text/docbook-sgml-utils )
- perl? ( virtual/perl-ExtUtils-MakeMaker )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.2.15-build.patch
- "${FILESDIR}"/${PN}-3.2.16-perl.patch
- "${FILESDIR}"/${PN}-3.2.16-reallydie.patch
-)
-
-pkg_setup () {
- use perl && perl-module_pkg_setup
- python_pkg_setup
- python_set_active_version 2
- linux-mod_pkg_setup
-
- if kernel_is -lt 2 6 8; then
- die "Kernel versions older than 2.6.8 are not supported."
- fi
-
- # https://sourceforge.net/tracker/?func=detail&aid=3285657&group_id=42378&atid=432940
- if use pcmcia && kernel_is -ge 2 6 38; then
- die "pcmcia support is broken on kernels newer 2.6.38"
- fi
-}
-
-src_prepare () {
- epatch ${PATCHES[@]}
- epatch_user
- eautoreconf
-}
-
-src_configure() {
- set_arch_to_kernel
- export PYTHON=$(PYTHON -2 -a)
- econf \
- $(use_enable isa) \
- $(use_enable pcmcia) \
- $(use_enable static) \
- $(use_enable debug driver-debug) \
- $(use_enable guile guile-binding) \
- $(use_enable perl perl-binding) \
- $(use_enable php php-binding) \
- $(use_enable python python-binding) \
- $(use_enable tcl tcl-binding) \
- $(use_enable doc documentation) \
- --with-linux-srcdir=${KV_DIR}
-}
-
-src_compile() {
- set_arch_to_kernel
- FIRM_DIR=/usr/share/usb
- emake \
- DESTDIR="${D}" \
- INSTALL_MOD_PATH="${D}" \
- HOTPLUG_USB_CONF_DIR="${D}"/etc/hotplug/usb \
- USB_FIRMWARE_DIR="${D}"${FIRM_DIR} \
- docdir=/usr/share/doc/${PF}/html
-}
-
-src_install() {
- set_arch_to_kernel
- FIRM_DIR=/usr/share/usb
- emake \
- DESTDIR="${D}" \
- INSTALL_MOD_PATH="${D}" \
- HOTPLUG_USB_CONF_DIR="${D}"/etc/hotplug/usb \
- USB_FIRMWARE_DIR="${D}"${FIRM_DIR} \
- docdir=/usr/share/doc/${PF}/html install
-
- if use perl; then
- einfo "Installing perl module"
- cd "${S}"/language/perl || die
- DESTDIR=${D} perl-module_src_install
- cd "${S}" || die
- fi
-
- echo "KERNEL==\"gpib[0-9]*\", MODE=\"0660\", GROUP=\"gpib\"" >> 99-gpib.rules
- udev_dorules 99-gpib.rules
-
- dodoc doc/linux-gpib.pdf ChangeLog AUTHORS README* NEWS
-
- insinto /etc
- newins util/templates/gpib.conf gpib.conf
- newins util/templates/gpib.conf gpib.conf.example
-
- if use pcmcia; then
- dodir /etc/pcmcia
- insinto /etc/pcmcia
- doins "${S}"/etc/pcmcia/*
- fi
-
- if use firmware; then
- insinto "${FIRM_DIR}"/agilent_82357a
- doins "${WORKDIR}"/gpib_firmware-2006-11-12/agilent_82357a/*
-
- insinto "${FIRM_DIR}"/ni_gpib_usb_b
- doins "${WORKDIR}"/gpib_firmware-2006-11-12/ni_gpib_usb_b/*
-
- insinto /usr/share/linux-gpib/hp_82341
- # do not install precompiled generate_firmware
- doins "${WORKDIR}"/gpib_firmware-2006-11-12/hp_82341/{*.bin,README}
- fi
-}
-
-pkg_preinst () {
- linux-mod_pkg_preinst
- use perl && perl-module_pkg_preinst
- enewgroup gpib
-}
-
-pkg_postinst () {
- linux-mod_pkg_postinst
- use perl && perl-module_pkg_postinst
-
- einfo "You need to run the 'gpib_config' utility to setup the driver before"
- einfo "you can use it. In order to do it automatically you can add to your"
- einfo "start script something like this (supposing the appropriate driver"
- einfo "is loaded on the startup):"
- einfo " gpib_config --minor 0"
- einfo ""
- einfo "To give a user access to the computer's gpib board you will have to add"
- einfo "them to the group 'gpib' or, you could change the permissions on the device"
- einfo "files /dev/gpib[0-15] to something you like better, using 'chmod'."
- einfo ""
- einfo "Edit /etc/gpib.conf to match your interface board, and any devices you wish"
- einfo "to open via ibfind(). See the documentation in /usr/share/linux-gpib/html for"
- einfo "more information."
- einfo ""
-
- if use pcmcia; then
- einfo "For PCMCIA cards:"
- einfo "All files needed for a PCMCIA board were copied to /etc/pcmcia."
- einfo "You may wish to edit the options passed to the gpib_config call in the"
- einfo "/etc/pcmcia/linux-gpib-pcmcia script."
- einfo "You may need to send a SIGHUP signal to the cardmgr daemon to force it"
- einfo "to reload the files in /etc/pcmcia (alternatively you could use your"
- einfo "pcmcia init.d script to restart the cardmgr, or you could just reboot)."
- einfo "The driver module will be loaded as needed by the cardmgr."
- einfo ""
- fi
-
- if use firmware; then
- einfo "For Agilent (HP) 82341C and 82341D cards:"
- einfo "The firmware for these boards is uploaded by passing the appropriate"
- einfo "firmware file from /usr/share/linux-gpib/hp_82341 directory to"
- einfo "gpib_config using the -I or --init-data command line option. Example:"
- einfo "gpib_config --minor 0 --init-data \\"
- einfo "/usr/share/linux-gpib/hp_82341/hp_82341c_fw.bin"
- einfo ""
- fi
-
-}