Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102325 - GfsView is a graphical viewer for Gerris hydrodynamic simulation files.
Summary: GfsView is a graphical viewer for Gerris hydrodynamic simulation files.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL: http://gfs.sourceforge.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-08-12 22:17 UTC by Tim Cera
Modified: 2006-02-06 20:44 UTC (History)
2 users (show)

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


Attachments
gfsview-0.2.ebuild (gfsview-0.2.ebuild,699 bytes, text/plain)
2005-08-12 22:18 UTC, Tim Cera
Details
gfsview-0.2.ebuild (gfsview-0.2.ebuild,696 bytes, text/plain)
2005-08-18 18:08 UTC, Tim Cera
Details
gfsview-0.2.ebuild (gfsview-0.2.ebuild,748 bytes, text/plain)
2005-08-24 15:48 UTC, Tim Cera
Details
gfsview-0.4.ebuild (gfsview-0.4.ebuild,1.22 KB, text/plain)
2005-11-25 06:49 UTC, Tim Cera
Details
gfsview-0.4.ebuild (without switch to opengl headers) (gfsview-0.4.ebuild,794 bytes, text/plain)
2006-02-02 20:19 UTC, Tim Cera
Details
patch to fix crash when clicking on menu (01_patch_20Jan2006.diff,1.23 KB, patch)
2006-02-02 20:20 UTC, Tim Cera
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Cera 2005-08-12 22:17:29 UTC
GfsView is a graphical viewer for Gerris hydrodynamic simulation files.
Comment 1 Tim Cera 2005-08-12 22:18:48 UTC
Created attachment 65816 [details]
gfsview-0.2.ebuild
Comment 2 Tim Cera 2005-08-18 18:08:19 UTC
Created attachment 66279 [details]
gfsview-0.2.ebuild
Comment 3 Ciaran McCreesh 2005-08-24 10:07:45 UTC
Please fix the following and reopen:

* LICENSE is invalid.
* No ChangeLog, README etc to dodoc?
Comment 4 Tim Cera 2005-08-24 15:48:29 UTC
Created attachment 66812 [details]
gfsview-0.2.ebuild
Comment 5 Tim Cera 2005-08-24 15:53:42 UTC
Thanks.  I'm learning all the time.  
  
I think I have addressed all issues.  
 
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-08-30 06:18:21 UTC
OK, one more remark - no need to dodoc COPYING. ;)
Comment 7 Tim Cera 2005-11-25 06:49:09 UTC
Created attachment 73571 [details]
gfsview-0.4.ebuild
Comment 8 Tim Cera 2005-11-25 06:54:35 UTC
gfsview-0.4 will not compile against the nvidia opengl headers.  Copied code
from gtkglext to change to xorg-11/opengl implementation during compile, and
return again to original opengl implementation post install.  gfsview, after
compiling against the xorg-x11/opengl headers works fine under nvidia/opengl
implementation. 

Depends on the gerris library, currently (11/25/05) in bugs.gentoo.org
http://bugs.gentoo.org/show_bug.cgi?id=102323
Comment 9 Markus Dittrich (RETIRED) gentoo-dev 2005-12-02 07:14:51 UTC
Hi Tim,  
  
Thanks for your ebuild! I had a go at the package but, unfortunately, it   
segfaults on my machine (P4, xorg-x11-6.8.2-r6). Currently, it looks  
to me as if I have hit a sse bug in xorg's radeon dri libs, but I will have to   
look more into this. Here's the relevant gdb output  
  
Program received signal SIGFPE, Arithmetic exception.  
[Switching to Thread -1223526736 (LWP 4340)]  
0xb70396ec in _mesa_test_os_sse_exception_support ()  
   from /usr/lib/modules/dri/radeon_dri.so  
 
Maybe the new modular xorg fixes it - I haven't tried yet.  
 
Comment 10 Tim Cera 2005-12-02 22:45:29 UTC
Thanks for looking at it. 
 
I have an AMD64/Nvidia.  I can try it early next week on a K6-2/CyberBlade.  
 
Can we turn off 'sse'? 
 
Thanks 
Tim 
Comment 11 Markus Dittrich (RETIRED) gentoo-dev 2005-12-03 13:04:47 UTC
(In reply to comment #10) 
>   
> Can we turn off 'sse'?  
>   
 
I've recompiled the relevant packages with sse turned off and 
that didn't help. I hope I can have a closer look soon. 
 
Thanks, 
Markus 
 
 
 
Comment 12 Tim Cera 2006-01-18 19:36:11 UTC
I found this mention of a problem with _mesa_test_os_sse_exception_support() and gdb.

https://bugs.freedesktop.org/show_bug.cgi?id=1709

It is a relatively old bug report so I thought that some resolution would have already been implemented.  It could mean that the actual error is somewhere else.
Comment 13 Markus Dittrich (RETIRED) gentoo-dev 2006-01-18 19:49:43 UTC
Hi Tim,

Thanks for the update. Let's see if this goes away with the 
new modular X. I'll test it once I've everything set up 
properly.

best,
Markus
Comment 14 Markus Dittrich (RETIRED) gentoo-dev 2006-01-22 09:48:07 UTC
Hi Tim,

gfsview compiles and works fine for me using the new modular X. 
Hence, as soon as modular X hits ~x86 I'll commit it to the tree
for further testing.

Thanks,
Markus
Comment 15 Tim Cera 2006-02-02 20:19:07 UTC
Created attachment 78778 [details]
gfsview-0.4.ebuild (without switch to opengl headers)

Was able to compile without problem using the nvidia header files, which simplfied the ebuild a lot.

Included a patch from the developers that prevents a crash that I was having.  Works great with the patch.

My machine is an amd64, so should at least maintain that keyword.

Thanks!
Comment 16 Tim Cera 2006-02-02 20:20:29 UTC
Created attachment 78779 [details, diff]
patch to fix crash when clicking on menu
Comment 17 Markus Dittrich (RETIRED) gentoo-dev 2006-02-03 06:49:58 UTC
Hi Tim,

Thanks for the update and I am glad that we can dispose
of that OpenGL header switch. I'll give it another spin over
the weekend and will move it into portage if everything
works fine.

Thanks,
Markus
Comment 18 Markus Dittrich (RETIRED) gentoo-dev 2006-02-06 20:44:35 UTC
Hi Tim,

Thanks for your great work! I just committed gfsview to portage cvs.
Currently, it is still keyworded ~x86, but I will ask somebody in the
sci-team to test and then mark ~amd64 the whole dependency
chain gts/gerris/gfsview.

Thanks,
Markus