Commit graph

22 commits

Author SHA1 Message Date
Piotr Kubaj
a67a5042f1 cad/openvsp: fix build on non-x86
Don't use amd64 code on all 64-bit architectures.
Include sys/param.h because of:
/usr/local/poudriere/ports/default/cad/openvsp/work/OpenVSP-OpenVSP_3.19.0/src/util/FileUtil.cpp:118:18: error: 'PATH_MAX' was not declared in this scope
  118 |     char exepath[PATH_MAX];
      |                  ^~~~~~~~

PR:		242235
Approved by:	fernape (maintainer), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D22576
2019-11-27 19:56:26 +00:00
Piotr Kubaj
a5a5f16ac1 cad/openvsp: fix build on arm*
-mimplicit-it=always breaks build on arm*. Remove it to fix build.

PR:		241427
Reviewed by:	fernape (maintainer), linimon (mentor)
2019-10-27 19:21:13 +00:00
Fernando Apesteguía
37904ce32a cad/openvsp: update to 3.17.1
Removing one patch accepted upstream.

ChangeLog:
http://openvsp.org/blogs/announcements/2019/07/08/openvsp-3-17-1-released

Features:

 * Calculate average and weighted chord and solidity for props
 * Expand API coverage
 * Improve CMake to help FLTK build on Linux
 * Add names to exported STEP files.

Library Update:

 * Update GLM to 0.9.9.5

Fixes:

 * Fix skin friction equations
 * Multiple FEA GUI Fixes
 * Don't assume FEA skin is first component
 * IGES Structure Parm Name Collision (Thanks Jim Fenbert)
 * STEP Structure missing options
 * Overlapping Prop XSecs
 * Register missing attachment enums w/ API
 * Protect 4-dig airfoils from out of bounds parms
 * Improve ResetRemapID behavior
 * Fix problems with prop and file airfoils
 * Add missing GUI handling of read-file XSecs for body of revolution
 * Silence a bunch of warnings
 * Use equal arc len parameterization for super ellipses
2019-07-12 15:39:25 +00:00
Fernando Apesteguía
a7a2d3a5aa 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
2019-04-06 21:06:49 +00:00
Fernando Apesteguía
9bca322f57 cad/openvsp: Unbreak port
Port was broken after last compilers updates in 11 and 12.
Clang is now able to compile the port but we need to patch as_callfunc_x86.cpp
unconditionally, otherwise clang complains (or dies, depending on the version)
with:

this directive must appear between .cfi_startproc and .cfi_endproc directives

Also use localbase to simplify flags handling.

Reported by:	pkg-fallout
2018-11-17 18:08:10 +00:00
Adriaan de Groot
74c0e748b9 Update CMake to 3.10.1
- https://blog.kitware.com/cmake-3-10-1-available-for-download/
   - flang support
   - changes to automoc policies
   - support for FreeBSD package generation with CPack

Necessary fixes to other ports:
 - cad/openvsp make search for libxml explicit
 - math/scalapack force C compiler to be compatible with mpi
 - deskutils/kdepim4 fix incorrect sources list
 - www/qt5-webkit fix incorrect sources list

Thanks to Antoine for the multiple exp-runs.

PR:		223872
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D13210
2017-12-23 10:44:23 +00:00
Carlos J. Puga Medina
910590f711 cad/openvsp: fix build on CURRENT
- Pet portlint, USE_* comes before USES
- Bump PORTREVISION

On -CURRENT, gcc can not compile cad/openvsp. We switch to clang but need an
additional patch in the port, otherwise clang 5.0.0 r312293 and earlier crashes.

This patch will be removed if/when clang compiles clean the port.

This update is based on a patch by dim@

For details, see: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221588

PR:		222001
Submitted by:	Fernando Apesteguia <fernando.apesteguia@gmail.com> (maintainer)
2017-09-05 23:49:46 +00:00
Jason E. Hale
3c8c48233d Update to 3.13.1
PR:		221204
Submitted by:	<fernando.apesteguia@gmail.com> (maintainer)
2017-08-04 08:44:56 +00:00
Torsten Zuehlsdorff
79e7b8fdbd cad/openvsp: Update from 3.12.1 to 3.13.0
Features:
 - Update VSPAERO to v4.1 -- unsteady formulation and lots of fixes
 - Update VSPAERO integration to support v4.1
 - Add ellipsoid geom type
 - Add von Karman-Trefftz airfoil type
 - Add CST Airfoils to Fuselage and Stack

Bug Fixes:
 - Fix bugs in parasite drag
 - Fix split surface problem for IGES/STEP export
 - Fix VSPAERO rotor induced velocity terms
 - Fix VSPAERO integration issues
 - Simplify file insert to avoid crashes
 - Fix bug where DisplayNames sometimes don't get updated

Changelog: https://github.com/OpenVSP/OpenVSP/releases/tag/OpenVSP_3.13.0

