From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sci-electronics/irsim/Manifest | 2 + .../irsim/files/irsim-9.7.72-ldflags.patch | 44 ++++++++++++++++++ .../irsim/files/irsim-9.7.79-datadir.patch | 23 +++++++++ sci-electronics/irsim/irsim-9.7.79.ebuild | 54 ++++++++++++++++++++++ sci-electronics/irsim/irsim-9.7.87.ebuild | 50 ++++++++++++++++++++ sci-electronics/irsim/metadata.xml | 12 +++++ 6 files changed, 185 insertions(+) create mode 100644 sci-electronics/irsim/Manifest create mode 100644 sci-electronics/irsim/files/irsim-9.7.72-ldflags.patch create mode 100644 sci-electronics/irsim/files/irsim-9.7.79-datadir.patch create mode 100644 sci-electronics/irsim/irsim-9.7.79.ebuild create mode 100644 sci-electronics/irsim/irsim-9.7.87.ebuild create mode 100644 sci-electronics/irsim/metadata.xml (limited to 'sci-electronics/irsim') diff --git a/sci-electronics/irsim/Manifest b/sci-electronics/irsim/Manifest new file mode 100644 index 000000000000..a443cc8ff129 --- /dev/null +++ b/sci-electronics/irsim/Manifest @@ -0,0 +1,2 @@ +DIST irsim-9.7.79.tgz 471749 SHA256 48f639b0893eaf116d0d248b32fbc884fe5eceaba57499f22ee61e6e7c44b7eb SHA512 a5bbf9757ff1c6e74f36725e9da8d16cebff7a3a77174f37b3e2a2239afc839ac7165214d221c44d437fa07f5544e01969e0cad4e205067a04c7e37c8d3c1969 WHIRLPOOL 822f78763e60ae3edf41d896036a93a38696f84ea6274ed011a83263fb79b61201f2c9d86f2ad2559c328f9b3cb4cfbcabc067070251b3757bc823d6175debe0 +DIST irsim-9.7.87.tgz 459249 SHA256 528e8daa9afa63ba81425fc679b786228e314f45b64f03f67150332f0fd7bff6 SHA512 2399c41d22db146ce4d87019476f975386aef62afd831bc245ff8d8fc5c88a256712c31a04b58cacf28602c00273ed4623adffc2eddb4c7b533e7eb0894a9651 WHIRLPOOL e469b0d7015e735867fa0d90e3a2c961f73d8cf5a554dd70011ea634f4031b061a48fcce5587a2d941a4aea05057c6dda0a8d7b0ec09c9f27bf972f418b3d22f diff --git a/sci-electronics/irsim/files/irsim-9.7.72-ldflags.patch b/sci-electronics/irsim/files/irsim-9.7.72-ldflags.patch new file mode 100644 index 000000000000..d219415eb5e8 --- /dev/null +++ b/sci-electronics/irsim/files/irsim-9.7.72-ldflags.patch @@ -0,0 +1,44 @@ +--- tcltk/Makefile.old 2011-04-26 17:40:36.000000000 +0000 ++++ tcltk/Makefile 2011-04-26 17:41:05.000000000 +0000 +@@ -26,7 +26,7 @@ + ${CP} irsimexec $(DESTDIR)${TCLDIR}/irsimexec + + irsimexec: irsimexec.c tclirsim.o +- ${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} irsimexec.c -o irsimexec \ ++ ${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${LDFLAGS} irsimexec.c -o irsimexec \ + ${LIBS} ${LIB_SPECS} + + irsim.tcl: irsim.tcl.in +--- irsim/Makefile.old 2011-04-26 17:46:38.000000000 +0000 ++++ irsim/Makefile 2011-04-26 17:47:21.000000000 +0000 +@@ -22,7 +22,7 @@ + tclirsim${SHDLIB_EXT}: ${EXTRA_LIBS} + @echo --- making irsim Tcl library \(tclirsim${SHDLIB_EXT}\) + ${RM} tclirsim${SHDLIB_EXT} +- ${CC} ${CFLAGS} ${CPPFLAGS} -o $@ ${LDDL_FLAGS} ${LD_RUN_PATH} \ ++ ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o $@ ${LDDL_FLAGS} ${LD_RUN_PATH} \ + ${EXTRA_LIBS} -lc ${LIBS} ${LD_EXTRA_LIBS} + + $(DESTDIR)${BINDIR}/irsim: +--- random/Makefile.old 2011-04-26 17:48:46.000000000 +0000 ++++ random/Makefile 2011-04-26 17:49:02.000000000 +0000 +@@ -21,7 +21,7 @@ + random${SHDLIB_EXT}: randwrap.o + @echo --- making random Tcl library + ${RM} random${SHDLIB_EXT} +- ${CC} ${CFLAGS} ${CPPFLAGS} -o $@ ${LDDL_FLAGS} randwrap.o \ ++ ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o $@ ${LDDL_FLAGS} randwrap.o \ + ${MAC_SHARED} -lc ${LIBS} ${LD_EXTRA_LIBS} + + install-tcl: $(DESTDIR)${TCLDIR}/random${SHDLIB_EXT} +--- tclsubckt/Makefile.old 2011-04-26 17:50:23.000000000 +0000 ++++ tclsubckt/Makefile 2011-04-26 17:50:45.000000000 +0000 +@@ -22,7 +22,7 @@ + diglib${SHDLIB_EXT}: diglib.o + @echo --- making diglib subcircuit shared library + ${RM} diglib${SHDLIB_EXT} +- ${CC} ${CFLAGS} ${CPPFLAGS} -o $@ ${LDDL_FLAGS} diglib.o \ ++ ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o $@ ${LDDL_FLAGS} diglib.o \ + ${MAC_SHARED} -lc ${LIBS} ${LD_EXTRA_LIBS} + + install-tcl: $(DESTDIR)${TCLDIR}/diglib${SHDLIB_EXT} diff --git a/sci-electronics/irsim/files/irsim-9.7.79-datadir.patch b/sci-electronics/irsim/files/irsim-9.7.79-datadir.patch new file mode 100644 index 000000000000..ca4fd4628575 --- /dev/null +++ b/sci-electronics/irsim/files/irsim-9.7.79-datadir.patch @@ -0,0 +1,23 @@ +--- irsim-9.7.79/scripts/defs.mak.in ++++ irsim-9.7.79/scripts/defs.mak.in +@@ -12,6 +12,7 @@ + exec_prefix = @exec_prefix@ + bindir = @bindir@ + libdir = @libdir@ ++datadir = @datadir@ + mandir = @mandir@ + + VERSION = @VERSION@ +@@ -33,9 +34,9 @@ + LIBDIR = ${libdir} + DOCDIR = ${libdir}/irsim/doc + SYSDIR = ${libdir}/irsim/sys +-PRMDIR = ${libdir}/irsim/prm +-TCLDIR = ${libdir}/irsim/tcl +-XBMDIR = ${libdir}/irsim/tcl/bitmaps ++PRMDIR = ${datadir}/irsim/prm ++TCLDIR = ${libdir}/irsim/tcl ++XBMDIR = ${libdir}/irsim/tcl/bitmaps + + MAIN_EXTRA_LIBS = @extra_libs@ + LD_EXTRA_LIBS = @ld_extra_libs@ diff --git a/sci-electronics/irsim/irsim-9.7.79.ebuild b/sci-electronics/irsim/irsim-9.7.79.ebuild new file mode 100644 index 000000000000..71ae0641b53f --- /dev/null +++ b/sci-electronics/irsim/irsim-9.7.79.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils multilib + +DESCRIPTION="IRSIM is a \"switch-level\" simulator" +HOMEPAGE="http://opencircuitdesign.com/irsim/" +SRC_URI="http://opencircuitdesign.com/irsim/archive/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/tcl:0 + dev-lang/tk:0" +DEPEND="${RDEPEND} + app-shells/tcsh" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-9.7.72-ldflags.patch + epatch "${FILESDIR}"/${PN}-9.7.79-datadir.patch + sed -e "s:/usr/bin/:${EPREFIX}/usr/bin/:" \ + -e "s:/usr/local/lib/:${EPREFIX}/usr/$(get_libdir)/:" \ + -i tcltk/irsim.sh \ + -i tcltk/irsim.tcl || die +} + +src_configure() { + # Short-circuit top-level configure script to retain CFLAGS + cd scripts + #tc-export CPP + econf +} + +src_install() { + emake DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install + dodoc README +} + +pkg_postinst() { + einfo + einfo "You will probably need to add to your ~/.Xdefaults" + einfo "the following line:" + einfo "irsim.background: black" + einfo + einfo "This is needed because Gentoo from default sets a" + einfo "grey background which makes impossible to see the" + einfo "simulation (white line on light gray background)." + einfo +} diff --git a/sci-electronics/irsim/irsim-9.7.87.ebuild b/sci-electronics/irsim/irsim-9.7.87.ebuild new file mode 100644 index 000000000000..1560f8c9c61a --- /dev/null +++ b/sci-electronics/irsim/irsim-9.7.87.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils multilib + +DESCRIPTION="IRSIM is a \"switch-level\" simulator" +HOMEPAGE="http://opencircuitdesign.com/irsim/" +SRC_URI="http://opencircuitdesign.com/irsim/archive/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/tcl:0 + dev-lang/tk:0" +DEPEND="${RDEPEND} + app-shells/tcsh" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-9.7.72-ldflags.patch + epatch "${FILESDIR}"/${PN}-9.7.79-datadir.patch +} + +src_configure() { + # Short-circuit top-level configure script to retain CFLAGS + cd scripts + #tc-export CPP + econf +} + +src_install() { + emake DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install + dodoc README +} + +pkg_postinst() { + einfo + einfo "You will probably need to add to your ~/.Xdefaults" + einfo "the following line:" + einfo "irsim.background: black" + einfo + einfo "This is needed because Gentoo from default sets a" + einfo "grey background which makes impossible to see the" + einfo "simulation (white line on light gray background)." + einfo +} diff --git a/sci-electronics/irsim/metadata.xml b/sci-electronics/irsim/metadata.xml new file mode 100644 index 000000000000..a99d934521dc --- /dev/null +++ b/sci-electronics/irsim/metadata.xml @@ -0,0 +1,12 @@ + + + + sci-electronics + + IRSIM is a tool for simulating digital circuits. It is a "switch-level" + simulator; that is, it treats transistors as ideal switches. Extracted + capacitance and lumped resistance values are used to make the switch a + little bit more realistic than the ideal, using the RC time constants + to predict the relative timing of events. + + -- cgit v1.2.3-18-g5258