New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34458 (closed enhancement: fixed)

Opened 13 months ago

Last modified 13 months ago

netcdf: Remove szip dependency

Reported by: eborisch@… Owned by: takeshi@…
Priority: Normal Milestone:
Component: ports Version: 2.1.0
Keywords: Cc: takeshi@…, mcalhoun@…
Port: netcdf

Description

The szip port is not required by the hdf5-18 port anymore; it was moved into the +szip variant as it is not distributable and is not needed for the bulk of hdf5's functionality.

Removing this will make netcdf distributable as well.

Attachments

Portfile.diff (650 bytes) - added by mcalhoun@… 13 months ago.

Change History

comment:1 Changed 13 months ago by takeshi@…

I believe szip is almost a must with hdf5. I think I was told to make szip default in the past for user's convenience. I'm going to instruct users to add +szip with hdf5-18. hdf5-18 +szip is not redistributable, is it?

comment:2 Changed 13 months ago by eborisch@…

Not redistributable is the cleanest way to describe it. As I read it, the license for szip is convoluted and depends on if it is being used through HDF5 or not.

Taken from http://www.hdfgroup.org/doc_resource/SZIP/

szip is only required if you are actually reading or writing szip-compressed data. If it is needed, the user should install hdf5-18 +szip (which will build from source) before installing netcdf. The netcdf port itself shouldn't directly require szip (IMHO) as it is not directly using it, but only through the hdf5-18 port if it has been installed with +szip.

I haven't tested to see if a netcdf build against a non-szip enabled libhdf5 will function with a (locally compiled) szip-enabled libhdf5.

-Eric


Licensing terms

The version of Szip distributed with HDF products is free for non-commercial use, which may occur in two sets of circumstances:

Non-commercial users may use the Szip software integrated with HDF products to both encode (compress) and decode (uncompress) data. This applies to educational and research applications.

Commercial users may use the software to decode any data. Further, they may use the software in internal activities that do not involve or result in the development of an Szip-based software product.

Commercial licenses are available for commercial users who wish to distribute an Szip-based software product or engage in commercial uses that are not allowed above. For further licensing information or to view a copy of the Szip copyright statement, see Commercial use terms and the copyright and license notice pertaining to Szip in HDF products.

comment:3 Changed 13 months ago by takeshi@…

  • Owner changed from macports-tickets@… to takeshi@…

comment:4 Changed 13 months ago by takeshi@…

  • Status changed from new to closed
  • Resolution set to fixed

I removed dependency to szip from netcdf, nco and hdf4. hdf4 has szip variant (r93151). How do you like that?

Changed 13 months ago by mcalhoun@…

comment:5 Changed 13 months ago by mcalhoun@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

I believe hdf4 still depends on szip.
Attached is a proposed solution (also fixes a typo).

comment:6 Changed 13 months ago by mcalhoun@…

  • Cc mcalhoun@… added

Cc Me!

comment:7 Changed 13 months ago by takeshi@…

  • Status changed from reopened to closed
  • Resolution set to fixed

Committed r93676.

Note: See TracTickets for help on using tickets.