Package: pulseview / 0.4.2-4

Metadata

Package Version Patches format
pulseview 0.4.2-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 use latest available C++ standard.diff | (download)

CMakeLists.txt | 26 24 + 2 - 0 !
1 file changed, 24 insertions(+), 2 deletions(-)

 cmakelists.txt: always use highest available c++17/c++14/c++11 standard
 Check for the availability of the C++17, C++14, and C++11 language
 standards. Prefer the highest available to build any of the feature
 tests or applications. Factor out common conditions into a central spot
 in the CMake build rules. Rename variables to avoid special chars in
 their name.
 .
 Setup both the CMAKE_CXX_STANDARD cmake variable which internally is
 used transparently, as well explicitly pass the -std= compile flag in
 build instructions for feature checks and application code. It's what
 the smuview build does, should also work for pulseview, and is assumed
 to not harm either in case it's redundant.
 .
 This unbreaks operation in most generic ways on platforms like MacOS 12
02 bump cmake version.diff | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
manual/CMakeLists.txt | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 cmakelists.txt: update version range from 2.8 to 3.31.5 to avoid abort
 The error with CMake 4 on the github CI looks like this:
 .
 CMake Error at CMakeLists.txt:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.
 .
  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
 .
  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

qt build fix | (download)

pv/subwindows/decoder_selector/subwindow.cpp | 2 1 + 1 - 0 !
pv/util.cpp | 21 19 + 2 - 0 !
pv/util.hpp | 10 10 + 0 - 0 !
pv/views/trace/decodetrace.cpp | 3 2 + 1 - 0 !
pv/views/trace/ruler.cpp | 2 1 + 1 - 0 !
pv/widgets/timestampspinbox.cpp | 2 1 + 1 - 0 !
6 files changed, 34 insertions(+), 6 deletions(-)

 replace obsolete/deprecated qt methods
c linkage template fix | (download)

pv/data/decode/annotation.cpp | 2 0 + 2 - 0 !
pv/views/trace/decodetrace.cpp | 2 0 + 2 - 0 !
2 files changed, 4 deletions(-)

 fix broken build due to c++ template behind c linkage