Bug 233491

Summary: graphics/osgearth: update to 2.10
Product: Ports & Packages Reporter: Loïc Bartoletti <lbartoletti>
Component: Individual Port(s)Assignee: Thomas Zander <riggs>
Status: Closed FIXED    
Severity: Affects Only Me CC: lbartoletti, riggs
Priority: --- Keywords: needs-qa, patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
osgearth 2.10
lbartoletti: maintainer-approval+
Patch including fix for i386 build
riggs: maintainer-approval? (lbartoletti)
osgearth with files none

Description Loïc Bartoletti freebsd_committer freebsd_triage 2018-11-25 07:24:49 UTC
Created attachment 199533 [details]
osgearth 2.10

Changelog:


    REX terrain engine promoted to default. Old MP engine is now in legacy support mode.
    Removed the osgEarthQt nodekit from the SDK, along with all Qt examples
    Cleanup of the internal serialization architecture (i.e. osgEarth::Config)
    Compatibility with OSG 3.6.x release/branch
    GL3 and GLCORE profile support
    VirtualProgram performance improvements
    New LineDrawable and PointDrawable classes for cross-GL-profile support
    Better progress/cancelation handling throughout the SDK, including feature subsystem
    Prototype support for ECI reference frames
    Support for “new” osgText implementation in VirtualProgram framework
    New ClusterNode utility class for clustering proximite objects
    Removed deprecations: MaskNode, Profiler, StateSetLOD, TileKeyDataStore, WrapperLayer, MarkerResource, MarkerSymbol, StencilVolumeNode, TritonNode, AnnotationEvents, PolyhedralLineOfSight, some CullingUtils objects

Ports change:
Remove useless OSGVERSION variable
OSGEARTH wants linux memalign and not posix_memalign... So I include FreeBSD with APPLE to define malloc as a memalign......
Comment 1 Thomas Zander freebsd_committer freebsd_triage 2018-12-01 17:32:33 UTC
This does not build on i386, patch proposal coming up ...
Comment 2 Thomas Zander freebsd_committer freebsd_triage 2018-12-01 17:34:18 UTC
Created attachment 199716 [details]
Patch including fix for i386 build
Comment 3 Loïc Bartoletti freebsd_committer freebsd_triage 2018-12-01 17:37:27 UTC
Created attachment 199717 [details]
osgearth with files

Sorry I forgot to add new files patch before made svn diff... my bad
Comment 4 Thomas Zander freebsd_committer freebsd_triage 2018-12-01 17:38:26 UTC
(In reply to Thomas Zander from comment #2)

The problem is that the build system blindly assumes that all x86 processors come with SSE. This is only applicable to amd64 systems where SSE2 is part of the minimal specification.
For IA32 this is not the case, and there are processors out there which do not support SSE (and we do have users using those CPUs). Hence, the default build for i386 must deactivate SSE, see extra-patch in attachment 199716 [details].
Comment 5 Thomas Zander freebsd_committer freebsd_triage 2018-12-01 18:04:18 UTC
(In reply to lbartoletti from comment #3)

No, the files you sent were fine. They just did not deal with the ia32 SSE problem. Can you check attachment 199716 [details] and let me know whether I can commit this or if something is missing?
Comment 6 Thomas Zander freebsd_committer freebsd_triage 2018-12-07 09:42:03 UTC
Ping
Comment 7 Loïc Bartoletti freebsd_committer freebsd_triage 2018-12-08 09:42:01 UTC
Thanks Thomas@

It's ok for me.
Comment 8 commit-hook freebsd_committer freebsd_triage 2018-12-09 07:40:15 UTC
A commit references this bug:

Author: riggs
Date: Sun Dec  9 07:39:31 UTC 2018
New revision: 487028
URL: https://svnweb.freebsd.org/changeset/ports/487028

Log:
  Update to upstream version 2.10

  Details:
  - Update to upstream version 2.10
  - Disable the unconditional dependency on SSE-optimized routines
    on i386, as it (1) results in build failures and (2) there are
    non-SSE-capable i386 CPUs in use in the FreeBSD community, thus
    the default package cannot depend on it.

  PR:		233491
  Submitted by:	lbartoletti@tuxfamily.org (maintainer)
  Reviewed by:	riggs

Changes:
  head/graphics/osgearth/Makefile
  head/graphics/osgearth/distinfo
  head/graphics/osgearth/files/extra-patch-i386
  head/graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_libdxt.cpp
  head/graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_util.h
  head/graphics/osgearth/pkg-plist
Comment 9 Thomas Zander freebsd_committer freebsd_triage 2018-12-09 07:56:56 UTC
Thanks!