PR:           220951
Submitted by: fernando.apesteguia@gmail.com
2017-07-27 13:41:31 +00:00
Matthew Seaman
00726a224d Update to 3.12.1
Update cad/openvsp to 3.12.1 _and_ unbreak cad/openvsp. The recent
update to eigen3 broke cad/openvsp (since it is used directly) and
graphics/code-eli that is a dependency of cad/openvsp.

Until there is a fix for code-eli change the port to use the internal
eigen3 and code-eli packages bundled in the distribution.

In addition, one of the local patches was accepted upstream and is no
longer necessary.

From the announcement:

Features:
 - Parasite drag buildup tool
 - Full control of VSPAERO from OpenVSP GUI
 - DegenGeom preview visualization
 - Advanced control surface modeling

Bug Fixes:
 - Advanced links not loading from file with 'Loop' policy geoms
 - Crash conformal components with some file airfoils
 - CompGeom when subsurfaces fall on tessellation line
 - DegenGeom handling of tip caps with blended wings
 - CustomGeom name matching GUI mismatch

PR:		220212
Submitted by:	fernando.apesteguia@gmail.com (maintainer)
2017-06-23 07:03:30 +00:00
Mathieu Arnold
aa1ca03dda Remove svn keywords from patches.
Sponsored by:	Absolight
2017-05-15 15:38:56 +00:00
Wen Heping
7c3215b4fc - Update to 3.11.0
PR:		217764
Submitted by:	fernando.apesteguia@gmail.com(maintainer)
2017-03-30 12:09:08 +00:00
Bartek Rutkowski
b205a8d7af cad/openvsp: update 3.9.1 -> 3.10.0
PR:		215951
Submitted by:	Fernando Apesteguia <fernando.apesteguia@gmail.com> (maintainer)
MFH:		2017Q1
2017-01-11 14:08:55 +00:00
Dmitry Marakasov
57724d5317 - Update to 3.9.1
PR:		212430
Submitted by:	fernando.apesteguia@gmail.com (maintainer)
2016-09-16 23:41:23 +00:00
Pawel Pekala
8094b849a0 Update to version 3.9.0
Features:
 - VSPAERO v3.0 - Panel method, batch runs, control surfaces, much more
 - Improved VSPAERO integration
 - One-Axis Kinematic Joint (Hinge/Slider)
 - Group Transformation/Scale -- Thanks Alex Gary
 - 2D AutoCad Export of feature lines

Bug Fixes:
 - Change to Geom type name lookup instead of type ID number
 - Fix Python API
 - Fix VarPresets API to built-in scripting

PR:		212131
Submitted by:	maintainer
2016-08-25 16:54:32 +00:00
Jason Unovitch
249938aafe cad/openvsp: update 3.5.2 -> 3.6.0
Changes:	http://openvsp.org/blogs/announcements/2016/05/06/openvsp-3-6-0-released

PR:		209436
Submitted by:	fernando.apesteguia@gmail.com
2016-05-12 14:07:23 +00:00
Kurt Jaeger
eed40caab8 cad/openvsp: Fix build on i386
PR:		208904
Submitted by:	fernando.apesteguia@gmail.com (maintainer)
2016-04-22 17:15:02 +00:00
Kurt Jaeger
2140691265 cad/openvsp: 2.3.0 -> 3.5.2
Changes:
- Latest:
  http://openvsp.org/blogs/announcements/2016/02/14/openvsp-3-5-2-released
- all older release notes are in
  http://openvsp.org/blogs/
- no longer includes example aircraft files, now seperatly available at
  http://hangar.openvsp.org/
- Needs some math functions, so no luck on 9.x or i386

PR:		208904
Submitted by:	Fernando Apesteguia <fernando.apesteguia@gmail.com> (maintainer)
2016-04-22 09:50:42 +00:00
Raphael Kubo da Costa
36d06b0a1f Add patches to fix the build on FreeBSD 11 with libc++.
OpenVSP does something like this:
  using namespace std;
  class array {
    ...
  };

Which causes the build to fail with HEAD's libc++. Even though the port does
not use -std=c++11, libc++ still declares an array class that conflicts with
the one OpenVSP has.

Enclose OpenVSP's array declaration in a namespace to avoid these conflicts.

PR:		207253
Approved by:	fernando.apesteguia@gmail.com (maintainer)
2016-02-25 22:21:37 +00:00
Tijl Coosemans
3b7bd0a149 Fix problems with missing libs when the linker enforces explicit linking
(a* to d* categories)

PR:		192062
2014-08-10 19:50:23 +00:00
Tijl Coosemans
1bdb2146ca Update to version 2.2.3.
PR:		ports/177849
Submitted by:	Fernando <fernando.apesteguia@gmail.com> (maintainer)
Feature safe:	yes
2013-04-16 20:19:19 +00:00
Pawel Pekala
b9c8e3ecb7 NASA Open Source Parametric Geometry
OpenVSP allows the user to create a 3D model of an aircraft defined by
common engineering parameters. This model can be processed into
formats suitable for engineering analysis.

WWW: http://www.openvsp.org/

PR:		ports/166825
Submitted by:	Fernando Apesteguia <fernando.apesteguia@gmail.com>
2012-04-22 12:06:12 +00:00