diff options
author | Marcus D. Hanwell <cryos@gentoo.org> | 2006-01-29 20:01:29 +0000 |
---|---|---|
committer | Marcus D. Hanwell <cryos@gentoo.org> | 2006-01-29 20:01:29 +0000 |
commit | 39e6790e3be5bbf27f9a2b1f62c855a4e9257796 (patch) | |
tree | 7a6f57693bfef800a7ee58649cb518df08f0c4cf /sci-visualization | |
parent | changed to patchset version 0.2 (solves a bug with USE=subtitles bigpatch) (diff) | |
download | gentoo-2-39e6790e3be5bbf27f9a2b1f62c855a4e9257796.tar.gz gentoo-2-39e6790e3be5bbf27f9a2b1f62c855a4e9257796.tar.bz2 gentoo-2-39e6790e3be5bbf27f9a2b1f62c855a4e9257796.zip |
Moved from media-gfx/labplot to sci-visualization/labplot.
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/labplot/ChangeLog | 62 | ||||
-rw-r--r-- | sci-visualization/labplot/Manifest | 8 | ||||
-rw-r--r-- | sci-visualization/labplot/files/digest-labplot-1.4.0 | 1 | ||||
-rw-r--r-- | sci-visualization/labplot/files/digest-labplot-1.5.0.5 | 1 | ||||
-rw-r--r-- | sci-visualization/labplot/files/getversion.patch | 41 | ||||
-rw-r--r-- | sci-visualization/labplot/files/labplot-1.3.0-amd64.patch | 22 | ||||
-rw-r--r-- | sci-visualization/labplot/labplot-1.4.0.ebuild | 65 | ||||
-rw-r--r-- | sci-visualization/labplot/labplot-1.5.0.5.ebuild | 73 | ||||
-rw-r--r-- | sci-visualization/labplot/metadata.xml | 6 |
9 files changed, 279 insertions, 0 deletions
diff --git a/sci-visualization/labplot/ChangeLog b/sci-visualization/labplot/ChangeLog new file mode 100644 index 000000000000..473edea46bda --- /dev/null +++ b/sci-visualization/labplot/ChangeLog @@ -0,0 +1,62 @@ +# ChangeLog for media-gfx/labplot +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/ChangeLog,v 1.1 2006/01/29 20:01:29 cryos Exp $ + + 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> + +files/labplot-1.3.0-amd64.patch, +files/getversion.patch, +metadata.xml, + +labplot-1.4.0.ebuild, +labplot-1.5.0.5.ebuild: + Moved from media-gfx/labplot to sci-visualization/labplot. + + 23 Dec 2005; Carsten Lohrke <carlo@gentoo.org> labplot-1.5.0.5.ebuild: + minor dependency correction + +*labplot-1.5.0.5 (23 Dec 2005) + + 23 Dec 2005; Carsten Lohrke <carlo@gentoo.org> +labplot-1.5.0.5.ebuild: + version bump + +*labplot-1.4.0 (05 Jan 2005) + + 05 Jan 2005; Patrick Kursawe <phosphan@gentoo.org> +files/getversion.patch, + +labplot-1.4.0.ebuild: + Version bump. Using USE flags for cdf and netcdf now. Added a patch for the + cdf version string (referred to a header that isn't installed by default). + Depending on fftw3 now to avoid potential trouble when fftw3 is used and + de-installed (which would not break the old dependency). + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> labplot-1.3.0.ebuild: + Dependency update: dev-libs/gsl -> sci-libs/gsl. + +*labplot-1.3.0 (23 Dec 2004) + + 23 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +files/labplot-1.3.0-amd64.patch, +labplot-1.3.0.ebuild: + Moved from app-sci/labplot to media-gfx/labplot. + + 21 Dec 2004; Sven Wegener <swegener@gentoo.org> labplot-1.3.0.ebuild: + src_compile() -> src_unpack(), bug #75054 + + 20 Aug 2004; Danny van Dyk <kugelfang@gentoo.org> + +files/labplot-1.3.0-amd64.patch, labplot-1.3.0.ebuild: + Marked ~amd64. Some compile fixes for amd64/gcc-3.4*. + + 26 Jul 2004; Olivier Fisette <ribosome@gentoo.org> + labplot-1.3.0.ebuild, labplot-1.2.3.ebuild: + New version, updated ebuild. I removed the old one because it had + a couple of issues, such as duplicated example files. + + 04 Jul 2004; Carsten Lohrke <carlo@gentoo.org> labplot-1.2.3.ebuild: + QA: need-kde after R/DEPEND + + 16 May 2004; Dominik Stadler <centic@gentoo.org> labplot-1.2.3.ebuild: + Correct SRC_URI, should not contain "${HOMEPAGE}" + + 02 May 2004; David Holm <dholm@gentoo.org> labplot-1.2.3.ebuild: + Added to ~ppc. + +*labplot-1.2.3 (01 May 2004) + + 01 May 2004; Dominik Stadler <centic@gentoo.org> +labplot-1.2.3.ebuild: + Add new ebuild, thanks to Carsten Lohrke <current@myrealbox.com> for the + ebuild, see Bug 28216. + diff --git a/sci-visualization/labplot/Manifest b/sci-visualization/labplot/Manifest new file mode 100644 index 000000000000..ba4980bd2bf7 --- /dev/null +++ b/sci-visualization/labplot/Manifest @@ -0,0 +1,8 @@ +MD5 f97432dbd3c2a5aeddb6e156fec7c9a4 ChangeLog 2217 +MD5 0e5477ba8d6a62e6a2dde93c7e12cef6 files/digest-labplot-1.4.0 66 +MD5 4b62d7857464cb884b29fd2bd255a381 files/digest-labplot-1.5.0.5 69 +MD5 1db5faa2d87be7b123c3ffdecd45ddec files/getversion.patch 945 +MD5 56ca5a2584d30cb2ec78d04714df475a files/labplot-1.3.0-amd64.patch 855 +MD5 c29f2d9bf9c757e8b6a93a7f147b5766 labplot-1.4.0.ebuild 1607 +MD5 207fa8b924dbf1c817b2bf0917678c89 labplot-1.5.0.5.ebuild 2110 +MD5 862e7941cb21c9dd10e8bd6183f21fb0 metadata.xml 173 diff --git a/sci-visualization/labplot/files/digest-labplot-1.4.0 b/sci-visualization/labplot/files/digest-labplot-1.4.0 new file mode 100644 index 000000000000..076a796384ca --- /dev/null +++ b/sci-visualization/labplot/files/digest-labplot-1.4.0 @@ -0,0 +1 @@ +MD5 479e417cad0b9b7bbbffeb1c505074ac LabPlot-1.4.0.tar.gz 7928234 diff --git a/sci-visualization/labplot/files/digest-labplot-1.5.0.5 b/sci-visualization/labplot/files/digest-labplot-1.5.0.5 new file mode 100644 index 000000000000..dad30316c521 --- /dev/null +++ b/sci-visualization/labplot/files/digest-labplot-1.5.0.5 @@ -0,0 +1 @@ +MD5 aa5b7ae0c10a3a75bb100cacb2a53bf3 LabPlot-1.5.0.5.tar.gz 10304752 diff --git a/sci-visualization/labplot/files/getversion.patch b/sci-visualization/labplot/files/getversion.patch new file mode 100644 index 000000000000..5e96534ea373 --- /dev/null +++ b/sci-visualization/labplot/files/getversion.patch @@ -0,0 +1,41 @@ +--- src/LabPlotDialog.cc 2004-10-28 23:18:53.000000000 +0200 ++++ ../LabPlot-1.4.0-new/src/LabPlotDialog.cc 2005-01-05 14:04:35.017794811 +0100 +@@ -21,7 +21,7 @@ + #endif + + #ifdef HAVE_FFTW +-#include <fftw-config.h> ++#include <fftw.h> + #endif + + #ifdef HAVE_MAGICK +@@ -33,10 +33,6 @@ + #include <qsaglobal.h> + #endif + +-#ifdef HAVE_CDF +-#include <cdfrev.h> +-#endif +- + LabPlotDialog::LabPlotDialog(const char *name) + : Dialog(0, name) + { +@@ -82,7 +78,7 @@ + #ifdef HAVE_FFTW3 + s="not used"; + #elif HAVE_FFTW +- s=FFTW_VERSION; ++ s=fftw_version; + #endif + tmp = new QLabel(s,hb); + tmp->setAlignment(Qt::AlignRight); +@@ -132,8 +128,7 @@ + new QLabel(i18n("Common Data Form library (CDF) : "),hb); + s = "no"; + #ifdef HAVE_CDF +- s = QString::number(CDF_LIBRARY_VERSION)+'.'+QString::number(CDF_LIBRARY_RELEASE)+'.'+ +- QString::number(CDF_LIBRARY_INCREMENT); ++ s = CDF_VERSION; + #endif + tmp = new QLabel(s,hb); + tmp->setAlignment(Qt::AlignRight); diff --git a/sci-visualization/labplot/files/labplot-1.3.0-amd64.patch b/sci-visualization/labplot/files/labplot-1.3.0-amd64.patch new file mode 100644 index 000000000000..5bbadac00eeb --- /dev/null +++ b/sci-visualization/labplot/files/labplot-1.3.0-amd64.patch @@ -0,0 +1,22 @@ +--- libjasper/include/jasper/jas_types.h.old 2004-08-20 22:27:33.831853344 +0200 ++++ libjasper/include/jasper/jas_types.h 2004-08-20 22:27:56.952338496 +0200 +@@ -178,7 +178,7 @@ + + #endif + +-#if defined(HAVE_STDINT_H) ++#if defined(HAVE_STDINT_H) || defined (_STDINT_H) + /* + * The C language implementation does correctly provide the standard header + * file "stdint.h". +--- src/Plot2DSurface.cc.old 2004-08-20 22:28:48.961431912 +0200 ++++ src/Plot2DSurface.cc 2004-08-20 22:57:09.291942384 +0200 +@@ -195,7 +195,7 @@ + // kdDebug()<<"a = "<<a[j-1+NX*(i-1)]<<endl; + // kdDebug()<<" color value ("<<i<<"/"<<j<<") = "<<value<<endl; + +- QBrush brush(getColor(value,palette),(Qt::BrushStyle)brush); ++ QBrush brush(getColor(value,palette)/*,(Qt::BrushStyle)brush*/); + p->setBrush(brush); + if(mesh) + p->setPen( Qt::black ); diff --git a/sci-visualization/labplot/labplot-1.4.0.ebuild b/sci-visualization/labplot/labplot-1.4.0.ebuild new file mode 100644 index 000000000000..61650dd9fa6f --- /dev/null +++ b/sci-visualization/labplot/labplot-1.4.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/labplot-1.4.0.ebuild,v 1.1 2006/01/29 20:01:29 cryos Exp $ + +inherit eutils gnuconfig kde + +MPN="LabPlot" + +DESCRIPTION="KDE application for plotting and analysis of 2d and 3d functions and data" +HOMEPAGE="http://labplot.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MPN}-${PV}.tar.gz" +LICENSE="GPL-2" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +IUSE="arts fftw imagemagick tiff audiofile cdf netcdf" + +MAKEOPTS="${MAKEOPTS} -j1" + +DEPEND=">=sci-libs/gsl-1.3 + fftw? ( >=sci-libs/fftw-3 ) + imagemagick? ( >=media-gfx/imagemagick-5.5.6-r1 ) + x86? ( >=media-gfx/pstoedit-3.33 ) + audiofile? ( media-libs/audiofile ) + tiff? ( >=media-libs/tiff-3.5.5 ) + >=media-libs/jasper-1.700.5-r1 + netcdf? ( sci-libs/netcdf ) + !amd64? ( cdf? ( sci-libs/cdf ) ) + >=sys-apps/sed-4" + +need-kde 3.1 + +S="${WORKDIR}/${MPN}-${PV}" + + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/getversion.patch + local cdfversion=\"$(cdfinquire -id | grep "CDF dist" | \ + cut -f 2 -d "V" | tr -d " \n")\" + sed -e "s~CDF_VERSION~${cdfversion}~" -i src/LabPlotDialog.cc || \ + die "sed failed on CDF_VERSION" +} + +src_compile() { + local myconf + if use amd64; then + myconf="$(use_enable cdf)" + else + myconf="--disable-cdf" + fi + + local myconf="${myconf} \ + --disable-fftw \ + $(use_enable fftw fftw3) \ + $(use_enable imagemagick ImageMagick) \ + $(use_enable audiofile) \ + $(use_with arts) \ + $(use_enable tiff) \ + $(use_enable netcdf)" + gnuconfig_update + kde_src_compile +} + diff --git a/sci-visualization/labplot/labplot-1.5.0.5.ebuild b/sci-visualization/labplot/labplot-1.5.0.5.ebuild new file mode 100644 index 000000000000..605f00bc7455 --- /dev/null +++ b/sci-visualization/labplot/labplot-1.5.0.5.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/labplot-1.5.0.5.ebuild,v 1.1 2006/01/29 20:01:29 cryos Exp $ + +inherit eutils gnuconfig kde + +MY_P="LabPlot-${PV/_/.}" +S="${WORKDIR}/${MY_P%.?}" + +DESCRIPTION="KDE application for plotting and analysis of 2d and 3d functions and data" +HOMEPAGE="http://labplot.sourceforge.net/" +SRC_URI="mirror://sourceforge/labplot/${MY_P}.tar.gz" +LICENSE="GPL-2" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +IUSE="audiofile cdf fftw imagemagick jpeg2k kexi opengl tiff" + +DEPEND=">=media-gfx/pstoedit-3.33 + >=sci-libs/gsl-1.4 + sci-libs/netcdf + virtual/ghostscript + >=x11-libs/qwtplot3d-0.2.6-r2 + audiofile? ( media-libs/audiofile ) + fftw? ( >=sci-libs/fftw-3 ) + imagemagick? ( >=media-gfx/imagemagick-5.5.6-r1 ) + jpeg2k? ( >=media-libs/jasper-1.700.5-r1 ) + tiff? ( >=media-libs/tiff-3.5.5 ) + opengl? ( virtual/opengl ) + kexi? ( || ( app-office/kexi app-office/koffice ) ) + !amd64? ( cdf? ( sci-libs/cdf ) )" + +need-kde 3.1 + +src_unpack() { + kde_src_unpack + sed -e "s:QWT3D_PATH/include:QWT3D_PATH/include/qwtplot3d:" \ + -e "s:KEXIDB_DIR/include:KEXIDB_DIR/include/kexidb:" \ + -i configure + # let's make sure we don't use included libs + echo "# Using shared libs!" >| netcdf/netcdf.h + echo "# Using shared libs!" >| qwtplot3d/qwt3d_plot.h +} + +src_compile() { + export QTDIR="${ROOT}/usr/qt/3" + export QWT3D_PATH="${ROOT}/usr" + export KEXIDB_DIR="${ROOT}/usr" + + # texvc not in Portage and I'm not keen maintaining it + # qsa ebuilds in bad shape atm. + local myconf="--disable-fftw --enable-gsl --enable-ps2eps \ + --disable-texvc --disable-ocaml --enable-netcdf \ + --enable-system-qwtplot3d --disable-qsa" + + if use amd64; then + myconf="${myconf} --disable-cdf" + else + myconf="${myconf} $(use_enable cdf)" + fi + + local myconf="${myconf} \ + $(use_enable fftw fftw3) \ + $(use_enable imagemagick ImageMagick) \ + $(use_enable audiofile) \ + $(use_enable jpeg2k jasper) \ + $(use_enable tiff) \ + $(use_enable kexi KexiDB) \ + $(use_enable opengl)" + gnuconfig_update + kde_src_compile +} + diff --git a/sci-visualization/labplot/metadata.xml b/sci-visualization/labplot/metadata.xml new file mode 100644 index 000000000000..adaba9a99949 --- /dev/null +++ b/sci-visualization/labplot/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<herd>kde</herd> +</pkgmetadata> |