diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2011-06-02 06:08:14 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2011-06-02 06:08:14 +0000 |
commit | 2b127200a037b56d5be6af12d79a6b0c639127c5 (patch) | |
tree | 3e75f1579f8ae39ea7e1b30ff820e808b54f6487 /sci-electronics | |
parent | version bump wrt #369631. also fixes #369617 (diff) | |
download | gentoo-2-2b127200a037b56d5be6af12d79a6b0c639127c5.tar.gz gentoo-2-2b127200a037b56d5be6af12d79a6b0c639127c5.tar.bz2 gentoo-2-2b127200a037b56d5be6af12d79a6b0c639127c5.zip |
Initial import
(Portage version: 2.1.9.50/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/drawtiming/ChangeLog | 11 | ||||
-rw-r--r-- | sci-electronics/drawtiming/drawtiming-0.7.1.ebuild | 33 | ||||
-rw-r--r-- | sci-electronics/drawtiming/files/drawtiming-0.7.1-gcc43.patch | 10 | ||||
-rw-r--r-- | sci-electronics/drawtiming/files/drawtiming-0.7.1-ldflags.patch | 36 | ||||
-rw-r--r-- | sci-electronics/drawtiming/metadata.xml | 13 |
5 files changed, 103 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/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> |