[MacPorts] #45107: upgrade Digikam to 4.3.0 (needs work)
MacPorts
noreply at macports.org
Sat Sep 20 03:24:02 PDT 2014
#45107: upgrade Digikam to 4.3.0 (needs work)
-------------------------+--------------------------------
Reporter: rjvbertin@… | Owner: macports-tickets@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: digikam
-------------------------+--------------------------------
I'm attaching an updated Portfile for digikam, of which version 4.3.0 was
released the past week.
It should work fine when no digikam version is installed.
I had the older version (4.0.0) installed (through my own portfile which
is near identical to the one that was subsequently added to the main
repository. This older port installed plugin header files (for libkgeomap)
under ${prefix}/include and there appears to be an issue with the CMake
files which cause it to pick up those headers. It should pick up the
headers with the bundled libkgeomap *newer version* instead.
The current, 4.0.0 Portfile has a few other oddities also signalled on the
currently ongoing discussion on the ML, and that I tried to correct.
I'm posting this diff in hope someone more knowledgeable about CMake in
general and MacPorts "protected build environment" in general can look
into the issue.
I have not yet implemented a post-destroot script to prevent unwanted
header files from being installed by removing them there, which seems to
be the best approach. The Debian/Ubuntu package managers followed a
similar approach: they don't bundle those files during the package
generation process.
--
Ticket URL: <https://trac.macports.org/ticket/45107>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list