commit:     83169a31d6ad82a729b692c963721d486a8a52ec
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 16:36:43 2022 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 16:37:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83169a31

sci-electronics/xnec2c: drop 4.1.1, 4.4.5, 4.4.7

Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 sci-electronics/xnec2c/Manifest                    |  3 --
 .../xnec2c/files/xnec2c-4.4.5-musl.patch           | 63 ----------------------
 sci-electronics/xnec2c/xnec2c-4.1.1.ebuild         | 41 --------------
 sci-electronics/xnec2c/xnec2c-4.4.5.ebuild         | 53 ------------------
 sci-electronics/xnec2c/xnec2c-4.4.7.ebuild         | 49 -----------------
 5 files changed, 209 deletions(-)

diff --git a/sci-electronics/xnec2c/Manifest b/sci-electronics/xnec2c/Manifest
index 1e51c2d52d97..eb5069f605ab 100644
--- a/sci-electronics/xnec2c/Manifest
+++ b/sci-electronics/xnec2c/Manifest
@@ -1,4 +1 @@
-DIST xnec2c-4.1.1.tar.bz2 947969 BLAKE2B 
81794dc557d5cc845043be97e07b628e69dcd26fddb3886d11bf31374eba0187491ad9787187f8f4a19cf04f644288c680d3b8778a7b6e144209951b25bbfbf1
 SHA512 
3a97521f568d79158d5d224958e4cb3708de8214476ba228f9ce0ac122899eb9b06f596d5b0c43a85a18dbd6d86e0751f1a70128c14dd8972f10deeb5a1db980
 DIST xnec2c-v4.4.11.tar.gz 1061014 BLAKE2B 
f7af594a1f97b0ad9d93b57235afaf04a8500768396c49608c96849b761828206f2c48afbdb067c9a4138732d4d4e6ad7f6f90a5a547487928efdfe77d3bad88
 SHA512 
9b5bf71ae45b4d70030eb78793d54d2aa8691afcfcb398b8b23be6508d77a510e5e8a26b6c978b9ea6031fbf5903fd765263d4b19691011187daf58feac612e2
-DIST xnec2c-v4.4.5.tar.gz 972268 BLAKE2B 
d68b525324ddc8a621e7b186364031b3739210aea9581347e1fa38916eefb97f7ef3d7e5b8f673d9fd514dea36815ebc3f9d17d3a6eea26af90d5981ad738828
 SHA512 
8edf19357d619bfc9fcf2ed29380b51d8dc5e8dd1f7fa798a01f15652e0c5c65217e1e8797be6118a655d124dcf1fe8f3d959744128d75afef5c60738864d3cc
-DIST xnec2c-v4.4.7.tar.gz 977084 BLAKE2B 
1bf17da252e9a1a38613a7d0e808f190ddb704af9903b897fdd5d68f1942d0c65ac43e9daa6d10b311c866733e96d216f3f610b6d5e7f957ad0230e6e35cfb8d
 SHA512 
d9ed8bf0eaa43fb4cf77997e71af6c70c5be120e2979ea6036af20caa1886897a543f7d7ec75df907f3f1c2adf55e1c4fa5e95f9fde034ebdfc51e932aaf674e

diff --git a/sci-electronics/xnec2c/files/xnec2c-4.4.5-musl.patch 
b/sci-electronics/xnec2c/files/xnec2c-4.4.5-musl.patch
deleted file mode 100644
index a995463224b0..000000000000
--- a/sci-electronics/xnec2c/files/xnec2c-4.4.5-musl.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff --git a/src/mathlib.c b/src/mathlib.c
-index 5354240..b28033e 100644
---- a/src/mathlib.c
-+++ b/src/mathlib.c
-@@ -155,9 +155,6 @@ int open_mathlib(mathlib_t *lib)
-               return 0;
-       }
- 
--      if (dlinfo(lib->handle, RTLD_DI_LMID, &lib->lmid) == -1)
--              printf("dlinfo: %s: %s\n", lib->lib, dlerror());
--
-       // Call the init() function if configured
-       if (lib->init != NULL)
-               lib->init(lib);
-@@ -217,14 +214,7 @@ void init_mathlib()
-                       mathlibs[libidx].available = 1;
- 
-               // At this point the library load was successful, provide 
detail:
--              if (mathlibs[libidx].handle != NULL)
--              {
--                      char lpath[PATH_MAX];
--                      dlinfo(mathlibs[libidx].handle, RTLD_DI_ORIGIN, lpath);
--                      printf("  loaded ok: %s/%s\n", lpath, 
mathlibs[libidx].lib);
--              }
--              else
--                      printf("  loaded ok.\n");
-+              printf("  loaded ok.\n");
- 
-               // Set the default to the first one we find:
-               if (current_mathlib == NULL)
-diff --git a/src/utils.c b/src/utils.c
-index b803402..1462df2 100644
---- a/src/utils.c
-+++ b/src/utils.c
-@@ -17,7 +17,7 @@
-  *    https://www.xnec2c.org/
-  */
- 
--#include <execinfo.h>
-+//#include <execinfo.h>
- 
- #include "utils.h"
- #include "shared.h"
-@@ -736,18 +736,7 @@ void _print_backtrace(char **strings)
- // Return an array of backtrace strings.  The value returned must be 
free()'ed.
- char **_get_backtrace()
- {
--      void *array[10];
--      char **strings;
--      int size;
--
--      size = backtrace(array, 10);
--      strings = backtrace_symbols(array, size);
--
--      // This wastes an array entry, but allows _print_backtrace() to find
--      // the end of the list without realloc'ing space for a NULL:
--      strings[size-1] = NULL;
--
--      return strings;
-+      return NULL;
- }
- 
- void print_backtrace(char *msg)

