Ticket #46721: patch-hugin-app-2014.0.0-lensfun-0.3.0.diff
File patch-hugin-app-2014.0.0-lensfun-0.3.0.diff, 3.5 KB (added by dbevans (David B. Evans), 10 years ago) |
---|
-
Portfile
6 6 PortGroup wxWidgets 1.0 7 7 8 8 name hugin-app 9 version 2013.0.0 10 revision 7 9 version 2014.0.0 11 10 set branch [join [lrange [split ${version} .] 0 1] .] 12 11 categories graphics 13 12 maintainers nomaintainer … … 28 27 wxWidgets.use wxWidgets-3.0 29 28 30 29 depends_build-append port:pkgconfig 30 31 31 depends_lib port:boost \ 32 32 port:exiv2 \ 33 33 port:flann \ … … 40 40 port:libpng \ 41 41 port:libxml2 \ 42 42 port:openexr \ 43 port:p5.16-image-exiftool \ 43 44 port:swig-python \ 44 45 port:tclap \ 45 46 port:tiff \ … … 46 47 port:python27 \ 47 48 port:${wxWidgets.port} 48 49 50 depends_run port:enblend 49 51 52 post-extract { 53 # DOS to UNIX line endings. 54 reinplace -W ${worksrcpath} "s|\r||g" src/tools/ParseExp.cpp 55 } 56 50 57 # TODO dependencies: 51 58 # - freeglut or glut, the OpenGL utility toolkit 52 59 # - optionally, lapack … … 60 67 61 68 # TODO: try to see where MAC_SELF_CONTAINED_BUNDLE gets defined 62 69 63 # patch-src-foreign-vigra-vigra-cachedfileimage.hxx.patch - https://bugs.launchpad.net/bugs/121358664 # patch-src-foreign-zthread-include-zthread-Guard.h.diff - https://bugs.launchpad.net/bugs/121358565 70 # patch-src-hugin1-hugin1.pch.diff - moderately helps with compiler issues 66 patchfiles patch-src-foreign-vigra-vigra-cachedfileimage.hxx.patch \ 67 patch-src-foreign-zthread-include-zthread-Guard.h.diff \ 68 patch-src-hugin1-hugin1.pch.diff \ 69 patch-src-hugin1-icpfind-AutoCtrlPointCreator.cpp.diff 71 patchfiles-append patch-src-hugin1-hugin1.pch.diff 72 patchfiles-append patch-src-hugin1-icpfind-AutoCtrlPointCreator.cpp.diff 73 patchfiles-append patch-src-tools-ParseExp.cpp.diff 70 74 71 depends_run port:enblend \ 72 port:p5.16-image-exiftool 75 # patch-src-hugin_base-lensdb-LensDB.cpp.diff FOV1 model (enum LF_DIST_MODEL_FOV1) removed in lensfun 0.3.0 76 # see http://sourceforge.net/p/lensfun/code/ci/048eb3c4e562b8d3b00068f6f42c7900865d3358/ for rationale 77 patchfiles-append patch-src-hugin_base-lensdb-LensDB.cpp.diff 73 78 74 checksums rmd160 73261aa925d6284c6950c84fbfdd77e8b0a2ee7d \ 75 sha256 484e1ed58fa6fe4bae1f423967101549345bcca2653b992afbc0ed9ec0dbebd5 79 # fix recognition of lensfun during configure after upgrade to version 0.3.0. 76 80 81 post-patch { 82 reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/CMakeModules/FindLensfun.cmake 83 } 84 85 checksums rmd160 2184d85f2dd5ada20884bd80f2e4d18c99db294e \ 86 sha256 f098aa0ede44010d3bb2bb38693177533fd776c45063a338c4c483d7e471ec29 87 77 88 # Per the README: "Hugin can be compiled with gcc-4.4.4, gcc-4.5.1, and gcc-4.6" 78 89 compiler.blacklist gcc-* apple-gcc-* macports-gcc-4.2 macports-gcc-4.3 79 90 91 configure.env PATH="${prefix}/libexec/perl5.16:$env(PATH)" 92 80 93 # TODO: fix this 81 94 configure.args-append -DINSTALL_OSX_BUNDLE_DIR=${applications_dir} \ 82 95 -DPYTHON_EXECUTABLE=${frameworks_dir}/Python.framework/Versions/2.7/bin/python \