diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2010-09-08 17:50:27 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2010-09-08 17:50:27 +0000 |
commit | c9e99d546de23482a85d34978a1bdc9f3e718564 (patch) | |
tree | 27743748a7d619120f989ac2d34022fc9840bdd3 /sci-electronics/linsmith | |
parent | http://my.opera.com/desktopteam/blog/2010/09/08/mail-panel (diff) | |
download | gentoo-2-c9e99d546de23482a85d34978a1bdc9f3e718564.tar.gz gentoo-2-c9e99d546de23482a85d34978a1bdc9f3e718564.tar.bz2 gentoo-2-c9e99d546de23482a85d34978a1bdc9f3e718564.zip |
Moved from science overlay. bug #79082
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics/linsmith')
-rw-r--r-- | sci-electronics/linsmith/ChangeLog | 69 | ||||
-rw-r--r-- | sci-electronics/linsmith/files/0.99.12-configure.in.patch | 10 | ||||
-rw-r--r-- | sci-electronics/linsmith/files/linsmith-datafiles.patch | 30 | ||||
-rw-r--r-- | sci-electronics/linsmith/linsmith-0.99.12.ebuild | 65 | ||||
-rw-r--r-- | sci-electronics/linsmith/metadata.xml | 10 |
5 files changed, 184 insertions, 0 deletions
diff --git a/sci-electronics/linsmith/ChangeLog b/sci-electronics/linsmith/ChangeLog new file mode 100644 index 000000000000..8d8b308cac80 --- /dev/null +++ b/sci-electronics/linsmith/ChangeLog @@ -0,0 +1,69 @@ +# ChangeLog for sci-electronics/linsmith +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/linsmith/ChangeLog,v 1.1 2010/09/08 17:50:27 tomjbe Exp $ + + 08 Sep 2010; Thomas Beierlein <tomjbe@gentoo.org> + +files/0.99.12-configure.in.patch, +linsmith-0.99.12.ebuild, + +files/linsmith-datafiles.patch, +metadata.xml: + Moved from science overlay. bug #79082 + + 04 Jul 2010; Thomas Beierlein <tomjbe@gentoo.org> metadata.xml: + Dropped Lucas from maintainership on his request. Taking it over + +*linsmith-0.99.12 (23 Oct 2009) + + 23 Oct 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> + +files/0.99.12-configure.in.patch, +linsmith-0.99.12.ebuild: + Version bump + +*linsmith-0.99.11 (23 Oct 2009) + + 23 Oct 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> + -linsmith-0.99.1.ebuild, +linsmith-0.99.11.ebuild: + version bump + patch supllied by TomJBE + +*linsmith-0.99.1 (15 Jul 2006) + + 15 Jul 2006; Lucas Chiesa <lucas.chiesa@gmail.com> linsmith-0.99.1.ebuild: + Version bump. Removed previous versions. + +*linsmith-0.9.8 (06 Jul 2006) + + 06 Jul 2006; Lucas Chiesa <lucas.chiesa@gmail.com> linsmith-0.9.8.ebuild: + Version bump. Removed previous versions. + + 14 Apr 2006; Marcus D. Hanwell <cryos@gentoo.org> linsmith-0.9.5.ebuild: + Various small cleanups of the ebuild, added examples USE flag and marked + ~amd64. + +*linsmith-0.9.5 (14 Apr 2006) + + 14 Apr 2006; Lucas Chiesa <lucas.chiesa@gmail.com> linsmith-0.9.5.ebuild: + Version bump. + +*linsmith-0.9.4 (09 Apr 2006) + + 09 Apr 2006; Lucas Chiesa <lucas.chiesa@gmail.com> linsmith-0.9.4.ebuild: + Version bump. Fixed bug which prevented the documentation from being + installed when USE="doc" was used. Removed previous versions. + +*linsmith-0.9.2 (16 Nov 2005) + + 16 Nov 2005; Lucas Chiesa <lucas.chiesa@gmail.com> linsmith-0.9.2.ebuild: + Added ebuild for linsmith 0.9.2. Removed lyx dependency as the documentation + is now distributed in pdf. Added desktop and icon file. + +*linsmith-0.9.1 (3 Nov 2005) + + 3 Nov 2005; Lucas Chiesa <lucas.chiesa@gmail.com> linsmith-0.9.1.ebuild: + Added doc use flag which compiles a lyx manual included in the source. + Patch Makefile.am to prevent it installing examples in /usr/share/linsmith. + Added the man page from the debian package. + +*linsmith-0.9.0_alpha3 (25 Oct 2005) + + 23 Oct 2005; Lucas Chiesa <lucas.chiesa@gmail.com> linsmith-0.9.0_alpha3: + Initial import of lismith - Smith Charting program, mainly designed for + educational use. Thanks to Vincent Paeder <vpaeder@net2000.ch> for the initial + ebuild. Closes bug #79082. diff --git a/sci-electronics/linsmith/files/0.99.12-configure.in.patch b/sci-electronics/linsmith/files/0.99.12-configure.in.patch new file mode 100644 index 000000000000..49f6ecc110ff --- /dev/null +++ b/sci-electronics/linsmith/files/0.99.12-configure.in.patch @@ -0,0 +1,10 @@ +--- linsmith-0.99.12/configure.in 2009-05-07 19:40:50.000000000 +0200 ++++ linsmith-0.99.12/configure.in.new 2009-10-23 21:57:51.788652724 +0200 +@@ -1,6 +1,6 @@ + dnl Process this file with autoconf to produce a configure script. + +-AM_INIT(linsmith, 0.99.12) ++AC_INIT(linsmith, 0.99.12) + AM_CONFIG_HEADER(config.h) + AM_MAINTAINER_MODE + AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) diff --git a/sci-electronics/linsmith/files/linsmith-datafiles.patch b/sci-electronics/linsmith/files/linsmith-datafiles.patch new file mode 100644 index 000000000000..cae7a2a7c28e --- /dev/null +++ b/sci-electronics/linsmith/files/linsmith-datafiles.patch @@ -0,0 +1,30 @@ +--- Makefile.am.old 2005-11-03 00:56:51.000000000 -0300 ++++ Makefile.am 2005-11-03 00:57:09.000000000 -0300 +@@ -20,15 +20,6 @@ + fi \ + done \ + fi +- @$(NORMAL_INSTALL) +- if test -d $(srcdir)/datafiles; then \ +- $(mkinstalldirs) $(DESTDIR)$(datadir)/$(PACKAGE); \ +- for datafile in $(srcdir)/datafiles/*; do \ +- if test -f $$datafile; then \ +- $(INSTALL_DATA) $$datafile $(DESTDIR)$(datadir)/$(PACKAGE); \ +- fi \ +- done \ +- fi + + dist-hook: + if test -d pixmaps; then \ +@@ -39,11 +30,3 @@ + fi \ + done \ + fi +- if test -d datafiles; then \ +- mkdir $(distdir)/datafiles; \ +- for datafile in datafiles/*; do \ +- if test -f $$datafile; then \ +- cp -p $$datafile $(distdir)/datafiles; \ +- fi \ +- done \ +- fi diff --git a/sci-electronics/linsmith/linsmith-0.99.12.ebuild b/sci-electronics/linsmith/linsmith-0.99.12.ebuild new file mode 100644 index 000000000000..d20f817e5d83 --- /dev/null +++ b/sci-electronics/linsmith/linsmith-0.99.12.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/linsmith/linsmith-0.99.12.ebuild,v 1.1 2010/09/08 17:50:27 tomjbe Exp $ + +EAPI="2" + +inherit eutils autotools + +DESCRIPTION="Smith charting program, mainly designed for educational use." +HOMEPAGE="http://www.jcoppens.com/soft/linsmith/index.en.php" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RDEPEND="x11-libs/gtk+:2 + dev-libs/libxml2 + dev-libs/glib:2 + dev-libs/atk + gnome-base/libgnome + gnome-base/libgnomecanvas + gnome-base/libgnomeprint + gnome-base/libgnomeui" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + # This patch is to prevent make install copying + # the examples in /usr/share/linsmith + # Now they are cp to the correct location. + epatch \ + "${FILESDIR}"/${PN}-datafiles.patch \ + "${FILESDIR}"/${PV}-configure.in.patch + + einfo "Regenerating autotools files..." + eautoreconf +} + +src_install() { + # Delete this file, otherwise it is installed with the pixmaps. + rm pixmaps/Makefile.am~ + + emake DESTDIR="${D}" install || die "emake install failed" + + insinto "/usr/share/${PN}" + doins datafiles/conv0809 || die + + dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO || die + doman doc/linsmith.1 || die + + domenu linsmith.desktop || die + doicon linsmith_icon.xpm || die + + if use doc; then + insinto "/usr/share/doc/${PF}" + doins doc/manual.pdf || die + fi + + if use examples; then + insinto "/usr/share/doc/${PF}/examples" + doins datafiles/*.circ datafiles/*.load || die + fi +} diff --git a/sci-electronics/linsmith/metadata.xml b/sci-electronics/linsmith/metadata.xml new file mode 100644 index 000000000000..99e9ad009e8e --- /dev/null +++ b/sci-electronics/linsmith/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci-electronics</herd> +<maintainer> + <email>tomjbe@gentoo.org</email> + <name>Thomas Beierlein</name> +</maintainer> +</pkgmetadata> + |