diff options
author | Markus Dittrich <markusle@gentoo.org> | 2006-04-25 14:32:04 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2006-04-25 14:32:04 +0000 |
commit | 0c521fc5f70507d8b339c866a85fb3260495ab06 (patch) | |
tree | b83f3e10267e76e90e3bb568d366177ee0af2ef4 /sci-mathematics | |
parent | Version bump (bug #131131). (diff) | |
download | historical-0c521fc5f70507d8b339c866a85fb3260495ab06.tar.gz historical-0c521fc5f70507d8b339c866a85fb3260495ab06.tar.bz2 historical-0c521fc5f70507d8b339c866a85fb3260495ab06.zip |
Revision bump (see bug #117490). Currently package masked for furter testing.
Package-Manager: portage-2.1_pre9-r4
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/scilab/ChangeLog | 9 | ||||
-rw-r--r-- | sci-mathematics/scilab/Manifest | 20 | ||||
-rw-r--r-- | sci-mathematics/scilab/files/digest-scilab-4.0 | 3 | ||||
-rw-r--r-- | sci-mathematics/scilab/files/scilab-4.0-makefile.patch | 43 | ||||
-rw-r--r-- | sci-mathematics/scilab/scilab-4.0.ebuild | 124 |
5 files changed, 194 insertions, 5 deletions
diff --git a/sci-mathematics/scilab/ChangeLog b/sci-mathematics/scilab/ChangeLog index c64b0a348c42..7e8230c48066 100644 --- a/sci-mathematics/scilab/ChangeLog +++ b/sci-mathematics/scilab/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-mathematics/scilab # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/ChangeLog,v 1.18 2006/04/25 13:51:34 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/ChangeLog,v 1.19 2006/04/25 14:32:04 markusle Exp $ + +*scilab-4.0 (25 Apr 2006) + + 25 Apr 2006; Markus Dittrich <markusle@gentoo.org> + +files/scilab-4.0-makefile.patch, +scilab-4.0.ebuild: + Revision bump (see bug #117490). Currently package masked for + furter testing. 25 Apr 2006; Markus Dittrich <markusle@gentoo.org> scilab-2.7-r3.ebuild: Removed virtual/x11 since all necessary X dependencies are being diff --git a/sci-mathematics/scilab/Manifest b/sci-mathematics/scilab/Manifest index b448389e271f..eff19ed8ddef 100644 --- a/sci-mathematics/scilab/Manifest +++ b/sci-mathematics/scilab/Manifest @@ -6,9 +6,14 @@ AUX scilab-2.7-configure.patch 1702 RMD160 383c8f869eef79214bff028ddef71de53c711 MD5 814dd511c89a14982a5d6c60b09c1709 files/scilab-2.7-configure.patch 1702 RMD160 383c8f869eef79214bff028ddef71de53c71142d files/scilab-2.7-configure.patch 1702 SHA256 5182d4c4177dd088289b828d2a2f5da4b1118937b0a50949c92988fa34bdb4eb files/scilab-2.7-configure.patch 1702 +AUX scilab-4.0-makefile.patch 1190 RMD160 62627b2736ccf8ad7e56f11331bdb8540c5c0ced SHA1 bbff9699c62ee624848e6cd6e1f74d66c7a9d4d8 SHA256 6f552482a5933103133b1e9245166a6d23478fffe57cccac2166f2889cff140f size 1190 +MD5 49fb9cb0862b4d8eceb2b45fb1abde18 files/scilab-4.0-makefile.patch 1190 +RMD160 62627b2736ccf8ad7e56f11331bdb8540c5c0ced files/scilab-4.0-makefile.patch 1190 +SHA256 6f552482a5933103133b1e9245166a6d23478fffe57cccac2166f2889cff140f files/scilab-4.0-makefile.patch 1190 DIST patch_browsehelp.tar.gz 622246 RMD160 74a7dbe2c01968c93e77d8dbfd4cb9c95deabc44 SHA256 b7651e6b3d33738f8fa902238f8f06b2b35bdf092b0e94ae115b26e6ea81e7cb size 622246 DIST scilab-2.7.src.tar.gz 9510676 RMD160 80c346d102463f618336b2a1775ff27dcb4ef9a4 SHA256 45b06effc295b39cb05b8ecf342ab3f2b0c4a860fb0b1f482cd977bcb8f44607 size 9510676 DIST scilab-3.1.1-src.tar.gz 14261772 RMD160 363486c6c9d1e64a28edcd002651e3c9d3b1eb73 SHA256 1d75ec6b9e26216b69c31a4cb648a1e7d6045e3f1305019491cc3e1846ca60e8 size 14261772 +DIST scilab-4.0-src.tar.gz 12523941 RMD160 13e8637b0793650b0dd2ae07ccaa6bbbff62375c SHA256 e0f0e784909020c34c4512cf34f946373950cb5f8ee5499a16af73880189d41d size 12523941 EBUILD scilab-2.7-r3.ebuild 4015 RMD160 a5fb2cda3a381fdad457f356473c47b4f88dec57 SHA1 03d9b0a3912d65cc8801ce636115d314abd386ef SHA256 bba6949a2b99a14865eee0f9a8fad6d52960e0cf03fe2e43471ac736d7364038 size 4015 MD5 a818bf30113e5997c18765bf83ae69ec scilab-2.7-r3.ebuild 4015 RMD160 a5fb2cda3a381fdad457f356473c47b4f88dec57 scilab-2.7-r3.ebuild 4015 @@ -17,10 +22,14 @@ EBUILD scilab-3.1.1-r3.ebuild 4876 RMD160 61a58eae2dff32abab4e07a5f0049d7234bc8e MD5 88fe35577e6d544b620686c4cca653e9 scilab-3.1.1-r3.ebuild 4876 RMD160 61a58eae2dff32abab4e07a5f0049d7234bc8e76 scilab-3.1.1-r3.ebuild 4876 SHA256 7fdc8b7a28ea71b962d503ab8125241ed7e3ceb531cab4b1d3329510e911c03e scilab-3.1.1-r3.ebuild 4876 -MISC ChangeLog 6628 RMD160 005b1a3ec0676c0c663aca9986e8ecc9ffe98a4b SHA1 9d63b42def085185c2eff9c8dc592897277b4859 SHA256 1dda9e13c93878a08f73e9125dab0ad709c9804b95f6692072fbc2cec3c55667 size 6628 -MD5 1089e53200dfa9b4a42e022396a08734 ChangeLog 6628 -RMD160 005b1a3ec0676c0c663aca9986e8ecc9ffe98a4b ChangeLog 6628 -SHA256 1dda9e13c93878a08f73e9125dab0ad709c9804b95f6692072fbc2cec3c55667 ChangeLog 6628 +EBUILD scilab-4.0.ebuild 3417 RMD160 2c0836379d3ff5c4c765828cbf23139fd3bdaf26 SHA1 d959e31c616e1af4858a3d1da270288b1f8d6fbb SHA256 d2b5352bdbc098a057e80224384c53937e5f16ac6c07671a31d9184a79806795 size 3417 +MD5 221f14005046d9d295d9c98c2615ceb4 scilab-4.0.ebuild 3417 +RMD160 2c0836379d3ff5c4c765828cbf23139fd3bdaf26 scilab-4.0.ebuild 3417 +SHA256 d2b5352bdbc098a057e80224384c53937e5f16ac6c07671a31d9184a79806795 scilab-4.0.ebuild 3417 +MISC ChangeLog 6847 RMD160 b332694985152194e8e0005195f540c9bbf43460 SHA1 5946fa5ea7ba012893043efdbe71662110c215f3 SHA256 0c2609d0b108469f96ddfff22e45ce27e02682c5d291bcbe52f54298424eabeb size 6847 +MD5 b65a2bd913a29144531d75de84534907 ChangeLog 6847 +RMD160 b332694985152194e8e0005195f540c9bbf43460 ChangeLog 6847 +SHA256 0c2609d0b108469f96ddfff22e45ce27e02682c5d291bcbe52f54298424eabeb ChangeLog 6847 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 size 156 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 @@ -31,3 +40,6 @@ SHA256 21c9e3bba7ca06b5007344d96430c760667f2754c131bae71eb1217ebfa2e02f files/di MD5 a91563a80250e5ce4df87a757e216530 files/digest-scilab-3.1.1-r3 256 RMD160 7b1c31fd9395fc372fb61364ddf5067c4b0bb550 files/digest-scilab-3.1.1-r3 256 SHA256 ed24da059537820af8919172ca3fb5f378039f30a02fdc870fa36967cfdd8ca4 files/digest-scilab-3.1.1-r3 256 +MD5 942cb58288349d75fab903ad93a89e78 files/digest-scilab-4.0 250 +RMD160 f4ee6ebd8218d59dd40f0a904b4dcfd5170a54a4 files/digest-scilab-4.0 250 +SHA256 f0a3368ccf9db2d8654c3f0b5ec04a19b9ecabba49457d9f604f18293525b708 files/digest-scilab-4.0 250 diff --git a/sci-mathematics/scilab/files/digest-scilab-4.0 b/sci-mathematics/scilab/files/digest-scilab-4.0 new file mode 100644 index 000000000000..b1e8cc22071d --- /dev/null +++ b/sci-mathematics/scilab/files/digest-scilab-4.0 @@ -0,0 +1,3 @@ +MD5 26e1c1480453bb1021bcea3ac412ad19 scilab-4.0-src.tar.gz 12523941 +RMD160 13e8637b0793650b0dd2ae07ccaa6bbbff62375c scilab-4.0-src.tar.gz 12523941 +SHA256 e0f0e784909020c34c4512cf34f946373950cb5f8ee5499a16af73880189d41d scilab-4.0-src.tar.gz 12523941 diff --git a/sci-mathematics/scilab/files/scilab-4.0-makefile.patch b/sci-mathematics/scilab/files/scilab-4.0-makefile.patch new file mode 100644 index 000000000000..99a6f731dc90 --- /dev/null +++ b/sci-mathematics/scilab/files/scilab-4.0-makefile.patch @@ -0,0 +1,43 @@ +--- scilab-4.0-old/Makefile.in 2006-02-14 06:14:22.000000000 -0600 ++++ scilab-4.0/Makefile.in 2006-04-23 10:09:01.000000000 -0500 +@@ -206,28 +206,12 @@ + pvm3/bin/@PVMARCH@/* + + INSTBINDISTFILES = \ +- .pvmd.conf \ +- ACKNOWLEDGEMENTS \ +- CHANGES \ +- Makefile \ +- Makefile.OBJ \ +- Makefile.incl \ +- Makemex \ +- Path.incl \ +- README_Unix \ +- Version.incl \ +- configure \ +- libtool \ +- license.txt \ +- licence.txt \ + scilab.quit \ + scilab.star \ + X11_defaults \ + bin \ +- config \ + contrib \ + demos \ +- examples \ + imp/NperiPos.ps \ + imp/giffonts \ + macros \ +@@ -261,11 +245,7 @@ + @if test `pwd`/.. != $(PREFIX)/lib ; then \ + install -d $(PREFIX)/lib/$(SCIBASE); \ + ( for file in $(INSTBINDISTFILES) @PVMINST1@; do tar cf - $${file} | (cd $(PREFIX)/lib/$(SCIBASE); tar xf -); done); \ +- (cd $(PREFIX)/lib/$(SCIBASE);touch .binary; make postinstall PREFIX=$(PREFIX) ) \ + fi +- install -d $(PREFIX)/share/doc/$(DOCNAME)/ +- install ACKNOWLEDGEMENTS CHANGES README_Unix Version.incl \ +- licence.txt license.txt $(PREFIX)/share/doc/$(DOCNAME) + install -d $(PREFIX)/bin + $(RM) $(PREFIX)/bin/scilab + ln -fs $(PREFIX)/lib/$(SCIBASE)/bin/scilab $(PREFIX)/bin/scilab diff --git a/sci-mathematics/scilab/scilab-4.0.ebuild b/sci-mathematics/scilab/scilab-4.0.ebuild new file mode 100644 index 000000000000..eb3585a228fb --- /dev/null +++ b/sci-mathematics/scilab/scilab-4.0.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/scilab-4.0.ebuild,v 1.1 2006/04/25 14:32:04 markusle Exp $ + +inherit eutils fortran toolchain-funcs multilib + +DESCRIPTION="Scientific software package for numerical computations (Matlab lookalike)" +LICENSE="scilab" +SRC_URI="http://scilabsoft.inria.fr/download/stable/${P}-src.tar.gz" +HOMEPAGE="http://www.scilab.org/" + +SLOT="0" +IUSE="ocaml tcltk gtk Xaw3d java" +KEYWORDS="~x86 ~ppc" + +RDEPEND="virtual/blas + virtual/lapack + sys-libs/ncurses + gtk? ( + media-libs/jpeg + media-libs/libpng + sys-libs/zlib + >=x11-libs/gtk+-2 + >=x11-libs/libzvt-2 + x11-libs/vte + =gnome-extra/gtkhtml-2* + ) + tcltk? ( >=dev-lang/tk-8.4 + >=dev-lang/tcl-8.4 ) + Xaw3d? ( x11-libs/Xaw3d ) + ocaml? ( dev-lang/ocaml )" + +DEPEND="${RDEPEND} + app-text/sablotron" + +pkg_setup() { + if ! use gtk && ! use tcltk; then + echo + eerror 'scilab must be built with either USE="gtk" or USE="tcltk"' + die + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-makefile.patch + + sed -e '/^ATLAS_LAPACKBLAS\>/s,=.*,= $(ATLASDIR)/liblapack.so $(ATLASDIR)/libblas.so $(ATLASDIR)/libcblas.so,' \ + -e 's,$(SCIDIR)/libs/lapack.a,,' \ + -i Makefile.OBJ.in || die "Failed to fix Makefile.OBJ.in" + + sed -e "s:\$(PREFIX):\${D}/\$(PREFIX):g" \ + -i Makefile.in || die "Failed to fix Makefile.in" + + sed -e "s:@CC_OPTIONS@:${CFLAGS}:" \ + -e "s:@FC_OPTIONS@:${FFLAGS}:" \ + -e "s:@LD_LDFLAGS@:$LDFLAGS}:" \ + -i Makefile.incl.in || die "Failed to fix Makefile.incl.in" +} + +src_compile() { + local myopts + myopts="${myopts} --with-atlas-library=/usr/$(get_libdir)" + + econf $(use_with tcltk tk) \ + $(use_with Xaw3d xaw3d) \ + $(use_with gtk gtk2 ) \ + $(use_with ocaml) \ + $(use_with java ) \ + ${myopts} || die "econf failed" + env HOME="${S}" emake all || die "emake failed" +} + +src_install() { + DESTDIR="${D}" make install || die "installation failed" + + # some postinstall fixes + echo "SCIDIR=/usr/$(get_libdir)/${P}" > \ + "${D}/usr/$(get_libdir)/${P}/Path.incl" + strip "${D}/usr/$(get_libdir)/${P}/bin/scilex" + + # install docs + dodoc ACKNOWLEDGEMENTS CHANGES README_Unix RELEASE_NOTES \ + Readme_Visual.txt license.txt \ + || die "failed to install docs" + + # install examples + insinto /usr/share/${PN}/ + doins -r examples/ || die "failed to install examples" + + # The compile and install process causes the work folder + # to be registered as the runtime folder in many files. + # This is corrected here. + BAD_REF="${WORKDIR}/${P}" + FIXED_REF="/usr/$(get_libdir)/${P}" + BIN_TO_FIX="Blpr BEpsf Blatexpr2 Blatexprs Blatexpr scilab" + for i in ${BIN_TO_FIX}; do + sed -e "s%${BAD_REF}%${FIXED_REF}%" -i \ + "${D}"/usr/$(get_libdir)/${P}/bin/${i} || \ + die "Failed to fix wrapper scripts" + done + MAN_TO_FIX="eng fr" + for i in ${MAN_TO_FIX}; do + for j in "${D}"/usr/$(get_libdir)/${P}/man/${i}/*.h*; do + sed -e "s%${BAD_REF}%${FIXED_REF}%" -i ${j} || \ + die "Failed to fix manuals" + done + done + MISC_TO_FIX="util/Blatdoc util/Blatdocs" + for i in ${MISC_TO_FIX}; do + sed -e "s%${BAD_REF}%${FIXED_REF}%" -i \ + "${D}"/usr/$(get_libdir)/${P}/${i} || \ + die "Failed to fix Blatdocs" + done +} + +pkg_postinst() { + einfo "To tell Scilab about your printers, set the environment" + einfo "variable PRINTERS in the form:" + einfo + einfo "PRINTERS=\"firstPrinter:secondPrinter:anotherPrinter\"" +} |