svn commit: r498202 - in head/cad/openvsp: . files
Fernando Apesteguía
fernape at FreeBSD.org
Sat Apr 6 21:06:51 UTC 2019
Author: fernape
Date: Sat Apr 6 21:06:49 2019
New Revision: 498202
URL: https://svnweb.freebsd.org/changeset/ports/498202
Log:
cad/openvsp: update to 3.17.0
From the ChangeLog:
(http://openvsp.org/blogs/announcements/2019/03/28/openvsp-3-17-0-released)
Features:
* CHARM Python export scripts
* Transparent screenshots
* Border toggle in menu
* Improved show axis toggle
* Export structure surfaces to IGES and STEP
* Design lift coefficient support for four-digit airfoils
* Propeller definition by thickness and CLi distribution
* Calculate integrated design lift coefficient for props
* BEM files in terms of thickness and CLi distribution
* Feather axis and offset control for propeller
* Implicit disk model for propeller
* STL solid names include tag number
* Tag unintersected triangles for STL export
* Increase tessellation limits
* Option to export props at origin (unintersected STL and STEP/IGES)
* Batch evaluation of Bezier surface points and normals (faster refresh)
Fixes:
* Restore visualization of CFDMesh sources and wake
* Don't crash when BOR XSec changed to Bezier
* Don't crash when reading Lednicer airfoils
* Import v2 multi-section wings properly
* Make key-corner default for rounded rectangle
* Reverse props with shifted construction line built correctly
* Don't allow insertion of XSec at negative index from API
* Don't allow comma as decimal point marker; fixes file corruption.
* Fix writing excressence drag label to XML file
* Fix unexpected ResetRemapID in files with conformal geometry
Added:
head/cad/openvsp/files/patch-src_util_FileUtil.cpp (contents, props changed)
Modified:
head/cad/openvsp/Makefile
head/cad/openvsp/distinfo
Modified: head/cad/openvsp/Makefile
==============================================================================
--- head/cad/openvsp/Makefile Sat Apr 6 20:57:22 2019 (r498201)
+++ head/cad/openvsp/Makefile Sat Apr 6 21:06:49 2019 (r498202)
@@ -2,8 +2,7 @@
PORTNAME= openvsp
DISTVERSIONPREFIX= ${GH_PROJECT}_
-DISTVERSION= 3.16.2
-PORTREVISION= 2
+DISTVERSION= 3.17.0
CATEGORIES= cad
MAINTAINER= fernape at FreeBSD.org
Modified: head/cad/openvsp/distinfo
==============================================================================
--- head/cad/openvsp/distinfo Sat Apr 6 20:57:22 2019 (r498201)
+++ head/cad/openvsp/distinfo Sat Apr 6 21:06:49 2019 (r498202)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1542557819
-SHA256 (OpenVSP-OpenVSP-OpenVSP_3.16.2_GH0.tar.gz) = dc7b482651d4274078860a9f750037e0060f9e7343122c2ca14b73aca281bacf
-SIZE (OpenVSP-OpenVSP-OpenVSP_3.16.2_GH0.tar.gz) = 34458283
+TIMESTAMP = 1553966825
+SHA256 (OpenVSP-OpenVSP-OpenVSP_3.17.0_GH0.tar.gz) = ba34eb172d767503cf7e6434225a831662ab48c6a4707ed3fdc4af7ee4343646
+SIZE (OpenVSP-OpenVSP-OpenVSP_3.17.0_GH0.tar.gz) = 35052877
Added: head/cad/openvsp/files/patch-src_util_FileUtil.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/cad/openvsp/files/patch-src_util_FileUtil.cpp Sat Apr 6 21:06:49 2019 (r498202)
@@ -0,0 +1,31 @@
+--- src/util/FileUtil.cpp.orig 2019-03-28 20:30:27 UTC
++++ src/util/FileUtil.cpp
+@@ -19,7 +19,9 @@
+ #include <pwd.h>
+ #endif
+
++#include <libgen.h>
+
++
+ vector< string > ScanFolder( const char* dir_path )
+ {
+ vector< string > file_vec;
+@@ -107,9 +109,18 @@ bail:
+
+ string PathToExe()
+ {
++
+ int bufsize = 255;
+ char *path = NULL;
+ bool done = false;
++
++ char temp[PATH_MAX];
++ char exepath[PATH_MAX];
++
++ ::snprintf(temp, sizeof(temp),"/proc/curproc/file");
++ ::realpath(temp, exepath);
++
++ return dirname(exepath);
+
+ // Pre-loop initialization.
+ #ifdef WIN32
More information about the svn-ports-all
mailing list