From 5f32ac39833472e066d48d72b0c7944b084b0ba6 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Thu, 4 Dec 2014 15:29:33 -0500 Subject: [PATCH] fix issue where winpdb doesnt launch in gnome-terminal properly anymore (bz1149030) --- winpdb-1.4.8-gnome-fix.patch | 12 ++++++++++++ winpdb.spec | 13 ++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 winpdb-1.4.8-gnome-fix.patch diff --git a/winpdb-1.4.8-gnome-fix.patch b/winpdb-1.4.8-gnome-fix.patch new file mode 100644 index 0000000..8a64c13 --- /dev/null +++ b/winpdb-1.4.8-gnome-fix.patch @@ -0,0 +1,12 @@ +diff -up winpdb-1.4.8/rpdb2.py.gnomefix winpdb-1.4.8/rpdb2.py +--- winpdb-1.4.8/rpdb2.py.gnomefix 2014-12-04 15:19:38.972288993 -0500 ++++ winpdb-1.4.8/rpdb2.py 2014-12-04 15:19:47.279229223 -0500 +@@ -1780,7 +1780,7 @@ osSpawn = { + NT_DEBUG: 'start "rpdb2 - Version ' + get_version() + ' - Debuggee Console" cmd.exe /K ""%(exec)s" %(options)s"', + POSIX: "%(term)s -e %(shell)s -c '%(exec)s %(options)s; %(shell)s' &", + 'Terminal': "Terminal --disable-server -x %(shell)s -c '%(exec)s %(options)s; %(shell)s' &", +- GNOME_DEFAULT_TERM: "gnome-terminal --disable-factory -x %(shell)s -c '%(exec)s %(options)s; %(shell)s' &", ++ GNOME_DEFAULT_TERM: "gnome-terminal -x %(shell)s -c '%(exec)s %(options)s; %(shell)s' &", + MAC: '%(exec)s %(options)s', + DARWIN: '%(exec)s %(options)s', + SCREEN: 'screen -t debuggee_console %(exec)s %(options)s' diff --git a/winpdb.spec b/winpdb.spec index cfd09db..1ee64db 100644 --- a/winpdb.spec +++ b/winpdb.spec @@ -2,7 +2,7 @@ Name: winpdb Version: 1.4.8 -Release: 5%{?dist} +Release: 8%{?dist} Summary: An advanced python debugger Group: Development/Debuggers License: GPLv2+ @@ -10,6 +10,7 @@ URL: http://www.winpdb.org/ Source0: http://winpdb.googlecode.com/files/winpdb-%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}.png +Patch0: winpdb-1.4.8-gnome-fix.patch BuildArch: noarch BuildRequires: python2-devel, wxPython-devel >= 2.6, desktop-file-utils Requires: python-crypto, wxPython >= 2.6 @@ -21,6 +22,7 @@ communication and speed of up to 20 times that of pdb. %prep %setup -q +%patch0 -p1 -b .gnomefix sed -i 's/\r//g' README.txt chmod -x README.txt @@ -48,6 +50,15 @@ chmod +x $RPM_BUILD_ROOT%{python_sitelib}/rpdb2.py $RPM_BUILD_ROOT%{python_sitel %{_datadir}/pixmaps/%{name}.png %changelog +* Thu Dec 4 2014 Tom Callaway - 1.4.8-8 +- fix issue where winpdb doesn't launch in gnome-terminal properly anymore (bz1149030) + +* Sun Jun 08 2014 Fedora Release Engineering - 1.4.8-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.4.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Sun Feb 10 2013 Parag Nemade - 1.4.8-5 - Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 - Cleanup spec as per recently changed packaging guidelines