Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16737 - scilab-2.7.ebuild (Update)
Summary: scilab-2.7.ebuild (Update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
: 23461 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-03 08:58 UTC by Gregorio Guidi (RETIRED)
Modified: 2003-07-16 15:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
new diff (scilab-2.6-2.7.diff,3.91 KB, text/plain)
2003-03-30 16:21 UTC, Gregorio Guidi (RETIRED)
Details
rediffed against latest version (scilab-2.6-2.7.diff,5.51 KB, patch)
2003-04-27 10:48 UTC, Gregorio Guidi (RETIRED)
Details | Diff
rediffed.. (fixed error) (scilab-2.6-2.7.diff,5.59 KB, patch)
2003-04-27 12:14 UTC, Gregorio Guidi (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gregorio Guidi (RETIRED) gentoo-dev 2003-03-03 08:58:59 UTC
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.
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2003-03-30 16:20:30 UTC
...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 
 
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2003-03-30 16:21:17 UTC
Created attachment 10040 [details]
new diff
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2003-04-27 10:48:39 UTC
Created attachment 11221 [details, diff]
rediffed against latest version
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2003-04-27 12:14:27 UTC
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 -))
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-05-01 07:01:01 UTC
2.6 is fixed with bug #20263
Comment 6 Ryan Phillips (RETIRED) gentoo-dev 2003-06-24 21:23:52 UTC
Fixed
Comment 7 Gregorio Guidi (RETIRED) gentoo-dev 2003-06-25 07:26:51 UTC
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 
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-06-25 08:53:04 UTC
*** Bug 23461 has been marked as a duplicate of this bug. ***
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2003-06-25 08:53:21 UTC
wrangler
Comment 10 Ryan Phillips (RETIRED) gentoo-dev 2003-07-16 15:31:43 UTC
Sorry this took so long... Committed.