Package Details: librealsense-git v2.33.1-1

Git Clone URL: https://aur.archlinux.org/librealsense-git.git (read-only, click to copy)
Package Base: librealsense-git
Description: Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300)
Upstream URL: https://github.com/IntelRealSense/librealsense
Licenses: Apache
Conflicts: librealsense
Provides: librealsense
Submitter: otaj
Maintainer: zhou13
Last Packager: zhou13
Votes: 1
Popularity: 0.000744
First Submitted: 2019-04-18 07:52
Last Updated: 2020-03-17 08:32

Latest Comments

otaj commented on 2020-03-14 11:25

Package disowned

zhou13 commented on 2020-03-14 08:27

I am glad to maintain this package. Feel free to orphan it.

otaj commented on 2020-03-12 08:50

You can change the PKGBUILD for yourself. I generally don't like building examples in provided PKGBUILDs, because it can clutter the package (17M with examples vs 12M without).

However, I switched jobs since I created this package and don't have access to realsense sensor anymore, so if anyone wants to maintain this package, that would be great.

zhou13 commented on 2020-03-12 06:16

Could you add DBUILD_EXAMPLES=true? Those examples are useful for everyday work.

otaj commented on 2020-02-27 09:23

Do you have another Python version installed? I just built it in clean chroot without any problems. On the other hand, when I tried to rebuild it after I installed python37 before, it picked up Python3.7 first.

jerry73204 commented on 2020-02-26 17:17

It failed to build on my laptop due to wrong Python version. Please include this patch to fix this issue.

diff --git a/wrappers/python/third_party/pybind11/tools/pybind11Tools.cmake b/wrappers/python/third_party/pybind11/tools/pybind11Tools.cmake
index a7c471a07..e5f627e5b 100644
--- a/wrappers/python/third_party/pybind11/tools/pybind11Tools.cmake
+++ b/wrappers/python/third_party/pybind11/tools/pybind11Tools.cmake
@@ -12,7 +12,7 @@ if(NOT PYBIND11_PYTHON_VERSION)
   set(PYBIND11_PYTHON_VERSION "" CACHE STRING "Python version to use for compiling modules")
 endif()

-set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5 3.4)
+set(Python_ADDITIONAL_VERSIONS 3.8 3.7 3.6 3.5 3.4)
 find_package(PythonLibsNew ${PYBIND11_PYTHON_VERSION} REQUIRED)

 include(CheckCXXCompilerFlag)

To include it in PKGBUILD,

prepare() {
  cd "${srcdir}/${_pkgname}"
  patch -Np1 < "${srcdir}/python-version.patch"
}

otaj commented on 2019-05-13 09:53

Well, that means, that the package is most likely fine (and you can install it now), however, I am not too sure whether that is a good message for you, because it means the symptoms you had before point to something messed up with the rest of your system. My main guess would be either python-setuptools or the whole python in general. Try to reinstall those and let me know how it goes afterwards.

Btw, is your system up-to-date?

louis058 commented on 2019-05-13 09:48

So the build in the clean chroot succeeded (https://pastebin.com/6Zk6K9ja), which is weird for me because I'm not too sure what's going on at this point.

I guess this either wasn't an issue in the first place or is solved now.

otaj commented on 2019-05-09 08:43

Well, that is weird, because for me, that is not the case - I just built it in a clean chroot, python-pyrealsense2-git/usr/bin did exist and was populated with examples and these examples were moved to python-pyrealsense2-git/usr/share/librealsense2

And this is the first time I heard about having an issue due to system python packages not having read permission - that seems more like an issue with setuptools than this package.

However, I found out that I forgot to include python-setuptools as makedepends. The package is already updated.

Can you post the full output of building in the clean chroot? (https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot) Preferably over some pastebin-like service, it won't fit nicely in here.

louis058 commented on 2019-05-09 03:54

This tries to find and copy files out of python-pyrealsense2-git/usr/bin, which doesn't exist, so the build fails.

Also, for some reason, at first, I had some permission errors when installing this with certain directories in /usr/lib/python3.7/site-packages/ not having read permissions, namely:

greenlet-0.4.15.dist-info/
pynvim-0.3.2-py3.7.egg-info/