Commit Graph
34 Commits
Author SHA1 Message Date
Ben Scholzen (DASPRiD) 70b5e6fdb7 Implement suggested feedback 2020-06-27 21:13:14 +02:00
Ben Scholzen (DASPRiD) 999aebd7fb Add steam-switch to appimage.sh for excluding AppImage integration 2020-06-27 21:13:14 +02:00
Vasily 410cbd65b9 Remove libxkbcommon-x11.so.0 from AppImage
Library caused segfaults on Ubuntu 20.04 when using the keyboard input
keys.
https://github.com/OpenVR-Advanced-Settings/OpenVR-AdvancedSettings/issues/455
2020-05-31 08:50:48 +02:00
Vasily 81fef5e7ec Add exclution of libxcb-randr.so.0
This prevented the appimage from working on newer Manjaro versions.
It has also been tested on Debian Testing to still work there.
2020-05-20 11:57:43 +02:00
Vasily ac4b01273e Add basic PKGBUILD for building on Arch/Manjaro
PKGBUILD format is described on the Arch wiki
https://wiki.archlinux.org/index.php/Creating_packages

Arch User Repository is described here
https://wiki.archlinux.org/index.php/Arch_User_Repository

The AUR package can be found here
https://aur.archlinux.org/packages/ovras/
2020-01-15 14:01:47 +01:00
Vasily b5d69c589c Make Qmake copy package files instead of OS scripts
Described in commit 97e203fd89e7cb54c7ce96ce779b2e8cb6ac1374

The python functions are no longer needed since the python script
doesn't handle file copy any more.
2019-07-24 10:54:55 +02:00
Vasily 46c8a62565 Make Qmake copy package files instead of OS scripts
Described in commit 97e203fd89e7cb54c7ce96ce779b2e8cb6ac1374

The linux directory in package_files is included even on Windows install
for simplicity and because it takes up less than 1KB.
2019-07-24 10:54:55 +02:00
Vasily cbac2f9539 Make Qmake copy res directory instead of OS scripts
Since Qt 5.6 Qmake has supported the (undocumented) file_copies
function.

Moving to an OS independent version is superior for obvious
reasons.

Use in
https://stackoverflow.com/questions/3984104/qmake-how-to-copy-a-file-to-the-output/54162789#54162789

Uses the same interface as the INSTALLS function described here
https://doc.qt.io/qt-5/qmake-advanced-usage.html#installing-files

Implemented in the file_copies.prf file found here
https://code.qt.io/cgit/qt/qtbase.git/log/mkspecs/features/file_copies.prf
2019-07-24 10:54:55 +02:00
Vasily 329b4e7331 Add SVG support to AppImage, move files instead of copying 2019-07-04 16:44:31 +02:00
Vasily 0121e75947 Manually add QtQuick.Dialogs to Linux AppImage
https://github.com/probonopd/linuxdeployqt/issues/25

As detailed there QtQuick/Dialogs and QtQuick/LocalStorage are not
automatically packaged.
2019-07-04 16:44:31 +02:00
Vasily ad05b29392 Add qml path to AppImage
This should solve problem

https://github.com/probonopd/linuxdeployqt/issues/25

with error message

QML Error:
file:///tmp/.mount_OpenVRtQNnT6/usr/bin/res/qml/common/mainwidget.qml:1:1:
module "QtQuick" is not installed
2019-07-04 16:44:31 +02:00
Vasily c08ab71e63 Remove AppImage new glibc switch 2019-07-04 16:44:31 +02:00
Vasily 6a7e5804bf Add CircleCI AppImage building
This builds on GCC for no reason in particular.
2019-07-04 16:44:31 +02:00
Vasily 201cb40359 Add variable for clang-tidy name when building on Linux
Travis has the correct clang-tidy version of 7, while CircleCI needs
clang-tidy-7.
2019-06-24 19:21:14 +02:00
Vasily e8af73db28 Make CircleCI have feature parity with TravisCI and update docs
Unnecessary line from Bionic 18.04 was removed.

A proper version guard was included for clang. Xenial currently ships
3.8.
2019-06-24 19:21:14 +02:00
Vasily aade86ed47 Add circleci g++ passing build
CircleCI does not compile with --jobs.
2019-06-24 19:21:14 +02:00
Vasily 8e34e9edca Update documentation for DBUS on Linux 2019-06-05 19:57:44 +02:00
Vasily 4ec1fbf201 Add noX11 flag to Linux compilations
This allows users that are not using X11 to still compile the
application.
2019-04-22 09:56:50 +02:00
Vasily d0a2e15dbf Remove run-with-library.sh file from Linux builds
No longer necessary after adding '-Wl,-rpath,\'\$$ORIGIN\''.
2019-04-22 09:56:50 +02:00
Vasily 28700575ec Replace single quotes with double quotes
Variable was not being expanded otherwise.
2019-04-17 20:51:34 +02:00
Vasily ed9e4008af Make Linux build scripts directory agnostic
Using the script location as an anchor, the scripts can now be called
from anywhere and work.
2019-04-17 20:51:34 +02:00
Vasily 6895a44ddb Refactor build_linux.sh into configure.sh
This moves all the error handling and setup into configure.sh, for a
cleaner script.
2019-04-17 20:51:34 +02:00
Vasily fc34347c12 Add execute permissions on all scripts 2019-03-19 16:10:35 +01:00
Goofybud16 d6df066b8c Set execute permissions on the build and run scripts 2019-03-19 16:10:35 +01:00
Goofybud16 f1adb1d3e7 Add quotes around $@ to avoid potential issues with spaces in arguments 2019-03-19 16:10:35 +01:00
Vasily 1af49c0da7 Update run script with different library call 2019-03-19 16:10:35 +01:00
Vasily d9c4d223fc Update Linux build script 2019-03-19 16:10:35 +01:00
Kung-vr 3792488372 Merge branch 'master' into alpha-kung 2019-03-03 00:27:35 +09:00
Vasily da25e58cbb Add clang-tidy, create Linux build script
clang-tidy is currently set up with errors for all checks that do not
warn. This is to prevent regressing the repo.

Gradually these warnings should be removed in order to prevent further
regresssions in warnings that do not have many occurences.
2019-02-28 21:16:53 +01:00
Vasily 2f07a987bf Add .gitattributes file
.svg files were not treated as binary which means they were spamming up
the diff log.

Bash files were not being pulled with LF line endings, which means they
couldn't be run by Windows Subsystem for Linux.

Bash files were renamed .sh to easily allow them to be recognized by
both .gitattributes and humans.

Taken from https://github.com/alexkaratarakis/gitattributes.
2019-02-02 16:37:50 +01:00
Robin Appelman 3f0fbeb1b0 mark linux formatting scripts as executable 2018-12-28 20:42:33 +01:00
Vasily 1e3d3b3aed Add additional error handling to verification scripts 2018-12-28 15:53:41 +01:00
Vasily 86a0dae70b Add verification scripts for clang-format
The scripts are very light on error handling and verification, mostly
intended just to debug if a CI server fails on formatting reasons.
2018-12-28 03:01:45 +01:00
Vasily 4446af2a06 Add linux script
Not a lot of output compared to windows. It is assumed that linux users
have clang-format in the path.
2018-12-28 00:24:40 +01:00