summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-27 18:57:44 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-27 18:57:44 +0000
commitab5b1e55fe596abea4f7175f4c6b7a16c7266d90 (patch)
tree1a2c0f86d70bb9fda209f13b91516f0fa5f14e1d /sci-electronics/electric
parentMoving to sci-electronics/electric (diff)
downloadgentoo-2-ab5b1e55fe596abea4f7175f4c6b7a16c7266d90.tar.gz
gentoo-2-ab5b1e55fe596abea4f7175f4c6b7a16c7266d90.tar.bz2
gentoo-2-ab5b1e55fe596abea4f7175f4c6b7a16c7266d90.zip
Moved from app-sci/electric to sci-electronics/electric.
Diffstat (limited to 'sci-electronics/electric')
-rw-r--r--sci-electronics/electric/ChangeLog63
-rw-r--r--sci-electronics/electric/Manifest13
-rw-r--r--sci-electronics/electric/electric-6.07.ebuild29
-rw-r--r--sci-electronics/electric/electric-6.08-r1.ebuild37
-rw-r--r--sci-electronics/electric/electric-7.00.ebuild37
-rw-r--r--sci-electronics/electric/files/6.08-fix-sandbox-r1.patch23
-rw-r--r--sci-electronics/electric/files/6.08-fix-sandbox.patch23
-rw-r--r--sci-electronics/electric/files/6.08-qt.patch35
-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/digest-electric-6.071
-rw-r--r--sci-electronics/electric/files/digest-electric-6.08-r11
-rw-r--r--sci-electronics/electric/files/digest-electric-7.001
-rw-r--r--sci-electronics/electric/metadata.xml5
14 files changed, 314 insertions, 0 deletions
diff --git a/sci-electronics/electric/ChangeLog b/sci-electronics/electric/ChangeLog
new file mode 100644
index 000000000000..2aa1c4af23ac
--- /dev/null
+++ b/sci-electronics/electric/ChangeLog
@@ -0,0 +1,63 @@
+# ChangeLog for app-sci/electric
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/electric/ChangeLog,v 1.1 2004/12/27 18:57:44 ribosome Exp $
+
+*electric-7.00 (27 Dec 2004)
+
+ 27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/6.08-fix-sandbox-r1.patch, +files/6.08-fix-sandbox.patch,
+ +files/6.08-qt.patch, +files/7.00-fix-sandbox.patch, +files/7.00-qt.patch,
+ +electric-6.07.ebuild, +electric-6.08-r1.ebuild, +electric-7.00.ebuild:
+ Moved from app-sci/electric to sci-electronics/electric.
+
+*electric-7.00 (03 Dec 2004)
+
+ 03 Dec 2004; Patrick Kursawe <phosphan@gentoo.org>
+ +files/7.00-fix-sandbox.patch, +files/7.00-qt.patch, +electric-7.00.ebuild:
+ Version bump
+
+ 29 Sep 2004; Simon Stelling <blubb@gentoo.org> electric-6.08-r1.ebuild:
+ added ~amd64
+
+ 18 Aug 2004; Patrick Kursawe <phosphan@gentoo.org> -electric-6.07-r1.ebuild,
+ electric-6.08-r1.ebuild, -electric-6.08.ebuild:
+ Big cleanup, keeping latest (now stable for x86) and old stable
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ electric-6.07-r1.ebuild, electric-6.07.ebuild, electric-6.08-r1.ebuild,
+ electric-6.08.ebuild:
+ virtual/glibc -> virtual/libc
+
+*electric-6.08-r1 (12 May 2004)
+
+ 12 May 2004; Patrick Kursawe <phosphan@gentoo.org> electric-6.08-r1.ebuild,
+ files/6.08-fix-sandbox-r1.patch:
+ The fix-sandbox patch tweaked paths a little too much, see bug #50763
+
+*electric-6.08 (19 Apr 2004)
+
+ 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> electric-6.08.ebuild,
+ files/6.08-fix-sandbox.patch, files/6.08-qt.patch:
+ Version bump and some changes that allow to chose between qt and motif GUI,
+ see bug #22160 for details.
+
+*electric-6.07-r1 (05 Apr 2004)
+
+ 05 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> electric-6.07-r1.ebuild:
+ Fixing bug #45390 (didn't find its libraries)
+
+ 26 Mar 2004; David Holm <dholm@gentoo.org> electric-6.07.ebuild:
+ Added to ~ppc.
+
+ 11 Jan 2004; Heinrich Wendel <lanius@gentoo.org> electric-6.07.ebuild:
+ fixed motif dep
+
+*electric-6.07 (09 Mar 2003)
+
+ 17 Apr 2003; Alastair Tse <liquidx@gentoo.org> electric-6.07.ebuild:
+ change dep to virtual/motif
+
+ 09 Mar 2003; George Shapovalov <george@gentoo.org> ChangeLog, electric-6.07.ebuild, files/digest-electric-6.07 :
+ initial release (15674)
+ Electric is a sophisticated electrical CAD system that can handle many forms of circuit design
+ ebuild submitted by Nick <npaulin@purdue.edu>
diff --git a/sci-electronics/electric/Manifest b/sci-electronics/electric/Manifest
new file mode 100644
index 000000000000..72e47470dbb2
--- /dev/null
+++ b/sci-electronics/electric/Manifest
@@ -0,0 +1,13 @@
+MD5 d2000298a2a62ad2b722236e6ae1b7c6 electric-7.00.ebuild 1000
+MD5 7bcc3ac498407527ca26b09f5cef9cd9 ChangeLog 2101
+MD5 465d41b2deca4c7b9a9cfdc39b5a0e93 electric-6.08-r1.ebuild 944
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 6f8a1bef39a25fe51d2a31709bc89638 electric-6.07.ebuild 710
+MD5 360605382817275ccc10068be4fe9da6 files/digest-electric-6.07 66
+MD5 67fe7d0e0440fec38e812682bd6fb218 files/digest-electric-7.00 66
+MD5 31522760b841deb101bacf8521455e79 files/6.08-fix-sandbox.patch 962
+MD5 aaf0ac9ca614a144e057e71e2056dace files/7.00-qt.patch 1373
+MD5 0bcd09959370bd09c26909326c5cc8f1 files/6.08-fix-sandbox-r1.patch 940
+MD5 08ac6be372fdf34293ebc04a592c6063 files/digest-electric-6.08-r1 66
+MD5 bff298428c1a56897e68ea9cd3ae68d4 files/7.00-fix-sandbox.patch 460
+MD5 aaf0ac9ca614a144e057e71e2056dace files/6.08-qt.patch 1373
diff --git a/sci-electronics/electric/electric-6.07.ebuild b/sci-electronics/electric/electric-6.07.ebuild
new file mode 100644
index 000000000000..4a8fc56b7b5d
--- /dev/null
+++ b/sci-electronics/electric/electric-6.07.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/electric/electric-6.07.ebuild,v 1.1 2004/12/27 18:57:44 ribosome Exp $
+
+IUSE="motif"
+
+DESCRIPTION="Electric is a sophisticated electrical CAD system that can handle many forms of circuit design"
+HOMEPAGE="http://www.gnu.org/software/electric/electric.html"
+SRC_URI="http://ftp.gnu.org/pub/gnu/electric/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~ppc"
+
+DEPEND="virtual/libc
+ motif? ( x11-libs/openmotif )"
+
+RDEPEND=""
+
+src_compile() {
+ econf || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ einstall
+
+ dodoc ChangeLog COPYING README
+}
diff --git a/sci-electronics/electric/electric-6.08-r1.ebuild b/sci-electronics/electric/electric-6.08-r1.ebuild
new file mode 100644
index 000000000000..061f600af171
--- /dev/null
+++ b/sci-electronics/electric/electric-6.08-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/electric/electric-6.08-r1.ebuild,v 1.1 2004/12/27 18:57:44 ribosome Exp $
+
+inherit eutils
+
+IUSE="qt"
+
+DESCRIPTION="Electric is a sophisticated electrical CAD system that can handle many forms of circuit design"
+HOMEPAGE="http://www.gnu.org/software/electric/electric.html"
+SRC_URI="http://ftp.gnu.org/pub/gnu/electric/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~amd64"
+
+DEPEND="virtual/libc
+ !qt? ( x11-libs/openmotif )
+ qt? ( >=x11-libs/qt-3.1 )"
+
+src_unpack() {
+ unpack ${A}; cd ${S}
+ epatch ${FILESDIR}/${PV}-fix-sandbox-r1.patch
+ use qt && epatch ${FILESDIR}/${PV}-qt.patch
+}
+
+src_compile() {
+ econf || die "./configure failed"
+ sed -e 's:/usr/local/:/usr/:g' -i src/include/config.h
+ emake || die
+}
+
+src_install() {
+ einstall DESTDIR="${D}"
+
+ dodoc ChangeLog COPYING README
+}
diff --git a/sci-electronics/electric/electric-7.00.ebuild b/sci-electronics/electric/electric-7.00.ebuild
new file mode 100644
index 000000000000..d968547ac068
--- /dev/null
+++ b/sci-electronics/electric/electric-7.00.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/electric/electric-7.00.ebuild,v 1.1 2004/12/27 18:57:44 ribosome Exp $
+
+inherit eutils
+
+IUSE="qt"
+
+DESCRIPTION="Electric is a sophisticated electrical CAD system that can handle many forms of circuit design"
+HOMEPAGE="http://www.gnu.org/software/electric/electric.html"
+SRC_URI="http://ftp.gnu.org/pub/gnu/electric/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="virtual/libc
+ !qt? ( x11-libs/openmotif )
+ qt? ( >=x11-libs/qt-3.1 )"
+
+src_unpack() {
+ unpack ${A}; cd ${S}
+ epatch ${FILESDIR}/${PV}-fix-sandbox.patch
+ use qt && epatch ${FILESDIR}/${PV}-qt.patch
+}
+
+src_compile() {
+ econf || die "./configure failed"
+ sed -e 's:/usr/local/:/usr/:g' -i src/include/config.h
+ emake OPTIMIZE="${CXXFLAGS}" || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc ChangeLog COPYING README
+}
diff --git a/sci-electronics/electric/files/6.08-fix-sandbox-r1.patch b/sci-electronics/electric/files/6.08-fix-sandbox-r1.patch
new file mode 100644
index 000000000000..5a8316d37494
--- /dev/null
+++ b/sci-electronics/electric/files/6.08-fix-sandbox-r1.patch
@@ -0,0 +1,23 @@
+--- Makefile.in.oric 2004-03-15 10:31:14.000000000 +1030
++++ Makefile.in 2004-03-15 10:31:27.000000000 +1030
+@@ -932,15 +932,15 @@
+ rm -f src/vhdl/*~ src/vhdl/"#"*"#"
+
+ install: all
+- $(INSTALL) -d -m755 @bindir@ /usr/share/electric/lib
+- $(INSTALL) -m755 $(PROGNAME) @bindir@/$(PROGNAME)
+- $(INSTALL) -m644 lib/.cadrc /usr/share/electric/lib
++ $(INSTALL) -d -m755 @bindir@ ${DESTDIR}/@datadir@/electric/lib
++ $(INSTALL) -m755 $(PROGNAME) @bindir@/$(PROGNAME)
++ $(INSTALL) -m644 lib/.cadrc ${DESTDIR}/@datadir@/electric/lib
+ @(cd lib ; \
+ for d in `$(FIND) . -type d -print`; do \
+- $(INSTALL) -d -m755 /usr/share/electric/lib/$$d ; \
++ $(INSTALL) -d -m755 ${DESTDIR}/@datadir@/electric/lib/$$d ; \
+ (cd $$d ; \
+ for f in `$(FIND) . -type f -maxdepth 1 -print`; do \
+- install -m644 $$f /usr/share/electric/lib/$$d/$$f ; \
++ install -m644 $$f ${DESTDIR}/@datadir@/electric/lib/$$d/$$f ; \
+ done ) ; \
+ done ) ;
+
diff --git a/sci-electronics/electric/files/6.08-fix-sandbox.patch b/sci-electronics/electric/files/6.08-fix-sandbox.patch
new file mode 100644
index 000000000000..d22aee6b1c1d
--- /dev/null
+++ b/sci-electronics/electric/files/6.08-fix-sandbox.patch
@@ -0,0 +1,23 @@
+--- Makefile.in.oric 2004-03-15 10:31:14.000000000 +1030
++++ Makefile.in 2004-03-15 10:31:27.000000000 +1030
+@@ -932,15 +932,15 @@
+ rm -f src/vhdl/*~ src/vhdl/"#"*"#"
+
+ install: all
+- $(INSTALL) -d -m755 @bindir@ /usr/share/electric/lib
+- $(INSTALL) -m755 $(PROGNAME) @bindir@/$(PROGNAME)
+- $(INSTALL) -m644 lib/.cadrc /usr/share/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 ; \
+ for d in `$(FIND) . -type d -print`; do \
+- $(INSTALL) -d -m755 /usr/share/electric/lib/$$d ; \
++ $(INSTALL) -d -m755 ${DESTDIR}/@datadir@/electric/lib/$$d ; \
+ (cd $$d ; \
+ for f in `$(FIND) . -type f -maxdepth 1 -print`; do \
+- install -m644 $$f /usr/share/electric/lib/$$d/$$f ; \
++ install -m644 $$f ${DESTDIR}/@datadir@/electric/lib/$$d/$$f ; \
+ done ) ; \
+ done ) ;
+
diff --git a/sci-electronics/electric/files/6.08-qt.patch b/sci-electronics/electric/files/6.08-qt.patch
new file mode 100644
index 000000000000..137f1e943642
--- /dev/null
+++ b/sci-electronics/electric/files/6.08-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/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/digest-electric-6.07 b/sci-electronics/electric/files/digest-electric-6.07
new file mode 100644
index 000000000000..cacc9acf429e
--- /dev/null
+++ b/sci-electronics/electric/files/digest-electric-6.07
@@ -0,0 +1 @@
+MD5 5cc31dd141b1521cdbe97c16a393d40d electric-6.07.tar.gz 4177675
diff --git a/sci-electronics/electric/files/digest-electric-6.08-r1 b/sci-electronics/electric/files/digest-electric-6.08-r1
new file mode 100644
index 000000000000..75dcd5f32194
--- /dev/null
+++ b/sci-electronics/electric/files/digest-electric-6.08-r1
@@ -0,0 +1 @@
+MD5 de428032f08d3d3ee8686f178ae6b160 electric-6.08.tar.gz 4386249
diff --git a/sci-electronics/electric/files/digest-electric-7.00 b/sci-electronics/electric/files/digest-electric-7.00
new file mode 100644
index 000000000000..a1517b7a0653
--- /dev/null
+++ b/sci-electronics/electric/files/digest-electric-7.00
@@ -0,0 +1 @@
+MD5 64c89f820467b418d24ddf6c7e206c08 electric-7.00.tar.gz 4474722
diff --git a/sci-electronics/electric/metadata.xml b/sci-electronics/electric/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-electronics/electric/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>