2021-02-23 19:39:08 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.72 2021/02/23 19:39:25 sthen Exp $
|
2012-12-21 18:50:37 +00:00
|
|
|
|
|
|
|
BROKEN-hppa = run dep on enblend-enfuse which will not build on hppa
|
2010-04-13 09:03:08 +00:00
|
|
|
|
2016-07-06 21:25:23 +00:00
|
|
|
COMMENT = panorama image stitcher
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
|
2021-01-30 10:05:43 +00:00
|
|
|
DISTNAME = hugin-2020.0.0
|
2016-07-06 21:25:23 +00:00
|
|
|
EXTRACT_SUFX = .tar.bz2
|
2010-05-29 01:23:55 +00:00
|
|
|
|
2011-03-02 08:30:27 +00:00
|
|
|
# not needed for releases, but makes RCs/betas easier to work with
|
2016-07-06 21:25:23 +00:00
|
|
|
PKGNAME = ${DISTNAME:S/_//:L}
|
|
|
|
WRKDIST = ${WRKDIR}/${DISTNAME:C/_.*//}
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
|
2019-01-21 17:35:34 +00:00
|
|
|
SHARED_LIBS += celeste 4.0
|
|
|
|
SHARED_LIBS += flann_cpp 4.0
|
2021-01-30 10:05:43 +00:00
|
|
|
SHARED_LIBS += huginbase 6.0
|
|
|
|
SHARED_LIBS += huginbasewx 5.0
|
2019-01-21 17:35:34 +00:00
|
|
|
SHARED_LIBS += icpfindlib 4.0
|
|
|
|
SHARED_LIBS += localfeatures 4.0
|
2021-01-30 10:05:43 +00:00
|
|
|
SHARED_LIBS += hugin_python_interface 4.0
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
|
2016-07-06 21:25:23 +00:00
|
|
|
CATEGORIES = graphics x11
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
|
2016-07-06 21:25:23 +00:00
|
|
|
HOMEPAGE = http://hugin.sourceforge.net/
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
|
2016-11-24 08:20:38 +00:00
|
|
|
MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
|
|
|
|
# GPLv2+
|
2019-07-12 20:46:54 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
|
2020-05-14 12:35:30 +00:00
|
|
|
WANTLIB += ${COMPILER_LIBCXX} GL GLEW GLU Half-2_5 Iex-2_5 IlmImf-2_5
|
|
|
|
WANTLIB += IlmThread-2_5 Imath-2_5 X11 boost_filesystem-mt boost_system-mt
|
2020-07-01 17:40:26 +00:00
|
|
|
WANTLIB += c exiv2 fftw3 jpeg lcms2 m pano13 png ${MODPY_WANTLIB} sqlite3
|
2019-11-10 15:32:55 +00:00
|
|
|
WANTLIB += tiff vigraimpex wx_baseu-3.0 wx_baseu_net-3.0 wx_baseu_xml-3.0
|
2019-01-02 12:44:06 +00:00
|
|
|
WANTLIB += wx_gtk3u_adv-3.0 wx_gtk3u_aui-3.0 wx_gtk3u_core-3.0
|
|
|
|
WANTLIB += wx_gtk3u_gl-3.0 wx_gtk3u_html-3.0 wx_gtk3u_qa-3.0 wx_gtk3u_xrc-3.0
|
|
|
|
WANTLIB += z
|
2014-01-14 04:20:20 +00:00
|
|
|
# lensfun is dlopened, so don't remove it from WANTLIB and LIB_DEPENDS
|
2019-01-02 12:44:06 +00:00
|
|
|
WANTLIB += lensfun
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=hugin/}
|
|
|
|
|
2019-05-20 22:15:00 +00:00
|
|
|
BUILD_DEPENDS = devel/gettext,-tools \
|
2016-11-24 08:20:38 +00:00
|
|
|
devel/swig>=2 \
|
2015-10-10 08:44:39 +00:00
|
|
|
graphics/p5-Image-ExifTool
|
2010-11-17 08:05:12 +00:00
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
|
|
graphics/enblend-enfuse \
|
|
|
|
graphics/p5-Image-ExifTool \
|
2013-08-20 22:05:46 +00:00
|
|
|
misc/shared-mime-info \
|
2016-11-24 08:20:38 +00:00
|
|
|
x11/gtk+3,-guic
|
2014-07-11 22:17:08 +00:00
|
|
|
RUN_DEPENDS += x11/py-wxPython # required for launching python scripts
|
2013-08-20 22:05:46 +00:00
|
|
|
|
2015-07-01 08:42:52 +00:00
|
|
|
LIB_DEPENDS = devel/boost>=1.58 \
|
2010-11-17 08:05:12 +00:00
|
|
|
graphics/exiv2>=0.12 \
|
|
|
|
graphics/glew \
|
2016-11-24 15:16:04 +00:00
|
|
|
graphics/lcms2 \
|
2015-10-10 08:44:39 +00:00
|
|
|
graphics/libpano13>=2.9.19 \
|
2014-01-14 04:20:20 +00:00
|
|
|
graphics/lensfun \
|
2016-11-24 08:20:38 +00:00
|
|
|
graphics/vigra \
|
2019-01-02 12:44:06 +00:00
|
|
|
x11/wxWidgets>=3.0.4
|
2010-10-20 15:32:40 +00:00
|
|
|
|
2017-05-28 19:29:27 +00:00
|
|
|
MODULES = devel/cmake lang/python
|
2017-11-16 23:20:37 +00:00
|
|
|
COMPILER = base-clang ports-gcc
|
2017-05-31 08:08:15 +00:00
|
|
|
|
2010-05-29 01:23:55 +00:00
|
|
|
CONFIGURE_ENV = MANDIR=man
|
2021-01-30 10:05:43 +00:00
|
|
|
CONFIGURE_ARGS += -DBUILD_HSI=ON \
|
|
|
|
-Wno-dev
|
2013-03-11 11:10:51 +00:00
|
|
|
NO_TEST = Yes
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
|
2014-07-11 22:17:08 +00:00
|
|
|
MODPY_ADJ_FILES = src/hugin_script_interface/hpi.py \
|
2014-07-11 21:25:23 +00:00
|
|
|
src/hugin_script_interface/plugins/shooting_pattern.py \
|
|
|
|
src/hugin_script_interface/plugins/woa.py \
|
|
|
|
src/hugin_script_interface/plugins/crop_cp.py \
|
|
|
|
src/hugin_script_interface/plugins/top_five.py \
|
2014-07-11 22:17:08 +00:00
|
|
|
src/hugin_script_interface/plugins-dev/dual_use.py \
|
|
|
|
src/hugin_script_interface/plugins-dev/plugin_skeleton.py
|
2014-07-11 21:25:23 +00:00
|
|
|
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
pre-patch:
|
2014-07-11 22:17:08 +00:00
|
|
|
rm ${WRKSRC}/CMakeModules/FindPNG.cmake
|
|
|
|
rm ${WRKSRC}/CMakeModules/FindGLEW.cmake
|
2015-10-10 08:44:39 +00:00
|
|
|
rm ${WRKSRC}/CMakeModules/FindZLIB.cmake
|
2010-05-29 01:23:55 +00:00
|
|
|
cd ${WRKSRC}/CMakeModules; perl -i -pe 's/\r$$//' `find . -type f` \
|
|
|
|
../src/CMakeLists.txt
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
|
2014-07-11 21:25:23 +00:00
|
|
|
post-install:
|
|
|
|
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
|
2015-10-10 08:44:39 +00:00
|
|
|
${PREFIX}/lib/python${MODPY_VERSION}/site-packages \
|
|
|
|
${PREFIX}/share/hugin/data/plugins/
|
import graphics/hugin: this port was made possible by Emmanuel Viaud's
work on enblend-enfuse, big thanks!
Goal: an easy to use cross-platform panoramic imaging toolchain
based on the Panorama Tools library.
With hugin you can assemble a mosaic of photographs into a
complete immersive panorama, stitch any series of overlapping
pictures and much more.
This package contains the following programs:
- hugin, The main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future).
- nona_gui, nona with a graphical progress bar.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
will be hooked to the build after tests on additional arch.
2009-04-19 11:18:40 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|