Initial import. Thanks Honza Macháček and Michelangelo Scopelliti for their work...
authorSebastien Fabbro <bicatali@gentoo.org>
Thu, 28 Feb 2008 12:09:02 +0000 (12:09 +0000)
committerSebastien Fabbro <bicatali@gentoo.org>
Thu, 28 Feb 2008 12:09:02 +0000 (12:09 +0000)
Package-Manager: portage-2.1.4.4

sci-visualization/fityk/ChangeLog [new file with mode: 0644]
sci-visualization/fityk/Manifest [new file with mode: 0644]
sci-visualization/fityk/files/fityk-0.8.4-as-needed.patch [new file with mode: 0644]
sci-visualization/fityk/fityk-0.8.4.ebuild [new file with mode: 0644]
sci-visualization/fityk/metadata.xml [new file with mode: 0644]

diff --git a/sci-visualization/fityk/ChangeLog b/sci-visualization/fityk/ChangeLog
new file mode 100644 (file)
index 0000000..4d3bf6b
--- /dev/null
@@ -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 (file)
index 0000000..9038587
--- /dev/null
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 1274 RMD160 077e9e258811fbc4f0cb2d9e3b7c2ca6d0696ea0 SHA1 1586c9787c1c2fd66b507e692ff227523cb652bc SHA256 fe253dfc33b82f1e1b62feebfc86e7d7e651e8504c13cb6e0b8dcef9864e116a
+MISC ChangeLog 488 RMD160 24fd59802309084fa2a31a51256084ecf8fe24c8 SHA1 450f6ad20aa77161fe10137e6c7d1e46c9984072 SHA256 dfb08cd92c5753ccbfb8f4abac861b43be2dafe358bee36475c232adff41a80c
+MISC metadata.xml 1094 RMD160 051cca0088806156c3f4e786b9b4bd36541874a0 SHA1 6f394f9c92462dd283ca49be6f285232fd5e1ea6 SHA256 271840e4016f655cc85c7627b659b98837092381a4c1fcc873f195cb04c74d26
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHxqRm1ycZbhPLE2ARAibLAJ9vO0b8BOkdi7YHT9WDfeZQQGuPxwCfYLRX
+3XvcJXHFerPjeT8RvbS2M5U=
+=02K3
+-----END PGP SIGNATURE-----
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 (file)
index 0000000..6deb729
--- /dev/null
@@ -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 (file)
index 0000000..d4d5629
--- /dev/null
@@ -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 (file)
index 0000000..d030370
--- /dev/null
@@ -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>