Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 22217
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lorinc Czegledi <lorinc.czegledi@mail.cpst.hu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
opendx-4.3.0.ebuild opendx-4.3.0.ebuild text/plain Donnie Berkholz 2003-11-10 00:21 0000 2.65 KB Details
opendx-license license text/plain Donnie Berkholz 2003-11-10 00:22 0000 11.14 KB Details
opendxpatch patch for the ebuild patch Patrick Kursawe 2003-12-17 05:17 0000 2.06 KB Details | Diff
opendxpatch patch for old ebuild patch Patrick Kursawe 2003-12-22 04:36 0000 2.47 KB Details | Diff
opendx-4.3.2.ebuild opendx 4.3.2 ebuild text/plain Nilton Volpato 2004-02-13 12:06 0000 1.46 KB Details
opendx-samples-4.3.2.ebuild opendx-samples 4.3.2 ebuild text/plain Nilton Volpato 2004-02-13 12:10 0000 1.15 KB Details
opendx-4.3.2.ebuild opendx-4.3.2.ebuild text/plain Donnie Berkholz 2004-02-28 17:01 0000 2.98 KB Details
2653-opendx-4.3.2.log failed compilation log of 4.3.2 text/plain Donnie Berkholz 2004-02-28 17:03 0000 213.57 KB Details
opendx-4.3.2.ebuild opendx-4.3.2.ebuild text/plain Donnie Berkholz 2004-03-01 11:33 0000 2.98 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 22217 depends on: Show dependency tree
Bug 22217 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-06-04 11:56 0000
What is OpenDX?

Open Visualization Data Explorer is a visualization framework that gives users
the ability to apply advanced visualization and analysis techniques to their
data. These techniques can be applied to help users gain new insights into data
from applications in a wide variety of fields including science, engineering,
medicine and business. Data Explorer provides a full set of tools for
manipulating, transforming, processing, realizing, rendering and animating data
and allow for visualization and analysis methods based on points, lines, areas,
volumes, images or geometric primitives in any combination. Data Explorer is
discipline-independent and easily adapts to new applications and data. The
integrated object-oriented graphical user interface is intuitive to learn and
easy to use. For more information, select the What is IBM Open Visualization
Data Explorer? link listed below. 

See sample images:

http://www.research.ibm.com/dx/imageGallery/index.html

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Lorinc Czegledi 2003-06-04 12:33:42 0000 -------
I think this is the latest official website:

http://www.opendx.org/

------- Comment #2 From Donnie Berkholz 2003-10-13 08:58:46 0000 -------
This looks really interesting but it's going to take a fair bit of work to
get ebuilds together for it. I'm taking a little time to try it out and see
what happens.

------- Comment #3 From Donnie Berkholz 2003-10-19 15:04:20 0000 -------
Status update: I've got an opendx ebuild I think will work fairly well, and
I'm working on ebuilds for some dependencies: HDF4, CDF, and jasper. I'm
still on the first of those three due to some time constraints.

------- Comment #4 From Donnie Berkholz 2003-11-10 00:21:40 0000 -------
Created an attachment (id=20505) [details]
opendx-4.3.0.ebuild

------- Comment #5 From Donnie Berkholz 2003-11-10 00:22:04 0000 -------
Created an attachment (id=20506) [details]
license

------- Comment #6 From Donnie Berkholz 2003-11-10 00:26:58 0000 -------
Reassigning to sci so the rest can see what's going on and help with dependency
ebuilds if they want. =)