diff --git a/sci-electronics/xnec2c/xnec2c-4.1.1.ebuild 
b/sci-electronics/xnec2c/xnec2c-4.1.1.ebuild
deleted file mode 100644
index caca0d5d56eb..000000000000
--- a/sci-electronics/xnec2c/xnec2c-4.1.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg-utils
-
-DESCRIPTION="A GTK+ graphical interactive version of nec2c"
-HOMEPAGE="https://www.qsl.net/5b4az/pages/nec2.html";
-SRC_URI="https://www.qsl.net/5b4az/pkg/nec2/xnec2c/${P}.tar.bz2";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples"
-
-RDEPEND="dev-libs/glib:2
-       x11-libs/gtk+:3"
-DEPEND="${RDEPEND}
-       sys-devel/gettext"
-
-src_install() {
-       default
-       rm -R "${D}/usr/share/doc/${PN}" || die
-
-       docompress -x /usr/share/man
-       dodoc AUTHORS README doc/*.txt
-       use doc && dodoc -r doc/*.html doc/images
-       if use examples ; then
-               docinto examples
-               dodoc examples/*
-       fi
-}
-
-pkg_postinst() {
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-}

diff --git a/sci-electronics/xnec2c/xnec2c-4.4.5.ebuild 
b/sci-electronics/xnec2c/xnec2c-4.4.5.ebuild
deleted file mode 100644
index 6c495a7c80f8..000000000000
--- a/sci-electronics/xnec2c/xnec2c-4.4.5.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools xdg-utils
-
-MY_P=${PN}-v${PV}
-
-DESCRIPTION="A GTK+ graphical interactive version of nec2c"
-HOMEPAGE="https://www.xnec2c.org";
-SRC_URI="https://www.xnec2c.org/releases/${MY_P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples"
-
-RDEPEND="dev-libs/glib:2
-       x11-libs/gtk+:3"
-DEPEND="${RDEPEND}
-       sys-devel/gettext"
-
-PATCHES=( "${FILESDIR}/$PN-4.4.5-musl.patch" )
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-       eapply_user
-       eapply ${PATCHES[@]}
-       eautoreconf
-}
-
-src_install() {
-       default
-       docompress -x /usr/share/man
-
-       rm -R "${D}/usr/share/doc/${P}" || die
-       dodoc AUTHORS README.md doc/*.txt
-       use doc && dodoc -r doc/*.html doc/images
-
-       if ! use examples ; then
-               rm -R "${D}/usr/share/${PN}/examples" || die
-       fi
-}
-
-pkg_postinst() {
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-}

diff --git a/sci-electronics/xnec2c/xnec2c-4.4.7.ebuild 
b/sci-electronics/xnec2c/xnec2c-4.4.7.ebuild
deleted file mode 100644
index c9403b6d6ff4..000000000000
--- a/sci-electronics/xnec2c/xnec2c-4.4.7.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools xdg-utils
-
-MY_P=${PN}-v${PV}
-
-DESCRIPTION="A GTK+ graphical interactive version of nec2c"
-HOMEPAGE="https://www.xnec2c.org";
-SRC_URI="https://www.xnec2c.org/releases/${MY_P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples"
-
-RDEPEND="dev-libs/glib:2
-       x11-libs/gtk+:3"
-DEPEND="${RDEPEND}
-       sys-devel/gettext"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-       eapply_user
-       eautoreconf
-}
-src_install() {
-       default
-       docompress -x /usr/share/man
-
-       rm -R "${D}/usr/share/doc/${P}" || die
-       dodoc AUTHORS README.md doc/*.txt
-       use doc && dodoc -r doc/*.html doc/images
-
-       if ! use examples ; then
-               rm -R "${D}/usr/share/${PN}/examples" || die
-       fi
-}
-
-pkg_postinst() {
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-}

Reply via email to