From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-electronics/alliance/Manifest | 7 ++ .../alliance/alliance-5.0.20110203.ebuild | 63 +++++++++++ .../files/alliance-5.0.20070718-overun.patch | 12 +++ .../files/alliance-5.0.20110203-impl-dec.patch | 119 +++++++++++++++++++++ sci-electronics/alliance/metadata.xml | 18 ++++ 5 files changed, 219 insertions(+) create mode 100644 sci-electronics/alliance/Manifest create mode 100644 sci-electronics/alliance/alliance-5.0.20110203.ebuild create mode 100644 sci-electronics/alliance/files/alliance-5.0.20070718-overun.patch create mode 100644 sci-electronics/alliance/files/alliance-5.0.20110203-impl-dec.patch create mode 100644 sci-electronics/alliance/metadata.xml (limited to 'sci-electronics/alliance') diff --git a/sci-electronics/alliance/Manifest b/sci-electronics/alliance/Manifest new file mode 100644 index 000000000000..c1438bacb28e --- /dev/null +++ b/sci-electronics/alliance/Manifest @@ -0,0 +1,7 @@ +AUX alliance-5.0.20070718-overun.patch 440 SHA256 734effb9f03b93563324eb7e3c9e2b6a67b95b086181fd77cd58c6d1abea5c25 SHA512 74874734cd817526131964e46609c1c0ce9aa7bf6812710ac7191e6a23e6de5467ec32f4bf410bdc8d9e868429ccf1a2de9cb8787901fc3de8df5f099cee77a0 WHIRLPOOL 567e840f65af039c0073f022b6c3af739bb6a31ae7b8e490b5012ebfa756def7c6bc634cb5490e58f40db00bd36781dd8190fb168a6ad3e82dd7e0ebbea15845 +AUX alliance-5.0.20110203-impl-dec.patch 3087 SHA256 3fc87488ab452691cee54cc2fed62032f7c2505d0ef3b7a6697d479aba3b66e1 SHA512 92a418ed4291f71fe1deb14256cc53ced983105b70fc1edc1d6ab178553750ed50236f7165a567446fbf75f697a0e354760bf9ca8d06526b8c4292e7495baf8c WHIRLPOOL 3987a0032ef1a9cd955206dc729a74ea2ec5915be2afc9df0e73580ad2e6181001859cdd927d2d106b3d7f00c8e60549c2638ee3ecea7617bcbc3100d2da1bad +DIST alliance-5.0-20110203.tar.gz 8112254 SHA256 32bb4634921aacaf620ae337433cbaf16171b950fadab8111325501962278fb1 SHA512 03859d4d5167c223c2af9784843303a46d9a47e7fb26c2dadd60361b6735f6afb75c3097460dd804ef339c72f2bf0f60e78713be88d2c5ad06ad8b0c376857c8 WHIRLPOOL 963ce210f30c5c95ef44a1983d0bd284edb3fa3cd941aff3022d7565972831d777b675428d62b0dbf55c3a2fafedf21db3ffa275cd46c8fe60ea5213c2368df7 +EBUILD alliance-5.0.20110203.ebuild 1386 SHA256 de36509b422d55bab7e7589c40bcc1116aa8fb04bf9c6ef599399fd43652f434 SHA512 1236c6c2233c7effabf29664d0c4e225f62a634149ad07d7bf7623dc24fd9e9d59e25107b0b9d16ccb1f803930ae2f5bfef52aebb90b688c9e180b73cfab249c WHIRLPOOL f71ddb3746700d5f6f5f7bd5d8af42945a89eff3d215439b480c2b951f3fcab545d5186af51c1a162205cd530292835f2988307c00cfe1f361605c8e158443d7 +MISC ChangeLog 2619 SHA256 79b0d215e34ead60f2f01088a593738864aca7a8b59239bcc9360205790c8f1f SHA512 cfc8f4387b4d8c41c9adccee099ef93fcec2a3e5c435ee8cb501ed77c5c606112a358553f59f34eab98b07f63bb0d46c674e6e7729ecb9b3d65baa47ab897da7 WHIRLPOOL 6861ea3d1c62ffdb621d59983ec3beee6fb0fb2c96a35402d0529ae09fee209e82b05eb3464021220af50d1be804602b3b0ee05b4ea0216ddfca619524dee5bc +MISC ChangeLog-2015 3093 SHA256 7114e47b3b43796ec5962828c42395371839a9d1557464f39ae23d6e6e6fc64f SHA512 d09dd6aa460afbb6cc089f74405bd6922e3cdf123875c8c263939f416a5bd95b989fc927ea89780e393a6f078b0827c074f5ef882aa727ec0298cc6439947cc5 WHIRLPOOL 14d4e3a771b5a04e616868e784e0a029e69fe485f1c2d9080d08e0fe779daaf22886fb9ac7bc05777bb295ef5263f5b937b17f9606e3bf9033bfe3e6f5c578e5 +MISC metadata.xml 878 SHA256 7ccae67a245288528d44210d2308cf65d4ec99ef6f090e839af005d45ed2d4b7 SHA512 fd448df041b15f1c6c73d094258c308e55e05dece7323ef37346942f2d8094f1252912e0fd36fb8074c84997274d50b14192aa2a6134104ca848fd10fc36af11 WHIRLPOOL 89810b6642c8182ad8841d3b01eec102c49e6f979b28ce1a1d8d3b964ab11f7254ee8263eeaff45bb4ce52e1c26c4004691b4d526e418cb5819d9013f0b0a2fa diff --git a/sci-electronics/alliance/alliance-5.0.20110203.ebuild b/sci-electronics/alliance/alliance-5.0.20110203.ebuild new file mode 100644 index 000000000000..aa8045c61de5 --- /dev/null +++ b/sci-electronics/alliance/alliance-5.0.20110203.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit versionator flag-o-matic eutils + +MY_PV=$(replace_version_separator 2 '-' ) +UPSTREAM_VERSION=$(get_version_component_range 1-2) +URL="http://www-asim.lip6.fr/pub/alliance/distribution/${UPSTREAM_VERSION}" + +DESCRIPTION="Digital IC design tools (simulation, synthesis, place/route, etc...)" +HOMEPAGE="https://soc-extras.lip6.fr/en/alliance-abstract-en/" +SRC_URI="${URL}/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-2 LGPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=x11-libs/motif-2.3:0 + x11-libs/libXpm + x11-libs/libXt" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${UPSTREAM_VERSION}" + +src_prepare() { + #fix buffer overrun (bug 340789) + epatch \ + "${FILESDIR}"/${PN}-${UPSTREAM_VERSION}.20070718-overun.patch \ + "${FILESDIR}"/${P}-impl-dec.patch +} + +src_configure() { + # Fix bug #134285 + replace-flags -O3 -O2 + + # Alliance requires everything to be in the same directory + econf \ + --prefix=/usr/lib/${PN} \ + --mandir=/usr/lib/${PN}/man \ + --with-x \ + --with-motif \ + --with-xpm \ + --with-alc-shared +} + +src_compile() { + # See bug #134145 + emake -j1 +} + +src_install() { + make install DESTDIR="${D}" + insinto /etc + newins distrib/etc/alc_env.sh alliance.env +} + +pkg_postinst() { + elog "Users should source /etc/alliance.env before working with Alliance tools." +} diff --git a/sci-electronics/alliance/files/alliance-5.0.20070718-overun.patch b/sci-electronics/alliance/files/alliance-5.0.20070718-overun.patch new file mode 100644 index 000000000000..50cfc30be23f --- /dev/null +++ b/sci-electronics/alliance/files/alliance-5.0.20070718-overun.patch @@ -0,0 +1,12 @@ +# fix buffer overun (bug 340789) +--- druc/src/drucbath.c.orig 2010-10-15 14:15:52.000000000 +0000 ++++ druc/src/drucbath.c 2010-10-15 14:19:03.000000000 +0000 +@@ -66,7 +66,7 @@ + rdsins_list *InstanceCourante; + char *TmpErrorFileName; + FILE *TmpErrorFile; +-char DrucTmpFileBuffer [ DRUC_MAX_STRING_BUFFER + 1 ]; ++char DrucTmpFileBuffer [ DRUC_MAX_FILE_BUFFER + 1 ]; + + fputs ( "\n" , + DrucErrorFile diff --git a/sci-electronics/alliance/files/alliance-5.0.20110203-impl-dec.patch b/sci-electronics/alliance/files/alliance-5.0.20110203-impl-dec.patch new file mode 100644 index 000000000000..c1ef31619167 --- /dev/null +++ b/sci-electronics/alliance/files/alliance-5.0.20110203-impl-dec.patch @@ -0,0 +1,119 @@ + dreal/src/GRD_error.c | 1 + + lynx/src/cutelbow.c | 1 + + lynx/src/parse.c | 1 + + mips_asm/src/mips_util.c | 1 + + proof/src/proof_main.c | 1 + + proof/src/proof_util.c | 1 + + xfsm/src/XFS_error.c | 1 + + xgra/src/XGR_error.c | 1 + + xsch/src/XSC_error.c | 1 + + 9 files changed, 9 insertions(+), 0 deletions(-) + +diff --git a/dreal/src/GRD_error.c b/dreal/src/GRD_error.c +index e3baba6..c00bf13 100644 +--- a/dreal/src/GRD_error.c ++++ b/dreal/src/GRD_error.c +@@ -46,6 +46,7 @@ + # include + # include + # include ++# include + # include "mut.h" + # include "mph.h" + # include "rds.h" +diff --git a/lynx/src/cutelbow.c b/lynx/src/cutelbow.c +index 7411f35..306649b 100644 +--- a/lynx/src/cutelbow.c ++++ b/lynx/src/cutelbow.c +@@ -43,6 +43,7 @@ + \------------------------------------------------------------*/ + + # include ++# include + + # include "mut.h" + # include "mlo.h" +diff --git a/lynx/src/parse.c b/lynx/src/parse.c +index ed8a2e5..9077c3f 100644 +--- a/lynx/src/parse.c ++++ b/lynx/src/parse.c +@@ -43,6 +43,7 @@ + \------------------------------------------------------------*/ + + # include ++# include + + # include "mut.h" + # include "mlo.h" +diff --git a/mips_asm/src/mips_util.c b/mips_asm/src/mips_util.c +index f5fa55f..5ad6a4f 100644 +--- a/mips_asm/src/mips_util.c ++++ b/mips_asm/src/mips_util.c +@@ -30,6 +30,7 @@ + /* ###--------------------------------------------------------------### */ + + #include ++#include + #include "mut.h" + #include "log.h" + #include "beh.h" +diff --git a/proof/src/proof_main.c b/proof/src/proof_main.c +index b6eee94..3d8a91a 100644 +--- a/proof/src/proof_main.c ++++ b/proof/src/proof_main.c +@@ -32,6 +32,7 @@ + + #include + #include ++#include + #include "mut.h" + #include "log.h" + #include "beh.h" +diff --git a/proof/src/proof_util.c b/proof/src/proof_util.c +index 841937f..fa20ba1 100644 +--- a/proof/src/proof_util.c ++++ b/proof/src/proof_util.c +@@ -31,6 +31,7 @@ + + #include + #include ++#include + + #include "mut.h" + #include "log.h" +diff --git a/xfsm/src/XFS_error.c b/xfsm/src/XFS_error.c +index 20ccd0a..5aded2b 100644 +--- a/xfsm/src/XFS_error.c ++++ b/xfsm/src/XFS_error.c +@@ -46,6 +46,7 @@ + # include + # include + # include ++# include + # include "mut.h" + # include "aut.h" + # include "abl.h" +diff --git a/xgra/src/XGR_error.c b/xgra/src/XGR_error.c +index 3204423..b2d35c5 100644 +--- a/xgra/src/XGR_error.c ++++ b/xgra/src/XGR_error.c +@@ -46,6 +46,7 @@ + # include + # include + # include ++# include + # include "mut.h" + # include "aut.h" + # include "XSB.h" +diff --git a/xsch/src/XSC_error.c b/xsch/src/XSC_error.c +index 9bdf65e..b8c5689 100644 +--- a/xsch/src/XSC_error.c ++++ b/xsch/src/XSC_error.c +@@ -46,6 +46,7 @@ + # include + # include + # include ++# include + # include "mut.h" + # include "aut.h" + # include "mlo.h" diff --git a/sci-electronics/alliance/metadata.xml b/sci-electronics/alliance/metadata.xml new file mode 100644 index 000000000000..209cac163fa4 --- /dev/null +++ b/sci-electronics/alliance/metadata.xml @@ -0,0 +1,18 @@ + + + + + sci-electronics@gentoo.org + Gentoo Electronics Project + + + Alliance is a complete set of free CAD tools and portable libraries for VLSI + design. It includes a VHDL compiler and simulator, logic synthesis tools, and + automatic place and route tools. A complete set of portable CMOS libraries is + provided. Alliance is the result of a twelve year effort spent at ASIM + department of LIP6 laboratory of the Pierre et Marie Curie University (Paris + VI, France). Alliance has been used for research projects such as the 875 000 + transistors StaCS superscalar microprocessor and 400 000 transistors IEEE + Gigabit HSL Router. + + -- cgit v1.2.3