Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17021 closed defect (fixed)

Patch for qwt to change header install location

Reported by: michaelld (Michael Dickens) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: qwt, headers Cc: erickt@…
Port: qwt

Description

qwt installs all of its header into ${prefix}/include ; there are a lot of headers, and (at least for Linux pre-installed packages) these are traditionally installed in a "qwt" subdirectory. This patch (which replaces the current patch file for this port) changes the install directory to ${prefix}/include/qwt , as expected by other open-source programs. - MLD

Attachments (2)

patch_qwtconfig.pri (604 bytes) - added by michaelld (Michael Dickens) 16 years ago.
Replacement patch file for qwt, to change the header files' install location
py25-pyqwt_Portfile (1.3 KB) - added by michaelld (Michael Dickens) 16 years ago.
Portfile for py25-pyqwt, copied and updated from the py-pyqwt Portfile; may or not work.

Download all attachments as: .zip

Change History (10)

Changed 16 years ago by michaelld (Michael Dickens)

Attachment: patch_qwtconfig.pri added

Replacement patch file for qwt, to change the header files' install location

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: erickt@… added; mlk@… removed

Will py-pyqwt need to be changed to look in the new location?

comment:2 Changed 16 years ago by michaelld (Michael Dickens)

Good catch. I'll check on the headers for pyqwt (using Python25, so creating a new port py25-pyqwt ; should be portable back to py-pyqwt). More later. - MLD

comment:3 Changed 16 years ago by michaelld (Michael Dickens)

I cannot get py25-pyqwt to compile, so I'm not sure if changing the header location works or not. I'm using Python25 (from MacPorts) under OSX 10.5, and have no good way to make the effort of trying Python24 to see if py-pyqwt works ... what I did was to copy the py-pyqwt Portfile and update it for Python25 (as well as an optional variant for numpy). I'm attaching my py25-pyqwt Portfile in case anyone can figure this out; this Portfile does explicitly include a flag for the new qwt header location ... but, again, I'm not sure that it works. - MLD

Changed 16 years ago by michaelld (Michael Dickens)

Attachment: py25-pyqwt_Portfile added

Portfile for py25-pyqwt, copied and updated from the py-pyqwt Portfile; may or not work.

comment:4 Changed 16 years ago by mf2k (Frank Schima)

I added my version of py25-pyqwt in r48067. It works fine except for the 'not a directory' problem during activate. I was able to run a pyqwt demo with no problems.

comment:5 Changed 16 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

I'm closing this because everything looks like it has been applied.

comment:6 Changed 16 years ago by michaelld (Michael Dickens)

The original issue -- as described in the "Description" -- was not fixed. I never had time to look further into this, but I'm still in favor of moving the includes into a separate directory include ${prefix}/include/. I will try to do so in the near future, but I just don't have time right now. I'm leaving this ticket as closed for now, but when I can figure out how to make the new include directory work with dependents (e.g., py25-pyqwt), then I'll reopen with the new info.

comment:7 Changed 16 years ago by mf2k (Frank Schima)

My bad, I thought qwt was doing this already, but now that I look again, I can see that you are right. Sounds good about opening a new ticket when you are ready. Thanks!

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.