Gentoo Archives: gentoo-commits

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/xnec2c/, sci-electronics/xnec2c/files/
Date: Sat, 25 Jun 2022 16:37:56
Message-Id: 1656175053.83169a31d6ad82a729b692c963721d486a8a52ec.tomjbe@gentoo
1 commit: 83169a31d6ad82a729b692c963721d486a8a52ec
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 16:36:43 2022 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 16:37:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83169a31
7
8 sci-electronics/xnec2c: drop 4.1.1, 4.4.5, 4.4.7
9
10 Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
11
12 sci-electronics/xnec2c/Manifest | 3 --
13 .../xnec2c/files/xnec2c-4.4.5-musl.patch | 63 ----------------------
14 sci-electronics/xnec2c/xnec2c-4.1.1.ebuild | 41 --------------
15 sci-electronics/xnec2c/xnec2c-4.4.5.ebuild | 53 ------------------
16 sci-electronics/xnec2c/xnec2c-4.4.7.ebuild | 49 -----------------
17 5 files changed, 209 deletions(-)
18
19 diff --git a/sci-electronics/xnec2c/Manifest b/sci-electronics/xnec2c/Manifest
20 index 1e51c2d52d97..eb5069f605ab 100644
21 --- a/sci-electronics/xnec2c/Manifest
22 +++ b/sci-electronics/xnec2c/Manifest
23 @@ -1,4 +1 @@
24 -DIST xnec2c-4.1.1.tar.bz2 947969 BLAKE2B 81794dc557d5cc845043be97e07b628e69dcd26fddb3886d11bf31374eba0187491ad9787187f8f4a19cf04f644288c680d3b8778a7b6e144209951b25bbfbf1 SHA512 3a97521f568d79158d5d224958e4cb3708de8214476ba228f9ce0ac122899eb9b06f596d5b0c43a85a18dbd6d86e0751f1a70128c14dd8972f10deeb5a1db980
25 DIST xnec2c-v4.4.11.tar.gz 1061014 BLAKE2B f7af594a1f97b0ad9d93b57235afaf04a8500768396c49608c96849b761828206f2c48afbdb067c9a4138732d4d4e6ad7f6f90a5a547487928efdfe77d3bad88 SHA512 9b5bf71ae45b4d70030eb78793d54d2aa8691afcfcb398b8b23be6508d77a510e5e8a26b6c978b9ea6031fbf5903fd765263d4b19691011187daf58feac612e2
26 -DIST xnec2c-v4.4.5.tar.gz 972268 BLAKE2B d68b525324ddc8a621e7b186364031b3739210aea9581347e1fa38916eefb97f7ef3d7e5b8f673d9fd514dea36815ebc3f9d17d3a6eea26af90d5981ad738828 SHA512 8edf19357d619bfc9fcf2ed29380b51d8dc5e8dd1f7fa798a01f15652e0c5c65217e1e8797be6118a655d124dcf1fe8f3d959744128d75afef5c60738864d3cc
27 -DIST xnec2c-v4.4.7.tar.gz 977084 BLAKE2B 1bf17da252e9a1a38613a7d0e808f190ddb704af9903b897fdd5d68f1942d0c65ac43e9daa6d10b311c866733e96d216f3f610b6d5e7f957ad0230e6e35cfb8d SHA512 d9ed8bf0eaa43fb4cf77997e71af6c70c5be120e2979ea6036af20caa1886897a543f7d7ec75df907f3f1c2adf55e1c4fa5e95f9fde034ebdfc51e932aaf674e
28
29 diff --git a/sci-electronics/xnec2c/files/xnec2c-4.4.5-musl.patch b/sci-electronics/xnec2c/files/xnec2c-4.4.5-musl.patch
30 deleted file mode 100644
31 index a995463224b0..000000000000
32 --- a/sci-electronics/xnec2c/files/xnec2c-4.4.5-musl.patch
33 +++ /dev/null
34 @@ -1,63 +0,0 @@
35 -diff --git a/src/mathlib.c b/src/mathlib.c
36 -index 5354240..b28033e 100644
37 ---- a/src/mathlib.c
38 -+++ b/src/mathlib.c
39 -@@ -155,9 +155,6 @@ int open_mathlib(mathlib_t *lib)
40 - return 0;
41 - }
42 -
43 -- if (dlinfo(lib->handle, RTLD_DI_LMID, &lib->lmid) == -1)
44 -- printf("dlinfo: %s: %s\n", lib->lib, dlerror());
45 --
46 - // Call the init() function if configured
47 - if (lib->init != NULL)
48 - lib->init(lib);
49 -@@ -217,14 +214,7 @@ void init_mathlib()
50 - mathlibs[libidx].available = 1;
51 -
52 - // At this point the library load was successful, provide detail:
53 -- if (mathlibs[libidx].handle != NULL)
54 -- {
55 -- char lpath[PATH_MAX];
56 -- dlinfo(mathlibs[libidx].handle, RTLD_DI_ORIGIN, lpath);
57 -- printf(" loaded ok: %s/%s\n", lpath, mathlibs[libidx].lib);
58 -- }
59 -- else
60 -- printf(" loaded ok.\n");
61 -+ printf(" loaded ok.\n");
62 -
63 - // Set the default to the first one we find:
64 - if (current_mathlib == NULL)
65 -diff --git a/src/utils.c b/src/utils.c
66 -index b803402..1462df2 100644
67 ---- a/src/utils.c
68 -+++ b/src/utils.c
69 -@@ -17,7 +17,7 @@
70 - * https://www.xnec2c.org/
71 - */
72 -
73 --#include <execinfo.h>
74 -+//#include <execinfo.h>
75 -
76 - #include "utils.h"
77 - #include "shared.h"
78 -@@ -736,18 +736,7 @@ void _print_backtrace(char **strings)
79 - // Return an array of backtrace strings. The value returned must be free()'ed.
80 - char **_get_backtrace()
81 - {
82 -- void *array[10];
83 -- char **strings;
84 -- int size;
85 --
86 -- size = backtrace(array, 10);
87 -- strings = backtrace_symbols(array, size);
88 --
89 -- // This wastes an array entry, but allows _print_backtrace() to find
90 -- // the end of the list without realloc'ing space for a NULL:
91 -- strings[size-1] = NULL;
92 --
93 -- return strings;
94 -+ return NULL;
95 - }
96 -
97 - void print_backtrace(char *msg)
98
99 diff --git a/sci-electronics/xnec2c/xnec2c-4.1.1.ebuild b/sci-electronics/xnec2c/xnec2c-4.1.1.ebuild
100 deleted file mode 100644
101 index caca0d5d56eb..000000000000
102 --- a/sci-electronics/xnec2c/xnec2c-4.1.1.ebuild
103 +++ /dev/null
104 @@ -1,41 +0,0 @@
105 -# Copyright 1999-2020 Gentoo Authors
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=7
109 -
110 -inherit xdg-utils
111 -
112 -DESCRIPTION="A GTK+ graphical interactive version of nec2c"
113 -HOMEPAGE="https://www.qsl.net/5b4az/pages/nec2.html"
114 -SRC_URI="https://www.qsl.net/5b4az/pkg/nec2/xnec2c/${P}.tar.bz2"
115 -
116 -LICENSE="GPL-2"
117 -SLOT="0"
118 -KEYWORDS="amd64 x86"
119 -IUSE="doc examples"
120 -
121 -RDEPEND="dev-libs/glib:2
122 - x11-libs/gtk+:3"
123 -DEPEND="${RDEPEND}
124 - sys-devel/gettext"
125 -
126 -src_install() {
127 - default
128 - rm -R "${D}/usr/share/doc/${PN}" || die
129 -
130 - docompress -x /usr/share/man
131 - dodoc AUTHORS README doc/*.txt
132 - use doc && dodoc -r doc/*.html doc/images
133 - if use examples ; then
134 - docinto examples
135 - dodoc examples/*
136 - fi
137 -}
138 -
139 -pkg_postinst() {
140 - xdg_icon_cache_update
141 -}
142 -
143 -pkg_postrm() {
144 - xdg_icon_cache_update
145 -}
146
147 diff --git a/sci-electronics/xnec2c/xnec2c-4.4.5.ebuild b/sci-electronics/xnec2c/xnec2c-4.4.5.ebuild
148 deleted file mode 100644
149 index 6c495a7c80f8..000000000000
150 --- a/sci-electronics/xnec2c/xnec2c-4.4.5.ebuild
151 +++ /dev/null
152 @@ -1,53 +0,0 @@
153 -# Copyright 1999-2022 Gentoo Authors
154 -# Distributed under the terms of the GNU General Public License v2
155 -
156 -EAPI=8
157 -
158 -inherit autotools xdg-utils
159 -
160 -MY_P=${PN}-v${PV}
161 -
162 -DESCRIPTION="A GTK+ graphical interactive version of nec2c"
163 -HOMEPAGE="https://www.xnec2c.org"
164 -SRC_URI="https://www.xnec2c.org/releases/${MY_P}.tar.gz"
165 -
166 -LICENSE="GPL-2"
167 -SLOT="0"
168 -KEYWORDS="~amd64 ~x86"
169 -IUSE="doc examples"
170 -
171 -RDEPEND="dev-libs/glib:2
172 - x11-libs/gtk+:3"
173 -DEPEND="${RDEPEND}
174 - sys-devel/gettext"
175 -
176 -PATCHES=( "${FILESDIR}/$PN-4.4.5-musl.patch" )
177 -
178 -S="${WORKDIR}/${MY_P}"
179 -
180 -src_prepare() {
181 - eapply_user
182 - eapply ${PATCHES[@]}
183 - eautoreconf
184 -}
185 -
186 -src_install() {
187 - default
188 - docompress -x /usr/share/man
189 -
190 - rm -R "${D}/usr/share/doc/${P}" || die
191 - dodoc AUTHORS README.md doc/*.txt
192 - use doc && dodoc -r doc/*.html doc/images
193 -
194 - if ! use examples ; then
195 - rm -R "${D}/usr/share/${PN}/examples" || die
196 - fi
197 -}
198 -
199 -pkg_postinst() {
200 - xdg_icon_cache_update
201 -}
202 -
203 -pkg_postrm() {
204 - xdg_icon_cache_update
205 -}
206
207 diff --git a/sci-electronics/xnec2c/xnec2c-4.4.7.ebuild b/sci-electronics/xnec2c/xnec2c-4.4.7.ebuild
208 deleted file mode 100644
209 index c9403b6d6ff4..000000000000
210 --- a/sci-electronics/xnec2c/xnec2c-4.4.7.ebuild
211 +++ /dev/null
212 @@ -1,49 +0,0 @@
213 -# Copyright 1999-2022 Gentoo Authors
214 -# Distributed under the terms of the GNU General Public License v2
215 -
216 -EAPI=8
217 -
218 -inherit autotools xdg-utils
219 -
220 -MY_P=${PN}-v${PV}
221 -
222 -DESCRIPTION="A GTK+ graphical interactive version of nec2c"
223 -HOMEPAGE="https://www.xnec2c.org"
224 -SRC_URI="https://www.xnec2c.org/releases/${MY_P}.tar.gz"
225 -
226 -LICENSE="GPL-2"
227 -SLOT="0"
228 -KEYWORDS="~amd64 ~x86"
229 -IUSE="doc examples"
230 -
231 -RDEPEND="dev-libs/glib:2
232 - x11-libs/gtk+:3"
233 -DEPEND="${RDEPEND}
234 - sys-devel/gettext"
235 -
236 -S="${WORKDIR}/${MY_P}"
237 -
238 -src_prepare() {
239 - eapply_user
240 - eautoreconf
241 -}
242 -src_install() {
243 - default
244 - docompress -x /usr/share/man
245 -
246 - rm -R "${D}/usr/share/doc/${P}" || die
247 - dodoc AUTHORS README.md doc/*.txt
248 - use doc && dodoc -r doc/*.html doc/images
249 -
250 - if ! use examples ; then
251 - rm -R "${D}/usr/share/${PN}/examples" || die
252 - fi
253 -}
254 -
255 -pkg_postinst() {
256 - xdg_icon_cache_update
257 -}
258 -
259 -pkg_postrm() {
260 - xdg_icon_cache_update
261 -}