diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-03-27 15:49:57 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-03-27 15:49:57 +0000 |
commit | 7181e654f4de043e93c3fd47b6fe63118e195ad2 (patch) | |
tree | df09acc510f48f2b628abf5cfbe410f02bfb402f /sci-visualization/qtiplot | |
parent | Stabilize for all. (diff) | |
download | gentoo-2-7181e654f4de043e93c3fd47b6fe63118e195ad2.tar.gz gentoo-2-7181e654f4de043e93c3fd47b6fe63118e195ad2.tar.bz2 gentoo-2-7181e654f4de043e93c3fd47b6fe63118e195ad2.zip |
Cleaned old
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/qtiplot')
-rw-r--r-- | sci-visualization/qtiplot/ChangeLog | 7 | ||||
-rw-r--r-- | sci-visualization/qtiplot/qtiplot-0.9.7.14-r1.ebuild | 195 | ||||
-rw-r--r-- | sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild | 217 | ||||
-rw-r--r-- | sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild | 187 | ||||
-rw-r--r-- | sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild | 194 | ||||
-rw-r--r-- | sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild | 203 | ||||
-rw-r--r-- | sci-visualization/qtiplot/qtiplot-0.9.8.7.ebuild | 202 | ||||
-rw-r--r-- | sci-visualization/qtiplot/qtiplot-0.9.8.8.ebuild | 206 |
8 files changed, 6 insertions, 1405 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/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} -} |