aboutsummaryrefslogtreecommitdiff
path: root/science/dlib-cpp
Commit message (Collapse)AuthorAgeFilesLines
* science/dlib-cpp: Update to 20.0.1Gleb Popov38 hours3-8/+8
| | | | Reported by: portscout!
* science/dlib-cpp: Fixup EXTRACT_AFTER_ARGSGleb Popov2025-06-081-1/+2
| | | | | PR: 287377 Reported by: diizzy
* science/dlib-cpp: Use more system dependenciesMatthieu Volat2025-06-082-74/+4
| | | | PR: 287377
* science/dlib-cpp: Update to 20.0Gleb Popov2025-06-013-5/+5
| | | | Reported by: portscout!
* science/dlib-cpp: Update to 19.24.9Gleb Popov2025-05-173-5/+7
| | | | Reported by: portscout!
* science/dlib-cpp: Update to 19.24.8Gleb Popov2025-03-035-28/+6
| | | | Reported by: portscout!
* science/dlib-cpp: add option to be built with the FFMPEG wrappersAlexey Donskov2024-12-191-1/+5
| | | | | Sponsored by: Future Crew, LLC Pull Request: https://github.com/freebsd/freebsd-ports/pull/334
* science/dlib-cpp: fix build with libc++ 19Dimitry Andric2024-11-102-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/dlib-cpp 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/dlib-cpp/work/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 ( | ^ /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here 23 | struct _LIBCPP_TEMPLATE_VIS char_traits; | ^ This can be fixed by defining `unichar` as `char32_t` instead of `uint32` in `unicode.h`, and adding a serializer for `char32_t` to `serialize.h`. [1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals PR: 282665 Approved by: arrowd (maintainer) MFH: 2024Q4
* science/dlib-cpp: Update to 19.24.6Gleb Popov2024-10-266-80/+64
|
* science/dlib-cpp: fix build with clang and libc++ 19Dimitry Andric2024-10-093-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/dlib-cpp 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/dlib-cpp/work/dlib-19.24/dlib/bigint/../unicode/unicode.h:496:26: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here 496 | inline const ustring convert_utf8_to_utf32 ( | ^ /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here 23 | struct _LIBCPP_TEMPLATE_VIS char_traits; | ^ These can be fixed by using `char32_t` instead of `uint32_t` for the `unichar` type. Also, clang 19 now implements CWG 96 [1], which requires a template argument list after a 'template' keyword, resulting in errors similar to: /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24/dlib/filtering/../global_optimization/find_max_global.h:61:130: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 61 | static auto go(T&& f, const matrix<double,0,1>& a) -> decltype(call_function_and_expand_args<max_unpack-1>::template go(std::forward<T>(f),a)) | ^ This can be fixed by adding `<>` after the `go` identifier. [1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals PR: 281975 Approved by: arrowd (maintainer) MFH: 2024Q3
* */*: Bump jpeg-turbo users treewideDaniel Engberg2023-07-281-0/+1
| | | | New major version 3.0.0
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-071-2/+0
| | | | | | | | | | 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 MakefilesStefan Eßer2022-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
* science/dlib-cpp: Update to 19.24Gleb Popov2022-08-103-8/+16
|
* science/dlib-cpp: remove the patch that is now committed upstream and breaks ↵Piotr Kubaj2021-04-111-14/+0
| | | | the build on powerpc64le
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* science/dlib-cpp and science/py-dlib: Update to 19.22Gleb Popov2021-04-073-9/+13
| | | | Remove USE_GCC=yes as it seems to be implied by using blaslapack:openblas
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* science/dlib-cpp: fix build on powerpc64lePiotr Kubaj2021-01-111-0/+14
| | | | | | | clang doesn't implement vec_rsqrt. Notes: svn path=/head/; revision=561216
* science/dlib-cpp: Build shared library instead of static one.Gleb Popov2020-11-032-2/+7
| | | | | | | | PR: 250815 Submitted by: yuri Notes: svn path=/head/; revision=553954
* science/dlib-cpp and science/py-dlib: Update to 19.21.Gleb Popov2020-08-202-4/+4
| | | | Notes: svn path=/head/; revision=545515
* science/dlib-cpp and science/py-dlib: Update to 19.20Gleb Popov2020-06-232-5/+4
| | | | | | | Reported by: portscout! Notes: svn path=/head/; revision=539977
* Bump 37 ports depending on math/openblas through USES=blaslapack:openblas ↵Yuri Victorovich2020-05-061-0/+1
| | | | | | | because after the recent math/openblas update the library name changed in openblas Notes: svn path=/head/; revision=534190
* science/dlib-cpp and science/py-dlib: Update to 19.19.Gleb Popov2020-02-123-7/+11
| | | | Notes: svn path=/head/; revision=525921
* Fix math/openblas and bump dependent portsSteve Wills2020-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | * Fix build on i386 [1] * Fix science/code_saturne build with new openblas [2] * Avoid installing private headers [3] * Prevent build from optimizing for host by correcting build confg [4] * Bump portrevision of dependent ports [5] This is correcting issues from r523749 [1][2][4] and r515970 [3] PR: 231371 Reported by: build cluster [1] Reported by: Dima Pasechnik <dimpase+freebsd@gmail.com> [2] Reported by: many [5] Reviewed by: mat, bapt Approved by: implicit, since this is a build fix Notes: svn path=/head/; revision=524642
* Add USES=xorg and USES=glNiclas Zeising2019-11-071-0/+1
| | | | | | | Add USES=xorg and USES=gl to a few remaining ports. Notes: svn path=/head/; revision=517001
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2019-07-261-1/+1
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=507372
* Related to revision 499061 bump ports with USES=fortran to have themGerald Pfeifer2019-04-221-0/+1
| | | | | | | | | | benefit from the improved situation where libgcc_s is only used when absolutely necessary. Suggested by: tijl Notes: svn path=/head/; revision=499638
* Update science/dlib-cpp and science/py-dlib to 19.17.Gleb Popov2019-03-302-4/+4
| | | | | | | | Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D19761 Notes: svn path=/head/; revision=497253
* Fix build on gcc-based architectures:Mark Linimon2019-03-131-1/+1
| | | | | | | | | C++11 is required to use dlib, but the version of GCC you are using is too old and doesn't support C++11. You need GCC 4.8 or newer. Approved by: portmgr (tier-2 blanket) Notes: svn path=/head/; revision=495552
* science/dlib-cpp and science/py-dlib: Update to 19.16.Gleb Popov2019-02-233-5/+25
| | | | | | | | | | Try to fix build of science/py-dlib on ARM archs. Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D19307 Notes: svn path=/head/; revision=493695
* Change cmake default behaviour to outsource.Tobias C. Berner2018-12-251-1/+1
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=488341
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2018-12-121-1/+1
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=487272
* Set MAINTAINER of mine ports to @FreeBSD.org email.Gleb Popov2018-08-091-1/+1
| | | | | | | | Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D16640 Notes: svn path=/head/; revision=476747
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2018-07-291-0/+1
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=475857
* Upgrade science/dlib-cpp and science/py-dlib to 19.13.Gleb Popov2018-05-283-23/+72
| | | | | | | | Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D15588 Notes: svn path=/head/; revision=471038
* Add PY_FLAVOR to Python module dependencies.Mathieu Arnold2018-05-221-1/+1
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=470610
* New ports science/dlib-cpp and science/py-dlib (Python bindings for the former)Adriaan de Groot2018-04-264-0/+1034
Changed from the reviewed form: - fixed typo's - added support for suffixed Boost::Python - removed commented-out lines from patch Submitted by: arrowsvc (6yearold@gmail.com, new maintainer) Reviewed by: tcberner, adridg Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D14798 Notes: svn path=/head/; revision=468383