git: 89e361eaf7bb - main - x11-toolkits/pangolin: Update 0.6 -> 0.8

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 03 May 2022 23:34:38 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89e361eaf7bb74357a88eb099cb11f00ae5515b8

commit 89e361eaf7bb74357a88eb099cb11f00ae5515b8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-03 23:32:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-03 23:34:27 +0000

    x11-toolkits/pangolin: Update 0.6 -> 0.8
    
    Reported by:    portscout
---
 x11-toolkits/pangolin/Makefile                     |  6 +-
 x11-toolkits/pangolin/distinfo                     |  6 +-
 ...-components_pango__core_src_threadedfilebuf.cpp | 13 +++
 .../pangolin/files/patch-src_utils_file__utils.cpp | 10 ---
 x11-toolkits/pangolin/pkg-plist                    | 98 +++++++++++++++-------
 5 files changed, 87 insertions(+), 46 deletions(-)

diff --git a/x11-toolkits/pangolin/Makefile b/x11-toolkits/pangolin/Makefile
index 4705c3985504..4bad93658ed1 100644
--- a/x11-toolkits/pangolin/Makefile
+++ b/x11-toolkits/pangolin/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	pangolin
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.6
-PORTREVISION=	1
+DISTVERSION=	0.8
 CATEGORIES=	x11-toolkits
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -16,7 +15,8 @@ LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
 		libtiff.so:graphics/tiff \
 		libzstd.so:archivers/zstd
 
-USES=		cmake compiler:c++14-lang gl jpeg pkgconfig
+USES=		cmake compiler:c++14-lang eigen:3 gl jpeg pkgconfig xorg
+USE_XORG=	ice sm x11 xext
 USE_GL=		gl glew glu
 USE_LDCONFIG=	yes
 
