diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-28 12:09:02 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-28 12:09:02 +0000 |
commit | bf1ee9ff8755052d58f123264620f56d0aa2d142 (patch) | |
tree | edbbdfe15e332baf64968c302bf977718e9e61e2 | |
parent | Stable on x86 and amd64 (diff) | |
download | gentoo-2-bf1ee9ff8755052d58f123264620f56d0aa2d142.tar.gz gentoo-2-bf1ee9ff8755052d58f123264620f56d0aa2d142.tar.bz2 gentoo-2-bf1ee9ff8755052d58f123264620f56d0aa2d142.zip |
Initial import. Thanks Honza Macháček and Michelangelo Scopelliti for their work. Closing bug #126810.
(Portage version: 2.1.4.4)
-rw-r--r-- | sci-visualization/fityk/ChangeLog | 11 | ||||
-rw-r--r-- | sci-visualization/fityk/Manifest | 5 | ||||
-rw-r--r-- | sci-visualization/fityk/files/fityk-0.8.4-as-needed.patch | 10 | ||||
-rw-r--r-- | sci-visualization/fityk/fityk-0.8.4.ebuild | 54 | ||||
-rw-r--r-- | sci-visualization/fityk/metadata.xml | 24 |
5 files changed, 104 insertions, 0 deletions
diff --git a/sci-visualization/fityk/ChangeLog b/sci-visualization/fityk/ChangeLog new file mode 100644 index 000000000000..4d3bf6bc0b02 --- /dev/null +++ b/sci-visualization/fityk/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-visualization/fityk +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/ChangeLog,v 1.1 2008/02/28 12:09:01 bicatali Exp $ + +*fityk-0.8.4 (28 Feb 2008) + + 28 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/fityk-0.8.4-as-needed.patch, +metadata.xml, +fityk-0.8.4.ebuild: + Initial import. Thanks Honza Macháček and Michelangelo Scopelliti for + their work. Closing bug #126810. + diff --git a/sci-visualization/fityk/Manifest b/sci-visualization/fityk/Manifest new file mode 100644 index 000000000000..40f3aa56b5ff --- /dev/null +++ b/sci-visualization/fityk/Manifest @@ -0,0 +1,5 @@ +AUX fityk-0.8.4-as-needed.patch 494 RMD160 9fb33ab85d2bfe9160d1875901ba957b4acdcbad SHA1 45b9d25d99002c32adf89b6862d2be15ad7b41cc SHA256 eda913dac8e4af1efd80729da23117813f9f5a888b9a02c3a8a11777d3a7abc4 +DIST fityk-0.8.4.tar.bz2 1502130 RMD160 cc2c40f6b2348fa19de2d4b1fc9bcf2d74b190cb SHA1 a4412e4f0f632f45b8cea5feab673eb6408736d4 SHA256 4e2ebc403916123c3577244448819598b6f81bb8fc5710abf48593b55acbc91a +EBUILD fityk-0.8.4.ebuild 1168 RMD160 5271c5fd55aafbc91f804fe714abb794dbc711dd SHA1 5f3b99788bb1854ff5b4e56415dc9136357f61f0 SHA256 b4710a3c7eb872e320653bc7bded74e6b469a59fc43771bc920959f51d23b5fd +MISC ChangeLog 391 RMD160 18e5a73b425a72d4cf8c18814d9d33efe8566da2 SHA1 9ad1c08e369d64dc3467abab8406fe06e84cd17c SHA256 0c72ee3d80961f8e84b03344ffcca0437acc8a1a7fcca7b273cd77659d9ef737 +MISC metadata.xml 1094 RMD160 051cca0088806156c3f4e786b9b4bd36541874a0 SHA1 6f394f9c92462dd283ca49be6f285232fd5e1ea6 SHA256 271840e4016f655cc85c7627b659b98837092381a4c1fcc873f195cb04c74d26 diff --git a/sci-visualization/fityk/files/fityk-0.8.4-as-needed.patch b/sci-visualization/fityk/files/fityk-0.8.4-as-needed.patch new file mode 100644 index 000000000000..6deb72994b03 --- /dev/null +++ b/sci-visualization/fityk/files/fityk-0.8.4-as-needed.patch @@ -0,0 +1,10 @@ +--- src/Makefile.in.orig 2008-02-15 11:46:35.000000000 +0000 ++++ src/Makefile.in 2008-02-15 11:48:16.000000000 +0000 +@@ -265,6 +265,7 @@ + lib_LTLIBRARIES = libfityk.la + libfityk_la_LDFLAGS = @LIBRARY_VERSION_FLAG@ + libfityk_la_CPPFLAGS = @CPPFLAGS_3RDPARTY@ ++libfityk_la_LIBADD = @XYLIB_LDADD@ + libfityk_la_SOURCES = logic.cpp view.cpp cmd3.cpp cmd2.cpp cmd.cpp common.cpp \ + var.cpp mgr.cpp func.cpp bfunc.cpp calc.cpp ast.cpp \ + data.cpp datatrans.cpp datatrans2.cpp datatrans3.cpp \ diff --git a/sci-visualization/fityk/fityk-0.8.4.ebuild b/sci-visualization/fityk/fityk-0.8.4.ebuild new file mode 100644 index 000000000000..d4d56295d4d1 --- /dev/null +++ b/sci-visualization/fityk/fityk-0.8.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/fityk-0.8.4.ebuild,v 1.1 2008/02/28 12:09:01 bicatali Exp $ + +EAPI="1" +WX_GTK_VER="2.8" + +inherit eutils wxwidgets + +DESCRIPTION="General-purpose nonlinear curve fitting and data analysis" +HOMEPAGE="http://www.unipress.waw.pl/fityk/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples gnuplot python readline wxwindows" + +CDEPEND="readline? ( sys-libs/readline ) + python? ( virtual/python ) + wxwindows? ( x11-libs/wxGTK:2.8 )" + +DEPEND="${CDEPEND} + dev-libs/boost + python? ( dev-lang/swig )" + +RDEPEND="${CDEPEND} + gnuplot? ( sci-visualization/gnuplot )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-as-needed.patch +} + +src_compile() { + econf \ + --disable-3rdparty \ + $(use_enable python) \ + $(use_enable wxwindows GUI) \ + $(use_with doc) \ + $(use_with readline) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc NEWS README TODO || die + rm -f samples/Makefile* + insinto /usr/share/doc/${PF} + use examples && doins -r samples +} diff --git a/sci-visualization/fityk/metadata.xml b/sci-visualization/fityk/metadata.xml new file mode 100644 index 000000000000..d030370eb5f9 --- /dev/null +++ b/sci-visualization/fityk/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + Fityk is a program for nonlinear fitting of analytical functions + (especially peak-shaped) to data. It can also be used to display + data or to remove baseline from data. + + It is reported to be used in crystallography, chromatography, + photoluminescence, infrared and Raman spectroscopy and other fields. + + Fityk knows about common peak-shaped functions (Gaussian, Lorentzian, + Voigt, Pearson VII, bifurcated Gaussian, EMG, Doniach-Sunjic, etc.) and + polynomials. It also supports user-defined functions. + + Fityk offers a graphical interface (and also command line + interface), various optimization methods (standard Marquardt + least-squares algorithm, Genetic Algorithms, Nelder-Mead simplex), + equality constraints, modeling error of x coordinate of points + (eg. zero-shift of instrument), handling series of datasets, + automation of common tasks with scripts, and more. +</longdescription> +</pkgmetadata> |