summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kapusta <ayoy@gentoo.org>2010-09-13 16:33:57 +0000
committerDominik Kapusta <ayoy@gentoo.org>2010-09-13 16:33:57 +0000
commit7757c47bd556205899ec9453414df2387b6423fe (patch)
tree5a23b1967ed26fffd9de1244bc0d89822f3bdf7c /sci-visualization
parentVersion bump: improve support for old glib versions (<2.18), don't crash if t... (diff)
downloadgentoo-2-7757c47bd556205899ec9453414df2387b6423fe.tar.gz
gentoo-2-7757c47bd556205899ec9453414df2387b6423fe.tar.bz2
gentoo-2-7757c47bd556205899ec9453414df2387b6423fe.zip
Moving media-gfx/kst to sci-vizualization/kst
(Portage version: 2.2_rc81/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/kst/ChangeLog44
-rw-r--r--sci-visualization/kst/files/kst-cfitsio-includes.patch52
-rw-r--r--sci-visualization/kst/kst-2.0.0.ebuild65
-rw-r--r--sci-visualization/kst/metadata.xml12
4 files changed, 173 insertions, 0 deletions
diff --git a/sci-visualization/kst/ChangeLog b/sci-visualization/kst/ChangeLog
new file mode 100644
index 000000000000..96d00c527b8d
--- /dev/null
+++ b/sci-visualization/kst/ChangeLog
@@ -0,0 +1,44 @@
+# ChangeLog for media-gfx/kst
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/kst/ChangeLog,v 1.1 2010/09/13 16:33:57 ayoy Exp $
+
+*kst-2.0.0 (13 Sep 2010)
+
+ 13 Sep 2010; Dominik Kapusta <ayoy@gentoo.org> -kst-2.0.0_beta2-r1.ebuild,
+ -kst-2.0.0_beta5-r1.ebuild, +kst-2.0.0.ebuild:
+ Version bump, removing betas. Support for dirfile plugin through
+ sci-libs/getdata. Thanks to Matěj Laitl <strohel@gmail.com> for updating
+ the ebuild (bug #335019).
+
+*kst-2.0.0_beta5-r1 (05 Jun 2010)
+
+ 05 Jun 2010; Dominik Kapusta <ayoy@gentoo.org> -kst-2.0.0_beta5.ebuild,
+ +kst-2.0.0_beta5-r1.ebuild:
+ Fixed desktop file and removed mistakenly added RESTRICT=mirror (kudos to
+ Samuli again).
+
+*kst-2.0.0_beta5 (05 Jun 2010)
+
+ 05 Jun 2010; Dominik Kapusta <ayoy@gentoo.org> +kst-2.0.0_beta5.ebuild:
+ Version bump, thanks to Samuli for reporting (bug #321835).
+
+ 10 Feb 2010; Torsten Veller <tove@gentoo.org> kst-2.0.0_beta2-r1.ebuild:
+ Add missing die: || "..." -> || die "..."
+
+ 07 Jan 2010; <hwoarang@gentoo.org> kst-2.0.0_beta2-r1.ebuild:
+ replace qt4 eclass with qt4-r2
+
+*kst-2.0.0_beta2-r1 (24 Dec 2009)
+
+ 24 Dec 2009; Dominik Kapusta <ayoy@gentoo.org> -kst-2.0.0_beta2.ebuild,
+ +kst-2.0.0_beta2-r1.ebuild, +files/kst-cfitsio-includes.patch:
+ Updating [R]DEPEND with sci-libs/cfitsio and fixing a compilation error
+ (bug #298212)
+
+*kst-2.0.0_beta2 (08 Dec 2009)
+
+ 08 Dec 2009; Dominik Kapusta <ayoy@gentoo.org> +kst-2.0.0_beta2.ebuild,
+ +metadata.xml:
+ Initial commit of kst (bug #292902). Ebuild by Samuli Suominen
+ (ssuominen@g.o), Markos Chandras (hwoarang@g.o) and me.
+
diff --git a/sci-visualization/kst/files/kst-cfitsio-includes.patch b/sci-visualization/kst/files/kst-cfitsio-includes.patch
new file mode 100644
index 000000000000..5a49906d4e0b
--- /dev/null
+++ b/sci-visualization/kst/files/kst-cfitsio-includes.patch
@@ -0,0 +1,52 @@
+diff --git a/src/datasources/fitsimage/fitsimage.h b/src/datasources/fitsimage/fitsimage.h
+index 6b6713a..f51fc47 100644
+--- a/src/datasources/fitsimage/fitsimage.h
++++ b/src/datasources/fitsimage/fitsimage.h
+@@ -15,7 +15,7 @@
+
+ #include <datasource.h>
+ #include <dataplugin.h>
+-#include <libcfitsio0/fitsio.h>
++#include <fitsio.h>
+
+ class FitsImageSource : public Kst::DataSource {
+ Q_OBJECT
+diff --git a/src/datasources/healpix/healpix_tools.h b/src/datasources/healpix/healpix_tools.h
+index 28ad906..420fc7f 100644
+--- a/src/datasources/healpix/healpix_tools.h
++++ b/src/datasources/healpix/healpix_tools.h
+@@ -19,7 +19,7 @@
+ #define HEALPIX_TOOLS_H
+
+ #include <math.h>
+-#include <libcfitsio0/fitsio.h>
++#include <fitsio.h>
+ #include <datasource.h>
+
+ # ifdef HEALPIX_PI
+diff --git a/src/datasources/lfiio/lfiio.h b/src/datasources/lfiio/lfiio.h
+index 809be40..207d083 100644
+--- a/src/datasources/lfiio/lfiio.h
++++ b/src/datasources/lfiio/lfiio.h
+@@ -15,7 +15,7 @@
+
+ #include <datasource.h>
+ #include <dataplugin.h>
+-#include <libcfitsio0/fitsio.h>
++#include <fitsio.h>
+
+ class LFIIOSource : public Kst::DataSource {
+ Q_OBJECT
+diff --git a/src/datasources/planckIDEF/planckIDEF.h b/src/datasources/planckIDEF/planckIDEF.h
+index cce6a0d..d3087d0 100644
+--- a/src/datasources/planckIDEF/planckIDEF.h
++++ b/src/datasources/planckIDEF/planckIDEF.h
+@@ -15,7 +15,7 @@
+
+ #include <datasource.h>
+ #include <dataplugin.h>
+-#include <libcfitsio0/fitsio.h>
++#include <fitsio.h>
+
+ typedef struct {
+ QString file;
diff --git a/sci-visualization/kst/kst-2.0.0.ebuild b/sci-visualization/kst/kst-2.0.0.ebuild
new file mode 100644
index 000000000000..370adbcafee8
--- /dev/null
+++ b/sci-visualization/kst/kst-2.0.0.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-visualization/kst/kst-2.0.0.ebuild,v 1.1 2010/09/13 16:33:57 ayoy Exp $
+
+EAPI=2
+
+inherit qt4-r2 multilib
+
+MY_PN="${PN/k/K}"
+
+DESCRIPTION="Fast real-time large-dataset viewing and plotting tool for KDE4"
+HOMEPAGE="http://kst.kde.org/"
+SRC_URI="mirror://sourceforge/project/${PN}/${MY_PN}%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="x11-libs/qt-gui:4[debug?]
+ x11-libs/qt-opengl:4[debug?]
+ x11-libs/qt-qt3support:4[debug?]
+ x11-libs/qt-svg:4[debug?]
+ x11-libs/qt-xmlpatterns:4[debug?]
+ sci-libs/gsl
+ sci-libs/cfitsio
+ sci-libs/getdata"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-cfitsio-includes.patch" )
+
+src_prepare() {
+ qt4-r2_src_prepare
+ sed -e "s:\(INSTALL_DIR/\)lib:\1$(get_libdir):" \
+ -i src/libkst/libkst.pro src/libkstapp/libkstapp.pro \
+ src/libkstmath/libkstmath.pro || die "sed libdir failed"
+
+ sed -e "s:\(INSTALL_DIR/\)plugin:\1$(get_libdir)/kst/plugins:" \
+ -i dataobjectplugin.pri datasourceplugin.pri src/widgets/widgets.pro \
+ || die "sed plugins install path failed"
+
+ sed -e "s!QLibraryInfo::location(QLibraryInfo::PluginsPath)!\"/usr/$(get_libdir)/kst/plugins\"!" \
+ -i src/libkst/datasource.cpp src/libkstmath/dataobject.cpp \
+ || die "sed plugins search path failed"
+
+ # libkstwidgets is a Qt Designer plugin but they link against it (!!!)
+ # so either we keep it in plugins dir and set the rpath, or move to
+ # lib dir and add a SONAME. Currently the first solution is in use.
+ sed -e "s!\(QMAKE_RPATHDIR += \).*!\1/usr/$(get_libdir)/kst/plugins!" \
+ -i kst.pri src/d2asc/d2asc.pro src/d2d/d2d.pro \
+ || die "sed rpath failed"
+}
+
+src_configure() {
+ export INSTALL_LIBDIR="$(get_libdir)"
+ eqmake4
+}
+
+src_install() {
+ qt4-r2_src_install
+ doicon src/images/${PN}.png
+ make_desktop_entry "${PN}2" ${PN} ${PN} \
+ "Qt;Graphics;DataVisualization" || die "make_desktop_entry failed"
+ dodoc AUTHORS ChangeLog NEWS README RELEASE.NOTES || die "dodoc failed"
+}
diff --git a/sci-visualization/kst/metadata.xml b/sci-visualization/kst/metadata.xml
new file mode 100644
index 000000000000..b20aa40920d2
--- /dev/null
+++ b/sci-visualization/kst/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>qt</herd>
+ <maintainer>
+ <email>ayoy@gentoo.org</email>
+ <name>Dominik Kapusta</name>
+ </maintainer>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
+