2014-06-05 22:25:02 +02:00
|
|
|
#
|
2014-08-03 11:46:26 +02:00
|
|
|
# spec file for package pulseview
|
2014-06-05 22:25:02 +02:00
|
|
|
#
|
2021-04-28 02:40:44 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-06-05 22:25:02 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-30 07:48:25 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-06-05 22:25:02 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: pulseview
|
Accepting request 790709 from home:StefanBruens:branches:electronics
- Update to version 0.4.1
* PulseView session setups can now be saved/restored to and
from *.pvs files.
* Translation support was added to the GUI elements (and a first
translation, German, is available). Please check the wiki for
details on how you can contribute further translations.
* There's a new protocol decoder selection subwindow with
filtering capabilities, browing by decoder tags, auto-stacking
of decoders where required, and more.
* A new decoder "binary" output subwindow can show/save
"OUTPUT_BINARY" type decoder data in various (decoder-specific)
formats (WAV, PCAP, PNG, and many others). This also features
a simple "hex view" for the data.
* It is now possible to show/hide individual decoder annotation
rows, and individual annotation classes. This is very handy
when you're debugging a specific issue and only want to see
certain classes of decoder annotations, e.g. "show me only CRC
errors", "show me only parity errors and frame errors", or
"show me only I²C NACKs" etc. etc.
* Lots of UI and functionality improvements regarding cursors
and markers.
* Various new handy key shortcuts for zooming, moving around in
the data, placing cursors, etc.
* Various drawing and decoder/annotation performance improvements.
- This requires libsigrok >= 0.5.2 (already released for some time)
OBS-URL: https://build.opensuse.org/request/show/790709
OBS-URL: https://build.opensuse.org/package/show/electronics/pulseview?expand=0&rev=20
2020-04-01 22:42:39 +02:00
|
|
|
Version: 0.4.2
|
2014-08-03 11:46:26 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Qt-based GUI for sigrok
|
2018-10-30 20:08:57 +01:00
|
|
|
License: GPL-3.0-or-later
|
2014-06-05 22:25:02 +02:00
|
|
|
Group: Productivity/Scientific/Electronics
|
Accepting request 790709 from home:StefanBruens:branches:electronics
- Update to version 0.4.1
* PulseView session setups can now be saved/restored to and
from *.pvs files.
* Translation support was added to the GUI elements (and a first
translation, German, is available). Please check the wiki for
details on how you can contribute further translations.
* There's a new protocol decoder selection subwindow with
filtering capabilities, browing by decoder tags, auto-stacking
of decoders where required, and more.
* A new decoder "binary" output subwindow can show/save
"OUTPUT_BINARY" type decoder data in various (decoder-specific)
formats (WAV, PCAP, PNG, and many others). This also features
a simple "hex view" for the data.
* It is now possible to show/hide individual decoder annotation
rows, and individual annotation classes. This is very handy
when you're debugging a specific issue and only want to see
certain classes of decoder annotations, e.g. "show me only CRC
errors", "show me only parity errors and frame errors", or
"show me only I²C NACKs" etc. etc.
* Lots of UI and functionality improvements regarding cursors
and markers.
* Various new handy key shortcuts for zooming, moving around in
the data, placing cursors, etc.
* Various drawing and decoder/annotation performance improvements.
- This requires libsigrok >= 0.5.2 (already released for some time)
OBS-URL: https://build.opensuse.org/request/show/790709
OBS-URL: https://build.opensuse.org/package/show/electronics/pulseview?expand=0&rev=20
2020-04-01 22:42:39 +02:00
|
|
|
URL: https://sigrok.org
|
|
|
|
Source0: https://sigrok.org/download/source/pulseview/%{name}-%{version}.tar.gz
|
Accepting request 816452 from home:StefanBruens:branches:electronics
- Fix build, add 0001-Fix-building-with-Qt-5.15.patch
- Update to version 0.4.2
* PulseView session setups can now be saved/restored to and
from *.pvs files.
* Translation support was added to the GUI elements (and a first
translation, German, is available). Please check the wiki for
details on how you can contribute further translations.
* There's a new protocol decoder selection subwindow with
filtering capabilities, browing by decoder tags, auto-stacking
of decoders where required, and more.
* A new decoder "binary" output subwindow can show/save
"OUTPUT_BINARY" type decoder data in various (decoder-specific)
formats (WAV, PCAP, PNG, and many others). This also features
a simple "hex view" for the data.
* It is now possible to show/hide individual decoder annotation
rows, and individual annotation classes. This is very handy
when you're debugging a specific issue and only want to see
certain classes of decoder annotations, e.g. "show me only CRC
errors", "show me only parity errors and frame errors", or
"show me only I²C NACKs" etc. etc.
* Lots of UI and functionality improvements regarding cursors
and markers.
* Various new handy key shortcuts for zooming, moving around in
the data, placing cursors, etc.
* Various drawing and decoder/annotation performance improvements.
- This requires libsigrok >= 0.5.2 (already released for some time)
- Explicitly BuildRequire: libboost_system-devel, required since Boost 1.69
- Update to version 0.4.1
* Snapping cursors to signal edges
* New command-line switches, see manpage
* Converting analog channels to digital/logic channels
* Theme support
* UI improvements
* Protocol decoder annotations can be exported
* Improved channel name auto-mapping
* Performance and memory usage improvements
* Huge amount of fixes
See https://www.sigrok.org/blog/pulseview-041-released for details
- Update to version 0.4.0
* Add the concepts of sessions and views to PulseView:
- Sessions represent individual files/device instances.
Each session is represented as a tab in PulseView.
- Views are different data representations of one specific session.
For example, different views of a session can have different zoom levels,
can be scrolled to different positions, etc. etc.
Each view is a dock window within the respective session's tab.
- The view docks can be repositioned, resized and extracted out into their
own individual windows.
* Add support for saving analog data to .sr files.
* Lots of fixes and improvements
- use individual libboost-*-devel packages instead of boost-devel
- Add org.sigrok.Pulseview.appdata.xml
- Install desktop file and icons for pulseview, register pulseview
as handler for application/x-sigrok-dump mimetype
- Add -fext-numeric-literals compiler flag as workaround for
boo#1004168
- Update to version 0.3.0
* Support for vertical scaling of analog or logic traces
* A "Save selection range as..." feature
* Some settings now survive a restart (last open/save directory
location, window size/position, last used device)
* Pinch-zoom support, always-zoom-to-fit support,
"sticky scrolling" support, etc.
* Trace group support (for dragging multiple traces around as a
group)
* ...and many, many more GUI and usability improvements...
- Track GIT version
- Remove redefined cmake macros
- Sync .spec with the one from rmax
- Update to version 0.2.0
* Support for protocol decoding (via libsigrokdecode) has been added, including support for annotation rows, multiple decoders in the same GUI window, support for stacking protocol decoders (e.g. I²C -> RTC8564, UART -> MIDI, or SPI -> SDcard) and lots more.
* Support for loading and saving sigrok session (*.sr) files has been added.
* Initial support for analog data sources (specifically oscilloscopes, e.g. the Rigol DS1052E) has been added.
- Upstream adopted pulseview-pthread.patch
- Disable -Werror to fix build.
- Explicitly link against libpthread (pulseview-pthread.patch).
- Initial build from git snapshot.
OBS-URL: https://build.opensuse.org/request/show/816452
OBS-URL: https://build.opensuse.org/package/show/electronics/pulseview?expand=0&rev=22
2020-06-22 21:56:22 +02:00
|
|
|
# PATCH-FIX-OPENSUSE
|
|
|
|
Patch0: 0001-Fix-building-with-Qt-5.15.patch
|
2021-04-28 02:40:44 +02:00
|
|
|
# PATCH-FIX-UPSTREAM
|
|
|
|
Patch1: 0001-Fix-broken-build-due-to-C-template-behind-C-linkage.patch
|
2017-06-14 19:06:20 +02:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: glib2-devel
|
2017-02-05 03:33:17 +01:00
|
|
|
BuildRequires: libboost_filesystem-devel
|
2017-06-14 19:06:20 +02:00
|
|
|
BuildRequires: libboost_serialization-devel
|
2019-03-20 00:22:36 +01:00
|
|
|
BuildRequires: libboost_system-devel
|
2017-02-05 03:33:17 +01:00
|
|
|
BuildRequires: libboost_test-devel
|
|
|
|
BuildRequires: libboost_thread-devel
|
Accepting request 790709 from home:StefanBruens:branches:electronics
- Update to version 0.4.1
* PulseView session setups can now be saved/restored to and
from *.pvs files.
* Translation support was added to the GUI elements (and a first
translation, German, is available). Please check the wiki for
details on how you can contribute further translations.
* There's a new protocol decoder selection subwindow with
filtering capabilities, browing by decoder tags, auto-stacking
of decoders where required, and more.
* A new decoder "binary" output subwindow can show/save
"OUTPUT_BINARY" type decoder data in various (decoder-specific)
formats (WAV, PCAP, PNG, and many others). This also features
a simple "hex view" for the data.
* It is now possible to show/hide individual decoder annotation
rows, and individual annotation classes. This is very handy
when you're debugging a specific issue and only want to see
certain classes of decoder annotations, e.g. "show me only CRC
errors", "show me only parity errors and frame errors", or
"show me only I²C NACKs" etc. etc.
* Lots of UI and functionality improvements regarding cursors
and markers.
* Various new handy key shortcuts for zooming, moving around in
the data, placing cursors, etc.
* Various drawing and decoder/annotation performance improvements.
- This requires libsigrok >= 0.5.2 (already released for some time)
OBS-URL: https://build.opensuse.org/request/show/790709
OBS-URL: https://build.opensuse.org/package/show/electronics/pulseview?expand=0&rev=20
2020-04-01 22:42:39 +02:00
|
|
|
BuildRequires: libsigrok-devel >= 0.5.2
|
2018-10-30 07:48:25 +01:00
|
|
|
BuildRequires: libsigrokdecode-devel >= 0.5.2
|
2016-10-24 02:25:11 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2017-06-14 19:06:20 +02:00
|
|
|
BuildRequires: cmake(Qt5Gui)
|
Accepting request 790709 from home:StefanBruens:branches:electronics
- Update to version 0.4.1
* PulseView session setups can now be saved/restored to and
from *.pvs files.
* Translation support was added to the GUI elements (and a first
translation, German, is available). Please check the wiki for
details on how you can contribute further translations.
* There's a new protocol decoder selection subwindow with
filtering capabilities, browing by decoder tags, auto-stacking
of decoders where required, and more.
* A new decoder "binary" output subwindow can show/save
"OUTPUT_BINARY" type decoder data in various (decoder-specific)
formats (WAV, PCAP, PNG, and many others). This also features
a simple "hex view" for the data.
* It is now possible to show/hide individual decoder annotation
rows, and individual annotation classes. This is very handy
when you're debugging a specific issue and only want to see
certain classes of decoder annotations, e.g. "show me only CRC
errors", "show me only parity errors and frame errors", or
"show me only I²C NACKs" etc. etc.
* Lots of UI and functionality improvements regarding cursors
and markers.
* Various new handy key shortcuts for zooming, moving around in
the data, placing cursors, etc.
* Various drawing and decoder/annotation performance improvements.
- This requires libsigrok >= 0.5.2 (already released for some time)
OBS-URL: https://build.opensuse.org/request/show/790709
OBS-URL: https://build.opensuse.org/package/show/electronics/pulseview?expand=0&rev=20
2020-04-01 22:42:39 +02:00
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
2017-06-14 19:06:20 +02:00
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2014-06-05 22:25:02 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The sigrok project aims at creating a portable, cross-platform,
|
|
|
|
Free/Libre/Open-Source logic analyzer software that supports various
|
|
|
|
logic analyzer hardware products.
|
|
|
|
|
|
|
|
PulseView is a Qt-based GUI for sigrok.
|
|
|
|
|
|
|
|
%prep
|
2021-04-28 02:40:44 +02:00
|
|
|
%autosetup -p1
|
2014-06-05 22:25:02 +02:00
|
|
|
|
|
|
|
%build
|
2018-10-30 07:48:25 +01:00
|
|
|
export CXXFLAGS="%{optflags} -fpermissive"
|
2014-08-03 11:46:26 +02:00
|
|
|
%cmake -DDISABLE_WERROR=TRUE ..
|
Accepting request 816452 from home:StefanBruens:branches:electronics
- Fix build, add 0001-Fix-building-with-Qt-5.15.patch
- Update to version 0.4.2
* PulseView session setups can now be saved/restored to and
from *.pvs files.
* Translation support was added to the GUI elements (and a first
translation, German, is available). Please check the wiki for
details on how you can contribute further translations.
* There's a new protocol decoder selection subwindow with
filtering capabilities, browing by decoder tags, auto-stacking
of decoders where required, and more.
* A new decoder "binary" output subwindow can show/save
"OUTPUT_BINARY" type decoder data in various (decoder-specific)
formats (WAV, PCAP, PNG, and many others). This also features
a simple "hex view" for the data.
* It is now possible to show/hide individual decoder annotation
rows, and individual annotation classes. This is very handy
when you're debugging a specific issue and only want to see
certain classes of decoder annotations, e.g. "show me only CRC
errors", "show me only parity errors and frame errors", or
"show me only I²C NACKs" etc. etc.
* Lots of UI and functionality improvements regarding cursors
and markers.
* Various new handy key shortcuts for zooming, moving around in
the data, placing cursors, etc.
* Various drawing and decoder/annotation performance improvements.
- This requires libsigrok >= 0.5.2 (already released for some time)
- Explicitly BuildRequire: libboost_system-devel, required since Boost 1.69
- Update to version 0.4.1
* Snapping cursors to signal edges
* New command-line switches, see manpage
* Converting analog channels to digital/logic channels
* Theme support
* UI improvements
* Protocol decoder annotations can be exported
* Improved channel name auto-mapping
* Performance and memory usage improvements
* Huge amount of fixes
See https://www.sigrok.org/blog/pulseview-041-released for details
- Update to version 0.4.0
* Add the concepts of sessions and views to PulseView:
- Sessions represent individual files/device instances.
Each session is represented as a tab in PulseView.
- Views are different data representations of one specific session.
For example, different views of a session can have different zoom levels,
can be scrolled to different positions, etc. etc.
Each view is a dock window within the respective session's tab.
- The view docks can be repositioned, resized and extracted out into their
own individual windows.
* Add support for saving analog data to .sr files.
* Lots of fixes and improvements
- use individual libboost-*-devel packages instead of boost-devel
- Add org.sigrok.Pulseview.appdata.xml
- Install desktop file and icons for pulseview, register pulseview
as handler for application/x-sigrok-dump mimetype
- Add -fext-numeric-literals compiler flag as workaround for
boo#1004168
- Update to version 0.3.0
* Support for vertical scaling of analog or logic traces
* A "Save selection range as..." feature
* Some settings now survive a restart (last open/save directory
location, window size/position, last used device)
* Pinch-zoom support, always-zoom-to-fit support,
"sticky scrolling" support, etc.
* Trace group support (for dragging multiple traces around as a
group)
* ...and many, many more GUI and usability improvements...
- Track GIT version
- Remove redefined cmake macros
- Sync .spec with the one from rmax
- Update to version 0.2.0
* Support for protocol decoding (via libsigrokdecode) has been added, including support for annotation rows, multiple decoders in the same GUI window, support for stacking protocol decoders (e.g. I²C -> RTC8564, UART -> MIDI, or SPI -> SDcard) and lots more.
* Support for loading and saving sigrok session (*.sr) files has been added.
* Initial support for analog data sources (specifically oscilloscopes, e.g. the Rigol DS1052E) has been added.
- Upstream adopted pulseview-pthread.patch
- Disable -Werror to fix build.
- Explicitly link against libpthread (pulseview-pthread.patch).
- Initial build from git snapshot.
OBS-URL: https://build.opensuse.org/request/show/816452
OBS-URL: https://build.opensuse.org/package/show/electronics/pulseview?expand=0&rev=22
2020-06-22 21:56:22 +02:00
|
|
|
%cmake_build
|
2014-06-05 22:25:02 +02:00
|
|
|
|
|
|
|
%install
|
2014-08-03 11:46:26 +02:00
|
|
|
%cmake_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2014-06-05 22:25:02 +02:00
|
|
|
|
2017-06-14 19:06:20 +02:00
|
|
|
install -m 644 -D icons/pulseview.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/pulseview.png
|
|
|
|
install -m 644 -D icons/pulseview.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/pulseview.svg
|
2016-10-24 02:25:11 +02:00
|
|
|
|
|
|
|
install -m 755 -d %{buildroot}%{_datadir}/applications/
|
2017-06-14 19:06:20 +02:00
|
|
|
install -m 644 contrib/org.sigrok.PulseView.desktop %{buildroot}%{_datadir}/applications/org.sigrok.PulseView.desktop
|
|
|
|
%suse_update_desktop_file -r org.sigrok.PulseView Education Engineering
|
2016-10-24 02:25:11 +02:00
|
|
|
|
2017-06-14 19:06:20 +02:00
|
|
|
install -m 755 -d %{buildroot}%{_datadir}/metainfo/
|
|
|
|
install -m 644 contrib/org.sigrok.PulseView.appdata.xml %{buildroot}%{_datadir}/metainfo/org.sigrok.PulseView.appdata.xml
|
2016-10-24 02:25:11 +02:00
|
|
|
|
2014-06-05 22:25:02 +02:00
|
|
|
%files
|
2018-10-30 07:48:25 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc NEWS README HACKING
|
2014-08-03 11:46:26 +02:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/pulseview.*
|
2016-10-24 02:25:11 +02:00
|
|
|
%{_datadir}/applications/*
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/pulseview*
|
2017-06-14 19:06:20 +02:00
|
|
|
%dir %{_datadir}/metainfo
|
|
|
|
%{_datadir}/metainfo/org.sigrok.PulseView.appdata.xml
|
2014-06-05 22:25:02 +02:00
|
|
|
|
|
|
|
%changelog
|