diff --git a/.gitignore b/.gitignore index 9d5bbab..a2ff87f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ cgdb-0.6.5.tar.gz /cgdb-0.6.6.tar.gz /cgdb-0.6.7.tar.gz /cgdb-0.6.8.tar.gz +/cgdb-0.8.0.tar.gz diff --git a/cgdb.png b/cgdb.png deleted file mode 100644 index ea95655..0000000 Binary files a/cgdb.png and /dev/null differ diff --git a/cgdb.spec b/cgdb.spec index e87847c..2dbf464 100644 --- a/cgdb.spec +++ b/cgdb.spec @@ -1,20 +1,18 @@ Name: cgdb -Version: 0.6.8 -Release: 18%{?dist} +Version: 0.8.0 +Release: 1%{?dist} Summary: CGDB is a curses-based interface to the GNU Debugger (GDB) License: GPLv2 -URL: http://cgdb.sourceforge.net/ -Source0: http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz -Source1: http://cgdb.sourceforge.net/cgdb.png -Patch0: disable_style.patch +URL: https://cgdb.github.io/ +Source0: https://cgdb.me/files/%{name}-%{version}.tar.gz +Source1: https://cgdb.github.io/images/screenshot_debugging.png BuildRequires: gcc BuildRequires: readline-devel BuildRequires: ncurses-devel BuildRequires: autoconf BuildRequires: automake -BuildRequires: help2man BuildRequires: texinfo BuildRequires: flex BuildRequires: make @@ -33,7 +31,6 @@ Those familiar with vi should feel right at home using CGDB. %prep %setup -q -%patch0 -p2 -b .disable_shell_style %build @@ -50,13 +47,15 @@ rm -rf $RPM_BUILD_ROOT/%{_infodir}/dir %files -%doc AUTHORS COPYING NEWS TODO README ChangeLog +%doc AUTHORS COPYING NEWS ChangeLog %{_bindir}/cgdb %{_datadir}/cgdb %{_infodir}/cgdb.info.* -%{_mandir}/man1/cgdb.1.gz %changelog +* Wed Jan 19 2022 Eric Curtin - 0.8.0-1 +- Update to 0.8.0 + * Wed Jul 21 2021 Fedora Release Engineering - 0.6.8-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/disable_style.patch b/disable_style.patch deleted file mode 100644 index e154a24..0000000 --- a/disable_style.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- BUILD/cgdb-0.6.8/lib/util/fork_util.c.disable_shell_style 2014-07-23 04:43:00.000000000 +0300 -+++ BUILD/cgdb-0.6.8/lib/util/fork_util.c 2019-07-04 16:42:04.749828019 +0300 -@@ -187,10 +187,12 @@ - const char *const NW = "--nw"; - const char *const X = "-x"; - const char *const ANNOTATE_TWO = "--annotate=2"; -+ const char *const DISABLE_STYLE_P = "-init-eval-command"; -+ const char *const DISABLE_STYLE_V = "set style enabled off"; - const char *const GDBMI = "-i=mi2"; - char *F = filename; - char **local_argv; -- int i, j = 0, extra = 6; -+ int i, j = 0, extra = 8; - int malloc_size = argc + extra; - char slavename[64]; - int masterfd; -@@ -203,6 +205,10 @@ - else - local_argv[j++] = cgdb_strdup(GDB); - -+ /* Gilboa: Disable extended shell style. */ -+ local_argv[j++] = cgdb_strdup(DISABLE_STYLE_P); -+ local_argv[j++] = cgdb_strdup(DISABLE_STYLE_V); -+ - /* NOTE: These options have to come first, since if the user - * typed '--args' to GDB, everything at the end of the - * users options become parameters to the inferior. diff --git a/screenshot_debugging.png b/screenshot_debugging.png new file mode 100644 index 0000000..52785ec Binary files /dev/null and b/screenshot_debugging.png differ diff --git a/sources b/sources index f933129..1a34ba2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7bd38c79bf4d794d239928fef401fca3 cgdb-0.6.8.tar.gz +SHA512 (cgdb-0.8.0.tar.gz) = 0f53798707f20508a8ea564d5ed3f82e223edf4b246468c9a99c929c043b2b2eb333e96395b66672a38da1e517efb7c7dec011a29ea774d873ddf81fb56e4d9a