diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-03-19 09:50:10 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-03-19 09:50:10 +0000 |
commit | 51bfbf9953a909ab28e94e8593a7aaa6555e9945 (patch) | |
tree | a821eff478065d8a4c426ab0360aea8a141babe1 /sci-visualization | |
parent | Don't filter stack-protector compiler flags, bug 359443. (diff) | |
download | historical-51bfbf9953a909ab28e94e8593a7aaa6555e9945.tar.gz historical-51bfbf9953a909ab28e94e8593a7aaa6555e9945.tar.bz2 historical-51bfbf9953a909ab28e94e8593a7aaa6555e9945.zip |
Version Bump
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/qtiplot/ChangeLog | 8 | ||||
-rw-r--r-- | sci-visualization/qtiplot/Manifest | 11 | ||||
-rw-r--r-- | sci-visualization/qtiplot/files/qtiplot-0.9.8.5-tamuanova.patch | 53 | ||||
-rw-r--r-- | sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild | 194 |
4 files changed, 261 insertions, 5 deletions
diff --git a/sci-visualization/qtiplot/ChangeLog b/sci-visualization/qtiplot/ChangeLog index 214fb783385b..b4c2d469d942 100644 --- a/sci-visualization/qtiplot/ChangeLog +++ b/sci-visualization/qtiplot/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-visualization/qtiplot # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.76 2011/03/05 15:20:52 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.77 2011/03/19 09:50:10 jlec Exp $ + +*qtiplot-0.9.8.5 (19 Mar 2011) + + 19 Mar 2011; Justin Lecher <jlec@gentoo.org> +qtiplot-0.9.8.5.ebuild, + +files/qtiplot-0.9.8.5-tamuanova.patch: + Version Bump *qtiplot-0.9.8.4 (05 Mar 2011) diff --git a/sci-visualization/qtiplot/Manifest b/sci-visualization/qtiplot/Manifest index e0f25aafa3f9..34e255ef9f4e 100644 --- a/sci-visualization/qtiplot/Manifest +++ b/sci-visualization/qtiplot/Manifest @@ -13,20 +13,23 @@ AUX qtiplot-0.9.8.3-odf.patch 606 RMD160 e0d07e047fe9e327fba64cf8d4196ea39c7b269 AUX qtiplot-0.9.8.3-origin.patch 430 RMD160 7c3bfbea5d1c42cf01a59452a9b8551b50dd25d8 SHA1 be444a01cc8674941036dbdc8df770b6f1d3672c SHA256 2e8627245752583d266207515563c112d29a5e417feb7481a651af9a9d73c871 AUX qtiplot-0.9.8.3-plot.patch 502 RMD160 e40109ded4a1a9d2b3a95ed71231b8db509f8d3e SHA1 9d1fb8c4ed2717b327e2fe0dcc88ffa0cd9e8255 SHA256 924b973f3f7ab3e7e0a76cb641a7c832401d52f00333c2033ee8980ffc503af5 AUX qtiplot-0.9.8.3-popup.patch 1892 RMD160 b07794d6b46396ea4df9a7084f01c7c0466dc9e5 SHA1 0bf1d6332e1e2a32880dfd0c753f0ffd8f05e64e SHA256 5c2cebb201408c111494afa7624d0e9d53dcbb2d5dcd2b1f7899af366d73efaf +AUX qtiplot-0.9.8.5-tamuanova.patch 2057 RMD160 2822b0e410bc819e1bc5d0bea7819ba2122117fc SHA1 d46045ac63cdb7735121120054705be5c37f0649 SHA256 ca67848d04c61253ac776adae439a3f1d68095760278d59668900442595eb739 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 EBUILD qtiplot-0.9.7.14-r1.ebuild 5266 RMD160 dda37270380e55ce41764387d0193e93b2bbba81 SHA1 60ca72cace34bb6bb6bdbddc93f5dcff48ac2870 SHA256 eb69b81789638963f55715b2d5c54972580c0279dd066324830231334e1c550f EBUILD qtiplot-0.9.8.2.ebuild 5375 RMD160 70ab10972c0b90fad943b58b4b4a87c7e8fb3b1f SHA1 881a0300d9c77ad5703571b08c2b88d7c9a570f7 SHA256 16f0c7fd8951e88456417125c55e23fb7c2cd5a9ad24f6ea23297707d1557b5a EBUILD qtiplot-0.9.8.3.ebuild 6167 RMD160 f3394e726b85cceed7ac617d523009d132157a66 SHA1 ff47b797ecbd4dfe99160e87abe01da37c988eac SHA256 6d8cb9a6005c99ad5c2011c287331d07dfc66b9d9dd104d4fcf345f1cbcad042 EBUILD qtiplot-0.9.8.4.ebuild 5071 RMD160 3bd6dcbcaa496e626cd1c44f9efd3a2e5e61cbea SHA1 ca6aee98d6c87bc7696d3b28c4ebd7e04c77769e SHA256 9147a247e17c385d36a6a46fa7b9586503dc0bc0d180b779057200a0e2a5d8ae -MISC ChangeLog 18856 RMD160 572927034115ed7614e7e72f34be8ad802364ba2 SHA1 bf82c2a5191a9040e5ab03f222df437d4b42ff29 SHA256 bc9f7be04d8e8df044968a66a8a11d9b05cbc226878b0333e616673e688e0301 +EBUILD qtiplot-0.9.8.5.ebuild 5307 RMD160 72ea71383aad9255d1b91b1a77b6e1af567448a1 SHA1 46624e328366109c8b9ee9a17770b1ca6d36d69d SHA256 0d23912b8757ec12d720753fbd0398407bb8461215a42a115e6a9d4d873f8112 +MISC ChangeLog 19018 RMD160 a9c58f4c6a91aba2d416a89c3448031d7fc555a1 SHA1 4f31b12ea5a791be95a09e09269bfa14bc010cd4 SHA256 1224a58f522efaf62fb715d4c2be0e00da0774236588a2ca52c828dfc61c7728 MISC metadata.xml 989 RMD160 cf1449138cf801f3fc3979c4fe40e3302023d447 SHA1 f0641601108c83fe92a01d46289690f96ecc13c5 SHA256 8bf244a880004c274083ba6ececebe326da0eab799dfee41910044c4ede564ab -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk1yVN0ACgkQgAnW8HDreRaBfQCgkCuUO291dkLs0uzkfXLBEVSh -sloAn1O11T8ZuWJKy1VD/u3v9wHDpNU0 -=BEaH +iEYEARECAAYFAk2EfFgACgkQgAnW8HDreRajIgCgiQwxzXgKIVtemE0uzxqSjSzo +UK4An1NaX2HIXzEmvzaoHk+pFm2MsIbU +=huRN -----END PGP SIGNATURE----- diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.8.5-tamuanova.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.8.5-tamuanova.patch new file mode 100644 index 000000000000..61647be3870e --- /dev/null +++ b/sci-visualization/qtiplot/files/qtiplot-0.9.8.5-tamuanova.patch @@ -0,0 +1,53 @@ +diff --git a/qtiplot/qtiplot.pro b/qtiplot/qtiplot.pro +index 95a5f0c..72e99ab 100755 +--- a/qtiplot/qtiplot.pro ++++ b/qtiplot/qtiplot.pro +@@ -205,18 +205,14 @@ contains(SCRIPTING_LANGS, Python) { + !isEmpty(TAMUANOVA_LIBS) { + DEFINES += HAVE_TAMUANOVA + INCLUDEPATH += $$TAMUANOVA_INCLUDEPATH +- #LIBS += $$TAMUANOVA_LIBS +- +- HEADERS += $$TAMUANOVA_INCLUDEPATH/tamu_anova.h +- SOURCES += $$TAMUANOVA_INCLUDEPATH/anova_1.c +- SOURCES += $$TAMUANOVA_INCLUDEPATH/anova_2.c ++ LIBS += $$TAMUANOVA_LIBS + } + + ############################################################### + + # At the very end: add global include- and lib path +-#unix:INCLUDEPATH += $$SYS_INCLUDEPATH +-#unix:LIBS += $$SYS_LIBS ++unix:INCLUDEPATH += $$SYS_INCLUDEPATH ++unix:LIBS += $$SYS_LIBS + + ############################################################### + ############### Building QtiPlot as a browser plugin ########## +@@ -230,14 +226,15 @@ contains(CONFIG, BrowserPlugin){ + } + + QT += sql +-LIBS += src/plugins/libQtiPlotdBasePlugin.a +-LIBS += src/plugins/libQtiPlotDatabasePlugin.a +-LIBS += src/plugins/libQtiPlotCsvPlugin.a +-LIBS += src/plugins/libQtiPlotTexPlugin.a +-LIBS += src/plugins/libQtiPlotOdsPlugin.a +-LIBS += src/plugins/libQtiPlotExcelPlugin.a +-LIBS += src/plugins/libQtiPlotOriginPlugin.a +-LIBS += src/plugins/libQtiPlotEmfExportPlugin.a +-LIBS += ../3rdparty/quazip/lib/libquazip.a +-LIBS += ../3rdparty/EmfEngine/libEmfEngine.a +-LIBS += -lgdiplus ++#LIBS += src/plugins/libQtiPlotdBasePlugin.a ++#LIBS += src/plugins/libQtiPlotDatabasePlugin.a ++#LIBS += src/plugins/libQtiPlotCsvPlugin.a ++#LIBS += src/plugins/libQtiPlotTexPlugin.a ++#LIBS += src/plugins/libQtiPlotOdsPlugin.a ++#LIBS += src/plugins/libQtiPlotExcelPlugin.a ++#LIBS += src/plugins/libQtiPlotOriginPlugin.a ++#LIBS += src/plugins/libQtiPlotEmfExportPlugin.a ++#LIBS += -lquazip ++#LIBS += ../3rdparty/EmfEngine/libEmfEngine.a ++#LIBS += -lgdiplus ++ diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild new file mode 100644 index 000000000000..5e449803780b --- /dev/null +++ b/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild @@ -0,0 +1,194 @@ +# 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.1 2011/03/19 09:50:10 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 + python_mod_optimize ${PN} +} + +pkg_postrm() { + fdo-mime_desktop_database_update + python_mod_cleanup ${PN} +} |