Commit Graph

144 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
Steve Wills e41ad3a3d2 graphics/openimageio: Update to v2.2.10.1
PR:		252762
Submitted by:	Shane <FreeBSD@ShaneWare.Biz> (maintainer)
2021-01-17 18:07:31 +00:00
Matthias Andree c77c064297 graphics/openexr: really commit v2.5.4 update.
Unfortunately, this was missed with the ilmbase update, and
causes yet another PORTREVISION bump on all dependent ports.

repeating ilmbase's commit log here:

"Patch release with various bug/sanitizer/security fixes, primarily related to
reading corrupted input files."
<https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.4>

Cherry-pick upstream commit for GCC 11 compatibility:
<https://github.com/AcademySoftwareFoundation/openexr/commit/a40a6151c4e746eb8f93c7c06992d0ec11289fdc>

Since this changes the patchlevel of the solibs, bump PORTREVISION of dependent
ports just to be sure.
(graphics/py-openshadinglanguage is unaltered and .includes the revision bump
from .../openshadinglanguage.)

MFH:		2021Q1 (this requires discussion by ports-secteam@!)

Reported by:	VVD (IRC, #bsdports)
2021-01-03 16:57:29 +00:00
Matthias Andree db0013e446 graphics/openexr: graphics/ilmbase: v2.5.4 update
"Patch release with various bug/sanitizer/security fixes, primarily related to
reading corrupted input files."
<https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.4>

Cherry-pick upstream commit for GCC 11 compatibility:
<https://github.com/AcademySoftwareFoundation/openexr/commit/a40a6151c4e746eb8f93c7c06992d0ec11289fdc>

Since this changes the patchlevel of the solibs, bump PORTREVISION of dependent
ports just to be sure.
(graphics/py-openshadinglanguage is unaltered and .includes the revision bump
from .../openshadinglanguage.)

MFH:		2021Q1 (this requires discussion by ports-secteam@!)
2021-01-03 10:30:56 +00:00
Jason E. Hale 3676ef0b9e graphics/libraw: Update to 0.20.2
Bump PORTREVISION on consumers due to shared library bump.

Changes:	https://www.libraw.org/news/libraw-0-20-2-Release
2021-01-01 00:04:42 +00:00
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00
Fernando Apesteguía 23e9eca33d graphics/openimageio: Update to v2.2.9.0
ChangeLog: https://github.com/OpenImageIO/oiio/releases/tag/Release-2.2.9.0

PR:	251849
Submitted by:	FreeBSD@ShaneWare.Biz (maintainer)
2020-12-20 21:59:59 +00:00
Matthias Andree f7babb2660 openimageio: fix py-openimageio's version going backwards
When yuri@'s commit http://svnweb.freebsd.org/changeset/ports/555420
bumped openimageio's version, the Makefile was seeing PORTREVISION=1,
but there is a derived port, py-openimageio, which also .include-s
openimageio's Makefile.

Change this main port to set its PORTREVISION with ?= and add a
comment to remind editors.

Approved by:	portmgr@ (blanket, trivial regression fix)
2020-11-30 00:27:25 +00:00
Yuri Victorovich cc37c9f033 misc/openvdb: Update 7.0.0 -> 7.1.0 2020-11-15 19:10:06 +00:00
Steve Wills c93d8c6fcd graphics/openimageio: Update to v2.2.6.1
PR:		246861
Submitted by:	Shane <FreeBSD@ShaneWare.Biz> (maintainer)
2020-09-20 20:00:17 +00:00
Tobias Kortkamp d4c2e1c82a devel/libfmt: Update to 7.0.3
Changes:	https://github.com/fmtlib/fmt/releases/tag/7.0.3
ABI:		https://abi-laboratory.pro/tracker/timeline/fmt
2020-09-07 21:19:41 +00:00
Matthias Andree 721533a798 graphics/ilmbase, graphics/openexr: PORTREVISION bump for users
ilmbase and openexr were updated to v2.5.3 and their shlibs changed
from *.25.0.1 to *.25.0.2.

This is a PORTREVISION bump to ports using ilmbase or openexr
to chase that change and trigger rebuild.
2020-08-13 22:35:16 +00:00
Tobias Kortkamp c7399da719 devel/libfmt: Update to 7.0.2
Changes:	https://github.com/fmtlib/fmt/releases/tag/7.0.2
ABI:		https://abi-laboratory.pro/tracker/timeline/fmt
2020-07-31 17:07:18 +00:00
Tobias Kortkamp 63e963837c devel/libfmt: Update to 7.0.1
Changes:	https://github.com/fmtlib/fmt/releases/tag/7.0.1
ABI:		https://abi-laboratory.pro/tracker/timeline/fmt
2020-07-20 16:27:43 +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
Matthias Andree 59eb5b4b37 openexr/ilmbase update w/ shlib rename => PORTREVISION bumps of dependent ports
OpenEXR and ILMBASE updates to 2.5.2 rename the full shlib version
names from .0.0 to .0.1 => to be on the safe side, bump PORTREVISIONs.

Approved by:	portmgr (blanket)
MFH:		2020Q3 (PORTREVISION bump after OpenEXR/ilmbase update)
Security:	714e6c35-c75b-11ea-aa29-d74973d1f9f3
2020-07-16 12:13:30 +00:00
Matthias Andree 173dc5aa09 graphics/openimageio: update to 2.1.15.0
(with additional fix to do-test-TEST-on: target)

PR:		246439
Approved by:	Shane Ambler <FreeBSD@ShaneWare.Biz>
2020-05-15 11:00:13 +00:00
Matthias Andree 38f53fd85b graphics/ilmbase: graphics/openexr: update to upstream release 2.5.1
Upstream release notes:
* A patch release that corrects the SO version for the v2.5 release,
  which missed getting bumped in v2.5.0.

* This release also fixes an improper failure in IlmImfTest
  when running on ARMv7 and AAarch64.

Bump PORTREVISION of all port directly requiring ilmbase or openexr
that are not marked BROKEN (shlib/.so file version bump).

Test build of all port directly depending on ilmbase or openexr
succeeded in poudriere in a 12.1-RELEASE amd64 jail.
2020-05-12 15:47:52 +00:00
Matthias Andree ded32047a7 graphics/ilmbase: graphics/openexr: update to v2.5.0
ChangeLog:
- https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.0

* Bump PORTREVISION of all consumers except py-openimageio (BROKEN).

* cad/PrusaSlicer:
    LIB_DEPENDS: remove version from libHalf.so
    BUILD_DEPENDS+=qt5-buildtools as package (needed on bare metal builds)
    USE_GL+=gl
    USES+=pkgconfig (needed to find libHalf)
2020-05-08 11:57:55 +00:00
Yuri Victorovich fcea573684 misc/openvdb: Update 6.1.0 -> 7.0.0
Reported by:	VVD <vvd@unislabs.com> (in bug#244347)
2020-04-02 01:32:07 +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
Tobias C. Berner f72ddf2d98 graphics/openimageio cleanup cmake vars and enable TOOLS as default
PR:		244516
Submitted by:	Shane <FreeBSD@ShaneWare.Biz> (maintainer)
2020-03-08 15:15:04 +00:00
Tobias C. Berner 9b3502b0b7 graphics/py-openimageio: Fix build
PR:		244489
Submitted by:	Shane <FreeBSD@ShaneWare.Biz>  (maintainer)
2020-03-08 15:10:34 +00:00
Alexandre C. Guimarães 0cd7c469a0 graphics/openimageio: Update to 2.1.11.2
PR:		244188
Submitted by:	Shane <FreeBSD@ShaneWare.Biz> (maintainer)
Approved by:	tcberner (mentor, implicit)
Relnotes:	https://github.com/OpenImageIO/oiio/blob/master/CHANGES.md
2020-02-24 02:19:35 +00:00
Piotr Kubaj 23456b73cc graphics/openimageio: fix build on powerpc64 elfv2
Change if to explicit ifdef to prevent:
/wrkdirs/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:328:27: error: expected value in expression
#    if _LIBCPP_BIG_ENDIAN

PR:		242134
Approved by:	FreeBSD@ShaneWare.Biz (maintainer timeout)
2020-01-27 22:01:49 +00:00
Matthias Andree 2e26d3323d graphics/ilmbase, graphics/openexr: upgrade to upstream v2.4.0
graphics/gstreamer1-plugins-openexr: switch from C++98 to C++11 to
match new OpenEXR headers and unbreak compilation.

Bump PORTREVISION of all ports depending directly on either, based
on assessing INDEX-12 (bump_portrevision.pl -l (shallow) used).

Release Notes:
https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.4.0

The update was deliberately deferred until after 2020Q1, and should
not be MFH'd back to it.
2020-01-05 02:17:32 +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
Jan Beich 701aa3bcf8 devel/boost-*: update to 1.72.0
Changes:	http://www.boost.org/users/history/version_1_72_0.html
PR:		241449
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D22136
2019-12-11 17:53:48 +00:00
Niclas Zeising a3c56e68df Add USES=xorg USES=gl, ports categories e and g
Add USES=xorg and USES=gl to ports in categories starting with 'e' and 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:21:16 +00:00
Yuri Victorovich 5cc69503cf graphics/dcmtk: Update 3.6.4 -> 3.6.5
Reported by:	portscout
2019-10-31 04:57:06 +00:00
Max Brazhnikov 802eb13618 graphics/openimageio:
- Depend on x11-fonts/droid-fonts-ttf instead of installing own copies:
  Droid fonts shipped with openimageio don't have Cyrillic symbols.
  For some reason LibreOffice picks up Droid fonts from openimageio
  and this breaks LibreOffice UI for non-Latin locales.

PR:		240963
Approved by:	maintainer
2019-10-02 08:19:18 +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
Jan Beich befa71e0f3 devel/boost-*: update to 1.71.0
Changes:	http://www.boost.org/users/history/version_1_71_0.html
PR:		238827
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D20774
2019-08-19 15:35:27 +00:00
Rodrigo Osorio b9ec699d0a Update graphics/openimageio from v1.8.17 to v2.0.10
Changelogs:
  https://github.com/OpenImageIO/oiio/releases/tag/Release-2.0.3
  https://github.com/OpenImageIO/oiio/releases/tag/Release-2.0.4
  https://github.com/OpenImageIO/oiio/releases/tag/Release-2.0.5
  https://github.com/OpenImageIO/oiio/releases/tag/Release-2.0.6
  https://github.com/OpenImageIO/oiio/releases/tag/Release-2.0.7
  https://github.com/OpenImageIO/oiio/releases/tag/Release-2.0.8
  https://github.com/OpenImageIO/oiio/releases/tag/Release-2.0.9
  https://github.com/OpenImageIO/oiio/releases/tag/Release-2.0.10

PR:		239587
Submitted by:	Shane <FreeBSD@ShaneWare.Biz>
2019-08-16 13:55:05 +00:00
Jan Beich 325aed58cb multimedia/ffmpeg: update to 4.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.2:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2019-08-05 23:06:50 +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
Jan Beich 9b21a3a084 devel/boost-*: update to 1.70.0
Changes:	http://www.boost.org/users/history/version_1_70_0.html
PR:		235956
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D19303
2019-04-12 06:36:31 +00:00
Jason E. Hale 67d26aa566 graphics/libraw: Update to 0.19.2
- Demosaic packs are no longer distributed nor supported upstream
- Bump PORTREVISON on all consumers due to libraw shlib version increase

Changes:	https://www.libraw.org/news/libraw-0-19-2-release
2019-03-29 23:00:35 +00:00
Sunpoet Po-Chuan Hsieh 91c3078096 Update science/hdf5 to 1.10.4
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://portal.hdfgroup.org/display/support/HDF5%201.10.4#releasenotes
PR:		233070
Submitted by:	wen
2019-01-05 22:46:53 +00:00
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +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
Jan Beich 7c879267dc devel/boost-*: update to 1.69.0
Changes:	http://www.boost.org/users/history/version_1_69_0.html
PR:		232525
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17645
2018-12-12 00:15:49 +00:00
Kurt Jaeger 0d068888d8 graphics/openimageio: update 1.7.17 -> 1.8.17
- 2nd attempt, fixing the slave port as well

PR:		224382
Submitted by:	Shane Ambler <FreeBSD@ShaneWare.Biz> (maintainer)
Reviewed by:	yuri
Relnotes:	http://lists.openimageio.org/pipermail/oiio-announce-openimageio.org/2018-December/000039.html
		https://github.com/OpenImageIO/oiio/releases
2018-12-08 17:39:17 +00:00
Antoine Brodin e93e4466d7 Revert r486952, slave port was not tested
With hat:	portmgr
2018-12-08 16:08:06 +00:00
Kurt Jaeger b86304a0ea graphics/openimageio: update 1.7.17 -> 1.8.17
PR:		224382
Submitted by:	Shane Ambler <FreeBSD@ShaneWare.Biz> (maintainer)
Reviewed by:	yuri
Relnotes:	http://lists.openimageio.org/pipermail/oiio-announce-openimageio.org/2018-December/000039.html
		https://github.com/OpenImageIO/oiio/releases
2018-12-08 14:21:17 +00:00
Rene Ladan 99d6d12a38 Mark QT4 ports/functionality for removal on 2019-03-15
While here, chase some KDE4 ports and functionality, these are scheduled for
removal on 2018-12-31. Change the default option/flavor to QT5 where applicable
or use alternative toolkits like GTK.

Submitted by:	tcberner
Reviewed by:	adridg, jhale, rene, tcberner
Approved by:	portmgr (implicit, flavor hook)
Differential Revision:	https://reviews.freebsd.org/D17741
2018-12-02 15:41:47 +00:00
Jan Beich 0872f77fd4 multimedia/ffmpeg: update to 4.1
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.1:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2018-11-06 01:50:26 +00:00
Matthias Andree d1cfeab07e Update ilmbase and openexr to 2.3.0, rename OpenEXR to openexr.
Release notes: <https://github.com/openexr/openexr/releases/tag/v2.3.0>

Adjust LIB_DEPENDS of all ports that require ilmbase or openexr to chase
the new lower-case spelling of the name, and to omit the version from the
library name to ease future maintenance.

Bump PORTREVISION of all ports that depend on ilmbase or openexr directly,
so that they all get rebuilt on upgrades.

Add patches to graphics/ampasCTL to keep it alive, with (a) ilmbase now
that its Iex::BaseExc class is no longer derived from std::string,
details were given upstream through https://github.com/ampas/CTL/issues/71
and (b) to unwind semicolon/;-lists in cmake that stem from openexr/
ilmbase pkg-config variables.
(Note ampasCTL is unmaintained as FreeBSD port, and upstream,
and I cannot run-time test it.)

Poudriere build tests on 11.2-RELEASE-p1 amd64 of ALL ports depending
directly or indirectly on ilmbase and/or openexr have passed without
regressions.  Thus invoking due diligence, I believe I have done the
equivalent of an -exp run, and do not require approval for the dependency
chases to third-party ports.
2018-09-22 10:15:22 +00:00
Sunpoet Po-Chuan Hsieh c548cd43e8 Update science/hdf5 to 1.10.2
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://portal.hdfgroup.org/display/support/HDF5%201.10.2#releasenotes
		https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hdf5-1.10.2-RELEASE.txt
PR:		231009
Exp-run by:	antoine
2018-09-05 22:05:23 +00:00
Jan Beich 0b055d47f2 devel/boost-*: update to 1.68.0
- Switch to C++14 for libboost_system to support C++14 consumers

Changes:	http://www.boost.org/users/history/version_1_68_0.html
PR:		229569
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D16165
2018-08-09 06:58:30 +00:00