diff --git a/x11-toolkits/pangolin/distinfo b/x11-toolkits/pangolin/distinfo
index 44e2141a8b53..6a4f12719a8c 100644
--- a/x11-toolkits/pangolin/distinfo
+++ b/x11-toolkits/pangolin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1619343921
-SHA256 (stevenlovegrove-Pangolin-v0.6_GH0.tar.gz) = 2fe0f7242bee9b7241a73d17878fe25179f22b07a18d02dec069e4c90890e9d5
-SIZE (stevenlovegrove-Pangolin-v0.6_GH0.tar.gz) = 661164
+TIMESTAMP = 1651619295
+SHA256 (stevenlovegrove-Pangolin-v0.8_GH0.tar.gz) = a680d1b52cd432f93f3359cb8f2179b25acf384d29dbaa2530b2eb3dfe5a81c6
+SIZE (stevenlovegrove-Pangolin-v0.8_GH0.tar.gz) = 694204
diff --git a/x11-toolkits/pangolin/files/patch-components_pango__core_src_threadedfilebuf.cpp b/x11-toolkits/pangolin/files/patch-components_pango__core_src_threadedfilebuf.cpp
new file mode 100644
index 000000000000..312976592ff4
--- /dev/null
+++ b/x11-toolkits/pangolin/files/patch-components_pango__core_src_threadedfilebuf.cpp
@@ -0,0 +1,13 @@
+- workaround for https://github.com/stevenlovegrove/Pangolin/issues/760
+
+--- components/pango_core/src/threadedfilebuf.cpp.orig	2022-05-03 23:10:42 UTC
++++ components/pango_core/src/threadedfilebuf.cpp
+@@ -32,6 +32,8 @@
+ #include <cstring>
+ #include <stdexcept>
+ 
++#include <sys/stat.h>
++
+ #ifdef USE_POSIX_FILE_IO
+ #include <unistd.h>
+ #include <fcntl.h>
diff --git a/x11-toolkits/pangolin/files/patch-src_utils_file__utils.cpp b/x11-toolkits/pangolin/files/patch-src_utils_file__utils.cpp
deleted file mode 100644
index dd2b62b50e01..000000000000
--- a/x11-toolkits/pangolin/files/patch-src_utils_file__utils.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/utils/file_utils.cpp.orig	2020-11-17 16:53:53 UTC
-+++ src/utils/file_utils.cpp
-@@ -54,6 +54,7 @@
- #include <algorithm>
- #include <sstream>
- #include <list>
-+#include <climits>
- 
- namespace pangolin
- {
diff --git a/x11-toolkits/pangolin/pkg-plist b/x11-toolkits/pangolin/pkg-plist
index af7cbd1ba6ae..9ffd5dd1040d 100644
--- a/x11-toolkits/pangolin/pkg-plist
+++ b/x11-toolkits/pangolin/pkg-plist
@@ -3,30 +3,33 @@ bin/VideoConvert
 bin/VideoJsonPrint
 bin/VideoJsonTransform
 bin/VideoViewer
+include/NaturalSort/LICENSE.md
+include/NaturalSort/README.md
+include/NaturalSort/natural_sort.hpp
+include/dynalo/detail/config.hpp
+include/dynalo/detail/linux/dynalo.hpp
+include/dynalo/detail/macos/dynalo.hpp
+include/dynalo/detail/windows/dynalo.hpp
+include/dynalo/dynalo.hpp
+include/dynalo/symbol_helper.hpp
 include/pangolin/compat/glutbitmap.h
-include/pangolin/compat/optional.h
 include/pangolin/compat/type_traits.h
-include/pangolin/compat/variant.h
-include/pangolin/config.h
-include/pangolin/console/ConsoleInterpreter.h
 include/pangolin/console/ConsoleView.h
+include/pangolin/console/InterpreterInterface.h
 include/pangolin/display/attach.h
-include/pangolin/display/device/OsxWindow.h
-include/pangolin/display/device/PangolinNSApplication.h
-include/pangolin/display/device/PangolinNSGLView.h
-include/pangolin/display/device/WinWindow.h
-include/pangolin/display/device/X11GlContext.h
-include/pangolin/display/device/X11Window.h
-include/pangolin/display/device/display_android.h
+include/pangolin/display/default_font.h
 include/pangolin/display/display.h
-include/pangolin/display/display_internal.h
+include/pangolin/display/display.hpp
 include/pangolin/display/image_view.h
-include/pangolin/display/opengl_render_state.h
+include/pangolin/display/process.h
 include/pangolin/display/user_app.h
 include/pangolin/display/view.h
-include/pangolin/display/viewport.h
-include/pangolin/display/widgets/widgets.h
-include/pangolin/display/window.h
+include/pangolin/display/widgets.h
+include/pangolin/factory/RegisterFactoriesVideoInterface.h
+include/pangolin/factory/RegisterFactoriesVideoOutputInterface.h
+include/pangolin/factory/RegisterFactoriesWindowInterface.h
+include/pangolin/factory/factory.h
+include/pangolin/factory/factory_help.h
 include/pangolin/factory/factory_registry.h
 include/pangolin/geometry/geometry.h
 include/pangolin/geometry/geometry_obj.h
@@ -52,8 +55,9 @@ include/pangolin/gl/glstate.h
 include/pangolin/gl/gltext.h
 include/pangolin/gl/gltexturecache.h
 include/pangolin/gl/glvbo.h
+include/pangolin/gl/opengl_render_state.h
+include/pangolin/gl/viewport.h
 include/pangolin/handler/handler.h
-include/pangolin/handler/handler_enums.h
 include/pangolin/handler/handler_glbuffer.h
 include/pangolin/handler/handler_image.h
 include/pangolin/image/copy.h
@@ -64,9 +68,8 @@ include/pangolin/image/image_utils.h
 include/pangolin/image/managed_image.h
 include/pangolin/image/memcpy.h
 include/pangolin/image/pixel_format.h
+include/pangolin/image/shared_image.h
 include/pangolin/image/typed_image.h
-include/pangolin/ios/PangolinAppDelegate.h
-include/pangolin/ios/PangolinUIView.h
 include/pangolin/log/packet.h
 include/pangolin/log/packetstream.h
 include/pangolin/log/packetstream_reader.h
@@ -78,13 +81,9 @@ include/pangolin/log/sync_time.h
 include/pangolin/pangolin.h
 include/pangolin/platform.h
 include/pangolin/plot/datalog.h
+include/pangolin/plot/loaders/csv_table_loader.h
+include/pangolin/plot/loaders/table_loader.h
 include/pangolin/plot/plotter.h
-include/pangolin/plot/range.h
-include/pangolin/python/pyinterpreter.h
-include/pangolin/python/pypangoio.h
-include/pangolin/python/pypangolin_init.h
-include/pangolin/python/pyuniqueobj.h
-include/pangolin/python/pyvar.h
 include/pangolin/scene/axis.h
 include/pangolin/scene/interactive.h
 include/pangolin/scene/interactive_index.h
@@ -94,26 +93,31 @@ include/pangolin/scene/tree.h
 include/pangolin/tools/video_viewer.h
 include/pangolin/utils/argagg.hpp
 include/pangolin/utils/assert.h
+include/pangolin/utils/avx_math.h
+include/pangolin/utils/bitmask.h
 include/pangolin/utils/compontent_cast.h
 include/pangolin/utils/file_extension.h
 include/pangolin/utils/file_utils.h
 include/pangolin/utils/fix_size_buffer_queue.h
 include/pangolin/utils/format_string.h
+include/pangolin/utils/is_streamable.h
 include/pangolin/utils/log.h
 include/pangolin/utils/memstreambuf.h
+include/pangolin/utils/param_set.h
 include/pangolin/utils/params.h
 include/pangolin/utils/parse.h
 include/pangolin/utils/picojson.h
 include/pangolin/utils/posix/condition_variable.h
 include/pangolin/utils/posix/semaphore.h
 include/pangolin/utils/posix/shared_memory_buffer.h
-include/pangolin/utils/registration.h
+include/pangolin/utils/range.h
 include/pangolin/utils/signal_slot.h
 include/pangolin/utils/sigstate.h
 include/pangolin/utils/simple_math.h
 include/pangolin/utils/threadedfilebuf.h
 include/pangolin/utils/timer.h
 include/pangolin/utils/transform.h
+include/pangolin/utils/true_false_toggle.h
 include/pangolin/utils/type_convert.h
 include/pangolin/utils/uri.h
 include/pangolin/utils/variadic_all.h
@@ -122,9 +126,9 @@ include/pangolin/utils/xml/rapidxml.hpp
 include/pangolin/utils/xml/rapidxml_iterators.hpp
 include/pangolin/utils/xml/rapidxml_print.hpp
 include/pangolin/utils/xml/rapidxml_utils.hpp
-include/pangolin/var/input_record_repeat.h
 include/pangolin/var/var.h
 include/pangolin/var/varextra.h
+include/pangolin/var/varinit.h
 include/pangolin/var/varstate.h
 include/pangolin/var/varvalue.h
 include/pangolin/var/varvaluegeneric.h
@@ -134,12 +138,16 @@ include/pangolin/video/drivers/debayer.h
 include/pangolin/video/drivers/deinterlace.h
 include/pangolin/video/drivers/depthsense.h
 include/pangolin/video/drivers/ffmpeg.h
+include/pangolin/video/drivers/ffmpeg_common.h
+include/pangolin/video/drivers/ffmpeg_convert.h
+include/pangolin/video/drivers/ffmpeg_output.h
 include/pangolin/video/drivers/firewire.h
+include/pangolin/video/drivers/gamma.h
 include/pangolin/video/drivers/images.h
 include/pangolin/video/drivers/images_out.h
 include/pangolin/video/drivers/join.h
 include/pangolin/video/drivers/merge.h
-include/pangolin/video/drivers/mirror.h
+include/pangolin/video/drivers/mjpeg.h
 include/pangolin/video/drivers/openni.h
 include/pangolin/video/drivers/openni2.h
 include/pangolin/video/drivers/openni_common.h
@@ -147,7 +155,6 @@ include/pangolin/video/drivers/pack.h
 include/pangolin/video/drivers/pango.h
 include/pangolin/video/drivers/pango_video_output.h
 include/pangolin/video/drivers/pleora.h
-include/pangolin/video/drivers/pvn.h
 include/pangolin/video/drivers/realsense.h
 include/pangolin/video/drivers/realsense2.h
 include/pangolin/video/drivers/shared_memory.h
@@ -156,6 +163,7 @@ include/pangolin/video/drivers/split.h
 include/pangolin/video/drivers/teli.h
 include/pangolin/video/drivers/test.h
 include/pangolin/video/drivers/thread.h
+include/pangolin/video/drivers/transform.h
 include/pangolin/video/drivers/truncate.h
 include/pangolin/video/drivers/unpack.h
 include/pangolin/video/drivers/uvc.h
@@ -166,13 +174,43 @@ include/pangolin/video/stream_encoder_factory.h
 include/pangolin/video/stream_info.h
 include/pangolin/video/video.h
 include/pangolin/video/video_exception.h
+include/pangolin/video/video_help.h
 include/pangolin/video/video_input.h
 include/pangolin/video/video_interface.h
 include/pangolin/video/video_output.h
 include/pangolin/video/video_output_interface.h
 include/pangolin/video/video_record_repeat.h
+include/pangolin/windowing/EmscriptenWindow.h
+include/pangolin/windowing/OsxWindow.h
+include/pangolin/windowing/PangolinNSApplication.h
+include/pangolin/windowing/PangolinNSGLView.h
+include/pangolin/windowing/WinWindow.h
+include/pangolin/windowing/X11GlContext.h
+include/pangolin/windowing/X11Window.h
+include/pangolin/windowing/display_android.h
+include/pangolin/windowing/handler_bitsets.h
+include/pangolin/windowing/handler_enums.h
+include/pangolin/windowing/window.h
+include/sigslot/LICENCE
+include/sigslot/README.md
+include/sigslot/signal.hpp
+include/tinyobj/tiny_obj_loader.h
 lib/cmake/Pangolin/PangolinConfig.cmake
 lib/cmake/Pangolin/PangolinConfigVersion.cmake
 lib/cmake/Pangolin/PangolinTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/Pangolin/PangolinTargets.cmake
-lib/libpangolin.so
+lib/libpango_core.so
+lib/libpango_display.so
+lib/libpango_geometry.so
+lib/libpango_glgeometry.so
+lib/libpango_image.so
+lib/libpango_opengl.so
+lib/libpango_packetstream.so
+lib/libpango_plot.so
+lib/libpango_python.so
+lib/libpango_scene.so
+lib/libpango_tools.so
+lib/libpango_vars.so
+lib/libpango_video.so
+lib/libpango_windowing.so
+lib/libtinyobj.so