[qstardict] - Popup window saves settings (#743715) - Filter the private so provides
cheeselee
cheeselee at fedoraproject.org
Sun Oct 9 03:34:10 UTC 2011
commit e589b368301a1c137bcdd486a322d396b733ce49
Author: Robin Lee <cheeselee at fedoraproject.org>
Date: Sun Oct 9 11:33:41 2011 +0800
- Popup window saves settings (#743715)
- Filter the private so provides
qstardict-1.0-popupWindow-saveSettings.patch | 14 ++++++++++++++
qstardict.spec | 12 +++++++++++-
2 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/qstardict-1.0-popupWindow-saveSettings.patch b/qstardict-1.0-popupWindow-saveSettings.patch
new file mode 100644
index 0000000..fd49f65
--- /dev/null
+++ b/qstardict-1.0-popupWindow-saveSettings.patch
@@ -0,0 +1,14 @@
+Index: qstardict/popupwindow.cpp
+===================================================================
+--- qstardict/popupwindow.cpp (revision 460)
++++ qstardict/popupwindow.cpp (working copy)
+@@ -84,9 +84,6 @@
+ void PopupWindow::setScan(bool scan)
+ {
+ m_selection->setScan(scan);
+- // this is neccessary for saving changes between sessions when there is
+- // no preferences save (from prefs dialog).
+- saveSettings();
+ emit scanChanged(scan);
+ }
+
diff --git a/qstardict.spec b/qstardict.spec
index 816bc4a..b41b75b 100644
--- a/qstardict.spec
+++ b/qstardict.spec
@@ -1,6 +1,6 @@
Name: qstardict
Version: 1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: StarDict clone written using Qt4
License: GPLv2+
Group: Applications/System
@@ -8,11 +8,16 @@ URL: http://qstardict.ylsoftware.com/
Source0: http://qstardict.ylsoftware.com/files/%{name}-%{version}.tar.bz2
# include a manpage from Debian
Source1: qstardict.1
+# RHBZ#743715, sent upstream via email 20111009
+Patch0: qstardict-1.0-popupWindow-saveSettings.patch
BuildRequires: glib2-devel
BuildRequires: desktop-file-utils
BuildRequires: kdelibs4-devel
+# exclude provate provides
+%global __provides_exclude_from ^%{_kde4_libdir}/kde4/.*\.so$
+
%description
QStarDict is a StarDict clone written using Qt4. The user interface
is similar to StarDict.
@@ -37,6 +42,7 @@ This package contains KDE plasma applet of qstardict.
%prep
%setup -q
+%patch0 -p0
%build
%_qt4_qmake PLUGINS_DIR=%{_libdir}/%{name}/plugins LIBS+=" -lX11"
@@ -83,6 +89,10 @@ rm -fr %{buildroot}%{_docdir}
%changelog
+* Sun Oct 9 2011 Robin Lee <cheeselee at fedoraproject.org> - 1.0-2
+- Popup window saves settings (#743715)
+- Filter the private so provides
+
* Sun Jul 31 2011 Robin Lee <cheeselee at fedoraproject.org> - 1.0-1
- Update to 1.0
- Other specfile cleanups
More information about the scm-commits
mailing list