OpenCV (Open Source Computer Vision Library) is an open source
computer vision and machine learning software library. OpenCV was
built to provide a common infrastructure for computer vision
applications and to accelerate the use of machine perception in the
commercial products. Being a BSD-licensed product, OpenCV makes it
easy for businesses to utilize and modify the code.
The library has more than 2500 optimized algorithms, which includes
a comprehensive set of both classic and state-of-the-art computer
vision and machine learning algorithms. These algorithms can be
used to detect and recognize faces, identify objects, classify human
actions in videos, track camera movements, track moving objects,
extract 3D models of objects, produce 3D point clouds from stereo
cameras, stitch images together to produce a high resolution image
of an entire scene, find similar images from an image database,
remove red eyes from images taken using flash, follow eye movements,
recognize scenery and establish markers to overlay it with augmented
reality, etc.
===> The following configuration options are available for opencv-4.13.0_9:
EIGEN=on: Add Eigen v3 Support, builds sfm modules
GDAL=on: Add Geospatial Data Abstraction Library Support
GDCM=on: Add Open source DICOM library Support
HARDENING=off: Enables Build Hardening
JAVA=off: Enable Java Support
LTO=off: Enables Link Time Optimizations
ONNX=off: Include Microsoft ONNX Runtim support
OPENCL=on: Add OpenCL Support
PATENTED=off: Enable patented 2d feature detection USE AT OWN RISK
PROTOBUF=on: Enable protobuf support, builds dnn modules
PYTHON=on: Enable Python Support 3.6 or greater
TBB=off: Add Intel Threading Building Blocks Support
TESSERACT=off: Add Tesseract-based OCR
====> GUI (Graphical User Interface) support
GTK3=off: GTK 3 GUI toolkit support
VTK=off: Include VTK library support (build opencv_viz module)
====> Options available for the group IMAGE
AVIF=off: AV1 Image File Format via libavif
GPHOTO2=on: Add Gphoto2 Support
JPEG=on: Add LibJpeg Support
OGRE3D=off: Add OGRE support
OPENEXR=on: Add OpenEXR Support
PNG=on: Add LibPNG Support
TIFF=on: Add LibTIFF Support
====> Video support
DC1394=on: IEEE 1394 camera support
FFMPEG=off: Link with ffmpeg
GSTREAMER=on: Add GSTREAMER Support
OBSENSOR=off: Orbbec 3D camera support
V4L=on: Enable support for Video for Linux
VULKAN=on: Add Vulkan Support
WEBP=on: Add Webp Support
XINE=off: Add Xine Support
====> Options available for the single BLAS: you have to select exactly one of them
ATLAS=off: ATLAS blas implementation with lapacke
NOBLAS=off: Disable support for lapack/blas
OPENBLAS=on: OpenBLAS blas implementation with lapacke
====> Options available for the radio JPEG2K: you can only select none or one of them
JASPER=off: Add Jasper Support for JPEG2000
OPENJPEG=on: Add OpenJPEG Support for JPEG2000, OpenCV preferred
===> Use 'make config' to modify these settings
graphics/opencv: use multimedia/v4l_compat on non-CURRENT
Since video(4) et al landed in -CURRENT, the multimedia/v4l_compat
headers conflict with <sys/videoio.h> when both are present. Support
for <sys/videoio.h> is already included for NetBSD so ensure that
this path is taken during configure on -CURRENT. Also ensure that
the Linux-style unsigned int shorthand is defined for us in addition
to OpenBSD.
PR: 297454
graphics/opencv: unbreak build on aarch64 (+)
Since 4.13.0, usage of KleidiCV (arm-specific acceleration library) is on by
default which breaks aarch64 build.
Set it to OFF to mimics previous behavior until library will be ported to
FreeBSD.
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc
EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.
Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.
(Only the first 15 lines of the commit message are shown above )
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.
No functional or package changes.
*/*: bump PORTREVISION after OpenBLAS upgrade
Remark: this souldn’t be necessary, because the version of the library is the
same, but due to many changes between these releases, it is safer this way.
PR: 284314
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>
Approved by: mat (portmgr), glewis
Differential Revision: https://reviews.freebsd.org/D48201
graphics/opencv: Add OGRE3D option
If graphics/ogre3d was installed on the system, the ovis module was
being built, but not installed. The module was still added to the
pkgconfig file, though, which is problematic for consumers of opencv
using pkgconf such as graphics/gstreamer1-plugins-opencv. [1]
Move gflags/glog deps to EIGEN option. Fix plist if ceres-solver is
installed on the system.
Elevate USES=gnome, so it that works for the two options that need it.
PR: 278914 [1]
Reported by: Chad Jacob Milios <milios@ccsys.com> [1]
devel/glog: Update to 0.7.0
- Convert to USES=cmake:testing
- Sort PLIST
- Bump PORTREVISION of dependent ports for shlib change
Broken ports are skipped:
- graphics/colmap [1]
- graphics/hiptext [2]
- graphics/openmvs
- sysutils/apache-mesos
[2] This port was being skipped on package building cluster due to its LICENSE
"License NONE needs confirmation, but BATCH is defined"
Changes: https://github.com/google/glog/releases
Reference: https://pkg-status.freebsd.org/beefy12/data/140amd64-default/84a61d95b0a5/logs/colmap-3.8_5.log
[1]
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
graphics/opencv: when on POWER9 on powerpc64le, allow setting VSX3 as baseline
Also GCC is necessary because base LLVM 15 fails with:
UNREACHABLE executed at
/usr/src/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:11135!
LLVM 16 also crashes and it seems 17 has already fixed this issue.
graphics/opencv: mark build-time dependencies correctly
opencv does not need to link (run-time, LIB_DEPENDS) with
lapacke, it is sufficient to build-depend.
Obtained from: thierry@
PR: 267809
Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.
Document in CHANGES.
PR: 266034
Exp-run by: antoine
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D36349
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
science/hdf5: bump PORTREVISION of consumers
The SO-version increased in the update to 1.12.2 in
a43418b81530f7e897abfbe18dd59f44265a1a0f .
Reported by: VVD <vvd@unislabs.com>
graphics/opencv: Change to devel/onetbb
opencv builds with onetbb, which is a new-gen of TBB.
Also devel/tbb causes conflicts dependent packages using opentbb,
particularly misc/openvdb.
PR: 264688
Reported by & Suggested by: VVD <vvd@unislabs.com>
framework: convert bsd.gstreamer.mk to Uses/gstreamer.mk
- convert bsd.gstreamer.mk to Uses/gstreamer.mk
- convert ports tree to make use of USES=gstreamer
- remove duplicate dependency lines from the tree
Differential Revision: https://reviews.freebsd.org/D35097
graphics/opencv: add TESSERACT option
Tesseract support was explicitly turned off previously,
because in a dirty build environment it would pick up
an existing installation and then break. In the meantime,
opencv and leptonica have been updated, and Tesseract
behaves well in combination with opencv.
Make it an option, default off (corresponding to previous
behavior). While here, hand off to desktop@ at tcberner's request.
PR: 259930
graphics/opencv: fix build with LLVM 13 on powerpc64le
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:352:12:
warning: 'vec_permi' macro redefined [-Wmacro-redefined]
^
/usr/lib/clang/13.0.0/include/altivec.h:13077:9: note: previous definition is
here
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:370:25:
error: redefinition of 'vec_promote'
VSX_FINLINE(vec_dword2) vec_promote(long long a, int b)
^
/usr/lib/clang/13.0.0/include/altivec.h:14604:1: note: previous definition is
here
vec_promote(signed long long __a, int __b) {
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:377:26:
error: redefinition of 'vec_promote'
VSX_FINLINE(vec_udword2) vec_promote(unsigned long long a, int b)
^
(Only the first 15 lines of the commit message are shown above )
graphics/opencv: fix VTK option
As VTK is built with Qt5 support, bring in the required
dependencies for the build system.
Submitted by: Oleg Sidorkin <osidorkin@gmail.com>
PR: 261519
graphics/opencv: add local patch
- the patch on github has changed a few times (by dropping two
characters).
- instead of having it fail to fetch regularly, just add the patch to
files/
Reported by: yuri
graphics/opencv: explicitely disable support for graphics/tesseract
Since the update of graphics/tesseract to 4.1.3 in
3f1cf94980fdec66bdb115c46c94635ec3b54572
the configure script of opencv now can find tesseract support,
however in a broken state.
For now, disable tesseract in graphics/opencv explicitely, so that
people building in an unclean environment with tesseract possibly
installed can still build opencv.
In the future, this will be replaced by an option toggle and fixed
properly.
PR: 259930
Reported by: rhurlin
graphics/opencv: add makefile options
Bring back lot of the options that were available in the old port.
Reported by: Ivan Rozhuk <rozhuk.im@gmail.com>
Original by: alt2600@icloud.com
VVD <vvd@unislabs.com>
PR: 253110
PR: 255446
graphics/opencv: update to 4.5.3
Changes in the port:
- fix prefetch of third party software
- prefetching of distfiles has been fixed
- cmake will now throw an error in ocv_download()
if it is still called
- minor cleanup
- next step: readd some more options, and improve port for
non-poudriere users
PR: 256669
*: Bump PORTREVISION for openexr update
OpenEXR's patchlevel updated bumped the major version
of the OpenEXR library, hence bump PORTREVISION of all
ports that require OpenEXR.
graphics/opencv: Fix JAVA option and correct Apache Ant usage
JAVA option did not work because the actual build knob was wrong.
Especially, on a system where devel/apache-ant was installed, ant and
java binaries were automatically detected and enabled even if the JAVA
option was disabled. While I am here, fix Apache Ant usage by setteing
JAVACMD variable. Without it, it may pick up java binary from JRE via
javavm(1) from java/javavmwrapper. If ant script is used with java from
JRE, build fails because it cannot find jar.
Approved by: tcberner (maintainer)
Number of commits found: 277 (showing only 100 on this page)