thunderbird: version bump to 91.8.1, new packages: ogre-next, openvr, rapidjson
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED=1 \
|
||||
-DUSE_SYSTEM_JSONCPP=True")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
#pisitools.domove("/usr/share/pkgconfig/openvr.pc","/usr/lib/pkgconfig")
|
||||
#pisitools.removeDir("/usr/share/pkgconfig")
|
||||
|
||||
pisitools.dodoc("LICENSE", "README.md")
|
||||
+161
@@ -0,0 +1,161 @@
|
||||
From ccdcd5a741bead75f60325f97d59ccdc4f082bac Mon Sep 17 00:00:00 2001
|
||||
From: Richard Musil <risa2000x@gmail.com>
|
||||
Date: Thu, 25 Feb 2021 08:52:44 +0100
|
||||
Subject: [PATCH] Fixed includes and asserts in v1.6.18 release.
|
||||
|
||||
---
|
||||
src/openvr_api_public.cpp | 10 +++++-----
|
||||
src/vrcommon/dirtools_public.cpp | 6 +++---
|
||||
src/vrcommon/envvartools_public.cpp | 4 ++--
|
||||
src/vrcommon/pathtools_public.cpp | 6 +++---
|
||||
src/vrcommon/sharedlibtools_public.cpp | 2 +-
|
||||
src/vrcommon/strtools_public.cpp | 8 ++++----
|
||||
src/vrcommon/vrpathregistry_public.cpp | 12 ++++++------
|
||||
7 files changed, 24 insertions(+), 24 deletions(-)
|
||||
|
||||
diff --git a/src/openvr_api_public.cpp b/src/openvr_api_public.cpp
|
||||
index 98ba762..efe6c16 100644
|
||||
--- a/src/openvr_api_public.cpp
|
||||
+++ b/src/openvr_api_public.cpp
|
||||
@@ -2,12 +2,12 @@
|
||||
#define VR_API_EXPORT 1
|
||||
#include "openvr.h"
|
||||
#include "ivrclientcore.h"
|
||||
-#include <vrcore/pathtools_public.h>
|
||||
-#include <vrcore/sharedlibtools_public.h>
|
||||
-#include <vrcore/envvartools_public.h>
|
||||
+#include "vrcommon/pathtools_public.h"
|
||||
+#include "vrcommon/sharedlibtools_public.h"
|
||||
+#include "vrcommon/envvartools_public.h"
|
||||
#include "hmderrors_public.h"
|
||||
-#include <vrcore/strtools_public.h>
|
||||
-#include <vrcore/vrpathregistry_public.h>
|
||||
+#include "vrcommon/strtools_public.h"
|
||||
+#include "vrcommon/vrpathregistry_public.h"
|
||||
#include <mutex>
|
||||
|
||||
using vr::EVRInitError;
|
||||
diff --git a/src/vrcommon/dirtools_public.cpp b/src/vrcommon/dirtools_public.cpp
|
||||
index e5fccc1..37828b6 100644
|
||||
--- a/src/vrcommon/dirtools_public.cpp
|
||||
+++ b/src/vrcommon/dirtools_public.cpp
|
||||
@@ -1,7 +1,7 @@
|
||||
//========= Copyright Valve Corporation ============//
|
||||
-#include <vrcore/dirtools_public.h>
|
||||
-#include <vrcore/strtools_public.h>
|
||||
-#include <vrcore/pathtools_public.h>
|
||||
+#include "vrcommon/dirtools_public.h"
|
||||
+#include "vrcommon/strtools_public.h"
|
||||
+#include "vrcommon/pathtools_public.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
diff --git a/src/vrcommon/envvartools_public.cpp b/src/vrcommon/envvartools_public.cpp
|
||||
index b6de2a8..77f43ff 100644
|
||||
--- a/src/vrcommon/envvartools_public.cpp
|
||||
+++ b/src/vrcommon/envvartools_public.cpp
|
||||
@@ -1,6 +1,6 @@
|
||||
//========= Copyright Valve Corporation ============//
|
||||
-#include <vrcore/envvartools_public.h>
|
||||
-#include <vrcore/strtools_public.h>
|
||||
+#include "vrcommon/envvartools_public.h"
|
||||
+#include "vrcommon/strtools_public.h"
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
#include <cctype>
|
||||
diff --git a/src/vrcommon/pathtools_public.cpp b/src/vrcommon/pathtools_public.cpp
|
||||
index 2503ec6..fe932f4 100644
|
||||
--- a/src/vrcommon/pathtools_public.cpp
|
||||
+++ b/src/vrcommon/pathtools_public.cpp
|
||||
@@ -1,6 +1,6 @@
|
||||
//========= Copyright Valve Corporation ============//
|
||||
-#include <vrcore/strtools_public.h>
|
||||
-#include <vrcore/pathtools_public.h>
|
||||
+#include "vrcommon/strtools_public.h"
|
||||
+#include "vrcommon/pathtools_public.h"
|
||||
|
||||
#if defined( _WIN32)
|
||||
#include <windows.h>
|
||||
@@ -66,7 +66,7 @@ std::string Path_GetExecutablePath()
|
||||
return "";
|
||||
}
|
||||
#else
|
||||
- AssertMsg( false, "Implement Plat_GetExecutablePath" );
|
||||
+ //AssertMsg( false, "Implement Plat_GetExecutablePath" );
|
||||
return "";
|
||||
#endif
|
||||
|
||||
diff --git a/src/vrcommon/sharedlibtools_public.cpp b/src/vrcommon/sharedlibtools_public.cpp
|
||||
index cce1528..d80d6fb 100644
|
||||
--- a/src/vrcommon/sharedlibtools_public.cpp
|
||||
+++ b/src/vrcommon/sharedlibtools_public.cpp
|
||||
@@ -1,5 +1,5 @@
|
||||
//========= Copyright Valve Corporation ============//
|
||||
-#include <vrcore/sharedlibtools_public.h>
|
||||
+#include "vrcommon/sharedlibtools_public.h"
|
||||
#include <string.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
diff --git a/src/vrcommon/strtools_public.cpp b/src/vrcommon/strtools_public.cpp
|
||||
index 343ec42..3193f7e 100644
|
||||
--- a/src/vrcommon/strtools_public.cpp
|
||||
+++ b/src/vrcommon/strtools_public.cpp
|
||||
@@ -1,5 +1,6 @@
|
||||
//========= Copyright Valve Corporation ============//
|
||||
-#include <vrcore/strtools_public.h>
|
||||
+#include "vrcommon/strtools_public.h"
|
||||
+//#include "vrcommon/assert.h"
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -9,7 +10,6 @@
|
||||
#include <functional>
|
||||
#include <locale>
|
||||
#include <codecvt>
|
||||
-#include <vrcore/assert.h>
|
||||
|
||||
#if defined( _WIN32 )
|
||||
#include <windows.h>
|
||||
@@ -128,7 +128,7 @@ std::string Format( const char *pchFormat, ... )
|
||||
// Something went fairly wrong
|
||||
if ( unSize < 0 )
|
||||
{
|
||||
- AssertMsg( false, "Format string parse failure" );
|
||||
+ //AssertMsg( false, "Format string parse failure" );
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ std::string Format( const char *pchFormat, ... )
|
||||
// Double check, just in case
|
||||
if ( unSize < 0 )
|
||||
{
|
||||
- AssertMsg( false, "Format string parse failure" );
|
||||
+ //AssertMsg( false, "Format string parse failure" );
|
||||
return "";
|
||||
}
|
||||
|
||||
diff --git a/src/vrcommon/vrpathregistry_public.cpp b/src/vrcommon/vrpathregistry_public.cpp
|
||||
index 2746bdb..b8a545f 100644
|
||||
--- a/src/vrcommon/vrpathregistry_public.cpp
|
||||
+++ b/src/vrcommon/vrpathregistry_public.cpp
|
||||
@@ -1,11 +1,11 @@
|
||||
//========= Copyright Valve Corporation ============//
|
||||
|
||||
-#include <vrcore/vrpathregistry_public.h>
|
||||
-#include <json/json.h>
|
||||
-#include <vrcore/pathtools_public.h>
|
||||
-#include <vrcore/envvartools_public.h>
|
||||
-#include <vrcore/strtools_public.h>
|
||||
-#include <vrcore/dirtools_public.h>
|
||||
+#include "vrcommon/vrpathregistry_public.h"
|
||||
+#include "json/json.h"
|
||||
+#include "vrcommon/pathtools_public.h"
|
||||
+#include "vrcommon/envvartools_public.h"
|
||||
+#include "vrcommon/strtools_public.h"
|
||||
+#include "vrcommon/dirtools_public.h"
|
||||
|
||||
#if defined( WIN32 )
|
||||
#include <windows.h>
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
diff -Nur openvr-1.16.8/src/vrcommon/strtools_public.cpp new/src/vrcommon/strtools_public.cpp
|
||||
--- openvr-1.16.8/src/vrcommon/strtools_public.cpp 2021-03-28 20:07:17.901245911 +0200
|
||||
+++ new/src/vrcommon/strtools_public.cpp 2021-03-28 20:08:25.491270144 +0200
|
||||
@@ -1,6 +1,7 @@
|
||||
//========= Copyright Valve Corporation ============//
|
||||
#include "vrcommon/strtools_public.h"
|
||||
//#include "vrcommon/assert.h"
|
||||
+#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -0,0 +1,22 @@
|
||||
diff -Nur old/src/CMakeLists.txt new/src/CMakeLists.txt
|
||||
--- old/src/CMakeLists.txt 2021-03-28 20:16:17.261479252 +0200
|
||||
+++ new/src/CMakeLists.txt 2021-03-28 20:19:31.379804791 +0200
|
||||
@@ -68,6 +68,9 @@
|
||||
# Build the library.
|
||||
if(BUILD_SHARED)
|
||||
add_library(${LIBNAME} SHARED ${SOURCE_FILES})
|
||||
+ set_target_properties(${LIBNAME} PROPERTIES
|
||||
+ VERSION ${OPENVR_VERSION})
|
||||
+
|
||||
elseif(BUILD_FRAMEWORK)
|
||||
set( LIBNAME "OpenVR" )
|
||||
add_library( ${LIBNAME}
|
||||
@@ -101,7 +104,7 @@
|
||||
target_link_libraries(${LIBNAME} ${EXTRA_LIBS} ${CMAKE_DL_LIBS})
|
||||
target_include_directories(${LIBNAME} PUBLIC ${OPENVR_HEADER_DIR})
|
||||
|
||||
-install(TARGETS ${LIBNAME} DESTINATION lib)
|
||||
+install(TARGETS ${LIBNAME} DESTINATION lib${LIB_SUFFIX})
|
||||
install(FILES ${PUBLIC_HEADER_FILES} DESTINATION include/openvr)
|
||||
|
||||
# Generate a .pc file for linux environments
|
||||
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>openvr</Name>
|
||||
<Homepage>https://github.com/ValveSoftware/openvr</Homepage>
|
||||
<Packager>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>app</IsA>
|
||||
<Summary>API and runtime that allows access to VR hardware from multiple vendors</Summary>
|
||||
<Description>OpenVR is an API and runtime that allows access to VR hardware from multiple vendors without requiring that applications have specific knowledge of the hardware they are targeting. This repository is an SDK that contains the API and samples. The runtime is under SteamVR in Tools on Steam.</Description>
|
||||
<Archive sha1sum="f46dfd200aad552224ad291624458895c706be3b" type="targz">https://github.com/ValveSoftware/openvr/archive/refs/tags/v1.16.8.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>jsoncpp-devel</Dependency>
|
||||
<Dependency>libglvnd-devel</Dependency>
|
||||
<Dependency>rapidjson-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>0001-Fixed-includes-and-asserts-in-v1.6.18-release.patch</Patch>
|
||||
<Patch>fix-missing-stdarg-h.patch</Patch>
|
||||
<Patch>install-library.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>openvr</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>jsoncpp</Dependency>
|
||||
<Dependency>libglvnd</Dependency>
|
||||
<Dependency>rapidjson</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libopenvr_api.so*</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>openvr-devel</Name>
|
||||
<Summary>Development files for openvr</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">openvr</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="library">/usr/share/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2022-05-01</Date>
|
||||
<Version>1.16.8</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>openvr</Name>
|
||||
<Summary xml:lang="tr">Birden çok satıcıdan VR donanımına erişim sağlayan API ve çalışma zamanı</Summary>
|
||||
<Description xml:lang="tr">OpenVR, uygulamaların hedefledikleri donanım hakkında özel bilgiye sahip olmalarını gerektirmeden birden fazla satıcıdan VR donanımına erişime izin veren bir API ve çalışma zamanıdır. Bu depo, API ve örnekleri içeren bir SDK'dır. Çalışma zamanı, Steam'deki Araçlar'da SteamVR altındadır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>openvr-devel</Name>
|
||||
<Summary xml:lang="tr">openvr için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user