makedepends should include python{,2}-setuptools instead of just python{,2}.
Also, there is no need to list all three cuda, cudnn and libx11 as separate dependencies, as the other two are already dependencies of cudnn.
Git Clone URL: | https://aur.archlinux.org/python-dlib.git (read-only, click to copy) |
---|---|
Package Base: | python-dlib |
Description: | Dlib is a general purpose cross-platform C++ library designed using contract programming and modern C++ techniques. |
Upstream URL: | http://www.dlib.net/ |
Licenses: | boost |
Conflicts: | python-dlib |
Provides: | python-dlib |
Submitter: | u1bmoW1r16 |
Maintainer: | petronny (AutoUpdateBot) |
Last Packager: | petronny |
Votes: | 15 |
Popularity: | 0.001569 |
First Submitted: | 2016-10-27 15:05 (UTC) |
Last Updated: | 2025-05-30 11:54 (UTC) |
makedepends should include python{,2}-setuptools instead of just python{,2}.
Also, there is no need to list all three cuda, cudnn and libx11 as separate dependencies, as the other two are already dependencies of cudnn.
@AbysmalBiscuit
Thanks for the tests on optional dependencies.
ccache-ext
is available in AUR now.
You can set license=('Boost')
to use /usr/share/licenses/common/Boost/license.txt
in licenses
.
I see your changes about using the NEON instructions.
But I think you misunderstand that this NEON
is a kind of ARM instruction technology, not the neon
package in [extra]
which is a HTTP and WebDAV client library with a C interface.
I think neon can be only enabled ARM architectures like armv7h
or aarch64
and it's useless to python{,2}-dlib-cuda
.
I have updating the PKGBUILD of python-dlib
to build python{,2}-dlib-cuda
as well (currently disabled). So would you like to be a co-maintainer of python-dlib
and merge these 2 packages to it?
And I've disabled the detection of AVX, SSE2, SSE4 instructions and enabled all the optdepends because I'm providing binaries of python{,2}-dlib
in my repositories with this PKGBUILD. If you don't agree with these, we can keep our packages separate.
@Kicer Thanks! That's a good suggestion; I have added it.
I think provides
section should contain entry python-dlib=${pkgver}
(version included). Otherwise pakages like python-face_recognition
won't install due to insufficient version.
@Kicer You are correct about gcc6 not being needed. In the past dlib and cuda programs did need gcc6 to compile properly, but it seems that is no longer the case.
@flipflop97 I have added the provides and conflicts.
@petronny
I have gone through all the optional dependencies. Only sqlite
and neon
can be removed and python-dlib will still work. If any of the others are removed it will fail to import due to missing libraries of the shared object: dlib.cpython-36m-x86_64-linux-gnu.so
.
Note: removing sqlite
will likely break parts of your system. :p
Hi
Why is there gcc6 needed? I've modified PKBUILD to use system gcc and it works fine.
Hi,
I have a package that depends on either python-dlib or python-dlib-cuda. I'd like to let it depend on either of them.
Right now both packages are totally separate. Can you maybe add a provides/conflicts/replaces rule for python-dlib so that both packages are treated as the same?
@accensi fixed.
Problems: - Even if just installing python-dlib, it is downloading all CUDA support - 1.4GB - Error (4/4) Updating the desktop file MIME type cache... ==> ERROR: python-dlib is not available for the 'x86_64' architecture. 2018-07-03 01:51:41,601 - wrappers - makepkg - ERROR - makepkg query makepkg -cf --noconfirm failed in directory ...../python-dlib
Pinned Comments
petronny commented on 2024-03-30 13:11 (UTC) (edited on 2024-03-30 13:13 (UTC) by petronny)
Set
_build_cpu
and_build_cuda
to 1 and 0 to build or not build the CPU or CUDA version.If
options=(!lto)
has no effect, please check if it's still enabled in/etc/makepkg.conf
.petronny commented on 2023-11-28 04:57 (UTC)
Prebuilt binaries of this package can be found in arch4edu.