[MacPorts] #43678: ECW support in gdal
#43678: ECW support in gdal -------------------------+-------------------------------- Reporter: jsm@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: gdal -------------------------+-------------------------------- I have modified the gdal port to allow the use of the ECW SDK of Intergraph. A new variant called `ecw` is added. The version of gdal was also updated to 1.11.0. The patches `patch-gdalwarpkernel_opencl_c_2.diff` and `patch-port-cpl_spawn.cpp.diff` are not needed any more. The upstream version of gdal supports the SDK 5.1 which is located at `/Intergraph/ERDASEcwJpeg2000SDK5.1`. The new version of the SDK, 5.1.1, is located at `/Intergraph/ERDASEcwJpeg2000SDK5.1.1/Desktop_Read-Only` and a couple of symbolic links can be used to override the problem with the paths. If this version of the SDK is present and the links are not created, the port install process displays a message of how to do that (only if the variant `ecw`is set). This is probably not an ideal solution but it works. -- Ticket URL: <https://trac.macports.org/ticket/43678> MacPorts <http://www.macports.org/> Ports system for OS X
#43678: ECW support in gdal --------------------------+----------------------- Reporter: jsm@… | Owner: seanasy@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gdal | --------------------------+----------------------- Changes (by mf2k@…): * owner: macports-tickets@… => seanasy@… * cc: seanasy@… (removed) * version: 2.2.1 => Comment: Note that when increasing the version, the revision goes to 0, not 1. Since this is the default, the revision line should simply be deleted. -- Ticket URL: <https://trac.macports.org/ticket/43678#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43678: ECW support in gdal --------------------------+-------------------------------- Reporter: jsm@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gdal | --------------------------+-------------------------------- Changes (by mf2k@…): * owner: seanasy@… => macports-tickets@… Comment: This port is no longer maintained. See #44038. -- Ticket URL: <https://trac.macports.org/ticket/43678#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43678: ECW support in gdal --------------------------+-------------------------------- Reporter: jsm@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gdal | --------------------------+-------------------------------- Comment (by vince@…): I'll try to apply it and commit it tomorrow. Thanks for the effort. However, I see that the ECW SDK installs in a non-standard directory. Is there a means to configure this? -- Ticket URL: <https://trac.macports.org/ticket/43678#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43678: ECW support in gdal --------------------------+-------------------------------- Reporter: jsm@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gdal | --------------------------+-------------------------------- Comment (by vince@…): It is possible to customize the installation of the ECW library. I hate the possibility of having it in /Intergraph/… which is really ugly. Shall we choose ${prefix}/lib/ECW or /opt/local/lib/ECW? -- Ticket URL: <https://trac.macports.org/ticket/43678#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43678: ECW support in gdal --------------------------+-------------------------------- Reporter: jsm@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gdal | --------------------------+-------------------------------- Comment (by vince@…): I've committed the new version 1.11.0 with ECW support (tested this afternoon). The SDK should be installed in ${prefix}/lib/ECW, but I hope a simple soft link will suffice for those who have installed it under /Intergraph and do not want to reinstall it again. There are still other things to fix, especially enabling options that are currently disabled by default. Please test and report any problem! -- Ticket URL: <https://trac.macports.org/ticket/43678#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43678: ECW support in gdal --------------------------+-------------------------------- Reporter: jsm@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gdal | --------------------------+-------------------------------- Comment (by jsm@…): Finally I had some time to test the new port. After using the recommended command: sudo ln -s /Intergraph/ERDASEcwJpeg2000SDK5.1.1/Desktop_Read-Only /opt/local/lib/ECW everything seems to compile all right. Just out of curiosity, how could you install the SDK directly in /opt/local/lib/ECW? -- Ticket URL: <https://trac.macports.org/ticket/43678#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts