#31374: darktable @0.7.1 build failure ---------------------------+------------------------- Reporter: barrasstim@… | Owner: julians37@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: lion Port: darktable | ---------------------------+------------------------- Changes (by ryandesign@…): * cc: heitzmann@…, ctreleaven@… (added) * status: new => closed * resolution: => fixed Comment: Replying to [comment:3 heitzmann@…]:
Once I installed all dependencies I had to change the file src/common/darktable.c, line 81: removed "static", due to a previous non- static declaration in stdio.h.
You're talking about this: {{{ #ifdef __APPLE__ static int dprintf(int fd,const char *fmt, ...) }}} It appears this block no longer exists in darktable 1.1.2 so we don't need to patch anything anymore for this. Replying to [comment:6 ctreleaven@…]:
Note that Darktable v. 1.1.2 was released on January 15, 2013. The code also moved to GitHub back in May 2012.
I updated the port to 1.1.2 in r101696: * added build dependency on cmake * removed build dependency on intltool; can find no evidence of it being used * added library dependencies on gettext, zlib, json-glib, libxml2; switched lcms dependency to lcms2; the cmakelists check for all of these explicitly * used build.sh script * added patch to make build.sh only configure, not build * removed patch-src-common-exif.cc.diff which was included upstream * removed patch-darktablerc.diff which was added to fix a build failure which I cannot reproduce now * removed patch-src-iop-lens.c.diff because the line being patched has been changed in a different way upstream * removed patch-Werror.diff and patch-build-for-gcc46.diff because the files being patched no longer exist * simplified gcc46 variant * added gcc47 variant * updated gnome_keyring variant * removed gconf variant because darktable doesn't appear to be able to make use of gconf anymore * used require_active_variants in quartz and x11 variants * rewrote master_sites to avoid redirects * changed license from GPL-3 to GPL-3+ based on comments in headers of source files Since current distfiles are still on SourceForge and they have a separate web site, there appeared to be no advantage to indicating in the portfile that the code is hosted on github, so I didn't. I cannot get the port to build with any gcc variants; it fails with a zillion "no such instruction" errors. Nor can I build it with the +quartz variant because dependency gtk-engines2 does not build when pango is installed with +quartz. But I figured that a port that builds and runs with only a few of its variants is better than a port that does not build at all. We can file new tickets for any remaining issues. -- Ticket URL: <https://trac.macports.org/ticket/31374#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS