Commit Graph

129 Commits

Author SHA1 Message Date
Tobias C. Berner 7a09f7fbc2 graphics/opencv: update to 4.5.1 -- and make port more easily maintainable
This is a major upgrade from 3.x to 4.x.

Changelog from versions 3.4.1--4.5.1 can be found here:
    https://github.com/opencv/opencv/wiki/ChangeLog

Note: this has explicitely not been added as a new graphics/opencv4 port, but replaces the
      previous graphics/opencv[3] port. Again, to improve maintainability by not giving ports
      the option to pick the "wrong one" - this leads however to some abandoned ports being
      broken.

The port has been greatly simplified:
    * graphics/opencv-core which existed to enable ffmpeg to depend on opencv, and vice versa
      has been removed. ffmpeg no longer can depend on opencv.
    * graphics/py-opencv has been integrated into graphics/opencv, the default versions python
      bindings will be built unless the PYTHON option is explicitely turned off.
    * graphics/opencv-java has been integrated into graphics/opencv -- it is off by default,
      but can be enabled by toggling the JAVA option -- there are no consumers in the tree,
      so that option might go away in the future.
    * All the previous options have been removed and replaced by a (hopefully) sane set of
      dependencies that make the port and package most usable for the majority of consumers.
      - Please let me know if you think there are better defaults (i.e. anything that is missing,
        or something that should not be dependet on).
      - If you think something should be added or removed, please open a bug report.
      - If you think something should be added as an optional dependency, please open a
        bug report (with a good reason [tm]).

The depending ports have been updated to work against opencv4, or marked broken.
    * Ports broken:
      - graphics/rubygem-objectdetect: OpenCV4 no longer ships opencv-1.0 API
      - graphics/p5-Image-ObjectDetect: OpenCV4 no longer ships opencv-1.0 API
      - graphics/gimp-gmic-plugin: OpenCV4 no longer ships opencv-1.0 API
    * Backports:
      - misc/visp: https://github.com/lagadic/visp/commit/dfa7e4bd47c24cd2e631477e6afb18806733ff8a
      - multimedia/zart: https://github.com/c-koi/zart/commit/6ca1964690afbbc78627d7c868a692401043a584,
                         https://github.com/c-koi/zart/commit/d3a2931b1a07ec0322211f253468000363c4b6cb
    * Others:
      - misc/actiona: switch to pkgconfig 'opencv4'
      - multimedia/libav: drop opencv support
      - misc/darknet: already failed to build prior to the upgrade
      - math/saga: remove patching added to work against opencv3
2021-01-30 18:08:56 +00:00
Rainer Hurling 900d4ac69b math/saga: Update to 7.9.0
Several bug fixes, enhancements and some new features.
PostGIS version >= 3.0.0 raster capabilities supported

Changelog: https://sourceforge.net/p/saga-gis/wiki/Changelog%207.9.0/attachment/changelog_saga_7.9.0.txt

Reported by:	portscout
Approved by:	arrowd, tcberner (mentors, implicit)
2020-12-21 14:04:39 +00:00
Rainer Hurling 7e4ee3a640 math/saga: Update to 7.8.2
Bugfix release with several fixes[1]

[1] https://sourceforge.net/p/saga-gis/wiki/Changelog%207.8.2/attachment/changelog_saga_7.8.2.txt

Approved by:	arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D27403
2020-11-28 14:53:29 +00:00
Loïc Bartoletti b59496747d graphics/proj: Update to 7.2.0
Changelog:
  - https://proj.org/news.html#release-notes
2020-11-18 05:27:28 +00:00
Loïc Bartoletti 1141c4e8ef graphics/proj: Update to 7.1.1
- Add a pkg-message explaining how to access or sync datum grids from the CDN
  (disabled by default)
- Add curl and tiff dependencies since proj can read datum grids from remote
  COG (Cloud Optimized Geotiff)
- Take maintainer'ship (ok wen@)

