Xinkai/xwaredesktop
Compiling installation instructions on Ubuntu
Home
Compiling installation instructions on Ubuntu
Instructions for use
Upgrade to 0.12
Upgrade to 0.9
Release support situation
noun explanation
Manually install the compilation
Troubleshooting and Feedback
Update list
Scheduled Tasks
Test function
resizing windows
Clone this wiki locally
This page describes how to manually compile and install Xware Desktop on Ubuntu 14.04 and above systems.
As Thunder official did not release the 64-bit version of the Xware,xware desktop author cannot provide PPA.
If you have a cumbersome and inconvenient introduction to this page, please go to the official forum of Thunderbolt firmware to post the response. Thunder is required to provide 64-bit version of the Xware program.
Important Notes
If you want to share the packaged files with others. Be sure to:
Indicate the type of system architecture that is applicable. A 32-bit installation package is strong to a 64-bit system, or a 64-bit installation package is strong to a 32-bit system that is * absolutely problematic *.
Update the installation packages that you share regularly.
Link this article to address Https://github.com/Xinkai/XwareDesktop/wiki/Ubuntu on the compiled installation instructions.
If you are capable and willing to maintain the Deb packaging of the software (the ability to set up a Debian repository, to ensure simultaneous updates of 32-bit and 64-bit packages, to update once a week), please notify the author issue on GitHub.
Compiling the environment
Install the necessary software.
sudo apt-get install git build-essential devscripts
Download the source code.
git clone git://github.com/xinkai/xwaredesktop.git
This will generate a subdirectory named Xwaredesktop in the current directory.
Switch to source code directory xwaredesktop.
CD Xwaredesktop
Compiling from source code
sudo apt-get install-y python3 pyqt5-dev-tools coffeescript chrpath python3-pyqt5 Python3-pyqt5.qtwebkit Python3-pyqt5.qtmultimedia python3-tk python3-pyinotify libcap2-bin findutils sed qtbase5-dev sip-dev pyqt5-dev
Env qt_select=5 make
sudo make install
Packaged
You need to switch to the Xwaredesktop source directory.
Lists the missing compilation dependencies.
Dpkg-checkbuilddeps
If nothing is listed, skip step 2.
Install the missing compilation dependency.
sudo apt-get install < copy paste: Missing compilation dependencies listed in the previous step >
Make the installation package.
Dpkg-buildpackage
Note that the effect uses a compile option for gcc-4.9-fstack-protector-strong, if your GCC does not have this option, make the following changes:
Diff--git A/src/frontend/extensions/makefile B/src/frontend/extensions/makefile
Index F5f8a45: E3D9C2A 100644
---a/src/frontend/extensions/makefile
+ + B/src/frontend/extensions/makefile
@@ -5,7 +5,7 @@ -5,7 src/dbustypes.hpp Src/extensions.pro
CP src/build/libdbustypes.so*./
DBusTypes.so:libDBusTypes.so
-CD SIP &&./configure.py && Make
+ CD SIP &&./configure.py && sed-i ' s/-fstack-protector-strong//g ' Makefile && make
CP sip/dbustypes.so./
Clean
Installation
In the parent directory of the Xwaredesktop source code directory, you should be able to find the name Xware-desktop_??????. Deb's installation package file,
Note that after resolving the build dependency does not represent a solution to the run dependency, at this point you may still have dependencies not installed, so it is not recommended to directly dpkg-i Xware-desktop_xxx.deb,gdebi can solve this problem, it is recommended to use sudo gdebi Xware-desktop_xxx.deb to install
Upgrade
You need to switch to the Xwaredesktop source directory.
To avoid problems with the upgrade, it is recommended that you read the list of updates carefully before each update.
Synchronize the source code.
Git pull
See packaging chapters.
See Installation section.
Use
Instructions for use
Ubuntu Thunderbolt Xwaredesktop