Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36580 - CAMFR 1.2 (new ebuild)
Summary: CAMFR 1.2 (new ebuild)
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:
Whiteboard:
Keywords:
Depends on: 35731
Blocks:
  Show dependency tree
 
Reported: 2003-12-27 07:08 UTC by Peter Bienstman (RETIRED)
Modified: 2005-04-05 00:54 UTC (History)
1 user (show)

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


Attachments
camfr ebuild (camfr-1.2.ebuild,1.09 KB, text/plain)
2003-12-27 07:08 UTC, Peter Bienstman (RETIRED)
Details
machine_cfg.py (machine_cfg.py,1.26 KB, text/plain)
2003-12-27 07:09 UTC, Peter Bienstman (RETIRED)
Details
SConstruct (SConstruct,611 bytes, text/plain)
2003-12-27 07:09 UTC, Peter Bienstman (RETIRED)
Details
Changelog (ChangeLog.camfr,306 bytes, text/plain)
2004-01-16 07:51 UTC, Peter Bienstman (RETIRED)
Details
ebuild (camfr-1.2.ebuild,1.32 KB, text/plain)
2004-01-23 01:36 UTC, Peter Bienstman (RETIRED)
Details
ebuild (camfr-1.2.ebuild,1.32 KB, text/plain)
2004-01-23 01:40 UTC, Peter Bienstman (RETIRED)
Details
ebuild (camfr-1.2.ebuild,1.35 KB, text/plain)
2004-01-24 09:11 UTC, Peter Bienstman (RETIRED)
Details
ebuild (camfr-1.2.ebuild,1.37 KB, text/plain)
2004-01-27 07:11 UTC, Peter Bienstman (RETIRED)
Details
machine_cfg.py (machine_cfg.py,1.27 KB, text/plain)
2004-02-02 05:51 UTC, Peter Bienstman (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Bienstman (RETIRED) gentoo-dev 2003-12-27 07:08:17 UTC
New ebuild for CAMFR, a full vectorial Maxwell solver based on eigenmode expansion.

http://camfr.sourceforge.net/


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Peter Bienstman (RETIRED) gentoo-dev 2003-12-27 07:08:50 UTC
Created attachment 22708 [details]
camfr ebuild
Comment 2 Peter Bienstman (RETIRED) gentoo-dev 2003-12-27 07:09:29 UTC
Created attachment 22709 [details]
machine_cfg.py
Comment 3 Peter Bienstman (RETIRED) gentoo-dev 2003-12-27 07:09:47 UTC
Created attachment 22710 [details]
SConstruct
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2004-01-06 20:03:18 UTC
Ok, I am coaching him, I'll take that.

Geirge
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2004-01-16 02:18:43 UTC
Looking clean conceptually, but the same thing with dependencies. It is helpfull to run "repoman scan" on the package before you submit it ;). Also, I see it depends on updated version of blitz, which is #25731, so this bug should have a corresponding dependency as well. Added it now..

Another thing, this one also uses blas/lapack, so it'll have to wait untill the reorganization, to which I'll try to get ASAP. But I would like to get done with your bugs at least conceptually now.

George
Comment 6 George Shapovalov (RETIRED) gentoo-dev 2004-01-16 02:20:44 UTC
Oops, forgot to adde dependency :(.
Also, Peter, could you please add ChangeLog here as well? (no need to add metadada ehere if you do it for #36581, or add it here and skip there - this one is quite trivial).

George
Comment 7 Peter Bienstman (RETIRED) gentoo-dev 2004-01-16 07:51:31 UTC
Created attachment 23922 [details]
Changelog

Added Changelog
Comment 8 Peter Bienstman (RETIRED) gentoo-dev 2004-01-23 01:36:05 UTC
Created attachment 24273 [details]
ebuild

Check for Tk support
Comment 9 Peter Bienstman (RETIRED) gentoo-dev 2004-01-23 01:40:10 UTC
Created attachment 24274 [details]
ebuild

uploaded wrong version
Comment 10 George Shapovalov (RETIRED) gentoo-dev 2004-01-23 19:02:07 UTC
Hi Peter.

Thanks for update, however I spotted a problem with the following block in src_unpack:
python -c "import ImageTk" 2>/dev/null ||
  einfo "Python and Imaging don't have Tk support enabled." ||
  einfo "Set the tcltk USE flag and reinstall Python and Imaging before continuing." || 
  die "Configuration error"

1. The check should really be moved to pkg_setup (pkg_* functions have access to the outside of the sandbox, so this is usefull for some setup stuff). While it does not really matter when the package is built from source, it makes a great difference for prebuilt package (and we need to support both) - src_unpack is not run in that case!

2. In present form only the first echoi after || gets executed, you need to group the echos and die together in a different way, for example using the genuine if [ ... ]; then ... fi 
(plus it will be more readable).

George
Comment 11 Peter Bienstman (RETIRED) gentoo-dev 2004-01-24 09:11:33 UTC
Created attachment 24342 [details]
ebuild

Incorporated your feedback.
Comment 12 Peter Bienstman (RETIRED) gentoo-dev 2004-01-27 07:11:12 UTC
Created attachment 24487 [details]
ebuild

Adds dependency on ps2pdf (in app-text/xdpf)
Comment 13 George Shapovalov (RETIRED) gentoo-dev 2004-01-31 11:05:51 UTC
Ok, looking good now, but I see it also depends on lapack. So please do not committ it (or other blas/lapack ebuilds, unless they are updates) when you get cvs access untill the big blas reorganization is complete (#30453, btw, your opinion on the decided solution is wellcome ;)).

George
Comment 14 Peter Bienstman (RETIRED) gentoo-dev 2004-02-02 05:51:05 UTC
Created attachment 24806 [details]
machine_cfg.py

Update machine_cfg.py: add whitespace when concatenating compiler options
Comment 15 Peter Bienstman (RETIRED) gentoo-dev 2005-04-05 00:54:33 UTC
Added to unstable tree.