diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-08 19:00:50 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-08 19:00:50 +0000 |
commit | ffd9af60e1e7baf35e99d95a265e517211809d87 (patch) | |
tree | d3a81eb63e45d0231088b85cb8b98c13ab319645 /sci-visualization | |
parent | Added USE=livecd to skip the message displayed by hwsetup, since it isn't nec... (diff) | |
download | historical-ffd9af60e1e7baf35e99d95a265e517211809d87.tar.gz historical-ffd9af60e1e7baf35e99d95a265e517211809d87.tar.bz2 historical-ffd9af60e1e7baf35e99d95a265e517211809d87.zip |
Version bump. Rewrite ebuild to take care of extra dependencies, some comments.
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/labplot/ChangeLog | 12 | ||||
-rw-r--r-- | sci-visualization/labplot/Manifest | 22 | ||||
-rw-r--r-- | sci-visualization/labplot/files/labplot-1.6.0.1-desktop.patch | 11 | ||||
-rw-r--r-- | sci-visualization/labplot/files/labplot-1.6.0.1-linkexec.patch | 11 | ||||
-rw-r--r-- | sci-visualization/labplot/labplot-1.5.1.5.ebuild | 79 | ||||
-rw-r--r-- | sci-visualization/labplot/labplot-1.5.1.6-r1.ebuild | 24 | ||||
-rw-r--r-- | sci-visualization/labplot/labplot-1.6.0.1.ebuild | 105 | ||||
-rw-r--r-- | sci-visualization/labplot/metadata.xml | 6 |
8 files changed, 168 insertions, 102 deletions
diff --git a/sci-visualization/labplot/ChangeLog b/sci-visualization/labplot/ChangeLog index bb3c0ef3595a..0738c8b33336 100644 --- a/sci-visualization/labplot/ChangeLog +++ b/sci-visualization/labplot/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-visualization/labplot -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/ChangeLog,v 1.15 2007/11/28 23:34:56 bicatali Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/ChangeLog,v 1.16 2008/02/08 19:00:49 bicatali Exp $ + +*labplot-1.6.0.1 (08 Feb 2008) + + 08 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/labplot-1.6.0.1-desktop.patch, + +files/labplot-1.6.0.1-linkexec.patch, metadata.xml, + labplot-1.5.1.6-r1.ebuild, +labplot-1.6.0.1.ebuild: + Version bump. Rewrite ebuild to take care of extra dependencies, some comments. *labplot-1.5.1.6-r1 (28 Nov 2007) diff --git a/sci-visualization/labplot/Manifest b/sci-visualization/labplot/Manifest index a2ada3ec5581..5eaa72c59723 100644 --- a/sci-visualization/labplot/Manifest +++ b/sci-visualization/labplot/Manifest @@ -1,8 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX labplot-1.6.0.1-desktop.patch 442 RMD160 dec6df3265e0b7af3b316ae56dad59ab120a9261 SHA1 971854e5f52001d5132ce878cf0539b0194fb783 SHA256 c1e55938ceb71b9914a92d43e027918f41f4cdba3273e821cced1922770d10a4 +AUX labplot-1.6.0.1-linkexec.patch 388 RMD160 b220c747429d5492290df3f46618289af9249a05 SHA1 90cc26d566a6c893e318b7d171f1e925f4f5b314 SHA256 d0923c39ebc3401be7ecbf59c3a350e9aaa0ed94677a8c53315b532fc1ef2e67 DIST LabPlot-1.5.1.tar.gz 10733976 RMD160 404fe6f2c39685ed6b336c71dff3d549b3f4faa4 SHA1 854ab974d12d1441cfdb3b5cc94df5d1fd1f5684 SHA256 25f17e55e3483db33601c10ec292a77de627e7eca2effbd3a77942538a6cbfde -DIST LabPlot-1.5.1_1.5.1.5.diff.gz 233161 RMD160 4183272ec66ab4fbff8e642076895ba5a989e72a SHA1 5d44944b7c56d0af7de638edd32c7ce040665d36 SHA256 e1dbca7e4b9b84d1a6300ef926545571969cfcb8ffb38f9ba07d4ccad97faebf DIST LabPlot-1.5.1_1.5.1.6.diff.gz 236338 RMD160 1439f4cb2d19c77e98b721c893e371b75389100e SHA1 194373ef94d1bbba78118f9a0d8898e607f80a6f SHA256 82a3868145b15ce501c62bd647ccad9871b712a6cb00b7397214d1e22ae0ea4f -EBUILD labplot-1.5.1.5.ebuild 2234 RMD160 50ff4519791b40a362d84f71e09b276b9624d312 SHA1 aa30176c92611c8a5b951edc277defc8d0ff7699 SHA256 edad1968e76080f6e3c7b61ac62725767587bcc6afeb4575804bc245df71af25 -EBUILD labplot-1.5.1.6-r1.ebuild 2647 RMD160 db6386e250081a38106168619ad9a9535a7bf674 SHA1 97c81e3005885075aaec128ed243441df0ba670c SHA256 ee99c511adf267507709f988ff2b1674b43b7a81db5a96499dd655c56cdf0a2c +DIST LabPlot-1.6.0.1.tar.gz 221544 RMD160 d12cefde24356ab281d84696674c2c482d27be52 SHA1 1cb1a2dff1788c532b32b815cdefbcea19570dea SHA256 03a0cec37b4a73d76b3accd45557d1070f2dd476c8f5a66ba67aa5eca37634d7 +EBUILD labplot-1.5.1.6-r1.ebuild 2433 RMD160 b2f2e9e6ce8fdfe92fcb71fc806ca5761ada2cf5 SHA1 96d4d71242079a810cfe6e3b2cd74f1f8bc088cf SHA256 df5187849acca0efa8dde7fb47f6d0210c9743a3ad173b5f9982255f5688dd2c EBUILD labplot-1.5.1.6.ebuild 2497 RMD160 ff86b267874baa27ea7d3b6ec56c235d5d2ff9c1 SHA1 9f8c1061ff95ee339b0d5c3cd76aa6082b3517ad SHA256 4a28f06850769d3ddef4d66a754c611d0161c2622988079e4e7cd8ade80b8316 -MISC ChangeLog 4749 RMD160 3dedfb53627c1ec11b009f9aa9b3194ea384a950 SHA1 1ba33a0224cceec5b7ea7a0022193503d9490c34 SHA256 3ceb2f78323c85905055397d9b983aea7b364e9ef3f104c15d98303ea41fe062 -MISC metadata.xml 173 RMD160 2c44d67bec5e1a71d69b0d047235439817109d99 SHA1 ed014e13b4663db94fbe01400a2b9d615ffe6447 SHA256 54c85281e6ed7a935800439f474ea006370b24c1fe3e821ee57f17f02f714785 +EBUILD labplot-1.6.0.1.ebuild 2860 RMD160 7cff9717356e7d0be94520814d107c0c531ff700 SHA1 e245dd09c0fe3bcfe373bbc0a2f8a58049664b8f SHA256 36045106b18b4ebfe6900f03dbed2592bffccf185b353d3db7a58b08b41f7c8a +MISC ChangeLog 5068 RMD160 a6dc48b89def31db7fae21645a92b396dd8aad61 SHA1 53e9e485ae08efe687924ef14639b5863c069d41 SHA256 065a0ad58d9cc8e7abd43321509d02e61d0e7f301df7392a660fae2e95a500ee +MISC metadata.xml 469 RMD160 5afbc4d35d6e77f6297ac4bbcbca2ac380ea840d SHA1 efdb8b43050f290eca28afb7f1acde3e18594691 SHA256 3caf0d19109b8b58f57165fc108f9dfe17ff0ea65059000806f5219acf677b58 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHrKbr1ycZbhPLE2ARAu2cAKCa51+Vcsothl9gSns6lCLHZQkwpwCeIr7F +ETfqUbg+ub1q/sZ0qYQPNz4= +=mQVu +-----END PGP SIGNATURE----- diff --git a/sci-visualization/labplot/files/labplot-1.6.0.1-desktop.patch b/sci-visualization/labplot/files/labplot-1.6.0.1-desktop.patch new file mode 100644 index 000000000000..f17240a80489 --- /dev/null +++ b/sci-visualization/labplot/files/labplot-1.6.0.1-desktop.patch @@ -0,0 +1,11 @@ +--- src/LabPlot.desktop.orig 2008-02-08 13:09:35.000000000 +0000 ++++ src/LabPlot.desktop 2008-02-08 13:09:56.000000000 +0000 +@@ -8,7 +8,7 @@ + Comment=An application for plotting of data sets and functions + Comment[de]=Ein Programm zum Plotten von Daten und Funktionen + Comment[pl]=Program do wykreślania funkcji oraz manipulacji na danych +-Terminal=yes ++Terminal=true + Name=LabPlot + MimeType=application/x-LabPlot-plot; + #Protocols=file;ftp diff --git a/sci-visualization/labplot/files/labplot-1.6.0.1-linkexec.patch b/sci-visualization/labplot/files/labplot-1.6.0.1-linkexec.patch new file mode 100644 index 000000000000..eb378328d384 --- /dev/null +++ b/sci-visualization/labplot/files/labplot-1.6.0.1-linkexec.patch @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig 2008-02-08 18:17:53.000000000 +0000 ++++ src/Makefile.in 2008-02-08 18:41:48.000000000 +0000 +@@ -1144,7 +1144,7 @@ + $(YACC) parser.y + mv y.tab.c $@ + +-install-data-local: ++install-data-local: install-binPROGRAMS + rm -rf $(DESTDIR)$(kde_bindir)/labplot + if ! test -e $(DESTDIR)/$(kde_bindir)/labplot; then \ + ln -fs LabPlot $(DESTDIR)$(kde_bindir)/labplot; \ diff --git a/sci-visualization/labplot/labplot-1.5.1.5.ebuild b/sci-visualization/labplot/labplot-1.5.1.5.ebuild deleted file mode 100644 index fcd0684d52a4..000000000000 --- a/sci-visualization/labplot/labplot-1.5.1.5.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/labplot-1.5.1.5.ebuild,v 1.5 2007/11/28 23:34:56 bicatali Exp $ - -inherit eutils kde - -PV_BUGFIX="${PV/?.?.?/}" -MY_PV="${PV%${PV_BUGFIX}}" -MY_P="LabPlot-${MY_PV}" -S="${WORKDIR}/${MY_P}" - -BUGFIX="LabPlot-${MY_PV}_${PV}.diff" - -DESCRIPTION="LabPlot is a KDE application for data plotting and function analysis." -HOMEPAGE="http://labplot.sourceforge.net/" -SRC_URI="mirror://sourceforge/labplot/${MY_P}.tar.gz" -[[ -n PV_BUGFIX ]] && SRC_URI="${SRC_URI} mirror://sourceforge/labplot/${BUGFIX}.gz" - -LICENSE="GPL-2" - -KEYWORDS="~x86 ~amd64" -SLOT="0" -IUSE="cdf fftw imagemagick jpeg2k kexi opengl tiff" - -DEPEND=">=sci-libs/gsl-1.6 - sci-libs/netcdf - virtual/ghostscript - <x11-libs/qwtplot3d-0.2.7 - media-libs/audiofile - fftw? ( >=sci-libs/fftw-3 ) - imagemagick? ( >=media-gfx/imagemagick-5.5.6-r1 ) - jpeg2k? ( >=media-libs/jasper-1.700.5-r1 ) - tiff? ( >=media-libs/tiff-3.5.5 ) - opengl? ( virtual/opengl ) - kexi? ( || ( app-office/kexi app-office/koffice ) ) - !amd64? ( cdf? ( sci-libs/cdf ) - >=media-gfx/pstoedit-3.33 ) - !sci-libs/liborigin" - -RDEPEND="${DEPEND}" - -need-kde 3.5 - -[[ -n PV_BUGFIX ]] && PATCHES="${WORKDIR}/${BUGFIX}" - -src_unpack() { - kde_src_unpack - # let's make sure we don't use included libs - echo "# Using shared libs!" >| netcdf/netcdf.h - echo "# Using shared libs!" >| qwtplot3d/qwt3d_plot.h - echo "# Using shared libs!" >| audiofile/audiofile.h -} - -src_compile() { - export QTDIR="/usr/qt/3" - export QWT3D_PATH="/usr" - export KEXIDB_DIR="/usr" - - # texvc not in Portage and I'm not keen maintaining it - # qsa ebuilds in bad shape atm. - local myconf="--disable-fftw --enable-gsl --enable-ps2eps \ - --disable-texvc --disable-ocaml --enable-netcdf --enable-audiofile \ - --enable-system-qwtplot3d --enable-libundo --disable-qsa" - - if use amd64; then - myconf="${myconf} --disable-cdf" - else - myconf="${myconf} $(use_enable cdf)" - fi - - local myconf="${myconf} \ - $(use_enable fftw fftw3) \ - $(use_enable imagemagick ImageMagick) \ - $(use_enable jpeg2k jasper) \ - $(use_enable tiff) \ - $(use_enable kexi KexiDB) \ - $(use_enable opengl)" - kde_src_compile -} diff --git a/sci-visualization/labplot/labplot-1.5.1.6-r1.ebuild b/sci-visualization/labplot/labplot-1.5.1.6-r1.ebuild index c133b49d531b..f4921fa54365 100644 --- a/sci-visualization/labplot/labplot-1.5.1.6-r1.ebuild +++ b/sci-visualization/labplot/labplot-1.5.1.6-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/labplot-1.5.1.6-r1.ebuild,v 1.1 2007/11/28 23:34:56 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/labplot-1.5.1.6-r1.ebuild,v 1.2 2008/02/08 19:00:49 bicatali Exp $ inherit eutils kde @@ -20,11 +20,13 @@ LICENSE="GPL-2" KEYWORDS="~x86 ~amd64" SLOT="0" -IUSE="cdf fftw imagemagick jpeg2k kexi opengl tiff" +IUSE="bindist cdf fftw imagemagick jpeg2k kexi opengl tiff" -DEPEND="sci-libs/gsl +DEPEND="bindist? ( <sci-libs/gsl-1.10 ) + !bindist? ( sci-libs/gsl ) media-gfx/pstoedit sci-libs/netcdf + sci-libs/liborigin virtual/ghostscript x11-libs/qwtplot3d-qt3 media-libs/audiofile @@ -44,13 +46,14 @@ need-kde 3.5 src_unpack() { kde_src_unpack + # let's make sure we don't use included libs echo "# Using shared libs!" >| netcdf/netcdf.h echo "# Using shared libs!" >| qwtplot3d/qwt3d_plot.h echo "# Using shared libs!" >| audiofile/audiofile.h # sed for qwtplot3d, qt3 version (gentoo-specific) - # (gone in versions > 1.6.0, with qt4) + # (gone in versions > 2.0, with qt4) sed -i \ -e 's:-lqwtplot3d:-lqwtplot3d-qt3:g' \ -e 's:include/qwtplot3d:include/qwtplot3d-qt3:g' \ @@ -79,14 +82,3 @@ src_compile() { $(use_enable cdf)" kde_src_compile } - -src_install() { - kde_src_install - mv "${D}"/usr/bin/opj2dat "${D}"/usr/bin/LabPlot-opj2dat -} - -pkg_postinst() { - kde_pkg_postinst - elog "Please notice that /usr/bin/opj2dat conflicts with the one installed by" - elog "sci-libs/liborigin and has therefore be renamed to LabPlot-opj2dat." -} diff --git a/sci-visualization/labplot/labplot-1.6.0.1.ebuild b/sci-visualization/labplot/labplot-1.6.0.1.ebuild new file mode 100644 index 000000000000..4506f7f49122 --- /dev/null +++ b/sci-visualization/labplot/labplot-1.6.0.1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/labplot-1.6.0.1.ebuild,v 1.1 2008/02/08 19:00:49 bicatali Exp $ + +inherit eutils kde multilib + +MY_P="LabPlot-${PV}" + +DESCRIPTION="KDE application for data plotting and function analysis." +HOMEPAGE="http://labplot.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="audiofile bindist cdf fftw hdf5 gsl imagemagick jpeg2k kexi + netcdf opengl qhull R tiff" + +RDEPEND="media-gfx/pstoedit + sci-libs/liborigin + virtual/ghostscript + gsl? ( bindist? ( <sci-libs/gsl-1.10 ) !bindist? ( sci-libs/gsl ) ) + audiofile? ( media-libs/audiofile ) + fftw? ( >=sci-libs/fftw-3 ) + imagemagick? ( media-gfx/imagemagick ) + jpeg2k? ( media-libs/jasper ) + tiff? ( media-libs/tiff ) + opengl? ( virtual/opengl x11-libs/qwtplot3d-qt3 ) + kexi? ( || ( app-office/kexi app-office/koffice ) ) + cdf? ( sci-libs/cdf ) + netcdf? ( sci-libs/netcdf ) + hdf5? ( sci-libs/hdf5 ) + qhull? ( media-libs/qhull ) + R? ( dev-lang/R )" + +DEPEND="${RDEPEND}" +PATCHES="${FILESDIR}/${P}-linkexec.patch ${FILESDIR}/${P}-desktop.patch" + +need-kde 3.5 + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + kde_src_unpack + + cd "${S}" + # let's make sure we don't use included libs + echo "# Using shared libs!" >| netcdf/netcdf.h + echo "# Using shared libs!" >| qwtplot3d/qwt3d_plot.h + echo "# Using shared libs!" >| liborigin*/OPJFile.h + + # sed for qwtplot3d, qt3 version (gentoo-specific) + # (should be gone when labplot using qt4) + sed -i \ + -e 's:-lqwtplot3d:-lqwtplot3d-qt3:g' \ + -e 's:include/qwtplot3d:include/qwtplot3d-qt3:g' \ + -e 's:AC_CHECK_LIB(qwtplot3d,:AC_CHECK_LIB(qwtplot3d-qt3,:' \ + configure || die +} + +src_compile() { + export QTDIR="/usr/qt/3" + export QWT3D_PATH="/usr" + export KEXIDB_DIR="/usr" + use R && export R_HOME=/usr/$(get_libdir)/R + + # reasons for disabling options: + # - fftw is fftw2, so we prefer fftw3 + # - texvc external would need mediawiki (big), internal conflicts with it + # - ocaml: only used to compile internal texvc + # - qsa in portage tree is too buggy + # file a bug if you have workarounds + local myconf=" + --disable-fftw + --disable-texvc + --disable-ocaml + --disable-qsa + --enable-ps2eps + --enable-system-liborigin + $(use_enable audiofile) + $(use_enable fftw fftw3) + $(use_enable gsl) + $(use_enable imagemagick ImageMagick) + $(use_enable jpeg2k jasper) + $(use_enable tiff) + $(use_enable kexi KexiDB) + $(use_enable cdf) + $(use_enable hdf5) + $(use_enable netcdf) + $(use_enable netcdf system-netcdf) + $(use_enable opengl gl) + $(use_enable opengl system-qwtplot3d) + $(use_enable qhull) + $(use_enable R)" + + kde_src_compile +} + + +src_install() { + kde_src_install + dodoc BUGS* WISHLIST CHANGES FEATURES \ + TIPS PLAN CREDITS || die +} diff --git a/sci-visualization/labplot/metadata.xml b/sci-visualization/labplot/metadata.xml index adaba9a99949..b8f098d464ce 100644 --- a/sci-visualization/labplot/metadata.xml +++ b/sci-visualization/labplot/metadata.xml @@ -3,4 +3,10 @@ <pkgmetadata> <herd>sci</herd> <herd>kde</herd> +<longdescription lang="en"> + LabPlot is for scientific 2D and 3D data and function plotting. The + various display and analysis functions are explained in the handbook + (KDE help center). LabPlot also provides a component for easily + viewing the project files in Konqueror. +</longdescription> </pkgmetadata> |