Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/labplot: ChangeLog labplot-1.6.0.2.ebuild
Date: Sat, 30 Aug 2008 17:03:38
Message-Id: E1KZTrL-0005lX-50@stork.gentoo.org
1 bicatali 08/08/30 17:03:35
2
3 Modified: ChangeLog
4 Added: labplot-1.6.0.2.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.23-gentoo-r9 x86_64)
8
9 Revision Changes Path
10 1.23 sci-visualization/labplot/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/labplot/ChangeLog?rev=1.23&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/labplot/ChangeLog?rev=1.23&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/labplot/ChangeLog?r1=1.22&r2=1.23
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/labplot/ChangeLog,v
19 retrieving revision 1.22
20 retrieving revision 1.23
21 diff -u -r1.22 -r1.23
22 --- ChangeLog 6 Aug 2008 18:52:27 -0000 1.22
23 +++ ChangeLog 30 Aug 2008 17:03:34 -0000 1.23
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sci-visualization/labplot
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/ChangeLog,v 1.22 2008/08/06 18:52:27 ulm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/ChangeLog,v 1.23 2008/08/30 17:03:34 bicatali Exp $
29 +
30 +*labplot-1.6.0.2 (30 Aug 2008)
31 +
32 + 30 Aug 2008; Sébastien Fabbro <bicatali@g.o>
33 + +files/labplot-1.6.0.2-gcc43.patch, +labplot-1.6.0.2.ebuild:
34 + Version bump
35
36 06 Aug 2008; Ulrich Mueller <ulm@g.o> metadata.xml:
37 Add USE flag description to metadata wrt GLEP 56.
38
39
40
41 1.1 sci-visualization/labplot/labplot-1.6.0.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/labplot/labplot-1.6.0.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/labplot/labplot-1.6.0.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: labplot-1.6.0.2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/labplot/labplot-1.6.0.2.ebuild,v 1.1 2008/08/30 17:03:34 bicatali Exp $
51
52 inherit eutils kde multilib
53
54 MY_P="LabPlot-${PV}"
55
56 DESCRIPTION="KDE application for data plotting and function analysis."
57 HOMEPAGE="http://labplot.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
59
60 LICENSE="GPL-2"
61
62 KEYWORDS="~amd64 ~x86"
63 SLOT="0"
64 IUSE="audiofile bindist cdf fftw hdf5 gsl imagemagick jpeg2k kexi
65 netcdf opengl qhull R tiff"
66
67 RDEPEND="media-gfx/pstoedit
68 >=sci-libs/liborigin-20080225
69 virtual/ghostscript
70 gsl? ( bindist? ( <sci-libs/gsl-1.10 ) !bindist? ( sci-libs/gsl ) )
71 audiofile? ( media-libs/audiofile )
72 fftw? ( >=sci-libs/fftw-3 )
73 imagemagick? ( media-gfx/imagemagick )
74 jpeg2k? ( media-libs/jasper )
75 tiff? ( media-libs/tiff )
76 opengl? ( virtual/opengl x11-libs/qwtplot3d-qt3 )
77 kexi? ( || ( app-office/kexi app-office/koffice ) )
78 cdf? ( sci-libs/cdf )
79 netcdf? ( sci-libs/netcdf )
80 hdf5? ( sci-libs/hdf5 )
81 qhull? ( media-libs/qhull )
82 R? ( dev-lang/R )"
83
84 DEPEND="${RDEPEND}"
85 PATCHES="${FILESDIR}/${PN}-1.6.0.1-linkexec.patch
86 ${FILESDIR}/${PN}-1.6.0.1-desktop.patch
87 ${FILESDIR}/${PN}-1.6.0.1-audiofile.patch
88 ${FILESDIR}/${PN}-1.6.0.1-liborigin.patch
89 ${FILESDIR}/${P}-gcc43.patch"
90
91 need-kde 3.5
92
93 S="${WORKDIR}/${MY_P}"
94
95 src_unpack() {
96 kde_src_unpack
97
98 cd "${S}"
99
100 # let's make sure we don't use included libs
101 echo "# Using shared libs!" >| netcdf/netcdf.h
102 echo "# Using shared libs!" >| qwtplot3d/qwt3d_plot.h
103 echo "# Using shared libs!" >| liborigin*/OPJFile.h
104
105 # sed for qwtplot3d, qt3 version (gentoo-specific)
106 # (should be gone when labplot using qt4)
107 sed -i \
108 -e 's:-lqwtplot3d:-lqwtplot3d-qt3:g' \
109 -e 's:include/qwtplot3d:include/qwtplot3d-qt3:g' \
110 -e 's:AC_CHECK_LIB(qwtplot3d,:AC_CHECK_LIB(qwtplot3d-qt3,:' \
111 configure || die
112 }
113
114 src_compile() {
115 export QTDIR="/usr/qt/3"
116 export QWT3D_PATH="/usr"
117 export KEXIDB_DIR="/usr"
118 use R && export R_HOME=/usr/$(get_libdir)/R
119
120 # reasons for disabling options:
121 # - fftw is fftw2, so we prefer fftw3
122 # - texvc external would need mediawiki (big), internal conflicts with it
123 # - ocaml: only used to compile internal texvc
124 # - qsa in portage tree is too buggy
125 # file a bug if you have workarounds
126 local myconf="
127 --disable-fftw
128 --disable-texvc
129 --disable-ocaml
130 --disable-qsa
131 --enable-ps2eps
132 --enable-system-liborigin
133 $(use_enable audiofile)
134 $(use_enable fftw fftw3)
135 $(use_enable gsl)
136 $(use_enable imagemagick ImageMagick)
137 $(use_enable jpeg2k jasper)
138 $(use_enable tiff)
139 $(use_enable kexi KexiDB)
140 $(use_enable cdf)
141 $(use_enable hdf5)
142 $(use_enable netcdf)
143 $(use_enable netcdf system-netcdf)
144 $(use_enable opengl gl)
145 $(use_enable opengl system-qwtplot3d)
146 $(use_enable qhull)
147 $(use_enable R)"
148
149 kde_src_compile
150 }
151
152 src_install() {
153 kde_src_install
154 dodoc BUGS* WISHLIST CHANGES FEATURES \
155 TIPS PLAN CREDITS || die
156 }