1 |
commit: 5024892a8bb08c2ac00c3ee7d751a78665383736 |
2 |
Author: Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 28 14:15:08 2019 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 28 14:15:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5024892a |
7 |
|
8 |
sci-libs/linux-gpib: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
sci-libs/linux-gpib/Manifest | 1 - |
14 |
sci-libs/linux-gpib/linux-gpib-4.2.0_rc1.ebuild | 170 ------------------------ |
15 |
2 files changed, 171 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/linux-gpib/Manifest b/sci-libs/linux-gpib/Manifest |
18 |
index 49f6727082c..9b896099423 100644 |
19 |
--- a/sci-libs/linux-gpib/Manifest |
20 |
+++ b/sci-libs/linux-gpib/Manifest |
21 |
@@ -1,4 +1,3 @@ |
22 |
DIST gpib_firmware-2006-11-12.tar.gz 169357 BLAKE2B 05f1be78545e025d76e2b9819a5dcac5a6715dfbb6df5c6fbe8b78900adf8ca7b1c28db350674ff1dd9c77e24507e98b536ca1af8b558c9a46ef8c25034c9769 SHA512 164d6fcfb3af43933f0a16645276f7d527a7aa24ef311f6ae3dcd7f45c41f92c855cf221bc946772f43fc2f9524057abc34bbd7d805c89b33ed7e111bc6870af |
23 |
DIST linux-gpib-4.1.0.tar.gz 1529480 BLAKE2B b49df07f15d0f91b9d475052993421979d6776ef15aaa9b7e49632db9018f0cbd9ff38d12e2afa9e8027202e450dfc487ac9e2e6ab719086646d983cc41b3482 SHA512 037ed9e484a83caccb15d2d142eef6f1eec356ae972480ca7a676a318d3e9f844fc1911c1b30869b4bb14ef0b4cd10587a803426df9145966bafe22ca7316bd8 |
24 |
DIST linux-gpib-4.2.0.tar.gz 1431440 BLAKE2B 7b6adf562963e0785f960c072f3f3d67cb91df9090205d8fecb0dc3170d3a1ac3719732919bae112e06b47387499ffe49a0144e72caa27ba39c85c8b98e56786 SHA512 1505c2c04f16bf7e92b9dd474f09edd242520a96f9e4d8eea88ebd44d0a82d653055155c1bfcde69da5355d609d400e3cb682da8aae83f59f1e565307a3fc4a7 |
25 |
-DIST linux-gpib-user-4.2.0_rc1.tar.gz 1098181 BLAKE2B 3f35eacfcffe04598322af6faed921b20b49959433b6e3c3a4bb2c0b9e3f71a2c00a13d7dec6b4e0bc415f1f8635945419805d5c9dec4ddcddb18fc7e8c5e7b4 SHA512 69d8b3059eab8d1d09006b4da13dbf3479c9a9d45e464767a13a2b1d6d32705e91e2800ca79015d302ea05e4fcbddb433dd817d208d751b6af8ac3867b7cee78 |
26 |
|
27 |
diff --git a/sci-libs/linux-gpib/linux-gpib-4.2.0_rc1.ebuild b/sci-libs/linux-gpib/linux-gpib-4.2.0_rc1.ebuild |
28 |
deleted file mode 100644 |
29 |
index daf645239b6..00000000000 |
30 |
--- a/sci-libs/linux-gpib/linux-gpib-4.2.0_rc1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,170 +0,0 @@ |
33 |
-# Copyright 1999-2018 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
- |
38 |
-PYTHON_COMPAT=( python2_7 python3_6 python3_7 ) |
39 |
- |
40 |
-inherit readme.gentoo-r1 autotools perl-functions python-single-r1 toolchain-funcs udev user |
41 |
- |
42 |
-DESCRIPTION="Driver library for GPIB (IEEE 488.2) hardware" |
43 |
-HOMEPAGE="https://linux-gpib.sourceforge.io/" |
44 |
-SRC_URI="mirror://sourceforge/linux-gpib/${PN}-user-${PV}.tar.gz |
45 |
- firmware? ( https://linux-gpib.sourceforge.io/firmware/gpib_firmware-2006-11-12.tar.gz ) |
46 |
-" |
47 |
- |
48 |
-LICENSE="GPL-2" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~amd64 ~arm ~x86" |
51 |
-IUSE="pcmcia static guile perl php python tcl doc firmware" |
52 |
- |
53 |
-S="${WORKDIR}/${PN}-user-${PV}" |
54 |
- |
55 |
-COMMONDEPEND=" |
56 |
- sys-libs/readline:= |
57 |
- tcl? ( dev-lang/tcl:0= ) |
58 |
- guile? ( dev-scheme/guile:12 ) |
59 |
- perl? ( dev-lang/perl:= ) |
60 |
- php? ( dev-lang/php:= ) |
61 |
- python? ( ${PYTHON_DEPS} ) |
62 |
- firmware? ( sys-apps/fxload )" |
63 |
-RDEPEND="${COMMONDEPEND} |
64 |
- ~sci-libs/linux-gpib-modules-${PV} |
65 |
-" |
66 |
-DEPEND="${COMMONDEPEND} |
67 |
- virtual/pkgconfig |
68 |
- doc? ( app-text/docbook-sgml-utils ) |
69 |
- perl? ( virtual/perl-ExtUtils-MakeMaker )" |
70 |
- |
71 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
72 |
- |
73 |
-PATCHES=( |
74 |
- "${FILESDIR}"/${PN}-3.2.16-perl.patch |
75 |
-) |
76 |
- |
77 |
-pkg_setup () { |
78 |
- use perl && perl_set_version |
79 |
- use python && python_setup |
80 |
-} |
81 |
- |
82 |
-src_prepare () { |
83 |
- default |
84 |
- eautoreconf |
85 |
-} |
86 |
- |
87 |
-src_configure() { |
88 |
- econf \ |
89 |
- $(use_enable static) \ |
90 |
- $(use_enable guile guile-binding) \ |
91 |
- $(use_enable perl perl-binding) \ |
92 |
- $(use_enable php php-binding) \ |
93 |
- $(use_enable python python-binding) \ |
94 |
- $(use_enable tcl tcl-binding) \ |
95 |
- $(use_enable doc documentation) |
96 |
-} |
97 |
- |
98 |
-src_compile() { |
99 |
- FIRM_DIR=/usr/share/usb |
100 |
- emake \ |
101 |
- DESTDIR="${D}" \ |
102 |
- INSTALL_MOD_PATH="${D}" \ |
103 |
- HOTPLUG_USB_CONF_DIR=/etc/hotplug/usb \ |
104 |
- UDEV_RULES_DIR="$(get_udevdir)"/rules.d \ |
105 |
- USB_FIRMWARE_DIR=${FIRM_DIR} \ |
106 |
- docdir=/usr/share/doc/${PF}/html |
107 |
-} |
108 |
- |
109 |
-src_install() { |
110 |
- FIRM_DIR=/usr/share/usb |
111 |
- emake \ |
112 |
- DESTDIR="${D}" \ |
113 |
- INSTALL_MOD_PATH="${D}" \ |
114 |
- HOTPLUG_USB_CONF_DIR=/etc/hotplug/usb \ |
115 |
- UDEV_RULES_DIR="$(get_udevdir)"/rules.d \ |
116 |
- USB_FIRMWARE_DIR=${FIRM_DIR} \ |
117 |
- docdir=/usr/share/doc/${PF}/html install |
118 |
- |
119 |
- if use perl; then |
120 |
- einfo "Installing perl module" |
121 |
- cd "${S}"/language/perl || die |
122 |
- DESTDIR=${D} emake install |
123 |
- perl_fix_packlist |
124 |
- perl_delete_emptybsdir |
125 |
- cd "${S}" || die |
126 |
- fi |
127 |
- |
128 |
- echo "KERNEL==\"gpib[0-9]*\", MODE=\"0660\", GROUP=\"gpib\"" >> 99-gpib.rules |
129 |
- udev_dorules 99-gpib.rules |
130 |
- |
131 |
- dodoc doc/linux-gpib.pdf ChangeLog AUTHORS README* NEWS |
132 |
- |
133 |
- insinto /etc |
134 |
- newins util/templates/gpib.conf gpib.conf |
135 |
- newins util/templates/gpib.conf gpib.conf.example |
136 |
- |
137 |
- if use pcmcia; then |
138 |
- dodir /etc/pcmcia |
139 |
- insinto /etc/pcmcia |
140 |
- doins "${S}"/etc/pcmcia/* |
141 |
- fi |
142 |
- |
143 |
- # fix rules files |
144 |
- local f |
145 |
- find "${D}$(get_udevdir)"/rules.d -type f -print0 | while read -rd '' f ; do |
146 |
- grep -q "${D}" "${f}" && einfo "File ${f} contains a temporary path, fixing." |
147 |
- sed -i -e "s:${D}:/:g" "${f}" |
148 |
- done |
149 |
- |
150 |
- DOC_CONTENTS=" |
151 |
-You need to run the 'gpib_config' utility to setup the driver before |
152 |
-you can use it. In order to do it automatically you can add to your |
153 |
-start script something like this (supposing the appropriate driver |
154 |
-is loaded on the startup): |
155 |
-\n |
156 |
- gpib_config --minor 0 |
157 |
-\n |
158 |
-To give a user access to the computer's gpib board you will have to add |
159 |
-them to the group 'gpib' or, you could change the permissions on the device |
160 |
-files /dev/gpib[0-15] to something you like better, using 'chmod' |
161 |
-\n |
162 |
-Edit /etc/gpib.conf to match your interface board, and any devices you wish |
163 |
-to open via ibfind(). See the documentation in /usr/share/linux-gpib/html for |
164 |
-more information. |
165 |
-\n |
166 |
-" |
167 |
- |
168 |
- if use pcmcia; then |
169 |
- DOC_CONTENTS+=' |
170 |
-For PCMCIA cards:\n |
171 |
-All files needed for a PCMCIA board were copied to /etc/pcmcia. |
172 |
-You may wish to edit the options passed to the gpib_config call in the |
173 |
-/etc/pcmcia/linux-gpib-pcmcia script. |
174 |
-You may need to send a SIGHUP signal to the cardmgr daemon to force it |
175 |
-to reload the files in /etc/pcmcia \(alternatively you could use your |
176 |
-pcmcia init.d script to restart the cardmgr, or you could just reboot\). |
177 |
-The driver module will be loaded as needed by the cardmgr. |
178 |
- |
179 |
-' |
180 |
- fi |
181 |
- |
182 |
- if use firmware; then |
183 |
- DOC_CONTENTS+=' |
184 |
-For Agilent \(HP\) 82341C and 82341D cards: |
185 |
-The firmware for these boards is uploaded by passing the appropriate |
186 |
-firmware file from /usr/share/linux-gpib/hp_82341 directory to |
187 |
-gpib_config using the -I or --init-data command line option. Example:\n |
188 |
-gpib_config --minor 0 --init-data /usr/share/linux-gpib/hp_82341/hp_82341c_fw.bin |
189 |
-' |
190 |
- fi |
191 |
- |
192 |
- readme.gentoo_create_doc |
193 |
-} |
194 |
- |
195 |
-pkg_preinst () { |
196 |
- use perl && perl_set_version |
197 |
- enewgroup gpib |
198 |
-} |
199 |
- |
200 |
-pkg_postinst () { |
201 |
- readme.gentoo_print_elog |
202 |
-} |