notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2024Q4
py-dlib Machine learning framework written in C++ (python bindings)
19.24.2 science on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 19.24.2Version of this port present on the latest quarterly branch.
Maintainer: arrowd@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-11-04 07:39:16
Last Update: 2024-11-04 07:38:35
Commit Hash: 1ea91c3
Also Listed In: devel math python
License: BSL
WWW:
http://dlib.net
Description:
Dlib is a modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++ to solve real world problems. It is used in both industry and academia in a wide range of domains including robotics, embedded devices, mobile phones, and large high performance computing environments.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}dlib>0:science/py-dlib@${PY_FLAVOR}
To install the port:
cd /usr/ports/science/py-dlib/ && make install clean
To add the package, run one of these commands:
  • pkg install science/py-dlib
  • pkg install py311-dlib
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-dlib listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-dlib
Package flavors (<flavor>: <package>)
  • py311: py311-dlib
distinfo:
TIMESTAMP = 1702946751 SHA256 (dlib-19.24.2.tar.gz) = 2d4f618073bc6b297aa01ce05595a2d32b5b37e69cafd99f796e77346f6dcfb5 SIZE (dlib-19.24.2.tar.gz) = 11767533

Packages (timestamps in pop-ups are UTC):
py39-dlib
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly------19.24.2-
FreeBSD:14:latest--------
FreeBSD:14:quarterly------19.24.2-
FreeBSD:15:latest--n/a-n/a-19.24.219.24.2
 

py311-dlib
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest19.24.619.24.6-19.24.619.24.6---
FreeBSD:13:quarterly19.24.219.24.2-19.24.219.24.2---
FreeBSD:14:latest19.24.619.24.6-19.24.619.24.6---
FreeBSD:14:quarterly19.24.219.24.2-19.24.219.24.2---
FreeBSD:15:latest19.24.619.24.6n/a19.24.6n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  4. python3.11 : lang/python311
  5. x11.pc : x11/libX11
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
  3. x11.pc : x11/libX11
Library dependencies:
  1. libboost_python311.so : devel/boost-python-libs@py311
  2. libpng.so : graphics/png
  3. libgif.so : graphics/giflib
  4. libjpeg.so : graphics/jpeg-turbo
  5. libsqlite3.so : databases/sqlite3
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py311-dlib-19.24.2: AVX=off: Use AVX instructions if supported by CPU BLASLAPACK=off: Use Blas and Lapack libraries from ports GIF=on: GIF image format support JPEG=on: JPEG image format support SQLITE=on: SQLite database support X11=on: X11 (graphics) support ===> Use 'make config' to modify these settings
Options name:
science_py-dlib
USES:
cmake:indirect compiler:c++11-lang pkgconfig python shebangfix jpeg sqlite xorg
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/d/dlib/
  2. https://pypi.org/packages/source/d/dlib/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
19.24.2
04 Nov 2024 07:38:35
commit hash: 1ea91c341e2e88a911f9fb07f608c11643c77938commit hash: 1ea91c341e2e88a911f9fb07f608c11643c77938commit hash: 1ea91c341e2e88a911f9fb07f608c11643c77938commit hash: 1ea91c341e2e88a911f9fb07f608c11643c77938 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
science/py-dlib: fix build with libc++ 19

As noted in the libc++ 19 release notes [1], std::char_traits<> is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.

This causes science/py-dlib to fail to compile with clang 19 and libc++
19, resulting in errors similar to:

  /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined
template 'std::char_traits<unsigned int>'
    820 |   static_assert(is_same<_CharT, typename
traits_type::char_type>::value,
        |                                          ^
 
/wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/bigint/../unicode/unicode.h:718:19:
note: in instantiation of template class 'std::basic_string<unsigned int>'
requested here
    718 |     const ustring convert_to_utf32 (
        |                   ^
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 1