summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2008-05-21 08:51:32 +0000
committerAndrey Grozin <grozin@gentoo.org>2008-05-21 08:51:32 +0000
commitece478c5795cc97d0cc9726492600c34d89c84ed (patch)
treee5d3f61e4e5bb9c485356a16b0c258d53582823d /sci-visualization
parentFixed encoding in ChangeLog (diff)
downloadhistorical-ece478c5795cc97d0cc9726492600c34d89c84ed.tar.gz
historical-ece478c5795cc97d0cc9726492600c34d89c84ed.tar.bz2
historical-ece478c5795cc97d0cc9726492600c34d89c84ed.zip
Version bump. fdo-mime_desktop_database_update added
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/qtiplot/ChangeLog9
-rw-r--r--sci-visualization/qtiplot/Manifest7
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.6.2-fitplugins.patch32
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.6.2-pro.patch62
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild114
5 files changed, 222 insertions, 2 deletions
diff --git a/sci-visualization/qtiplot/ChangeLog b/sci-visualization/qtiplot/ChangeLog
index 0ab1627b6cea..dfbe1a3eef79 100644
--- a/sci-visualization/qtiplot/ChangeLog
+++ b/sci-visualization/qtiplot/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-visualization/qtiplot
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.23 2008/05/18 16:26:49 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.24 2008/05/21 08:51:31 grozin Exp $
+
+*qtiplot-0.9.6.2 (21 May 2008)
+
+ 21 May 2008; Andrey Grozin <grozin@gentoo.org>
+ +files/qtiplot-0.9.6.2-fitplugins.patch, +files/qtiplot-0.9.6.2-pro.patch,
+ +qtiplot-0.9.6.2.ebuild:
+ Version bump. fdo-mime_desktop_database_update added
*qtiplot-0.9.6 (19 May 2008)
diff --git a/sci-visualization/qtiplot/Manifest b/sci-visualization/qtiplot/Manifest
index eda72dccd5de..bb36f3ab5d98 100644
--- a/sci-visualization/qtiplot/Manifest
+++ b/sci-visualization/qtiplot/Manifest
@@ -6,6 +6,8 @@ AUX qtiplot-0.9.5-fitplugins.patch 1354 RMD160 8fc112bed04c45ed1151348413dd56ff9
AUX qtiplot-0.9.5-profile.patch 3335 RMD160 a2a0e2cebba0727d35a79fcf38aaa066ce3334e1 SHA1 a8f5d11b8401c99f050be1fbc95bc8572698e8c9 SHA256 41ef02bf24e80b9c458b217b0ffb49671963ebe0dd88ce6219af3cbe89e98bfd
AUX qtiplot-0.9.6-fitplugins.patch 1568 RMD160 af8b05f8f49dd567fa3619b9efe799f1d74632e6 SHA1 b5c53f8a33de778366e5f1072fe283bb357d2311 SHA256 63df38507723ce3ef8ce897d9db7f0c0e86424790b8f855f529de0a48fdf1a48
AUX qtiplot-0.9.6-profile.patch 3520 RMD160 04567e97a638e794235b0140137ceddce9ba1662 SHA1 3243e876ac365b771a09b13f05159159bc392f41 SHA256 db4700e098df15077e0702c8b24686dcd3fe531ee251ffafc5ac5e6bad890328
+AUX qtiplot-0.9.6.2-fitplugins.patch 1568 RMD160 af8b05f8f49dd567fa3619b9efe799f1d74632e6 SHA1 b5c53f8a33de778366e5f1072fe283bb357d2311 SHA256 63df38507723ce3ef8ce897d9db7f0c0e86424790b8f855f529de0a48fdf1a48
+AUX qtiplot-0.9.6.2-pro.patch 2707 RMD160 4d73ffde1a9cf157af5258cf98dd0519fa60736d SHA1 3fceea600aad7ebcf665cfda4c24254d9b455ab0 SHA256 a283a39395a4a22edaa1cca4abb153f4b95ddb90b05bc968169bfa8a5ee5dd63
DIST qtiplot-0.7.7.zip 812738 RMD160 6f62b32059eec57bf931b5bae9f524672d436ee9 SHA1 b201e600ec057ff0f7b4b4572850b0b072a0e0fb SHA256 937849c42cc3047df3975d1cb7a26a2503a499d548066937589340f55bd1ab01
DIST qtiplot-0.8.5.tar.bz2 530579 RMD160 72f4f60f1171c57e6c2614a1a5a7b6dfc3bda4f5 SHA1 d8142877bfc86fad8a43e64f6f3e0a16126e5f0a SHA256 81831d8dfaddbdf32d85a6e7eaf0e54e2321e2fba6ffaabfe6943bc326a6f874
DIST qtiplot-0.9.4-manual-en.tar.bz2 5378862 RMD160 4ecda8eb33fa22b8b7d59c68ac4c39968733dbbf SHA1 41e3bd6b5da3a07417d77adda978e7b236a1321e SHA256 f779d83a82982748ee4426e5f9eda25a2e23a10fb5b8c7fc21ef0446ec844ac6
@@ -13,11 +15,14 @@ DIST qtiplot-0.9.4.tar.bz2 7025345 RMD160 db952eb7a27d8d1ed42d60e814228655e76226
DIST qtiplot-0.9.5-manual-en.tar.bz2 5379734 RMD160 cffbb17564a2e42159ecfc2b62ea462c625fd6c7 SHA1 438556dadcd3dd8d1ab11475fd1884e866834dfe SHA256 bc0d8580750c1cd856f036c68e44d19afcba19b57654dde33ea12a6dea244ff0
DIST qtiplot-0.9.5.tar.bz2 7047424 RMD160 3ba2aabf727b27f6cb3996b23ffa9fab06661cbe SHA1 3cb1f0b8454c6ca85a63da3da70ec25846d6b70d SHA256 29f6f0b81ee02fa64db2f1024d3fafeedcf22ae498eadef04e5092371d1e3be2
DIST qtiplot-0.9.6-manual-en.tar.bz2 11094755 RMD160 1b75339cb787a47beff0f39e260277b523c0b3e7 SHA1 7156100e1eae6a466f0a573be9c44bec8adc1fc6 SHA256 10867d1cc4af68c29c3da1f0fd8046d953f4851f7e32acdfb2e2d508deee8254
+DIST qtiplot-0.9.6.2-manual-en.tar.bz2 11111305 RMD160 1f641931815165db2bc2c31e5720fad53cf9aa0e SHA1 28bcbb6f70513096f0d1e729cbed862a3898eacb SHA256 1945b8158b20907c072c3f89ffc5ce7e6dd7b86dce37d2ab79388b19c81446ca
+DIST qtiplot-0.9.6.2.tar.bz2 6482625 RMD160 d980a703ee0094b54748d8b55c51720493e5bfb3 SHA1 5231cc3b3c92da78268595ae9ca50363ce768bfc SHA256 16f624eb6cd5e4d153adcbc1b84598a9fc5028cad4c9d34022839c2805a8dcbb
DIST qtiplot-0.9.6.tar.bz2 6431763 RMD160 7d0a28b9ab3132dc72abf42f6c89283b7d9c82b0 SHA1 ae32fc3cad883c71f7cbf2d3a285a56ed7388796 SHA256 9892f48eaf08f7e9f9932156c755a37a3570f5028e1777263706cd1fb688c7c1
EBUILD qtiplot-0.7.7.ebuild 1098 RMD160 50d0e366309fcee9a7cf69f71715fd7215966548 SHA1 4d61725b4ec204c099b6f66e70a74f59bf537081 SHA256 f913ffe4fb0f32c572ef81c5df7ba0fdaa4eb70b0e24d9a7c8aa61adca6e10dd
EBUILD qtiplot-0.8.5.ebuild 1218 RMD160 b1a7916212cb8aabb8a503a14e542d2ae15ca3ab SHA1 fef63fb5398145209f712edb2005e5b0127f548d SHA256 a0ced0f0ee26a36101305794060ada41bf72be6ddc70bd5f961b12a1a229384c
EBUILD qtiplot-0.9.4.ebuild 2299 RMD160 145d0c97d4a7eb60651fb4c8f013ab875f3f269d SHA1 2caf74868ee051c9ce4b62ca764bcf95e5f75423 SHA256 1626dd2f9febc50ed00f5b6f453404ab5950faf9485fa9624fd45b81923c7012
EBUILD qtiplot-0.9.5-r1.ebuild 2390 RMD160 cb3aa53e9dc91543fa50f14e778c5031bb8a5219 SHA1 34e54cb9d1a0aab275f075c4443184e0a40a9db6 SHA256 4805ba837a795dd934bea3b295886507daa5f1b9e9966e3b4f3b0d2fd544f540
+EBUILD qtiplot-0.9.6.2.ebuild 2843 RMD160 df7ecd428cd6e853803949aba3c348e01c483aa0 SHA1 b10a046da9fa858cacfc3d4326f47ae6350292bf SHA256 245420e47930905a03745d3361e5db45c6fdd46f8e997c4468dee45f63549a03
EBUILD qtiplot-0.9.6.ebuild 2730 RMD160 e376a59210baaa10f4299934e5b597918b1a0259 SHA1 4560539a78af0c5a798e8c72e12cd89ebf4e58d8 SHA256 2933a53299d887f5ec106731cad8eef6319bb96b61959180b4ea7875931574e1
-MISC ChangeLog 6869 RMD160 3c9c833e4418a05082d47c246a91d94c9b0faa81 SHA1 2e0b56edf341c34ada0dd7031080543dd3e2c616 SHA256 cf4a2efa1997b8a256b2a6d7cbefcc4ccff85746c7eec3594f0112b2b312fed6
+MISC ChangeLog 7110 RMD160 933d3b464527441083c7d74dee608a2adc14e45e SHA1 61023315ec2d07f19a1d3adac9630ab4837e711b SHA256 64c5d9f83701b212f0faa9eabcc32b4e509781b191ba714d768efc0da684cbc1
MISC metadata.xml 604 RMD160 1e0ed48d48668781cafc44ef8a14c3fb1e41eb28 SHA1 0f1b65755c3b923539a54b7e05dfda9679c4d758 SHA256 094795782ea49d41a8c4106510bb80d360f1bdaae3ab89c23c369def31bab56c
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.6.2-fitplugins.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.6.2-fitplugins.patch
new file mode 100644
index 000000000000..64e54655df61
--- /dev/null
+++ b/sci-visualization/qtiplot/files/qtiplot-0.9.6.2-fitplugins.patch
@@ -0,0 +1,32 @@
+diff -U2 -r qtiplot-0.9.6.orig/fitPlugins/fitRational0/fitRational0.pro qtiplot-0.9.6/fitPlugins/fitRational0/fitRational0.pro
+--- qtiplot-0.9.6.orig/fitPlugins/fitRational0/fitRational0.pro 2007-10-29 05:44:06.000000000 +0600
++++ qtiplot-0.9.6/fitPlugins/fitRational0/fitRational0.pro 2008-05-15 10:42:10.000000000 +0700
+@@ -13,10 +13,8 @@
+
+ # statically link against GSL in 3rdparty
+-INCLUDEPATH += ../../3rdparty/gsl/include/
+-LIBS += ../../3rdparty/gsl/lib/libgsl.a
+-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
++INCLUDEPATH += /usr/include/gsl
+
+ #dynamically link against GSL installed system-wide
+-#unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas
++unix:LIBS += $$system(pkg-config --libs gsl)
+
+ target.path=/usr/lib$${libsuff}/qtiplot/plugins
+diff -U2 -r qtiplot-0.9.6.orig/fitPlugins/fitRational1/fitRational1.pro qtiplot-0.9.6/fitPlugins/fitRational1/fitRational1.pro
+--- qtiplot-0.9.6.orig/fitPlugins/fitRational1/fitRational1.pro 2007-10-29 05:44:06.000000000 +0600
++++ qtiplot-0.9.6/fitPlugins/fitRational1/fitRational1.pro 2008-05-15 10:43:01.000000000 +0700
+@@ -13,10 +13,8 @@
+
+ # statically link against GSL in 3rdparty
+-INCLUDEPATH += ../../3rdparty/gsl/include/
+-LIBS += ../../3rdparty/gsl/lib/libgsl.a
+-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
++INCLUDEPATH += /usr/include/gsl
+
+ #dynamically link against GSL installed system-wide
+-#unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas
++unix:LIBS += $$system(pkg-config --libs gsl)
+
+ target.path=/usr/lib$${libsuff}/qtiplot/plugins
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.6.2-pro.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.6.2-pro.patch
new file mode 100644
index 000000000000..0e26565e3b26
--- /dev/null
+++ b/sci-visualization/qtiplot/files/qtiplot-0.9.6.2-pro.patch
@@ -0,0 +1,62 @@
+diff -r -U2 qtiplot-0.9.6.2.orig/qtiplot/qtiplot.pro qtiplot-0.9.6.2/qtiplot/qtiplot.pro
+--- qtiplot-0.9.6.2.orig/qtiplot/qtiplot.pro 2008-05-19 14:26:41.000000000 +0700
++++ qtiplot-0.9.6.2/qtiplot/qtiplot.pro 2008-05-21 23:15:15.000000000 +0700
+@@ -18,5 +18,5 @@
+ # the *.path variables defined bellow.
+ ######################################################################################
+-#CONFIG += CustomInstall
++CONFIG += CustomInstall
+
+ CONFIG += release
+@@ -28,10 +28,9 @@
+ #############################################################################
+
+-INCLUDEPATH += ../3rdparty/muparser/include
+-INCLUDEPATH += ../3rdparty/qwtplot3d/include
+-INCLUDEPATH += ../3rdparty/qwt/src
+-INCLUDEPATH += ../3rdparty/liborigin
+-INCLUDEPATH += ../3rdparty/gsl/include
+-INCLUDEPATH += ../3rdparty/zlib123/include
++INCLUDEPATH += /usr/include/muparser
++INCLUDEPATH += /usr/include/qwtplot3d
++INCLUDEPATH += /usr/include/qwt5
++INCLUDEPATH += /usr/include/liborigin
++INCLUDEPATH += /usr/include/gsl
+
+ ##################### 3rd PARTY LIBRARIES SECTION ###########################
+@@ -42,15 +41,17 @@
+
+ # statically link against libraries in 3rdparty
+-unix:LIBS += ../3rdparty/muparser/lib/libmuparser.a
+-unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a
+-unix:LIBS += ../3rdparty/qwt/lib/libqwt.a
+-unix:LIBS += ../3rdparty/gsl/lib/libgsl.a
+-unix:LIBS += ../3rdparty/gsl/lib/libgslcblas.a
++#unix:LIBS += ../3rdparty/muparser/lib/libmuparser.a
++#unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a
++#unix:LIBS += ../3rdparty/qwt/lib/libqwt.a
++#unix:LIBS += ../3rdparty/gsl/lib/libgsl.a
++#unix:LIBS += ../3rdparty/gsl/lib/libgslcblas.a
+
+ # dynamically link against dependencies if they are installed system-wide
+-#unix:LIBS += -lmuparser
+-#unix:LIBS += -lqwtplot3d
+-#unix:LIBS += -lqwt
+-#unix:LIBS += -lgsl -lgslcblas
++unix:LIBS += -lmuparser
++unix:LIBS += -lqwtplot3d
++unix:LIBS += -lqwt
++unix:LIBS += $$system(pkg-config --libs gsl)
++unix:LIBS += -lorigin
++unix:LIBS += -lz
+
+ ##################### Windows ###############################################
+@@ -240,6 +241,6 @@
+ ###############################################################
+
+- HEADERS += ../3rdparty/liborigin/OPJFile.h
+- SOURCES += ../3rdparty/liborigin/OPJFile.cpp
++# HEADERS += ../3rdparty/liborigin/OPJFile.h
++# SOURCES += ../3rdparty/liborigin/OPJFile.cpp
+
+ ###############################################################
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild
new file mode 100644
index 000000000000..6dca543d6526
--- /dev/null
+++ b/sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild,v 1.1 2008/05/21 08:51:31 grozin Exp $
+
+EAPI="1"
+inherit eutils multilib qt4 fdo-mime
+
+DESCRIPTION="Qt based clone of the Origin plotting package"
+HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
+SRC_URI="http://soft.proindependent.com/src/${P}.tar.bz2
+ doc? ( mirror://gentoo/${P}-manual-en.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="python doc bindist"
+
+LANGS="de es fr ja ru sv"
+for l in ${LANGS}; do
+ IUSE="${IUSE} linguas_${l}"
+done
+
+CDEPEND=">=x11-libs/qwt-5.1
+ >=x11-libs/qwtplot3d-0.2.7
+ >=dev-cpp/muParser-1.28
+ >=sci-libs/liborigin-20080225
+ !bindist? ( sci-libs/gsl )
+ bindist? ( <sci-libs/gsl-1.10 )"
+
+DEPEND="${CDEPEND}
+ dev-util/pkgconfig
+ python? ( >=dev-python/sip-4.5.2 )"
+
+RDEPEND="${CDEPEND}
+ python? ( >=dev-lang/python-2.5
+ dev-python/PyQt4
+ dev-python/pygsl
+ sci-libs/scipy )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-pro.patch
+ epatch "${FILESDIR}"/${P}-fitplugins.patch
+
+ sed -i \
+ -e '/manual/d'\
+ -e '/3rd/d' \
+ qtiplot.pro || die "sed qtiplot.pro failed"
+ sed -i \
+ -e '/manual/d' \
+ -e "s:doc/${PN}:doc/${PF}:" \
+ qtiplot/qtiplot.pro || die " sed for qtiplot/qtiplot.pro failed"
+
+ if ! use python; then
+ sed -i \
+ -e '/^SCRIPTING_LANGS += Python/d' \
+ -e '/sipcmd/d' \
+ qtiplot/qtiplot.pro || die "sed for python option failed"
+ fi
+
+ # the lib$$suff did not work in the fitRational*.pro files
+ sed -i \
+ -e "s|/usr/lib\$\${libsuff}|/usr/$(get_libdir)|g" \
+ fitPlugins/fit*/fitRational*.pro \
+ || die "sed fitRational* failed"
+
+ for l in ${LANGS}; do
+ if ! use linguas_${l}; then
+ sed -i \
+ -e "s:translations/qtiplot_${l}.ts::" \
+ -e "s:translations/qtiplot_${l}.qm::" \
+ qtiplot/qtiplot.pro || die
+ fi
+ done
+}
+
+src_compile() {
+ eqmake4 || die "eqmake4 failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die 'emake install failed'
+ rm -f "${D}"/usr/share/${PN}/translations/*.ts
+
+ newicon qtiplot_logo.png qtiplot.png
+ make_desktop_entry qtiplot QtiPlot qtiplot
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}/html
+ doins -r "${WORKDIR}"/qtiplot-manual-en/* \
+ || die "install manual failed"
+ rm -rf "${D}"/usr/share/doc/${PF}/html/*/.svn
+ fi
+}
+
+pkg_postinst() {
+ if use doc; then
+ elog "On the first start, do Help -> Choose Help Folder"
+ elog "and select /usr/share/doc/${PF}/html"
+ elog "Also do View -> Preferences, in the tab File Locations"
+ elog "set Python Configuration Files to /usr/share/${PN}"
+ elog "and Translations to /usr/share/${PN}/translations"
+ fi
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}