PR:		245611
Submitted by:	wen (first version)
Reviewed by:	wen, rhurlin
Approved by:	wen
Exp-run by:	antoine
2020-11-17 09:23:58 +00:00
Rainer Hurling be094bff0b math/saga: Update to 7.8.1
Bug fix release, now ready for PostGIS 3.x.x[1]:

[1] https://sourceforge.net/p/saga-gis/wiki/Changelog%207.8.1/attachment/changelog_saga_7.8.1.txt

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D27032
2020-10-31 17:01:25 +00:00
Rainer Hurling ecdac088ea math/saga: Update to 7.8.0
Minor release with several bug fixes and some enhancements like[1]:
- Added OpenCV version 4 support
- Separate grid system for weather data in sim_hydrology/overland_flow
- Reworked, free positioning for layout items (map, legend, titel, ...)
  in print layout of saga_gui
- Added SAGA4QGIS, updated for inno-setup v6 in accessories/helper

[1] https://sourceforge.net/p/saga-gis/wiki/Changelog%207.8.0/attachment/changelog_saga_7.8.0.txt

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D26737
2020-10-11 13:26:50 +00:00
Rainer Hurling e7d6d16c15 math/saga: Configure not finding OpenCV headers
- Let pkg-config find the OpenCV 3.x headers after change in sources[1]
- Convert sed replacement to proper patch file
- While here, remove unneeded OpenMP post-patch

[1] https://sourceforge.net/p/saga-gis/code/ci/1a4b6df792186480953f4fb20474f16b328a9a5c/

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D26645
2020-10-03 09:51:05 +00:00
Rainer Hurling 61341788b3 math/saga: Update to 7.7.1
This is a bugfix release with some small enhancements.

Submitted by:	rhurlin (maintainer)
Approved by:	arrowd (mentor)
Relnotes:	https://sourceforge.net/p/saga-gis/wiki/Changelog%207.7.1/attachment/changelog_saga_7.7.1.txt
Differential Revision:	https://reviews.freebsd.org/D26613
2020-10-01 05:39:04 +00:00
Rainer Hurling f6c06f8c9a Change the maintainer entry in rhurlin's ports
After I got a commit bit for ports, it is time now to change the maintainers entry in all 'owned' ports.

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D26398
2020-09-10 19:17:38 +00:00
Fernando Apesteguía 840978d42e math/saga: Update to 7.7.0
ChangeLog: https://sourceforge.net/p/saga-gis/wiki/Changelog%207.7.0/attachment/changelog_saga_7.7.0.txt

PR:	248949
Submitted by:	rhurlin@gwdg.de (maintainer)
2020-08-29 16:56:00 +00:00
Ganael LAPLANCHE b4b8dbee42 Update devel/tbb to 2020.3 and bump dependent ports' revisions
Changelog: https://github.com/oneapi-src/oneTBB/blob/v2020.3/CHANGES
2020-07-17 10:12:25 +00:00
Sunpoet Po-Chuan Hsieh cb333cf1ec Move devel/swig30 to devel/swig and update to 4.0.1
- Do not silence installation message
- Update dependent ports:
  - Fix build with swig 4.0.1
  - Update *_DEPENDS
  - Remove BINARY_ALIAS

Changes:	http://www.swig.org/news.php
PR:		246613
Exp-run by:	antoine
2020-06-17 18:17:45 +00:00
Piotr Kubaj bbc5c80e34 math/saga: fix build on GCC architectures
Returning NULL as bool is not ok.
--- globe_gores.lo ---
globe_gores.cpp: In member function 'bool CGlobe_Gores::Add_Gore(int, int)':
globe_gores.cpp:210:16: error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive]
  210 |   return( NULL );

PR:		246720
Approved by:	rhurlin@gwdg.de (maintainer)
2020-06-15 09:16:49 +00:00
Loïc Bartoletti 4c1a399966 x11-toolkits/wxgtk30: Update to 3.0.5.1
Changelog:
  - https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.0.5/docs/changes.txt

PR:	 246218
Approved by:	tcberner (mentor)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D24808
2020-05-17 05:55:12 +00:00
Fernando Apesteguía 38d7f86553 math/saga: Update to 7.6.3
From ChangeLog:
https://sourceforge.net/p/saga-gis/wiki/Changelog%207.6.3/attachment/changelog_saga_7.6.3.txt

 * bug fix in statistics_kriging/variogram_dialog
 * omp issue with compiling proj<6
 * bug fix for export of grid to kml
 * check gcc version for wksp_tool_manager
 * add russian translation

PR:	246384
Submitted by:	rhurlin@gwdg.de (maintainer)
2020-05-13 09:11:46 +00:00
Loïc Bartoletti fd7ef51025 databases/grass7, math/saga, graphics/qgis and graphics/qgis-ltr: update to latest versions
- math/saga:
        - Update to 7.6.2
        - Use wxWidgets 3.0+ instead of 3.1+ since 3.1 is not a mandatory version and this reduces the number of packages installed when you install saga and qgis/grass (which requires version 3.0).

    - databases/grass7:
        - Update to 7.8.2 first version for python3 only
        - Use ${PY_NUMPY} variable
        - Readd openmp
        - Use wxPython40 for python3
        - Remove bash dependency. You can use any shell.
        - Rework the workaround in post-install (for / touch files). Fix the long (random) standing issue with pkg-plist
        - Alphabetize USES and OPTIONS
        - Replace XX_configure_on by XX_configure_with as possible

    - graphics/qgis:
        - Update to 3.12.1
        - Remove patches (applied upstream or fixed in ports: pyqt5 / sip)

    - graphics/qgis-ltr:
        - Update to 3.10.4

PR:             241892, 244979
Reported by:    rainer hurling (maintainer), lbartoletti (maintainer)
Reviewed by:    tcberner (mentor), rainer hurling (maintainer)
Approved by:    tcberner (mentor), rainer hurling (maintainer)
Differential Revision:  https://reviews.freebsd.org/D24198
2020-04-01 19:59:45 +00:00
Ganael LAPLANCHE 555ae57247 Update devel/tbb to 2020.2 and bump dependent port's revisions
Changelog: https://github.com/oneapi-src/oneTBB/blob/tbb_2020/CHANGES
2020-04-01 14:14:51 +00:00
Jan Beich e1d56a9db2 Drop dependency on devel/openmp
- Drop if devel/llvm* was used as a substitute

Approved by:	yuri, rene (earlier version)
Differential Revision:	https://reviews.freebsd.org/D23020
2020-03-08 21:56:36 +00:00
Sunpoet Po-Chuan Hsieh e9972a754c Bump PORTREVISION for graphics/gdal shlib change 2020-01-22 06:02:24 +00:00
Tobias C. Berner 61485db5e5 math/saga: Update to 7.5.0
PR:		243355
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
2020-01-17 20:17:49 +00:00
Baptiste Daroussin c5fe34636c Update jasper to 2.0.16
This is needed to be able to update gegl to latest version.
Bump revision of all consumer as the ABI is not 100% backward compatible.
Provide a patch for graphics/devil to properly build with latest jasper.
While here add a missing USES=xorg to graphics/devil
2019-12-27 13:43:00 +00:00
Ganael LAPLANCHE 23cb661f63 Update devel/tbb to 2020.0 and bump dependent ports' revisions [1]
Also, while here, re-generate patches using the makepatch target

[1] Changelog: https://github.com/intel/tbb/blob/v2020.0/CHANGES
2019-12-26 16:25:22 +00:00
Antoine Brodin a5e9dd5bcc Fix plist
PR:		233770
2019-12-15 15:49:19 +00:00
Tobias Kortkamp 9284bc5ac0 math: Add missing USES={gl,gnome,php,sdl,xorg} 2019-11-08 14:11:45 +00:00
Ganael LAPLANCHE 03166a4b36 Update devel/tbb to 2019.8 and bump dependent ports' revisions
Changelog: https://github.com/intel/tbb/blob/tbb_2019/CHANGES
2019-09-25 10:03:49 +00:00
Mathieu Arnold 558224994b onvert to UCL & cleanup pkg-message (categories l-m) 2019-08-13 22:29:42 +00:00
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Wen Heping 3d23ba68ab - Update to 6.1.0 and fix some ports
- Add missing DEPENDS
- Add TEST_TARGET
- Take maintainership

PR:		237932, 238795
Submitted by:	wenheping2000@hotmail.com,rhurlin@gwdg.de
Approved by:	maintainer(timeout, > 30 days), portmgr@(implicit, fix build)
Exp-run by:	antoine@
Thanks to:	antoine@, sunpoet@, rhurlin@gwdg.de
2019-06-27 03:37:10 +00:00
Steve Wills 5ce857db21 math/saga: Update to 7.2.0
PR:		235811
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
2019-02-27 21:19:45 +00:00
Baptiste Daroussin 89bc7fbdd1 wxGTK3.0: switch to gtk3 and webkit2
Discussed with:	portmgr
2019-02-25 12:47:20 +00:00
Steve Wills ff09968e2d math/saga: Update to 7.1.1
PR:		234522
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
2018-12-31 19:14:19 +00:00
Wen Heping 773930e3af - Update from 6.4.0 to 7.0.0
- Add ftp/curl as LIB_DEPENDS
- Use OpenMP from within llvm60 also for i386
- Move some dirs for ${COPYTREE_SHARE}

PR:		233408
Submitted by:	rhurlin@gwdg.de(maintainer)
2018-12-26 01:35:54 +00:00
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Ganael LAPLANCHE e20bbea618 Update devel/tbb to version 2019.1 and bump dependent ports' revisions
Also, reintegrate HTML documentation that was removed in previous version.
2018-10-11 14:47:13 +00:00
Ganael LAPLANCHE c05d3b7d2f Update devel/tbb to version 2019 and bump dependent port's revisions 2018-10-04 10:03:59 +00:00
Antoine Brodin b8796f0d82 Cleanup plists 2018-10-01 09:36:38 +00:00
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Kurt Jaeger 20f73e970b math/saga: update 6.3.0 -> 6.4.0, fix describe
- Change from llvm50 to llvm60
- Use OpenMP from within llvm60 instead of devel/openmp
- disable OpenMP, if i386 is detected

PR:		229470, 229129
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
Reported by:	Uasyhiro KIMURA <yasu@utahime.org>
Reviewed by:	w.schwarzenfeld@utanet.at
Relnotes:	https://sourceforge.net/p/saga-gis/news/2018/06/saga-640-released/
2018-07-03 07:07:50 +00:00
Wen Heping 49baed99df - Update version from 6.1.0 to 6.3.0
- Use devel/liblas12 with changed naming scheme
- If using openMP, change the compiler from gcc to clang
- Recreate some patches with makepatch

