summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2011-06-02 06:08:14 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2011-06-02 06:08:14 +0000
commit16ab440716fcb8645adf74e2be19f0a92b43ce67 (patch)
tree8ad0353eb27e282143a47bcdb48318e05f98afdc /sci-electronics
parentversion bump wrt #369631. also fixes #369617 (diff)
downloadhistorical-16ab440716fcb8645adf74e2be19f0a92b43ce67.tar.gz
historical-16ab440716fcb8645adf74e2be19f0a92b43ce67.tar.bz2
historical-16ab440716fcb8645adf74e2be19f0a92b43ce67.zip
Initial import
Package-Manager: portage-2.1.9.50/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/drawtiming/ChangeLog11
-rw-r--r--sci-electronics/drawtiming/Manifest16
-rw-r--r--sci-electronics/drawtiming/drawtiming-0.7.1.ebuild33
-rw-r--r--sci-electronics/drawtiming/files/drawtiming-0.7.1-gcc43.patch10
-rw-r--r--sci-electronics/drawtiming/files/drawtiming-0.7.1-ldflags.patch36
-rw-r--r--sci-electronics/drawtiming/metadata.xml13
6 files changed, 119 insertions, 0 deletions
diff --git a/sci-electronics/drawtiming/ChangeLog b/sci-electronics/drawtiming/ChangeLog
new file mode 100644
index 000000000000..e581d0bde513
--- /dev/null
+++ b/sci-electronics/drawtiming/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-electronics/drawtiming
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/drawtiming/ChangeLog,v 1.1 2011/06/02 06:08:14 tomjbe Exp $
+
+*drawtiming-0.7.1 (02 Jun 2011)
+
+ 02 Jun 2011; Thomas Beierlein <tomjbe@gentoo.org> +drawtiming-0.7.1.ebuild,
+ +files/drawtiming-0.7.1-gcc43.patch, +files/drawtiming-0.7.1-ldflags.patch,
+ +metadata.xml:
+ Initial import
+
diff --git a/sci-electronics/drawtiming/Manifest b/sci-electronics/drawtiming/Manifest
new file mode 100644
index 000000000000..4acb0c127400
--- /dev/null
+++ b/sci-electronics/drawtiming/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX drawtiming-0.7.1-gcc43.patch 279 RMD160 3d1fa73239225eb836bf149634b7d5e1620cdf66 SHA1 a83352f34e40efad4ab2b0bd8eb23dbb13bb9150 SHA256 79289e7588957f210c554646d7f666ef17792510e26ce1c403381302864e31b5
+AUX drawtiming-0.7.1-ldflags.patch 1290 RMD160 221053e83c541bd26a6b2db6e3f0f9ae65b4758d SHA1 42fc869c4da32121120cd5f517bd73d84c07b0ca SHA256 a4265ba35dc8732ce014032a3f62b7ef15e2a0406412991c0e4da3b636f419e3
+DIST drawtiming-0.7.1.tar.gz 123714 RMD160 9f6a39a139c9426e432ae400620c80da02b9f354 SHA1 cae987875cc9ed0a35fd6ca3a30e63e4aa512407 SHA256 ae35a369f71f03b219d23f56329ced73100f79ffda38dd8d31d1e9e510f3cf6e
+EBUILD drawtiming-0.7.1.ebuild 832 RMD160 88cb5c60afffc4825003a44a460c79249305a6c2 SHA1 10b8ef8ecc99aa815a2ac0ce8f418fc4d3246d5f SHA256 ffffb61efb524ff1865369d794107a1fd2ebfdb7f536dad67a112f4ae27af330
+MISC ChangeLog 449 RMD160 45774c2c8acd4c60247b2f19f1de94992841a6e0 SHA1 c2ef3dfe7729305c3284f75a15faa5d3ec93d93d SHA256 1ffea962ebc9fc009dc95de1c2310cfc4d87dd6a5daa046331077ac50e57aaf7
+MISC metadata.xml 618 RMD160 1897b4343ee56670b2fef06fe8c65d11645b0126 SHA1 f9de98fd743a8ffd740022d9cb2ea0f74d4a9c15 SHA256 745f1c8ff7228ea83a97eb8f5d420cbb5d74c9fc860d8256ba7f576d49ac6390
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk3nKNoACgkQQe4uqXYgU9XtGwCdEbcj0HqJnFboIxa5lXHu5Os3
+fFkAmwUidDFEkwvM37erdjXBpkh9XYAN
+=Dzv7
+-----END PGP SIGNATURE-----
diff --git a/sci-electronics/drawtiming/drawtiming-0.7.1.ebuild b/sci-electronics/drawtiming/drawtiming-0.7.1.ebuild
new file mode 100644
index 000000000000..f7da0048884d
--- /dev/null
+++ b/sci-electronics/drawtiming/drawtiming-0.7.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/drawtiming/drawtiming-0.7.1.ebuild,v 1.1 2011/06/02 06:08:14 tomjbe Exp $
+
+EAPI=3
+
+inherit eutils
+
+DESCRIPTION="Command line tool for drawing timing diagrams"
+HOMEPAGE="http://drawtiming.sourceforge.net/index.html"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+DEPEND="media-gfx/imagemagick"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog README THANKS || die
+ if use examples; then
+ insinto "/usr/share/doc/${PF}/examples"
+ doins samples/*.txt || die
+ fi
+}
diff --git a/sci-electronics/drawtiming/files/drawtiming-0.7.1-gcc43.patch b/sci-electronics/drawtiming/files/drawtiming-0.7.1-gcc43.patch
new file mode 100644
index 000000000000..4249c79aa6e1
--- /dev/null
+++ b/sci-electronics/drawtiming/files/drawtiming-0.7.1-gcc43.patch
@@ -0,0 +1,10 @@
+--- src/timing.cc.old 2011-06-01 18:27:42.000000000 +0000
++++ src/timing.cc 2011-06-01 18:28:09.000000000 +0000
+@@ -23,6 +23,7 @@
+ #include "timing.h"
+ #include <map>
+ #include <fstream>
++#include <cstring>
+ using namespace std;
+ using namespace timing;
+ using namespace Magick;
diff --git a/sci-electronics/drawtiming/files/drawtiming-0.7.1-ldflags.patch b/sci-electronics/drawtiming/files/drawtiming-0.7.1-ldflags.patch
new file mode 100644
index 000000000000..d50621f76796
--- /dev/null
+++ b/sci-electronics/drawtiming/files/drawtiming-0.7.1-ldflags.patch
@@ -0,0 +1,36 @@
+Description: Switch LDADD with LDFLAGS
+ This change is to move the objects before the libs. to fix an FTBFS when
+ --as-needed is passed to gcc.
+Author: …حمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>
+Forwarded: yes
+--- drawtiming-0.7.1.orig/src/Makefile.am
++++ drawtiming-0.7.1/src/Makefile.am
+@@ -3,7 +3,7 @@
+
+ bin_PROGRAMS = drawtiming
+ drawtiming_SOURCES = main.cc globals.h parser.yy scanner.ll timing.cc timing.h
+-drawtiming_LDFLAGS = @MAGICK_LIBS@
++drawtiming_LDADD = @MAGICK_LIBS@
+
+ EXTRA_DIST = parser.h
+ BUILT_SOURCES = parser.h
+--- drawtiming-0.7.1.orig/src/Makefile.in
++++ drawtiming-0.7.1/src/Makefile.in
+@@ -51,7 +51,7 @@
+ am_drawtiming_OBJECTS = main.$(OBJEXT) parser.$(OBJEXT) \
+ scanner.$(OBJEXT) timing.$(OBJEXT)
+ drawtiming_OBJECTS = $(am_drawtiming_OBJECTS)
+-drawtiming_LDADD = $(LDADD)
++drawtiming_LDADD = @MAGICK_LIBS@ $(LDADD)
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -159,7 +159,7 @@
+ AM_CXXFLAGS = @MAGICK_CFLAGS@ -DYYDEBUG=1
+ AM_YFLAGS = -d
+ drawtiming_SOURCES = main.cc globals.h parser.yy scanner.ll timing.cc timing.h
+-drawtiming_LDFLAGS = @MAGICK_LIBS@
++drawtiming_LDFLAGS = @LDFLAGS@
+ EXTRA_DIST = parser.h
+ BUILT_SOURCES = parser.h
+ all: $(BUILT_SOURCES)
diff --git a/sci-electronics/drawtiming/metadata.xml b/sci-electronics/drawtiming/metadata.xml
new file mode 100644
index 000000000000..5c5bb14a4214
--- /dev/null
+++ b/sci-electronics/drawtiming/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-electronics</herd>
+ <longdescription>
+ This package provides a command line tool for documenting hardware
+ and software designs through timing diagrams. It reads signal descriptions
+ from a text file with an intuitive syntax, and outputs a timing diagram to
+ an image file. Notation typical of timing diagrams found in the Electrical
+ Engineering discipline is used, including arrows indicating causal
+ relationships between signal transitions.
+ </longdescription>
+</pkgmetadata>