summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/electric')
-rw-r--r--sci-electronics/electric/Manifest6
-rw-r--r--sci-electronics/electric/electric-8.09.ebuild27
-rw-r--r--sci-electronics/electric/electric-8.10.ebuild27
-rw-r--r--sci-electronics/electric/electric-8.11.ebuild27
-rw-r--r--sci-electronics/electric/electric-9.00.ebuild27
-rw-r--r--sci-electronics/electric/electric-9.02.ebuild27
-rw-r--r--sci-electronics/electric/electric-9.03.ebuild27
-rw-r--r--sci-electronics/electric/files/7.00-fix-sandbox.patch11
-rw-r--r--sci-electronics/electric/files/7.00-qt.patch35
-rw-r--r--sci-electronics/electric/files/electric-7.00-gcc4.1-gentoo.patch11
-rw-r--r--sci-electronics/electric/files/electric-7.00-qt-gentoo.patch48
-rw-r--r--sci-electronics/electric/metadata.xml14
12 files changed, 287 insertions, 0 deletions
diff --git a/sci-electronics/electric/Manifest b/sci-electronics/electric/Manifest
new file mode 100644
index 000000000000..5ad897a679cd
--- /dev/null
+++ b/sci-electronics/electric/Manifest
@@ -0,0 +1,6 @@
+DIST electricBinary-8.09.jar 11102701 SHA256 d214868e8df9f4d50b09a23f6ac86b3e8cfb28cb1f735af3e860822c9d60c391
+DIST electricBinary-8.10.jar 11933511 SHA256 290238c77b6823f286adb08ef21fccc8b40e7721e95b9d0489014b5f7eab8fbd
+DIST electricBinary-8.11.jar 12144732 SHA256 203dac811566505cc222d3bd4926d6c6481d4a66af3093ad7e2ca8b16e65fb81
+DIST electricBinary-9.00.jar 19427434 SHA256 7fbf086e9fea4681a3c754bee07dd83beaba85963ddd35ae1a75a5a6ed6b0b0e SHA512 f392c30b673222f18ff7145e0601be36e229e0da72cfdcf62072894054b5311c3be4726201f8d79ddced84ba47e972884859a652b4f0edbca3fccab0c14dc001 WHIRLPOOL 7f0958d3d4a5c54266ca3948ae7545718040f45cece861da8f8728413341418244ae0d04f2b3db8e88209f8d4a41cd272589038b25ac761dfc07daee59552950
+DIST electricBinary-9.02.jar 23429359 SHA256 107ee1ffc1d5e0236852c728265f434043036802703f05c22789c76931b95f97 SHA512 3c4eab21865bfabb744ab227fb0344552fae7291fbf3c043903ee919fd80238ec9674e3535ac80caab9bf3fa962ec45ca21378629d5d68d470c53849e8ded471 WHIRLPOOL e06d7dd647a98ca5eb1d54bff7e153999c68096cbf7939523520cb794479556687c539ca9509ab903772b5551d6a9a7cb24b1961ca894666f4b57d6d98e12dd4
+DIST electricBinary-9.03.jar 23591444 SHA256 ccd4ea6b9b2d11870e181c951f5393e9c3eb5d881dde5588bb090610d99bcff6 SHA512 e4430c87e1c0d335341057950b887988f46bd222ab6c2d989312036592f16db0b51169f3affc01fe0dbd8077674ed934d4896de46a0f9ee00e71453b2a6b18f2 WHIRLPOOL 9d886fa32533e3ebb2504906ffdfdc9610c1bae77db66ec2a0279ebaebbb94e04506e229d77c4d22d918059781be17c1ae215415b47e0874d0116ea8138e1eb7
diff --git a/sci-electronics/electric/electric-8.09.ebuild b/sci-electronics/electric/electric-8.09.ebuild
new file mode 100644
index 000000000000..f8f94e1b4505
--- /dev/null
+++ b/sci-electronics/electric/electric-8.09.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils java-pkg-2
+
+DESCRIPTION="Complete Electronic Design Automation (EDA) system that can handle many forms of circuit design"
+HOMEPAGE="http://www.gnu.org/software/electric/electric.html"
+SRC_URI="mirror://gnu/electric/${PN}Binary-${PV}.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6
+ sci-electronics/electronics-menu"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}
+
+src_install() {
+ java-pkg_newjar "${DISTDIR}"/${PN}Binary-${PV}.jar
+ newicon com/sun/electric/tool/user/help/helphtml/iconplug.png electric.png
+ java-pkg_dolauncher ${PN}
+ make_desktop_entry electric "Electric VLSI Design System" electric "Electronics"
+}
diff --git a/sci-electronics/electric/electric-8.10.ebuild b/sci-electronics/electric/electric-8.10.ebuild
new file mode 100644
index 000000000000..70ee6f82f07d
--- /dev/null
+++ b/sci-electronics/electric/electric-8.10.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils java-pkg-2
+
+DESCRIPTION="Complete Electronic Design Automation (EDA) system that can handle many forms of circuit design"
+HOMEPAGE="http://www.gnu.org/software/electric/electric.html"
+SRC_URI="mirror://gnu/electric/${PN}Binary-${PV}.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6
+ sci-electronics/electronics-menu"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}
+
+src_install() {
+ java-pkg_newjar "${DISTDIR}"/${PN}Binary-${PV}.jar
+ newicon com/sun/electric/tool/user/help/helphtml/iconplug.png electric.png
+ java-pkg_dolauncher ${PN}
+ make_desktop_entry electric "Electric VLSI Design System" electric "Electronics"
+}
diff --git a/sci-electronics/electric/electric-8.11.ebuild b/sci-electronics/electric/electric-8.11.ebuild
new file mode 100644
index 000000000000..70ee6f82f07d
--- /dev/null
+++ b/sci-electronics/electric/electric-8.11.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils java-pkg-2
+
+DESCRIPTION="Complete Electronic Design Automation (EDA) system that can handle many forms of circuit design"
+HOMEPAGE="http://www.gnu.org/software/electric/electric.html"
+SRC_URI="mirror://gnu/electric/${PN}Binary-${PV}.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6
+ sci-electronics/electronics-menu"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}
+
+src_install() {
+ java-pkg_newjar "${DISTDIR}"/${PN}Binary-${PV}.jar
+ newicon com/sun/electric/tool/user/help/helphtml/iconplug.png electric.png
+ java-pkg_dolauncher ${PN}
+ make_desktop_entry electric "Electric VLSI Design System" electric "Electronics"
+}
diff --git a/sci-electronics/electric/electric-9.00.ebuild b/sci-electronics/electric/electric-9.00.ebuild
new file mode 100644
index 000000000000..70ee6f82f07d
--- /dev/null
+++ b/sci-electronics/electric/electric-9.00.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils java-pkg-2
+
+DESCRIPTION="Complete Electronic Design Automation (EDA) system that can handle many forms of circuit design"
+HOMEPAGE="http://www.gnu.org/software/electric/electric.html"
+SRC_URI="mirror://gnu/electric/${PN}Binary-${PV}.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6
+ sci-electronics/electronics-menu"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}
+
+src_install() {
+ java-pkg_newjar "${DISTDIR}"/${PN}Binary-${PV}.jar
+ newicon com/sun/electric/tool/user/help/helphtml/iconplug.png electric.png
+ java-pkg_dolauncher ${PN}
+ make_desktop_entry electric "Electric VLSI Design System" electric "Electronics"
+}
diff --git a/sci-electronics/electric/electric-9.02.ebuild b/sci-electronics/electric/electric-9.02.ebuild
new file mode 100644
index 000000000000..5d150171e2d7
--- /dev/null
+++ b/sci-electronics/electric/electric-9.02.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils java-pkg-2
+
+DESCRIPTION="Complete Electronic Design Automation (EDA) system that can handle many forms of circuit design"
+HOMEPAGE="http://www.gnu.org/software/electric/electric.html"
+SRC_URI="mirror://gnu/electric/${PN}Binary-${PV}.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6
+ sci-electronics/electronics-menu"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}
+
+src_install() {
+ java-pkg_newjar "${DISTDIR}"/${PN}Binary-${PV}.jar
+ newicon com/sun/electric/tool/user/help/helphtml/iconplug.png electric.png
+ java-pkg_dolauncher ${PN}
+ make_desktop_entry electric "Electric VLSI Design System" electric "Electronics"
+}
diff --git a/sci-electronics/electric/electric-9.03.ebuild b/sci-electronics/electric/electric-9.03.ebuild
new file mode 100644
index 000000000000..2f5301d80efe
--- /dev/null
+++ b/sci-electronics/electric/electric-9.03.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils java-pkg-2
+
+DESCRIPTION="Complete Electronic Design Automation (EDA) system that can handle many forms of circuit design"
+HOMEPAGE="http://www.gnu.org/software/electric/electric.html"
+SRC_URI="mirror://gnu/electric/${PN}Binary-${PV}.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6
+ sci-electronics/electronics-menu"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}
+
+src_install() {
+ java-pkg_newjar "${DISTDIR}"/${PN}Binary-${PV}.jar
+ newicon com/sun/electric/tool/user/help/helphtml/iconplug.png electric.png
+ java-pkg_dolauncher ${PN}
+ make_desktop_entry electric "Electric VLSI Design System" electric "Electronics"
+}
diff --git a/sci-electronics/electric/files/7.00-fix-sandbox.patch b/sci-electronics/electric/files/7.00-fix-sandbox.patch
new file mode 100644
index 000000000000..29c36543126e
--- /dev/null
+++ b/sci-electronics/electric/files/7.00-fix-sandbox.patch
@@ -0,0 +1,11 @@
+--- Makefile.in 2004-12-03 16:27:37.000000000 +0100
++++ Makefile.in.new 2004-12-03 16:38:28.203830495 +0100
+@@ -936,7 +936,7 @@
+ rm -f src/vhdl/*~ src/vhdl/"#"*"#"
+
+ install: all
+- $(INSTALL) -d -m755 @bindir@ $(DESTDIR)@datadir@/electric/lib
++ $(INSTALL) -d -m755 ${DESTDIR}/@bindir@ $(DESTDIR)@datadir@/electric/lib
+ $(INSTALL) -m755 $(PROGNAME) $(DESTDIR)@bindir@/$(PROGNAME)
+ $(INSTALL) -m644 lib/.cadrc $(DESTDIR)@datadir@/electric/lib
+ @(cd lib ; \
diff --git a/sci-electronics/electric/files/7.00-qt.patch b/sci-electronics/electric/files/7.00-qt.patch
new file mode 100644
index 000000000000..137f1e943642
--- /dev/null
+++ b/sci-electronics/electric/files/7.00-qt.patch
@@ -0,0 +1,35 @@
+--- Makefile.in.oric 2004-03-15 10:31:14.000000000 +1030
++++ Makefile.in 2004-03-15 10:39:14.000000000 +1030
+@@ -1,10 +1,10 @@
+ ########################################################## USING QT
+ ##### If using Qt, uncomment these five lines
+-# GRAPH_FLAGS = -DUSEQT -DQT_THREAD_SUPPORT -I$(QTDIR)/include $(QUI_CFLAGS)
+-# GRAPH_LIBS = -L$(QTDIR)/lib $(QUI_LIBS) $(QT_LIB_EXTRAS)
+-# GRAPH_OBJS = $(GRAPH_OBJS_QT)
+-# GRAPH_SRC = $(GRAPH_SRC_QT)
+-# CCOMPILER = @CXX@
++GRAPH_FLAGS = -DUSEQT -DQT_THREAD_SUPPORT -I$(QTDIR)/include $(QUI_CFLAGS)
++GRAPH_LIBS = -L$(QTDIR)/lib $(QUI_LIBS) $(QT_LIB_EXTRAS)
++GRAPH_OBJS = $(GRAPH_OBJS_QT)
++GRAPH_SRC = $(GRAPH_SRC_QT)
++CCOMPILER = @CXX@
+
+ ##### Qt on UNIX/Linux: uncomment the next two lines:
+ ELECTRIC_TARGET = electric-target-unix
+@@ -20,11 +20,11 @@
+
+ ########################################################### USING MOTIF
+ ##### If using Motif (or OpenMotif/Lesstif), uncomment these five lines
+-GRAPH_FLAGS = @X_CFLAGS@
+-GRAPH_LIBS = -lXm @XMULIB@ -lXt @XPLIB@ @XEXTLIB@ -lX11
+-GRAPH_OBJS = $(GRAPH_OBJS_XT)
+-GRAPH_SRC = $(GRAPH_SRC_XT)
+-CCOMPILER = @PTHREAD_CC@
++#GRAPH_FLAGS = @X_CFLAGS@
++#GRAPH_LIBS = -lXm @XMULIB@ -lXt @XPLIB@ @XEXTLIB@ -lX11
++#GRAPH_OBJS = $(GRAPH_OBJS_XT)
++#GRAPH_SRC = $(GRAPH_SRC_XT)
++#CCOMPILER = @PTHREAD_CC@
+
+ ##### For the general-purpose X facility, uncomment this line
+ XPOWER = -DANYDEPTH
diff --git a/sci-electronics/electric/files/electric-7.00-gcc4.1-gentoo.patch b/sci-electronics/electric/files/electric-7.00-gcc4.1-gentoo.patch
new file mode 100644
index 000000000000..b2e678dfbcf3
--- /dev/null
+++ b/sci-electronics/electric/files/electric-7.00-gcc4.1-gentoo.patch
@@ -0,0 +1,11 @@
+diff -Naur electric-7.00/src/graph/graphqtdlg.h electric-7.00-new/src/graph/graphqtdlg.h
+--- electric-7.00/src/graph/graphqtdlg.h 2004-07-15 20:59:53.000000000 -0500
++++ electric-7.00-new/src/graph/graphqtdlg.h 2006-03-15 22:11:39.000000000 -0600
+@@ -59,6 +59,7 @@
+ class QSignalMapper;
+ class EScrollField;
+ class EDialogPrivate;
++class EDialog;
+
+ class EDialogPrivate: public QDialog
+ {
diff --git a/sci-electronics/electric/files/electric-7.00-qt-gentoo.patch b/sci-electronics/electric/files/electric-7.00-qt-gentoo.patch
new file mode 100644
index 000000000000..f21c4c5e577a
--- /dev/null
+++ b/sci-electronics/electric/files/electric-7.00-qt-gentoo.patch
@@ -0,0 +1,48 @@
+diff -Naur electric-7.00/Makefile.in electric-7.00-new/Makefile.in
+--- electric-7.00/Makefile.in 2004-07-15 20:59:50.000000000 -0500
++++ electric-7.00-new/Makefile.in 2006-03-15 22:19:08.000000000 -0600
+@@ -1,10 +1,10 @@
+ ########################################################## USING QT
+ ##### If using Qt, uncomment these five lines
+-# GRAPH_FLAGS = -DUSEQT -DQT_THREAD_SUPPORT -I$(QTDIR)/include $(QUI_CFLAGS)
+-# GRAPH_LIBS = -L$(QTDIR)/lib $(QUI_LIBS) $(QT_LIB_EXTRAS)
+-# GRAPH_OBJS = $(GRAPH_OBJS_QT)
+-# GRAPH_SRC = $(GRAPH_SRC_QT)
+-# CCOMPILER = @CXX@
++GRAPH_FLAGS = -DUSEQT -DQT_THREAD_SUPPORT -I$(QTDIR)/include $(QUI_CFLAGS)
++GRAPH_LIBS = -L$(QTDIR)/lib $(QUI_LIBS) $(QT_LIB_EXTRAS)
++GRAPH_OBJS = $(GRAPH_OBJS_QT)
++GRAPH_SRC = $(GRAPH_SRC_QT)
++CCOMPILER = @CXX@
+
+ ##### Qt on UNIX/Linux: uncomment the next two lines:
+ ELECTRIC_TARGET = electric-target-unix
+@@ -20,11 +20,11 @@
+
+ ########################################################### USING MOTIF
+ ##### If using Motif (or OpenMotif/Lesstif), uncomment these five lines
+-GRAPH_FLAGS = @X_CFLAGS@
+-GRAPH_LIBS = -lXm @XMULIB@ -lXt @XPLIB@ @XEXTLIB@ -lX11
+-GRAPH_OBJS = $(GRAPH_OBJS_XT)
+-GRAPH_SRC = $(GRAPH_SRC_XT)
+-CCOMPILER = @PTHREAD_CC@
++#GRAPH_FLAGS = @X_CFLAGS@
++#GRAPH_LIBS = -lXm @XMULIB@ -lXt @XPLIB@ @XEXTLIB@ -lX11
++#GRAPH_OBJS = $(GRAPH_OBJS_XT)
++#GRAPH_SRC = $(GRAPH_SRC_XT)
++#CCOMPILER = @PTHREAD_CC@
+
+ ##### For the general-purpose X facility, uncomment this line
+ XPOWER = -DANYDEPTH
+@@ -997,9 +997,9 @@
+ src/graph/graphqtdlg.o: src/graph/graphqtdlg.cpp $(HDS)/global.h src/graph/graphqtdlg.h $(HDS)/edialogs.h
+ src/graph/graphqtdraw.o: src/graph/graphqtdraw.cpp $(HDS)/global.h src/graph/graphqt.h $(HDS)/egraphics.h
+ src/graph/moc_graphqt.cpp: src/graph/graphqt.h $(HDS)/global.h
+- moc src/graph/graphqt.h -o $@
++ $(QTDIR)/bin/moc src/graph/graphqt.h -o $@
+ src/graph/moc_graphqtdlg.cpp: src/graph/graphqtdlg.h $(HDS)/global.h
+- moc src/graph/graphqtdlg.h -o $@
++ $(QTDIR)/bin/moc src/graph/graphqtdlg.h -o $@
+ $(JARLOC): $(JAVA_OBJS)
+ (cd src/java; jar -cf ../../$(JARLOC) com/sun/dbmirror/*.class)
+ lib/java/romgen.class: lib/java/romgen.java
diff --git a/sci-electronics/electric/metadata.xml b/sci-electronics/electric/metadata.xml
new file mode 100644
index 000000000000..75917fdaf7da
--- /dev/null
+++ b/sci-electronics/electric/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-electronics</herd>
+ <longdescription>
+ The Electric VLSI Design System is a complete Electronic Design Automation
+ (EDA) system that can handle many forms of circuit design, including:
+ * Custom IC layout
+ * Schematic Capture (digital and analog)
+ * Textual Languages such as VHDL and Verilog
+ * Programmable logic (FPGAs)
+ * ...and much more.
+ </longdescription>
+</pkgmetadata>