Debian Patches

Status for pulseview/0.4.2-4

Patch Description Author Forwarded Bugs Origin Last update
01-use-latest-available-C++-standard.diff 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
(system library), and for external libraries of differing degrees of
aggressivness (boost, glibmm, sig++).
.
(Jonathan McDowell: Fixed up against released CMakeLists.txt version)
Gerhard Sittig no debian upstream, https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=fa8d0fcb4cff4f19943fe3ff152dc1428b400b01 2022-11-24
02-bump-cmake-version.diff 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.
Soeren Apel no debian upstream, https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=c0676b3493fda29d97c271cfeb76267019b35695 2025-05-15
qt-build-fix Replace obsolete/deprecated Qt methods
diff --git a/pv/subwindows/decoder_selector/subwindow.cpp b/pv/subwindows/decoder_selector/subwindow.cpp
index 94ed6f4b..2c65dcf2 100644
Valentin Ochs <a@0au.de> no debian upstream, https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff;h=ae726b70a7ada9a4be5808e00f0c951318479684
c-linkage-template-fix Fix broken build due to C++ template behind C linkage
glib/gatomic.h since 2.68 includes type_traits, which causes a compilation
error:
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
from /home/abuild/rpmbuild/BUILD/pulseview-0.4.2/pv/data/decode/annotation.cpp:21:
/usr/include/c++/10/type_traits:2308:3: error: template with C linkage
2308 | template<typename _CTp, typename _Rp>

As libsigrokdecode.h declares extern C linkage itself where necessary,
remove it from pulseviews include statements from the last two occasions.
Stegen BrĂ¼ns <stefan.bruens@rwth-aachen.de> no upstream, https://sigrok.org/gitweb/?p=pulseview.git;a=commit;h=ed643f0b4ac587204a5243451cda181ee1405d62

All known versions for source package 'pulseview'

Links