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
commit6b13776c8a3dda2f282dc9d02ae2a4103e76b6ec (patch)
tree50a4ffdf247f39dd7d9943d52ee4e265a282c927 /sci-visualization
parentAutomated update of use.local.desc (diff)
downloadhistorical-6b13776c8a3dda2f282dc9d02ae2a4103e76b6ec.tar.gz
historical-6b13776c8a3dda2f282dc9d02ae2a4103e76b6ec.tar.bz2
historical-6b13776c8a3dda2f282dc9d02ae2a4103e76b6ec.zip
Moving media-gfx/kst to sci-vizualization/kst
Package-Manager: portage-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/Manifest15
-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
5 files changed, 188 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/Manifest b/sci-visualization/kst/Manifest
new file mode 100644
index 000000000000..4c6e9d50b7a2
--- /dev/null
+++ b/sci-visualization/kst/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX kst-cfitsio-includes.patch 1519 RMD160 733af09e87fa6fce447cdb49f8909c2fa373b552 SHA1 93a089e591effe24e719f2ed6929852baa483154 SHA256 0d71cbf22272115323a24251170d362bf750ea664621cbc408f2463f8ccd48e9
+DIST kst-2.0.0.tar.gz 10270708 RMD160 b8b74bf8e22a80cd9133fd28224f77ec8b60decb SHA1 76742eb3fd81f68148449fa84abc8dc3139be720 SHA256 6f3e639b87cc21c3ddc8891aa91ee713c6b750cd9fafc945fb97acc1a8fe0c7c
+EBUILD kst-2.0.0.ebuild 2099 RMD160 39bfe1ef8453c8aa6905f9ebaf32711f54896e9f SHA1 a488acedac54830b9483deb031e678284295545d SHA256 95056d257dc90a501cce416de49a5a562023b3dc8b273aea05a92222a175ab55
+MISC ChangeLog 1661 RMD160 4c2188f99f3f438b6ee83499189d4af77317fe58 SHA1 b69482a762618cd8a888a2e1836538ad769b62fa SHA256 c529e44f544158421b9cb35eef7aa899d0a944e79c7ca25920b2a84245a89454
+MISC metadata.xml 299 RMD160 2817d6e5370fefb9f2696eb770c9ff49399d6744 SHA1 f7badb6c31b2bf048766ad33bfda5b957fb32c2f SHA256 3c3fbe2f47e5a8e7ff708d354dd82f18b10e8dfd84dfa1673a8f95dd4a07eac2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkyOUoAACgkQ+CZEqwt+F6Z4qQCfUH4wXOJrbgme6yDrKjHLNmEV
+/CcAnjngN3gZK+N71Dj2XKkuKNI4uirX
+=r4Oq
+-----END PGP SIGNATURE-----
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>
+