summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-03-27 15:49:57 +0000
committerJustin Lecher <jlec@gentoo.org>2012-03-27 15:49:57 +0000
commitcca9706d7696d8dd70eeb93a22f2de47ab5b2757 (patch)
treed49512f88aefaed063ffe7766bf779fc4e32c3fd /sci-visualization/qtiplot
parentStabilize for all. (diff)
downloadhistorical-cca9706d7696d8dd70eeb93a22f2de47ab5b2757.tar.gz
historical-cca9706d7696d8dd70eeb93a22f2de47ab5b2757.tar.bz2
historical-cca9706d7696d8dd70eeb93a22f2de47ab5b2757.zip
Cleaned old
Package-Manager: portage-2.2.0_alpha95/cvs/Linux x86_64
Diffstat (limited to 'sci-visualization/qtiplot')
-rw-r--r--sci-visualization/qtiplot/ChangeLog7
-rw-r--r--sci-visualization/qtiplot/Manifest22
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.7.14-r1.ebuild195
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild217
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild187
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild194
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild203
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.8.7.ebuild202
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.8.8.ebuild206
9 files changed, 10 insertions, 1423 deletions
diff --git a/sci-visualization/qtiplot/ChangeLog b/sci-visualization/qtiplot/ChangeLog
index a02251b13496..b5632a68a0cf 100644
--- a/sci-visualization/qtiplot/ChangeLog
+++ b/sci-visualization/qtiplot/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-visualization/qtiplot
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.89 2012/03/02 11:11:53 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.90 2012/03/27 15:49:57 jlec Exp $
+
+ 27 Mar 2012; Justin Lecher <jlec@gentoo.org> -qtiplot-0.9.7.14-r1.ebuild,
+ -qtiplot-0.9.8.3.ebuild, -qtiplot-0.9.8.4.ebuild, -qtiplot-0.9.8.5.ebuild,
+ -qtiplot-0.9.8.6.ebuild, -qtiplot-0.9.8.7.ebuild, -qtiplot-0.9.8.8.ebuild:
+ Cleaned old
02 Mar 2012; Justin Lecher <jlec@gentoo.org> qtiplot-0.9.8.9-r1.ebuild,
files/qtiplot-0.9.8.9-origin-2.patch:
diff --git a/sci-visualization/qtiplot/Manifest b/sci-visualization/qtiplot/Manifest
index dd2bc3b62f40..e2db2ba626e2 100644
--- a/sci-visualization/qtiplot/Manifest
+++ b/sci-visualization/qtiplot/Manifest
@@ -21,32 +21,18 @@ AUX qtiplot-0.9.8.7-kde.patch 454 RMD160 dd38d3a9e4c1034fff061f7bc4e6ef95aa07ee1
AUX qtiplot-0.9.8.8-system-gl2ps.patch 2436 RMD160 4ef13f2ff717759a882e91169bc81a167dc08b9e SHA1 cdbb846d85372720021b52c71f86e5230f913e32 SHA256 0787155b465aa6cdf4b2c12a87dd68e6b5aa2197b041b06a550023c1ca96c81c
AUX qtiplot-0.9.8.9-origin-2.patch 1713 RMD160 444bcef412e7af91b7a395e3c6a638de00b549d0 SHA1 3c826192c4da1b15672566bba2d34ddad4e93b62 SHA256 f48441a91326dbea572d52d9e22449fc29c3e205ce90925f277a1121233a4c40
AUX qtiplot-0.9.8.9-qt48.patch 984 RMD160 79f21b79484d9ef6f2798f406722982bd25e1390 SHA1 a91447800c37f5a302fe5c4c726beeb63451f394 SHA256 e434763efdad1693dadd7c94d5871d4b5d808ceebbaf7b2acd434b9b6166eb29
-DIST qtiplot-0.9.7.14.tar.bz2 8119824 RMD160 09bf50211c77159dad674fcab4f9772fe4267947 SHA1 3e31b2c3fea827a573da96fb50118e6d9cc33f4b SHA256 10edfe55651d0e82f87b10b53fe068cee54782d1df2cbf482a7bafcc27eb3d18
DIST qtiplot-0.9.8.2.tar.bz2 8244887 RMD160 0ee5e9f5eb50c44b2666cf904ef7ff23850c4c0b SHA1 dd8d1003cee8767d4ba9e616e5263da1302c290d SHA256 f544a42a1b103c1fb8cf28f00313fc984fac6ed5d7748a511e726410612e2c02
-DIST qtiplot-0.9.8.3.tar.bz2 8195869 RMD160 864e45bd9e74f3dd7526c84d387ab88438c1ee70 SHA1 e5ffdd25f1f69611f3f39a0b22e8c23959ab51e1 SHA256 9c8b89c4b931db2d51a902cb74c87f14cdef4e0ab33127ae59196429ae3ab4a7
-DIST qtiplot-0.9.8.4.tar.bz2 8562510 RMD160 0fe2617d93db7065ce26df5dd231b91648a68da9 SHA1 a3b67c9ae6ad120742f507472cd14e877eaabad4 SHA256 beb140e5c7a578c6f71894bf0ccc65d4b5e1fe91a22b7002b6fe5707cf77d440
-DIST qtiplot-0.9.8.5.tar.bz2 10399116 RMD160 56647644c8433fbe97b3d7f36a75919da5a4d1af SHA1 0305097eb096adf332d319b0619c14fc42f01cf4 SHA256 5bc297e236551a0e8a23719f3f08438700215eb82cf320bbc1d4c037e6d9cf33
-DIST qtiplot-0.9.8.6.tar.bz2 10415560 RMD160 830c4bb911a0680771a078dfe1796b4cd6889397 SHA1 e8a5ea1e1fb0e87cf76985f63b25e263b03f5fa9 SHA256 3fef0e8796e6045aad5404b156bf1e125e9732a034cb3e61c58dcebd5079985f
-DIST qtiplot-0.9.8.7.tar.bz2 10439239 RMD160 8f56f2b92bc46a99ecddb68a521ffd72867ab079 SHA1 f143b6e1f240cf3ed6b6145e161c2839c093420f SHA256 2dd29616016fbb302ce8fb20080d86fc15fdeb69572a1c92bb46f21cd5ba0e39
-DIST qtiplot-0.9.8.8.tar.bz2 10437325 RMD160 400b958581bf75bdcea5cfb829ebebf842de345c SHA1 02801cdf31b543c0f5d7ef1b1f358f0738d93d48 SHA256 cc4c96aff68dd6124374f228eb3866c2f6d0cd478cfb9242b43fca012ecbb0c3
DIST qtiplot-0.9.8.9-origin.patch.bz2 104708 RMD160 cbdd313f6054ecce19987be949b381c6210a3dad SHA1 632fbe607af7d2b1a903ef414ccadc4f425f9058 SHA256 e83d7212be0fadae31b14c8a86b655fdb3b7c7b8fc80b1e2d91eb0a7e96b1e99
DIST qtiplot-0.9.8.9.tar.bz2 16202943 RMD160 6f78160aabc94fc8f01d4f5fb65f5cb4a718eae2 SHA1 73b17dd9195c3d86750d5f1f5bdd4d5483c5fe30 SHA256 a523ea259516d7581abaf2fe376507d152db32f71d88176cff18f5bc391b9ef0
-EBUILD qtiplot-0.9.7.14-r1.ebuild 5294 RMD160 1c7ed30f4a15a469fcd7153dd3d2b42c18069ed2 SHA1 911b55806849db16a2e8032606ac73ea4a2a79b1 SHA256 f90ab5b808466118e16d5ba23a2743b75270c881d1ee7553d374530d47e7f43f
EBUILD qtiplot-0.9.8.2.ebuild 5401 RMD160 ec3aaa60bd9f48b4202980c86d41352cfa93ce1b SHA1 c698f5425ff1e3c613782cbc45a44e0a92ae3829 SHA256 860833f9f224c29cdcdbb081909803bb1df3ea8240a4cee2bed7614f8ee9b8a1
-EBUILD qtiplot-0.9.8.3.ebuild 6193 RMD160 c8a6667d60c79028592cef5573ad59daf8e6a66b SHA1 ff25d80ed0ecf5a8bb2485232c597e1660531721 SHA256 37920e863c3efb3bcb978cf2983a8ba8652177c187fbcd957d7368c0a9896f2f
-EBUILD qtiplot-0.9.8.4.ebuild 5095 RMD160 b1eea08c4c0dc8aab31ec156cf7020237cf6618a SHA1 545ea73d98d61688df01af0786b137e7f438bf6b SHA256 60c776c774759a1d52d2a5bd2658776d6c9f6a4093a81507c931baf44057a133
-EBUILD qtiplot-0.9.8.5.ebuild 5331 RMD160 28fd64588c35cb641c64e9100bb0a4e749aa1003 SHA1 5ef9df5d57ff8da8011e06db09ac37f6a6f1c940 SHA256 2c9636404de3df7754b937098bf27e166286c0e8e54fb0966f38eb481355dd8b
-EBUILD qtiplot-0.9.8.6.ebuild 5588 RMD160 c2ecf35156578918fc6bd92628af341e28a5d40f SHA1 dade73496bf579d3c18a1fc5e881cfedd8222432 SHA256 8e49b91599c4334a7a454ad07b30214783ff94dc63acd4892521d61e4e1ff5bd
-EBUILD qtiplot-0.9.8.7.ebuild 5561 RMD160 81e8cac2a30b289a957ff8f8770de9771a9eb858 SHA1 6bcb4900edf5bbe3e5b539e561ac6427aea09eb1 SHA256 bff735cd67a777db17882442cfc461588319b55e2c6244b83a6989e1c0f7ba65
-EBUILD qtiplot-0.9.8.8.ebuild 5605 RMD160 97def6b6c419cf44a9c5854a5c756b0d807a9ab0 SHA1 ef151e1241b4883a767fb644cfde44da20da7341 SHA256 a7568b7bceebd1ccc6a2955258e9eb86dee90a1eca69033cd181d4d852e3359d
EBUILD qtiplot-0.9.8.9-r1.ebuild 5910 RMD160 3e1cda43e171ba3d0eefdf92d140d2de1ad2ceca SHA1 c4abaed63d2075c42f75e495f1ee70db2e2ec31c SHA256 ec42c7a1626be1564b6bd3907781817ec567ea613597edff0059cd01b5208397
EBUILD qtiplot-0.9.8.9.ebuild 5646 RMD160 53531184a024abde2622cfa5bb747f046a0b27a3 SHA1 96bb10cfee6950300f57994ada42263cc720ef16 SHA256 44ab454d36f6085a26c7c74323d6852b46a1ef722b6754ea845ed45226906dd7
-MISC ChangeLog 21299 RMD160 38da37101350bc4063289ae112676dc790b5f692 SHA1 91b8febcce918575d9cbee43ded2652862e6f107 SHA256 5f556681787935141a0296d71162019ea7a58995b168fb96d176af416f21595a
+MISC ChangeLog 21544 RMD160 282ad387ebec1f8f54ba14c01d3e752eb8280649 SHA1 4b1fdd154b314c6efc301e4d5e555f7ef5447ae6 SHA256 7ed549bcee0054f10036b31accff825e9f19c8346d06e95a4c24ed9a7d000002
MISC metadata.xml 919 RMD160 d5a42a5872798c2f2f3a0c8ca241a15444a6f8b9 SHA1 1117f722c109e074538193ded0c6a5c5c8334dc7 SHA256 379fdffaca2a9a4769a8bfd3d6c38efca329faf1382b9e9013a2b1f4262a42ec
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEAREKAAYFAk9Qqv4ACgkQgAnW8HDreRbCOQCfVbZdnDJ3XnebE6ikYFiNZotf
-GXMAnRj7UgJ26A/p6qqx7i9jDM4ucFtN
-=UMyw
+iEYEAREKAAYFAk9x4aoACgkQgAnW8HDreRadNACeIfhg2HWLEWmK/IjaDG5SLufC
+8CgAnjWmXAP/ZCsffpIWPgTY8kjo2qE3
+=ebw6
-----END PGP SIGNATURE-----
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.7.14-r1.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.7.14-r1.ebuild
deleted file mode 100644
index 424ffd7b0e73..000000000000
--- a/sci-visualization/qtiplot/qtiplot-0.9.7.14-r1.ebuild
+++ /dev/null
@@ -1,195 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.14-r1.ebuild,v 1.5 2011/10/06 11:33:01 jlec Exp $
-
-EAPI=2
-
-PYTHON_DEPEND="python? 2"
-
-inherit eutils qt4 fdo-mime python
-
-DESCRIPTION="Qt based clone of the Origin plotting package"
-HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
-SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc python ods xls"
-
-LANGS="cn cz de es fr ro ru ja sv"
-for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- IUSE="${IUSE} linguas_${lu}"
-done
-
-# qwtplot3d much modified from original upstream
-# >=x11-libs/qwt-5.3 they are using trunk checkouts
-CDEPEND="
- x11-libs/qt-opengl:4
- x11-libs/qt-qt3support:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 )
- x11-libs/qt-svg:4
- >=x11-libs/gl2ps-1.3.5
- >=dev-cpp/muParser-1.32
- >=dev-libs/boost-1.35.0
- >=sci-libs/liborigin-20100420:2
- sci-libs/gsl
- dev-libs/boost
- dev-tex/qtexengine
- xls? ( dev-libs/libxls )
- ods? ( dev-libs/quazip )"
-# Still unable to build
-# emf? ( media-libs/libemf
-# media-libs/emfengine )
-
-DEPEND="${CDEPEND}
- dev-util/pkgconfig
- python? ( >=dev-python/sip-4.9 )
- doc? ( app-text/docbook-sgml-utils
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )"
-
-RDEPEND="${CDEPEND}
- python? (
- dev-python/PyQt4[X]
- dev-python/pygsl
- dev-python/rpy
- sci-libs/scipy )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.7.12-system-QTeXEngine.patch"
- "${FILESDIR}/${PN}-0.9.7.14-system-liborigin.patch"
- "${FILESDIR}/${PN}-0.9.7.14-system-2dplot.patch"
- "${FILESDIR}/${PN}-0.9.7.12-system-gl2ps.patch"
- "${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch"
- )
-
-pkg_setup() {
- python_set_active_version 2
- qt4_pkg_setup
-}
-
-src_prepare() {
- qt4_src_prepare
-
- rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/}
-
- # Check build.conf for changes on bump.
- cat >build.conf <<-EOF
- # Automatically generated by Gentoo ebuild
- isEmpty( QTI_ROOT ) {
- message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" )
- }
-
- MUPARSER_LIBS = \$\$system(pkg-config --libs muparser)
- GSL_LIBS = \$\$system(pkg-config --libs gsl)
- BOOST_INCLUDEPATH = /usr/include/boost
- BOOST_LIBS = -lboost_date_time-mt -lboost_thread-mt
- QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src
- QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
- QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include
- QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a
- LIB_ORIGIN_INCLUDEPATH = /usr/include/liborigin2
- LIB_ORIGIN_LIBS = -lorigin2
- QTEXENGINE_LIBS = -lQTeXEngine
- SYS_LIBS = -lgl2ps
-
- PYTHON = python
- LUPDATE = lupdate
- LRELEASE = lrelease
-
- SCRIPTING_LANGS += muParser
-
- CONFIG += release
- CONFIG += CustomInstall
- DEFINES += SCRIPTING_CONSOLE
-
- EOF
-
- use python && echo "SCRIPTING_LANGS += Python" >> build.conf
- use xls && echo "XLS_LIBS = -lxlsreader" >> build.conf
- if use ods; then
- echo "QUAZIP_INCLUDEPATH = /usr/include/quazip" >> build.conf
- echo "QUAZIP_LIBS = -lquazip" >> build.conf
- fi
-
- sed '/^INSTALLS/d;' -i 3rdparty/qwtplot3d/qwtplot3d.pro || die
-
- # Fails to build...
- #if use emf; then
- # echo "EMF_ENGINE_INCLUDEPATH = /usr/include/libEMF" >> build.conf
- # echo "EMF_ENGINE_LIBS = -lEMF" >> build.conf
- #fi
-
- sed -e "s:doc/${PN}/manual:doc/${PN}/html:" \
- -e "s:/usr/local/${PN}:$(python_get_sitedir)/qtiplot:" \
- -i qtiplot/qtiplot.pro || die
-
- sed -e '/INSTALLS.*documentation/d' \
- -e '/INSTALLS.*manual/d' \
- -i qtiplot/qtiplot.pro || die
- sed -e '/manual/d' -i qtiplot.pro || die
-
- # Drop langs only if LINGUAS is not empty
- if [[ -n ${LINGUAS} ]]; then
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} || \
- sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \
- -i qtiplot/qtiplot.pro || die
- done
- fi
- chmod -x qtiplot/qti_wordlist.txt
-
- # sed out debian paths
- sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \
- -i manual/qtiplot.dsl || die
- sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \
- -i manual/qtiplot_html.xsl || die
-}
-
-src_configure() {
- use amd64 && export QMAKESPEC="linux-g++-64"
- eqmake4
-}
-
-src_compile() {
- emake || die "emake failed"
- lrelease qtiplot/qtiplot.pro || die
- if use doc; then
- cd manual
- emake web || die "html docbook building failed"
- fi
-}
-
-src_install() {
- emake INSTALL_ROOT="${D}" install || die 'emake install failed'
- newicon qtiplot_logo.png qtiplot.png
- make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
- if use doc; then
- insinto /usr/share/doc/${PN}/html
- doins -r manual/html/* || die "install manual failed"
- fi
-
- if [[ -n ${LINGUAS} ]]; then
- insinto /usr/share/${PN}/translations
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} && \
- doins qtiplot/translations/qtiplot_${l}.qm
- done
- fi
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- use python && python_mod_optimize "$(python_get_sitedir)/qtiplot"
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- use python && python_mod_cleanup "$(python_get_sitedir)/qtiplot"
-}
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild
deleted file mode 100644
index d3fa66ef6864..000000000000
--- a/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild
+++ /dev/null
@@ -1,217 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild,v 1.5 2011/10/06 11:33:01 jlec Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="python? 2"
-
-inherit eutils qt4-r2 fdo-mime python
-
-DESCRIPTION="Qt based clone of the Origin plotting package"
-HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
-SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bindist doc emf latex ods origin png python xls"
-
-LANGS="cn cz de es fr ja ro ru sv"
-for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- IUSE="${IUSE} linguas_${lu}"
-done
-
-# qwtplot3d much modified from original upstream
-# >=x11-libs/qwt-5.3 they are using trunk checkouts
-CDEPEND="
- x11-libs/qt-opengl:4
- x11-libs/qt-qt3support:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 )
- x11-libs/qt-svg:4
- >=x11-libs/gl2ps-1.3.5[png?]
- >=dev-cpp/muParser-1.32
- >=dev-libs/boost-1.35.0
- sci-libs/gsl
- emf? ( media-libs/emfengine media-libs/libemf )
- latex? ( dev-tex/qtexengine )
- ods? ( dev-libs/quazip )
- origin? ( >=sci-libs/liborigin-20100913:2 dev-libs/boost )
- png? ( media-libs/libpng )
- xls? ( sci-libs/libexcelformat )"
-# Still unable to build
-# emf? ( media-libs/libemf
-# media-libs/emfengine )
-
-DEPEND="${CDEPEND}
- dev-util/pkgconfig
- python? ( >=dev-python/sip-4.9 )
- doc? (
- >=app-text/docbook-sgml-utils-0.6.14-r1
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )"
-
-RDEPEND="${CDEPEND}
- python? ( dev-python/PyQt4[X] )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.7.14-system-liborigin.patch"
- "${FILESDIR}/${PN}-0.9.7.12-system-gl2ps.patch"
- "${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch"
- "${FILESDIR}/${PN}-0.9.8.2-syslibs.patch"
- "${FILESDIR}/${P}-plot.patch"
- "${FILESDIR}/${P}-origin.patch"
- "${FILESDIR}/${P}-popup.patch"
- "${FILESDIR}/${P}-odf.patch"
- )
-
-pkg_setup() {
- use python && python_set_active_version 2
-}
-
-src_prepare() {
- qt4-r2_src_prepare
-
- rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/,boost}
- sed "/3rdparty/d" -i qtiplot/src/origin/origin.pri
- # Check build.conf for changes on bump.
- cat > build.conf <<-EOF
- # Automatically generated by Gentoo ebuild
- isEmpty( QTI_ROOT ) {
- message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" )
- }
-
- MUPARSER_LIBS = \$\$system(pkg-config --libs muparser)
- GSL_LIBS = \$\$system(pkg-config --libs gsl)
- QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src
- QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
- QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include
- QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a
- SYS_LIBS = -lgl2ps
-
- PYTHON = python
- LUPDATE = lupdate
- LRELEASE = lrelease
-
- SCRIPTING_LANGS += muParser
-
- CONFIG += release
- CONFIG += CustomInstall
- DEFINES += SCRIPTING_CONSOLE
-
- EOF
-
- use bindist && echo "DEFINES += QTIPLOT_SUPPORT" >> build.conf
- use python && echo "SCRIPTING_LANGS += Python" >> build.conf
- use xls && echo "XLS_LIBS = -lExcelFormat" >> build.conf
- use latex && echo "TEX_ENGINE_LIBS = -lQTeXEngine" >> build.conf
- use png && echo "LIBPNG_LIBS = -lpng" >> build.conf
-
- if use emf; then
- echo "EMF_ENGINE_LIBS = -lEmfEngine -lEMF" >> build.conf
- echo "EMF_ENGINE_INCLUDEPATH = \"${EPREFIX}/usr/include\"" >> build.conf
- sed 's:/usr/local/lib/libEMF.a:-lEMF:g' -i qtiplot/qtiplot.pro || die
- fi
-
- if use origin; then
- cat >> build.conf <<- EOF
- BOOST_INCLUDEPATH = "${EPREFIX}/usr/include/boost"
- BOOST_LIBS = -lboost_date_time-mt -lboost_thread-mt
- LIBORIGIN_INCLUDEPATH = "${EPREFIX}/usr/include/liborigin2"
- LIBORIGIN_LIBS = -lorigin2
- EOF
- fi
- if use ods; then
- echo "QUAZIP_INCLUDEPATH = ${EPREFIX}/usr/include/quazip" >> build.conf
- echo "QUAZIP_LIBS = -lquazip" >> build.conf
- fi
-
- sed '/^INSTALLS/d;' -i 3rdparty/qwtplot3d/qwtplot3d.pro || die
-
- # Fails to build...
- #if use emf; then
- # echo "EMF_ENGINE_INCLUDEPATH = /usr/include/libEMF" >> build.conf
- # echo "EMF_ENGINE_LIBS = -lEMF" >> build.conf
- #fi
-
- sed -e "s:doc/${PN}/manual:doc/${PN}/html:" \
- -e "s:/usr/local/${PN}:$(python_get_sitedir)/qtiplot:" \
- -i qtiplot/qtiplot.pro || die
-
- sed -e '/INSTALLS.*documentation/d' \
- -e '/INSTALLS.*manual/d' \
- -i qtiplot/qtiplot.pro || die
- sed -e '/manual/d' -i qtiplot.pro || die
-
- # Drop langs only if LINGUAS is not empty
- if [[ -n ${LINGUAS} ]]; then
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} || \
- sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \
- -i qtiplot/qtiplot.pro || die
- done
- fi
- chmod -x qtiplot/qti_wordlist.txt
-
- # sed out debian paths
- sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \
- -i manual/qtiplot.dsl || die
- sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \
- -i manual/qtiplot_html.xsl || die
-}
-
-src_configure() {
- use amd64 && export QMAKESPEC="linux-g++-64"
- eqmake4
-}
-
-src_compile() {
- emake || die "emake failed"
- lrelease qtiplot/qtiplot.pro || die
- if use doc; then
- cd manual
- emake web || die "html docbook building failed"
- fi
-}
-
-src_install() {
- emake INSTALL_ROOT="${ED}" install || die 'emake install failed'
- newicon qtiplot_logo.png qtiplot.png
- make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
- if use doc; then
- insinto /usr/share/doc/${PN}/html
- doins -r manual/html/* || die "install manual failed"
- fi
-
- if [[ -n ${LINGUAS} ]]; then
- insinto /usr/share/${PN}/translations
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} && \
- doins qtiplot/translations/qtiplot_${l}.qm
- done
- fi
-}
-
-pkg_postinst() {
- if use python; then
- elog "You might want to emerge"
- elog "\t dev-python/pygsl"
- elog "\t dev-python/rpy"
- elog "\t sci-libs/scipy and"
- elog "\t dev-python/sympy"
- elog "to gain full python support."
- fi
-
- fdo-mime_desktop_database_update
- use python && python_mod_optimize ${PN}
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- use python && python_mod_cleanup ${PN}
-}
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild
deleted file mode 100644
index 7a71852df41f..000000000000
--- a/sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild,v 1.3 2011/10/06 11:33:01 jlec Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="python? 2"
-
-inherit eutils qt4-r2 fdo-mime python
-
-DESCRIPTION="Qt based clone of the Origin plotting package"
-HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
-SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bindist doc latex png python"
-
-LANGS="cn cz de es fr ja ro ru sv"
-for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- IUSE="${IUSE} linguas_${lu}"
-done
-
-# qwtplot3d much modified from original upstream
-# >=x11-libs/qwt-5.3 they are using trunk checkouts
-CDEPEND="
- x11-libs/qt-opengl:4
- x11-libs/qt-qt3support:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 )
- x11-libs/qt-svg:4
- >=x11-libs/gl2ps-1.3.5[png?]
- >=dev-cpp/muParser-1.32
- >=dev-libs/boost-1.35.0
- sci-libs/gsl
- sci-libs/tamu_anova
- latex? ( dev-tex/qtexengine )
- png? ( media-libs/libpng )"
-
-DEPEND="${CDEPEND}
- dev-util/pkgconfig
- python? ( >=dev-python/sip-4.9 )
- doc? (
- >=app-text/docbook-sgml-utils-0.6.14-r1
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )"
-
-RDEPEND="${CDEPEND}
- python? ( dev-python/PyQt4[X] )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.7.12-system-gl2ps.patch"
- "${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch"
- )
-
-pkg_setup() {
- use python && python_set_active_version 2
-}
-
-src_prepare() {
- qt4-r2_src_prepare
-
- rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/,boost} || die
- sed \
- -e "s:dll:static:g" \
- -e "/INSTALLS/d" \
- -i 3rdparty/qwtplot3d/*.pro
-
- # Check build.conf for changes on bump.
- cat > build.conf <<-EOF
- # Automatically generated by Gentoo ebuild
- isEmpty( QTI_ROOT ) {
- message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" )
- }
-
- MUPARSER_LIBS = \$\$system(pkg-config --libs muparser)
- GSL_LIBS = \$\$system(pkg-config --libs gsl)
- QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src
- QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
- QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include
- QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a
- SYS_LIBS = -lgl2ps
-
- PYTHON = python
- LUPDATE = lupdate
- LRELEASE = lrelease
-
- SCRIPTING_LANGS += muParser
-
- CONFIG += release
- CONFIG += CustomInstall
- DEFINES += SCRIPTING_CONSOLE
-
- EOF
-
- use bindist && echo "DEFINES += QTIPLOT_SUPPORT" >> build.conf
- use bindist || echo "DEFINES += QTIPLOT_PRO" >> build.conf
- use python && echo "SCRIPTING_LANGS += Python" >> build.conf
- use latex && echo "TEX_ENGINE_LIBS = -lQTeXEngine" >> build.conf
- use png && echo "LIBPNG_LIBS = -lpng" >> build.conf
- echo "TAMUANOVA_LIBS = -ltamuanova" >> build.conf && \
- echo "TAMUANOVA_INCLUDEPATH = \"${EPREFIX}/usr/include/tamu_anova\"" >> build.conf
-
- sed -e "s:doc/${PN}/manual:doc/${PN}/html:" \
- -e "s:/usr/local/${PN}:$(python_get_sitedir)/qtiplot:" \
- -i qtiplot/qtiplot.pro || die
-
- sed -e '/INSTALLS.*documentation/d' \
- -e '/INSTALLS.*manual/d' \
- -i qtiplot/qtiplot.pro || die
-
- sed -e '/manual/d' -i qtiplot.pro || die
-
- sed -e "s:QTIPLOT_PRO:QTIPLOT_PROFESSIONAL:g" -i qtiplot/src/core/main.cpp || die
-
- # Drop langs only if LINGUAS is not empty
- if [[ -n ${LINGUAS} ]]; then
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} || \
- sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \
- -i qtiplot/qtiplot.pro || die
- done
- fi
- chmod -x qtiplot/qti_wordlist.txt
-
- # sed out debian paths
- sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \
- -i manual/qtiplot.dsl || die
- sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \
- -i manual/qtiplot_html.xsl || die
-}
-
-src_configure() {
- use amd64 && export QMAKESPEC="linux-g++-64"
- eqmake4
-}
-
-src_compile() {
- emake || die "emake failed"
- lrelease qtiplot/qtiplot.pro || die
- if use doc; then
- cd manual
- emake web || die "html docbook building failed"
- fi
-}
-
-src_install() {
- qt4-r2_src_install
- newicon qtiplot_logo.png qtiplot.png
- make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
- if use doc; then
- insinto /usr/share/doc/${PN}/html
- doins -r manual/html/* || die "install manual failed"
- fi
-
- if [[ -n ${LINGUAS} ]]; then
- insinto /usr/share/${PN}/translations
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} && \
- doins qtiplot/translations/qtiplot_${l}.qm
- done
- fi
-}
-
-pkg_postinst() {
- if use python; then
- elog "You might want to emerge"
- elog "\t dev-python/pygsl"
- elog "\t dev-python/rpy"
- elog "\t sci-libs/scipy and"
- elog "\t dev-python/sympy"
- elog "to gain full python support."
- fi
-
- fdo-mime_desktop_database_update
- use python && python_mod_optimize ${PN}
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- use python && python_mod_cleanup ${PN}
-}
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild
deleted file mode 100644
index d4d62c911405..000000000000
--- a/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild,v 1.3 2011/10/06 11:33:01 jlec Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="python? 2"
-
-inherit eutils qt4-r2 fdo-mime python
-
-DESCRIPTION="Qt based clone of the Origin plotting package"
-HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
-SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bindist doc mono latex png python zlib"
-
-LANGS="cn cz de es fr ja ro ru sv"
-for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- IUSE="${IUSE} linguas_${lu}"
-done
-
-# qwtplot3d much modified from original upstream
-# >=x11-libs/qwt-5.3 they are using trunk checkouts
-CDEPEND="
- x11-libs/qt-opengl:4
- x11-libs/qt-qt3support:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 )
- x11-libs/qt-svg:4
- >=x11-libs/gl2ps-1.3.5[png?]
- >=dev-cpp/muParser-1.32
- >=dev-libs/boost-1.35.0
- sci-libs/gsl
- sci-libs/tamu_anova
- latex? ( dev-tex/qtexengine )
- mono? ( dev-dotnet/libgdiplus )
- png? ( media-libs/libpng )
- zlib? ( dev-libs/quazip )"
-DEPEND="${CDEPEND}
- dev-util/pkgconfig
- python? ( >=dev-python/sip-4.9 )
- doc? (
- >=app-text/docbook-sgml-utils-0.6.14-r1
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )"
-
-RDEPEND="${CDEPEND}
- python? ( dev-python/PyQt4[X] )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.7.12-system-gl2ps.patch"
- "${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch"
- "${FILESDIR}/${P}-tamuanova.patch"
- )
-
-pkg_setup() {
- use python && python_set_active_version 2
-}
-
-src_prepare() {
- local mylibs
-
- qt4-r2_src_prepare
-
- rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/,boost} || die
- sed \
- -e "s:dll:static:g" \
- -e "/INSTALLS/d" \
- -i 3rdparty/qwtplot3d/*.pro
-
- use zlib && mylibs="${mylibs} -lquazip"
- use mono && mylibs="${mylibs} $(pkg-config --libs libgdiplus)"
-
- # Check build.conf for changes on bump.
- cat > build.conf <<-EOF
- # Automatically generated by Gentoo ebuild
- isEmpty( QTI_ROOT ) {
- message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" )
- }
-
- MUPARSER_LIBS = \$\$system(pkg-config --libs muparser)
- GSL_LIBS = \$\$system(pkg-config --libs gsl)
- QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src
- QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
- QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include
- QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a
- SYS_LIBS = -lgl2ps ${mylibs}
-
- PYTHON = python
- LUPDATE = lupdate
- LRELEASE = lrelease
-
- SCRIPTING_LANGS += muParser
-
- CONFIG += release
- CONFIG += CustomInstall
- DEFINES += SCRIPTING_CONSOLE
-
- EOF
-
- use bindist && echo "DEFINES += QTIPLOT_SUPPORT" >> build.conf
- use bindist || echo "DEFINES += QTIPLOT_PRO" >> build.conf
- use python && echo "SCRIPTING_LANGS += Python" >> build.conf
- use latex && echo "TEX_ENGINE_LIBS = -lQTeXEngine" >> build.conf
- use png && echo "LIBPNG_LIBS = -lpng" >> build.conf
- echo "TAMUANOVA_LIBS = -ltamuanova" >> build.conf && \
- echo "TAMUANOVA_INCLUDEPATH = \"${EPREFIX}/usr/include/tamu_anova\"" >> build.conf
-
- sed -e "s:doc/${PN}/manual:doc/${PN}/html:" \
- -e "s:/usr/local/${PN}:$(python_get_sitedir)/qtiplot:" \
- -i qtiplot/qtiplot.pro || die
-
- sed -e '/INSTALLS.*documentation/d' \
- -e '/INSTALLS.*manual/d' \
- -i qtiplot/qtiplot.pro || die
-
- sed -e '/manual/d' -i qtiplot.pro || die
-
- sed -e "s:QTIPLOT_PRO:QTIPLOT_PROFESSIONAL:g" -i qtiplot/src/core/main.cpp || die
-
- # Drop langs only if LINGUAS is not empty
- if [[ -n ${LINGUAS} ]]; then
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} || \
- sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \
- -i qtiplot/qtiplot.pro || die
- done
- fi
- chmod -x qtiplot/qti_wordlist.txt
-
- # sed out debian paths
- sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \
- -i manual/qtiplot.dsl || die
- sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \
- -i manual/qtiplot_html.xsl || die
-}
-
-src_configure() {
- use amd64 && export QMAKESPEC="linux-g++-64"
- eqmake4
-}
-
-src_compile() {
- emake || die "emake failed"
- lrelease qtiplot/qtiplot.pro || die
- if use doc; then
- cd manual
- emake web || die "html docbook building failed"
- fi
-}
-
-src_install() {
- qt4-r2_src_install
- newicon qtiplot_logo.png qtiplot.png
- make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
- if use doc; then
- insinto /usr/share/doc/${PN}/html
- doins -r manual/html/* || die "install manual failed"
- fi
-
- if [[ -n ${LINGUAS} ]]; then
- insinto /usr/share/${PN}/translations
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} && \
- doins qtiplot/translations/qtiplot_${l}.qm
- done
- fi
-}
-
-pkg_postinst() {
- if use python; then
- elog "You might want to emerge"
- elog "\t dev-python/pygsl"
- elog "\t dev-python/rpy"
- elog "\t sci-libs/scipy and"
- elog "\t dev-python/sympy"
- elog "to gain full python support."
- fi
-
- fdo-mime_desktop_database_update
- use python && python_mod_optimize ${PN}
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- use python && python_mod_cleanup ${PN}
-}
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild
deleted file mode 100644
index 91ba22ee3c92..000000000000
--- a/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild,v 1.5 2011/10/06 11:33:01 jlec Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="python? 2"
-
-inherit eutils qt4-r2 fdo-mime python
-
-DESCRIPTION="Qt based clone of the Origin plotting package"
-HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
-SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bindist doc mono latex png python zlib"
-
-LANGS="cn cz de es fr ja ro ru sv"
-for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- IUSE="${IUSE} linguas_${lu}"
-done
-
-# qwtplot3d much modified from original upstream
-# >=x11-libs/qwt-5.3 they are using trunk checkouts
-CDEPEND="
- x11-libs/qt-assistant
- x11-libs/qt-gui
- x11-libs/qt-opengl:4
- x11-libs/qt-qt3support:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 )
- x11-libs/qt-svg:4
- >=x11-libs/gl2ps-1.3.5[png?]
- >=dev-cpp/muParser-1.32
- >=dev-libs/boost-1.35.0
- sci-libs/gsl
- sci-libs/tamu_anova
- latex? ( dev-tex/qtexengine )
- mono? ( dev-dotnet/libgdiplus )
- png? ( media-libs/libpng )
- zlib? ( dev-libs/quazip )"
-DEPEND="${CDEPEND}
- dev-util/pkgconfig
- python? ( >=dev-python/sip-4.9 )
- doc? (
- >=app-text/docbook-sgml-utils-0.6.14-r1
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )"
-
-RDEPEND="${CDEPEND}
- python? ( dev-python/PyQt4[X] )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.7.12-system-gl2ps.patch"
- "${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch"
- "${FILESDIR}/${P}-tamuanova.patch"
- "${FILESDIR}/${P}-gold.patch"
- "${FILESDIR}/${P}-kde.patch"
- )
-
-pkg_setup() {
- use python && python_set_active_version 2
-}
-
-src_prepare() {
- local mylibs
-
- qt4-r2_src_prepare
-
- rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/,boost} || die
- sed \
- -e "s:dll:static:g" \
- -e "/INSTALLS/d" \
- -i 3rdparty/qwtplot3d/*.pro
-
- use zlib && mylibs="${mylibs} -lquazip"
- use mono && mylibs="${mylibs} $(pkg-config --libs libgdiplus)"
-
- # Check build.conf for changes on bump.
- cat > build.conf <<-EOF
- # Automatically generated by Gentoo ebuild
- isEmpty( QTI_ROOT ) {
- message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" )
- }
-
- MUPARSER_LIBS = \$\$system(pkg-config --libs muparser)
- GSL_LIBS = \$\$system(pkg-config --libs gsl)
- QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src
- QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
- QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include
- QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a
- SYS_LIBS = -lgl2ps ${mylibs}
-
- PYTHON = python
- LUPDATE = lupdate
- LRELEASE = lrelease
-
- SCRIPTING_LANGS += muParser
-
- CONFIG += release
- CONFIG += CustomInstall
- DEFINES += SCRIPTING_CONSOLE
-
- EOF
-
- use bindist && echo "DEFINES += QTIPLOT_SUPPORT" >> build.conf
- use bindist || echo "DEFINES += QTIPLOT_PRO" >> build.conf
- use python && echo "SCRIPTING_LANGS += Python" >> build.conf
- use latex && echo "TEX_ENGINE_LIBS = -lQTeXEngine" >> build.conf
- use png && echo "LIBPNG_LIBS = -lpng" >> build.conf
- echo "TAMUANOVA_LIBS = -ltamuanova" >> build.conf && \
- echo "TAMUANOVA_INCLUDEPATH = \"${EPREFIX}/usr/include/tamu_anova\"" >> build.conf
-
- sed \
- -e "s:doc/${PN}/manual:doc/${PN}/html:" \
- -e "s:/usr/local/${PN}:${EPREFIX}$(python_get_sitedir)/qtiplot:" \
- -e '/INSTALLS.*documentation/d' \
- -e '/INSTALLS.*manual/d' \
- -e "/INSTALLBASE/s: /usr: ${EPREFIX}/usr:g" \
- -e 's:/usr/local/qtiplot:$$INSTALLBASE:g' \
- -i qtiplot/qtiplot.pro || die
-
- sed \
- -e "/^target.path/s:/usr:${EPREFIX}/usr:g" \
- -i fitPlugins/*/*.pro || die
-
- sed -e '/manual/d' -i qtiplot.pro || die
-
- sed -e "s:QTIPLOT_PRO:QTIPLOT_PROFESSIONAL:g" -i qtiplot/src/core/main.cpp || die
-
- # Drop langs only if LINGUAS is not empty
- if [[ -n ${LINGUAS} ]]; then
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} || \
- sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \
- -i qtiplot/qtiplot.pro || die
- done
- fi
- chmod -x qtiplot/qti_wordlist.txt
-
- # sed out debian paths
- sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \
- -i manual/qtiplot.dsl || die
- sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \
- -i manual/qtiplot_html.xsl || die
-}
-
-src_configure() {
- use amd64 && export QMAKESPEC="linux-g++-64"
- eqmake4
-}
-
-src_compile() {
- emake || die "emake failed"
- lrelease qtiplot/qtiplot.pro || die
- if use doc; then
- cd manual
- emake web || die "html docbook building failed"
- fi
-}
-
-src_install() {
- qt4-r2_src_install
- newicon qtiplot_logo.png qtiplot.png
- make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
- if use doc; then
- insinto /usr/share/doc/${PN}/html
- doins -r manual/html/* || die "install manual failed"
- fi
-
- if [[ -n ${LINGUAS} ]]; then
- insinto /usr/share/${PN}/translations
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} && \
- doins qtiplot/translations/qtiplot_${l}.qm
- done
- fi
-}
-
-pkg_postinst() {
- if use python; then
- elog "You might want to emerge"
- elog "\t dev-python/pygsl"
- elog "\t dev-python/rpy"
- elog "\t sci-libs/scipy and"
- elog "\t dev-python/sympy"
- elog "to gain full python support."
- fi
-
- fdo-mime_desktop_database_update
- use python && python_mod_optimize ${PN}
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- use python && python_mod_cleanup ${PN}
-}
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.7.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.7.ebuild
deleted file mode 100644
index d34a1d16ffa2..000000000000
--- a/sci-visualization/qtiplot/qtiplot-0.9.8.7.ebuild
+++ /dev/null
@@ -1,202 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.7.ebuild,v 1.2 2011/10/06 11:33:01 jlec Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="python? 2"
-
-inherit eutils qt4-r2 fdo-mime python
-
-DESCRIPTION="Qt based clone of the Origin plotting package"
-HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
-SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bindist doc mono latex png python zlib"
-
-LANGS="cn cz de es fr ja ro ru sv"
-for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- IUSE="${IUSE} linguas_${lu}"
-done
-
-# qwtplot3d much modified from original upstream
-# >=x11-libs/qwt-5.3 they are using trunk checkouts
-CDEPEND="
- x11-libs/qt-assistant
- x11-libs/qt-gui
- x11-libs/qt-opengl:4
- x11-libs/qt-qt3support:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 )
- x11-libs/qt-svg:4
- >=x11-libs/gl2ps-1.3.5[png?]
- >=dev-cpp/muParser-1.32
- >=dev-libs/boost-1.35.0
- sci-libs/gsl
- sci-libs/tamu_anova
- latex? ( dev-tex/qtexengine )
- mono? ( dev-dotnet/libgdiplus )
- png? ( media-libs/libpng )
- zlib? ( dev-libs/quazip )"
-DEPEND="${CDEPEND}
- dev-util/pkgconfig
- python? ( >=dev-python/sip-4.9 )
- doc? (
- >=app-text/docbook-sgml-utils-0.6.14-r1
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )"
-
-RDEPEND="${CDEPEND}
- python? ( dev-python/PyQt4[X] )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.7.12-system-gl2ps.patch"
- "${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch"
- "${FILESDIR}/${PN}-0.9.8.6-gold.patch"
- "${FILESDIR}/${P}-kde.patch"
- )
-
-pkg_setup() {
- use python && python_set_active_version 2
-}
-
-src_prepare() {
- local mylibs
-
- qt4-r2_src_prepare
-
- rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/,boost} || die
- sed \
- -e "s:dll:static:g" \
- -e "/INSTALLS/d" \
- -i 3rdparty/qwtplot3d/*.pro
-
- use zlib && mylibs="${mylibs} -lquazip"
- use mono && mylibs="${mylibs} $(pkg-config --libs libgdiplus)"
-
- # Check build.conf for changes on bump.
- cat > build.conf <<-EOF
- # Automatically generated by Gentoo ebuild
- isEmpty( QTI_ROOT ) {
- message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" )
- }
-
- MUPARSER_LIBS = \$\$system(pkg-config --libs muparser)
- GSL_LIBS = \$\$system(pkg-config --libs gsl)
- QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src
- QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
- QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include
- QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a
- SYS_LIBS = -lgl2ps ${mylibs}
-
- PYTHON = python
- LUPDATE = lupdate
- LRELEASE = lrelease
-
- SCRIPTING_LANGS += muParser
-
- CONFIG += release
- CONFIG += CustomInstall
- DEFINES += SCRIPTING_CONSOLE
-
- EOF
-
- use bindist && echo "DEFINES += QTIPLOT_SUPPORT" >> build.conf
- use bindist || echo "DEFINES += QTIPLOT_PRO" >> build.conf
- use python && echo "SCRIPTING_LANGS += Python" >> build.conf
- use latex && echo "TEX_ENGINE_LIBS = -lQTeXEngine" >> build.conf
- use png && echo "LIBPNG_LIBS = -lpng" >> build.conf
- echo "TAMUANOVA_LIBS = -ltamuanova" >> build.conf && \
- echo "TAMUANOVA_INCLUDEPATH = \"${EPREFIX}/usr/include/tamu_anova\"" >> build.conf
-
- sed \
- -e "s:doc/${PN}/manual:doc/${PN}/html:" \
- -e "s:/usr/local/${PN}:${EPREFIX}$(python_get_sitedir)/qtiplot:" \
- -e '/INSTALLS.*documentation/d' \
- -e '/INSTALLS.*manual/d' \
- -e "/INSTALLBASE/s: /usr: ${EPREFIX}/usr:g" \
- -e 's:/usr/local/qtiplot:$$INSTALLBASE:g' \
- -i qtiplot/qtiplot.pro || die
-
- sed \
- -e "/^target.path/s:/usr:${EPREFIX}/usr:g" \
- -i fitPlugins/*/*.pro || die
-
- sed -e '/manual/d' -i qtiplot.pro || die
-
- sed -e "s:QTIPLOT_PRO:QTIPLOT_PROFESSIONAL:g" -i qtiplot/src/core/main.cpp || die
-
- # Drop langs only if LINGUAS is not empty
- if [[ -n ${LINGUAS} ]]; then
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} || \
- sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \
- -i qtiplot/qtiplot.pro || die
- done
- fi
- chmod -x qtiplot/qti_wordlist.txt
-
- # sed out debian paths
- sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \
- -i manual/qtiplot.dsl || die
- sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \
- -i manual/qtiplot_html.xsl || die
-}
-
-src_configure() {
- use amd64 && export QMAKESPEC="linux-g++-64"
- eqmake4
-}
-
-src_compile() {
- emake || die "emake failed"
- lrelease qtiplot/qtiplot.pro || die
- if use doc; then
- cd manual
- emake web || die "html docbook building failed"
- fi
-}
-
-src_install() {
- qt4-r2_src_install
- newicon qtiplot_logo.png qtiplot.png
- make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
- if use doc; then
- insinto /usr/share/doc/${PN}/html
- doins -r manual/html/* || die "install manual failed"
- fi
-
- if [[ -n ${LINGUAS} ]]; then
- insinto /usr/share/${PN}/translations
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} && \
- doins qtiplot/translations/qtiplot_${l}.qm
- done
- fi
-}
-
-pkg_postinst() {
- if use python; then
- elog "You might want to emerge"
- elog "\t dev-python/pygsl"
- elog "\t dev-python/rpy"
- elog "\t sci-libs/scipy and"
- elog "\t dev-python/sympy"
- elog "to gain full python support."
- fi
-
- fdo-mime_desktop_database_update
- use python && python_mod_optimize ${PN}
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- use python && python_mod_cleanup ${PN}
-}
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.8.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.8.ebuild
deleted file mode 100644
index 13629d4c6d92..000000000000
--- a/sci-visualization/qtiplot/qtiplot-0.9.8.8.ebuild
+++ /dev/null
@@ -1,206 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.8.ebuild,v 1.3 2011/10/30 19:33:53 dilfridge Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="python? 2"
-
-inherit eutils qt4-r2 fdo-mime python
-
-DESCRIPTION="Qt based clone of the Origin plotting package"
-HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
-SRC_URI="http://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2"
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bindist doc mono latex python"
-
-LANGS="cn cz de es fr ja ro ru sv"
-for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- IUSE="${IUSE} linguas_${lu}"
-done
-
-# qwtplot3d much modified from original upstream
-# >=x11-libs/qwt-5.3 they are using trunk checkouts
-CDEPEND="
- x11-libs/qt-assistant
- x11-libs/qt-gui
- x11-libs/qt-opengl:4
- x11-libs/qt-qt3support:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 )
- x11-libs/qt-svg:4
- >=x11-libs/gl2ps-1.3.5[png]
- >=dev-cpp/muParser-1.32
- >=dev-libs/boost-1.35.0
- dev-libs/quazip
- media-libs/libpng
- sci-libs/gsl
- sci-libs/tamu_anova
- latex? ( dev-tex/qtexengine )
- mono? ( dev-dotnet/libgdiplus )"
-DEPEND="${CDEPEND}
- dev-util/pkgconfig
- python? ( >=dev-python/sip-4.9 )
- doc? (
- >=app-text/docbook-sgml-utils-0.6.14-r1
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )"
-
-RDEPEND="${CDEPEND}
- python? ( dev-python/PyQt4[X] )"
-
-PATCHES=(
- "${FILESDIR}/${P}-system-gl2ps.patch"
- "${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch"
- "${FILESDIR}/${PN}-0.9.8.6-gold.patch"
- "${FILESDIR}/${PN}-0.9.8.7-kde.patch"
- )
-
-pkg_setup() {
- use python && python_set_active_version 2
-}
-
-src_prepare() {
- local mylibs
-
- qt4-r2_src_prepare
-
- rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/,boost} || die
- sed \
- -e "s:dll:static:g" \
- -e "/INSTALLS/d" \
- -i 3rdparty/qwtplot3d/*.pro
-
- mylibs="${mylibs} -lquazip"
- use mono && mylibs="${mylibs} $(pkg-config --libs libgdiplus)"
-
- # Check build.conf for changes on bump.
- cat > build.conf <<-EOF
- # Automatically generated by Gentoo ebuild
- isEmpty( QTI_ROOT ) {
- message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" )
- }
-
- MUPARSER_LIBS = \$\$system(pkg-config --libs muparser)
- GSL_LIBS = \$\$system(pkg-config --libs gsl)
- QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src
- QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
- QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include
- QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a
- SYS_LIBS = -lgl2ps ${mylibs}
-
- PYTHON = python
- LUPDATE = lupdate
- LRELEASE = lrelease
-
- SCRIPTING_LANGS += muParser
-
- CONFIG += release
- CONFIG += CustomInstall
- DEFINES += SCRIPTING_CONSOLE
-
- EOF
-
- use bindist && echo "DEFINES += QTIPLOT_SUPPORT" >> build.conf
- use bindist || echo "DEFINES += QTIPLOT_PRO" >> build.conf
- use python && echo "SCRIPTING_LANGS += Python" >> build.conf
- use latex && echo "TEX_ENGINE_LIBS = -lQTeXEngine" >> build.conf
- echo "LIBPNG_LIBS = -lpng" >> build.conf
- echo "TAMUANOVA_LIBS = -ltamuanova" >> build.conf && \
- echo "TAMUANOVA_INCLUDEPATH = \"${EPREFIX}/usr/include/tamu_anova\"" >> build.conf
-
- sed \
- -e "s:doc/${PN}/manual:doc/${PN}/html:" \
- -e "s:/usr/local/${PN}:${EPREFIX}$(python_get_sitedir)/qtiplot:" \
- -e '/INSTALLS.*documentation/d' \
- -e '/INSTALLS.*manual/d' \
- -e "/INSTALLBASE/s: /usr: ${EPREFIX}/usr:g" \
- -e 's:/usr/local/qtiplot:$$INSTALLBASE:g' \
- -i qtiplot/qtiplot.pro || die
-
- sed \
- -e "/^target.path/s:/usr:${EPREFIX}/usr:g" \
- -i fitPlugins/*/*.pro || die
-
- sed -e '/manual/d' -i qtiplot.pro || die
-
- sed -e "s:QTIPLOT_PRO:QTIPLOT_PROFESSIONAL:g" -i qtiplot/src/core/main.cpp || die
-
- # Drop langs only if LINGUAS is not empty
- if [[ -n ${LINGUAS} ]]; then
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} || \
- sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \
- -i qtiplot/qtiplot.pro || die
- done
- fi
- chmod -x qtiplot/qti_wordlist.txt
-
- # sed out debian paths
- sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \
- -i manual/qtiplot.dsl || die
- sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \
- -i manual/qtiplot_html.xsl || die
-
- sed \
- -e '1i#define OF(x) x' \
- -i 3rdparty/zlib/minigzip.c || die
-}
-
-src_configure() {
- use amd64 && export QMAKESPEC="linux-g++-64"
- eqmake4
-}
-
-src_compile() {
- emake || die "emake failed"
- lrelease qtiplot/qtiplot.pro || die
- if use doc; then
- cd manual
- emake web || die "html docbook building failed"
- fi
-}
-
-src_install() {
- qt4-r2_src_install
- newicon qtiplot_logo.png qtiplot.png
- make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
- if use doc; then
- insinto /usr/share/doc/${PN}/html
- doins -r manual/html/* || die "install manual failed"
- fi
-
- if [[ -n ${LINGUAS} ]]; then
- insinto /usr/share/${PN}/translations
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} && \
- doins qtiplot/translations/qtiplot_${l}.qm
- done
- fi
-}
-
-pkg_postinst() {
- if use python; then
- elog "You might want to emerge"
- elog "\t dev-python/pygsl"
- elog "\t dev-python/rpy"
- elog "\t sci-libs/scipy and"
- elog "\t dev-python/sympy"
- elog "to gain full python support."
- fi
-
- fdo-mime_desktop_database_update
- use python && python_mod_optimize ${PN}
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- use python && python_mod_cleanup ${PN}
-}