mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
Copy debian packaging
This commit is contained in:
parent
dc4dcf15a9
commit
6805a91c34
1
debian/.gitattributes
vendored
Normal file
1
debian/.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
changelog merge=dpkg-mergechangelogs
|
10
debian/.gitignore
vendored
Normal file
10
debian/.gitignore
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
tmp/
|
||||
libopenxr1-monado/
|
||||
monado-cli/
|
||||
monado-gui/
|
||||
.debhelper/
|
||||
debhelper-build-stamp
|
||||
files
|
||||
*.debhelper.log
|
||||
*.substvars
|
||||
!patches/
|
16
debian/README.Debian
vendored
Normal file
16
debian/README.Debian
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
monado for Debian
|
||||
-----------------
|
||||
|
||||
The active OpenXR runtime is controlled by
|
||||
/etc/xdg/openxr/1/active_runtime.json. This file is managed by the
|
||||
update-alternatives system, under the name openxr1-active-runtime.
|
||||
|
||||
Note that at this time, you can have only a single runtime active, across all
|
||||
architectures. (This is an upstream bug in the OpenXR loader spec, tracked here:
|
||||
<https://github.com/KhronosGroup/OpenXR-SDK-Source/issues/148>) This package is
|
||||
built so that the runtime will be found in the default path, so you can have
|
||||
this runtime installed on multiple architectures and have them all work
|
||||
(assuming dependencies permit). However, you'd switch between Monado and some
|
||||
other runtime for all architectures at once.
|
||||
|
||||
-- Ryan Pavlik <ryan@ryanpavlik.com> Thu, 26 Mar 2020 09:36:58 -0500
|
31
debian/changelog
vendored
Normal file
31
debian/changelog
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
monado (0.1.0+git269.695ac70d-1) UNRELEASED; urgency=medium
|
||||
|
||||
* New upstream version 0.1.0+git269.695ac70d
|
||||
* Remove all patches: integrated upstream.
|
||||
* Add a patch for system cJSON build.
|
||||
* Apply cme fixes.
|
||||
* d/control: Fix Vcs-Browser, Vcs-Git
|
||||
* d/control: Add Build-Depends on libx11-xcb-dev
|
||||
* d/copyright: Update
|
||||
* d/rules:
|
||||
- Disable IPC/service module for now.
|
||||
- Fix/use all reproducibility flags.
|
||||
- Configure to force system cJSON.
|
||||
- Comment out flag only needed before Bullseye.
|
||||
- Explicitly disable OpenHMD to avoid confusion/CI issues.
|
||||
* d/README.source: Document procedure for updating and backporting package
|
||||
|
||||
-- Ryan Pavlik <ryan@ryanpavlik.com> Tue, 05 May 2020 15:30:13 -0500
|
||||
|
||||
monado (0.1.0+git108.a8a4d8c3-2) unstable; urgency=medium
|
||||
|
||||
* Add patches to fix build on ppc64el, s390x, powerpc
|
||||
* Rebuild to unblock migration.
|
||||
|
||||
-- Ryan Pavlik <ryan@ryanpavlik.com> Thu, 09 Apr 2020 18:03:59 -0500
|
||||
|
||||
monado (0.1.0+git108.a8a4d8c3-1) unstable; urgency=medium
|
||||
|
||||
* Initial release (Closes: #943486)
|
||||
|
||||
-- Ryan Pavlik <ryan@ryanpavlik.com> Wed, 08 Apr 2020 10:11:01 -0500
|
79
debian/control
vendored
Normal file
79
debian/control
vendored
Normal file
|
@ -0,0 +1,79 @@
|
|||
Source: monado
|
||||
Maintainer: Ryan Pavlik <ryan@ryanpavlik.com>
|
||||
Uploaders: Andrew Lee (李健秋) <ajqlee@debian.org>
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Build-Depends: debhelper-compat (= 12),
|
||||
cmake,
|
||||
doxygen,
|
||||
glslang-tools,
|
||||
graphviz,
|
||||
libavcodec-dev,
|
||||
libcjson-dev,
|
||||
libegl1-mesa-dev,
|
||||
libeigen3-dev,
|
||||
libgl1-mesa-dev,
|
||||
libglvnd-dev,
|
||||
libhidapi-dev,
|
||||
libopencv-dev,
|
||||
libsdl2-dev,
|
||||
libudev-dev,
|
||||
libusb-1.0-0-dev,
|
||||
libuvc-dev,
|
||||
libv4l-dev,
|
||||
libvulkan-dev,
|
||||
libwayland-dev,
|
||||
libx11-dev,
|
||||
libx11-xcb-dev,
|
||||
libxcb-randr0-dev,
|
||||
libxrandr-dev,
|
||||
libxxf86vm-dev,
|
||||
pkg-config
|
||||
Standards-Version: 4.5.0
|
||||
Vcs-Browser: https://salsa.debian.org/monado-team/monado
|
||||
Vcs-Git: https://salsa.debian.org/monado-team/monado.git
|
||||
Homepage: https://monado.freedesktop.org/
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: libopenxr1-monado
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Recommends: xr-hardware,
|
||||
libopenxr-loader1
|
||||
Provides: libopenxr1
|
||||
Description: Monado preview implementation of the OpenXR API
|
||||
Monado is an open-source package for interacting with virtual and
|
||||
augmented reality (collectively known as XR) hardware and software.
|
||||
.
|
||||
This package provides a runtime that aims to be a complete and conforming
|
||||
implementation of the OpenXR API from Khronos, after further development
|
||||
and once the conformance tests are released.
|
||||
|
||||
Package: monado-cli
|
||||
Architecture: any
|
||||
Section: graphics
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Recommends: xr-hardware
|
||||
Description: Monado command-line utility
|
||||
Monado is an open-source package for interacting with virtual and
|
||||
augmented reality (collectively known as XR) hardware and software.
|
||||
.
|
||||
This package provides a command line utility that can be used to test
|
||||
probing for XR hardware.
|
||||
|
||||
Package: monado-gui
|
||||
Architecture: any
|
||||
Section: graphics
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Recommends: xr-hardware
|
||||
Description: Monado GUI config and debug utility
|
||||
Monado is an open-source package for interacting with virtual and
|
||||
augmented reality (collectively known as XR) hardware and software.
|
||||
.
|
||||
This package provides a graphical interface utility that can be used to
|
||||
test probing for XR hardware, as well as performing calibration of
|
||||
cameras for use in tracking.
|
294
debian/copyright
vendored
Normal file
294
debian/copyright
vendored
Normal file
|
@ -0,0 +1,294 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: monado
|
||||
Source: <https://gitlab.freedesktop.org/monado/monado>
|
||||
Copyright: 2018-2020, Collabora, Ltd.
|
||||
License: BSL-1.0
|
||||
|
||||
Files: *
|
||||
Copyright: 2018-2020, Collabora, Ltd.
|
||||
License: BSL-1.0
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2020, Ryan Pavlik <ryan@ryanpavlik.com>
|
||||
License: BSL-1.0
|
||||
|
||||
Files: debian/extra/*
|
||||
Copyright: 2020, Ryan Pavlik <ryan@ryanpavlik.com>
|
||||
License: CC0-1.0
|
||||
|
||||
Files: debian/org.freedesktop.monado.openxr1.metainfo.xml
|
||||
Copyright: 2020, Collabora, Ltd.
|
||||
License: CC0-1.0
|
||||
|
||||
Files: doc/CHANGELOG.md
|
||||
Copyright: 2020, Collabora, Ltd. and the Monado contributors
|
||||
License: CC0-1.0
|
||||
|
||||
Files: doc/changes/*
|
||||
Copyright: 2020, Collabora, Ltd. and the Proclamation contributors
|
||||
License: CC0-1.0
|
||||
|
||||
Files: doc/changes/auxiliary/*
|
||||
Copyright: 2020, Collabora, Ltd. and the Monado contributors
|
||||
License: CC0-1.0
|
||||
|
||||
Files: doc/changes/big/*
|
||||
Copyright: 2020, Collabora, Ltd. and the Monado contributors
|
||||
License: CC0-1.0
|
||||
|
||||
Files: doc/changes/compositor/*
|
||||
Copyright: 2020, Collabora, Ltd. and the Monado contributors
|
||||
License: CC0-1.0
|
||||
|
||||
Files: doc/changes/drivers/*
|
||||
Copyright: 2020, Collabora, Ltd. and the Monado contributors
|
||||
License: CC0-1.0
|
||||
|
||||
Files: doc/changes/misc_features/*
|
||||
Copyright: 2020, Collabora, Ltd. and the Monado contributors
|
||||
License: CC0-1.0
|
||||
|
||||
Files: doc/changes/misc_fixes/*
|
||||
Copyright: 2020, Collabora, Ltd. and the Monado contributors
|
||||
License: CC0-1.0
|
||||
|
||||
Files: doc/changes/state_trackers/*
|
||||
Copyright: 2020, Collabora, Ltd. and the Monado contributors
|
||||
License: CC0-1.0
|
||||
|
||||
Files: doc/changes/xrt/*
|
||||
Copyright: 2020, Collabora, Ltd. and the Monado contributors
|
||||
License: CC0-1.0
|
||||
|
||||
Files: src/external/cjson/*
|
||||
Copyright: 2009-2017, Dave Gamble and cJSON contributors
|
||||
License: Expat
|
||||
|
||||
Files: src/external/flexkalman/*
|
||||
Copyright: 2019, Collabora, Ltd.
|
||||
2015, 2016, Sensics, Inc.
|
||||
License: Apache-2.0
|
||||
|
||||
Files: src/external/flexkalman/flexkalman/AbsoluteOrientationMeasurement.h
|
||||
src/external/flexkalman/flexkalman/AngularVelocityMeasurement.h
|
||||
src/external/flexkalman/flexkalman/FlexibleKalmanBase.h
|
||||
src/external/flexkalman/flexkalman/FlexibleKalmanCorrect.h
|
||||
src/external/flexkalman/flexkalman/FlexibleKalmanFilter.h
|
||||
src/external/flexkalman/flexkalman/FlexibleKalmanMeta.h
|
||||
src/external/flexkalman/flexkalman/FlexibleUnscentedCorrect.h
|
||||
src/external/flexkalman/flexkalman/MatrixExponentialMap.h
|
||||
src/external/flexkalman/flexkalman/OrientationConstantVelocity.h
|
||||
src/external/flexkalman/flexkalman/OrientationState.h
|
||||
src/external/flexkalman/flexkalman/PoseConstantVelocity.h
|
||||
src/external/flexkalman/flexkalman/PoseConstantVelocityGeneric.h
|
||||
src/external/flexkalman/flexkalman/PoseDampedConstantVelocity.h
|
||||
src/external/flexkalman/flexkalman/PoseSeparatelyDampedConstantVelocity.h
|
||||
src/external/flexkalman/flexkalman/PoseState.h
|
||||
src/external/flexkalman/flexkalman/PoseStateExponentialMap.h
|
||||
Copyright: 2019, 2020, Collabora, Ltd.
|
||||
2015, 2016, Sensics, Inc.
|
||||
License: Apache-2.0
|
||||
|
||||
Files: src/external/flexkalman/flexkalman/AbsolutePositionLeverArmMeasurement.h
|
||||
src/external/flexkalman/flexkalman/SO3.h
|
||||
Copyright: 2018-2020, Collabora, Ltd.
|
||||
License: Apache-2.0
|
||||
|
||||
Files: src/external/flexkalman/flexkalman/AbsolutePositionMeasurement.h
|
||||
src/external/flexkalman/flexkalman/AugmentedProcessModel.h
|
||||
src/external/flexkalman/flexkalman/AugmentedState.h
|
||||
src/external/flexkalman/flexkalman/ConstantProcess.h
|
||||
src/external/flexkalman/flexkalman/EigenQuatExponentialMap.h
|
||||
src/external/flexkalman/flexkalman/ExternalQuaternion.h
|
||||
src/external/flexkalman/flexkalman/PureVectorState.h
|
||||
src/external/flexkalman/flexkalman/SigmaPointGenerator.h
|
||||
Copyright: 2015, 2016, Sensics, Inc.
|
||||
License: Apache-2.0
|
||||
|
||||
Files: src/external/flexkalman/flexkalman/BaseTypes.h
|
||||
Copyright: 2019, Collabora, Ltd.
|
||||
License: Apache-2.0
|
||||
|
||||
Files: src/external/imgui/imgui/*
|
||||
Copyright: 2015, Stephan Dilly
|
||||
2014-2020, Omar Cornut
|
||||
License: Expat
|
||||
|
||||
Files: src/external/imgui/imgui/imstb_rectpack.h
|
||||
src/external/imgui/imgui/imstb_textedit.h
|
||||
src/external/imgui/imgui/imstb_truetype.h
|
||||
Copyright: 2017, Sean Barrett
|
||||
License: Expat
|
||||
|
||||
Files: src/external/openxr_includes/*
|
||||
Copyright: 2017-2019, The Khronos Group Inc.
|
||||
License: Apache-2.0
|
||||
|
||||
Files: src/external/openxr_includes/openxr/loader_interfaces.h
|
||||
Copyright: 2017-2019, The Khronos Group Inc.
|
||||
2017, Valve Corporation
|
||||
2017, LunarG, Inc.
|
||||
License: Apache-2.0
|
||||
|
||||
Files: src/xrt/auxiliary/math/m_imu_3dof.c
|
||||
src/xrt/auxiliary/math/m_imu_3dof.h
|
||||
Copyright: 2020, Collabora, Ltd.
|
||||
2013, Jakob Bornecrantz.
|
||||
2013, Fredrik Hultin.
|
||||
License: BSL-1.0
|
||||
|
||||
Files: src/xrt/auxiliary/math/m_quatexpmap.cpp
|
||||
Copyright: 2019, 2020, Collabora, Ltd.
|
||||
2015, 2016, Sensics, Inc.
|
||||
License: Apache-2.0
|
||||
|
||||
Files: src/xrt/auxiliary/math/m_vec3.h
|
||||
Copyright: 2020, Nova King.
|
||||
2019, 2020, Collabora, Ltd.
|
||||
License: BSL-1.0
|
||||
|
||||
Files: src/xrt/drivers/hdk/hdk_device.cpp
|
||||
Copyright: 2019, Collabora, Ltd.
|
||||
2014-2018, Sensics, Inc.
|
||||
2014, Kevin M. Godby
|
||||
License: BSL-1.0
|
||||
|
||||
Files: src/xrt/drivers/hydra/hydra_driver.c
|
||||
Copyright: 2019, Collabora, Ltd.
|
||||
2011, Iowa State University
|
||||
License: BSL-1.0
|
||||
|
||||
Files: src/xrt/drivers/north_star/*
|
||||
Copyright: 2020, Nova King.
|
||||
2019, 2020, Collabora, Ltd.
|
||||
License: BSL-1.0
|
||||
|
||||
Files: src/xrt/drivers/north_star/distortion/*
|
||||
Copyright: 2020, Nova King.
|
||||
2020, Hesham Wahba.
|
||||
License: BSD-3-Clause
|
||||
|
||||
Files: src/xrt/drivers/north_star/ns_hmd.h
|
||||
Copyright: 2018-2020, Collabora, Ltd.
|
||||
License: BSL-1.0
|
||||
|
||||
Files: src/xrt/drivers/psvr/*
|
||||
Copyright: 2019, Collabora, Ltd.
|
||||
2016, Joey Ferwerda.
|
||||
License: BSL-1.0
|
||||
|
||||
Files: src/xrt/drivers/psvr/psvr_interface.h
|
||||
src/xrt/drivers/psvr/psvr_prober.c
|
||||
Copyright: 2018-2020, Collabora, Ltd.
|
||||
License: BSL-1.0
|
||||
|
||||
Files: src/xrt/drivers/realsense/rs_6dof.c
|
||||
Copyright: 2020, Nova King.
|
||||
2019, 2020, Collabora, Ltd.
|
||||
License: BSL-1.0
|
||||
|
||||
Files: src/xrt/drivers/vive/vive_controller_driver.c
|
||||
src/xrt/drivers/vive/vive_device.c
|
||||
src/xrt/drivers/vive/vive_protocol.c
|
||||
src/xrt/drivers/vive/vive_protocol.h
|
||||
Copyright: 2019, 2020, Collabora, Ltd.
|
||||
2016-2019, Philipp Zabel
|
||||
License: BSL-1.0
|
||||
|
||||
Files: src/xrt/targets/openxr/install_active_runtime.sh
|
||||
Copyright: 2019, Drew DeVault <sir@cmpwn.com>
|
||||
License: BSL-1.0
|
||||
|
||||
License: Apache-2.0
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
.
|
||||
https://www.apache.org/licenses/LICENSE-2.0
|
||||
.
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
.
|
||||
On Debian systems, the complete text of the Apache version 2.0 license
|
||||
can be found in "/usr/share/common-licenses/Apache-2.0".
|
||||
|
||||
License: BSD-3-Clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the <organization> nor the
|
||||
names of its contributors may be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: BSL-1.0
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by this
|
||||
license (the "Software") to use, reproduce, display, distribute, execute, and
|
||||
transmit the Software, and to prepare derivative works of the Software, and to
|
||||
permit third-parties to whom the Software is furnished to do so, all subject to
|
||||
the following:
|
||||
.
|
||||
The copyright notices in the Software and this entire statement, including the
|
||||
above license grant, this restriction and the following disclaimer, must be
|
||||
included in all copies of the Software, in whole or in part, and all derivative
|
||||
works of the Software, unless such copies or derivative works are solely in the
|
||||
form of machine-executable object code generated by a source language
|
||||
processor.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
License: CC0-1.0
|
||||
foo has dedicated the work to the Commons by waiving all of his
|
||||
or her rights to the work worldwide under copyright law and all related or
|
||||
neighboring legal rights he or she had in the work, to the extent allowable by
|
||||
law.
|
||||
Works under CC0 do not require attribution. When citing the work, you should
|
||||
not imply endorsement by the author.
|
||||
To the extent possible under law, the author(s) have dedicated all
|
||||
copyright and related and neighboring rights to this software to the public
|
||||
domain worldwide. This software is distributed without any warranty.
|
||||
On Debian systems, the complete text of the CC0 license, version 1.0,
|
||||
can be found in /usr/share/common-licenses/CC0-1.0.
|
||||
|
||||
License: Expat
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
4
debian/copyright-scan-patterns.yml
vendored
Normal file
4
debian/copyright-scan-patterns.yml
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
ignore:
|
||||
pattern:
|
||||
- .reuse/*
|
32
debian/extra/prepare-commit-package.sh
vendored
Executable file
32
debian/extra/prepare-commit-package.sh
vendored
Executable file
|
@ -0,0 +1,32 @@
|
|||
#!/bin/sh
|
||||
# Copyright 2020, Ryan Pavlik <ryan@ryanpavlik.com>
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
# Packages produced this way are for automated use only and shouldn't be uploaded to the Debian archive.
|
||||
|
||||
set -e
|
||||
(
|
||||
cd "$(dirname $0)"
|
||||
cd ../..
|
||||
export DEVSCRIPTS_CHECK_DIRNAME_LEVEL=0
|
||||
|
||||
if [ x"$1" != x ]; then
|
||||
COMMIT_TO_PACKAGE=$1
|
||||
export COMMIT_TO_PACKAGE
|
||||
else
|
||||
COMMIT_TO_PACKAGE=master
|
||||
export COMMIT_TO_PACKAGE
|
||||
fi
|
||||
|
||||
if [ x"$2" != x ]; then
|
||||
PKG_REVISION=$2
|
||||
export PKG_REVISION
|
||||
else
|
||||
PKG_REVISION=1~ci$(date --utc "+%Y%m%d")
|
||||
export PKG_REVISION
|
||||
fi
|
||||
|
||||
UPSTREAM_VER=$(git describe $COMMIT_TO_PACKAGE | sed -E -e 's/^v//' -e 's/-([0-9]+)-g([0-9a-f])/+git\1.\2/')
|
||||
git archive -o "../monado_${UPSTREAM_VER}.orig.tar.gz" ${COMMIT_TO_PACKAGE}
|
||||
dch --newversion "${UPSTREAM_VER}-${PKG_REVISION}" --preserve "Automated CI build of commit ${COMMIT_TO_PACKAGE}"
|
||||
)
|
8
debian/extra/register-dpkg-mergechangelogs.sh
vendored
Executable file
8
debian/extra/register-dpkg-mergechangelogs.sh
vendored
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
# Copyright 2020, Ryan Pavlik <ryan@ryanpavlik.com>
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
# Registers dpkg-mergechangelogs as a git merge driver so the gitattributes in here works right.
|
||||
# defaults to local-only: calling with --global is recommended
|
||||
set -e
|
||||
git config "$@" merge.dpkg-mergechangelogs.name="debian/changelog merge driver"
|
||||
git config "$@" merge.dpkg-mergechangelogs.driver="dpkg-mergechangelogs -m %O %A %B %A"
|
22
debian/fill.copyright.blanks.yml
vendored
Normal file
22
debian/fill.copyright.blanks.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
doc/CHANGELOG.md:
|
||||
license: CC0-1.0
|
||||
doc/changes/:
|
||||
copyright: 2020, Collabora, Ltd. and the Monado contributors
|
||||
license: CC0-1.0
|
||||
skip: false
|
||||
doc/changes/README.md:
|
||||
copyright: 2020, Collabora, Ltd. and the Proclamation contributors
|
||||
license: CC0-1.0
|
||||
skip: false
|
||||
src/external/imgui/imgui_monado/:
|
||||
license: BSL-1.0
|
||||
# Default to BSL.
|
||||
src/xrt:
|
||||
license: BSL-1.0
|
||||
debian/extra/:
|
||||
license: CC0-1.0
|
||||
src/xrt/drivers/north_star/distortion/:
|
||||
license: BSD-3-Clause
|
||||
src/xrt/auxiliary/math/m_quatexpmap.cpp:
|
||||
license: Apache-2.0
|
2
debian/fix.scanned.copyright
vendored
Normal file
2
debian/fix.scanned.copyright
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Remove mistaken prefix.
|
||||
! copyright Files:~/.*/ Copyright=~"s/Text: //"
|
4
debian/gbp.conf
vendored
Normal file
4
debian/gbp.conf
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
[DEFAULT]
|
||||
debian-branch = debian/master
|
||||
pristine-tar = True
|
||||
upstream-branch = master
|
1
debian/libopenxr1-monado.dirs
vendored
Normal file
1
debian/libopenxr1-monado.dirs
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
etc/xdg/openxr/1
|
1
debian/libopenxr1-monado.docs
vendored
Normal file
1
debian/libopenxr1-monado.docs
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
debian/README.Debian
|
3
debian/libopenxr1-monado.install
vendored
Normal file
3
debian/libopenxr1-monado.install
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
usr/lib/*/libopenxr_monado.*
|
||||
usr/share/openxr/1/openxr_monado.json
|
||||
debian/org.freedesktop.monado.openxr1.metainfo.xml usr/share/metainfo
|
4
debian/libopenxr1-monado.lintian-overrides
vendored
Normal file
4
debian/libopenxr1-monado.lintian-overrides
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
# This is never linked directly against. It is placed in the main library directory
|
||||
# so that it can be found by the loader using an unqualified name, to allow multiple architectures
|
||||
# to have an active OpenXR runtime (the same one) at the same time.
|
||||
libopenxr1-monado: sharedobject-in-library-directory-missing-soname usr/lib/*/libopenxr_monado.so
|
27
debian/libopenxr1-monado.postinst
vendored
Executable file
27
debian/libopenxr1-monado.postinst
vendored
Executable file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/sh
|
||||
# postinst script for monado
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
update-alternatives --install /etc/xdg/openxr/1/active_runtime.json openxr1-active-runtime /usr/share/openxr/1/openxr_monado.json 50
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
29
debian/libopenxr1-monado.prerm
vendored
Executable file
29
debian/libopenxr1-monado.prerm
vendored
Executable file
|
@ -0,0 +1,29 @@
|
|||
#!/bin/sh
|
||||
# prerm script for monado
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
remove|deconfigure)
|
||||
|
||||
update-alternatives --remove openxr1-active-runtime /usr/share/openxr/1/openxr_monado.json
|
||||
;;
|
||||
upgrade)
|
||||
;;
|
||||
failed-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "prerm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
26
debian/monado-cli.1
vendored
Normal file
26
debian/monado-cli.1
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
.\" Copyright 2020, Collabora, Ltd.
|
||||
.\" SPDX-License-Identifier: BSL-1.0
|
||||
.\" Author: Ryan Pavlik
|
||||
.Dd March 31, 2020
|
||||
.Dt MONADO-CLI 1
|
||||
.Sh NAME
|
||||
.Nm monado-cli
|
||||
.Nd Command-line tool for testing Monado
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
test
|
||||
.Nm
|
||||
probe
|
||||
.Sh DESCRIPTION
|
||||
.Nm
|
||||
is a tool to test or debug Monado on a system.
|
||||
.Pp
|
||||
The arguments are as follows:
|
||||
.Bl -tag -width -indent
|
||||
.It test
|
||||
Verbosely lists found devices, including un-recognized devices, for prober testing.
|
||||
.It probe
|
||||
Creates the prober, probes, and immediately shuts down.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr monado-gui 1
|
1
debian/monado-cli.install
vendored
Normal file
1
debian/monado-cli.install
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
usr/bin/monado-cli
|
1
debian/monado-cli.manpages
vendored
Normal file
1
debian/monado-cli.manpages
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
debian/monado-cli.1
|
36
debian/monado-gui.1
vendored
Normal file
36
debian/monado-gui.1
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
.\" Copyright 2020, Collabora, Ltd.
|
||||
.\" SPDX-License-Identifier: BSL-1.0
|
||||
.\" Author: Ryan Pavlik
|
||||
.Dd March 31, 2020
|
||||
.Dt MONADO-GUI 1
|
||||
.Sh NAME
|
||||
.Nm monado-gui
|
||||
.Nd GUI tool for configuring and testing Monado
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Sh DESCRIPTION
|
||||
.Nm
|
||||
is a tool to configure, test, and debug Monado on a system.
|
||||
.Pp
|
||||
It takes no arguments, and spawns a main menu window with a number of buttons.
|
||||
Some options may spawn a number of sub-windows.
|
||||
These may be overlapping initially, and should be moved to reveal them all clearly.
|
||||
.Pp
|
||||
.Bl -tag -width -indent
|
||||
.It Calibrate
|
||||
Choosing "Calibrate" from the main menu will walk you through selecting a camera device and choosing calibration details.
|
||||
You will need a calibration test target in a "checkerboard" or "asymmetric dots" pattern
|
||||
(see the OpenCV documentation for more information on these)
|
||||
printed very precisely in high contrast on a rigid surface.
|
||||
.It Debug Test
|
||||
Choosing "Debug Test" from the main menu will probe and start all devices, showing you debug information on many of them.
|
||||
The debug views and controls available vary based on available devices.
|
||||
.El
|
||||
.Sh NOTES
|
||||
The GUI available through "Debug Test" may also be available while running an OpenXR-based application using Monado, by setting the environment variable
|
||||
.Ev OXR_DEBUG_GUI
|
||||
to ON.
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr monado-cli 1
|
1
debian/monado-gui.install
vendored
Normal file
1
debian/monado-gui.install
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
usr/bin/monado-gui
|
1
debian/monado-gui.manpages
vendored
Normal file
1
debian/monado-gui.manpages
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
debian/monado-gui.1
|
56
debian/org.freedesktop.monado.openxr1.metainfo.xml
vendored
Normal file
56
debian/org.freedesktop.monado.openxr1.metainfo.xml
vendored
Normal file
|
@ -0,0 +1,56 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component>
|
||||
<id>org.freedesktop.monado.openxr1</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>Monado OpenXR Runtime</name>
|
||||
<summary>Run VR/AR applications written against the OpenXR API</summary>
|
||||
<description>
|
||||
<p>
|
||||
Monado is an open-source package for interacting with virtual and augmented
|
||||
reality (collectively known as XR) hardware and software.
|
||||
</p>
|
||||
<p>
|
||||
This package provides a runtime that aims to be a complete and conforming
|
||||
implementation of the OpenXR API from Khronos, after further development
|
||||
and once the conformance tests are released.
|
||||
</p>
|
||||
</description>
|
||||
<provides>
|
||||
<!--Razer Hydra-->
|
||||
<modalias>usb:v1532p0300*</modalias>
|
||||
<!--HTC Vive-->
|
||||
<modalias>usb:v0BB4p2C87*</modalias>
|
||||
<!--HTC Vive Pro-->
|
||||
<modalias>usb:v0BB4p0309*</modalias>
|
||||
<!--Valve Watchman Dongle-->
|
||||
<modalias>usb:v28DEp2101*</modalias>
|
||||
<!--Valve Index Controller-->
|
||||
<modalias>usb:v28DEp2300*</modalias>
|
||||
<!--Valve Receiver for Lighthouse - HTC Vive-->
|
||||
<modalias>usb:v28DEp2000*</modalias>
|
||||
<!--OSVR HDK-->
|
||||
<modalias>usb:v1532p0B00*</modalias>
|
||||
<!--Oculus Rift (DK1)-->
|
||||
<modalias>usb:v2833p0001*</modalias>
|
||||
<!--Oculus Rift (DK2)-->
|
||||
<modalias>usb:v2833p0021*</modalias>
|
||||
<!--Oculus Rift (DK2)-->
|
||||
<modalias>usb:v2833p2021*</modalias>
|
||||
<!--Oculus Rift (CV1)-->
|
||||
<modalias>usb:v2833p0031*</modalias>
|
||||
<!--Sony PlayStation VR-->
|
||||
<modalias>usb:v054Cp09AF*</modalias>
|
||||
<!--Sony PlayStation Move Motion Controller CECH-ZCM1-->
|
||||
<modalias>usb:v054Cp03D5*</modalias>
|
||||
<modalias>bluetooth:v054Cp03D5*</modalias>
|
||||
<modalias>input:b0005v054Cp03D5*</modalias>
|
||||
<!--Sony PlayStation Move Motion Controller CECH-ZCM2-->
|
||||
<modalias>usb:v054Cp0C5E*</modalias>
|
||||
<modalias>bluetooth:v054Cp0C5E*</modalias>
|
||||
<modalias>input:b0005v054Cp0C5E*</modalias>
|
||||
<!--Microsoft HoloLens Sensors-->
|
||||
<modalias>usb:v045Ep0659*</modalias>
|
||||
<!--Samsung Odyssey+ sensors-->
|
||||
<modalias>usb:v04E8p7312*</modalias>
|
||||
</provides>
|
||||
</component>
|
28
debian/rules
vendored
Executable file
28
debian/rules
vendored
Executable file
|
@ -0,0 +1,28 @@
|
|||
#!/usr/bin/make -f
|
||||
# See debhelper(7) (uncomment to enable)
|
||||
# output every command that modifies files on the build system.
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
|
||||
# see FEATURE AREAS in dpkg-buildflags(1)
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=+all
|
||||
|
||||
# see ENVIRONMENT in dpkg-buildflags(1)
|
||||
# package maintainers to append LDFLAGS
|
||||
# Not needed on Bullseye and newer
|
||||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
# We manage active runtime via update-alternatives
|
||||
# We use a relative runtime path to allow Multi-Arch: same to work.
|
||||
# We disable the service process for now because of packaging (need to split a new binary package) and missing auto-start.
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- -DBUILD_WITH_SYSTEM_CJSON=ON -DINSTALL_ACTIVE_RUNTIME=OFF -DVULKAN_ENABLE_VALIDATION=OFF -DBUILD_DOC=OFF -DOPENXR_INSTALL_ABSOLUTE_RUNTIME_PATH=OFF -DXRT_BUILD_IPC=OFF -DBUILD_WITH_OPENHMD=OFF
|
||||
|
||||
# Remove imgui config file if it's there.
|
||||
override_dh_auto_clean:
|
||||
-rm -f imgui.ini
|
||||
dh_auto_clean
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
3
debian/tests/cli-probe
vendored
Normal file
3
debian/tests/cli-probe
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
monado-cli probe
|
3
debian/tests/cli-test
vendored
Normal file
3
debian/tests/cli-test
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
monado-cli test
|
3
debian/tests/control
vendored
Normal file
3
debian/tests/control
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
Tests: cli-probe, cli-test
|
||||
Restrictions: allow-stderr,superficial
|
||||
Depends: monado-cli
|
7
debian/upstream/metadata
vendored
Normal file
7
debian/upstream/metadata
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
Bug-Database: https://gitlab.freedesktop.org/monado/monado/-/issues
|
||||
Bug-Submit: https://gitlab.freedesktop.org/monado/monado/-/issues
|
||||
Changelog: https://gitlab.freedesktop.org/monado/monado/-/blob/master/doc/CHANGELOG.md
|
||||
Documentation: https://monado.pages.freedesktop.org/monado/
|
||||
Repository-Browse: hhttps://gitlab.freedesktop.org/monado/monado/
|
||||
Repository: https://gitlab.freedesktop.org/monado/monado.git
|
7
debian/watch
vendored
Normal file
7
debian/watch
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
version=4
|
||||
opts=filenamemangle=s/.*\/archive\/v(\d\S+)\/monado.*\.tar\.bz2/monado-$1\.tar\.bz2/g \
|
||||
https://gitlab.freedesktop.org/monado/monado/-/tags \
|
||||
.*/archive/v(\d\S+)/.*[.]tar[.]bz2
|
||||
|
||||
|
||||
# .*/archive/(\d\S+)/.*\.tar\.bz2
|
Loading…
Reference in a new issue