Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 16737
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Ryan Phillips (RETIRED) <rphillips@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gregorio Guidi (RETIRED) <greg_g@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
scilab-2.6-2.7.diff new diff text/plain Gregorio Guidi (RETIRED) 2003-03-30 16:21 0000 3.91 KB Details
scilab-2.6-2.7.diff rediffed against latest version patch Gregorio Guidi (RETIRED) 2003-04-27 10:48 0000 5.51 KB Details | Diff
scilab-2.6-2.7.diff rediffed.. (fixed error) patch Gregorio Guidi (RETIRED) 2003-04-27 12:14 0000 5.59 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 16737 depends on: Show dependency tree
Bug 16737 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-03 08:58 0000
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 From Gregorio Guidi (RETIRED) 2003-03-30 16:20:30 0000 -------
...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 From Gregorio Guidi (RETIRED) 2003-03-30 16:21:17 0000 -------
Created an attachment (id=10040) [details]
new diff

------- Comment #3 From Gregorio Guidi (RETIRED) 2003-04-27 10:48:39 0000 -------
Created an attachment (id=11221) [details]
rediffed against latest version

------- Comment #4 From Gregorio Guidi (RETIRED) 2003-04-27 12:14:27 0000 -------
Created an attachment (id=11225) [details]
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 From Martin Holzer (RETIRED) 2003-05-01 07:01:01 0000 -------
2.6 is fixed with bug #20263

------- Comment #6 From Ryan Phillips (RETIRED) 2003-06-24 21:23:52 0000 -------
Fixed

------- Comment #7 From Gregorio Guidi (RETIRED) 2003-06-25 07:26:51 0000 -------
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 From Martin Holzer (RETIRED) 2003-06-25 08:53:04 0000 -------
*** Bug 23461 has been marked as a duplicate of this bug. ***

------- Comment #9 From Martin Holzer (RETIRED) 2003-06-25 08:53:21 0000 -------
wrangler

------- Comment #10 From Ryan Phillips (RETIRED) 2003-07-16 15:31:43 0000 -------
Sorry this took so long... Committed.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug