commit:     77611a184d5074e55550eebbb9b42ea0ed106244
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  5 17:44:15 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Jul  5 17:48:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77611a18

sci-electronics/gspiceui: drop 1.1.0, 1.2.87-r1

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sci-electronics/gspiceui/Manifest                  |  1 -
 .../gspiceui/files/gspiceui-1.1.0-flags.patch      | 26 -------
 sci-electronics/gspiceui/gspiceui-1.1.0.ebuild     | 85 ----------------------
 sci-electronics/gspiceui/gspiceui-1.2.87-r1.ebuild | 83 ---------------------
 4 files changed, 195 deletions(-)

diff --git a/sci-electronics/gspiceui/Manifest 
b/sci-electronics/gspiceui/Manifest
index 226356f48245..b15a5fcc43e7 100644
--- a/sci-electronics/gspiceui/Manifest
+++ b/sci-electronics/gspiceui/Manifest
@@ -1,3 +1,2 @@
 DIST gspiceui-1.3.30_pre20240321.zip 80103549 BLAKE2B 
5cdbd2338dd057d73a01572e75a7af145bca99f3e9339d259ae3615076e26a5c1614eecdd1e32cd669ecdd2a5cc1e3934dc3d3f1b36980c7a2eed7c6c15e1bb6
 SHA512 
736f7eafbaa26c3d9b3fa0df1ae5071adf21c0716519a99a0b9d199aa10a0dd402273de51d2e16b07be4c145ab2d34e133c515a8cfbb44068aa46cdc36a20658
-DIST gspiceui-v1.1.00.tar.gz 1048236 BLAKE2B 
cc3d14137517cd26687dabac7e001e7518fee91aedc74f1995ac763873345f2965c3edb4e037ecb6ac8ca874289b2e658fe3185d95b3eeaf2b349efab151f37b
 SHA512 
46ccf3dd7a5dd9ec1cac1eb742187ecab15a6c0033467d52a44c916e239696faf7b8797e1a155191cf0ed37b04619b0666cff51e78912a06ecd2c63d377cba93
 DIST gspiceui-v1.2.87.tar.gz 1089733 BLAKE2B 
c1801bfebd5d42fe9c1ab26e6fd0cb06b56cac53bbad272522896325e5fd979e6fcc63d6f99262b152180f249b5b2d4aa119aa83254a2fc07256574c9ebaef10
 SHA512 
081d04c39f4fb96139f12fa063dfb888e036948a00a6b55de3b04a49b2b4af01b45fd9b7f903855d798a71957452550dfa8c8505c167c239e27ada29cb6fa747

diff --git a/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch 
b/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch
deleted file mode 100644
index b6c3d36a544e..000000000000
--- a/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -69,13 +69,7 @@
- #  -Ofast     Optimize till it hurts : "-O3" + enable opts not valid for all 
standard-compliants
- #  -Os        Optimize for size
- #  -Og        Optimize debugging experience but don't break debugging
--ifeq ($(GSPICEUI_DBG),0)
--  # Options for release (not using -Wall since it's GCC specific)
--  CXXFLAGS := -O1 -pipe $(shell $(WXCFG) --cxxflags)
--else
--  # Options for development
--  CXXFLAGS := -g -Og -Wall -Wextra -pipe $(shell $(WXCFG) --cxxflags)
--endif
-+  CXXFLAGS += $(shell $(WXCFG) --cxxflags)
- 
- # The following suppresses spurious warnings from gcc with wxWidgets v2.8.12
- ifeq ($(GSPICEUI_WXLIB),2.8)
-@@ -134,7 +128,7 @@
- #   -o     specify the output file name
- 
- $(BINDIR)/$(PROG) : $(OBJS)
--      $(CXX) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS)
-+      $(CXX) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LDFLAGS) $(LIBS)
- ifeq ($(ROOT)/GSpiceUI.app,$(wildcard $(ROOT)/GSpiceUI.app))
-       cp $(BINDIR)/$(PROG) $(ROOT)/GSpiceUI.app/Contents/MacOS/gspiceui
- endif