PR:		227901
Submitted by:	rhurlin@gwdg.de(maintainer)
2018-06-17 22:56:19 +00:00
Steve Wills 142143e5a7 Bump PORTREVISION on more opencv consumers due to opencv update 2018-05-09 20:27:51 +00:00
Jan Beich d71f826c80 math/saga: unbreak build with wxWidgets 3.0.3 (try#2)
grid_to_kml.cpp: In member function 'bool CGrid_from_KML::Load_Overlay(const wchar_t*, const CSG_MetaData&)':
grid_to_kml.cpp:585:49: error: conversion from 'const wxScopedWCharBuffer {aka const wxScopedCharTypeBuffer<wchar_t>}' to non-scalar type 'CSG_String' requested
  CSG_String   FullPath = fn.GetFullPath().wc_str();
                          ~~~~~~~~~~~~~~~~~~~~~~~^~

PR:		223758
Submitted by:	rozhuk.im@gmail.com
Approved by:	Rainer Hurling (maintainer)
2018-05-02 23:33:19 +00:00
Gerald Pfeifer c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Antoine Brodin f7455240e3 Reduce dependency on the python2 metaport
PR:		225752
Submitted by:	Yasuhiro KIMURA
2018-02-19 11:10:43 +00:00
Jan Beich 0b52e68840 math/saga: unbreak build with wxWidgets 3.0.3
wksp_tool.cpp: In member function 'virtual wxString CWKSP_Tool::Get_Description()':
wksp_tool.cpp:159:61: error: no matching function for call to 'CSG_File::Open(const wxScopedWCharBuffer, ESG_File_Flags_Open)'
   if( Stream.Open(FileName.GetFullPath().wc_str(), SG_FILE_R) && Stream.Read(Description, Stream.Length()) )
                                                             ^
In file included from ../saga_api/geo_tools.h:77:0,
                 from ../saga_api/mat_tools.h:77,
                 from ../saga_api/dataobject.h:84,
                 from ../saga_api/table.h:77,
                 from ../saga_api/grid.h:77,
                 from ../saga_api/parameters.h:77,
                 from ../saga_api/tool.h:76,
                 from ../saga_api/tool_library.h:77,
                 from ../saga_api/saga_api.h:118,
                 from res_commands.h:78,
                 from wksp_tool.cpp:67:
../saga_api/api_core.h:955:13: note: candidate: bool CSG_File::Open(const CSG_String&, int, bool, int)
  bool       Open    (const CSG_String &File_Name, int Mode = SG_FILE_R, bool bBinary = true, int Encoding = SG_FILE_ENCODING_CHAR);
             ^~~~
../saga_api/api_core.h:955:13: note:   no known conversion for argument 1 from 'const wxScopedWCharBuffer {aka const wxScopedCharTypeBuffer<wchar_t>}' to 'const CSG_String&'
wksp_tool.cpp:166:61: error: no matching function for call to 'CSG_File::Open(const wxScopedWCharBuffer, ESG_File_Flags_Open)'
   if( Stream.Open(FileName.GetFullPath().wc_str(), SG_FILE_R) && Stream.Read(Description, Stream.Length()) )
                                                             ^
In file included from ../saga_api/geo_tools.h:77:0,
                 from ../saga_api/mat_tools.h:77,
                 from ../saga_api/dataobject.h:84,
                 from ../saga_api/table.h:77,
                 from ../saga_api/grid.h:77,
                 from ../saga_api/parameters.h:77,
                 from ../saga_api/tool.h:76,
                 from ../saga_api/tool_library.h:77,
                 from ../saga_api/saga_api.h:118,
                 from res_commands.h:78,
                 from wksp_tool.cpp:67:
../saga_api/api_core.h:955:13: note: candidate: bool CSG_File::Open(const CSG_String&, int, bool, int)
  bool       Open    (const CSG_String &File_Name, int Mode = SG_FILE_R, bool bBinary = true, int Encoding = SG_FILE_ENCODING_CHAR);
             ^~~~
../saga_api/api_core.h:955:13: note:   no known conversion for argument 1 from 'const wxScopedWCharBuffer {aka const wxScopedCharTypeBuffer<wchar_t>}' to 'const CSG_String&'

PR:		223758
Submitted by:	rozhuk.im@gmail.com
Obtained from:	upstream
Approved by:	Rainer Hurling (maintainer)
2018-01-21 02:22:17 +00:00
Bradley T. Hughes 9b69f56c5e math/saga: Update 4.1.0 -> 6.1.0
PR:		223890
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
Approved by:	robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D13436
2017-12-11 13:02:58 +00:00
Ganael LAPLANCHE 31c1655dde Update tbb to 2018 and bump dependent ports' revisions 2017-09-17 07:03:14 +00:00
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Wen Heping 1c2d8d1f6a - Update to 4.1.0
PR:		220012
Submitted by:	wen@
Approved by:	maintainer
2017-06-21 01:58:26 +00:00
Jan Beich d764059958 graphics/opencv: back out r423216 and r423063 (replaying r423316)
Renaming didn't help to unblock 3.x progress as co-existence with 2.x
was no less complex than simply fixing consumers. This commit also
restores directory-level history accidentally lost via git-svn.

PR:		210505
Pointy hat to:	jbeich (should've discussed first)
2017-04-14 05:30:25 +00:00