Package: openvr / 1.23.7~ds1-2

Metadata

Package Version Patches format
openvr 1.23.7~ds1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
openvr fix 1.23.7 compilation.patch | (download)

src/CMakeLists.txt | 28 15 13 - 0 !
src/openvr_api_public.cpp | 6 3 3 - 0 !
src/vrcommon/dirtools_public.cpp | 101 0 101 - 0 !
src/vrcommon/dirtools_public.h | 17 0 17 - 0 !
src/vrcommon/envvartools_public.cpp | 88 0 88 - 0 !
src/vrcommon/envvartools_public.h | 8 0 8 - 0 !
src/vrcommon/hmderrors_public.cpp | 338 0 338 - 0 !
src/vrcommon/hmderrors_public.h | 6 0 6 - 0 !
src/vrcommon/pathtools_public.cpp | 988 0 988 - 0 !
src/vrcommon/pathtools_public.h | 153 0 153 - 0 !
src/vrcommon/sharedlibtools_public.cpp | 63 0 63 - 0 !
src/vrcommon/sharedlibtools_public.h | 12 0 12 - 0 !
src/vrcommon/strtools_public.cpp | 606 0 606 - 0 !
src/vrcommon/strtools_public.h | 154 0 154 - 0 !
src/vrcommon/vrpathregistry_public.cpp | 483 0 483 - 0 !
src/vrcommon/vrpathregistry_public.h | 52 0 52 - 0 !
src/vrcore/dirtools_public.cpp | 639 639 0 - 0 !
src/vrcore/dirtools_public.h | 83 83 0 - 0 !
src/vrcore/envvartools_public.cpp | 88 88 0 - 0 !
src/vrcore/envvartools_public.h | 8 8 0 - 0 !
src/vrcore/hmderrors_public.cpp | 365 365 0 - 0 !
src/vrcore/hmderrors_public.h | 6 6 0 - 0 !
src/vrcore/pathtools_public.cpp | 1062 1062 0 - 0 !
src/vrcore/pathtools_public.h | 157 157 0 - 0 !
src/vrcore/sharedlibtools_public.cpp | 62 62 0 - 0 !
src/vrcore/sharedlibtools_public.h | 13 13 0 - 0 !
src/vrcore/strtools_public.cpp | 646 646 0 - 0 !
src/vrcore/strtools_public.h | 163 163 0 - 0 !
src/vrcore/vrpathregistry_public.cpp | 490 490 0 - 0 !
src/vrcore/vrpathregistry_public.h | 52 52 0 - 0 !
30 files changed, 3852 insertions( ), 3085 deletions(-)

 [sdk]: fixed compilation of public openvr api [sdk]: update
 with latest from main Copying using vr_steamvr_main_to_sdk_release

upstream pull request 1178.patch | (download)

CMakeLists.txt | 1 1 0 - 0 !
src/CMakeLists.txt | 5 4 1 - 0 !
src/json/json-forwards.h | 284 0 284 - 0 !
src/json/json.h | 2077 0 2077 - 0 !
src/jsoncpp.cpp | 5266 0 5266 - 0 !
src/vrcore/vrpathregistry_public.cpp | 2 1 1 - 0 !
thirdparty/jsoncpp/json/json-forwards.h | 284 284 0 - 0 !
thirdparty/jsoncpp/json/json.h | 2077 2077 0 - 0 !
thirdparty/jsoncpp/jsoncpp.cpp | 5266 5266 0 - 0 !
9 files changed, 7633 insertions( ), 7629 deletions(-)

 [patch 1/2] cmake: add option to build with system jsoncpp.

This patch adds the CMake build option `USE_SYSTEM_JSONCPP`,
which instead of using the internal `jsoncpp.cpp` links against
the system installed jsoncpp library.

This results in a `libopenvr_api.so` that is only 115K instead of 301K
on my system.

Distributions like Debian will prefer this behaviour, since it will give
them the possibility to maintain version and security issues for jsoncpp
in one place.

This behaviour can be enabled by

```
cmake -DUSE_SYSTEM_JSONCPP=True .
```

When the flag is not set, the build will behave like it did before.

I tested this patch using the system wide jsoncpp successfully
with xrdesktop.

findjsoncpp.patch | (download)

src/CMakeLists.txt | 13 12 1 - 0 !
1 file changed, 12 insertions( ), 1 deletion(-)

 find jsoncpp lib
0001 Add library soname from openvr version.patch | (download)

src/CMakeLists.txt | 7 5 2 - 0 !
src/openvr.pc.in | 4 2 2 - 0 !
2 files changed, 7 insertions( ), 4 deletions(-)

 [patch] add library soname from openvr version


upstream pull request 1342.patch | (download)

src/vrcore/vrpathregistry_public.cpp | 2 2 0 - 0 !
1 file changed, 2 insertions( )

 [patch] include <sstream> in vrpathregistry_public.cpp

std::istringstream requires this include.
Currently it is accidentally pulled in by including json.h.
Other jsoncpp versions don't provide that include, for example with #1178
the build breaks on debian stable.