summaryrefslogtreecommitdiff
path: root/sci-electronics/gspiceui/files
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-electronics/gspiceui/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-electronics/gspiceui/files')
-rw-r--r--sci-electronics/gspiceui/files/gspiceui-0.9.99-examples.patch52
-rw-r--r--sci-electronics/gspiceui/files/gspiceui-0.9.99-flags.patch27
-rw-r--r--sci-electronics/gspiceui/files/gspiceui-1.0.0-flags.patch28
-rw-r--r--sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch26
4 files changed, 133 insertions, 0 deletions
diff --git a/sci-electronics/gspiceui/files/gspiceui-0.9.99-examples.patch b/sci-electronics/gspiceui/files/gspiceui-0.9.99-examples.patch
new file mode 100644
index 00000000000..54d37ce9626
--- /dev/null
+++ b/sci-electronics/gspiceui/files/gspiceui-0.9.99-examples.patch
@@ -0,0 +1,52 @@
+# 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
new file mode 100644
index 00000000000..5129929dc15
--- /dev/null
+++ b/sci-electronics/gspiceui/files/gspiceui-0.9.99-flags.patch
@@ -0,0 +1,27 @@
+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/files/gspiceui-1.0.0-flags.patch b/sci-electronics/gspiceui/files/gspiceui-1.0.0-flags.patch
new file mode 100644
index 00000000000..17cc77d8f8b
--- /dev/null
+++ b/sci-electronics/gspiceui/files/gspiceui-1.0.0-flags.patch
@@ -0,0 +1,28 @@
+# drop -Ofast option understood only from gcc-4.6 on
+# and make it respect LDFLAGS and CXXFLAGS
+--- src/Makefile.old 2012-02-11 13:29:27.000000000 +0100
++++ src/Makefile 2012-02-11 13:31:13.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 := -Ofast -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.
+@@ -106,7 +100,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/files/gspiceui-1.1.0-flags.patch b/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch
new file mode 100644
index 00000000000..60f2acf0477
--- /dev/null
+++ b/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch
@@ -0,0 +1,26 @@
+--- src/Makefile.old 2015-07-03 18:06:15.000000000 +0200
++++ src/Makefile 2015-07-03 18:08:50.000000000 +0200
+@@ -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