New version of scilab. I modified the 2.6 ebuild to work with this new version, (not hardly tested though). here's what I did: - add Xaw3d to dependancies - if compiled with --without-tk, during compile it goes to the tcl directory and die, so add an ugly hack (it would be better to remove tcl from SUBDIRS in Makefile.in). - modified an entry in the list of files notes: I don't know if BINDISTFILES list is correct. during unmerge the symlink /usr/bin/scilab does not get removed, portage message: --- !targe sym /usr/bin/scilab what does it mean? The diff: --- scilab-2.6.ebuild 2003-03-03 14:49:39.000000000 +0100 +++ scilab-2.7.ebuild 2003-03-03 14:50:49.000000000 +0100 @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /home/cvsroot/gentoo-x86/app-sci/scilab/scilab-2.6.ebuild,v 1.7 2003/02/13 09:25:33 vapier Exp $ +# $Header: $ IUSE="tcltk" @@ -15,13 +15,18 @@ KEYWORDS="x86" DEPEND="virtual/x11 + x11-libs/Xaw3d tcltk? ( dev-lang/tk )" src_compile() { local myopts - use tcltk && myopts="--with-tk" - + use tcltk || myopts="--without-tk" + if [ ! "`use tcltk`" ] ; then + mv ${S}/tcl/Makefile ${S}/tcl/Makefile.orig + sed -e 's,all:: browsehelpexe,all::,' ${S}/tcl/Makefile.orig > ${S}/tcl/Makefile + fi + ./configure \ --host=${CHOST} \ --prefix=/usr \ @@ -37,16 +42,16 @@ src_install () { BINDISTFILES="\ - ${P}/.binary \ - ${P}/.pvmd.conf \ - ${P}/ACKNOWLEDGEMENTS \ + ${P}/.binary \ + ${P}/.pvmd.conf \ + ${P}/ACKNOWLEDGEMENTS \ ${P}/CHANGES \ ${P}/Makefile \ ${P}/Makefile.OBJ \ ${P}/Makefile.incl \ ${P}/Makemex \ ${P}/Path.incl \ - ${P}/README \ + ${P}/README_Unix \ ${P}/Version.incl \ ${P}/configure \ ${P}/libtool \ Reproducible: Always Steps to Reproduce: 1. 2. 3.
...Here's an updated version of the ebuild, which uses the new Xaw3d use flag, plus the updated BINDISTFILES from scilab Makefile and a fix to a possible problem when reemerging 2.7 (or a future 2.7-r1) I attach the diff
Created attachment 10040 [details] new diff
Created attachment 11221 [details, diff] rediffed against latest version
Created attachment 11225 [details, diff] rediffed.. (fixed error) Correcting my diff, I notice that the borkage also involves the official scilab-2.6.ebuild: these lines cd tests && make distclean cd examples && make distclean (cd ..; tar cf - ${BINDISTFILES} | (cd ${D}/usr/lib; tar xf -)) should be cd ${S}/tests && make distclean cd ${S}/examples && make distclean (cd ${S}/..; tar cf - ${BINDISTFILES} ${PVMBINDISTFILES} | (cd ${D}/usr/lib; tar xf -))
2.6 is fixed with bug #20263
Fixed
I might be missing something, this has to be opened, scilab-2.7 is not in portage... I will reopen if I hear nothing in while
*** Bug 23461 has been marked as a duplicate of this bug. ***
wrangler
Sorry this took so long... Committed.