diff --git a/kate-15.08.3-setQuitOnLastWindowClosed.patch b/kate-15.08.3-setQuitOnLastWindowClosed.patch new file mode 100644 index 0000000..c9f0df5 --- /dev/null +++ b/kate-15.08.3-setQuitOnLastWindowClosed.patch @@ -0,0 +1,11 @@ +diff -up kate-15.08.3/kate/src/main.cpp.setQuitOnLastWindowClosed kate-15.08.3/kate/src/main.cpp +--- kate-15.08.3/kate/src/main.cpp.setQuitOnLastWindowClosed 2015-11-04 16:25:33.000000000 -0600 ++++ kate-15.08.3/kate/src/main.cpp 2015-12-14 11:39:48.742845307 -0600 +@@ -120,7 +120,6 @@ extern "C" Q_DECL_EXPORT int kdemain(int + app.setApplicationDisplayName(aboutData.displayName()); + app.setOrganizationDomain(aboutData.organizationDomain()); + app.setApplicationVersion(aboutData.version()); +- app.setQuitOnLastWindowClosed(false); + + /** + * set the program icon diff --git a/kate.spec b/kate.spec index b280f43..271052d 100644 --- a/kate.spec +++ b/kate.spec @@ -5,7 +5,7 @@ Name: kate Summary: Advanced Text Editor Version: 15.08.3 -Release: 2%{?dist} +Release: 3%{?dist} # kwrite LGPLv2+ # kate: app LGPLv2, plugins, LGPLv2 and LGPLv2+ and GPLv2+ @@ -20,6 +20,10 @@ URL: https://projects.kde.org/kate %endif Source0: http://download.kde.org/%{stable}/applications/%{version}/src/kate-%{version}.tar.xz +## upstream patches +# (backported) +Patch1: kate-15.08.3-setQuitOnLastWindowClosed.patch + BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: desktop-file-utils @@ -80,7 +84,7 @@ License: LGPLv2+ %prep -%setup -q -n kate-%{version} +%autosetup -n kate-%{version} -p1 %build @@ -193,6 +197,9 @@ fi %changelog +* Mon Dec 14 2015 Rex Dieter 15.08.3-3 +- setQuitOnLastWindowClosed.patch + * Wed Dec 02 2015 Rex Dieter 15.08.3-2 - Recommends: kate-plugins, update URL