forked from pool/DSView
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9866079511 | |||
| a82ca270bc |
45
0000-added-missing-includes.patch
Normal file
45
0000-added-missing-includes.patch
Normal file
@@ -0,0 +1,45 @@
|
||||
commit 2018baf0e1add4f9971dd02271ee8e6773cebfac
|
||||
Author: Lutz Freitag <lutz@gottliebtfreitag.de>
|
||||
Date: Wed May 22 21:29:54 2024 +0200
|
||||
|
||||
added missing includes and a define to compile it for recent machines
|
||||
|
||||
I use arch btw
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index d12bd0db..7b8cf57d 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -668,6 +668,8 @@ install(FILES DSView/icons/logo.svg DESTINATION share/pixmaps RENAME dsview.svg)
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
install(FILES DSView/DSView.desktop DESTINATION /usr/share/applications RENAME dsview.desktop)
|
||||
|
||||
+ add_compile_definitions(_DEFAULT_SOURCE)
|
||||
+
|
||||
if(IS_DIRECTORY /usr/lib/udev/rules.d)
|
||||
install(FILES DSView/DreamSourceLab.rules DESTINATION /usr/lib/udev/rules.d RENAME 60-dreamsourcelab.rules)
|
||||
elseif(IS_DIRECTORY /lib/udev/rules.d)
|
||||
diff --git a/libsigrok4DSL/input/in_wav.c b/libsigrok4DSL/input/in_wav.c
|
||||
index de16e513..7a130496 100644
|
||||
--- a/libsigrok4DSL/input/in_wav.c
|
||||
+++ b/libsigrok4DSL/input/in_wav.c
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
+#include <strings.h>
|
||||
#include "../log.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
diff --git a/libsigrok4DSL/strutil.c b/libsigrok4DSL/strutil.c
|
||||
index 52cb01d8..6c02c6df 100644
|
||||
--- a/libsigrok4DSL/strutil.c
|
||||
+++ b/libsigrok4DSL/strutil.c
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "libsigrok-internal.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <strings.h>
|
||||
#include <stdio.h>
|
||||
#include "log.h"
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d58ae0473be8c72baf6e5f6ca739d8a3a501c1a55f17bcfcef5fb0a32c97a1d3
|
||||
size 8652426
|
||||
3
DSView-1.3.2.tar.gz
Normal file
3
DSView-1.3.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:da68674c32da7bd212883d599267a137ce152060d28796ea16cc3442695de7ab
|
||||
size 10216782
|
||||
@@ -1,3 +1,78 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 17 12:21:36 UTC 2024 - Mikhail Paulyshka <me@mixaill.net>
|
||||
|
||||
- Added 0000-added-missing-includes.patch to fix build
|
||||
- Remove various unnecessary BuildRequires
|
||||
- Update to v1.3.2
|
||||
common
|
||||
*Fix crashes when dragging windows between screens
|
||||
*Add drag-and-drop and window arrangement support for native Windows windows
|
||||
*Improve adaptive window and font display at different DPI settings
|
||||
*Fix the issue of missing firmware on macOS
|
||||
*Modify the color allocation of the cursor to improve clarity.
|
||||
*Fix log file creation issue on Windows
|
||||
*Fix display area coverage and font rendering problems
|
||||
for logic analyzer
|
||||
*Add region waveform save and export feature
|
||||
*Fix crashes from cursor placement beyond waveform area during decoding
|
||||
*Fix crashes with specific sampling parameters in loop mode
|
||||
*Fix crashes from multi-byte search in decoding results
|
||||
*Improve distance measurement edge selection
|
||||
*Add reminder for channel settings when adding a decoder
|
||||
*Implement auto-scroll to latest waveform in loop mode
|
||||
*Fix protocol decoding issues (CAN/QSPI/DMX512/LIN/...)
|
||||
for oscilloscope
|
||||
*Improve pulse count measurement accuracy
|
||||
*Fix file export issue with single channel enabled
|
||||
*Resolve crashes from FFT parameter modification during data acquisition
|
||||
*Fix waveform and vertical resolution calculation issues in math operations
|
||||
*Fix waveform anomalies from channel offset exceeding boundaries
|
||||
*Improve accuracy of mouse measurements
|
||||
- Update to v1.3.1
|
||||
common
|
||||
* Fix the erroneous bin files released for Linux/macOS systems
|
||||
for logic analyzer
|
||||
* Add support for new hardware (USB2.0 interface/1G sampling rate)
|
||||
* Fix the external clock issue with the U3Pro series
|
||||
* Fix the issue with trigger position display in repeat mode
|
||||
* Fix the problem with the mouse measurements in repeat mode
|
||||
* Improve the accuracy of threshold voltage
|
||||
* Fix the issue with the Timing decoder
|
||||
* Expand the number of bytes decoded per frame for the DMX512 decoder
|
||||
for oscilloscope
|
||||
* Fix the incorrect measurements on first trigger for U3P100
|
||||
* Fix the error in measurements when the window size changes
|
||||
* Fix the issue with saving measurements into DSL files
|
||||
* Fix the loading error of duty cycle in DSL files
|
||||
for data acquisiton
|
||||
* Fix the issue with incorrect values when export CSV file
|
||||
* Fix the problem with waveform display when the window size changes
|
||||
* Fix the issues with waveform when different channel are enabled
|
||||
- Update to v1.3.0
|
||||
common
|
||||
* Improve device management, decouple it from wave acquisition and display
|
||||
* Add support for dynamically switching font sizes
|
||||
* Modify the multilingual framework to support language extensions
|
||||
* Modify the format of session files
|
||||
* Modify the loading and display of data files
|
||||
* Optimize the switching between multiple devices
|
||||
* Add a mandatory prompt to save data when switching
|
||||
* Update demo device
|
||||
* Added the ability to view and clear logs
|
||||
for logic analyzer
|
||||
* Add real-time display support for stream mode
|
||||
* Add scrolling (loop) mode to continuously collect and display in real-time
|
||||
* Update repeat mode to maintain previous waveform before switching
|
||||
* Update the display and search of waveform edges
|
||||
* Add and fix decoders (e.g., can-fd, mipi-rffe, UFCS, etc.)
|
||||
* Support ordering of decoders and waveform channels, and remember the order
|
||||
* Support exporting multiple column decoding results to the same CSV file
|
||||
* Support mapping and saving of decoder names and decoding channel names
|
||||
* Add Chinese translation for decoder options
|
||||
for oscilloscope
|
||||
* Update the data storage method for oscilloscope channels
|
||||
* Fix an issue with file saving when using single channel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 16 08:28:32 UTC 2023 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
|
||||
41
DSView.spec
41
DSView.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package DSView
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,31 +17,26 @@
|
||||
|
||||
|
||||
Name: DSView
|
||||
Version: 1.2.2
|
||||
Version: 1.3.2
|
||||
Release: 0
|
||||
Summary: GUI for DreamSourceLab USB-based instruments
|
||||
License: GPL-3.0-or-later
|
||||
Group: Productivity/Scientific/Electronics
|
||||
URL: https://www.dreamsourcelab.com
|
||||
Source0: https://github.com/DreamSourceLab/DSView/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Patch0: 0000-added-missing-includes.patch
|
||||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: fftw3-threads-devel
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libboost_filesystem-devel
|
||||
BuildRequires: libboost_system-devel
|
||||
BuildRequires: libboost_thread-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: cmake(Qt5Concurrent)
|
||||
BuildRequires: cmake(Qt5Gui)
|
||||
BuildRequires: cmake(Qt5Svg)
|
||||
BuildRequires: cmake(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: fftw3-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libqt5-qtbase-devel
|
||||
BuildRequires: libusb-1_0-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
Obsoletes: libsigrok4DSL1
|
||||
Obsoletes: libsigrokdecode4DSL4
|
||||
|
||||
@@ -55,18 +50,24 @@ GUI for DreamSourceLab USB-based instruments
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%fdupes %{buildroot}%{_datadir}/libsigrokdecode4DSL/
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/
|
||||
%{_datadir}/applications/dsview.desktop
|
||||
%{_datadir}/icons/hicolor
|
||||
%{_datadir}/icons/hicolor/scalable
|
||||
%{_datadir}/icons/hicolor/scalable/apps
|
||||
%{_datadir}/icons/hicolor/scalable/apps/dsview.svg
|
||||
%{_datadir}/pixmaps/dsview.svg
|
||||
%{_udevrulesdir}/*
|
||||
%{_datadir}/libsigrokdecode4DSL/
|
||||
%{_udevrulesdir}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user