Ebuilds still need to be made for HDF4 (HDF5 is in portage already, but this
doesn't work with it), CDF (http://nssdc.gsfc.nasa.gov/cdf/cdf_home.html),
and Jasper (http://www.ece.uvic.ca/~mdadams/jasper/). I tried to start on
HDF4 but haven't gotten anywhere.

------- Comment #7 From Patrick Kursawe 2003-12-17 00:12:10 0000 -------
an experimental hdf4 version is in portage now. About CDF - doesn't netcdf
work? I 'll give it a try.

------- Comment #8 From Donnie Berkholz 2003-12-17 00:31:36 0000 -------
I believe cdf and netcdf are distinct entities, but not 100% sure.

------- Comment #9 From Patrick Kursawe 2003-12-17 00:41:36 0000 -------
please note that 4.3.2 is out

------- Comment #10 From Patrick Kursawe 2003-12-17 00:57:20 0000 -------
I noticed a little late that there already was a "jasper" ebuild around - see
bug 35358

------- Comment #11 From Patrick Kursawe 2003-12-17 05:17:06 0000 -------
Created an attachment (id=22338) [details]
patch for the ebuild

Patch for the old ebuild. This compiles fine on my system, even seems to run,
but it has several problems to be addressed:

- the USE orgy of the old ebuild seemed a bit much for me - do you really think
we should introduce so many local USE flags for this?
- I disabled CDF support, it currently only uses netCDF.
- it installs stuff to /usr/dx which is not very nice, FHS-wise. We should make
it go into FHS-compliant locations before releasing an ebuild.
- I am sure I have forgotten something :-)

------- Comment #12 From Donnie Berkholz 2003-12-17 22:54:16 0000 -------
In my opinion, everything that has a possibility of being a USE flag should be.
Thus the "orgy." If they can't be global, they'll have to be local. Would you
rather force-disable things people may want, or force-enable unnecessary
dependencies? I see the current solution as better than those options.

Why disable CDF? Just because of no ebuild, or is there more?

Is /usr/share/dx FHS-compliant?

------- Comment #13 From Patrick Kursawe 2003-12-18 04:51:44 0000 -------
Ok, having all those USE flags probably makes sense - just please announce them
on -core before silently using them and add them to use.local.desc if they
can't be made global. And we will have to test a few more compile time option
combinations for this monster...

I currently disabled CDF just because it's not yet there. No other idea behind
that. But I think before adding CDF we should check if it offers anything
better than netCDF.

About the jasper dependency - we have it in now, but grepping through the
opendx sources I get the impression that this is no direct dependency. Perhaps
it is used by ImageMagick if available? We should check this.

/usr/share/dx wouldn't be any better since only platform-independent files
belong into share. If we can't force it to split up properly without producing
a total mess, maybe /usr/dx is ok for a start. Not FHS, but /usr/kde and
/usr/qt aren't FHS-compliant either...

------- Comment #14 From Donnie Berkholz 2003-12-18 08:39:18 0000 -------
Agree on the USE flags and compile-time options. IRT the USE orgy, I seem to
remember even more configure options with image types but I'll be on a dialup
connection for the next three weeks so not much downloading will be happening.

http://www.opendx.org/compiling-dx.html :
"CDF, netCDF and HDF are data file format libraries. CDF and netCDF are
required to run the samples and tutorial."

More tips and functions for each library here:
http://www.opendx.org/compiling-libs.html

I don't see anything clear for jasper either. Perhaps we should fix our
imagemagick build to use it, since it doesn't now.

I wasn't thinking clearly when I asked about the FHS thing, forgive me. =) It's
been a long few days.

------- Comment #15 From Patrick Kursawe 2003-12-22 04:36:16 0000 -------
Created an attachment (id=22540) [details]
patch for old ebuild

Ok, brought back the USE flags and added CDF to portage. This works quite
nicely for me (still installs into /usr/dx) - please test and report if you
find problems or if this can go into portage.

I disabled java support since I was not able to make it compile properly with
java enabled.

------- Comment #16 From Donnie Berkholz 2003-12-22 12:04:22 0000 -------
Patrick,
You've really done some fantastic work here, with all the libs and the work on this. Nice job!

I'll download and take a look at this over the next couple of days.

The only problem I have with it is that the image format USE flags (at least tiff, I don't remember what else) require the imagemagick flag AFAIK. Do you know if nested USE works yet?

For example:
    imagemagick? (
        >=media-gfx/imagemagick-5.3.3
        media-gfx/jasper
        tiff? ( media-libs/tiff )
        mpeg? ( media-libs/mpeg )
    )

And so forth... again I know I don't have all the options quite right.

------- Comment #17 From Patrick Kursawe 2003-12-22 22:57:28 0000 -------
Nested USE works. At least I used it in the last ethereal ebuild :-)

About tiff support, different from the documentation I think that imagemagick is not required. From the ./configure run:

configure: checking for TIFF support ......
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFOpen in -ltiff... yes
checking if TIFF package is complete... yes

That doesn't look like an indirect dependency. Looks like the documentation is not up-to-date regarding this aspect - perhaps we should report this when we have a final tested version of the ebuild.

Jasper is different, I think it's something that should better be handled by the imagemagick ebuild.

------- Comment #18 From George Shapovalov 2004-01-07 19:04:32 0000 -------
Hey guys, so what's the status on this?

I am asking because I see hdf flag listed in use.local.desc and referencing this package, but apparently the opendx itself is not in the tree.

Actually my interest was in hdf use flag. The thing is app-sci/octave has optional support for hdf5 and, potentially, it might be worth using one common flag (and thus making it global). However I see that opendx uses plain hdf[4], so technically this is different. Although it still should work with plain hdf use flag, - every app will use the corresponding version of hdf (they come as different packages because of format incompatibilities). So it might be worth sticking with just one flag..

What do you think?

For now I added hdf5 to use.local.desc, but this will need to be revisited, when this bug gets resolved.

George

------- Comment #19 From Donnie Berkholz 2004-01-07 20:17:41 0000 -------
Patrick's modified the ebuild some, but he's away for the month of January. I'm
not sure whether he has further local modifications that aren't up here so I'm
hesitant to commit this.

IRT the hdf USE, I think this might be a good hdf4 flag and you could use
either hdf or hdf5 for the "new hdf." It might be a good idea to have separate
flags in case a package supports both hdf4 and and hdf5, although I'm not aware
of any.

------- Comment #20 From Patrick Kursawe 2004-02-03 07:59:03 0000 -------
I didn't change anything since the last patch you find here - indeed I was
hoping to find a working OpenDX in portage when I am back :-)

