* Watchpoints: Fixed regression when adding commands to a watchpoint. * Console: Create console once per Seer session. Instead of constant create/destroy. * EditorManager: Fixed regression when ignoring files to be opened in the EditorManager. * MessageTabs: Fixed regression when order of message tabs not being preserved between sessions. * RemoteMode: Connect mode to a gdb server now supports 'remote' and 'extended-remote'. * ConnectMode: Connect mode's 'pre' commands are executed before the 'target connect'. * MessageTabs: Optionally add a timestamp to the Seer and Gdb log widgets. * ConnectMode: Add 'gdbserver debug' checkbox to Connect launch tab. For showing gdb and gdbserver communication debug information in gdb tab. * Skips: Manage gdb skip commands via a new Skip Browser. * LaunchMode: Revamp the "run/start" buttons on the menu bar to be a predominate "terminate" that switches to a "restart". * VariableTracker: Fixed bug when adding variable to tracker. Sometimes would not refresh value. * VariableTracker: Raise Logger or Tracker tab when new variable is added. * CheckpointMode: Implment gdb's "checkpoint" feature. As simple time-travel feature. * Undo: Add preliminary support for Undo's udb time-traveling debugger. * CheckpointMode: Add support for remaining Catchpoint types. * Visualizers: Add a Matrix Visualizer for viewing 2D arrays. * Breakpoints: Add breakpoints from the Function tab. * DefaultProject: When using the Debug dialog, save the debug settings so they can be fast loaded * the next time the Debug dialog is used. Kind of a default project. * RR: When using the Debug dialog, check a couple standard locations for the RR trace directory. * ObjectiveC: Add support for printing ObjectiveC object via a '(objc)' pretext. * Registers: Fix bug handling register names of "" in gdb's register list. OBS-URL: https://build.opensuse.org/package/show/devel:tools/seergdb?expand=0&rev=10
86 lines
2.8 KiB
RPMSpec
86 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package seergdb
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%global optflags %{?optflags} -fpie
|
|
%global build_ldflags %{?build_ldflags} -pie
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
|
%global force_gcc_version 12
|
|
%endif
|
|
|
|
Name: seergdb
|
|
Version: 2.6
|
|
Release: 0
|
|
Summary: A GUI front-end for GNU gdb
|
|
License: GPL-3.0-or-later
|
|
Group: Development/Tools/Debuggers
|
|
URL: https://github.com/epasveer/seer
|
|
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/seergdb-%{version}.tar.gz
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc%{?force_gcc_version}
|
|
BuildRequires: gcc%{?force_gcc_version}-c++
|
|
BuildRequires: qt6-base-devel
|
|
BuildRequires: qt6-charts-devel
|
|
BuildRequires: qt6-svg-devel
|
|
Requires: gdb
|
|
Recommends: libQt6Svg6
|
|
|
|
%description
|
|
A GUI front-end for GNU gdb written in modern C++.
|
|
|
|
%prep
|
|
%setup -q -n seer-%{version}
|
|
|
|
%build
|
|
%if 0%{?force_gcc_version}
|
|
export CC="gcc-%{?force_gcc_version}"
|
|
export CXX="g++-%{?force_gcc_version}"
|
|
%endif
|
|
cd src
|
|
%cmake
|
|
%cmake_build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/%{_bindir}
|
|
install -m 0755 src/build/%{name} %{buildroot}/%{_bindir}/%{name}
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
install -m 0644 src/resources/%{name}.desktop %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
|
|
install -m 0644 src/resources/%{name}_32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
|
|
install -m 0644 src/resources/%{name}_64x64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
|
|
install -m 0644 src/resources/%{name}_128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/256x256/apps
|
|
install -m 0644 src/resources/%{name}_256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/512x512/apps
|
|
install -m 0644 src/resources/%{name}_512x512.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%{name}.png
|
|
|
|
%files
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/icons/hicolor
|
|
|
|
%changelog
|