[MacPorts] #28070: darktable @0.7.1 add +gcc46, +gconf, +gnome_keyring, +quartz, +no_x11, +x11 variants
MacPorts
noreply at macports.org
Thu Jan 20 16:52:18 PST 2011
#28070: darktable @0.7.1 add +gcc46, +gconf, +gnome_keyring, +quartz, +no_x11, +x11
variants
---------------------------------+------------------------------------------
Reporter: julians37@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: darktable
---------------------------------+------------------------------------------
This update contains a number of changes:
* Removed the dependency on `fop` since the user manual can't be built
anyway due to a missing file `xsl/darktable_fo.xsl`
* `gconf` and `libgnome-keyring` were required dependencies. They are
now optional and disabled by default. `patch-darktablerc.diff` fixes a
bug that would otherwise cause building with `--disable-gconf` to fail.
* Building with gcc 4.4 or gcc 4.5 fails when building against `gtk2
+quartz` due to limitations in non-Apple gccs when reading certain Apple
header files. I've copied the whole quartz/no_x11 variant stuff from the
`gimp2` portfile in order to be able to express this incompatibility.
Could you please doublecheck that I've done the right thing?
* Since gcc 4.4+ can't be used when building against quartz, but gcc 4.4+
is recommended, I have introduced another variant for gcc 4.6 which
contains a patch for dealing with Apple header files. Admittedly this is
debatable seeing that gcc 4.6 is still in beta and not yet properly
supported by MacPorts. If you were hesitant to commit this change that
would be understandable. At the same time it would be nice to enable
people to build with gcc 4.6 should they choose to do so, seeing that
otherwise they couldn't enjoy quartz-nativeness and openmp-acceleration
simultaneously.
* gcc 4.6 has stricter warnings which requires applying the `patch-build-
for-gcc45.diff` patchfile.
* Finally, `patch-src-iop-lens.c.diff` fixes a bug that would cause a
segfault at shutdown in certain configurations.
I've reported the latter bug to upstream and it has been fixed on trunk as
well. The remaining patches are not applicable to darktable trunk as
they've completely revamped the build process which now is CMake-based.
--
Ticket URL: <https://trac.macports.org/ticket/28070>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list