From 33b2a61c261d828b1e30810a942bba14e341106f Mon Sep 17 00:00:00 2001 From: Teuniz Date: Tue, 6 Aug 2019 12:05:59 +0200 Subject: [PATCH 1/4] Work in progress. --- README.md => README | 45 +++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) rename README.md => README (80%) diff --git a/README.md b/README similarity index 80% rename from README.md rename to README index caa5537..3cf7249 100644 --- a/README.md +++ b/README @@ -2,35 +2,31 @@ Operate your Rigol oscilloscope from your Linux desktop. ======================================================== -webpage: +webpage and info: How to compile: --------------- +- openSuse Leap 15.1 + sudo zypper in patterns-devel-base-devel_basis git-core make libqt5-qtbase-devel libQt5Core-devel libQt5Concurrent-devel libQt5Gui-devel libQt5Widgets-devel libQt5Network-devel libQt5PrintSupport-devel + git clone https://gitlab.com/Teuniz/DSRemote.git + cd DSRemote + qmake-qt5 + make + sudo make install -- Install Git, make, the GCC compiler and the Qt4 development package:
- Linux Mint 18: sudo apt-get install git-core make libqt4-dev libqt4-core g++
- openSuse Leap 42.3: sudo zypper in git-core libqt4-devel
- Fedora 25: sudo dnf install git-core qt-devel gcc-c++
- Ubuntu 18.04: sudo apt-get install g++ make git-core qtbase5-dev-tools qtbase5-dev qt5-default
+For USB connection setup use the following commands: +---------------------------------------------------- -- Download the source code:
- git clone https://gitlab.com/Teuniz/DSRemote.git
- cd DSRemote
+ sudo groupadd usbtmc + sudo usermod -a -G usbtmc + reboot -- Create the makefile:
- Linux Mint 18: qmake
- openSuse Leap 42.3: qmake
- Fedora 25: qmake-qt4
- Ubuntu 18.04: qmake
- -- Compile the source code and install it:
- make -j16
- sudo make install
Now you can run the program by typing: dsremote + Read also the file readme_usbtcm_driver.txt and the file notes.txt. @@ -136,3 +132,16 @@ strip -s dsremote upx dsremote + +Notes: +------ + +No pull-requests please, they will be ignored. +This is not a community project. +If you have found a bug or want to add some features, send me the sourcecode and I'll have a look at it. +Then I'll decide what to do with it. + +This is a Linux project. Patches or feature requests that will make it easier to port the program to +other platforms will be ignored. + + From f4fd721d1a3f3e217d5b9f6ebbdffb45d844ecef Mon Sep 17 00:00:00 2001 From: Teuniz Date: Tue, 6 Aug 2019 12:13:45 +0200 Subject: [PATCH 2/4] Work in progress. --- README | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/README b/README index 3cf7249..cb42e2d 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ Operate your Rigol oscilloscope from your Linux desktop. ======================================================== -webpage and info: +webpage and info: https://www.teuniz.net/DSRemote/ How to compile: @@ -84,7 +84,7 @@ openSUSE: sudo zypper install -t pattern devel_basis This will not mess with your system libraries. The new compiled libraries will be stored - in a new and separate directory: /usr/local/Qt-5.12.3-static + in a new and separate directory: /usr/local/Qt-5.12.4-static It will not interfere with other Qt programs. @@ -94,16 +94,16 @@ mkdir Qt5-source cd Qt5-source -wget http://ftp1.nluug.nl/languages/qt/official_releases/qt/5.12/5.12.3/single/qt-everywhere-src-5.12.3.tar.xz +wget http://ftp1.nluug.nl/languages/qt/official_releases/qt/5.12/5.12.4/single/qt-everywhere-src-5.12.4.tar.xz here is a list of download mirrors: https://download.qt.io/static/mirrorlist/ -The Qt source package you are going to need is: qt-everywhere-src-5.12.3.tar.xz +The Qt source package you are going to need is: qt-everywhere-src-5.12.4.tar.xz -tar -xvf qt-everywhere-src-5.12.3.tar.xz +tar -xvf qt-everywhere-src-5.12.4.tar.xz -cd qt-everywhere-src-5.12.3 +cd qt-everywhere-src-5.12.4 -./configure -v -prefix /usr/local/Qt-5.12.3-static -release -opensource -confirm-license -c++std c++11 -static -accessibility -fontconfig -skip qtdeclarative -skip qtconnectivity -skip qtmultimedia -qt-zlib -no-mtdev -no-journald -qt-libpng -qt-libjpeg -system-freetype -qt-harfbuzz -no-openssl -no-libproxy -no-glib -nomake examples -nomake tests -no-compile-examples -cups -no-evdev -no-dbus -no-eglfs -qreal double -no-opengl -skip qtlocation -skip qtsensors -skip qtwayland -skip qtgamepad -skip qtserialbus -skip qt3d -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtspeech -skip qtwebengine +./configure -v -prefix /usr/local/Qt-5.12.4-static -release -opensource -confirm-license -c++std c++11 -static -accessibility -fontconfig -skip qtdeclarative -skip qtconnectivity -skip qtmultimedia -qt-zlib -no-mtdev -no-journald -qt-libpng -qt-libjpeg -system-freetype -qt-harfbuzz -no-openssl -no-libproxy -no-glib -nomake examples -nomake tests -no-compile-examples -cups -no-evdev -no-dbus -no-eglfs -qreal double -no-opengl -skip qtlocation -skip qtsensors -skip qtwayland -skip qtgamepad -skip qtserialbus -skip qt3d -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtspeech -skip qtwebengine (takes about 2 minutes) @@ -115,12 +115,14 @@ sudo make install Now go to the directory that contains the DSRemote sourcecode and enter the following commands: -/usr/local/Qt-5.12.3-static/bin/qmake +/usr/local/Qt-5.12.4-static/bin/qmake make -j6 (change option -j according to number of available cpu cores e.g -j4 or -j8) sudo make install +reboot + Now you can run the program by typing: dsremote Congratulations! @@ -136,9 +138,9 @@ upx dsremote Notes: ------ -No pull-requests please, they will be ignored. -This is not a community project. -If you have found a bug or want to add some features, send me the sourcecode and I'll have a look at it. +This is not a community project, so, no pull-requests please, they will be ignored. +I only put the source here on Gitlab for backup and to make easy for other people to clone the project and tinker with it. +If you have found a bug or want to add some features, send me your sourcecode/patch and I'll have a look at it. Then I'll decide what to do with it. This is a Linux project. Patches or feature requests that will make it easier to port the program to From ec1f9239893945c5c4359e9004757e054cbf20a9 Mon Sep 17 00:00:00 2001 From: Teuniz Date: Tue, 6 Aug 2019 12:15:13 +0200 Subject: [PATCH 3/4] Work in progress. --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index cb42e2d..56566d2 100644 --- a/README +++ b/README @@ -139,7 +139,7 @@ Notes: ------ This is not a community project, so, no pull-requests please, they will be ignored. -I only put the source here on Gitlab for backup and to make easy for other people to clone the project and tinker with it. +I only put the source here on Gitlab for backup and to make it easy for other people to clone the project and tinker with it. If you have found a bug or want to add some features, send me your sourcecode/patch and I'll have a look at it. Then I'll decide what to do with it. From 72d4fbb6d10a1fc60d9a2ea9a3325262632be6e7 Mon Sep 17 00:00:00 2001 From: Teuniz Date: Tue, 20 Aug 2019 09:24:24 +0200 Subject: [PATCH 4/4] Work in progress. --- README | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/README b/README index 56566d2..4a7d6d8 100644 --- a/README +++ b/README @@ -135,15 +135,10 @@ strip -s dsremote upx dsremote -Notes: ------- - -This is not a community project, so, no pull-requests please, they will be ignored. -I only put the source here on Gitlab for backup and to make it easy for other people to clone the project and tinker with it. -If you have found a bug or want to add some features, send me your sourcecode/patch and I'll have a look at it. -Then I'll decide what to do with it. - -This is a Linux project. Patches or feature requests that will make it easier to port the program to -other platforms will be ignored. +Note: This is a private project made available to the public. No pullrequests! + If you believe you found a bug or want to add some feature, open an issue on Gitlab or send me an email. + In case you want to add some code, send me a diff, no pull requests, they will be ignored. + Also, all requests regarding to support other platforms and/or other tools will be ignored. + Again, this a Linux & GCC & Make project. That means no Mac/windows/Clang/CMake etc.