public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/gspiceui/files/, sci-electronics/gspiceui/
@ 2015-12-09 18:01 Denis Dupeyron
  0 siblings, 0 replies; 4+ messages in thread
From: Denis Dupeyron @ 2015-12-09 18:01 UTC (permalink / raw
  To: gentoo-commits

commit:     dcc39193280a02b411308cdd084907409d4ac936
Author:     Denis Dupeyron <calchan <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  9 18:00:47 2015 +0000
Commit:     Denis Dupeyron <calchan <AT> gentoo <DOT> org>
CommitDate: Wed Dec  9 18:00:47 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc39193

sci-electronics/gspiceui: remove old 0.9.99

Package-Manager: portage-2.2.26

 sci-electronics/gspiceui/Manifest                  |  1 -
 .../gspiceui/files/gspiceui-0.9.99-examples.patch  | 52 -----------------
 .../gspiceui/files/gspiceui-0.9.99-flags.patch     | 27 ---------
 sci-electronics/gspiceui/gspiceui-0.9.99.ebuild    | 67 ----------------------
 4 files changed, 147 deletions(-)

diff --git a/sci-electronics/gspiceui/Manifest b/sci-electronics/gspiceui/Manifest
index 75f2d29..0a560e0 100644
--- a/sci-electronics/gspiceui/Manifest
+++ b/sci-electronics/gspiceui/Manifest
@@ -1,2 +1 @@
-DIST gspiceui-v0.9.99.tar.gz 574595 SHA256 9d76db157c4b3f0d4b7bba289653f6646da5183eb7cdc08c9f1056aa7d3f9533 SHA512 87e3422b7425d8ed99c5f946ce27c35a12b3379ae61dd0c8114815fe2d413f9cb983da2cb3a284af6432bfd49dd4cf6d3f1e3aa78e815999e5dccc420890dffe WHIRLPOOL c8417ab5f4c4ca74987978716aa5a224a1b64f38b7e029e0fe3e589082488c8251d4dfe5c2b7e22c6a25ba23632dad0d71331283003ee06c417e9a27a2bb6a6e
 DIST gspiceui-v1.1.00.tar.gz 1048236 SHA256 22cbe0a8800f9fade43235c74df2e3defb06f2d6e0ac57cff81d058ab89da564 SHA512 46ccf3dd7a5dd9ec1cac1eb742187ecab15a6c0033467d52a44c916e239696faf7b8797e1a155191cf0ed37b04619b0666cff51e78912a06ecd2c63d377cba93 WHIRLPOOL 66c0e089c9246924eee308ec120a7ecd256d91b4e54306d3c7f9e4bc2fcd2982157bbb551d376fb80f1df1c547ea9723a9dc9b0549745f79ff754f2202ef7204

diff --git a/sci-electronics/gspiceui/files/gspiceui-0.9.99-examples.patch b/sci-electronics/gspiceui/files/gspiceui-0.9.99-examples.patch
deleted file mode 100644
index 54d37ce..0000000
--- a/sci-electronics/gspiceui/files/gspiceui-0.9.99-examples.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-# add missing simulation models
-diff -uNr lib/npn/bc548.mod lib/npn/bc548.mod
---- lib/npn/bc548.mod	1970-01-01 01:00:00.000000000 +0100
-+++ lib/npn/bc548.mod	2009-09-10 01:25:48.000000000 +0200
-@@ -0,0 +1,5 @@
-+*BC548BP ZETEX Spice model     Last revision  4/90   General Purpose
-+*ZTX Si 500mW  30V 200mA 300MHz pkg:TO-92 1,2,3
-+.MODEL BC548 NPN( IS=10.2F NF=1 BF=676 VAF=98.6 IKF=60M ISE=1.94P NE=2 BR=4 NR=1
-++ VAR=24 IKR=90M RE=0.515 RB=2.06 RC=0.206 XTB=1.5 CJE=7.05P VJE=1.1 MJE=0.5
-++ CJC=5.21P VJC=0.3 MJC=0.3 TF=530P TR=368N )
-diff -uNr lib/npn/bc550.mod lib/npn/bc550.mod
---- lib/npn/bc550.mod	1970-01-01 01:00:00.000000000 +0100
-+++ lib/npn/bc550.mod	2009-09-10 01:25:33.000000000 +0200
-@@ -0,0 +1,6 @@
-+*BC550BP ZETEX Spice model     Last revision  4/90   Low Noise
-+*ZTX Si   3dB  45V 200mA 300MHz pkg:TO-92 1,2,3
-+.MODEL BC550 NPN( IS=1.8E-14 BF=400 NF=0.9955 VAF=80 IKF=0.14 ISE=5E-14 
-++ NE=1.46 BR=35.5 NR=1.005 VAR=12.5 IKR=0.03 ISC=1.72E-13 NC=1.27 RB=0.56 
-++ RE=0.6 RC=0.25 CJE=1.3E-11 TF=6.4E-10 CJC=4E-12 VJC=0.54 TR=5.072E-8 )
-+
-diff -uNr lib/npn/tip41.mod lib/npn/tip41.mod
---- lib/npn/tip41.mod	1970-01-01 01:00:00.000000000 +0100
-+++ lib/npn/tip41.mod	2007-09-04 17:41:08.000000000 +0200
-@@ -0,0 +1,4 @@
-+.MODEL TIP41 NPN(IS=457.5f XTI=3 EG=1.11 VAF=50 BF=156.7 ISE=1.346p NE=1.34
-++ IKF=3.296 NK=.5961 XTB=2.2 BR=7.639 ISC=604.1f NC=2.168 IKR=8.131m RC=91.29m
-++ CJC=278.7p MJC=.385 VJC=.75 FC=.5 CJE=433p MJE=.5 VJE=.75 TR=1.412u TF=37.34n
-++ ITF=35.68 XTF=1.163 VTF=10 RB=.1)
-diff -uNr lib/pnp/2n5401.mod lib/pnp/2n5401.mod
---- lib/pnp/2n5401.mod	1970-01-01 01:00:00.000000000 +0100
-+++ lib/pnp/2n5401.mod	2007-09-04 17:41:08.000000000 +0200
-@@ -0,0 +1,4 @@
-+.MODEL 2N5401 PNP(IS=4.61E-13 BF=93 VAF=220 IKF=0.91 ISE=7.54E-11 
-++ NE=2 BR=4 VAR=20 IKR=1.36 RB=3.86 RE=0.965 RC=0.386 CJE=5.66E-11 VJE=1.1 
-++ MJE=0.5 TF=5.3E-10 CJC=2.36E-11 VJC=0.3 MJC=0.3 TR=3.68E-7 XTB=1.5 )
-+
-diff -uNr lib/pnp/bc558.mod lib/pnp/bc558.mod
---- lib/pnp/bc558.mod	1970-01-01 01:00:00.000000000 +0100
-+++ lib/pnp/bc558.mod	2007-09-04 17:41:08.000000000 +0200
-@@ -0,0 +1,4 @@
-+.MODEL BC558 PNP(IS=1.15E-14 BF=330 NF=0.9872 VAF=84.56 IKF=0.1 
-++ ISE=5E-14 NE=1.4 BR=13 NR=0.996 VAR=8.15 IKR=0.012 ISC=1.43E-14 NC=1.1 
-++ RB=0.2 RE=0.4 RC=0.95 CJE=1.6E-11 TF=4.93E-10 CJC=1.05E-11 VJC=0.565 
-++ MJC=0.415 TR=7.355E-8)
-diff -uNr lib/pnp/tip42.mod lib/pnp/tip42.mod
---- lib/pnp/tip42.mod	1970-01-01 01:00:00.000000000 +0100
-+++ lib/pnp/tip42.mod	2007-09-04 17:41:08.000000000 +0200
-@@ -0,0 +1,4 @@
-+.MODEL TIP42 PNP(IS=66.19f XTI=3 EG=1.11 VAF=100 BF=137.6 ISE=862.2f NE=1.481
-++ IKF=1.642 NK=.5695 XTB=2 BR=5.88 ISC=273.5f NC=1.24 IKR=3.555 RC=79.39m
-++ CJC=870.4p MJC=.6481 VJC=.75 FC=.5 CJE=390.1p MJE=.4343 VJE=.75 TR=235.4n
-++ TF=23.21n ITF=71.33 XTF=5.982 VTF=10 RB=.1)

diff --git a/sci-electronics/gspiceui/files/gspiceui-0.9.99-flags.patch b/sci-electronics/gspiceui/files/gspiceui-0.9.99-flags.patch
deleted file mode 100644
index 5129929..0000000
--- a/sci-electronics/gspiceui/files/gspiceui-0.9.99-flags.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -urN gspiceui-v0.9.99.orig/src/Makefile gspiceui-v0.9.99/src/Makefile
---- gspiceui-v0.9.99.orig/src/Makefile	2010-04-16 10:43:59.000000000 +0200
-+++ gspiceui-v0.9.99/src/Makefile	2010-11-01 00:25:32.000000000 +0100
-@@ -59,13 +59,7 @@
- INSTALLDIR = /usr/local/bin
- 
- # Compiler options
--ifeq ($(GSPICEUI_DBG),0)
--  # Options for release (not using -Wall since it's GCC specific)
--  CXXFLAGS := -O -pipe $(shell $(WXCFG) --cxxflags)
--else
--  # Options for development
--  CXXFLAGS := -Wall -g -pipe $(shell $(WXCFG) --cxxflags)
--endif
-+CXXFLAGS += $(shell $(WXCFG) --cxxflags)
- 
- # Includes
- INCLUDES = -I/usr/include -I/usr/X11R6/include -I.
-@@ -108,7 +102,7 @@
- #   -o     specify the output file name
- 
- $(BINDIR)/$(PROG) : $(OBJS)
--	$(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS)
-+	$(CC) -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-0.9.99.ebuild b/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild
deleted file mode 100644
index a765d04..0000000
--- a/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="2"
-
-WX_GTK_VER="2.8"
-inherit eutils wxwidgets
-
-MY_P="${PN}-v${PV}"
-
-DESCRIPTION="GUI frontend for Ngspice and Gnucap"
-HOMEPAGE="http://sourceforge.net/projects/gspiceui/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="examples schematics waveform"
-
-DEPEND="x11-libs/wxGTK:2.8[X]
-	sci-electronics/electronics-menu"
-RDEPEND="${DEPEND}
-	|| ( sci-electronics/ngspice sci-electronics/gnucap )
-	waveform? ( sci-electronics/gwave )
-	schematics? ( sci-electronics/geda )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-	# Use Gentoo LDFLAGS and CXXFLAGS
-	epatch "${FILESDIR}/${P}-flags.patch"
-
-	# Adjusting the doc path at src/main/HelpTasks.cpp
-	sed -i \
-		-e "s:/share/gspiceui/html/gSpiceUI.html:/share/doc/${PF}/html/gSpiceUI.html:" \
-		src/main/HelpTasks.cpp \
-		|| die "Patching src/main/HelpTasks.cpp failed"
-}
-
-src_install() {
-	dobin bin/gspiceui || die
-	dodoc ChangeLog ToDo || die
-	doman gspiceui.1 || die
-	newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm || die
-
-	dohtml html/*.html html/*.jpeg || die
-
-	# installing examples and according model and symbol files
-	if use examples ; then
-		insinto /usr/share/doc/${PF}/sch
-		doins -r sch/* || die
-		insinto /usr/share/doc/${PF}/lib
-		doins -r lib/* || die
-	fi
-
-	make_desktop_entry gspiceui "GNU Spice GUI" gspiceui "Electronics"
-}
-
-pkg_postinst() {
-	if use examples ; then
-		elog "If you want to use the examples, copy from"
-		elog "/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
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/gspiceui/files/, sci-electronics/gspiceui/
@ 2021-04-04 21:11 David Seifert
  0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2021-04-04 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     95f69fd4eec7b8cc5191a5244d87a53a981865e5
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 21:10:56 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 21:10:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95f69fd4

sci-electronics/gspiceui: Port to EAPI 7

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../gspiceui/files/gspiceui-1.1.0-flags.patch      |  4 +-
 sci-electronics/gspiceui/gspiceui-1.1.0.ebuild     | 50 +++++++++++++---------
 2 files changed, 32 insertions(+), 22 deletions(-)

diff --git a/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch b/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch
index 60f2acf0477..b6c3d36a544 100644
--- a/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch
+++ b/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch
@@ -1,5 +1,5 @@
---- src/Makefile.old	2015-07-03 18:06:15.000000000 +0200
-+++ src/Makefile	2015-07-03 18:08:50.000000000 +0200
+--- 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

diff --git a/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild b/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild
index 1444cacb86b..81c6e4c2d62 100644
--- a/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild
+++ b/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild
@@ -1,34 +1,42 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=7
 
 WX_GTK_VER="3.0"
-inherit eutils flag-o-matic toolchain-funcs wxwidgets
+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="mirror://sourceforge/${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:3.0[X]
+DEPEND="
+	x11-libs/wxGTK:${WX_GTK_VER}[X]
 	sci-electronics/electronics-menu"
-RDEPEND="${DEPEND}
-	|| ( sci-electronics/ngspice sci-electronics/gnucap )
+RDEPEND="
+	${DEPEND}
+	|| (
+		sci-electronics/ngspice
+		sci-electronics/gnucap
+	)
 	waveform? ( sci-electronics/gwave )
 	schematics? ( sci-electronics/geda )"
 
-S="${WORKDIR}/${MY_P}"
+PATCHES=(
+	# Use Gentoo LDFLAGS and CXXFLAGS
+	"${FILESDIR}"/${P}-flags.patch
+)
 
 src_prepare() {
-	# Use Gentoo LDFLAGS and CXXFLAGS
-	epatch "${FILESDIR}/${P}-flags.patch"
+	default
 
 	# Adjusting the doc path at src/main/HelpTasks.cpp
 	sed -i -e \
@@ -37,38 +45,40 @@ src_prepare() {
 
 	# 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)
+	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
-	newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm
-
-	dohtml html/*.html html/*.jpg html/*.png
 
 	# installing examples and according model and symbol files
-	if use examples ; then
-		insinto /usr/share/doc/${PF}/sch
-		doins -r sch/*
-		insinto /usr/share/doc/${PF}/lib
-		doins -r lib/*
-	fi
+	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 "/usr/share/doc/${PF} the sch and lib directory"
+		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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/gspiceui/files/, sci-electronics/gspiceui/
@ 2022-02-24 13:05 Andrew Ammerlaan
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2022-02-24 13:05 UTC (permalink / raw
  To: gentoo-commits

commit:     b9dfc299925659f3a2d124f6c9c89a1755b10e29
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 24 13:05:05 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 24 13:05:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9dfc299

sci-electronics/gspiceui: add version 1.2.87, bump to wxwidgets gtk3

Closes: https://bugs.gentoo.org/769629
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-electronics/gspiceui/Manifest                  |  1 +
 .../gspiceui-1.2.87-respect-users-flags.patch      | 28 ++++++++
 sci-electronics/gspiceui/gspiceui-1.2.87.ebuild    | 81 ++++++++++++++++++++++
 3 files changed, 110 insertions(+)

diff --git a/sci-electronics/gspiceui/Manifest b/sci-electronics/gspiceui/Manifest
index f58ffcf502a6..8e067dce86db 100644
--- a/sci-electronics/gspiceui/Manifest
+++ b/sci-electronics/gspiceui/Manifest
@@ -1 +1,2 @@
 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.2.87-respect-users-flags.patch b/sci-electronics/gspiceui/files/gspiceui-1.2.87-respect-users-flags.patch
new file mode 100644
index 000000000000..fd5881745279
--- /dev/null
+++ b/sci-electronics/gspiceui/files/gspiceui-1.2.87-respect-users-flags.patch
@@ -0,0 +1,28 @@
+diff --git a/src/Makefile b/src/Makefile
+index 50736fd..22a1328 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -91,13 +91,7 @@ BINDIR = $(ROOT)/bin
+ #  -Os           Optimize for size
+ #  -Og           Optimize debugging experience but don't break debugging
+ #  -std=[C++NO]  The C++ standard to use where C++NO is eg. c++98, c++03, c++11, c++14, c++17, etc.
+-ifeq ($(GSPICEUI_DEBUG),0)
+-  # Options for release (not using -Wall since it's GCC specific)
+-  CXXFLAGS := -O3 -std=c++17 -pipe $(shell $(WXCFG) --cxxflags)
+-else
+-  # Options for development
+-  CXXFLAGS := -g -Og -std=c++17 -Wall -Wextra -Wpedantic -pipe $(shell $(WXCFG) --cxxflags)
+-endif
++CXXFLAGS += $(shell $(WXCFG) --cxxflags)
+ 
+ # I like to compile using the option "-Wall" etc., tests that break wxWidgets are turned off below
+ ifeq ($(GSPICEUI_DEBUG),1)
+@@ -181,7 +175,7 @@ $(OBJDIR)/%.o : %.cpp
+ #   -o     specify the output file name
+ 
+ $(BINDIR)/$(PROG) : $(OBJS)
+-	$(LD) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS)
++	$(LD) -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.2.87.ebuild b/sci-electronics/gspiceui/gspiceui-1.2.87.ebuild
new file mode 100644
index 000000000000..8c007ed14442
--- /dev/null
+++ b/sci-electronics/gspiceui/gspiceui-1.2.87.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER="3.0-gtk3"
+inherit desktop optfeature toolchain-funcs wxwidgets
+
+MY_P="${PN}-v${PV}"
+
+DESCRIPTION="GUI frontend for Ngspice and Gnucap"
+HOMEPAGE="https://sourceforge.net/projects/gspiceui/"
+SRC_URI="mirror://sourceforge/${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() {
+	emake CXX="$(tc-getCXX)"
+}
+
+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() {
+	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
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/gspiceui/files/, sci-electronics/gspiceui/
@ 2024-07-05 17:49 Pacho Ramos
  0 siblings, 0 replies; 4+ messages in thread
From: Pacho Ramos @ 2024-07-05 17:49 UTC (permalink / raw
  To: gentoo-commits

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
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-05 17:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-09 18:01 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/gspiceui/files/, sci-electronics/gspiceui/ Denis Dupeyron
  -- strict thread matches above, loose matches on Subject: below --
2021-04-04 21:11 David Seifert
2022-02-24 13:05 Andrew Ammerlaan
2024-07-05 17:49 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox