SHA256
10
0
forked from pool/sfcgal

32 Commits

Author SHA256 Message Date
ca69e59e8a Fix the boost1_85.diff name
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=45
2025-03-17 12:07:50 +00:00
8371735de2 - update minimum boost to 1.72
- use %ctest

- update to version 2.0.0 (2024-10-10):
  + New Features (Feat)
    - !348: Rewrite VTK export like OBJ one (Loïc Bartoletti)
    - !347: Add translate method to C API (Loïc Bartoletti)
    - !345: Add scale method to Transform (Loïc Bartoletti)
    - !344: Add rotate method to Transform (Loïc Bartoletti)
    - !342: Add Buffer3D functionality (Loïc Bartoletti)
    - !341: Add partitioning algorithm using Straight Skeleton (Loïc Bartoletti)
    - !340: Add Minkowski Sum 3D (Loïc Bartoletti)
    - !339: Add a Cylinder (3D) Class (Loïc Bartoletti)
    - !338: Add a Sphere (3D) Class (Loïc Bartoletti)
    - !334: Add OBJ export functionality to SFCGAL (Loïc Bartoletti)
  + Bug Fixes (Fix)
    - !354: Ensure null termination in geometry_as_text functions (sfcgal_capi) (Loïc Bartoletti)
    - !352: Fix test MinkowskiSum3D (Loïc Bartoletti)
    - !351: Fix vcpkg build (Loïc Bartoletti)
    - !349: Fix build for clang18, missing includes (Loïc Bartoletti)
    - !346: Add missing SFCGAL_API for VTK and OBJ headers (exportDll) (Loïc Bartoletti)
  + Improvements (Improve/Update)
    - !374: Add the MultiSolid class to the C API
    - !366: Add missing pre-condition in C API (Raphaël Delhome)
    - !364: Fix warnings and apply clang-tidy fix (Loïc Bartoletti)
    - !358: Improve Buffer3D tests resilience for cross-platform compatibility (Loïc Bartoletti)
    - !337: Improve error message for Straight Skeleton (Loïc Bartoletti)
    - !331: Generalize PolyhedralSurface constructor with template (Loïc Bartoletti)
    - !325: Compatibility with CGAL 6.0 and 5.6 (Sebastien Loriot)
  + Continuous Integration (CI)

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=44
2025-03-17 11:51:16 +00:00
f687b4dc27 fix build
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=42
2024-04-29 10:52:37 +00:00
4c23e46658 Accepting request 1137803 from home:bruno_friedmann:branches:Application:Geo
With the newer dependencies, no ideas how this can be handle on 15.5,6
cgal 5.6 with build enable for 15.6 needs to be activated on App:Geo 
- Set minimal version for libboost to 1.70 which is required by cgal 5.6
- Update to version 1.5.1
  * Rewrite and fix visibility algorithm (Loïc Bartoletti)
  * Apply clang-tidy fixes (Loïc Bartoletti)
  * Add vcpkg CI and temporarily disable alpha-shapes for MSVC (Loïc Bartoletti)
