diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-12-27 20:35:35 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-12-27 20:35:35 +0000 |
commit | 378b1f7e11b03d679053774efe1fe0d16ae4c7c1 (patch) | |
tree | 169b6969275630bbfb2140e65347d0dc01ae1d0c /sci-electronics | |
parent | Moving to sci-electronics/xcircuit (diff) | |
download | gentoo-2-378b1f7e11b03d679053774efe1fe0d16ae4c7c1.tar.gz gentoo-2-378b1f7e11b03d679053774efe1fe0d16ae4c7c1.tar.bz2 gentoo-2-378b1f7e11b03d679053774efe1fe0d16ae4c7c1.zip |
Moved from app-sci/xcircuit to sci-electronics/xcircuit.
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/xcircuit/ChangeLog | 82 | ||||
-rw-r--r-- | sci-electronics/xcircuit/Manifest | 12 | ||||
-rw-r--r-- | sci-electronics/xcircuit/files/digest-xcircuit-2.5.4 | 1 | ||||
-rw-r--r-- | sci-electronics/xcircuit/files/digest-xcircuit-2.5.5 | 1 | ||||
-rw-r--r-- | sci-electronics/xcircuit/files/digest-xcircuit-3.1.31 | 1 | ||||
-rw-r--r-- | sci-electronics/xcircuit/files/digest-xcircuit-3.2.22 | 1 | ||||
-rw-r--r-- | sci-electronics/xcircuit/files/xcircuit-2.5.4-XQueryColor.patch | 10 | ||||
-rw-r--r-- | sci-electronics/xcircuit/files/xcircuit-2.5.4-sigsegv.patch | 11 | ||||
-rw-r--r-- | sci-electronics/xcircuit/metadata.xml | 8 | ||||
-rw-r--r-- | sci-electronics/xcircuit/xcircuit-2.5.4.ebuild | 55 | ||||
-rw-r--r-- | sci-electronics/xcircuit/xcircuit-2.5.5.ebuild | 33 | ||||
-rw-r--r-- | sci-electronics/xcircuit/xcircuit-3.1.31.ebuild | 47 | ||||
-rw-r--r-- | sci-electronics/xcircuit/xcircuit-3.2.22.ebuild | 47 |
13 files changed, 309 insertions, 0 deletions
diff --git a/sci-electronics/xcircuit/ChangeLog b/sci-electronics/xcircuit/ChangeLog new file mode 100644 index 000000000000..d4fde18da805 --- /dev/null +++ b/sci-electronics/xcircuit/ChangeLog @@ -0,0 +1,82 @@ +# ChangeLog for app-sci/xcircuit +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/ChangeLog,v 1.1 2004/12/27 20:35:35 ribosome Exp $ + +*xcircuit-2.5.5 (27 Dec 2004) + + 27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +files/xcircuit-2.5.4-XQueryColor.patch, + +files/xcircuit-2.5.4-sigsegv.patch, +xcircuit-2.5.4.ebuild, + +xcircuit-2.5.5.ebuild, +xcircuit-3.1.31.ebuild, +xcircuit-3.2.22.ebuild: + Moved from app-sci/xcircuit to sci-electronics/xcircuit. + + 18 Dec 2004; Michael Hanselmann <hansmi@gentoo.org> + xcircuit-3.1.31.ebuild: + Stable on ppc. + +*xcircuit-3.2.22 (25 Jun 2004) + + 25 Jun 2004; <plasmaroo@gentoo.org> +xcircuit-3.2.22.ebuild: + Version bump. + + 02 Jun 2004; Aron Griffis <agriffis@gentoo.org> xcircuit-3.1.31.ebuild: + Fix use invocation + + 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> xcircuit-3.1.31.ebuild: + Add die following econf for bug 48950 + + 21 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> xcircuit-3.1.31.ebuild: + Changed IUSE to correct value + + 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> xcircuit-2.5.4.ebuild, + xcircuit-2.5.5.ebuild, xcircuit-3.1.31.ebuild, + files/xcircuit-2.5.4-XQueryColor.patch, files/xcircuit-2.5.4-sigsegv.patch: + Adding IUSE, moving patch -> epatch + +*xcircuit-3.1.31 (05 Jan 2004) + + 05 Jan 2004; <plasmaroo@gentoo.org> xcircuit-2.5.4.ebuild, + xcircuit-2.5.5.ebuild, xcircuit-3.1.29.ebuild, xcircuit-3.1.31.ebuild: + Bumped version, and added Tcl/Tk support. + + 09 Dec 2003; Heinrich Wendel <lanius@gentoo.org> xcircuit-2.5.4.ebuild, + xcircuit-2.5.5.ebuild, xcircuit-3.1.29.ebuild: + Changed app-text/ghostscript to virtual/ghostscript. + +*xcircuit-3.1.29 (27 Nov 2003) + + 27 Nov 2003; <plasmaroo@gentoo.org> xcircuit-3.1.29.ebuild: + Version bump... + +*xcircuit-2.5.5 (5 Jan 2003) + + 5 Jan 2003; George Shapovalov <george@gentoo.org> xcircuit-2.5.5.ebuild : + Version update. + +*xcircuit-2.5.4 (5 Apr 2002) + + 15 Oct 2002; George Shapovalov <george@gentoo.org> xcircuit-2.5.4.ebuild + Changed '~x86' to 'x86' and added '~ppc' upon some test reports. + Updated HOMEPAGE and SRC_URI to point to the present location (package + hosting seem to have moved a lot over last few month) + + 14 Oct 2002; George Shapovalov <george@gentoo.org> xcircuit-2.5.4.ebuild, + files/xcircuit-2.5.4-*.patch : Thanks to Jonathan Nall + <nall@themountaingoats.net> for tracing few gcc related problems. One patch + is conditional on gcc-3.2 presence. See #8957 and #8960 for details. + + 16 Aug 2002; George Shapovalov <george@gentoo.org> xcircuit-2.5.4.ebuild : + Due to report by Marius Bernklev <mariube@sex.ifi.uio.no> added code + to replace -O3 -> -O2 in C[XX]FLAGS. + + 25 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> xcircuit-2.5.4.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 06 May 2002; George Shapovalov <george@gentoo.org> all : + Moved from app-misc to app-sci. + + 5 Apr 2002; Tod Neidt <tod@gentoo.org> xcircuit-2.5.4.ebuild, Changelog : + Fixed typo on ghoscript dependency. + + 5 Apr 2002; Tod Neidt <tod@gentoo.org> xcircuit-2.5.4.ebuild, Changelog : + Initial commit. User request. diff --git a/sci-electronics/xcircuit/Manifest b/sci-electronics/xcircuit/Manifest new file mode 100644 index 000000000000..7ae234c0ec2b --- /dev/null +++ b/sci-electronics/xcircuit/Manifest @@ -0,0 +1,12 @@ +MD5 249474e0e6e38c9374a08ab3ce6a74fd xcircuit-3.2.22.ebuild 1195 +MD5 37d051a70f2d6cc641e1beaf7c446755 xcircuit-2.5.4.ebuild 1142 +MD5 e49bb02132d2cd74ad4e6ee291e102d9 metadata.xml 220 +MD5 f6b830f8a6109ef9d68cd13aec691ae6 ChangeLog 2812 +MD5 35cc58f2b212f760c8d23d1a83017403 xcircuit-3.1.31.ebuild 1195 +MD5 e005d5395d9014eb2c7ba0ca045b30ff xcircuit-2.5.5.ebuild 812 +MD5 3f779f7efbaa50b91424a66a5a4ff08e files/digest-xcircuit-2.5.5 67 +MD5 e89ab3e2fabd20a609586953924cb1d0 files/xcircuit-2.5.4-XQueryColor.patch 342 +MD5 ca649d4969dc9ee0ed87504dbf062042 files/digest-xcircuit-2.5.4 67 +MD5 639e12a73db7c3c17e559e2e6fb9501b files/digest-xcircuit-3.2.22 65 +MD5 f31e766c87ea445fe61d969cdf427d4b files/xcircuit-2.5.4-sigsegv.patch 306 +MD5 89d6bd7483424eb145efd4d3c58f6abb files/digest-xcircuit-3.1.31 64 diff --git a/sci-electronics/xcircuit/files/digest-xcircuit-2.5.4 b/sci-electronics/xcircuit/files/digest-xcircuit-2.5.4 new file mode 100644 index 000000000000..d9a7e983712a --- /dev/null +++ b/sci-electronics/xcircuit/files/digest-xcircuit-2.5.4 @@ -0,0 +1 @@ +MD5 86710040906ca4120c399efd93ee0346 xcircuit-2.5.4.tar.bz2 510752 diff --git a/sci-electronics/xcircuit/files/digest-xcircuit-2.5.5 b/sci-electronics/xcircuit/files/digest-xcircuit-2.5.5 new file mode 100644 index 000000000000..d234949b4c86 --- /dev/null +++ b/sci-electronics/xcircuit/files/digest-xcircuit-2.5.5 @@ -0,0 +1 @@ +MD5 d96cf74f3d39245bf711e67d77b06d49 xcircuit-2.5.5.tar.bz2 523555 diff --git a/sci-electronics/xcircuit/files/digest-xcircuit-3.1.31 b/sci-electronics/xcircuit/files/digest-xcircuit-3.1.31 new file mode 100644 index 000000000000..b1104b7e0024 --- /dev/null +++ b/sci-electronics/xcircuit/files/digest-xcircuit-3.1.31 @@ -0,0 +1 @@ +MD5 e5187648ff88192790736a77370e6e39 xcircuit-3.1.31.tgz 819653 diff --git a/sci-electronics/xcircuit/files/digest-xcircuit-3.2.22 b/sci-electronics/xcircuit/files/digest-xcircuit-3.2.22 new file mode 100644 index 000000000000..53fc95774569 --- /dev/null +++ b/sci-electronics/xcircuit/files/digest-xcircuit-3.2.22 @@ -0,0 +1 @@ +MD5 370da21b56f7bef9ae137b8e10ff2323 xcircuit-3.2.22.tgz 1293668 diff --git a/sci-electronics/xcircuit/files/xcircuit-2.5.4-XQueryColor.patch b/sci-electronics/xcircuit/files/xcircuit-2.5.4-XQueryColor.patch new file mode 100644 index 000000000000..098d302dc93f --- /dev/null +++ b/sci-electronics/xcircuit/files/xcircuit-2.5.4-XQueryColor.patch @@ -0,0 +1,10 @@ +--- xcircuit.c 2002-03-20 14:00:50.000000000 -0800 ++++ xcircuit.c 2002-10-11 12:24:24.000000000 -0700 +@@ -1845,6 +1845,7 @@ + XQueryColor(dpy, cmap, &loccolor); + + locidx = rgb_alloccolor(loccolor.red, loccolor.green, loccolor.blue); ++ return locidx; + } + + /*-------------------------------------------------------------------------*/ diff --git a/sci-electronics/xcircuit/files/xcircuit-2.5.4-sigsegv.patch b/sci-electronics/xcircuit/files/xcircuit-2.5.4-sigsegv.patch new file mode 100644 index 000000000000..cce4b5ae7816 --- /dev/null +++ b/sci-electronics/xcircuit/files/xcircuit-2.5.4-sigsegv.patch @@ -0,0 +1,11 @@ +--- files.c 2002-03-26 13:12:18.000000000 -0800 ++++ files.c 2002-10-11 12:23:38.000000000 -0700 +@@ -1970,6 +1970,8 @@ + int curcolor = ccolor; + int i, j, k; + objinstptr *newinst; ++ objinstptr tmpobjinstptr; ++ newinst = &tmpobjinstptr; + + /* path-handling variables */ + pathptr *newpath; diff --git a/sci-electronics/xcircuit/metadata.xml b/sci-electronics/xcircuit/metadata.xml new file mode 100644 index 000000000000..e2035cdbb121 --- /dev/null +++ b/sci-electronics/xcircuit/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>plasmaroo@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/sci-electronics/xcircuit/xcircuit-2.5.4.ebuild b/sci-electronics/xcircuit/xcircuit-2.5.4.ebuild new file mode 100644 index 000000000000..a0139d2d3194 --- /dev/null +++ b/sci-electronics/xcircuit/xcircuit-2.5.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/xcircuit-2.5.4.ebuild,v 1.1 2004/12/27 20:35:35 ribosome Exp $ + +inherit flag-o-matic eutils + +DESCRIPTION="Circuit drawing and schematic capture program." +SRC_URI="http://xcircuit.ece.jhu.edu/archive/${P}.tar.bz2" +HOMEPAGE="http://xcircuit.ece.jhu.edu" + +KEYWORDS="x86 ppc" +IUSE="" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="virtual/x11 + dev-lang/python + virtual/ghostscript" + +#looks like -O3 causes problems at times +replace-flags -O3 -O2 + +src_unpack() { + + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-${PV}-XQueryColor.patch + + #only apply this patch if under gcc-3.2 + if [ "`gcc -dumpversion | cut -d. -f1,2`" == "3.2" ]; then + epatch ${FILESDIR}/${PN}-${PV}-sigsegv.patch + fi + +} + + +src_compile() { + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --mandir=/usr/share/man || die "./configure failed" + + #Parallel make bombs on parameter.c looking for menudep.h + make || die + +} + +src_install () { + + make DESTDIR=${D} install || die "Installation failed" + + dodoc COPYRIGHT README* + +} diff --git a/sci-electronics/xcircuit/xcircuit-2.5.5.ebuild b/sci-electronics/xcircuit/xcircuit-2.5.5.ebuild new file mode 100644 index 000000000000..1f6f0c88ad7c --- /dev/null +++ b/sci-electronics/xcircuit/xcircuit-2.5.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/xcircuit-2.5.5.ebuild,v 1.1 2004/12/27 20:35:35 ribosome Exp $ + +inherit flag-o-matic + +DESCRIPTION="Circuit drawing and schematic capture program." +SRC_URI="http://xcircuit.ece.jhu.edu/archive/${P}.tar.bz2" +HOMEPAGE="http://xcircuit.ece.jhu.edu" + +KEYWORDS="x86 ~ppc" +IUSE="" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="virtual/x11 + dev-lang/python + virtual/ghostscript" + +#looks like -O3 causes problems at times +replace-flags -O3 -O2 + +src_compile() { + econf || die "./configure failed" + + #Parallel make bombs on parameter.c looking for menudep.h + make || die +} + +src_install () { + make DESTDIR=${D} install || die "Installation failed" + dodoc COPYRIGHT README* +} diff --git a/sci-electronics/xcircuit/xcircuit-3.1.31.ebuild b/sci-electronics/xcircuit/xcircuit-3.1.31.ebuild new file mode 100644 index 000000000000..a1386c97764c --- /dev/null +++ b/sci-electronics/xcircuit/xcircuit-3.1.31.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/xcircuit-3.1.31.ebuild,v 1.1 2004/12/27 20:35:35 ribosome Exp $ + +DESCRIPTION="Circuit drawing and schematic capture program." +SRC_URI="http://xcircuit.ece.jhu.edu/archive/${P}.tgz" +HOMEPAGE="http://xcircuit.ece.jhu.edu" + +KEYWORDS="x86 ppc" +SLOT="0" +LICENSE="GPL-2" +IUSE="tcltk" + +DEPEND="virtual/x11 + virtual/ghostscript + tcltk? ( dev-lang/tk )" + +src_compile() { + + sed -e '693s:LDFLAGS="":LDFLAGS="-L/usr/X11R6/lib":;694i LIBS="${LIBS} ${LIB_SPECS}"' -i configure.in + aclocal && autoconf || die "Could not recreate configuration files!" + + if use tcltk; then + econf --with-tcl --with-tk || die "econf failed" + else + econf || die "econf failed" + fi + + if use tcltk; then + sed -e '67s/extern //' -i events.c + sed -e 's/extern Tcl_Interp/Tcl_Interp/' -i tclxcircuit.c + sed -e '2982d; 3069d;' -i xcircuit.c + make tcl || die + fi + make || die + +} + +src_install () { + + emake DESTDIR=${D} install || die "Installation failed" + if use tcltk; then + emake DESTDIR=${D} install-tcl || die "Installation failed" + fi + dodoc COPYRIGHT README* + +} diff --git a/sci-electronics/xcircuit/xcircuit-3.2.22.ebuild b/sci-electronics/xcircuit/xcircuit-3.2.22.ebuild new file mode 100644 index 000000000000..12145b436852 --- /dev/null +++ b/sci-electronics/xcircuit/xcircuit-3.2.22.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/xcircuit-3.2.22.ebuild,v 1.1 2004/12/27 20:35:35 ribosome Exp $ + +DESCRIPTION="Circuit drawing and schematic capture program." +SRC_URI="http://xcircuit.ece.jhu.edu/archive/${P}.tgz" +HOMEPAGE="http://xcircuit.ece.jhu.edu" + +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="tcltk" + +DEPEND="virtual/x11 + virtual/ghostscript + tcltk? ( dev-lang/tk )" + +src_compile() { + + sed -e '693s:LDFLAGS="":LDFLAGS="-L/usr/X11R6/lib":;694i LIBS="${LIBS} ${LIB_SPECS}"' -i configure.in + aclocal && autoconf || die "Could not recreate configuration files!" + + if use tcltk; then + econf --with-tcl --with-tk || die "econf failed" + else + econf || die "econf failed" + fi + + if use tcltk; then + sed -e '67s/extern //' -i events.c + sed -e 's/extern Tcl_Interp/Tcl_Interp/' -i tclxcircuit.c + sed -e '2982d; 3069d;' -i xcircuit.c + make tcl || die + fi + make || die + +} + +src_install () { + + emake DESTDIR=${D} install || die "Installation failed" + if use tcltk; then + emake DESTDIR=${D} install-tcl || die "Installation failed" + fi + dodoc COPYRIGHT README* + +} |