hugin: updated to 2020.0 Hugin 2020.0 * Fixes fast preview on HiDPI screens under GTK+3 and MacOS. * Make fast preview screen zoomable with mouse wheel. * Make hugin_hdrmerge aware of cropped intermediate images. * Several improvements for command line tools (pto_var, pto_move, pto_gen, autooptimiser). * More checks in GUI for strange user input.diff -r1.109 -r1.110 pkgsrc/graphics/hugin/Makefile
(adam)
@@ -1,52 +1,56 @@ | @@ -1,52 +1,56 @@ | |||
1 | # $NetBSD: Makefile,v 1.109 2021/01/01 08:24:45 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.110 2021/01/09 21:17:37 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= hugin-2019.2.0 | 3 | DISTNAME= hugin-2020.0.0 | |
4 | PKGREVISION= 11 | |||
5 | CATEGORIES= graphics | 4 | CATEGORIES= graphics | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hugin/} | 5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hugin/} | |
7 | EXTRACT_SUFX= .tar.bz2 | 6 | EXTRACT_SUFX= .tar.bz2 | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://hugin.sourceforge.net/ | 9 | HOMEPAGE= http://hugin.sourceforge.net/ | |
11 | COMMENT= Panorama photo stitcher | 10 | COMMENT= Panorama photo stitcher | |
12 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
13 | 12 | |||
14 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} | 13 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} | |
15 | 14 | |||
16 | DEPENDS+= p5-Image-ExifTool>=8.15:../../graphics/p5-Image-ExifTool | 15 | DEPENDS+= p5-Image-ExifTool>=8.15:../../graphics/p5-Image-ExifTool | |
17 | 16 | |||
18 | USE_CMAKE= yes | 17 | USE_CMAKE= yes | |
19 | USE_LANGUAGES= c c++ | 18 | USE_LANGUAGES= c c++ | |
20 | USE_TOOLS+= msgfmt pkg-config | 19 | USE_TOOLS+= msgfmt pkg-config | |
21 | CONFIGURE_ENV+= MANDIR=${PKGMANDIR} | 20 | CONFIGURE_ENV+= MANDIR=${PKGMANDIR} | |
21 | CONFIGURE_DIRS= ${WRKDIR}/build | |||
22 | CMAKE_ARG_PATH= ${WRKSRC} | |||
22 | 23 | |||
23 | CMAKE_ARGS+= -DBUILD_HSI=ON | 24 | CMAKE_ARGS+= -DBUILD_HSI=ON | |
24 | 25 | |||
25 | PY_PATCHPLIST= yes | 26 | PY_PATCHPLIST= yes | |
26 | REPLACE_PYTHON+= src/hugin_script_interface/*.py | 27 | REPLACE_PYTHON+= src/hugin_script_interface/*.py | |
27 | REPLACE_PYTHON+= src/hugin_script_interface/plugins/*.py | 28 | REPLACE_PYTHON+= src/hugin_script_interface/plugins/*.py | |
28 | REPLACE_PYTHON+= src/hugin_script_interface/plugins-dev/*.py | 29 | REPLACE_PYTHON+= src/hugin_script_interface/plugins-dev/*.py | |
29 | 30 | |||
30 | SUBST_CLASSES+= apple | 31 | SUBST_CLASSES+= apple | |
31 | SUBST_MESSAGE.apple= Avoiding Mac OS X application bundles | 32 | SUBST_MESSAGE.apple= Avoiding Mac OS X application bundles | |
32 | SUBST_STAGE.apple= pre-configure | 33 | SUBST_STAGE.apple= pre-configure | |
33 | SUBST_FILES.apple= src/hugin1/hugin/CMakeLists.txt | 34 | SUBST_FILES.apple= src/hugin1/hugin/CMakeLists.txt | |
34 | SUBST_FILES.apple+= src/hugin1/calibrate_lens/CMakeLists.txt | 35 | SUBST_FILES.apple+= src/hugin1/calibrate_lens/CMakeLists.txt | |
35 | SUBST_FILES.apple+= src/hugin1/icpfind/CMakeLists.txt | 36 | SUBST_FILES.apple+= src/hugin1/icpfind/CMakeLists.txt | |
36 | SUBST_FILES.apple+= src/hugin1/ptbatcher/CMakeLists.txt | 37 | SUBST_FILES.apple+= src/hugin1/ptbatcher/CMakeLists.txt | |
37 | SUBST_FILES.apple+= src/hugin1/stitch_project/CMakeLists.txt | 38 | SUBST_FILES.apple+= src/hugin1/stitch_project/CMakeLists.txt | |
38 | SUBST_SED.apple= -e 's,(APPLE),(ELPPA),g' | 39 | SUBST_SED.apple= -e 's,(APPLE),(ELPPA),g' | |
39 | 40 | |||
41 | post-extract: | |||
42 | ${MKDIR} ${WRKDIR}/build | |||
43 | ||||
40 | .include "../../mk/bsd.prefs.mk" | 44 | .include "../../mk/bsd.prefs.mk" | |
41 | 45 | |||
42 | .include "../../databases/sqlite3/buildlink3.mk" | 46 | .include "../../databases/sqlite3/buildlink3.mk" | |
43 | .include "../../devel/boost-headers/buildlink3.mk" | 47 | .include "../../devel/boost-headers/buildlink3.mk" | |
44 | .include "../../devel/boost-libs/buildlink3.mk" | 48 | .include "../../devel/boost-libs/buildlink3.mk" | |
45 | .include "../../devel/swig2/buildlink3.mk" | 49 | .include "../../devel/swig2/buildlink3.mk" | |
46 | .include "../../devel/tclap/buildlink3.mk" | 50 | .include "../../devel/tclap/buildlink3.mk" | |
47 | .include "../../graphics/exiv2/buildlink3.mk" | 51 | .include "../../graphics/exiv2/buildlink3.mk" | |
48 | .include "../../graphics/glew/buildlink3.mk" | 52 | .include "../../graphics/glew/buildlink3.mk" | |
49 | .if ${OPSYS} != "Darwin" | 53 | .if ${OPSYS} != "Darwin" | |
50 | .include "../../graphics/freeglut/buildlink3.mk" | 54 | .include "../../graphics/freeglut/buildlink3.mk" | |
51 | .endif | 55 | .endif | |
52 | .include "../../graphics/gnome-icon-theme/buildlink3.mk" | 56 | .include "../../graphics/gnome-icon-theme/buildlink3.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.13 2020/01/03 18:15:21 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.14 2021/01/09 21:17:37 adam Exp $ | |
2 | bin/PTBatcherGUI | 2 | bin/PTBatcherGUI | |
3 | bin/align_image_stack | 3 | bin/align_image_stack | |
4 | bin/autooptimiser | 4 | bin/autooptimiser | |
5 | bin/calibrate_lens_gui | 5 | bin/calibrate_lens_gui | |
6 | bin/celeste_standalone | 6 | bin/celeste_standalone | |
7 | bin/checkpto | 7 | bin/checkpto | |
8 | bin/cpclean | 8 | bin/cpclean | |
9 | bin/cpfind | 9 | bin/cpfind | |
10 | bin/deghosting_mask | 10 | bin/deghosting_mask | |
11 | bin/fulla | 11 | bin/fulla | |
12 | bin/geocpset | 12 | bin/geocpset | |
13 | bin/hugin | 13 | bin/hugin | |
14 | bin/hugin_executor | 14 | bin/hugin_executor | |
@@ -45,45 +45,43 @@ man/man1/align_image_stack.1 | @@ -45,45 +45,43 @@ man/man1/align_image_stack.1 | |||
45 | man/man1/autooptimiser.1 | 45 | man/man1/autooptimiser.1 | |
46 | man/man1/calibrate_lens_gui.1 | 46 | man/man1/calibrate_lens_gui.1 | |
47 | man/man1/celeste_standalone.1 | 47 | man/man1/celeste_standalone.1 | |
48 | man/man1/checkpto.1 | 48 | man/man1/checkpto.1 | |
49 | man/man1/cpclean.1 | 49 | man/man1/cpclean.1 | |
50 | man/man1/cpfind.1 | 50 | man/man1/cpfind.1 | |
51 | man/man1/deghosting_mask.1 | 51 | man/man1/deghosting_mask.1 | |
52 | man/man1/fulla.1 | 52 | man/man1/fulla.1 | |
53 | man/man1/geocpset.1 | 53 | man/man1/geocpset.1 | |
54 | man/man1/hugin.1 | 54 | man/man1/hugin.1 | |
55 | man/man1/hugin_executor.1 | 55 | man/man1/hugin_executor.1 | |
56 | man/man1/hugin_hdrmerge.1 | 56 | man/man1/hugin_hdrmerge.1 | |
57 | man/man1/hugin_lensdb.1 | 57 | man/man1/hugin_lensdb.1 | |
58 | man/man1/hugin_stacker.1 | |||
58 | man/man1/hugin_stitch_project.1 | 59 | man/man1/hugin_stitch_project.1 | |
59 | man/man1/icpfind.1 | 60 | man/man1/icpfind.1 | |
60 | man/man1/linefind.1 | 61 | man/man1/linefind.1 | |
61 | man/man1/nona.1 | 62 | man/man1/nona.1 | |
62 | man/man1/pano_modify.1 | 63 | man/man1/pano_modify.1 | |
63 | man/man1/pano_trafo.1 | 64 | man/man1/pano_trafo.1 | |
64 | man/man1/pto_gen.1 | 65 | man/man1/pto_gen.1 | |
65 | man/man1/pto_lensstack.1 | 66 | man/man1/pto_lensstack.1 | |
66 | man/man1/pto_mask.1 | 67 | man/man1/pto_mask.1 | |
67 | man/man1/pto_merge.1 | 68 | man/man1/pto_merge.1 | |
68 | man/man1/pto_move.1 | 69 | man/man1/pto_move.1 | |
69 | man/man1/pto_template.1 | 70 | man/man1/pto_template.1 | |
70 | man/man1/pto_var.1 | 71 | man/man1/pto_var.1 | |
71 | man/man1/tca_correct.1 | 72 | man/man1/tca_correct.1 | |
72 | man/man1/verdandi.1 | 73 | man/man1/verdandi.1 | |
73 | man/man1/vig_optimize.1 | 74 | man/man1/vig_optimize.1 | |
74 | share/appdata/PTBatcherGUI.appdata.xml | |||
75 | share/appdata/calibrate_lens_gui.appdata.xml | |||
76 | share/appdata/hugin.appdata.xml | |||
77 | share/applications/PTBatcherGUI.desktop | 75 | share/applications/PTBatcherGUI.desktop | |
78 | share/applications/calibrate_lens_gui.desktop | 76 | share/applications/calibrate_lens_gui.desktop | |
79 | share/applications/hugin.desktop | 77 | share/applications/hugin.desktop | |
80 | share/applications/pto_gen.desktop | 78 | share/applications/pto_gen.desktop | |
81 | share/hugin/data/blended_stacks.executor | 79 | share/hugin/data/blended_stacks.executor | |
82 | share/hugin/data/celeste.model | 80 | share/hugin/data/celeste.model | |
83 | share/hugin/data/default.setting | 81 | share/hugin/data/default.setting | |
84 | share/hugin/data/duallens.assistant | 82 | share/hugin/data/duallens.assistant | |
85 | share/hugin/data/expressions.ini | 83 | share/hugin/data/expressions.ini | |
86 | share/hugin/data/fused_layers.executor | 84 | share/hugin/data/fused_layers.executor | |
87 | share/hugin/data/hdr_pano.executor | 85 | share/hugin/data/hdr_pano.executor | |
88 | share/hugin/data/hugin_exiftool_copy.arg | 86 | share/hugin/data/hugin_exiftool_copy.arg | |
89 | share/hugin/data/hugin_exiftool_final_example.arg | 87 | share/hugin/data/hugin_exiftool_final_example.arg | |
@@ -555,27 +553,27 @@ share/hugin/xrc/images_panel.xrc | @@ -555,27 +553,27 @@ share/hugin/xrc/images_panel.xrc | |||
555 | share/hugin/xrc/import_raw_dialog.xrc | 553 | share/hugin/xrc/import_raw_dialog.xrc | |
556 | share/hugin/xrc/lenscal_frame.xrc | 554 | share/hugin/xrc/lenscal_frame.xrc | |
557 | share/hugin/xrc/lensdb_dialogs.xrc | 555 | share/hugin/xrc/lensdb_dialogs.xrc | |
558 | share/hugin/xrc/main_frame.xrc | 556 | share/hugin/xrc/main_frame.xrc | |
559 | share/hugin/xrc/main_menu.xrc | 557 | share/hugin/xrc/main_menu.xrc | |
560 | share/hugin/xrc/main_tool.xrc | 558 | share/hugin/xrc/main_tool.xrc | |
561 | share/hugin/xrc/mask_editor_panel.xrc | 559 | share/hugin/xrc/mask_editor_panel.xrc | |
562 | share/hugin/xrc/optimize_panel.xrc | 560 | share/hugin/xrc/optimize_panel.xrc | |
563 | share/hugin/xrc/optimize_photo_panel.xrc | 561 | share/hugin/xrc/optimize_photo_panel.xrc | |
564 | share/hugin/xrc/pano_panel.xrc | 562 | share/hugin/xrc/pano_panel.xrc | |
565 | share/hugin/xrc/pref_dialog.xrc | 563 | share/hugin/xrc/pref_dialog.xrc | |
566 | share/hugin/xrc/preview_frame.xrc | 564 | share/hugin/xrc/preview_frame.xrc | |
567 | share/hugin/xrc/reset_dialog.xrc | 565 | share/hugin/xrc/reset_dialog.xrc | |
568 | share/icons/gnome/48x48/mimetypes/gnome-mime-application-x-ptoptimizer-script.png | 566 | share/icons/gnome/48x48/mimetypes/application-x-ptoptimizer-script.png | |
569 | share/icons/hicolor/128x128/apps/hugin.png | 567 | share/icons/hicolor/128x128/apps/hugin.png | |
570 | share/icons/hicolor/128x128/apps/ptbatcher.png | 568 | share/icons/hicolor/128x128/apps/ptbatcher.png | |
571 | share/icons/hicolor/16x16/apps/hugin.png | 569 | share/icons/hicolor/16x16/apps/hugin.png | |
572 | share/icons/hicolor/16x16/apps/ptbatcher.png | 570 | share/icons/hicolor/16x16/apps/ptbatcher.png | |
573 | share/icons/hicolor/256x256/apps/hugin.png | 571 | share/icons/hicolor/256x256/apps/hugin.png | |
574 | share/icons/hicolor/256x256/apps/ptbatcher.png | 572 | share/icons/hicolor/256x256/apps/ptbatcher.png | |
575 | share/icons/hicolor/32x32/apps/hugin.png | 573 | share/icons/hicolor/32x32/apps/hugin.png | |
576 | share/icons/hicolor/32x32/apps/ptbatcher.png | 574 | share/icons/hicolor/32x32/apps/ptbatcher.png | |
577 | share/icons/hicolor/48x48/apps/hugin.png | 575 | share/icons/hicolor/48x48/apps/hugin.png | |
578 | share/icons/hicolor/48x48/apps/ptbatcher.png | 576 | share/icons/hicolor/48x48/apps/ptbatcher.png | |
579 | share/icons/hicolor/scalable/apps/hugin.svg | 577 | share/icons/hicolor/scalable/apps/hugin.svg | |
580 | share/icons/hicolor/scalable/apps/ptbatcher.svg | 578 | share/icons/hicolor/scalable/apps/ptbatcher.svg | |
581 | share/locale/ca_ES/LC_MESSAGES/hugin.mo | 579 | share/locale/ca_ES/LC_MESSAGES/hugin.mo | |
@@ -590,14 +588,17 @@ share/locale/fi/LC_MESSAGES/hugin.mo | @@ -590,14 +588,17 @@ share/locale/fi/LC_MESSAGES/hugin.mo | |||
590 | share/locale/fr/LC_MESSAGES/hugin.mo | 588 | share/locale/fr/LC_MESSAGES/hugin.mo | |
591 | share/locale/hu/LC_MESSAGES/hugin.mo | 589 | share/locale/hu/LC_MESSAGES/hugin.mo | |
592 | share/locale/it/LC_MESSAGES/hugin.mo | 590 | share/locale/it/LC_MESSAGES/hugin.mo | |
593 | share/locale/ja/LC_MESSAGES/hugin.mo | 591 | share/locale/ja/LC_MESSAGES/hugin.mo | |
594 | share/locale/nl/LC_MESSAGES/hugin.mo | 592 | share/locale/nl/LC_MESSAGES/hugin.mo | |
595 | share/locale/pl/LC_MESSAGES/hugin.mo | 593 | share/locale/pl/LC_MESSAGES/hugin.mo | |
596 | share/locale/pt_BR/LC_MESSAGES/hugin.mo | 594 | share/locale/pt_BR/LC_MESSAGES/hugin.mo | |
597 | share/locale/ro/LC_MESSAGES/hugin.mo | 595 | share/locale/ro/LC_MESSAGES/hugin.mo | |
598 | share/locale/ru/LC_MESSAGES/hugin.mo | 596 | share/locale/ru/LC_MESSAGES/hugin.mo | |
599 | share/locale/sk/LC_MESSAGES/hugin.mo | 597 | share/locale/sk/LC_MESSAGES/hugin.mo | |
600 | share/locale/sv/LC_MESSAGES/hugin.mo | 598 | share/locale/sv/LC_MESSAGES/hugin.mo | |
601 | share/locale/zh_CN/LC_MESSAGES/hugin.mo | 599 | share/locale/zh_CN/LC_MESSAGES/hugin.mo | |
602 | share/locale/zh_TW/LC_MESSAGES/hugin.mo | 600 | share/locale/zh_TW/LC_MESSAGES/hugin.mo | |
601 | share/metainfo/PTBatcherGUI.appdata.xml | |||
602 | share/metainfo/calibrate_lens_gui.appdata.xml | |||
603 | share/metainfo/hugin.appdata.xml | |||
603 | share/mime/packages/hugin.xml | 604 | share/mime/packages/hugin.xml |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | $NetBSD: distinfo,v 1.23 2020/01/03 18:15:21 adam Exp $ | 1 | $NetBSD: distinfo,v 1.24 2021/01/09 21:17:37 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (hugin-2019.2.0.tar.bz2) = e91bfbb286d0d5f40cd93ecb961eb55a37f3f5bb | 3 | SHA1 (hugin-2020.0.0.tar.bz2) = 20e39ab82e1d8208a7eee2f216ab1271c95f583f | |
4 | RMD160 (hugin-2019.2.0.tar.bz2) = d16c364779a48451b3b222a0dd0efa46535e6ddc | 4 | RMD160 (hugin-2020.0.0.tar.bz2) = 499c24bf2dd0eb0b1e223183004dd00f9ced61c2 | |
5 | SHA512 (hugin-2019.2.0.tar.bz2) = 2ddfe7468a474c385ef66a88c3a5a2491183765ae431e5044f504d2e95ec3cb99c0b97b98dda282ba7950f6f2001f46b2f2ea39b9025718c2a329dea967685c1 | 5 | SHA512 (hugin-2020.0.0.tar.bz2) = 4c55767c630ea03faf359bda606e5e9e7709a47ab41e821772da8c6da0cf658b1d31d7d8e96ea1c41ec61bdeb2da8c86c92b5d6964a9301732a13137178ec04e | |
6 | Size (hugin-2019.2.0.tar.bz2) = 10335030 bytes | 6 | Size (hugin-2020.0.0.tar.bz2) = 10371301 bytes | |
7 | SHA1 (patch-CMakeLists.txt) = b5c72651a150e4c3c095f670eaaeabcb4b4c5749 | 7 | SHA1 (patch-CMakeLists.txt) = 94e087f3eeab899a6dad701cc4d8a95414a980df | |
8 | SHA1 (patch-CMakeModules_FindPNG.cmake) = 811fd3cf6f819b31129e1560cd8acd1f7ee6defc | 8 | SHA1 (patch-CMakeModules_FindPNG.cmake) = 811fd3cf6f819b31129e1560cd8acd1f7ee6defc | |
9 | SHA1 (patch-doc_deghosting_mask.pod) = fe5462b10966420b0cf3fab004854d9dab3bfb4f | 9 | SHA1 (patch-doc_deghosting_mask.pod) = fe5462b10966420b0cf3fab004854d9dab3bfb4f | |
10 | SHA1 (patch-src_hugin1_base__wx_wxPanoCommand.cpp) = d5bf8f747ae86338e728c472d3dc04bf4c84f182 | 10 | SHA1 (patch-src_hugin1_base__wx_wxPanoCommand.cpp) = d5bf8f747ae86338e728c472d3dc04bf4c84f182 | |
11 | SHA1 (patch-src_hugin1_calibrate__lens_LensCalFrame.cpp) = 9b815a681317cb19880e7bb6ef170bc14d01b28b | 11 | SHA1 (patch-src_hugin1_calibrate__lens_LensCalFrame.cpp) = 9b815a681317cb19880e7bb6ef170bc14d01b28b | |
12 | SHA1 (patch-src_hugin1_hugin_CPEditorPanel.cpp) = d373c00d4783b3edc1bad5a67339163a0c23d8c5 | 12 | SHA1 (patch-src_hugin1_hugin_CPEditorPanel.cpp) = d373c00d4783b3edc1bad5a67339163a0c23d8c5 | |
13 | SHA1 (patch-src_hugin1_hugin_GLPreviewFrame.cpp) = fda8db4abf3ab10332d4309c90f0ef4f845c76a6 | 13 | SHA1 (patch-src_hugin1_hugin_GLPreviewFrame.cpp) = 0b1396f4a45a5ab6529c0b8c64ff291a021226c4 | |
14 | SHA1 (patch-src_hugin1_ptbatcher_BatchFrame.cpp) = 51ce24f1eb99cc5c0151758299eb1ecc34128171 | 14 | SHA1 (patch-src_hugin1_ptbatcher_BatchFrame.cpp) = 51ce24f1eb99cc5c0151758299eb1ecc34128171 | |
15 | SHA1 (patch-src_hugin__script__interface_hsi.i) = b11a52579fd12fdf7c51fef63049d285cb2b52e1 | 15 | SHA1 (patch-src_hugin__script__interface_hsi.i) = b11a52579fd12fdf7c51fef63049d285cb2b52e1 | |
16 | SHA1 (patch-src_tools_align_image_stack.cpp) = fc2759f0722365d4c5339c5c8bc1eda1a6bf7a71 | 16 | SHA1 (patch-src_tools_align_image_stack.cpp) = fc2759f0722365d4c5339c5c8bc1eda1a6bf7a71 | |
17 | SHA1 (patch-src_tools_tca__correct.cpp) = 73a86d3086336f168de5fb1cc02378a3ecc43104 | 17 | SHA1 (patch-src_tools_tca__correct.cpp) = 73a86d3086336f168de5fb1cc02378a3ecc43104 |
@@ -1,31 +1,20 @@ | @@ -1,31 +1,20 @@ | |||
1 | $NetBSD: patch-CMakeLists.txt,v 1.6 2020/01/03 18:15:21 adam Exp $ | 1 | $NetBSD: patch-CMakeLists.txt,v 1.7 2021/01/09 21:17:37 adam Exp $ | |
2 | 2 | |||
3 | Do not make an application bundle on OS X. | 3 | Do not make an application bundle on OS X. | |
4 | 4 | |||
5 | --- CMakeLists.txt.orig 2019-12-15 15:44:00.000000000 +0000 | 5 | --- CMakeLists.txt.orig 2020-12-12 11:09:15.000000000 +0000 | |
6 | +++ CMakeLists.txt | 6 | +++ CMakeLists.txt | |
7 | @@ -2,10 +2,6 @@ | 7 | @@ -558,16 +558,6 @@ IF (APPLE) | |
8 | # require at least cmake 3.8 | |||
9 | cmake_minimum_required(VERSION 3.8 FATAL_ERROR ) | |||
10 | ||||
11 | -# prevent in-tree building | |||
12 | -if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") | |||
13 | - message(FATAL_ERROR "In-source builds are not allowed.") | |||
14 | -endif() | |||
15 | ||||
16 | if(COMMAND cmake_policy) | |||
17 | cmake_policy(SET CMP0003 NEW) | |||
18 | @@ -557,16 +553,6 @@ IF (APPLE) | |||
19 | ENDIF (NOT MAC_SELF_CONTAINED_BUNDLE) | 8 | ENDIF (NOT MAC_SELF_CONTAINED_BUNDLE) | |
20 | ENDIF (APPLE) | 9 | ENDIF (APPLE) | |
21 | 10 | |||
22 | -IF (HUGIN_SHARED AND UNIX AND NOT APPLE) | 11 | -IF (HUGIN_SHARED AND UNIX AND NOT APPLE) | |
23 | - SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIBDIR}/hugin") | 12 | - SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIBDIR}/hugin") | |
24 | - SET(HUGIN_LIBS_PRIVATE_DIR "1" CACHE INTERNAL "Store internal | 13 | - SET(HUGIN_LIBS_PRIVATE_DIR "1" CACHE INTERNAL "Store internal | |
25 | - libraries in private subdirectory" ) | 14 | - libraries in private subdirectory" ) | |
26 | -ELSE () | 15 | -ELSE () | |
27 | - # On OS X files are moved around after make install, do not try to use | 16 | - # On OS X files are moved around after make install, do not try to use | |
28 | - # rpath or CMAKE_INSTALL_NAME_DIR | 17 | - # rpath or CMAKE_INSTALL_NAME_DIR | |
29 | - SET(HUGIN_LIBS_PRIVATE_DIR "0" CACHE INTERNAL "Store internal | 18 | - SET(HUGIN_LIBS_PRIVATE_DIR "0" CACHE INTERNAL "Store internal | |
30 | - libraries in private subdirectory" ) | 19 | - libraries in private subdirectory" ) | |
31 | -ENDIF() | 20 | -ENDIF() |
@@ -1,24 +1,24 @@ | @@ -1,24 +1,24 @@ | |||
1 | $NetBSD: patch-src_hugin1_hugin_GLPreviewFrame.cpp,v 1.2 2016/11/06 16:08:00 adam Exp $ | 1 | $NetBSD: patch-src_hugin1_hugin_GLPreviewFrame.cpp,v 1.3 2021/01/09 21:17:37 adam Exp $ | |
2 | 2 | |||
3 | Re-order includes to fix building. | 3 | Re-order includes to fix building. | |
4 | 4 | |||
5 | --- src/hugin1/hugin/GLPreviewFrame.cpp.orig 2016-02-28 08:18:00.000000000 +0000 | 5 | --- src/hugin1/hugin/GLPreviewFrame.cpp.orig 2020-10-27 17:24:30.000000000 +0000 | |
6 | +++ src/hugin1/hugin/GLPreviewFrame.cpp | 6 | +++ src/hugin1/hugin/GLPreviewFrame.cpp | |
7 | @@ -41,6 +41,8 @@ | 7 | @@ -35,6 +35,8 @@ | |
8 | #include "panoinc_WX.h" | |||
9 | #include "panoinc.h" | 8 | #include "panoinc.h" | |
9 | #include <wx/msgdlg.h> | |||
10 | 10 | |||
11 | +#include "vigra_ext/InterestPoints.h" | 11 | +#include "vigra_ext/InterestPoints.h" | |
12 | +#include "vigra_ext/Correlation.h" | 12 | +#include "vigra_ext/Correlation.h" | |
13 | #include "base_wx/platform.h" | 13 | #include "base_wx/platform.h" | |
14 | #include "base_wx/wxPlatform.h" | 14 | #include "base_wx/wxPlatform.h" | |
15 | #include "base_wx/LensTools.h" | 15 | #include "base_wx/LensTools.h" | |
16 | @@ -65,8 +67,6 @@ | 16 | @@ -59,8 +61,6 @@ | |
17 | #include "hugin/PanoOperation.h" | 17 | #include "hugin/PanoOperation.h" | |
18 | #include "hugin/PanoOutputDialog.h" | 18 | #include "hugin/PanoOutputDialog.h" | |
19 | #include "base_wx/PTWXDlg.h" | 19 | #include "base_wx/PTWXDlg.h" | |
20 | -#include "vigra_ext/InterestPoints.h" | 20 | -#include "vigra_ext/InterestPoints.h" | |
21 | -#include "vigra_ext/Correlation.h" | 21 | -#include "vigra_ext/Correlation.h" | |
22 | #include "algorithms/control_points/CleanCP.h" | 22 | #include "algorithms/control_points/CleanCP.h" | |
23 | #include "hugin_utils/openmp_lock.h" | 23 | #include "hugin_utils/openmp_lock.h" | |
24 | 24 |