- Update to version 1.5.0
  * Add visibility algorithms (Loïc Bartoletti)
  * Straight Skeleton: Add a version with extrusion
  * WKT: Fix triangle code (Loïc Bartoletti)
  * Allow to disable GMPXX (Loïc Bartoletti, Fixes #249 and #252)
  * Add polygon partition (Raphaël Delhome, Loïc Bartoletti)
  * Minor typo correction (Regina Obe, #280)
  * Remove CGAL unit test (Fix #257, Loïc Bartoletti)
  * [C API] Add sfcgal_point_create_from_xyzm and
    sfcgal_point_create_from_xym functions (Loïc Bartoletti #274)
  * Update CI and add FreeBSD, macOs CI (Loïc Bartoletti)
  * Minors fixes (Loïc Bartoletti #269 and #270)
  * Remove useless garden tests (Loïc Bartoletti)
  * Fix SPDX-License-Identifier (Loïc Bartoletti reported
    by Bas Couwenberg #250)
  * NOTE: This is the first release on GitLab/SFCGAL space.
  * SFCGAL has now a dedicated space outside Oslandia one:
    https://gitlab.com/SFCGAL/.
- Packaging
  + Update copyright year
  + Remove previous disable_invalid_cgal_test.patch no more needed
  + Update upstream website and source
  + Update package licence sfcgal is lgpl 2+ not gpl

OBS-URL: https://build.opensuse.org/request/show/1137803
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=40
2024-01-10 09:54:44 +00:00
cdcc4d786e Accepting request 1040466 from science
- Reduce _constraints to actual lower bound, limit number of
  jobs with memory_per_job and limit_build macro.
- Remove some unused build dependencies.

OBS-URL: https://build.opensuse.org/request/show/1040466
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=38
2022-12-06 17:24:22 +00:00
9c451b4e7f - Disable i586 build which failed with both gcc and clang
https://gitlab.com/Oslandia/SFCGAL/-/issues/258
  https://gitlab.com/Oslandia/SFCGAL/-/issues/259
- Remove unused -D calls
- Lower physical memory constraint to 8GB but keep global memory
  to 16GB

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=36
2022-08-03 09:26:23 +00:00
f0ec6fe1c6 - Apply upstream fix by removing bundled CGAL test
see https://gitlab.com/Oslandia/SFCGAL/-/merge_requests/279

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=35
2022-07-26 13:35:53 +00:00
32589905f3 - Use gcc for i586 and limit the number of worker (upstream)
so we can lower again _constraint.

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=29
2022-04-15 06:14:24 +00:00
d3da656243 - Introduce disable_invalid_cgal_test.patch to disable tests
failing with CGAL 5.4 on openSUSE.

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=28
2022-04-08 17:07:14 +00:00
5887307ab7 Accepting request 955589 from home:bruno_friedmann:branches:Application:Geo
- Update to version 1.4.1
  + Add alpha-shapes algorithm
  + Fix build and tests for MSYS2/MinGW
  + Modernize code
  + Remove patches for Boost 1.60.0
  + Fix isPlane3d
  + Fix ST_StraightSkeleton returns degenerate line segments. $
    Add a new parameter `toleranceAbs`
  + Add tests for issues #133 and #153
  + Add ccache, and improve CI
- Packaging
  + Remove FIX_excess-x87-precision.patch upstream has solve the
    problem by using another approach.
  + Remove sfcgal-rpmlintrc not used anymore.
  + Update copyright year
  + Review for submiting to factory

OBS-URL: https://build.opensuse.org/request/show/955589
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=25
2022-02-21 15:37:02 +00:00
54cc203395 Accepting request 944027 from home:bruno_friedmann:branches:Application:Geo
- Update to version 1.4.0
  + Use officially documented CGAL functions.
    SFCGAL requires CGAL >= 5.3.
  + Fix compilation issue with CGAL 5.3
  + Add sfcgal_full_version with SFCGAL, CGAL and Boost
  + Add include <CGAL/version_macros.h> to build tests with CGAL 4.12
- packaging
  + removed merged patch f929b291d4efe9b780812677fd523d2431519fcf.patch
    upstream_issue#242.patch
  + Adjust CGAL requirement >= 5.3 available onyl for TW
  + Added FIX_excess-x87-precision.patch fixing failed testing
    under i586

With the new cgal 5.3 requirement sfcgal will not be available
for older Leap.

OBS-URL: https://build.opensuse.org/request/show/944027
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=24
2022-01-06 07:53:07 +00:00
499be72fe1 fix build
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=23
2021-08-23 23:12:41 +00:00
0ce4ce702c Accepting request 887165 from home:bruno_friedmann:branches:Application:Geo
- Update to bugfix version 1.3.10
  + fix support of CGAL 5.2
  + Add upstream_issue#242.patch to build and execute tests
- spec update license year

- Packaging remove gcc/clang conditionnal build. clang 11 fix

OBS-URL: https://build.opensuse.org/request/show/887165
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=22
2021-04-22 06:46:38 +00:00
94d3c420e4 Accepting request 849285 from home:bruno_friedmann:branches:Application:Geo
- Renew source with fixed upstream 1.3.9 tar.gz
  + Delete prepare_version_139_missing.patch (merged upstream)
- Packaging remove gcc/clang conditionnal build. clang 11 fix 
  building for all arch.

OBS-URL: https://build.opensuse.org/request/show/849285
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=21
2020-11-20 07:15:41 +00:00
d5c0a4813e Accepting request 841464 from home:bruno_friedmann:branches:Application:Geo
- Update to version 1.3.9
  + Source moved to gitlab (new development home)
  + Fix build with CGAL 5.1
- Packaging
  + refresh copyright and Requires order with spec-cleaner
  + add prepare_version_139_missing.patch
  + suppress unused fdupe
  + build tests and use them but only on x86 plateform
  + Replace defective clang10 on non x86 plateform

OBS-URL: https://build.opensuse.org/request/show/841464
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=20
2020-10-13 12:56:25 +00:00
9e8157fea1 Accepting request 819358 from home:bruno_friedmann:branches:Application:Geo
- Update to version 1.3.8
  + This is the last release on Github. Oslandia migrates from GitHub to GitLab:
  https://oslandia.com/en/2020/06/19/en-oslandia-migrates-from-github-to-gitlab/
  Next iteration of package will be based on gitlab.
  + Changes:
   * Fix CMake scripts so that SFCGAL_USE_STATIC_LIBS works properly again
   * Fix for divide by zero error in triangulatePolygon3D
   * Replace of auto_ptr with unique_ptr and move to c++14
   * Add implementation of Geometry::operator=
   * Fix CGAL v4.7 compatibility
   * add pkg-config descriptor file
   * Remove libtoolize
   * Add point_m and is_measured to c api
   * Fix SFCGAL with CGAL 5 (and GMPXX issues)
   * Add covers and covers3D to c api
   * Add documentation to SFCGAL::algorithm::extrude
   * Add 3D linear referencing / LineSubString and Fix built with MSCV 14 
     and export to C API
   * Fix CAPI export symbol for windows
   * Update and fix documentation #138

OBS-URL: https://build.opensuse.org/request/show/819358
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=19
2020-07-09 08:23:21 +00:00
a3dc7f81fe Accepting request 800452 from home:bruno_friedmann:branches:Application:Geo
- After fixing repository for openscrenegraph, use pkgconfig form
  for buildrequires

OBS-URL: https://build.opensuse.org/request/show/800452
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=18
2020-05-06 05:28:42 +00:00
b069297b75 Accepting request 732685 from home:bruno_friedmann:branches:Application:Geo
- Update to version 1.3.7
  + Fix compilation with CGAL 4.14 fix #188
  + Build Triangulation even with intersecting constraint edges
  + Fix C API headers
- Previous release
  + 1.3.6
    + Get rid of boost date_time dependency
    + Fix some implicit switch/case fallthrough
    + Sync with CGAL 4.13 and prepare for CGAL 4.14
    + Fix a memory leak in extrude C API (fix #179)
    + Remove Nef polyhedra inclusion
    + Intersection: Fix lexicographic order of coordinates (fix #171)
  + 1.3.5 : Fix 1.3.4 link issues
  + 1.3.4 Fix postgis build issue. fix wrong version number in 1.3.3
  + 1.3.3 Fix compilation + tests with cgal 4.11 (bogus version)
  + 1.3.2 Fix compilation with minimal needed CGAL 4.10
- Packaging
  + spec-cleaner to renew the spec
  + Fix build error with clang -ftlo flag to nil
  + Remove unsupported flag in clang -frounding-math
  + Remove obsolete build condition
  + Remove obsolete BuildRequires, adjust minimal version
  + Remove 5c495ce.patch merged upstream
  + Modify source url to have %{name}-%{version} as tar.gz
  + Use libOpenSceneGraph-devel pkgconfig form doesn't resolv for 15.1
  + Don't use restricted x86-64 form of cmake


- Packaging :
   Add an option to straight skeleton to return the distance to

OBS-URL: https://build.opensuse.org/request/show/732685
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=17
2019-09-23 14:23:05 +00:00
62a2ab9b2b Accepting request 575376 from home:bruno_friedmann:branches:Application:Geo
- Packaging :
  + Add BuildRequires Mesa-libGL-devel not autoresolved in Leap 15
  + Add 5c495ce.patch Fix build when CGAL is compiled with GMPXX
  + Remove -fstack-clash-protection existing on 42.3 %cmake macro.
    But clang doesn't know this flag (Fix 42.3 builds)
  + Order cmake -D

OBS-URL: https://build.opensuse.org/request/show/575376
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=16
2018-02-12 08:07:59 +00:00
5898212311 Accepting request 533846 from home:bruno_friedmann:branches:Application:Geo
Find a new version of sfcgal 
*** Review and comment carefully ***
Due to upstream lack of resources, they are not able to provide
one tarball that build and work with both cgal 4.7 and 4.10.1+.
The idea behind this submission is fixing TW build (cgal 4.11)
and have still a working one for Leap.
sfcgal need to be fixed to have other upgrade like postgis build.

For Leap sfcgal 1.3.1 is build, while for TW 1.3.2 is build.

- Update to 1.3.2 version but only for Tumbleweed.
  + Fixes for building with cgal 4.10.1+
- Update to 1.3.1 version but only for Leap 42.
  + Add a SFCGAL-osg library for OSG specific functions
    Fix C API geometry_is_planar
    Fix Doxygen script
- Packaging :
  + Use %if around version to have a build on both case Leap & TW
  + sfcgal upstream 1.3.2 build only with cgal 4.10.1+ target TW
  + sfcgal upstream 1.3.1 build only with cgal < 4.10 target Leap
  + Remove conditionnal -fpie flag for 13.1
  + Remove merged patch upstream_fixes_post130.patch
  + Add missing libboost-*-devel for TW
  + Add -fpie for clang linker

OBS-URL: https://build.opensuse.org/request/show/533846
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=15
2017-10-16 08:46:08 +00:00
03f9616dbd Accepting request 456902 from home:bruno_friedmann:branches:Application:Geo
- Packaging : 
  + Add withosgd to exclude arch problematic with openscenegraph
    for the moment only i586 and x86_64 are build with.
  + Add upstream_fixes_post130.patch to be able to choose when we
    depend on openscenegraph.
  + Change for TW the new boost-devel way

OBS-URL: https://build.opensuse.org/request/show/456902
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=14
2017-02-13 22:06:06 +00:00
746e9c8f12 Accepting request 393991 from Application:Geo:Staging
New bugfix upstream release

OBS-URL: https://build.opensuse.org/request/show/393991
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=13
2016-05-06 08:16:15 +00:00
1c0038bc08 Accepting request 372807 from Application:Geo:Staging
- bypass bug 927268 for PowerPC if clang is used above in place of 
  gcc. Fix powerpc builds
  see also https://llvm.org/bugs/show_bug.cgi?id=22248

OBS-URL: https://build.opensuse.org/request/show/372807
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=11
2016-03-14 15:14:34 +00:00
Angelos Tzotsos
61e194de10 Accepting request 372768 from Application:Geo:Staging
Added CMAKE Flags to fix failing build for 13.2 (where C++ is hardcoded in the macro)

OBS-URL: https://build.opensuse.org/request/show/372768
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=10
2016-03-14 12:20:16 +00:00
3f63cad5f8 Accepting request 361147 from home:Zaitor:branches:Application:Geo
17:34 — tigerfoot is still looking a reason why such constraint is not respected https://build.opensuse.org/package/view_file/Application:Geo/sfcgal/_constraint?expand=1 for example build on Tumbleweed i586 start with -m 2000 ?
17:34 <tigerfoot> we will need soon to fix sfcgal builds with become a deps to next postgis.
17:35 <tacit> tigerfoot: Wrong file name

OBS-URL: https://build.opensuse.org/request/show/361147
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=8
2016-02-23 17:15:53 +00:00
857a2b166b Accepting request 346717 from home:Guillaume_G:branches:Application:Geo
Update to v1.2.2

OBS-URL: https://build.opensuse.org/request/show/346717
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=7
2015-11-29 14:48:46 +00:00
Angelos Tzotsos
964f345fce Accepting request 333908 from home:pluskalm:branches:Application:Geo
- Update project and download url
- Fully use %cmake macros
- Cleanup spec file with spec-cleaner

    - Improve the computation speed of straight skeletons by using 
      inexact construction kernel

OBS-URL: https://build.opensuse.org/request/show/333908
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=6
2015-09-26 16:12:22 +00:00
0f1fa57c49 Accepting request 333899 from home:tzotsos:Application:Geo
New upstream version, fixes Leap build

OBS-URL: https://build.opensuse.org/request/show/333899
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=5
2015-09-26 11:43:15 +00:00
dca8c56fc2 Accepting request 288805 from home:bruno_friedmann:branches:Application:Geo
- upstream updated bugfix release 1.1.0 2015-01-14
	- New spatial operation Union(geom, geom) 
	and Difference(geom, geom).
	- Exposed Volume(geom) in C api and added output with a 
	decimal representation sfcgal_geometry_as_text_decim 
	(thanks @matze09)
	- Minor bug fixes.
- packaging :
	spec-cleaner (date,name,order)
- updated _constraint to achieve build on obs

OBS-URL: https://build.opensuse.org/request/show/288805
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=4
2015-03-04 07:22:12 +00:00
c9e14e9ae1 Accepting request 262843 from home:bruno_friedmann:branches:Application:Geo
- upstream updated release 1.0.5

    Fix validity check message when converting to 2D
    Fix a polygon orientation test (postgis bug #2818)
    Fix a bug in plane3D
    Add better handling of EMPTY in collections
    Compilation issues:
        Fix a cmake issue (FindOsgQT)
        Fix compilation issue with gcc < 4.5
        Avoid osg dependency when viewer is not built
        Fix postgresql include directory
        Add detection of lib64 directories

- packaging :
        removed obsolete merged upstream patches
    sle-error-typename-outside-of-template.patch
    0001-Small-typo-changed-requiered-to-required.patch
    0007-fixes-polygon-triangulation.patch
    0004-Replace-lib-by-CMAKE_INSTALL_LIBDIR-in-installation-.patch
    0002-Add-VERSION-and-SOVERSION-properties.patch
    0003-Add-detection-of-lib-lib64-directory.patch
    0005-Added-FindPostgreSQL.cmake-macros.patch
    0006-fixed-unfindable-postgres-header-cmake-variable.patch
        use of %cmake macro.

OBS-URL: https://build.opensuse.org/request/show/262843
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=3
2014-11-25 08:32:42 +00:00
579ec7b861 Accepting request 236528 from home:bruno_friedmann:branches:Application:Geo
(To be accepted once games/cgal is updated and linked to Application:Geo)
- packaging: Build for sle adding specific patch for typename
  sle-error-typename-outside-of-template.patch

OBS-URL: https://build.opensuse.org/request/show/236528
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=2
2014-06-10 12:27:45 +00:00
fa62d2bd56 Accepting request 235316 from home:bruno_friedmann:mapserver64
sfcgal is a C++ wrapper around cgal
Allowing 2D & 3D computing.

Will allow postgis-2x, qgis packages to handle those operations.

Comment: spec-cleaner applied.
The usage of %cmake macro is reserved for next upgrade.

OBS-URL: https://build.opensuse.org/request/show/235316
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/sfcgal?expand=0&rev=1
2014-05-27 13:57:37 +00:00