diff --git a/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild 
b/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild
deleted file mode 100644
index d16a8b170d38..000000000000
--- a/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-WX_GTK_VER="3.0"
-inherit desktop flag-o-matic toolchain-funcs wxwidgets
-
-MY_P="${PN}-v${PV}0"
-
-DESCRIPTION="GUI frontend for Ngspice and Gnucap"
-HOMEPAGE="https://sourceforge.net/projects/gspiceui/";
-SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz";
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE="examples schematics waveform"
-
-DEPEND="
-       x11-libs/wxGTK:${WX_GTK_VER}[X]
-       sci-electronics/electronics-menu"
-RDEPEND="
-       ${DEPEND}
-       || (
-               sci-electronics/ngspice
-               sci-electronics/gnucap
-       )
-       waveform? ( sci-electronics/gwave )
-       schematics? ( sci-electronics/geda )"
-
-PATCHES=(
-       # Use Gentoo LDFLAGS and CXXFLAGS
-       "${FILESDIR}"/${P}-flags.patch
-)
-
-src_prepare() {
-       default
-
-       # Adjusting the doc path at src/main/HelpTasks.cpp
-       sed -i -e \
-               
"s:/share/gspiceui/html/User-Manual.html:/share/doc/${PF}/html/User-Manual.html:g"
 \
-               src/main/HelpTasks.cpp || die
-
-       # Adjusting call to gwave program
-       sed -i -e "s/gwave2/gwave/g" src/TypeDefs.hpp || die
-}
-
-src_configure() {
-       setup-wxwidgets
-
-       # bug 553968
-       replace-flags -O? -O1
-
-       default
-}
-
-src_compile() {
-       emake CXX="$(tc-getCXX)"
-}
-
-src_install() {
-       dobin bin/gspiceui
-
-       HTML_DOCS=( html/*.html html/*.jpg html/*.png )
-       einstalldocs
-       dodoc ChangeLog ReadMe ToDo release-notes-v1.1.00.txt
-       doman gspiceui.1
-
-       # installing examples and according model and symbol files
-       use examples && dodoc -r lib sch
-
-       newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm
-       make_desktop_entry gspiceui "GNU Spice GUI" gspiceui "Electronics"
-}
-
-pkg_postinst() {
-       if use examples ; then
-               elog "If you want to use the examples, copy and extract from"
-               elog "${EROOT}/usr/share/doc/${PF} the sch and lib directory"
-               elog "side by side to your home directory to be able"
-               elog "to generate the netlists as normal user."
-       fi
-}

diff --git a/sci-electronics/gspiceui/gspiceui-1.2.87-r1.ebuild 
b/sci-electronics/gspiceui/gspiceui-1.2.87-r1.ebuild
deleted file mode 100644
index 9247c5e0c84a..000000000000
--- a/sci-electronics/gspiceui/gspiceui-1.2.87-r1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-WX_GTK_VER="3.2-gtk3"
-inherit desktop optfeature wxwidgets xdg
-
-MY_P="${PN}-v${PV}"
-
-DESCRIPTION="GUI frontend for Ngspice and Gnucap"
-HOMEPAGE="https://sourceforge.net/projects/gspiceui/";
-SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz";
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples"
-
-DEPEND="
-       x11-libs/wxGTK:${WX_GTK_VER}[X]
-       sci-electronics/electronics-menu
-"
-RDEPEND="
-       ${DEPEND}
-       || (
-               sci-electronics/ngspice
-               sci-electronics/gnucap
-       )
-"
-
-PATCHES=(
-       # Use Gentoo LDFLAGS and CXXFLAGS
-       "${FILESDIR}"/${P}-respect-users-flags.patch
-)
-
-src_prepare() {
-       default
-
-       # Adjusting the doc path at src/main/FrmHtmlVwr.cpp
-       sed -i -e \
-               
"s:/share/gspiceui/html/User-Manual.html:/share/doc/${PF}/html/User-Manual.html:g"
 \
-               src/main/FrmHtmlVwr.cpp || die
-}
-
-src_configure() {
-       setup-wxwidgets
-       default
-}
-
-src_compile() {
-       # GSPICEUI_WXLIB=3.0 also works for 3.2
-       emake GSPICEUI_WXLIB=3.0
-}
-
-src_install() {
-       dobin bin/gspiceui
-
-       einstalldocs
-       dodoc html/*.html html/*.jpg html/*.png
-       dodoc ChangeLog ReadMe ToDo release-notes-v${PV}.txt
-       doman gspiceui.1
-
-       # installing examples and according model and symbol files
-       use examples && dodoc -r lib sch
-
-       newicon -s 32 src/icons/gspiceui-32x32.xpm gspiceui.xpm
-       newicon -s 48 src/icons/gspiceui-48x48.xpm gspiceui.xpm
-       make_desktop_entry gspiceui "GNU Spice GUI" gspiceui "Electronics"
-}
-
-pkg_postinst() {
-       xdg_pkg_postinst
-       if use examples ; then
-               elog "If you want to use the examples, copy and extract from"
-               elog "${EROOT}/usr/share/doc/${PF} the sch and lib directory"
-               elog "side by side to your home directory to be able"
-               elog "to generate the netlists as normal user."
-       fi
-       optfeature "schematics editing" sci-electronics/geda
-       optfeature "waveform display" sci-electronics/gwave
-}

Reply via email to