The ebuild will still need a bit work, for example the jasper stuff seems to
belong into imagemagick. No reaction from the graphics guys so far, see bug
#36349 for that problem.

------- Comment #21 From Nilton Volpato 2004-02-13 12:06:01 0000 -------
Created an attachment (id=25551) [details]
opendx 4.3.2 ebuild

------- Comment #22 From Nilton Volpato 2004-02-13 12:10:47 0000 -------
Created an attachment (id=25552) [details]
opendx-samples 4.3.2 ebuild

Hi folks,

I made these ebuilds for opendx and opendx-samples.
They are very simple, and do not have USE flags for installation customizing,
but worked very well for me, including with javadx.
Maybe it helps.

-- Nilton

------- Comment #23 From Donnie Berkholz 2004-02-28 17:01:43 0000 -------
Created an attachment (id=26546) [details]
opendx-4.3.2.ebuild

Here's my latest ebuild. A full build of 4.3.2 (all USE enabled) dies, however.
Haven't tracked it down yet.

------- Comment #24 From Donnie Berkholz 2004-02-28 17:03:21 0000 -------
Created an attachment (id=26547) [details]
failed compilation log of 4.3.2

If anyone cares to contribute ideas, take a look.

------- Comment #25 From Donnie Berkholz 2004-02-29 21:45:39 0000 -------
Hm, a different error this time. Made it through compilation, got this on
install.

sh ../mkinstalldirs /usr/local/build/portage/opendx-4.3.2/image//usr/dx/html
make  install-data-hook
make[4]: Entering directory
`/usr/local/build/portage/opendx-4.3.2/work/dx-4.3.2/html'
make[4]: *** No rule to make target `install-data-hook'.  Stop.

------- Comment #26 From Patrick Kursawe 2004-03-01 01:35:36 0000 -------
Donnie, perhaps it's a parallel build problem?

------- Comment #27 From Donnie Berkholz 2004-03-01 01:49:47 0000 -------
Heh, I actually had that idea earlier today but I forgot it. Thanks for
reminding me.

------- Comment #28 From Donnie Berkholz 2004-03-01 02:22:02 0000 -------
Managed to reproduce the problem in comment #25 with a non-parallel build.

------- Comment #29 From Donnie Berkholz 2004-03-01 03:05:43 0000 -------
OK, this is a little odd. It was the doc flag I added (`use_with doc
installhtml`). Whether it's on or off, it seems broken, but if it's not there
at all it works.

------- Comment #30 From Donnie Berkholz 2004-03-01 03:06:29 0000 -------
use_enable, rather

------- Comment #31 From Donnie Berkholz 2004-03-01 11:33:32 0000 -------
Created an attachment (id=26672) [details]
opendx-4.3.2.ebuild

So, here's my final version. Patrick, wanna look over this and try it out?

------- Comment #32 From Patrick Kursawe 2004-03-02 00:52:20 0000 -------
Donnie, I'd say let's bring this into portage as soon as possible and attract
testers. I just removed the dependency on bug 36349 because jasper support is
nice, but we can survive without it. Agree?

------- Comment #33 From Donnie Berkholz 2004-03-02 01:02:35 0000 -------
Sounds good.

------- Comment #34 From Patrick Kursawe 2004-03-03 05:22:40 0000 -------
Donnie, just for the case you're waiting for me to commit this - I am waiting
for you do commit it :-)

------- Comment #35 From Donnie Berkholz 2004-03-03 08:54:27 0000 -------
Heh, OK. I was. I'll commit soon.

------- Comment #36 From Patrick Kursawe 2004-03-04 23:21:37 0000 -------
Donnie, could you please make a last minute change before committing? We are
allowed to mirror the sources.

------- Comment #37 From Donnie Berkholz 2004-03-14 18:33:43 0000 -------
Committed. Thanks for playing.

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